News for hackers. Stuff that matters.

samanator

Re:Ask HN: What Are You Working On? (June 2025) on Monday June 30, 2025 @02:03AM (#44419927)
Excel formula to postgres SQL compiler. Reminiscent of Salesforce formulas.

Demo uses postgres compiled for WASM so demo runs on an actual postgres db.

https://skamensky.github.io/postgres-formula-compiler/

Yummy
Interesting. The same thing happened to me. Was offered a refund (graciously, as I had forgotten to cancel the subscription). And after thanking them and agreeing to the refund, was promptly ignored!

Very strange behavior honestly.

Re:Postgres for everything (e/Postgres) on Saturday December 07, 2024 @07:30AM (#42349357)
Cool to see you here!

We discussed this very thing on supabase

https://github.com/orgs/supabase/discussions/18061#discussio...

Re:Heroku CEO Bob Wise Departs on Friday November 15, 2024 @02:59AM (#42144789)
Re:YouTube in Android introduces UI bugs on Tuesday November 12, 2024 @02:16PM (#42118635)
The two top comments since the November 7th updatee have thousands of upvotes because of affected users. Comments:

ThSAWistheLAW WC (11/7/24) "I like this app but it is not functioning correctly at the moment. If your video that you're viewing must be interrupted by a message notification or if you simply turn your phone right side up to read the messages or comments the video will stop playing and it will not start no matter how many times you hit the play button. Other than that it's a fine app."

---

michael. jacqui (11/8/24) "New update is awful. It no longer saves where you left off on a video. If you swipe down and leave the video going to search for a new one it automatically paused the video. When you go back to play the video it cannot play unless you select a new video and then have to reselect the video you want to watch to get it to play. The app is horrible and extremely frustrating."

Re:YouTube in Android introduces UI bugs on Tuesday November 12, 2024 @09:13AM (#42115624)
I thought it was only me, but when I went to update the app I saw that the most recent reviews all describe serious UI bugs and have thousands of likes.
Good luck! Given your track record, I'm sure you'll do great things with the funds .
Re:What's inside the QR code menu at this cafe? on Monday September 23, 2024 @07:17AM (#41624814)
Thanks, apparently the article was taken down...
Re:Learning to Reason with LLMs on Thursday September 12, 2024 @05:24PM (#41525745)
I just tested o1-preview on the "How many r's are in strawberry?" question. It answers correctly!
Re:Soft Deletes with Ecto and PostgreSQL on Saturday August 17, 2024 @10:31AM (#41274869)
Yes it can be done with rules, inheritance, triggers, and updatable views.

See my answer on stack overflow

https://stackoverflow.com/a/78694335/4188138

However, in my experience, it's more easily maintainable to use normal deletes, have a trigger to move it to a schemaless table (jsonb column type that contains all of the data at the time of delete), and have manual restore logic via a good UX.

You can't use cancellation or heavenly bodies:

"He is far away, or in some strange location, and he cannot see anything we can see. For instance, we cannot say, “Look at Ursa major; now see how those stars are arranged. What we mean by ‘right’ is …” We are only allowed to telephone him."

Re:JavaScript garbage collection and closures on Tuesday July 30, 2024 @01:02PM (#41111448)
I wonder how many petabytes of leaked memory there is in the world at any given time from open chrome tabs
Re: on Thursday June 27, 2024 @02:16AM (#40807804)
The server got the HN hug of death
Re:Twenty, a modern CRM alternative to Salesforce on Thursday June 13, 2024 @06:31AM (#40667927)
Mind share isn't necessarily an issue when you build a platform based on standard tools (e.g JavaScript, graphql, etc.).

In my experience those limitations are not just nuisances,they are expensive. They require a lot of custom work and and less reliable since you're leaving what's well known and supported. For example, many companies hit the "100 active concurrently scheduled jobs" limit very quickly. Then they need their own scheduler, or deal with the consequences of stale data.

Those limitations are not just nuisances, they change real business workflows.

Yes, there are definitely good business justifications for choosing Salesforce, but I definitely think there is real business value to be found in improved CRM systems.

Re:Twenty, a modern CRM alternative to Salesforce on Wednesday June 12, 2024 @01:40PM (#40660818)
Salesforce is slow (the lwc frontend I mean), and has legacy (aka governer) limits. E.g. you can't have synchronous code run for more than 10 seconds, you can't update more than 200 records in a standard transaction, the query language has only very basic joins, and much more.

If you can build a crm without these limitations, why not get your 80% without the limits?

Re:Twenty, a modern CRM alternative to Salesforce on Wednesday June 12, 2024 @01:37PM (#40660790)
Very cool and promising.

Currently the biggest blocker, even for simple use cases that don't have to add automation (there is no clear way to add customized automation), is the lack of permissions. Everyone has the same access to all the data!

User permissions: https://github.com/twentyhq/twenty/discussions/209

As mentioned by Andreas, it's because SerenityOS does not depend on third party libraries and part of the new ethos of Ladybird is to decrease "not invented here" syndrome.

https://news.ycombinator.com/item?id=40561408

Re:PEP 701 – Syntactic formalization of f-strings on Tuesday February 13, 2024 @08:16AM (#39357300)
Yay! Newlines in f-strings!
Re:Show HN: Inbox Zero – open-source email assistant on Saturday December 30, 2023 @08:33AM (#38815134)
python, but if other people would like to use it, I'd rewrite it in go for the sake of easy distribution.
Re:Show HN: Inbox Zero – open-source email assistant on Saturday December 30, 2023 @06:23AM (#38814385)
I haven't published anything. If you're interested I could clean it up and send it to you. Let me know. My email is in my profile.
Re:Show HN: Inbox Zero – open-source email assistant on Saturday December 30, 2023 @02:36AM (#38813453)
I've written a locally running app that is a lightweight version of this. You can download all your emails, it loads it into sqlite, and you can browse and sort by aggregate email counts (how many emails each sender sent). Once you select a sender, you can archive all of the emails it sent you.

I'd have loved to have made it a full fleshed app like this. Kudos!

Re:Starship will attempt a launch this weekend on Tuesday November 14, 2023 @03:10AM (#38260432)
Apparently a misattribution.

According to this

https://klangable.com/blog/quantity-has-a-quality-all-its-ow...

It was not Stalin who said that

Older »