You’re paid in exposure.
- 33 Posts
- 431 Comments
bleistift2@sopuli.xyzto
Programming@programming.dev•Which software design principles do you rely on most?English
6·1 year agoSingle responsibility. I deplore my backend developers who think that just because you’re mauling a single (Java) stream for an extended operation, it’s ok to write a single wall-of-text, 5 lines long, 160 characters wide. Use fucking line breaks, for fuck’s sake!
Has Github been down this often before Microsoft took over?
bleistift2@sopuli.xyzto
Programmer Humor@programming.dev•Working in a large corporation is a place where you get paid forEnglish
5·1 year agoJSON parsers need to get their shit together. I’ve had errors for trailing commas and comments in JSON way too often.
When you add TypeScript on top and with EcmaScript finally caving in to
classism, and with all the new shiny APIs (fetch,Temporal,Setand the like), I really don’t get the hate for JavaScript anymore.Especially TypeScript’s type system is so awesome that I’ve found my self cursing at Java for not doing types well enough.
For every department, IT knows of a canary. If that person of … questionable mental ability … finds their way around the new systems, everyone else will, too.
bleistift2@sopuli.xyzto
Programmer Humor@programming.dev•Common sense vs the clientEnglish
11·1 year agoI think experience’s and common sense’s lines should be switched. Otherwise, great.
bleistift2@sopuli.xyzto
Programmer Humor@programming.dev•Works if manually restarted by an intern from time to timeEnglish
8·1 year agoAt first I thought you missed the
-r. Then I checked. Defaulting to STDIN here is very, very dumb, IMHO. Almost as bad as putting the “edit” flag right next to the “delete everything without confirmation” flag on a Western keyboard (-evs-r).
bleistift2@sopuli.xyzto
Programmer Humor@programming.dev•Me waiting for the AI to close the tag for meEnglish
2·1 year agoThis only works if the cancel button looks like a specialized button. If it doesn’t (for instance, if it looks like the usual “×” symbol), you’re in for a lot of style overrides.
Oh, and guess what: Your suggestion is exactly what bootstrap does.
.btn.primaryis for the default action,.btn.secondaryI usually use for aborting and going back,.btn.dangershows that bad things will happen. The only difference is that if doesn’t force its default styles on all plain<button>elements that might be present on the page.
bleistift2@sopuli.xyzto
Programmer Humor@programming.dev•Me waiting for the AI to close the tag for meEnglish
6·1 year agoNot every button should have the usual button-y style. A close button, for instance, might be displayed differently. Or a play button layered on top of a video.
bleistift2@sopuli.xyzto
Programmer Humor@programming.dev•Me waiting for the AI to close the tag for meEnglish
6·1 year agoA use case I find perfectly valid are
<label class="btn">s for checkboxes and radios with huge-ass hit areas.
WTF‽ I’m a web dev for 5 years, 8 if you count university, and I’ve never heard about bookmarklets. Why would that even begin to work?
Man, this is so amazing!
bleistift2@sopuli.xyzto
Programming@programming.dev•Big Decimals: Stop Using Floats or Cents for MoneyEnglish
22·1 year agoIf you count the programming language you use as ‘platform’, then yes. Python rounds both 11.5 and 12.5 to 12.
Are you typing the whole filename by hand? Tab expansion exists, you know?
As if the goddamn support knew their asses from their asserts.
bleistift2@sopuli.xyzto
Programmer Humor@programming.dev•When people encounter Lisp syntax for the first timeEnglish
1·1 year agodeleted by creator
bleistift2@sopuli.xyzOPto
Mildly Infuriating@lemmy.world•Providing a checksum without telling you how it was createdEnglish
26·1 year agoIt’s the first time I’ve seen it. Are we supposed to memorize the specific length of each hashing function now?
bleistift2@sopuli.xyzOPto
Mildly Infuriating@lemmy.world•Providing a checksum without telling you how it was createdEnglish
2·1 year agoThis has literally nothing to do with Ubuntu.



The word you’re looking for is recursion (see recursion).