Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
furstenheim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
furstenheim
3y ago
The future is a bit dire, an army of chatgpt scammers talking to an army of chatgpt antyscammers.
32.
▲
by
furstenheim
3y ago
Unless you have a legal requirement starting on January the 1st 00:00
33.
▲
by
furstenheim
4y ago
I tried with something that was not so obviously in the training set, the response is terrible What's the measure of the set of real numbers whose square is between 1 and 4. The set of real numbers whose square is between 1 and 4 is kn
34.
▲
Chat GPT getting the right answer half of the times
(twitter.com)
1 points
by
furstenheim
4y ago
|
0 comments
35.
▲
by
furstenheim
4y ago
It would be nice to see this benchmark in Node.js with streams
36.
▲
by
furstenheim
4y ago
Treat commits as immutable data. Don't try to amend, squash or rebase. Having one commit merges is overrated
37.
▲
by
furstenheim
4y ago
Copy stackoverflow, understand it, link to the original source. What's wrong with it. Those lines are normally the hardest. Maybe referencing a weird behaviour, not implemented feature, and stackoverflow is the only place that explains
38.
▲
by
furstenheim
4y ago
Metacity works for me, nice standard look
39.
▲
by
furstenheim
4y ago
Not really, primes are pillars of all the numbers. If you think of positive integers as having only multiplication (a semi group I guess), then prime numbers are the building blocks
40.
▲
by
furstenheim
4y ago
Omg, so off the point. CDK has completely changed my understanding of infrastructure. So cool to be able to abstract and reuse components
41.
▲
by
furstenheim
4y ago
Haha, same here. There was some problem that required careful handling of locking. Did it easily in SQL, they were not convinced at all
42.
▲
by
furstenheim
4y ago
Altgr is great to set up shortcuts in the IDE. It's completely unused and no overlap with native shortcuts in the IDE
43.
▲
by
furstenheim
4y ago
I liked the article a lot. I prefer the term retryable to idempotent. If there's a failure in the first call, to be truly idempotent it should fail on the second. Retryable on the other hand is easier to argue about. Important thing is
44.
▲
by
furstenheim
4y ago
GDPR fines are pretty hefty. I doubt the employer would be happy with soft deletion. Also, you don't need an auditor. In the eventuality of a hack, the db could be made open and then it would become clear you were not deleting
45.
▲
by
furstenheim
5y ago
Eslint with standardjs in js is so great, set it up and it will fail if you throw anything different from an error. https://github.com/standard
46.
▲
by
furstenheim
5y ago
I really like Spotify strategy https://engineering.atspotify.com/2018/01/testing-of-microse...
47.
▲
by
furstenheim
5y ago
How is selective breeding good? There are dog breeds that have respiratory problems all their lives. CRISPR should open the door to genetic improvements without genetic diversity loss
48.
▲
by
furstenheim
5y ago
I would also add, test against a real database (docker) not in memory database. So many bugs that only happen on disk. Also so much functionality that cannot be used to fixed them because it's syntax error on the mock database
49.
▲
by
furstenheim
5y ago
They applied crispr to bone marrow. Extract it, apply crispr. Cleanse the body to remove existing one and apply modified barrow. Basically an auto transplant with marrow
50.
▲
by
furstenheim
5y ago
I've always found that wikis are too far from the code. To have any chance of being up to date, knowledge of the code and functionality should be as close from the code as possible.
51.
▲
by
furstenheim
5y ago
Then why is parameter query safer? And not just escapes variables? Escaping is hard, as shown in the article
52.
▲
by
furstenheim
5y ago
Sorry, what do you mean by parsed identically? In CSR you can have data displayed into the front-end without ever be parsed as HTML. You do some http call to the backend, get a json get the property and do, element.textContent = myData. If
53.
▲
by
furstenheim
5y ago
Of course you can still do <div> + input + </div> in CSR, but you can definitely not do myelement.textContent = whateverIGot in SSR, right?
54.
▲
by
furstenheim
5y ago
It got me thinking, is client side rendering intrinsically safer than SSR. SQL queries with params are safer because data and code flow separately. Similarly, if you query backend for data and then do textContent = response, that cannot do
55.
▲
by
furstenheim
5y ago
Cool article! Any idea where to find a similar explanation for mysql?
56.
▲
by
furstenheim
5y ago
Postgres, you learn so much from the error messages. Mysql, on the other hand "please read the manual"
57.
▲
by
furstenheim
5y ago
You can do much better than frequency. Just six clues you can reduce it to less than 200 and solve it 2-3 guesses https://medium.com/@furstenheim/learning-from-the-mistakes-o...
58.
▲
Learning from the Mistakes of Others: Beating Wordle in Just Three Moves
(medium.com)
3 points
by
furstenheim
5y ago
|
0 comments
59.
▲
by
furstenheim
5y ago
Actually you don't even need a priority queue. Two lists, you read from one push to the second. When you are done you swap them
60.
▲
by
furstenheim
5y ago
Actually for grid navigation there's no need for a priority queue. All steps are of length 1, so you can keep two arrays. In the first one all the things that you are currently visiting and push to the second array the neighbors that y
More ›