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.

backhdlp , in what the hell is happening in ultramarine linux
@backhdlp@lemmy.blahaj.zone avatar

The person in this screenshot ended a podcast they were on with the word Nya.

Rom , in Rust project startup kit
@Rom@hexbear.net avatar

Small science projects:

  • Baking soda and vinegar volcano
  • Moon landing
  • Splitting the atom
dukk ,

I love how simple and small scale splitting an atom sounds. Then you get to doing it…

jasory ,

Splitting individual atoms isn’t that difficult, you just need a neutron supply and some material (paraffin wax works) to slow them down and it will eventually happen at least with uranium. Doing it reliably and efficiently is a much harder problem.

sv1sjp , in Multifactor auth done right
@sv1sjp@lemmy.world avatar

As I Cybersecurity Consultant, I totally agree

MCHEVA4EVA ,

I get my passwords from the collective unconsciousness.

Natanael ,

There needs to be an SCP for a password manager

Hazzia ,

Be the change you want to see in the world

Kissaki ,

One time passwords

Forgotten after one use

vsh , in GitHub Desktop or Git CLI?
@vsh@lemm.ee avatar

GitHub desktop for life

tahoe ,

Yup! Been using it for years, it looks nice, has a good UI and works well. I’ll use the CLI if I need to but 99% of the time Desktop is the better choice (for me).

infinitepcg , in GitHub Desktop or Git CLI?

GitKraken!

datelmd5sum , in It's that time of the year again!

Query OK, 0 rows affected

BilboBargains , in Not mocking cobol devs but yall are severely underpaid for keeping fintech alive

Is the collective noun for COBOL programmers, cobblers?

ma11en ,

I would have gone with COBOLLICKERS

BilboBargains ,

You definitely don’t want a blunt force trauma to this delicate area

z3rOR0ne , in every damn time ...

What is this, a VSCode message? I use NeoVim on Linux and can only vaguely recall such a message from a time long ago…in a galaxy far far away…

backhdlp ,
@backhdlp@lemmy.blahaj.zone avatar

Average Neovim user (I use Neovim btw)

Tsubodai ,

Neovim extension for vscode. Love it.

agent_flounder ,
@agent_flounder@lemmy.world avatar

Yeah vscode.

Today’s stupid question: are vim and neovim not the same thing? I just type vi (ancient habit) and use whatever it is that executes. (I can go search but interacting here is more fun lol)

Dhs92 ,

I believe neovim is just a fork of vim that’s still updated and has support for more modern features.

9point6 ,

FWIW I think vim is also still updated, there was a release this year I believe

emptiestplace ,

and then Bram died :(

9point6 ,

oh… oh shit. That had somehow slipped my mind

:(

emptiestplace ,

Yeah, it doesn’t make a lot of sense. People talk about “when Linus dies”, and obviously that will be devastating, but in my mind Bram just was. I wish I’d made a point of meeting him, or at least sending him an email to say thanks. Not for vim specifically, though I will probably use it until my fingers quit working. As with countess others, Bram inspired me to learn about ICCF Holland, and from there I had the privilege of supporting a child in Uganda through school. That’s what I’d want to thank him for. And vim.

z3rOR0ne ,

Neovim is a fork of Vim. It uses Lua for configuration instead of the original Vim’s VimScript, but still has a lot of interoperability with original Vim plugins and configuration options.

1984 ,
@1984@lemmy.today avatar

Neovim is better in many ways, and because it has lua support, it’s so much easier to write plugins for it. So there are thousands of plugins right now, and entire neovim distributions that are configured to work like an IDE, like Lazyvim for example.

www.lazyvim.org

I’m a huge fan and I have written plugins myself since it’s easy and rewarding.

But on the server, I don’t bother installing neovim. Ordinary vim is fine for simple editing tasks. But if you want a customized experience to replace VS Code on your computer, you want neovim and not vim.

Haus , in Bill is a pro grammer
@Haus@kbin.social avatar

This is what I call a 'pro grammer move.'

clearleaf , in Works on my machine

They did it! They passed the turing test!

takeda , in Works on my machine

But it doesn’t even compile!

Kolanaki ,
@Kolanaki@yiffit.net avatar

“You literally just wrote ‘kill all humans’ and put it in curly brackets.”

xmunk ,

“So, did your program fail after you executed it? Or do you just think my code looks wrong?”

kamenlady ,
@kamenlady@lemmy.world avatar

If you keep inquiring like this, it will send the terminator personally to have you exterminated

Blackmist , in Me trying to fix a complex bug that's not important

That moment where you finally convince your boss it’s not worth fixing, and then you instantly think of a way to easily solve it.

philm ,

“easily” solve it.

FTFY

Blackmist ,

The annoying thing is, when it’s happened it’s been like a day’s work tops. Making your initial declaration of “can’t be done without rewriting all of it” look very silly.

It usually involves working backwards from unholy abomination the sales team, your manager and the customer fucked into existence between them, and just find out what problem the customer actually wants solving.

GissaMittJobb , in Oh yea, that's the good stuff **huffs glue**

Since all of the expressions just wrap a None, I wouldn’t be surprised if the transmutes basically get compiled to 0, making the assertion at the end assert_eq!(0 * 0, 0).

tatterdemalion OP ,
@tatterdemalion@programming.dev avatar

Nah these are the actual integer representations. Otherwise you would have Some(None) == Some(Some(None)) which is way too Javascripty for Rust folks.

GissaMittJobb ,

That’s kind of wild, I double-checked and it’s true.

Although I disagree with the second part, the Rust folks wouldn’t care about the in-memory representation as long as the compilation is on point.

Looking closer at the final enum, I guess it’s because there are nine possible cases for it, making the compiler pack it into 4 bits, with one number representing each? I checked and None is represented as 8, while 7 Somes containing a None is 0 and the full 8 Somes is represented by 1.

tatterdemalion OP ,
@tatterdemalion@programming.dev avatar

the Rust folks wouldn’t care about the in-memory representation as long as the compilation is on point.

Well I can’t speak for everyone, but Rust is very intentional about supporting things like repr©. At least some of us care a lot.

nxdefiant , in Show me a better text format for serializing

If you have a choice to start from scratch, TOML is probably the better option.

rekabis , in JavaScript's days are numbered

past 13 September

Yes, but will that be a Friday??

Wogi ,

That will be a Saturday

14th_cylon ,

it may or may not be a monday - probably won’t. it will be monday based on the (4000 | year) => !(leap year) rule, but by the year 275000 the difference will be so big that i am pretty sure people will make more rules to solve that.

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