Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hsn915
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
hsn915
4y ago
This reminds of the joke about how the ethical programmer cannot write a function to nuke a particular city, instead they write a function that takes the city as a parameter. > It should be noted that no ethically-trained software engine
152.
▲
by
hsn915
4y ago
Go or any language that actually gets compiled down to machine code to get executed directly on the hardware, and where libraries are compiled into the final product. When I say something is a library function, I mean you just compile it in
153.
▲
by
hsn915
4y ago
You can always put an LRU cache between you and SQLite. I personally moved from SQLite to a B-Tree based key-value store, and most requests can be serviced in ~500us (that is microseconds). I don't mean a request to the database: I mea
154.
▲
by
hsn915
4y ago
I was referring to Ruby/Python when I said 100x wasteful languages.
155.
▲
by
hsn915
4y ago
What about any of this prohibits it from being a library? https://lucene.apache.org/core/ This is the Java library that ES is based on. Without even having to look at it I can make the following judgement: It should be
156.
▲
by
hsn915
4y ago
Re: Crashes. If there's a bug that brings the server down, it will happen in all instances and repeatedly no matter how many times you restart. Specially when the users keep repeating the action that triggered the crash. Re: Entropy. E
157.
▲
by
hsn915
4y ago
It can. You don't even need to go all the way to Rust. I'm doing it with Go, which has a GC and a runtime. A single executable on a single machine can handle millions of users per month.
158.
▲
by
hsn915
4y ago
It's way too complicated. But if this is all you have ever seen and if you've been designing such systems for a decade, this seems like normal to you. Here's an alternative stack that can handle over 99% of websites: - Self c
159.
▲
by
hsn915
4y ago
This is very common in almost all web companies since around 2015. I've never seen a company with a simple infrastructure, no matter how simple their actual application actually is. If you choose a slow dynamic language (Ruby/Pyth
160.
▲
by
hsn915
4y ago
This makes zero sense. I don't like cargo culting.
161.
▲
by
hsn915
4y ago
I'm pretty sure the GP intended the statement to be for statically typed languages with a struct-like type.
162.
▲
by
hsn915
4y ago
This is only true of the websites made by big established companies. A lot of startups follow the general trend of using large fonts and empty spaces. Examples: https://tunagate.com/ https://paypay.ne.jp/
163.
▲
by
hsn915
4y ago
Yea I was going to comment and say if anyone is interested in a modern language the follows in the tradition of Pascal/Oberon they should look into Odin
164.
▲
by
hsn915
4y ago
SEEKING WORK | Remote, Tokyo Typescript/React/Frontend Seeking side work (~ 10 hrs/week) to supplant my income while I work on my main product. I'm looking for "menial" non-creative programming work. I'm m
165.
▲
by
hsn915
4y ago
That's another discussion though. The topic at hand is someone who has a country and had an opportunity to work in another country is complaining that they have to go back to their home country because the work visa is not a permanent
166.
▲
by
hsn915
4y ago
By your characterization of the problem, the solution would seem to be to abolish work visas all together, and not allow any foriegners to stay for mere work.
167.
▲
by
hsn915
4y ago
There's no hate. There's no paternal love either, nor a need for one. It's a completely neutral event that requires no emotional reaction. Imagine it happened to my sister. So what? Are you expecting me to get emotional or an
168.
▲
by
hsn915
4y ago
Because humans are cooperative creatures, and if a society can't establish cooperation between its members, chaos will ensue.
169.
▲
by
hsn915
4y ago
They didn't hide it. It was very explicit and obvious. Anyone who read the announcement understood without ambiguity.
170.
▲
by
hsn915
4y ago
Hopefully that does not change in the future. If anyone could just go anywhere that would be a terrible dystopian future.
171.
▲
by
hsn915
4y ago
This is like going to the bio tech department of a top university in the US and being so impressed with the people there that you conclude that all Americans are amazing at bio tech.
172.
▲
by
hsn915
4y ago
> It's part of the socratic method. But that question wasn't. It was bad faith "gotcha!" question.
173.
▲
by
hsn915
4y ago
You could argue that even your country doesn't owe you anything merely for existing. You have responsibilities, not just rights. But for the purpose of this discussion, I'm assuming a person already has a country they belong to wh
174.
▲
by
hsn915
4y ago
No country other than your country of origin owes you a right to stay. It's not inhumane or something to have visa only for work and not for indefinite residency. If the work visa was defacto a permanent residency visa, no one would gi
175.
▲
by
hsn915
4y ago
If you were getting paid for 2 years working on a project that doesn't pan out, that's you not taking the risk. "Getting laid off" is not a risk. Wasting 2 years for nothing while bleeding income _is_ risk. If you don&#x
176.
▲
by
hsn915
4y ago
> If you think that looks too bad, then don't do the thing lol what? No serisouly: lol what? "Don't do the right thing if it looks bad" is a loser strategy.
177.
▲
by
hsn915
4y ago
Why do they need "taking care" of? Are they fragile school kids? Desparate single mothers who can't make ends meet? What is with this "save our babies!" attitude towards people who are - Well off - Highly skilled ??
178.
▲
by
hsn915
4y ago
Really hard to take seriously. The writing on the homepage looks so generic it could have been generated by ChatGPT. The example code on the homepage - after lots of talking and babbling - is just one line to print some text.
179.
▲
by
hsn915
4y ago
This article is not aimed at people who are working in a codebase where everything is super terrible. It's written for performance aware programming. One of the aspects of performance awareness is awareness of how virtual functions and
180.
▲
by
hsn915
4y ago
Even vite is slow. Just use esbuild directly. Jotai is much better for global state management.
More ›