News for hackers. Stuff that matters.

furstenheim

Re:Creating SVGs with AI on Thursday June 25, 2026 @01:18PM (#48676514)
The tasks that AI cannot do are vanishingly few. Yet, they are still incapable of generating a decent SVG. But there's a workaround
Re:We shouldn't have needed lockfiles on Wednesday August 06, 2025 @03:28PM (#44816538)
> But if you want an existence proof: Maven. The Java library ecosystem has been going strong for 20 years, and during that time not once have we needed a lockfile. And we are pulling hundreds of libraries just to log two lines of text, so it is actively used at scale.

Maven and Java is simply broken when dealing with transitive dependencies.

I've been hit so many times with running time exception "MethodNotFound" cause two libraries have the same transitive dependency and one version gets picked over the other one.

Re:Show HN: I made an online Unicode Cuneiform digital clock on Wednesday June 18, 2025 @06:34AM (#44308576)
Sumertime! Great naming choice!!
Re:Don't Bother with Vibe Coding on Wednesday April 02, 2025 @11:29AM (#43557793)
It ends up with AIs chatting between them over the phone in like 1 year top
Re:Show HN: Nue โ€“ Apps lighter than a React button on Tuesday April 01, 2025 @04:14AM (#43544120)
Not the discussion, but SPAs are fundamentally safer against XSS, in the sense that data and code have different paths.
Re:Hidden Messages in Emojis and Hacking the US Treasury on Tuesday March 18, 2025 @02:43AM (#43396390)
100%.

Btw, even using psql directly allows binding parameters https://www.postgresql.org/docs/current/app-psql.html

I find it useful to find esoteric APIs, like reflection, which normally has 100 methods and hard to find the right one
ACID is good and it has an implementation cost (vacuum for example). When doing analytics you do not care for ACID
Re:An ode to TypeScript enums on Sunday March 02, 2025 @02:17PM (#43233916)
Lack of LSP support looks really bad in the article proposed solution :/.

But const enum seems to have several pitfalls. https://www.typescriptlang.org/docs/handbook/enums.html

Re:Time Warp: Delayed-choice quantum erasure on Thursday February 27, 2025 @10:10AM (#43195053)
It "can" be done. Some photons leaving the earth a thousand years ago. Bouncing off a mirror in some distant planet and allowing us to see two thousand years into the past
Yeah, I want a phone like that. There's definitely a market
Re:My Favorite Algorithm: Linear Time Median Finding on Thursday July 25, 2024 @06:20AM (#41066860)
Floyd Ryvest also does the job . A bit more efficient IIRC.

However I never managed to understand how it works.

https://en.m.wikipedia.org/wiki/Floyd%E2%80%93Rivest_algorit...

Re:Don't try to sanitize input. Escape output. (2020) on Sunday July 14, 2024 @03:49AM (#40959502)
Wasn't there this case of a security issue coming from abusing different parsers, in different places? Server, client, or different browsers
Re:Don't try to sanitize input. Escape output. (2020) on Sunday July 14, 2024 @03:37AM (#40959452)
There's another one that works 100% of the time.

Do client server rendering. Send HTML, then query backend for content. Something like p.textContent = ... It's safe.

It's pretty much the same as what a prepared statement does in SQL, send data and code in different channels

Curious, does that affect the complexity of string concatenation? As far as I remember V8 "uses" ropes, so string concatenation was linear. Not O(n) like java. Which saves a lot of headaches
100%, maybe intelligence is not as mysterious and extraordinary as we thought
Re:CEOs could easily be replaced with AI, experts argue on Monday June 03, 2024 @01:00AM (#40559481)
that could be replaced with an AI...
Re:Fear makes you a worse programmer on Monday April 08, 2024 @05:49PM (#39974085)
Take a look at hexagon pattern from Spotify. Once you start testing the user contract of your services against real databases (testcontainners is a good option), then you can change all the internals and be sure that the externals will work.

https://engineering.atspotify.com/2018/01/testing-of-microse...

I actually wondered how many packages they harassed until they got access to one such
So annoying, it detects where I'm connecting from and redirects changing the language
Re:The Costs of Microservices on Monday October 30, 2023 @12:04PM (#38071318)
This node got it just right. You only get this issue for big stateful libraries, like frameworks
Re:Proteomic Analysis of Vlad III the Impaler's Documents on Sunday October 22, 2023 @12:13PM (#37976645)
> has been exponentially increasing since the beginning of the new millennium

A part of me suffers everytime someone uses that expression

Re:People going 'monk mode' to limit social media use on Monday October 02, 2023 @06:29AM (#37736331)
What works best for me. Leaving phone at home when I meet people. It's not always possible, obviously, but if I know the address, I might take a db phone for emergencies. Or even, just a paper with the phone number.
Re:Young people are flocking to astrology on Monday July 24, 2023 @04:05AM (#36844446)
I blatantly lie. Then when they tell me what I should like, tell them it was a lie and say a different one, also fake.
Re:How to Make Cheese at Home on Sunday July 23, 2023 @04:59AM (#36833678)
And not vegetation either

Older ยป