HNHacker News
TopNewBestAskShowJobs

weaksauce

7,003 karma · joined May 31, 2008

five nine plus r at gmail

https://www.github.com/fiveNinePlusR/tabist

submissionscomments
weaksauce··on The AI industry is pouring millions into US elections
The thing that stuck with me is the awful reasoning by the judge: "Judge rules Fenwick Island's corporate voting does not dilute human votes"

How could corporations voting not dilute the human votes by the very nature and reason of voting in the first place?

weaksauce··on Steam Machine launches today
1488 is a white supremacist racist dogwhistle.

dhh has been parroting tony robbins stuff and other vaguely white supremacist stuff on his blog.

weaksauce··on Why Drawing Tablet Brands Won't Collaborate on Linux Floss Drivers
just change the name to mocaW
weaksauce··on Ubisoft co-founder Claude Guillemot has died in a plane crash
probably a hobby but a 421 is a high performance dual engine with a pressurized cabin... that's a lot of plane and dual engines are difficult to fly with a lot of technical knowledge and practice to handle an engine out procedure safely. this kind of plane very commonly kills doctors and other high earning individuals that don't have the time to keep their time in the plane to stay recent.

a lot of time people do buy multi engine planes for travel so it's not certain it was just a hobby.

weaksauce··on AUR packages compromised with Infostealer and Rootkit
typically attacks happen when the URL for the source code or binary gets changed significantly... or like in this attack someone adds something to the post_install section which does something like add an npm install command. a lot of updates for binaries are just version bumps and SHA hashes changing which are easy to vet if you trust the source to not be compromised.
weaksauce··on Is grep all you need? How agent harnesses reshape agentic search
you might be interested in https://github.com/boyter/cs

pretty fast and neat project to search code interactively with a lot of optimizations on finding the right thing

weaksauce··on Cooldown Support for Ruby Bundler
yeah security researchers at security companies are the ones we are talking about.
weaksauce··on Cooldown Support for Ruby Bundler
security researchers not the ones shipping the faulty code.
weaksauce··on Love systemd timers
the thing for me is I started using the init system and while it was fine it always felt brittle for some reason. systemd feels solid and robust like it was well thought out. maybe i'm off base and didn't know how to use init effectively but it was my feeling.

that and cron always felt fragile too with a lot of quirks and limitations you had to work around instead of being a robust thing from the start.

weaksauce··on Love systemd timers
you can organize them however you want on your system and then use symlinks to make them available.

there's also `systemctl --all list-timers` to view them.

weaksauce··on Codex just found a "workaround" of not having sudo on my PC
it's a probabilistic model so, while you can put that in there, it has some probability of just ignoring you and doing it anyway.
weaksauce··on Local Git remotes
It's useful for me to have a "production" website remote that i just run on my computer for myself locally. rsync could also work but tagging with rollbacks make it easier if something goes wrong. it's not a common thing but it's nice to have that as an option. just because you can't see the utility of it doesn't make it useless
weaksauce··on AMD pulls a bait-and-switch on Linux users with Vivado licensing changes
considering nvidia has garbage gpu drivers in linux land and amd has pretty good ones i suspect you’re correct.
weaksauce··on Erin Brockovich made a map to track data centers around the country
the more I look at it the more I think this is AI yeah. sigh. I'm tired boss.
weaksauce··on Erin Brockovich made a map to track data centers around the country
what's funny is the website looks AI generated though that's just the style of the time i guess.
weaksauce··on Spotify will start reserving concert tickets for fans
navidrome is pretty good.
weaksauce··on Restore full BambuNetwork support for Bambu Lab printers
it's because you're the product and they want the designs i think
weaksauce··on Distributing Mac software is increasing my cortisol levels
they could do it like they do it for accessibility settings. you have to opt in for an app and you need to know damn well if it is a reputable app before giving those controls over. there's enough friction in that that it is not done by many apps but not hard enough that it's a huge ask to whitelist the app.
weaksauce··on Mercedes-Benz commits to bringing back physical buttons
> Sadly marketing drones think everybody wants a Tesla-style "everything is a screen" design whereas a 1999 Toyota pretty much had it right.

they also had to redesign the door handle and people have gotten stuck in the cars because of that and died. not just one isolated incident... more than one case of the car door not working because it's electrical only and the backup physical release mechanism is under a door panel you need to pop off and reach inside to pull after you just got into an accident and are physically disoriented.

