Skip to main content

Search

Items tagged with: programming


Seriously #rust #rustlang #rustdev #rustprogramming people:

Use `thiserror` in library crates! Only use `anyhow` in binary crates!

Don't give your users a hard time fighting against `anhyow::Error` when using your library!

#programmingadvice #programming


Hi, I'm reinboar. Here's a (somewhat) comprehensive list of my interests and passions:
#programming
#scheme
#lisp
#retrogames
#n64
#playstation
#languages
#esperanto
#gopher
#diy
#anime (mainly old shit)
#vhs

If any of those tickle your nuts, please @ me, I am very lonely



Hello, world!
Gonna make an #introduction for #introductions or #intro
I'm pjals, coming from pjals at envs dot net. My current favourite #programming language is #golang.
I don't use #hashtags much, but I'm only gonna use them heavily for this post.
I have made a service for #vern, specifically a #minetest email verification whitelist. I'm also an admin on the #vern #minetest.
Also, my favorite game is #oneshotgame. Play OneShot now. Play OneShot now. Play OneShot now.
Pretty sure thats all.


The best 6 words story developers like to hear isn't about baby shoes, it's this:

"Ah wait, now it's working"

#programming #developer


Since many users are joining today and in the future, a #introduction #introductions refresh for those new or want to get a reminder of who I'm about:

Here's some hashtags. If you relate to any of these and more, I would love to interact with you all!

#film
#culture
#tech
#coding
#programming
#podcasts
#software
#opensource
#fandom
#diversity
#windows
#linux
#gaming
#retrogaming

And many more, just ask!
#hardware


Hey I'm Michal, I'm a new grad, programmer, and photographer. I'm working on a bunch of interesting stuff, check out my website to learn some more. I'm excited to connect and talk with some new people! #aerospace #programming
https://michaszj.github.io/


I'm late to the #introductions, but here it goes. I'm 30, she/her, from #Germany. I work as a environmental scientist at a university, pursuing a PhD degree. I need some #python #programming skills to do that.
I'm fairly into #crafts, especially #fiberarts like #knitting and #sewing.
I enjoy #boardgames a lot, I also started playing #shadowrun about a year ago.
#games like #citiesskylines or #civilization5 have quite a few hours on my steam account.
Plus: Trying to improve my #french ;)


Content warning: Request for algorithm


As a developer I live for these moments of joy. Seeing your code works faster, consumes less memory, and does more than a previous solution gives me this incredible feeling of an achievement.
Especially, I'm enjoying this as I really like Rust and want to have more of it in production.

#rust #programming #achievement


Spotted in the wild, binary operations on strings in #PHP apparently are faster than native string functions. 🤷‍♂️
// PHP_OS & "\xDF\xDF\xDF" == strtoupper(substr(PHP_OS, 0, 3)), but a lot faster
#Programming


X-Zibit: "Yo dawg, I heard you liked #Minecraft so I put Minecraft in Minecraft so you can play Minecraft while you play Minecraft" #videogames #programming


So there's a super interesting (IMO) thread on birdsite where Scott Hanselman asks younger/newer devs whether or not they enjoy diving deep into low level code or if that's just something we olds do. Overwhelming response?

"Yup. It's for olds".

https://twitter.com/shanselman/status/1567206527332921344

I have so many feels about this. On the one hand, it makes me sad. On the other, maybe it's an understandable evolution of the field since we're just freaking DROWNING in architectural complexity?

On the other, what does it mean if we have an up and coming generation of developers who not only don't know how but don't WANT to know how to pull back the curtain and dive deep?

#programming #development #software #dev #generations


I needed short salted encoded strings from integers to prevent enumeration attacks on a public detail page, and I decided on Hashids with bindings in several #programming languages including #PHP that I use.


From a line committed in 2014 by a former contractor at my job:
if (isset($live) && !is_null($live) && !empty($live)) {
Can't be too careful. #PHP #Overkill #Programming




#Programming
These past years I learned:
- Dependency Injection
- Repository pattern

Interested:
- Machine learning to balance a game

Uninterested:
- Having a build step for my websites (compiled CSS, JS bundler...)
- Containers

I won't touch:
- Functional programming


This will sound overly technical, but if like me you felt compelled to remove a specific class member from the __debugInfo() output, the member should probably not be part of the class in the first place.
#PHP #programming


I couldn't find the answer myself, so I'll ask here: in #PHP, why can't I override a class method with a more specific argument?

#programming #question #help

See snippet: https://3v4l.org/nikF1


It isn't always easy to figure out whether you have progressed as a programmer or not, but managing to write a recursive function right the first try definitely is a solid milestone.
#programming


Just found out about Commit Logs From Last Nights that aggregates public GitHub commits whose message contains profanity. Most are frustratingly short but some really are worth it. #programming


This #programming golf hell thread is funny, until you realize that the npm package "is-even" imports the npm package "is-odd" and simply negates the result.

npmjs.com/package/is-even
Weekly downloads: 97,000

npmjs.com/package/is-odd
Weekly downloads: 400,000

God I wish there was an easier way to do this

Image/photo