Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kjksf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
kjksf
2y ago
Then you'll have a very good, open-source, MIT licensed tool financed by silly VCs. If it gets abandoned the community will be able to take over its maintenance or fork you. Tails, you win, heads, you win. https://github.com
182.
▲
by
kjksf
2y ago
You should be able to see when someone is gaslighting you. They charge because they want and can. The above justification might apply to some of their standards but certainly not to PDF. PDF was developed by Adobe. They make lots money sell
183.
▲
by
kjksf
2y ago
I wonder how do you expect a high school kid or collage student to afford insurance and get "some sort of license to practice"? Say goodbye to Linux - released by college student. Say goodbye to Winamp - released by a high schoole
184.
▲
by
kjksf
2y ago
It's more "reused" because Plan9 compilers were designed / co-implemented by Pike / Thomson, 2 out of 3 original designers of Go. For those interested, here's Thomson's paper about Plan9 C compilers: http
185.
▲
by
kjksf
2y ago
A big part of the problem is that if you go to a doctor with diabetes, 90%+ he will tell you to use insulin. He won't tell you to loose weight and go on keto diet. Still popular opinion is that eating meat and fat is bad for you (heart
186.
▲
by
kjksf
2y ago
If you asked me to login with Google and got my email and other info, then don't ask me to also pick a password. Bait & switch and I won't stand for it.
187.
▲
by
kjksf
2y ago
Free business idea: clone Pivotal Tracker as a solo dev / small team. People often ask: how do I find business ideas? Well, here you go: many people publicly saying how they love a product that is going away. This is a validated produc
188.
▲
by
kjksf
2y ago
It's more about willing to fire below-A players quickly rather than having a perfect hiring filter that only lets A players in. Looking back at 7 companies I worked at: they all had a tough hiring filter to get in. But most of them als
189.
▲
by
kjksf
2y ago
Consider famous autonomous Uber crash that killed a person illegally crossing the road at night. The right thing to do for the autonomous software would be to break hard to avoid killing that person. If there was a car behind that Uber car,
190.
▲
by
kjksf
2y ago
The "washout" would work equally well if they were teaching non-BS. And what do we teach people for 12 years before college? Is college the first time people learn how to learn?
191.
▲
by
kjksf
2y ago
It's a trivial function: https://cs.opensource.google/go/go/+/refs/tags/go1.23.1:src/... You could write your own errorsJoin() and change Error() method to suit your needs. But really in t
192.
▲
by
kjksf
2y ago
Dear god. Do you understand what you're advocating for? You're advocating for literal lawlessness. For anarchy. For giving the government absolute power. Given that government abuses non-absolute power you can bet that when they g
193.
▲
by
kjksf
2y ago
Well, yes, because separation of powers. Congress makes the laws. Government (bureaucrats) enforces the law. Judges decide if government enforces the law correctly. The important part is not how bureaucrats or judges get their job but that
194.
▲
by
kjksf
2y ago
> According to the CDC, one significant outbreak in 2020 was linked to onions, resulting in around 1,127 reported cases of Salmonella across 48 states. Vegetables can also be contaminated with bad bacteria and they do get contaminated in
195.
▲
Man vs. AI: optimizing pdf.js JavaScript function
(blog.kowalczyk.info)
1 points
by
kjksf
2y ago
|
1 comments
196.
▲
by
kjksf
2y ago
I decided to test if AI (Cursor + Claude 3.5 Sonnet) can optimize JavaScript code for me. It can and the above recaps my journey.
197.
▲
by
kjksf
2y ago
Assuming latest Go 1.13 I would write an iterator and used goroutines internally. The caller would do: for f := range asyncDirIter(dir) { } Better than exposing channel. But my first question would be: is it really necessary? A
198.
▲
by
kjksf
2y ago
I'm working on Edna - a note taking app for developers and power users. https://edna.arslexis.io/help
199.
▲
by
kjksf
2y ago
Maybe, but 80% of those are complains of some sort. That's the opposite of hype.
200.
▲
by
kjksf
2y ago
So you're ok with Python, which doesn't have sum types or null safety, 2 out of 3 things you say are missing in Go. In fact, Python didn't have any compile-type type until recently and compared to Go is slow and bloated. So m
201.
▲
by
kjksf
2y ago
Did you know it before reading the article? If not, then yes, it's news. As in: new information. What you're probably trying to say is that it's not valuable information. Maybe it isn't. However the belief in automated t
202.
▲
by
kjksf
2y ago
I can "divide" a single $100 bill into 100 $1 bills. By your "logic" $1 is just as valuable as $100.
203.
▲
by
kjksf
2y ago
Bitcoin is deflationary in the sense that the supply is fixed at 21 million. And because people also loose access to their Bitcoin wallet, the actual supply will slowly decrease. That's just a fact of how technology works. It's be
204.
▲
by
kjksf
2y ago
So just two days ago the market crashed because apparently a yen carry trade unwound. Japan had a 0% interest rate for very long time. That made yen weak against other currencies. So people were borrowing Yen and investing in better perform
205.
▲
by
kjksf
2y ago
Depends on the server. Most have at least 20 TB of bandwidth included in the price, even the lowest $5/mo shared cpu machines. 20 TB is a gigantic amount unless you're serving videos or some such. Some have unlimited bandwidth (I
206.
▲
by
kjksf
2y ago
Yes, that's how politicians and activists are shifting blame from their lack of interest in solving the issue to sacrificial goats. The streets are full of homeless and drugged out people? That's not the reason restaurants are fai
207.
▲
by
kjksf
2y ago
San Francisco was ignoring this problem for at least 10 years before that judgement happened. Not to mention the issue there wasn't exactly that the city was trying to do something but the fact that they were fining them and plaintiffs
208.
▲
by
kjksf
2y ago
Explain how Google proxy "shenanigans" are any different than "npm proxy shenanigans" or "cargo shenanigans" or "pip shenanigans". It's a service to improve Go ecosystem with anti-spoof security
209.
▲
by
kjksf
2y ago
Why is it a problem? `go vet` is part of Go toolchain so the designers very much understand and acknowledge that code can have issues that are not always errors. The distinction they made is very simple: an error is something that is always
210.
▲
by
kjksf
2y ago
Just last week I've implemented an iterator for my C++ type and lol to your comment. It was fucking nightmare compared to how you (will) implement an iterator in Go. I didn't study the reason why Go chose this way over others. I d
More ›