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.

Pyro , in Bad!
elxeno , in White House weighing in on the big issues
JoMiran , in White House weighing in on the big issues
@JoMiran@lemmy.ml avatar

Finally, a president I can get behind.

xmunk , in C++ Moment

PHP: Error on Line 0 in undefined.

potentiallynotfelix , in What’s in a name?
@potentiallynotfelix@iusearchlinux.fyi avatar

Oop

Lemminary , in What’s in a name?

I’m naming mine 1337Code jr

victorz ,

Kind of has the same cadence to it as James Bond Jr. I like it.

xmunk ,

For some reason I got an out of bounds memory exception when trying to dereference the parent.

backhdlp , in I see.... finally vim has other purpose than being text editor
@backhdlp@iusearchlinux.fyi avatar

I use vim btw

fuzzy_feeling ,

neo(n orange)vim

recursive_recursion , in Shiiieeettt....
@recursive_recursion@programming.dev avatar

“eh we’ll fix it in post”

post:

insomniac_lemon , in Old xkcd, I can't see it ever not being relevant
@insomniac_lemon@kbin.social avatar

I am not a programmer, but on 2 occasions I was able to improperly fix (1 argument in 1 line stuff) very small bugs without really understanding how. I've also made a number converter (dec-bin-hex) at least twice. I know those aren't a lot but it's weird that it happened twice twice.

I'd say there's an issue here with language design having major tradeoffs, but maybe it's just a paradox*? Though I have found a language I like (even though I'm not learning it because other issues), so I know it's not impossible at least.

*= Like the people who could make something with less tradeoffs don't have the need/desire to do that, they just use the existing stuff. Though that is much more fitting for visual programming.

jeremyparker ,

it’s weird that it happened twice

Everyone who dabbles in programming eventually learns :q. Not everyone learns :wq.

smeg OP ,

I learned :q! first!

Luvon ,

Not everyone learns :x

Undearius ,
@Undearius@lemmy.ca avatar

Or ZZ

Luvon ,

Oh I don’t know that one, what’s it do?

Undearius ,
@Undearius@lemmy.ca avatar

Same as :wq and :x

Saves and quits.

jeremyparker ,

Wtf is this bullshit. When tf did vim start allowing you to do the same thing in more than one way

FiskFisk33 ,

hmm, when was vim invented?..

jeremyparker ,

Vim wasn’t invented, it spawned fully written and tested at the moment creation came into existence

That’s why vi is already installed on every Linux system

FiskFisk33 ,

of course!

no but i bet configurability was an early fearure

danc4498 , in Normal day in the life of a developer

Me when I write a regrex without googling every bit of it.

Dehydrated OP ,

Relatable

letsgo ,

“regrex” They should definitely be known as that!

danc4498 ,

lol, didn’t even see my typo

WanderingVentra ,

One day I’ll pull that off…

nifty , in Normal day in the life of a developer
@nifty@lemmy.world avatar

There are people who unironically believe this.

explodicle ,
Turun , in Normal day in the life of a developer

Me running an LLM at home:

The same image, but the farmer is standing in front of a field of poppy (for opioid production)

virku ,

I am researching doing the same, but know nothing about running my own yet. Did you train your llm for programming in any way, or just download and run an open source one? If so which model etc do you use?

lunachocken ,

Have a look at llama file models they’re pretty cool, just rename to xxx.exe and run on windows and chmod on Linux.

Though the currently supported ones are limited, you could try llama code.

virku ,

Where do you get it? Hugging face?

moonpiedumplings ,

llamafile.ai (though it’s down for the moment)

github.com/Mozilla-Ocho/llamafile

Lot’s of technical details, but essentially the llamafile is a engine + model + web ui, in a single executable file. You just download it and run it and stuff happens.

virku ,

Thanks!

Turun ,

Run an open source one. Training requires lots of knowledge and even more hardware resources/time. Fine tuned models are available for free online, there is not much use in training it yourself.

Options are

github.com/oobabooga/text-generation-webui

github.com/Mozilla-Ocho/llamafile

github.com/ggerganov/llama.cpp

I recommend llavafiles, as this is the easiest option to run. The GitHub has all the stuff you need in the “quick start” section.

Though the default is a bit restricted on windows. Since the llavafiles are bundling the LLM weights with the executable and Windows has a 4GB limit on executables you’re restricted to very small models. Workarounds are available though!

virku ,

Im gonna give llamafile a go! I want to try to run it at least once with a different set of weights just to see it work and also see different weights handle the same inputs.

The reason I am asking about training is because of my work where fine tuning our own is going to come knocking soon, so I want to stay a bit ahead of the curve. Even though it already feels like I am late to the party.

Static_Rocket , in Every language has its niche
@Static_Rocket@lemmy.world avatar

The only place I’ve seen ruby used extensively is in environments with a lot of regular expressions and string manipulation. Still not entirely sure why I’ve only seen it used there. The regex tools in ruby are nice but they aren’t nice enough to justify a language switch in my opinion…

v_krishna ,
@v_krishna@lemmy.ml avatar

It’s the part of ruby that replaced perl. For whatever eldritch horror perl was it was very, very good at doing text manipulation, and IME the only language to really match that experience was ruby.

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

I have never been a fan of Perl, it seems like a patchwork of different styles, and the same with Ruby.

I have gotten the sales pitch for ruby and RoR so I know it has some strengths especially in web development.

dan , in If Architects had to work like Programmers
@dan@upvote.au avatar

also make sure that you keep updating it for life even though I’m only paying you once.

atomkarinca , in If Architects had to work like Programmers

this is literally how we work now in construction. because everything is digital people think that this is an acceptable approach. all my costing files are purposefully extremely dynamic.

you want to add another floor? no problem.

you want to change some floors from 3 bedroom to 2 bedroom? no problem.

you want to remove a parking floor and have outside parking? no problem. you don’t want to have low hanging beams? no problem.

and so on and so on…

i know i should not be working like this, but sometimes i have to.

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