Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dangets
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
dangets
3y ago
Have to point out that this includes second system optimizations. Just porting C over to Zig won't give you that 3x reduction. For others, I also highly recommend the video linked in that blog post.
32.
▲
by
dangets
3y ago
I remember reading on this site, not that long ago about large US companies regularly block traffic from outside US where they don't ship to or expect purchases. Home Depot was specifically called out.
33.
▲
by
dangets
3y ago
Unless not lying / over sharing is bad for your shareholders. Lawyers could argue that publicizing non-material bad news about your service health makes your stock price drop.
34.
▲
by
dangets
3y ago
Link comment in a similar HN discussion: https://news.ycombinator.com/item?id=14715279
35.
▲
by
dangets
3y ago
+1 to this. I'm just as wary to recommend using a DB as a queue as the next person, but it is a very common pattern at my company. DB queues allow easy prioritization, blocking, canceling, and other dynamic queued job controls that ba
36.
▲
by
dangets
4y ago
Are you only missing types? Gleam is supposed to be designed towards that: https://gleam.run/
37.
▲
by
dangets
4y ago
Yes and no. That same inertia of the larger companies allows them to stay in business even after large missteps. Remember Lenovo built-in Superfish [0]? Amazon/Apple/Google are entrenched enough that can take risks, apologize,
38.
▲
by
dangets
4y ago
A similar saying and popular blog post title is "Make illegal states unrepresentable" https://fsharpforfunandprofit.com/posts/designing-with-types... https://ybogomolov.me/making-illegal-state
39.
▲
by
dangets
4y ago
I would think stacking 10 generic conditions wouldn't scale if you are trying to mix and match arbitrarily. If you are trying to mix NonEmpty and AllEven and AllGreaterThan100 for the List example, then you would get the combinatorial
40.
▲
by
dangets
4y ago
I'll give a plug for 'Cosmic Python'[0], it goes into detail of structuring larger python applications using hexagonal-ish architecture. I wouldn't recommend this approach for smaller services. [0] https://ww
41.
▲
by
dangets
4y ago
Maybe this is from my epoch of education, but with early Java null checking everything was promoted as a good practice. Even today, depending on what your teacher said was correct, your coding experiences (e.g. if you came from C++, if you
42.
▲
by
dangets
4y ago
A major contributor can be memory access patterns. Traversing trees and pointers not adjacent in memory can result in a noticeable performance drag. Andrew Kelley gave an interesting talk about performance wins in the Zig compiler here h
43.
▲
by
dangets
4y ago
I wouldn't say that the actor model is going away. There are several new-ish projects built around it or retrofitting it in more common languages. - Elixir (and Erlang) https://elixir-lang.org/ - Akka - JVM and .NET f
44.
▲
by
dangets
4y ago
I struggle with this also, I assume the answer is to not have them in the same package. You can also break the application into separate 'domain', 'infra', 'application' modules as documented in [0] with rules
45.
▲
by
dangets
4y ago
See the recent flurry of their sqlite replication blog posts: - https://fly.io/blog/introducing-litefs/ - https://fly.io/blog/all-in-on-sqlite-litestream/ This allows for extremely cheap
46.
▲
by
dangets
4y ago
It sounds like movies need to start including gpu shaders with them to add grains or other effects regardless of the compression.
47.
▲
by
dangets
4y ago
As the total number of ways to accomplish a task increases it puts more burden on a programmer to recognize the usage and understand the semantic differences between the options. How many ways are there to iterate over a collection in say
48.
▲
by
dangets
4y ago
It is questionable whether he _can_ walk away from the deal. He signed all of the contracts and made legally binding promises to lenders with no clauses around misleading amount of spam bots or security issues. Of course, laws are more be
49.
▲
by
dangets
4y ago
Joe Armstrong gave a good talk on forgotten ideas in Computer Science. https://www.youtube.com/watch?v=-I_jE0l7sYQ
50.
▲
by
dangets
4y ago
A blog post by Roman Elizarov (Kotlin designer) on the observation of types following the variable name [1]. It mostly states that having consistent length prefixes (fn, val/var) makes the code more readable than arbitrarily long type
51.
▲
by
dangets
4y ago
I have not read it personally, but I've seen 'How Query Engines Work' highly recommended several times before. I have a procrasinatory tab open to check it out some day. https://leanpub.com/how-query-engines-
52.
▲
by
dangets
4y ago
The larger question is whether one would stop doing those personal things during a 4 day work week.
53.
▲
by
dangets
4y ago
I made a few pikchr diagrams and liked the experience, though it would be good if there was a lossless WSYWIG editor that could create and edit them for quick and dirty creation. There was a Changelog podcast episode with Richard Hipp (sqli
54.
▲
by
dangets
4y ago
It is not just the people in government today that you need to worry about. It is anyone in the potential future also that may abuse these initiatives.
55.
▲
by
dangets
4y ago
This and the surrounding ecosystem was recently featured on an episode of The Changelog podcast. https://changelog.com/podcast/481
56.
▲
by
dangets
4y ago
Do you have a link to any example repos by chance? The need has slowly been growing for some cli tools I want to write, but I haven't taken the plunge yet. I'm the most curious about peeking at your maven setup.
57.
▲
by
dangets
5y ago
I'm sold on Kotlin and have been working professionally in it for a few years (mixed Kotlin/Java projects server-side), so take my opinion for what it's worth. Integrating with Java's existing build systems (Gradle, Mave
58.
▲
by
dangets
5y ago
Zig has a compile time annotation that can do it. https://zig.news/kristoff/struct-of-arrays-soa-in-zig-easy-i...
59.
▲
by
dangets
5y ago
A self-directed project I did for a university course was to make a Morse code transmitter and receiver. I was able to use the same LED for both.
60.
▲
by
dangets
5y ago
Sure, I can see that. I was differentiating between internal company scale politics vs. larger-than-company politics. If Microsoft gave the same first-class promotion and support to F# that it did to C#, that would undoubtedly increase F#
More ›