Viewing profile — thewix
thewix
HN member- Joined
- Tue, Jul 11, 2023, 9:56 PM UTC
- HN karma
- 24
- Public activity
- 18 items
- HN profile
- View on Hacker News ↗
About thewix
No profile information was provided.
Recent public activity
-
comment
Comment #37725375
That's the point. They are by far the largest player in the game, and can ( and do) use their size to squash competition. You don't have to use their marketplace but as a small bus…
-
comment
Comment #37725287
Got anything to back that up? Businesses managed to thrive before when taxes were considerably higher. How do you account for the Gilded Age? How were those monopolies different th…
-
comment
Comment #37682614
Cept the part about Amazon not letting you sell your goods cheaper elsewhere. That keeps the price inflated and is anti-competitive since it squashes competition from other marketp…
-
comment
Comment #37544970
This would be my preference. I like `Either`or some other container type, but a simple union that makes exceptions explicit works also.
-
comment
Comment #37449432
Though not JSX, with TSX you get type checking with your markup.
-
comment
Comment #37174013
When I was trying to learn monads no one ever gave me an example of mapping a list-returning function to a list. Everyone went on about 'effects', monad laws, etc. For some of us i…
-
comment
Comment #37173840
This is probably the biggest problem with FP, and I love FP, and use fp-ts which is marred in category theory. It took me a while to understand concepts that are really quite simpl…
-
comment
Comment #37110208
I prefer functional. Procedural is not restrained enough and allows for mutable global state. This can go off the rails when multiple people are in the code. Functional stresses co…
-
comment
Comment #37104388
This is why I use codec libraries like zod or io-ts (purify has them built in also) at my boundaries.
-
comment
Comment #37084566
Sorry, I should have said JSONB. Do you still consider a table with a single JSONB column SQL or NoSQL? Sure, it may be contained within a RDBMS but you are treating it more like a…
-
comment
Comment #37067885
You get JSON types with postgres. If you aren't sharing data between tables then json is fine
-
comment
Comment #37033111
Common in the States too. I'm from Eastern MA and work in Boston. If I order a "vodka, soda" it sounds normal, but if I say "vodka AND soda" then "vodka" becomes "vodkar". My accen…
-
comment
Comment #37010940
Gotcha. I may have to give HTMX a try again. Though, I worked on a HAL-based, full RESTful service back in 2016 and I'm not sure how eager I am to go back. REST was ok for the read…
-
comment
Comment #36998508
Doesn't HTMX work via HATEOAS so would require a full RESTful backend?
-
comment
Comment #36907066
It should be: start with a well architected monolith, and then slice things into microservices when you need to. Fowler and many Microservice evangelists even say to start with a m…
-
comment
Comment #36893219
I feel the same way. I started my career in the mid-00s in Enterprise software writing .NET. We used to have many conversations around modeling, patterns, testing, etc. I work at a…
-
comment
Comment #36738330
My world changed when I started thinking in a strongly typed way (not just using string and number) and representing state changes as different types rather than interpreting than …
-
comment
Comment #36736267
Exceptions should absolutely be a part of an interface and it stops you from leaking implementation details. If I have an IRepository interface then none of the methods should ever…