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.

exocrinous , in Whitespace

Int *p is unreadable, unreasonable, and bad programming.

Ferk ,
@Ferk@kbin.social avatar

But C syntax clearly hints to int *p being the expected format.

Otherwise you would only need to do int* p, q to declare two pointers... however doing that only declares p as pointer. You are actually required to type * in front of each variable name intended to hold a pointer in the declaration: int *p, *q;

exocrinous ,

That’s because C was designed by a fool.

Aatube ,
@Aatube@kbin.social avatar

The fools who created Unix

Tja ,

And C!

CanadaPlus ,

What, could you have done better in 70-whatever?

Aatube ,
@Aatube@kbin.social avatar

Why so? It’s what it actually is

GeniusIsme , in What could go wrong trying to solve AoC in Rust?

Show the alternative, I’ll have a good laugh.

janAkali , (edited )

It’s Nim, but I have no idea why you can’t do this in Rust:


<span style="color:#323232;">var seeds = lines[0].split(": ")[1].splitWhitespace().mapIt(it.parseInt)
</span>

Full solution: codeberg.org/Archargelod/…/solution.nim

GeniusIsme ,

Ahh, it is the same thing. Rust example surely has some cruft, but mostly for the better. I’m sure not all of it is needed.

MNByChoice , in Chewing gum as a promotional gift for a RTOS

Package nicely mirrors this image from the pikeos site. sysgo.com/…/csm_SYSGO_graphic_pikeos_rtos_hypervi…

genfood OP ,

There is one / to much, well it isn’t but the URL formatting isn’t working for me. 🥲

MNByChoice ,

Interesting. URL is as copied from my browser. In any case, here is the website, and it might work better.

www.sysgo.com/pikeos

genfood OP ,

Ok may bad, it’s the client I am using, it works on other Apps.

scorpionix ,
@scorpionix@feddit.de avatar

Jerboa? The link is malformed for me as well

colorado ,

Voyager on Android as well

genfood OP , in Chewing gum as a promotional gift for a RTOS

Although the best-before date had already passed, the chewing gum was still good.

https://feddit.de/pictrs/image/a2b802de-757c-499c-8ddd-4a0024457cb7.jpeg

victorz , in Whitespace

Wait until I tell y’all about const.

BlanK0 , in Chewing gum as a promotional gift for a RTOS

Damn, that’s a cool way to explain how that tech works in a chewing gum package

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

I’m confused, how exactly is this explaining anything? I’m fully aware of what a hypervisor is and does, but is the insinuation that the gum is VMs?

Gallardo994 , in 5/5 stars

Yeah dev home is pretty much useless at this point.

Back when it just launched, they marketed it as it would introduce cool stuff to developers like, what I’m waiting for the most, git repositories Explorer integration. But all we have is a constantly crashing app and two extra widgets for the widget panel.

Dev drives are also cool but they’re the part of Windows anyway, no dev home needed.

crispy_kilt ,

Dev drives

Mom, can we have fast i/o with many small files?

No, we have fast i/o with many small files at home.

Fast i/o with many small files at home:

Gallardo994 ,

Instead of io stuff I just use it as a current snapshot of my dev stuff including repos. Super-easy and super-fast to sync to my other devices just as a vhdx file over any wifi network. Yeah it’s not dev drive specific feature but still, I started doing so because of dev drive

crispy_kilt ,

I love learning about all the problems I’m not having

By the way I use Debian

Gallardo994 ,

What problems are you talking about?

crispy_kilt ,

For example, slow i/o with many small files

Gallardo994 ,

I don’t remember mentioning I have a problem with that lol

crispy_kilt ,

Can confirm, you did not mention it

Ironfacebuster OP ,

If the widgets page wasn’t almost useless and filled with news stories I would actually use dev home for its widgets lol

Gallardo994 ,

Newest release preview builds added an option to turn all the news off, just sayin’

Ironfacebuster OP ,

I haven’t downloaded it because I was tired of the weird bugs with file explorer, but even on stable there are weird bugs so it’s probably worth a try

xmunk , in 5/5 stars

A review that deserves more stars than the thing it’s reviewing.

cupcakezealot , in 5/5 stars
@cupcakezealot@lemmy.blahaj.zone avatar

mum can we have rainmeter

we have rainmeter at home

the rainmeter at home

Appoxo ,
@Appoxo@lemmy.dbzer0.com avatar

Rainmeter?

Shjosan ,
@Shjosan@sopuli.xyz avatar

An application to add stuff/widgets to your windows desktop

https://www.rainmeter.net/

Appoxo ,
@Appoxo@lemmy.dbzer0.com avatar

