News for hackers. Stuff that matters.

philihp

Re:ΠFS on Wednesday June 10, 2026 @06:14PM (#48483462)
See also: Recursion
Can we settle for Factorio and 2028?
Re:ICE Is Using Fake Cell Towers to Spy on People's Phones on Wednesday September 10, 2025 @05:10AM (#45195155)
Possible, yes, but pretty damming to Microsoft's reputation if proof that their infrastructure has been compromised and anyone realizes it's happening. This sort of thing killed Sourceforge when they started shipping adware bundled into installers of the programs they distributed.
Re:The 'Unthinkable' New Reality About Bedbugs on Saturday February 10, 2024 @01:54PM (#39329117)
Not much can stop a lone bedbug carried in. What you're trying to do is prevent your mattress from becoming a nest.

The problem with DE is it's so inexpensive and effective, and that makes it difficult to sell as a product. I got a 2kg bag of it for $10, and it's enough to last decades.

Re:PostgreSQL is enough on Thursday February 08, 2024 @05:02AM (#39300214)
The way you've trivialized a database vendor swap makes me curious how often you do this.
Re:After 34 Years, Someone Beat Tetris [video] on Tuesday January 02, 2024 @08:47AM (#38841529)
Alexander wept
Re:Never Ship on Fridays on Sunday December 10, 2023 @12:15AM (#38589314)
When you control the devices to which you're deploying to, there is little reason why you wouldn't deploy as often as you can. It helps a great deal in isolating bugs to keep your changesets small, and you can either do that by slowing down the product iterations (and getting poor feedback from each), or releasing more often. This is ubiquitous with web development.

Weekly releases (or slower) is appropriate when you rely on users to update their software or firmware. Most mobile app development does this.

Re:Find Legal Moves in Brass Birmingham with Datalog on Tuesday November 21, 2023 @11:10AM (#38365552)
I implemented the rules of Ora et Labora. Every card's ability is some fun puzzle of enumerating all the legal ways to play it. Some are simple like "go here and you get an amount of sheep", others are "you can convert an amount peat to coal here" so if you have 5 coal, you can offer 0, 1, 2, 3, 4, or 5 peat as input. The more fun problems are like "convert 3 different resources into 6 of any one type of basic resource" or "convert four to bread for 0.5 energy each" and wood is worth 1 energy, peat 2, and coal 3 energy. Lots of fun combinatorics.

It's all open source and playable at https://ora.kennerspiel.com

Re:Unix Time reaches 1.7 billion today on Tuesday November 14, 2023 @06:48PM (#38271463)
I remember you remembering that when we celebrated 1500000000!
Re:GitHub Actions Are a Problem on Sunday November 12, 2023 @01:34PM (#38242845)
Running actions triggered from a non-main branch does it for me, either on pushes to the branch, or 'workflow_dispatch'. You'll otherwise never get that level of fidelity to what happens in production.

Keep the logic in your YAML "dumb". Avoid variables and subroutines in the file, if you want to DRY something, create your own custom action. You can have unit tests on an action, you can't have unit tests on a GHA workflow.

For a frontend developer who is younger than jQuery, starting a project following this advice would be a good opportunity to learn why we do the things we do like build steps, and remember how much development sucked before HMR.

I suspect the author hasn't actually done this on a project with more than one person, supporting 99% of browsers in the wild. I also suspect they didn't run their own code, because either my screen is not as tasty, or "onlick" is not an handler of div.

Re:Trek, a Classic Game for DOS on Saturday October 14, 2023 @09:18AM (#37880253)
I still have the music for egatrek in my head!
Sounds like you have a bigger problem if your browser isn't properly sandboxed.
Re:CancelQuora on Sunday October 08, 2023 @10:24AM (#37810719)
The design of Quora is awful. It's like Yahoo Answers, but instead of an inane unqualified answer, you get a dubious answer surrounded and camouflaged by answers to sponsored questions you didn't ask.
Re:Railway Time on Sunday October 08, 2023 @06:16AM (#37809247)
Imagine knowing this, and still using the imperial system
I'm hopeful as well, although pessimistic. The demographic of people who would pay money to escape advertising are also quite profitable if you can successfully target in your advertising campaigns.
Re:Valve releases Counter-Strike 2 on Thursday September 28, 2023 @12:47AM (#37685349)
"Nobody plays Halo on PlayStation"
Re:The Frustration Loop on Saturday September 23, 2023 @05:23AM (#37621759)
I've never understood the appeal of guestbooks and commenting on Wordpress. Static HTML is a wonderful medium for getting your message out, do we need the validation of visitors commenting?
An almond tax would probably balance it out.
Re:Pornhub blocks access to entire state of Virginia on Friday June 30, 2023 @05:10AM (#36532262)
There's a lot of irony in this.
Re:HBO Max new Captcha system on Tuesday May 30, 2023 @12:34AM (#36121170)
Healthcare could also do it. Ultimately you need people to be incentivized to both have an UID in the system, and also not want more than one.
Re:Why I Use Elm in 2023 on Tuesday May 23, 2023 @09:55AM (#36044340)
Obsession is somebody liking that which you find unnecessary.

There, I made it point-free. Isn't it much simpler?

Re:Suspicious iOS KeePass Client on Monday May 22, 2023 @01:54PM (#36034491)
Passwordstore (pass) databases are just a git repo which makes great audit trails, but also gives it syncing for free rather than reinventing the wheel.

It uses PGP rather than rolling its own encryption, which also makes it compatible with hardware tokens, for free.

It's not some complicated project... it's just a thousand or so line shell script.

Re:Nostr – Decentralized Social Network on Tuesday May 02, 2023 @05:29AM (#35785140)
Yeah pretty much. A lightning channel is a bit like putting money down as a retainer for a lawyer, or putting a deposit down in a hotel.

The real transaction happens at the beginning, and another transaction happens at the end when the channel closes and we settle out who gets the remainder.

Re:North Korea tests ‘breakthrough’ solid-fuel ICBM on Friday April 14, 2023 @12:38PM (#35571521)
It's pretty easy to advocate for another Vietnam/Afghanistan when you don't have any skin in the game, and you have the means to go out into the country and bury your head in the sand.
Re:Deepest fish ever caught on camera off Japan on Sunday April 02, 2023 @06:22AM (#35409052)
The scientists said they were sorry.
Re:Instagram Is Disabling Its NFT Features on Monday March 13, 2023 @11:05PM (#35146868)
Must be driving really fast.
Re:Our production servers were suspended by Google Cloud on Monday March 13, 2023 @10:20AM (#35136063)
AWS understands lifetime value of the user, not just the account. I've had mistakes ON MY PERSONAL ACCOUNT that were in no way connected to my work. Times when I was just experimenting. They refunded it in full. I've also heard from STUDENTS who may not ever get into infra work that they're still reasonable and lenient.

You would be absolute mad to use any other platform. AWS gets it right on the customer service front. Amazon, perhaps deeply less so... but AWS? amazing.

I volunteer as tribute.
Re:Ask HN: Which password manager is the most secure and why? on Sunday December 25, 2022 @01:21PM (#34129649)
Passwordstore is probably the most secure, being that it's a short (1500-line) shell script offloads the actual encryption to GPG and network sync to git. There's just not a lot of surface area to attack there... and it also works for teams.

Older »