Ascii needs seven bits, but is almost always encoded as bytes, so every ascii letter has a throwaway bit.
- 1 Post
- 26 Comments
houseofleft@slrpnk.netto
Programmer Humor@programming.dev•Tell me the truth ...English
10·6 months agoWait till you here about every ascii letter. . .
houseofleft@slrpnk.netto
Technology@lemmy.world•Netflix will show generative AI ads midway through streams in 2026English
1·6 months agoThanks! Somehow missed that, but I still don’t really understand the details, like how and whyit incorporates generative AI, and if these are for Netflix or for Netflix ad customers.
houseofleft@slrpnk.netto
Technology@lemmy.world•Netflix will show generative AI ads midway through streams in 2026English
16·6 months agoI can’t tell from the article what the AI side of this is? Are Netflix offering to make adverts for customslrs using AI? Are they just showing adverts in general from customers, including AI generated ones?
I don’t know if I’m doing something wrong, but I’ve read the article twice and still don’t know 😂
houseofleft@slrpnk.netto
Programmer Humor@programming.dev•muskrat's data eng expert's hard drive overheats while processing 60k rowsEnglish
291·8 months agoTbf we don’t know how many columns there are /s
houseofleft@slrpnk.netto
Linux@lemmy.ml•What's your favorite DE, and what does your workflow look like?English
7·9 months agoI use Cosmic and really like it- have used i3, Awesome and Gnome in the past for a while too, I really likes them.
The most time I spent with a set up was Awesome + rofi, which I really enjoyed. I customised literally everything and spent hours tweaking stuff.
That was super fun, but in all honesty my workflow is more or less:
- Open up a terminal (alacritty, tmux + fish shell + helix editor)
- Open up a browser (Firefox, have played with others but there’s always some quirk where I give up)
- That’s it.
Honestly, all the tweaking is fun for me, but with my workflow I have like 0 requirements for anything fancy. Daily driving cosmic is going nicely for now, and seems to mostly get out of my way.
Sounds like it’s working great for you- I wish it would for me too! I’m not OP but some of my main gripes are:
-
Most calls have, for at least one caller, a wierd lag time where the call doesn’t start for 10 seconds or so
-
Quite frequently (I’d guess 5 calls a month) a call will be disrupted by teams failing completely for someone on the call (camera not working, not being able to join etc)
-
It uses a lot of RAM even when idling
-
It has hundreds of features, like “together mode” that bloat the software without adding to its core functionality
-
The UI is a confused mess, and the conceptual split between teams, channels and chats is messyat best.
On top of that, I don’t find teams makes me more productive, if feels like a constant distraction that modern corporate culture requires me to have, even though its a net drop in productivity. This last point is more on instant messengers as a whole, but it doesn’t place me in a very charitable or forgiving mindset for interpretting Team’ multitude of flaws.
-
import wordz as wz wz.Sentence().hello().world().print_out()
houseofleft@slrpnk.netto
Programmer Humor@programming.dev•"GitHub CI is easy", he said. "It's just `bash` ", he said.English
18·1 year agoHere’s my hot tip! (ok maybe luke warm)
Write as much of your CICD in a scripting language like bash/python/whatever. You’ll be able to test it locally and then the testing phase of your CICD will just be setting up the environment so it has the right git branches coined, permissions, etc.
You won’t need to do 30 commits now, only like 7! And you’ll cry for only like 20 minutes instead of a whole afternoon!
houseofleft@slrpnk.netto
Not The Onion@lemmy.world•I Don’t Know Why Women Keep Laughing at Me When I’m Out Driving my Tesla CybertruckEnglish
20·1 year agoMan, I sure wish cybertrucks had been around to deflect when I spent 7 years driving a Fiat Panda.
houseofleft@slrpnk.netto
Programming@programming.dev•How proficient do you rate yourself in your most coded language?English
3·1 year agoOh boy, have fun! CTEs have pretty wide support, so you might be in luck (well at least in that respect, in all other cases you’re still using saleforce amd my commiserations are with you)
houseofleft@slrpnk.netto
Programming@programming.dev•How proficient do you rate yourself in your most coded language?English
6·1 year agoI have advice that you didn’t ask for at all!
SQL’s declarative ordering annoys me too. In most languages you order things based on when you want them to happen, SQL doesn’t work like that- you need to order query dyntax based on where that bit goes according to the rules of SQL. It’s meant to aid readability, some people like it a lot,but for me it’s just a bunch of extra rules to remember.
Anyway, for nested expressions, I think CTEs make stuff a lot easier, and SQL query optimisers mean you probably shouldn’t have to worry about performance.
I.e. instead of:
SELECT one.col_a, two.col_b FROM one LEFT JOIN (SELECT * FROM somewhere WHERE something) as two ON one.x = two.xyou can do this:
WITH two as ( SELECT * FROM somewhere WHERE something ) SELECT one.col_a, two.col_b FROM one LEFT JOIN two ON one.x = two.xEspecially when things are a little gnarly with lots of nested CTEs, this style makes stuff a tonne easier to reason with.
houseofleft@slrpnk.netto
Technology@lemmy.world•Former Google CEO says climate goals are not meetable, so we might as well drop climate conservation — unshackle AI companies so AI can solve global warmingEnglish
211·1 year agoAI: “Have you tried funding public transport and regulating the carbon industry?”
Ok, now we need to make a new AI so that AI can solve global warming but without using an existing solution that might marginally inconvenience the mega rich.
Short answer is no, I think because what tools you need for programming change so much based on the development you’re doing. C++ developers need compiler toolchain stuff that Javascript developers would never need to look at and vice versa.
Curveball answer is that modern extensible IDEs with the power of language servers and plugins have kind of become this. I’d massively recommend properly getting into one of the following and learning how to configure new languages and plugins:
- VScode
- Neovim
- Emacs
- Helix
(Sure I’ve probably missed some great options, feel free to flame me on why notepad++ should be OPs first choice)
Yeah, that’s my experience too. I think once projects get to a certain size, you really reap the benefits of strong opinions, regardless if what those opinions are.
It’s not easier to do getters or setters but especially in python there’s a big culture of just not having getters or setters and accessing object variables directly. Which makes code bases smaller.
Same with the types (although most languages for instance doesn’t consider None a valid value for an int type) Javascript has sooo many dynamic options, but I don’t see people checking much.
I think it boils down to, java has a lot of ceremony, which is designed to improve stability. I think this makes code bases more complex, and gives it the reputation it has.
Before someone says it, I know a lot of this stuff doesn’t need to be done. I’m just giving it as examples for why Java has the rep it does.
I think a lot of it is “ceremony”, so it’s pretty common in java to:
- create a get method for every object variable
- create a set method for every object variable
Then add on top that you have the increased code of type annotations PLUS the increased code of having to check if a value is null all the time because all types are nullable.
None of that is hugely complicated compared to sone of the concepts in say Rust, but it does lead to a codebase with a lot more lines of code than you’d see in other similar languages.
houseofleft@slrpnk.netto
Programming@programming.dev•Book recommendations to learn programming fundamentalsEnglish
1·1 year agoI read ‘Computer Science Distilled’ early on and it really helped me. It’s a very shallow summary of some CS fundamentals, but that’s kind of what you want when you’re starting out- just enough knowledge to know what exists to learn later.
Here’s a link: https://www.goodreads.com/book/show/34189798-computer-science-distilled

This, 100% It’s like how people started saying “PC” because personal computer was too long for them, but now I exclusively hear people taking up to a minute on each letter! (peeeeeeee-seeeeeeee)