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.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

isaaclyman , in They did not reply.

Back during the real estate frenzy of the late 2010s I would get calls all the time asking how much I would sell my house for. I’d say “I could probably let it go for 2 million dollars.” (Even at the ridiculous peak, it was never worth more than 750k.) There would be a few seconds of silence on the line while they actually looked up my house. Then they’d say “oh.” And hang up as fast as humanly possible.

GTG3000 , in Implementing RFC 3339 shouldn't really be that hard...

Anything an API returns should just look like 1720533944.963659 .

There’s no reason to store dates as anything other than UTC. User-side, sure, timezones are useful. Server doesn’t have to know.

Zagorath , (edited )
@Zagorath@aussie.zone avatar

This is absolutely fundamentally wrong. What you’ve described is what Nodatime calls an Instant, and it’s a very important data class, but there are valid reasons to use other classes.

A LocalDateTime cares about the date and time locally. An event scheduled for 8am every Monday might use this. It would update accordingly if you move locations to a new locale.

A ZonedDateTime can almost be directly translated into an Instant, except that one time zone might change. If you go into or out of daylight saving time, or your region decides to change its time offset. Oslo time is still Oslo time. You use this if your event occurs at a specific time in a specific location.

An OffsetDateTime is like a ZonedDateTime, but instead of being tied to a specific time zone (e.g. “Oslo time”) it’s tied to a specific UTC offset (e.g. UTC+1).

You don’t have to use Nodatime, but you should at least think deeply about what your time objects actually represent and what is the best way to represent them.

See the creator of Nodatime’s presentation about thinking deeply about time for more.

Creosm , in Why spend money on ChatGPT?
@Creosm@lemmy.world avatar

So nice of them to pay for a free llm for us to use 🙂

brucethemoose ,

They probably host it themselves on inferentia.

independantiste , in Average CSS
@independantiste@sh.itjust.works avatar

At first I only noticed the indent. Wtf

notanaltaccount , in Please stop

The packages in Debian are really old. It’s awful.

I was looking at my xzutils package the other month. “So outdated,” I thought, envying the cool hip trendy Arch users.

mox , (edited ) in Please stop

Tell me you’re an opinionated novice without telling me you’re an opinionated novice.

(edit:specificity)

some_guy , in Stop use docker

Why does this feel like it’s a flat-earth slide? I haven’t looked at any flat-earth propaganda, but I strongly suspect that it looks a lot like this.

That said, I’ll stick with my VMs regardless. I like simplicity.

lakemalcom10 ,
elgordino ,
Norgur ,
@Norgur@fedia.io avatar

Are VMs really simpler? I'd say no.

CodeBlooded ,
@CodeBlooded@programming.dev avatar

I was so relieved to never need VM’s again after discovering Docker.

Norgur ,
@Norgur@fedia.io avatar

The absurd waste of resources VMs bring.... LXC and Docker a godsend in that regard.

namingthingsiseasy ,

I would vote for docker as well. The last time I had to inherit a system that ran on virtual machines, it was quite a pain to figure out how the software was installed, what was where in the file system, and where all the configuration was coming from. Replicating that setup took months of preparation.

By contrast, with Docker, all your setup is documented. The commands that were used to install our software into the virtual machines and were long gone are present right there in the Docker file. And building the code? An even bigger win for Docker. In the VM project, the build environment for the C++ portion of our codebase was configured by about a dozen environment variables, none of which were documented. If it were built in Docker, all the necessary environment variables would have been right there in the build environment. Not to mention the build commands themselves would be there too, whereas with VMs, we would often have developers build locally and then copy it into the VM, which was terrible for reproducibility and onboarding new developers.

That said, this all comes down to execution - a well-managed VM system can easily be much better than a poorly managed Docker system. But in general, I feel that Docker tends to be easier to work with than a VM. While Docker is far from flawless, there are a lot more things that can make life harder with VMs, at least from my experience.

PoolloverNathan ,

Nix has flakes; nix run can contain pretty much all of the needed dependencies. If that’s not enough, you can set up an entire container as a module.

numberfour002 , in How big is your desk?

HTML CSS XML JSON SQL CRAYONS

Okay, it’s starting to add up.

ricdeh ,
@ricdeh@lemmy.world avatar

Not a single real language 😈

Aceticon ,

It really depends on whether that SQL is the standard one (such as SQL92) or with the database specific extensions (such as PL/SQL).

The latter often adds up to a “real” programming language (were you can define your own functions and everything), depending on the database.

But yeah, the rest not so much.

kelargo ,

Features to enhance vendor lock in.

Aceticon ,

Indeed.

frezik ,

JSON and XML can be “real” languages. Mostly because of people who didn’t stop to ask if they should.

victorz , in Corpos being corpos

Comapnies 🥺

lurch ,

lol Comapenis

kambusha ,

Comapny, bro

RiikkaTheIcePrincess , in COMEFROM
@RiikkaTheIcePrincess@pawb.social avatar

Aaahhh, this is horrifying! You’ve ruined my breakfast 🙀

MajinBlayze , in COMEFROM

So, an aspect

polonius-rex ,

shut it

user1234 , in Stop comparing programming languages

C++ EXISTS

Kit , in Cupholder.exe

This was a common April Fools prank back in my day. We would put a startup script on a person’s computer that opened their CD drive at random intervals. Drove them nuts!

key , in Cupholder.exe

That joke was constant in the early 00s.

Couldbealeotard , in What a time to be alive
@Couldbealeotard@lemmy.world avatar

Have you seen the film Dark Star? Bomb number 20 gets stuck in the release bay with the detonation countdown still running, so they have to spacewalk out and convince the AI not to explode.

FiniteBanjo ,

Theres a great Trevor Something Does Not Exist song that samples the conversation, called Outro.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines