There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

files.catbox.moe

RustyNova , to programmerhumor in Fortune Teller

At least there’s tree shaking. Not everything is getting in the final build

Ephera , to programmerhumor in Fortune Teller

Yeah, I’ve given up trying to know all the libraries in my projects. I feel like the added development speed and code quality is just so good that not taking the risk of a supply chain attack is basically not an option.

I do try to primarily use libraries from the Rust team or from more widely known devs (and hope that they also do that), but most projects worth doing will need one or two specialty libraries where all bets and bus factors are off…

dsemy ,

You think your code is higher quality with more dependencies? All you’re doing is offloading complexity to a separate project.

If you make a program that does “something worth doing”, but you need some specialty library to actually do it (which you didn’t implement yourself), than sorry, but it wasn’t you who did it.

Ephera ,

Yes, offloading complexity to a separate project which has already invested more time into code quality than I could possibly justify.

As for your second point, I don’t care who solved the problem. If you care, I hope you’re smelting your own sand to build your own CPU and assembly language. But I’m obviously also not solving the exact same problem as the library already solved.

Why are you looking for conflict?

dsemy ,

My problem was with the first line of your comment:

Yeah, I’ve given up trying to know all the libraries in my projects.

This leads me to assume that you don’t actually know that those dependencies are as well maintained as you claim.

Obviously dependencies are important and make sense to use in many cases, but using trivial dependencies to speed up development isn’t good.

As for your second point, I don’t care who solved the problem. If you care, I hope you’re smelting your own sand to build your own CPU and assembly language. But I’m obviously also not solving the exact same problem as the library already solved.

I was just saying it isn’t you who solved the problem in that case, really, as the hard work was done for you. Honestly though, it was pointless and rude so I apologise.

Ephera ,

Apology taken.

This leads me to assume that you don’t actually know that those dependencies are as well maintained as you claim.

Well, I can’t guarantee that none of them are buggy, unmaintained etc… But that’s why I prefixed that sentence with “I feel”.
On average, it seems to me like the code quality is a good bit higher than I’m able to produce under money/time constraints.

In particular, even the worst libraries tend to be not as bad as they may be in many other languages, because Rust’s strict type system + compiler enforces quite a bit of correctness on its own.
Well, and the good libraries are just obsessed with correctness and performance, so they drag code quality upwards, even if they introduce a mild risk of a transitive dependency being a dud…

Azzk1kr ,

If you want to build something from scratch, you first have to invent the universe :) (paraphrased from Carl Sagan)

Carol2852 ,
@Carol2852@discuss.tchncs.de avatar

This assumes that I could implement something as well as the maintainers of the library I use. I agree that something trivially should be implemented on your own, but if there is special knowledge required (the obvious example is cryptography, but also something like HTTP requests) I rather rely on a widely used library than my own code that I now have to maintain and check for security issues instead of just updating the dependency version whenever a CVE is published.

Also if there is. A client by an API provider for my language, why shouldn’t I use it instead of rolling my own?

Another example is a framework like React or Angular or Svelte, which brings along a whole lot of dependencies. Sure, I could not use something like that and write everything from scratch.

But where is the value of all that code to customers? If I want to roll my own HTTP server up from the sockets, I can do that as a play project. But not using libraries for a real world project to solve business needs is a bit of an odd take.

Anyways, that’s enough of a rant. Have fun in the replies. 😎

Carol2852 ,
@Carol2852@discuss.tchncs.de avatar

Oh, I forgot one thing:

sorry, but it wasn’t you who did it.

This sounds like you want to prove something. That you can do it better than the maintainers of the library. That you can solve hard problems on your own instead of relying on other people.

That’s all great and sometimes it’s good to do hard things on your own and make sure you could do it just in case. But it’s not always necessary to do everything yourself and learn every lesson yourself. It’s a valid way to build on knowledge and work of others to achieve your goals.

folkrav ,

