Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kgeist
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
841.
▲
by
kgeist
3y ago
I actually like "dumb" service classes with 1 method. Usually that method may require tens of dependencies to function (db connection, authorization logic, etc.), which in turn have their own dependencies recursively, and your cho
842.
▲
by
kgeist
3y ago
Are there companies with FB-like metrics outside of US at all?
843.
▲
by
kgeist
3y ago
>I'd be able to name at least one FAANG tier company based on Germany SAP? >SAP is the largest non-American software company by revenue, the world's third-largest publicly traded software company by revenue
844.
▲
by
kgeist
3y ago
I like that Zoom allows to provide a developer email so as a developer, I only receive emails about API changes. I've never missed an email from them.
845.
▲
by
kgeist
3y ago
>I've seen better communications around company-internal services Our team maintains an internal CRM. When we plan to delete data or deprecate features, what we usually do (beyond sending emails): - hide features/data from the
846.
▲
by
kgeist
3y ago
The article basically describes the Entity-Component-System architecture and it makes sense when your app is essentially a stateful simulation with many independent subsystems (rendering, physics, etc.) managing lots of similar objects in
847.
▲
by
kgeist
3y ago
With LLMs hallucinating and being generally unreliable, I'm coming to the conclusion that LLMs should only be used to transform natural language to structured data (specific to your application), and knowledge about the world should be
848.
▲
by
kgeist
3y ago
Can a LiveView process migrate to a different machine/VM? For example, there's a scheduled maintenance and I need to shut down one of the machines/containers. The main advantage of stateless architectures for me is that state
849.
▲
by
kgeist
3y ago
I've seen the classic examples of AOP being used to log or authorize, but you can easily do that without "cluttering your code" by using the decorator pattern? Decorators are also nestable (when you want to both log and autho
850.
▲
by
kgeist
3y ago
For Russian text, it degrades to, basically, 1 character = 1 token, due to the tokenization issues discussed in the article, yet it produces absolutely coherent text, almost same as in English. In my tests, its Russian output is worse than
851.
▲
by
kgeist
3y ago
You forget indigenous tribes in Siberia, some of them experience -70C without modern technology.
852.
▲
by
kgeist
3y ago
Chat Completion API refuses to generate controversial content by default.
853.
▲
by
kgeist
3y ago
At our previous project we were trying to implement our own sagas and I remember that compensating actions are the hardest to get right. For example, we had a saga which added participants to a meeting as one of the steps. If the saga faile
854.
▲
by
kgeist
3y ago
>WASM's bytecode specification is designed to support the existing ecosystem of languages including Rust, C, C++, Go, etc which can't easily target the JVM Microsoft's .NET allowed you to compile C++ to pure CIL (.NET'
855.
▲
by
kgeist
3y ago
I've set up OVH with OpenVPN. Sometimes I get captchas, but not very often.
856.
▲
by
kgeist
3y ago
It seems like everyone in our company uses generative AI at the moment: marketing department coming up with ideas, designers creating illustrations, programmers writing code etc. I.e. there's a lot of useful real life application of ge
857.
▲
by
kgeist
3y ago
>only true if the duplication: a) isn't also an abstraction (which, in go, it is in this case) Can you give an example? I don't follow. I generally don't like abstractions for the sake of abstractions. I use Go's inte
858.
▲
by
kgeist
3y ago
We have a lot of Go services in production and errors have never been a performance issue. In the happy path, when there're no errors, errors are basically no-op. We don't use errors for control flow, though; only for exceptional
859.
▲
by
kgeist
3y ago
>Unused variables and imports are a compilation error which is INCREDIBLY annoying during development It's easily solved with: _ = unused_variable _ "unused_import" Sure, it's annoying, but not in an incredi
860.
▲
by
kgeist
3y ago
>it leads to what I consider an abusive over-reliance on ad-hoc interfaces that just get in the way of understanding the code I actually like it, from the architectural angle. Say, I have an entity (class, service etc.) which does only o
861.
▲
by
kgeist
3y ago
As far as I remember, there's a lot of machinery involved to make a C call because C doesn't know anything about Go's goroutines and their resizable stacks. So the runtime has to prepare the stack accordingly every time you m
862.
▲
by
kgeist
3y ago
In our team we have this rule that you should'nt even think about introducing an abstraction unless there's at least 3 real use cases to consider. You're most likely to create a wrong abstraction if there's only 1 use ca
863.
▲
by
kgeist
3y ago
If you invent/introduce made up concepts and rules on the spot ("let shmerple be ..."), which can't possibly be found in its training data, then, from my experience, when queried, LLMs are able to correctly reason most o
864.
▲
by
kgeist
3y ago
>Needing either the index or both is likely a lot more common in Go than in other languages owing to the lack of any sort of iterator or composition In our codebase, there's very few instances of needing the index. Usually you just
865.
▲
by
kgeist
3y ago
I wish Go also had this: for v := range vs {} instead of this: for _, v := range vs {} How often do you need to have both the element and its index? I'd say it's not the majority of cases. And now you have to type &
866.
▲
by
kgeist
3y ago
Isn't that synthetic benchmarks for toy projects? The amount of code which is run on every request grows with the size of the project in PHP/Symfony (which can take quite some time in a huge monolith), while in Go, everything is u
867.
▲
by
kgeist
3y ago
It does run with caches enabled, my memory is murky but I remember Go processing requests on an order of magnitude faster (10x). Maybe it's about dependencies reconnecting on each request, or the large amount of classes in the monolith
868.
▲
by
kgeist
3y ago
I agree, the main problem with PHP in my experience so far has been that it's very memory-hungry and slow (even PHP7/8), especially when coupled with frameworks/ORM magic. I remember after spending some time with Go, I got us
869.
▲
by
kgeist
3y ago
I agree with the message, but the example has: - hidden global state - arbitrary string literals Is that Laravel?
870.
▲
by
kgeist
3y ago
Ancient Greek has two negation particles: >Ou is the negative adverb for facts and statements, negating both single words and sentences. Mê is the negative used in prohibitions and expressions of doubt meaning "not" and "n
More ›