HNHacker News
TopNewBestAskShowJobs

frodowtf

190 karma · joined January 10, 2023

submissionscomments
frodowtf··on Cuba slashes size of daily bread ration as ingredients run thin
Fascinating how Cuba is still standing in spite of all embargoes.
frodowtf··on The design philosophy of Great Tables
... the obligatory "historical context" nobody asked for.
frodowtf··on Representing State as Interfaces in Go
If you want to use this pattern, you'll probably end up with a lot of duplicated code e.g. for SQL query builders. I could imagine that Rust makes this kind of pattern easier due to traits and macros. A lot of languages do not have these features.

And then of course Rust people care about correctness more in general.

frodowtf··on How (and why) to run SQLite in production
It also seems to have the same concurrency issues as described in the article. At least from my experience the "database is locked" error appears quite often.
frodowtf··on Designing a Pure Python Web Framework
Usually, I go with openapi-generator and pick the typescript-fetch template. You can use that with whatever js-based frontend framework you want.
frodowtf··on Designing a Pure Python Web Framework
> writing a lot of boilerplate code to connect the frontend and backend.

OpenAPI. django-ninja supports it out of the box.

frodowtf··on Home Screen Advantage
> ... very low user adoption of Home Screen web apps.

Well, if nobody wants to play with our total clusterfuck of inconsistent APIs, we might as well drop support for them >:(

frodowtf··on Objective-S
so why is nobody implementing stuff in smalltalk?
frodowtf··on Tesla Has a Design Problem
Well, that comment is definitely "masculine"
frodowtf··on Why Bitcoin is up by almost 150% this year
As long as casinos are a thing, Bitcoin stays a thing.
frodowtf··on Effect Cases in Switch
Well, I don't.
frodowtf··on OCaml: a Rust developer's first impressions
`panic` has nothing to do with error handling though. If you use it, you know that your callers cannot recover from it.

Throwing an exception implicitly delegates error handling back to the caller, but they are not even notified about it. (talking about OCaml)

frodowtf··on OCaml: a Rust developer's first impressions
People say that OCaml is like Rust, but unlike Rust, OCaml has Exceptions that could appear everywhere. How is that safe?
frodowtf··on Developers Guide to Moving to Denmark
> food is painfully bland

You mean like... not invested with tons of sugar? What kind of bland are we talking about?

frodowtf··on Write PHP Code Within Next.js Components
It's time to stop.
frodowtf··on I Hate NestJS
Kysely looks like the thing most people would want. It's not a full ORM though - just a well-typed query builder.

https://kysely.dev/

frodowtf··on Rust is not the language for you if you don't like traits
Pretty sure the maintainer is also a Discord mod.
frodowtf··on Nue.js: Rethinking Reactivity
DRY is by far the most overrated software engineering principle and constantly pushing for it only leads more developers down the way of creating wrong, irreversible abstractions.
frodowtf··on Python 3.12
"Can't" as in "don't want to"
frodowtf··on UI frameworks are stuck in the last decade
Sir, watch out! Your monocle is about to drop into the scotch!
frodowtf··on The Matching Problem in Dating
Date guys. Problem solved.
frodowtf··on GitHub Actions could be so much better
I don't get why GitHub doesn't adopt it and make it a standard. Especially the lack of caches is annoying.
frodowtf··on Svelte 5: Runes
Funny, I also thought of Vue immediately.
frodowtf··on Seeking help to preserve WWII database on Windows 98
Can we agree on not posting anything directly from twitter? It's absolutely useless without an account.
frodowtf··on Linear code is more readable
Or you use the correct types and avoid these "problems" alltogether.

It's not possible to bake in a cold oven. Why does your type allow it then? Why don't you encode the state directly?

  oven := ColdOven.heat()
  bakedPizza := oven.bake(pizza)
frodowtf··on Show HN: I built a Python web framework
As a 13 year old, I can confirm that we always mention our age before anyone asks.
frodowtf··on Mojo is available for local download
> ... it's not intuitive how deep I am within nested scopes

The ONLY piece of information that is available to you regardless of how deep you are into a function is INDENTATION. Your curly braces won't help you.

Besides that, you should seriously reconsider your coding style if this is an actual problem for you.

frodowtf··on Bram Moolenaar's programming language, Zimbu
Indentation provides visual structure. Matching braces hardly add value to it.
frodowtf··on Twitter/X has removed all media posted before 2014
It will always stay "Twitter" simply because you cannot use a search engine with "X"
frodowtf··on When did Postgres become cool?
why?
Page 1 of 4Next →