Holy shit this. I’ve observed a lot of competent devs go through that phase, trying to be clever and come up with what inevitably ends up being pale imitations of existing established solutions. Yes, we do avoid pulling in dependencies when we can avoid it, but this reeks of “Real Programmers Don’t Use Pascal”, without the tongue in cheek tone lol

rockSlayer , to programmerhumor in Fortune Teller

Ez, feature bloat the project so all those dependancies are actively used

theneverfox ,
@theneverfox@pawb.social avatar

The real LPT is always in the comments

30p87 , to programmerhumor in Fortune Teller

I find it especially weird that it’s almost always labeled like something special if it’s written in Rust, even though as the end user the only thing I know will be different is the compile time, as it usually takes around 10-20 times longer than if it would be written in c, with 500 dependencies being pulled and recompiled every time. Which means if tests fail, even though the app works fine, and I had that happen twice in Rust, it will take three tries or so until I manage to fully remove the test section from the pkgbuild, resulting in an hour loss for just installing something that could’ve taken 5 minutes.

simple ,

> Decide to create a very basic GUI app in Rust, as everyone is saying it’s a great language for it

> First compilation takes over 15 minutes to download and compile 100 libraries

> Debug files take up 2GB of storage

> Output binary file comes out massive for no reason

> “Yeah you’re supposed to write a few lines to optimize for size in your release profile”

> Compiling now takes 30 minutes instead

30p87 ,

Reimplements in C

Compiles in 5 Minutes (you accidentally did it on the RPi Zero W, on a PC it’s done in 30 secs)

beeb ,

Reimplements in C

Segmentation fault (core dumped)

snowfalldreamland ,

Reimplements in C

Segmentation fault (core dumped)

change code so it no longer segfaults

still is UB, has arbitrary code execution vulnerability

everybody dies

QuazarOmega ,

But you died faster, that’s not to be underestimated

CannotSleep420 ,

I write rust on a meh computer alot and have never had compile times be that bad (at least not for debug). The target dir is massive though.

Ephera ,

You seem to be a rather specific user, if the compile time is something you notice, let alone the only thing…

30p87 ,

It’s just weirdly noticeable when one rust program with ~150 lines of code, designed to connect to a specific device and send commands according to the intensity of music, takes longer to compile than updating a typical Arch testing setup after a month without maintenance, including the (non Rust) AUR packages.

Ephera ,

Well, I’m not here to claim that Rust’s compile times aren’t comparatively long, especially for non-incremental builds. It’s a trade-off that was chosen to not need a runtime environment, nor be as simplistic/footgun as C.

What I’m saying is that this trade-off was chosen and continues to be popular, because the vast majority of users will never notice (nor will programmers really, as they have incremental builds).
Maybe you can download the fully built package from somewhere? Maybe Arch can package it in the proper repos?

arisunz ,
@arisunz@lemmy.blahaj.zone avatar

mf conveniently forgetting about incremental compilation

rushaction ,

Every time I see a project decide to use rust I groan knowing my build/packaging time is about to skyrocket. Case in point, the Python cryptography project.

And given cryptography’s importance in the Python ecosystem what used to be an easy pip install of a package now almost always going to include is an enormous and horribly slow rust build environment.

Seeing a rust libraryjust makes me sad now 😭

dsemy ,

I seem to recall when the switch was made it took me about a week to figure out how get it to work on OpenBSD, because the Rust build step failed there (for a reason I can’t remember now).

rushaction ,

Yeeap. My FreeBSD box has such pain with 'em. Because unfortunately *bsd is not in Python’s precompiled wheels. So one is almost building from the source.

Now every time I pip install something there’s a high likelihood I’m going to end up having to install the rust tool chain and burn so much time on building libraries. I get why the project made the switch, but man does it hurt being downstream of it.

Ohi , to mildlyinteresting in At the Internet Archive, this is how we digitize a book—one page at a time, by hand.

We so appreciate your efforts, but ya’ll need more funding so you can start working smart and not hard. From the looks of things, I see no reason why page flips can’t be automated there.

I just made a donation. Please use it to save this poor woman from the tedious task you’ve shown us today.

