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.

lemmy.ml

Skullgrid , to programmerhumor in the hardest exam question
@Skullgrid@lemmy.world avatar

I am forced to try to get a JS certification.

I am reaching the end of my rope, and starting to think of maybe putting my neck into one.

Isaac Newton said that we see far because we stand on the shoulders of giants.

Javascript is like standing on the shoulders of dwarves with brittle bone disease.

howrar ,

Standing on the shoulder of dwarves hiding deep underground

airbussy , to memes in A helpful graphic about writing alt text

Potentially also useful for creating good prompts for AI image generators?

pennomi ,

It’s only useful if the AI was trained on similar prompts. A lot of the anime style ones work best with lists of tags, while the realistic ones work best with descriptions like above.

Daxtron2 ,

It’s essentially by-hand CLIP, that’s how the training data for CLIP came into being, it was descriptive text for images.

Omega_Haxors ,

Explains why it sucks so much shit.

Daxtron2 ,

CLIP is pretty decent for what it does though

Blaster_M ,

If you have really detailed image tags, a model trained on them can make great outputs.

9488fcea02a9 ,

Prompts are just the reverse of image recognition AI tagging stuff.

Alt text is exactly the kind of tedious work that AI would be good at doing, but everyone in the fediverse seems to have a huge hate boner for ANYTHING AI…

Fediverse: write a fucking essay every time you post an image… But make sure you waste time doing it manually, instead of using AI tools!!!

Omega_Haxors ,

We don’t do that here.

bjoern_tantau , to memes in shrooms?
@bjoern_tantau@swg-empire.de avatar

Many refugees from Syria got poisoned by mushrooms because a common edible Syrian mushroom looks very much like a poisonous German mushroom.

MoonMelon , (edited )

Happens to some SE Asians in North America too, because the edible straw mushroom from SE Asia resembles one here called “death cap”. Amanita phalloides. What’s fucked up is right before it kills you your symptoms actually improve, so people get discharged from the hospital and think they are going to be ok. I forage mushrooms but I stay away from white gilled mushrooms completely.

argentcorvid ,
@argentcorvid@midwest.social avatar

Yeah I had my yard full of destroying angels last summer, when they first showed up I was all “sweet! Mushrooms!” Because they look real similar to agaricus. But then I saw the white gills, and was all :(.

And I made sure to tell my kids not to mess with them and why.

Grass ,

I never thought about this being possible and now I can’t help but laugh at how deceptive nature is.

yogthos , to programmerhumor in the hardest exam question
@yogthos@lemmy.ml avatar

The part that always gets me is when people choose Js for the backend. Like I get that it’s the default thing that works on the frontend, so there’s some rationale why you might not want to transpile to it from another language. On the backend though, there are so many far better option, why would you willingly go with Js, especially given that you’re now forced to do all your IO async.

zea_64 ,

You really should be doing your IO async. Do you specifically mean callback hell?

yogthos ,
@yogthos@lemmy.ml avatar

No I meant having to do async as opposed to having threads like you would in Java for example. In vast majority of cases a thread pool will work just fine, and it makes your code far simpler. Typically, Java web servers will have a single thread that receives the request and then dispatches it to the pool of workers. The JVM is then responsible for doing the scheduling between the threads and ensuring each one gets to do work. You can do async too, but I’ve found threads scale to huge loads in practice.

zea_64 ,

Green threads are functionally the same, especially in languages that can preempt.

yogthos ,
@yogthos@lemmy.ml avatar

Sure, but the scheduler figures out the scheduling automatically so you don’t have to worry about stuff like blocking.

jubilationtcornpone ,

I moved from primarily ASP.Net Core backends, which is a hell of a great backend framework btw, to NestJS. Not my choice. I do what the people who sign my paychecks ask for.

I cannot begin to fathom why anyone would willingly choose JavaScript for backend. TypeScript helps a lot but there are still so many drawbacks and poor design decisions that make the developer experience incredibly frustrating. Features that are standard in ASP.Net Core, Django, or other common backend frameworks just don’t exist.

Also, don’t get me started on GraphQL. Sure, it has performance advantages for websites of a certain size and scale. But 99% of the websites out there don’t have the challenges that Facebook has. The added complexity and development cost over REST is just not worth it.

yogthos ,
@yogthos@lemmy.ml avatar

Yeah, gql in particular is a problem looking for a solution in most cases. It makes sense for facebook because they have people building frontend apps for their marketplace, and those apps need all kinds of weird combinations of data. However, this isn’t the situation for most apps where you have a fairly well defined set of calls you’re doing.

31337 ,

Server side rendering looks like it could be useful. I imagine SSR could be used for graceful degradation, so what would normally be a single page application could work without Javascript. Though, I’ve never tried SSR, and nobody seems to care about graceful degradation anymore.

kevincox ,
@kevincox@lemmy.ml avatar

No one cares about graceful degradation anymore. But you can sell management on SEO. Page performance is a key aspect of search engine rankings and server-side rendered pages will almost always have a much faster initial load than client-side rendered.

yogthos ,
@yogthos@lemmy.ml avatar

Most pages tend be just documents and fairly simple forms. Making SPAs and then having to worry about SSR is just making a Rube Goldberg machine in most cases. I think something like HTMX is a much better approach in most cases. You keep all your business logic server side, send regular HTML to the client, and you just have a little bit of Js on the frontend that knows how to patch in chunks of HTML in the DOM as needed. Unless you have a highly interactive frontend, this is a much better approach than making a frontend with something like React and adding all the complexity that goes with it.

highalectical ,
@highalectical@lemmygrad.ml avatar

Is there a non sexist/queerphobic word for soydevs? Because soydevs are the ones who do that shit.

juliebean ,

is there a non sexist/queerphobic meaning for that term? i would assume the bigotry is the whole point.

AstridWipenaugh , to programmerhumor in the hardest exam question

!!isAdvantage

Steve , to funny in orange

Flavor. Flavour. Flavor. Flavour.

kirbowo808 , to funny in orange
@kirbowo808@kbin.social avatar

The fact that this is so true like is this even a meme anymore LMAO

ParabolicMotion , to funny in orange

The face we all make when drinking orange DayQuil, though. It’s not even truly orange flavor.

https://lemmy.world/pictrs/image/7b06cb81-fc5f-4322-abe1-8b0a3f398018.jpeg

Mango , to funny in orange

But I like it…

Poem_for_your_sprog , to linuxmemes in configure?

Eli5?

DerisionConsulting ,

thoughtbot.com/…/the-magic-behind-configure-make-…

The configure script is responsible for getting ready to build the software on your specific system. It makes sure all of the dependencies for the rest of the build and install process are available, and finds out whatever it needs to know to use those dependencies.

If you or don’t program, or you install programs through a Software Manager or use Flatpacks, this isn’t really a part of your life.

son_named_bort , to funny in orange

What about orange flavor in Pringles?

vocornflakes , to programmerhumor in the hardest exam question
  1. Ubiquitous; insane amount of libraries and probably some of the best documentation of any language
  2. JS lambda function syntax is nice
Omega_Haxors , to memes in shrooms?
UpperBroccoli , to linuxmemes in configure?

Forgot to do

autoreconf -uwu

Norgur , to funny in orange
@Norgur@fedia.io avatar

There was this weird orangey, strawberry-ish aroma used in a paracetamol (Tylenol for the yanks) syrup for children. I hated this stuff so much as a child that I spit it to the ceiling in our kitchen once. Today, when I only smell anything remotely similar, I have to force down a gag.

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