I meant that more as a question what Rainmeter has to do with the post being about dev home

Shjosan ,
@Shjosan@sopuli.xyz avatar

Ohh, I guessing because dev home has a couple of dashboards widgets

egerlach ,

TIL about Rainmeter. This thread has done some good, beyond the obvious good of mocking Dev Home.

dan ,
@dan@upvote.au avatar

It’s only called Rainmeter if it’s from the Pluvimètre region of France. Otherwise it’s just sparkling Windows Vista widgets.

1984 , in 5/5 stars
@1984@lemmy.today avatar

I don’t know what this is since I dont use windows, and it makes me happy.

Holzkohlen ,

Jomo - joy of missing out

Blackmist ,

I feel that every time I see an advert for Paramount+.

xthexder ,
@xthexder@l.sw0.com avatar

My adblocker is causing me to miss out on the JOMO!

Johanno , in I don't believe Auto Save feature in any software

This is me in eclipse.

Because I used to do the single save and it failed

normalexit ,

Oh, eclipse. I’m still happy I don’t have to save in intellij .

Johanno ,

I tried intellij years ago and never left it.

crony , in I don't believe Auto Save feature in any software
@crony@lemmy.cronyakatsuki.xyz avatar

:w

:w

:w

:w

:w

i

esc

:w

:w

:w

:w

Average day in (neo)vim

fylkenny ,

You can use :wq only once

victorz ,

So choose wisely. All other editor instances must remain open forever.

Vash63 ,

*per open file

dukatos ,

:x

noeontheend ,

My biggest (mostly) irrational internet pet peeve is the proliferation of people suggesting “:wq” when “:x” is strictly better.

calzone_gigante ,

I use quake style terminals, and often start writing a file and completely forget about it and turn off the computer, and only remember what i left behind when i find the random recovery files around, so :w a lot is quite useful for me.

kender242 ,
@kender242@lemmy.world avatar

Quake? The FPS? I’m confused, though I knew a little about Linux

calzone_gigante ,

Yes, on classic fps you could spaw a console that will drop down from the top os the screen, some terminal emulators allow you to do that.

I like it because then i have the terminal always open that i just draw from the top of the screen with a keypress

On KDE i do that with Yakuake, and on gnome with tilix

Dehydrated ,

You can also use Guake on GNOME or basically on any desktop. I’ve also use it on Cinnamon and it’s really nice.

pkill ,

not mapping semicolon to colon

lel

Commiunism ,

:w before ZZ just to make sure

Anticorp ,

Make all changes

:wq!

Force that bitch!

SorryQuick ,

Is there any reason to use :w other than it being the default? I have mine mapped to CTRL-S and it makes sure to keep me in insert mode if I was in insert mode. Feels way faster and easier to spam than the 4 key presses it takes to execute “:w”.

crony ,
@crony@lemmy.cronyakatsuki.xyz avatar

I’m just used to it and I’m keeping ny time in instert mode at minimum.

marswarrior ,
@marswarrior@lemmy.world avatar

https://lemmy.world/pictrs/image/1c57b14b-6e5c-4f78-ba91-cddfaaaf55a1.png
This will allow you to ctrl+s to save. I tried to add this in a backtick code line/block but it removes part of the syntax.

crony ,
@crony@lemmy.cronyakatsuki.xyz avatar

Sorry but I’m already used to :w stoo much and a lot faster with it than ctrl+s

M500 , in I don't believe Auto Save feature in any software

I’m the same way. I think it’s just a matter of being conditioned to manually save for the majority of my computing life.

JoYo , (edited ) in I don't believe Auto Save feature in any software
@JoYo@lemmy.ml avatar

MFRs are saving each keystroke they have access to.

UNWILLING_PARTICIPANT ,

Hell sometimes I’ll save just after having thought about writing something

DirkMcCallahan , in I don't believe Auto Save feature in any software

It’s because the first time doesn’t always work. I swear, sometimes it doesn’t!

Vlyn ,

Ctrl + C literally doesn’t work at times, it drives me crazy. It might be due to some shitty applications and websites overriding it or adding complexity (Like copying not only the text but additional information).

I’m often 100% sure I copied the text, change the window and an old clipboard entry gets pasted.

blanketswithsmallpox ,

God I hate this so much. It’s especially frustrating on mobile where it takes like thirty seconds to try to get the right part of the text copied and use the fucking magnified blue dots… Ugh.

Vlyn ,

Mobile is an entirely different beast. Like sometimes my keyboard doesn’t show up. Or the text select refuses to work. And so on. It’s a mess. Even on a Galaxy S22.

No clue how people can exist without a proper computer at home and still do stuff online.

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