Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fzeindl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
fzeindl
3y ago
I have a healthy mixture of organized folders, like official documents by years for example and disorganized folders. The key to happiness is to accept the mixture, also accept that you sometimes rename and reorganize stuff, that that somet
242.
▲
by
fzeindl
3y ago
That is exactly my thought. As long as the APIs remain clean: SQL for D1, simple KV-store for KV etc with clear semantics, it will be agnostic. Especially since caching sits at the core.
243.
▲
by
fzeindl
3y ago
And they are building it so architecturally clean that switching clouds becomes easier.
244.
▲
by
fzeindl
3y ago
The question is how the smart people at AWS who realized this too, will prevent them from rising to the top.
245.
▲
by
fzeindl
3y ago
What does the plugin do?
246.
▲
by
fzeindl
3y ago
> Android by comparison feels more like it was designed to look pretty with usability as a second class citizen. I do think that this comes from the code base not being very good. The base layout and view classes have hundreds of thousan
247.
▲
by
fzeindl
3y ago
Ahh yes. Back at university we had a class called efficient programming where we had to implement a Unix utility and optimize it for speed, meaning cpu cycles. While aggressively optimizing we replaced malloc in the end with a function we c
248.
▲
by
fzeindl
3y ago
It is also interesting to play around with "compression": ME: Write all your answers as concise as possible, military telegram style. GPT: Acknowledged. Will respond in concise military telegram style. ME: Explain quantum gravity.
249.
▲
by
fzeindl
3y ago
You might like the book "The heretic's guide to best practises".
250.
▲
by
fzeindl
3y ago
> ultimately our work is about thinking and fundamentally it requires that each individual doing the work understands what needs to be done. Usually the individuals doing the work do understand that, but it is really hard to properly div
251.
▲
by
fzeindl
3y ago
> I wish more programming languages provided interfaces for building libraries around the std library like what Go does. Java does, but apart from JDBC for databases, and the servlet-API, I haven't seen many cases where that really
252.
▲
by
fzeindl
3y ago
> Prompt injection works because LLMs are dumber than humans at keeping secrets, and humans can be coerced into revealing. I wouldn't say dumber than humans. Actually prompt injections remind me a lot of how you can trick little chi
253.
▲
by
fzeindl
3y ago
This is wrong. MySQL does not support transactional DDL, so you cannot run migration and abort them in the middle. Always use postgresql. It's more logical, more extensible, saner, supports many extensions and is more predictable. MySQ
254.
▲
by
fzeindl
3y ago
I'd add probabilistic languages like Figaro.
255.
▲
by
fzeindl
3y ago
I had a servo motor attached to a raspberry pi which turned a small gear that connected to a plastic gear m on the analogue temperature control of my gas heater. Then I had it switch to various temperatures while heating and also had a geof
256.
▲
by
fzeindl
3y ago
Actually the iphone was planned to use PWAs in the start, but Steve Jobs switched to native apps after realizing that performance and usability was going to be poor. He was right and still is. Not that it's impossible to implement a go
257.
▲
by
fzeindl
3y ago
Has it? Is there something akin to XSLT for JSON yet?
258.
▲
by
fzeindl
4y ago
Yes, but they are not good. It has a jack plug that I connect to an HiFi-System. Theoretically one could use an HDMI-splitter to extract audio, but I didn't use this, since the lag was too high.
259.
▲
by
fzeindl
4y ago
I use a Philips 43 inch PC monitor attached to an AppleTV. Works great, and has 100ms response. https://www.philips.at/c-p/BDM4350UC_00/brilliance-4k-ultra-...
260.
▲
by
fzeindl
4y ago
> So whatever is driving reasoning and intelligence in humans... Probably multiple brain-areals that work differently and in conjunction. "Left-brain" like language functions working with serial information, "right-brain&q
261.
▲
by
fzeindl
4y ago
Not a Tipp about music theory, but as a general Tipp make sure that you practice hands separately https://fundamentals-of-piano-practice.readthedocs.io/chapte...
262.
▲
by
fzeindl
4y ago
Fully agree. And using PostgREST [0] you can serve your postgreSQL database as REST-API. And if you throw foreign data wrappers / multicorn in the mix, you can map any other datasource into your postgreSQL-db as table. [0] https:/
263.
▲
by
fzeindl
4y ago
Whatever you do, go to a lawyer first.
264.
▲
by
fzeindl
4y ago
There is https://marp.app/ which does Markdown to PPT.
265.
▲
by
fzeindl
4y ago
Interesting, thank you. > This code is in JS because it has to run in the browser, so it is not super fast. Try profiling heap allocations in Chrome Debugger. In my experience especially array-allocation can slow down JS-code a lot.
266.
▲
by
fzeindl
4y ago
> And, code performance is, as you say, part of test performance. If the tests take too long, perhaps the code needs to be improved. Yes. I mentioned this is in the last section. When test-performance is alright, typically you don't
267.
▲
by
fzeindl
4y ago
Thank you, let me know if you have suggestion and how whether you can apply it to your work.
268.
▲
by
fzeindl
4y ago
Slightly offtopic but I have summarized my own 20 years of clean coding experience into a system: https://www.fabianzeindl.com/posts/the-codequality-pyramid
269.
▲
by
fzeindl
4y ago
Envy is one of the most useless thoughts/emotions there is, it serves no purpose at all. But there's a good sentence for dealing with it, if you are envious of somebody else having something you can tell yourself: "I have som
270.
▲
by
fzeindl
4y ago
Thank you for you kind words. Let me know if you could use my system. I haven't mentioned documentation yet, but this is certainly something important that I might include in a future revision.
More ›