weaksauce··on California high-speed rail price tag jumps to $231B, nearly 7x 2008 estimate
in addition... you need a real id or a passport to fly. a lot of people have extreme anxiety about flying. those are big hurdles that a train does not have.
weaksauce··on Optimizing Ruby Path Methods
looked into it more and the docs say that an index out of bounds will return nil. also says if offset == size and length >= 0 it will return an empty array.

``` If offset == self.size and size >= 0, returns a new empty array.

If size is negative, returns nil. ```

either way if you are doing stuff with arrays and not checking bounds you can throw an `Array(some_array.slice(x, x+100))` and it will always behave.

weaksauce··on Optimizing Ruby Path Methods
the docs say... if index is out of range return nil. the edge case is that if you specify the exact end index of the array and want a slice of that index to 100 it will return an empty array. if you go out of bounds it informs you that you are out of bounds with nil. not sure it's the best api but probably is mimicking some C api somewhere as a lot of ruby does that. that said it will never error on this alone but it will almost certainly error if you chain it with something not expecting nil.

The easiest way to get around that if you are not carefully using the ranges would be to do `Array(array.slice(a, b))` as that will guarantee an array even if it's invalid. you could override slice if you really wanted to but that would be a performance penalty if you are doing it often.

weaksauce··on Optimizing Ruby Path Methods
because it's meant to be a more functional language. if slicing an array out of bounds threw an error it would be java.

[].slice(0, 100).each do |x| puts x end

that shouldn't be an error and it seems to be the principle of least surprise imo.

weaksauce··on Microsoft terminates VeraCrypt account, halting Windows updates
It does seem like linux is having its moment right now. there's the money and effort valve is putting into KDE making the steamdeck and steammachine polished for their hardware which helps all users of KDE. cachyos is making having a rolling distro really smooth and snappy on old hardware and making games work mostly ootb. stuff like winboat and wine will let you use the few windows apps you need. you are kinda stuck though if you want to use something like fusion360 or solidworks. freecad has improved quite a bit but it's still like gimp where it's slightly worse UX in a lot of ways.
weaksauce··on Iran-linked hackers breach FBI director's personal email
i think the facts of the matter are that a gmail vulnerability is on the very low likelihood kind of event. they wouldn't burn their insanely valuable vulnerability on showing how much of a fratboy kash is. the most likely possibility is that he either clicked on something dumb and gave access through phishing(really bad) or had a really weak password without 2fa(also really bad).
weaksauce··on Iran-linked hackers breach FBI director's personal email
you don't think that it's relevant and concerning that the director of the FBI didn't take operational security seriously enough that his account got compromised? even if they didn't get anything incriminating (which maybe they did and are going to blackmail him later) that show a shocking lack of competency for someone in that kind of position.
weaksauce··on People inside Microsoft are fighting to drop mandatory Microsoft Account
there's good reason the equivalent shift-command-s isn't bound to screenshot by default... it's the command to save a file and there's no good way to do partial screenshot and full screen screenshot with just command-shift-s + option if you want the option to put it into memory instead of a file. they chose command-shift-3 for full screen screenshot. command shift 4 for partial screenshot and add option to do either of those into memory which is a very common paradigm in macos shortcuts. the option key does something slightly different to the original shortcut in system shortcuts. in any event windows didn't get the non-printscreen version of a screenshot tool until very late in the game and osx had it in for a long time.

that issue isn't even an issue if you really want screenshots to be something else. you can change basically any shortcut in one place in macos. same with kde.

weaksauce··on People inside Microsoft are fighting to drop mandatory Microsoft Account
reading all these comments about windows having better shortcuts and window management features makes me feel like i'm taking crazy pills. windows for me was hands down the worst experience in ux. the shortcuts in macos are so well thought out and consistent.

now i'm using kde in linux land and it's the best and most customizable experience. I can't imagine going back to windows ever and would be missing a lot from linux if i went back to macos(though it would be fine).

getting macos keybinding in linux land is a game changer to me: https://github.com/RedBearAK/toshy and this just makes me feel at home.

weaksauce··on Miscellanea: The War in Iran
this misses the fact that petroleum is incredibly useful outside of the burn it to make electricity and burn it to make car move use cases.
weaksauce··on Time to Dump Windows?
the only two things that would make linux unstoppable would be affinity being first class and having something like fusion360 or solidworks work. there are web based versions of solidworks and another option that escapes me atm that would work but that's the web and it's not the same as native imo. i know there are some opensource projects out there but the ones i've seen have been not as good.
← PreviousPage 2 of 34Next →