HNHacker News
TopNewBestAskShowJobs

laserbeam

3,012 karma · joined March 24, 2016

submissionscomments
laserbeam··on GTFOBins
I am confused. Is this saying that if you don't have access to `cat`, instead of `cat /path/to/input-file` you can use `base64 /path/to/input-file | base64 --decode`?

Or is it saying that `base64 /path/to/input-file | base64 --decode` can bypass read file permission flags?

laserbeam··on Flipdiscs
Damn, I really wish there was a T in "Quick jazzy vibe flows from exploding pixels", 'cause the sentence is just cool!
laserbeam··on Firefox Has Integrated Brave's Adblock Engine
Ladybird is many years away from being usable by a casual human. The hope is it turns out to be a great browser eventually.
laserbeam··on Pretty Fish: A better mermaid diagram editor
The first thing I tried to do is resize that rectangle in the default diagram... and the resize handles do not affect the height, only the width. What is this "better" than?
laserbeam··on Optimal Strategy for Connect 4
1. The video is amazing. It does deserve a shoutout.

2. I actually prefer when HN links to articles rather than videos. I kind of expect interesting reads, not watches when I open this forum.

laserbeam··on Show HN: Tusk for macOS and Gnome
If that's so, it's really poorly communicated. I strongly recommend full sentences for that.
laserbeam··on Audio tapes reveal mass rule-breaking in Milgram's obedience experiments
> It points out that the compliant subjects who delivered the shocks weren't always following the procedure they were given perfectly. Which is, of course, expected, since people in general don't follow instructions 100% perfectly all the time

The article quantifies the amount of rulebreaking. The article actually compares rule breaking across participants and notes that those who were better at obeying the instructions of the experiment are the ones who refused to continue till the end.

The article doesn't invalidate the milgrim experiments. It claims that the interpretation from traditional literature is possibly wrong.

laserbeam··on Why I love NixOS
That’s my feeling when reading nixos forums. People are willing to help but don’t realize how little newbies know about nix when asking for help. The first month of nixos was a massive uphill climb for me, and that knowledge doesn’t stick well because I get to interact with nix every few months to tweak things, not weekly or daily.

It’s a solid os, and I’m enjoying it, and I love that I can’t break things while tweaking. But the docs are and discussion threads are not written for beginners (it’s really hard to write for beginners).

