News for hackers. Stuff that matters.

zikero

Re:Do Not Put Your Site Behind Cloudflare If You Don't Need To on Tuesday November 18, 2025 @09:26AM (#45966481)
If we're talking about putting static assets (like basic websites) on their CDN, or moving your backend to Workers, (etc...) you are by definition moving _away_ from single point-of-failure.

> Maybe that's the core of this message. Face your fears. Put your service on the internet. Maybe it goes down, but at least not by yet another Cloudflare outage.

Well I'd rather have my website going down (along with half the internet) be the concern of a billion dollar corporation with thousands of engineers - than mine.

Re:Play snake in the URL address bar on Sunday September 28, 2025 @05:57PM (#45408457)
this is the most cursed thing i've seen
Re:Show HN: The text disappears when you screenshot it on Wednesday September 17, 2025 @11:51PM (#45285148)
Another idea I had with this concept is to make an LLM-proof captcha. Maybe humans can detect the characters in the 'motion' itself, which could be unique to us?

- The captcha would be generated like this on a headless browser, and recorded as a video, which is then served to the user.

- We can make the background also move in random directions, to prevent just detecting which pixels are changing and drawing an outline.

- I tried also having the text itself move (bounce like the DVD logo). Somehow makes it even more readable.

I definitely know nothing about how LLMs interpret video, or optics, so please let me know if this is dumb.

Re:Show HN: Startup funding simulator on Wednesday January 24, 2024 @02:20PM (#39121507)
working on this one! thanks
Re:Show HN: Startup funding simulator on Wednesday January 24, 2024 @01:45PM (#39121095)
wanted to make any simulation shareable by copying the url. but you're right, there has to be a better way ...
Re:Show HN: Startup funding simulator on Wednesday January 24, 2024 @01:42PM (#39121054)
pre-tax though
Re:Show HN: Startup funding simulator on Wednesday January 24, 2024 @01:41PM (#39121047)
thanks for the suggestion! we had the same thing happen as well. although it's not very standard I think in the case of safes. a dirty way now would be to do "Resere/give options" before the safe.

Show HN: Startup funding simulator

https://www.fundingsimulator.com/

Hi HNWe built a tool to help founders understand how modern fundraising (with safes) works, and how much dilution you can expect when raising money.The project is open-source. The code is a mess right now, but it'll get better I promise. You can also help with that.We didn't build this to make money. We genuinely did it because we were looking for it, and couldn't find it.We're in fact in the...

( Read More... | 161 comments | 230 points | on HN )
Re:Hoppscotch Desktop Application on Thursday November 09, 2023 @06:40AM (#38203783)
Built with Tauri. No electron app is a 16.5MB download.

(I have no affiliation, just a fan)

Show HN: Dark Mode Anything

Hi all,I made a script you can save as a bookmark, that will allow you to toggle on/off dark mode on any website.It doesn't always work flawlessly, but 90% of the time it works everytime. I think it works great on HN.The script:javascript:(()=>{const i="__dmcss__",s=document.querySelector("#"+i);s?s.remove():document.head.innerHTML += "<style...

( Read More... | no comments | on HN )
Re:I made nodb, a RESTFful API to store and fetch JSON on Saturday May 27, 2023 @08:03AM (#36094012)
Something similar I'm working on: daba.so

Show HN: Daba – Turn your JSON into a database

https://www.daba.so

Hi all, I built this tool when I needed a simple LocalStorage-esque database for a client project, and figured others might want something similar.Basically turns your JSON into a query-able, hosted database in seconds. You can read/update/delete JSON files by path, just like you would in Javascript. So, something like get(”users[7].address”)And while we’re at it, I also built a simple file...

( Read More... | 8 comments | 4 points | on HN )
Re:Ask HN: I’m falling out of love with coding on Monday February 06, 2023 @09:37AM (#34677826)
No viable alternative to JS/TS for web (client side) unfortunately.

Ask HN: I’m falling out of love with coding

I spoke to a lot of software engineers around me and the feeling seems common.I remember the days I started coding, and how much I enjoyed that. I was able to create things with just the power of my thoughts, and it felt like a superpower.Nowadays, I feel like I have to jump so many hoops and spend so much mental bandwidth just to get the permission to code. It would be fair to say that on avg...

( Read More... | 292 comments | 41 points | on HN )

Show HN: HN dark mode in 2 lines of code

Paste this in the developer tools console of your browserdocument.documentElement.style.filter = "invert()"document.documentElement.style.background = '#fff'Edit: you can also create a bookmark with the code below in the URL fieldjavascript: (() => { document.documentElement.style.filter = "invert()";document.documentElement.style.background = '#fff' })();Then just click on the bookmark for...

( Read More... | 10 comments | 31 points | on HN )
> * Get more energy out of fusion fuel that it took you to make the energy you put into it

What does that mean if the cost of energy is 0 ? (e.g renewables)

Re:I cheated on my Microsoft interview (2019) on Sunday June 05, 2022 @04:50AM (#31629157)
Arrest this man! How dare you practice for an interview? /s

Granted some people practice 100+ questions, you practiced only 1, and it was the right one. Same same.

Lucky indeed, but I wouldn't attribute your success to luck. You were clearly a good enough engineer to receive 2 offers, and good enough to build a career there.

We all have multiple encounters with low-probability scenarios in life. If you have a 10% chance of succeeding at something, and you have 50 attempts, and you only need one success, then your actual chance of succeeding is 99.5% rather than 10% - almost inevitable.

On what grounds are you claiming Morocco is less politically stable?
Nice stuff!

I found an error in the chinese demo, with the example you provided (4th character wasn't the same). I know no OCR is perfect, but IMHO at least your own demo should be free of errors.