Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fooyc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
fooyc
5y ago
That's what I though too. C compilers should be able to achieve that directly, and it's incredible that nobody though of doing so yet. What's great, though, is that they are achieving this with tools that are already availabl
32.
▲
by
fooyc
5y ago
Yup. Go too, but the programmer doesn't need to know it.
33.
▲
by
fooyc
5y ago
I would not recommend anyone to use WordPress in 2021, though. WordPress maybe simple to setup, it's part of what gave PHP its bad reputation.
34.
▲
by
fooyc
5y ago
Async code is a good way to achieve some level for performance in I/O bound workloads, but it's a pain for the programmer. Because of that I wouldn't say that it's necessarily a good thing that JS is async-first. In my o
35.
▲
by
fooyc
5y ago
The kind of optimizations you would do in an application server would prevent you from scaling pass a single server
36.
▲
by
fooyc
5y ago
1. The develop-try cycle is fast: In PHP if you change some code it will be immediately visible - no server reload needed. That's because the "application" is reloaded at every web request. There is no application server. 2.
37.
▲
by
fooyc
5y ago
Which would be better than all streaming platforms today who don't even let you download what you have bought
38.
▲
by
fooyc
5y ago
With the TPB parody and everything, this a satire against intellectual property in general, not just NFTs, right ?
39.
▲
by
fooyc
5y ago
Same for your movie collection. The movie streaming industry is a scam !
40.
▲
by
fooyc
5y ago
What is stopping you from selling a movie you've just downloaded ? The movie industry is a scam !
41.
▲
by
fooyc
5y ago
NFTs are a scam, but saying that it's because you can download them without paying is missing the point. You could say the same thing about movies, music, games, art. People in the cryptocurrency community believe that NFTs are used fo
42.
▲
by
fooyc
5y ago
Ever bought a game or a movie yet ?
43.
▲
by
fooyc
5y ago
Do you think that people don't know that a picture on the internet can be freely downloaded or screenshoted ?
44.
▲
by
fooyc
5y ago
You could do that with movies, music, art, games, anything digital. NFTs are a scam, but this is completely missing the point. Unless the point is that every digital property is a scam.
45.
▲
by
fooyc
5y ago
REST models everything as data transfers, or as creating/reading/updating/deleting resources. This alone makes it a bad choice unless you are building a business-agnostic document store. GraphQL on the other hand has mutation
46.
▲
by
fooyc
5y ago
> I'm using REST as an interface to a storage > I then add more things that listens to changes to that storage, so the data is sortof the API. I get it, but that's exactly the issue. Data changes are a lossy way to represen
47.
▲
by
fooyc
5y ago
But should you design your API like a data store ? That's my whole point actually. Do you design anemic domain models, or models that represent just data without any kind of logic ? If yes, I guess REST is ok as well.
48.
▲
by
fooyc
5y ago
Indeed you can interpret my comment like that, so I will rephrase it in an other way: REST represents everything as a resources and the creation, update, and retrieval of resources. Unless your business is fundamentally about storage withou
49.
▲
by
fooyc
5y ago
Most business can in a convoluted way. But should you they? Take HN as an example. People can upvote comments. Should you represent the action of upvoting as a resource creation, in a REST way ? Or as an action ? Take Amazon, how do you rep
50.
▲
by
fooyc
5y ago
REST is largely over-hyped as an API design. REST fundamentally represents data transfers. No business can be modeled purely as data transfers. CRUD API would be a good name.
51.
▲
by
fooyc
6y ago
I'm curious how you make your comparisons. Here is mine: AWS a1.metal: $293 per month for 16 ARM cores, 16GB memory OVH Rise-4 [1]: $131 per month for 16 Intel Xeon cores, 128GB memory, 500Mbit/s And the ARM CPUs on the AWS instan
52.
▲
by
fooyc
6y ago
Money can buy nice things, more money allow you to retire. Some people want money to feel safe, or to change their life.
53.
▲
by
fooyc
6y ago
Executives that worry about reliability would insist on deploying on multiple data centers, which would make the project more reliable than any single AWS availability zone. Also, cost matters if the AWS bill is one of the company's to
54.
▲
by
fooyc
6y ago
I could replicate my whole infrastructure on 3 different OVH datacenters, with enough provision to support twice the peak load - it would still be cheaper than a single infrastructure at AWS, and I would get a better uptime than AWS: https
55.
▲
by
fooyc
6y ago
> Haskell programs have stellar performance, leading to faster applications and lower hardware costs [...] PHP $244 [...] Haskell $15 This is overlooking the cost of developers, which greatly outweights the hardware's unless you are
56.
▲
by
fooyc
6y ago
Sounds like "Haskell is cool because it is typed, and it is the only typed language I know"
57.
▲
by
fooyc
6y ago
The more lanes you add, the more cars you get. Adding more lanes doesn't solve traffic issues. https://en.wikipedia.org/wiki/Induced_demand#Induced_traffic...
58.
▲
by
fooyc
6y ago
Reducing aging wouldn’t have any effect on that, though?
59.
▲
by
fooyc
6y ago
How?
60.
▲
by
fooyc
6y ago
The title is misleading, the switch doesn’t appear to have anything to do with the misfire.
More ›