pearsaltchocolatebar ,

I’d just use a bandsaw to cut off the spine and stick it in a document feeder.

Gloomy ,
@Gloomy@mander.xyz avatar

Leave that poor woman alone you psycho!

Hereforpron2 ,

This must be how you get “binders full of women”

antonim ,

If the book is not that easily available (old, rare), it’s much better to keep it intact.

activ8r ,

We should start doing charity style TV ads.

“You, too, can help us build page turners and save the lives of dozens of archivists. Just £2 a month will allow Margaret to finally rest.”

theRealBassist ,

Man I got some friends who are archivists, and they’d love that shit lol.

They love their field, but it’s a lot of mind-numbing work

IndefiniteBen ,

I think this is one of those things that seems like it should be easy to automate, but actually has lots of hidden complexity.

They probably don’t use this to scan commonly available books, because for those you can just cut the spine off the book and scan the pages in a regular scanner.

This is likely used for books that need to be preserved and can’t be damaged during the scanning process.

How do you make a machine that will always turn exactly one page and never tear a page, while adapting for different page sizes and thicknesses, and avoiding the static charge that can make pages stick together? All for less money than it costs to pay people to operate this machine.

0xD ,

Vacuum!

droans ,

Iirc they did experience with automation before and did get it to copy well…

But like you said, it would damage books pretty frequently. That’s not what you’d want for old and fragile materials which are rather irreplaceable.

yamanii , to mildlyinteresting in At the Internet Archive, this is how we digitize a book—one page at a time, by hand.
@yamanii@lemmy.world avatar

I don’t often donate since it’s mostly in USD, but internet archive was one of the few that I did.

MonkderZweite , to mildlyinteresting in At the Internet Archive, this is how we digitize a book—one page at a time, by hand.

Automatic page turners are unreliable?

dasgoat , to lemmyshitpost in Busted!

It’s kind of shitty to ‘out’ someone like this on a tv program. If they liked doing cocaine that’s their business. But I also know that’s the point of the program probably.

I hope she got help with her nose though.

protist ,

It makes it harder to consider it shitty when you know she put in work and signed all sorts of paperwork in order to be on this show

Slovene ,

Yeah, it makes it less shitty when knowing how desperate she is.

/s

UnrepententProcrastinator ,

That’s the price she was willing to pay to get her nose fixed. I mean all that cocaine didn’t leave much in her bank account.

Ilovethebomb ,

It’s also a good way to deter others from making the same mistake.

Che_Donkey , to lemmyshitpost in Busted!
@Che_Donkey@lemmy.ml avatar

the hell is that Klingon-forehead honker???

abbadon420 ,

When we see a nose like this, it usually means…

Maultasche ,

…the work of the Star Trek makeup team.

Case ,

See with the leathery skin, I was totally getting a Githyanki/Githzerai vibe.

Mr_Blott , to lemmyshitpost in Busted!

Don’t mess with The Devil’s Dandruff ©®™

blanketswithsmallpox ,

Or do. I’m not your mother. Cocaine is great if you can exhibit self control and get lucky with the roll of the genetic dice and don’t immediately get addicted from one night partying.

Don’t mainline drugs. Don’t fuck with heavy opiates or meth. Stay away from homemade pressed pills. That’s where most people die from fent poisoning in America.

ItsAFake , to mildlyinteresting in At the Internet Archive, this is how we digitize a book—one page at a time, by hand.

Could of cleaned the glass before filming.

simonced ,

Could have checked your grammar before commenting…

ItsAFake ,

Could’ve but didn’t.

Arthur_Leywin ,

Based

Thorned_Rose , to mildlyinteresting in At the Internet Archive, this is how we digitize a book—one page at a time, by hand.
@Thorned_Rose@kbin.social avatar

Please remember to make a donation to the Internet Archive for the invaluable work they do!

brbposting , to mildlyinteresting in At the Internet Archive, this is how we digitize a book—one page at a time, by hand.

Do you really work there?