laserbeam··on Why I love NixOS
Can you share some good examples of how you use nix shells with python for one off scripts? I am still figuring out how python interacts with nixos :(
laserbeam··on Stop Sloppypasta
This website needs to be simpler, snappier and polite on the homepage. I should be able to send it as a quick reply to anyone doing the deed. Just like nohello.net
laserbeam··on How the Sriracha guys screwed over their supplier
To be fair, if I had a company and won a lawsuit like that... a lawsuit which makes for a good underdog story, I'd let my PR team use it as much as they desire! That lawsuit is a golden asset for them now.
laserbeam··on “Microslop” filtered in the official Microsoft Copilot Discord server
It needs a Discord Server because MS Teams is just that good X_X
laserbeam··on I built a demo of what AI chat will look like when it's “free” and ad-supported
I would honestly expect AI ads to be invisible, and for them to just be injected by the provider as part of the prompt. For example, you ask for something about firefox, but the AI tells you that firefox has a nasty ugly way to solve your problem and it would be easier to install chrome.
laserbeam··on Making Wolfram tech available as a foundation tool for LLM systems
> against the spirit of science to keep them from the general public

Within science, participants have always published descriptions of methodology and results for review and replication. Within the same science, participants have never made access to laboratories free for everyone. You get blueprints for how to build a lab and what to do in it, you don't get the building.

Same for computation. I'm fairly sure almost all (if not all) algorithms in these suites are documented somewhere and you can implement them if you want. No one is restricting you from the knowledge. You just don't get the implementation for free.

laserbeam··on Ladybird adopts Rust, with help from AI
Ladybird has a strong "all dependencies built in house" philosophy. Their argument is they want an alternative implementation to whatever is used by other browsers. I'd argue they would never use a third party library like servo as a principle.
laserbeam··on Defer available in gcc and clang
Defer is not spooky action at a distance. It is an explicit statement that gets executed as written. Unlike (for example, a familiar feature which C doesn’t have) operator overloading… which causes code that looks like one thing (adition for example) behave like another (a function call). Defer does exactly what it says on the tin can (“move this line to the end of the scope”), just like goto does exactly what it claims to do.

Macros (in general) are way spookier than a defer statement.

laserbeam··on Defer available in gcc and clang
I would say the complexity of implementing defer yourself is a bit annoying for C. However defer itself, as a language feature in a C standard is pretty reasonable. It’s a very straightforward concept and fits well within the scope of C, just as it fit within the scope of zig. As long as it’s the zig defer, not the golang one…

I would not introduce zig’s errdeferr though. That one would need additional semantics changes in C to express errors.

laserbeam··on Windows Notepad App Remote Code Execution Vulnerability
The problem is notepad itself would download and execute bad stuff if you click the evil link. If you would paste that same link in a browser you'd be ok.

And the problem is a notepad app is expected to be dead simple, have few features, and be hard to get wrong while implementing.

laserbeam··on UK House of Lords Votes to Extend Age Verification to VPNs
Can we somehow get age verification without IDs? Age verification itself is OK as an idea. I’m happy to show ID to buy alcohol at the store… but the store clerk doesn’t take a photo of that ID and store it in logs somewhere forever.

Can we please get a law where kids won’t just take their parents’ IDs and upload them to random places?

laserbeam··on cURL removes bug bounties
For weak bank logins, my guess is that reimbursing all account takeovers is cheaper than having a complex login process that would scare away non-technical customers. Or, well, I could see myself making that decision if I were more versed in finance than in computer science and I had a reasonable risk assessment in front of me to tell me how many account takeovers happen.
laserbeam··on I set all 376 Vim options and I'm still a fool
I found that moving between empty lines is the nicest way to navigate most code across all programming languages, markup languages and just regular text. I don’t have to think, I don’t have to count, I just move and select text big chunks at a time… (not in vim, but I first saw someone have key bindings for this in vim)
laserbeam··on Microsoft please get your tab to autocomplete shit together
The insane behavior in the post is not that you get fancy completions, but that the completion does not match the preview. If the computer starts doing A when you asked it B, it is equivalent to a trash can.
laserbeam··on Snitch – A friendlier ss/netstat
> I know picking the right defaults is hard

I think we understand that UX problem much better now than developers did back in the 70s. In general, not just for ss/lsof

laserbeam··on Pricing Changes for GitHub Actions
How will this hit OSS projects which rely heavily on github actions? I’m thinking of projects like nixpkgs, which is the backbone of nixos and always has dozens of actions queued or running. (I am using nix as an example for scale, but I am not involved in the project and my description might be inaccurate. I’m also not familiar with nix’s financials at all.)
laserbeam··on Poor Johnny still won't encrypt
Ask yourself. If you want things to be encrypted by default in the world, would a florist be able to self host nextcloud?
laserbeam··on Poor Johnny still won't encrypt
I know you are not being facetious. My problem is random Joe on the street sees it as a bug. He really does care more about actually being able to talk with his wife than Signal’s mathematically correct principles. He needs it to be reliable first, secure second.
laserbeam··on Poor Johnny still won't encrypt
Unfortunately, those are 2 different problems. It’s easy to have servers store encryption keys to make https work. You only need to encrypt trafic between you and a server for 5 seconds at a time.

It’s hard for personal communications. The server shouldn’t know the keys, and they need to survive for decades.

laserbeam··on Poor Johnny still won't encrypt
Someone needs to design a super dumb and robust system where I can safely store all my keys on all devices I use an account. The fact that whatsapp, signal and other platforms tend to have a primary device for keys is bonkers to me. A primary device that can randomly die, get stolen or fall in a lake.

I have lost chat histories more times than I can remember, and I have to be extra diligent about this these days.

I don’t even want to think about pgp when I have to manually take care of this problem. Not because of my own skills, but because I could never make it reliable for my family and friends on their side.

laserbeam··on Anthropic acquires Bun
I admit, it is a good acquisition announcement. I can’t remember the last acquisition announcement that was kept for more than 1-2 years. Leadership changes, priorities shift…
laserbeam··on GitLab discovers widespread NPM supply chain attack
As I understand it, this attack works because the worm looks for improperly stored secrets/keys/credentials. Once it find them it publishes malicious versions of those packages. It hits NPM because it’s an easy target… but I could easily imagine it hitting pip or the repo of some other popular language.

In principle, what’s stopping the technique from targeting macos CI runners which improperly store keys used for Notorization signing? Or… is it impossible to automate a publishing step for macos? Does that always require a human to do a manual thing from their account to get a project published?

← PreviousPage 2 of 18Next →