Readit News logoReadit News
nbevans commented on LeetCode for System Design   leetsys.dev... · Posted by u/rbajp
rbajp · 2 months ago
Sorry! Can work on adding basic auth
nbevans · 2 months ago
Are you aware that other OAuth providers exist and that there is no reason to tie yourself directly to Google's provider?
nbevans commented on ARIA, the UK's Bet to Build Scientific Revolutions   asimov.press/p/aria... · Posted by u/almost-exactly
avoutos · 2 months ago
idk to what extent the claim is true, but off the top of my head Britain's GCHQ discovered public key cryptography but for some reason kept it under wraps and made no use of it after WWII. It was only found out years after it was rediscovered by American researchers.
nbevans · 2 months ago
Have a read about the "Tube Alloys" project, too. Precursor and seed for the Manhattan Project.
nbevans commented on The Barbican   arslan.io/2025/05/12/barb... · Posted by u/farslan
frereubu · 4 months ago
The apartments are lovely, but the service charges are eye-watering, ranging from around £6,000 per year for a two-bedroom, to £14,400 for the more expensive ones:

https://themodernhouse.com/sales-list/thomas-more-house-ii

https://themodernhouse.com/sales-list/Lauderdale-Tower-II

https://themodernhouse.com/sales-list/willoughby-house

https://themodernhouse.com/sales-list/ben-jonson-house-iii

And all are sold on that weird UK feudal relic, leaseholds, so you're just buying for a certain number of years - a couple of the ones above only have ~80 years remaining.

nbevans · 4 months ago
6k is pretty typical for any premium apartments in London. That's actually pretty cheap for that location.
nbevans commented on Firebase Studio   firebase.studio... · Posted by u/sumitkumar
windowshopping · 5 months ago
I built a complete working application (errortexts.com) using an AI tool, so I have a little insight on this.

At first, the product I was using (lovable.dev) seemed to me exactly as you described. I gave it a basic app outline and hit run, and it produced something that superficially looked right but did nothing.

So I asked some other people for advice, and they said you have to hold its hand and go step by step. So I did.

I told it, give me a landing page that matches [product description], but implement nothing else. Then, ok, let's set up auth - add a sign in and sign up dialog. Then, ok, let's create a user account page. Bit by bit.

It succeeded wildly. I was able to build the whole thing in 3 days. I'm not capable of that on my own, it would have taken me 3 weeks. Sometimes the AI got stuck and I had to manually go in and accomplish what I wanted. It took over 100 steps to complete the product, and probably around 10-20 times I had to revert its changes and give it more specific instructions. I had to check its work at every iteration, just like with a junior developer.

But it worked. And it's going to get better. Would I use this for "something important"? Depends how you define that. I used it to build a working product. Would I start letting it modify an existing mature codebase willy-nilly? No, probably not. Would I let it write cryptographic logic or trust that it wrote bulletproof code from a security standpoint in a sensitive context? No.

But for a simple application, it was an incredibly powerful tool. Especially for something that didn't even exist just 2 years ago. Give this a decade and it's going to change all our careers even more than it already has.

nbevans · 5 months ago
I love the Java code sample:

```

// It works, but we have no idea how to send an HTTP request in java.

// If you do, send us a nice example to support@errortexts.com.

// You just need to POST JSON with the keys `api_key` and optionally `message`.

```

That's brilliant. But it does make me wonder why the LLM couldn't have provided you a suitable Java code example?

nbevans commented on You're protecting your data wrong – Introducing the Protected Query Pattern   kilpi.vercel.app/blog/202... · Posted by u/jussinevavuori
nbevans · 5 months ago
``everything is a function`` <- ``everything is a function`` + 1
nbevans commented on China reduced sulphur dioxide emissions by more than two-thirds in past 15 years   ourworldindata.org/data-i... · Posted by u/therabbithole
sebtron · 8 months ago
I visited China in 2014 and I have literally wondered out loud this morning whether air pollution has improved since then. I am gald to hear the answer is yes!
nbevans · 8 months ago
I've been visiting China every 1 to 3 years since 2014 and definitely in the last 4 years, on multiple visits, I've noticed that pollution is visibly lower. You can actually see the blue of the sky on most days. Everyone has noticed it. It's a massive change.
nbevans commented on In Search of a Faster SQLite   avi.im/blag/2024/faster-s... · Posted by u/avinassh
0xDEAFBEAD · 9 months ago
Does sqlite cache pages in memory?

If not, how can it be faster?

Is it the IPC overhead of Postgres?

nbevans · 9 months ago
Yes it caches pages in memory. The cache size is configurable via a PRAGMA.

Postgres / MSSQL / all RDBMS is slow because of network I/O.

nbevans commented on SQLiteStudio: Create, edit, browse SQLite databases   sqlitestudio.pl/... · Posted by u/thunderbong
nbevans · 9 months ago
I've been using this tool pretty much every day for almost a decade. It has a few quirks but it is still the best desktop tool for interacting with SQLite databases.

Dead Comment

Dead Comment

u/nbevans

KarmaCake day565August 2, 2012View Original