If so… We love you.

ech , to mildlyinteresting in At the Internet Archive, this is how we digitize a book—one page at a time, by hand.

WHY do people think everything needs to be cropped to hell just to fit on their phone. The screen rotates. Just twist it around ya lazy bastards.

Anyhow, here’s a link to the full size video that isn’t pointlessly cut down by 75%: www.youtube.com/watch?v=QThaHpkFVzw

GBU_28 ,

Why care? In a second I’ll leave this video and never think of it again. The key point is conveyed, and we are all done.

ech ,

Because someone went out of their way to mutilate a video for no reason, so I’m gonna go out of my way to make it right. Just because you can’t be bothered to care doesn’t mean everyone else is just like you.

GBU_28 ,

This isn’t a “significant” video. By any standard. Digest the information and move on. Doing otherwise is fist fighting the waves on the beach.

Most importantly, the purpose and message of the video is conveyed.

ech ,

Thankfully, you don’t get to decide what other people consider “significant”. I’ll spend my time how I want, thanks.

GBU_28 ,

Literally name any metric or qualifier of objective nature.

ech ,

Lol, no. You don’t get to debate me into not valuing something. Deal with it.

GBU_28 ,

You deal. You’re the one having a this about a fully informative short clip.

You clearly only have subjective value positions to argue from, and can’t meaningfully refute my points.

There’s no problem enjoying content the way you do. There’s a problem getting angry about a video that literally does it’s job

ech ,

Nah.

GBU_28 ,

Glad we tidied this up. Resume the video!!

brbposting ,

Wouldn’t it be great to have it dynamic based on device?

Anyway, everyone’ll have to get off our lawn.

For the average world netizen…

https://sh.itjust.works/pictrs/image/0ad2dcda-49c4-49f4-ad0e-dd8e2859f4f5.jpeg

https://sh.itjust.works/pictrs/image/dd2cb05d-0ec3-46fe-88b4-b01b8e0ea444.png

…OP’s is the desirable format.

v81 ,

Here I am on my phone. I do not desire this format. And nothing you have posted suggests that anyone wants this format.

All it shows is device, not preference.

Anytime something is recorded wide screen my wish is that it remains in that format, regardless of platform I am on.

If I’m on my phone it takes less than half a second to rotate my screen and view as intended, on my desktop I can’t do that.

Also in this case quite a bit of the original was lost, seeing the YouTube version is much better.

threelonmusketeers ,
fruitycoder ,

Why stop at video!

Couldbealeotard ,
@Couldbealeotard@lemmy.world avatar

You don’t understand the data. That data has nothing to do with what video format people prefer.

the_third ,

By now, I’ve just got a second screen in portrait orientation.

Okay, I got it for documents, but it works nicely for those vids.

AnActOfCreation OP ,
@AnActOfCreation@programming.dev avatar

This video comes from the official Internet Archive TikTok page. I’m not sure if that makes it better or worse lol!

www.tiktok.com/…/7329355972428696874

ech ,

Explains its existence at least.

0xD ,

The video contains all necessary information and you don’t need to turn your phone. I don’t see a problem here.

ech ,

Ok. Good luck with that.

Fades ,

You could say the same thing about a video recording of a pc monitor. Yeah all the necessary stuff is there but you also lose a lot may it be quality or just more pixels which give greater context to the video by showing more of the actual recording

With the full size recording you can see more of the machine which is part of the main subject so it’s not just meaningless data/context either

Fades ,

I’m with you but it’s not about being lazy, just like shit audio being on most videos these days this is yet another symptom of tiktok bullshit.

Videos with shit sounds get more traction and tiktok wants every video to be scrollable without havin to turn your phone and shit so the result is trash like this getting pumped out which ruins the actual video content

blazeknave , to mildlyinteresting in At the Internet Archive, this is how we digitize a book—one page at a time, by hand.

May I bring my son to visit? I know it’s typically only for events. He will crack up at the statues and be underwhelmed by the two racks containing the entire Internet.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines