HackerTrans
TopNewTrendsCommentsPastAskShowJobs

furstenheim

262 karmajoined 7 वर्ष पहले
https://github.com/furstenheim

https://twitter.com/furstenheim

Submissions

Show HN: Pg-jason-validator fastest JSON schema validation via C Macros

github.com
3 points·by furstenheim·11 घंटे पहले·0 comments

Pelican playing a violin. How to create SVGs with AI

furstenheim.substack.com
2 points·by furstenheim·16 दिन पहले·0 comments

Creating SVGs with AI

furstenheim.substack.com
2 points·by furstenheim·19 दिन पहले·1 comments

My Fears about AI

medium.com
1 points·by furstenheim·पिछला वर्ष·0 comments

Making rat skin transparent with safe chemical

francis.naukas.com
1 points·by furstenheim·2 वर्ष पहले·0 comments

comments

furstenheim
·19 दिन पहले·discuss
The tasks that AI cannot do are vanishingly few. Yet, they are still incapable of generating a decent SVG. But there's a workaround
furstenheim
·11 माह पहले·discuss
> 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.
furstenheim
·पिछला वर्ष·discuss
Sumertime! Great naming choice!!
furstenheim
·पिछला वर्ष·discuss
It ends up with AIs chatting between them over the phone in like 1 year top
furstenheim
·पिछला वर्ष·discuss
Not the discussion, but SPAs are fundamentally safer against XSS, in the sense that data and code have different paths.
furstenheim
·पिछला वर्ष·discuss
100%.

Btw, even using psql directly allows binding parameters https://www.postgresql.org/docs/current/app-psql.html
furstenheim
·पिछला वर्ष·discuss
I find it useful to find esoteric APIs, like reflection, which normally has 100 methods and hard to find the right one
furstenheim
·पिछला वर्ष·discuss
ACID is good and it has an implementation cost (vacuum for example). When doing analytics you do not care for ACID
furstenheim
·पिछला वर्ष·discuss
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
furstenheim
·पिछला वर्ष·discuss
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
furstenheim
·पिछला वर्ष·discuss
Yeah, I want a phone like that. There's definitely a market
furstenheim
·2 वर्ष पहले·discuss
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...
furstenheim
·2 वर्ष पहले·discuss
Wasn't there this case of a security issue coming from abusing different parsers, in different places? Server, client, or different browsers
furstenheim
·2 वर्ष पहले·discuss
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
furstenheim
·2 वर्ष पहले·discuss
Curious, does that affect the complexity of string concatenation? As far as I remember V8 "uses" ropes, so string concatenation was constant time. Not O(n) like java. Which saves a lot of headaches
furstenheim
·2 वर्ष पहले·discuss
100%, maybe intelligence is not as mysterious and extraordinary as we thought
furstenheim
·2 वर्ष पहले·discuss
that could be replaced with an AI...
furstenheim
·2 वर्ष पहले·discuss
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...
furstenheim
·2 वर्ष पहले·discuss
I actually wondered how many packages they harassed until they got access to one such
furstenheim
·2 वर्ष पहले·discuss
So annoying, it detects where I'm connecting from and redirects changing the language