Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eeperson
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
eeperson
6mo ago
Sorry, perhaps I should have been clearer. They don't grow completely out of making bugs (although they do tend to make fewer over time), they grow out of making solutions that look right but don't actually solve the problem. Th
2.
▲
by
eeperson
6mo ago
Everybody produces bugs, but Claude is good a producing code that looks like it solves the problem but doesn't. Developers worth working with, grow out of this in a new project. Claude doesn't. An example I have of this is when I
3.
▲
by
eeperson
8mo ago
> If you're in a project where buggy behavior wasn't introduced so much as grew (e.g. the behavior evolved A -> B -> C -> D -> E over time and a bug is reported due to undesirable interactions between released/
4.
▲
by
eeperson
8mo ago
> I know a lot of people want to maintain the history of each PR, but you won't need it in your VCS. I strongly disagree. Losing this discourages swarming on issues and makes bisect worse. > You should always be able to roll bac
5.
▲
by
eeperson
8mo ago
I've heard people say before that it is easier to reason about a linear history, but I can't a think of a situation where this would let me solve a problem easier. All I can think of is a lot of downsides. Can you give an example
6.
▲
by
eeperson
3y ago
The major things from Scala that I find useful are: - higher kinded types - null in types - for comprehensions - macros - opaque types - implicits/type classes - persistent immutable collections - EDIT named & default params
7.
▲
by
eeperson
4y ago
> It's far harder to update multiple services to handle requests they should not handle, let alone update a deployment to allow those requests to happen. I'm not sure I follow this. Doesn't this just mean that it is harde
8.
▲
by
eeperson
4y ago
This always seemed strange to me. If your team can't be trusted not to make spaghetti in a monolith, what stops them from making distributed spaghetti in microservices? In theory the extra work of making an API call would give you sm
9.
▲
by
eeperson
4y ago
It doesn't have to be. If your devices support HDMI-CEC[0], then you can turn on 1 device and everything sets itself up. For example, I can turn on my PS4 and it automatically turns on the TV and sets the correct input. [0] https:&#
10.
▲
by
eeperson
4y ago
Couldn't a malfunctioning sync process undo a soft delete as well?
11.
▲
by
eeperson
5y ago
Why do you feel that Scala has just as much historical baggage? Isn't the whole point of the Scala 2/3 split to remove historical baggage.
12.
▲
by
eeperson
5y ago
Although beware, those pull through sharpeners are notorious for doing a terrible job sharpening knives. They take off far more material than needed and tend to produce an edge that isn't very sharp. YMMV.
13.
▲
by
eeperson
5y ago
You could use a weight combined with pulleys or gears to get a faster acceleration.
14.
▲
by
eeperson
5y ago
Yes, a large part of Scala 3 was explicitly about improving ergonomics and making language features clearer to use. Some examples of this are: - Greatly improved error messages [1] - Revamped implicit syntax that makes it more straightforw
15.
▲
by
eeperson
5y ago
Git will provide you with a default message for git merge without specifying any flags. This message includes the branch being merged. I don't think there is support in git to view history with the branches being marked explicitly.
16.
▲
by
eeperson
5y ago
What command is that flag intended for?
17.
▲
by
eeperson
5y ago
Taxes can work if they are also combined with a dividends [1]. [1] - https://en.wikipedia.org/wiki/Carbon_fee_and_dividend
18.
▲
by
eeperson
5y ago
You may want to read the article. This is different than carbon permits[1]. This is about carbon pricing[2], which appears to be much more effective. [1] - https://en.wikipedia.org/wiki/Carbon_emission_trading [2] -
19.
▲
by
eeperson
5y ago
If you use the default merge messages, can't you tell which was the branch that got merged? The second parent is the branch that got merged and its name will appear in the commit message on the merge commit. This is probably somethin
20.
▲
by
eeperson
5y ago
Consumers can make a net profit if the tax revenue is paid as a dividend to citizens. There are number of papers about this if you are interested [1]. [1] - https://citizensclimatelobby.org/carbon-pricing-studies/
21.
▲
by
eeperson
5y ago
You don't have to chase your dependencies. You just need an adequate suite of tests and then run them with the Graal Tracing Agent enabled [1]. [1] - https://medium.com/graalvm/introducing-the-tracing-agent-sim...
22.
▲
by
eeperson
5y ago
I'm almost certain this occurs with Hibernate as the JPA provider. I haven't tried this with other JPA providers but as far as I can tell from tutorials[1], stack overflow posts[2], and the JPA documentation[3], this is the defau
23.
▲
by
eeperson
5y ago
> the only natural way to work with the native way that SQL databases express writes - in-place updates to rows - is with a model that represents them as in-place updates I strongly disagree with this for a few reasons. I actually think
24.
▲
by
eeperson
5y ago
Have you verified that? I'm pretty sure that occurs using the JPA API and Hibernate. I'm not sure if other JPA providers do this as well.
25.
▲
by
eeperson
5y ago
> That is because "session.load(Person.class, 2)" line literally says "and track changes" - as article says. I'm aware that that what occurs. That is my point. I'm responding to the previous posts statemen
26.
▲
by
eeperson
5y ago
I'm not talking about "dirty checking". I'm talking about "automatic dirty checking". Take for example this code I got from this article[1]: SessionFactory sessionFactory = HibernateUtil.getSessionFacto
27.
▲
by
eeperson
5y ago
> There are attempts to fix this with e.g. Graal, which effectively does the expensive initialization and reflection at compile time, but there are so many downsides and pitfalls right now with Graal that I don't consider it a serio
28.
▲
by
eeperson
5y ago
> This doesn't happen.. the database won't update until you ask the entity manager to persist the entity. Doesn't this happen through automatic dirty checking?
29.
▲
by
eeperson
5y ago
How is that a benefit specific to JS? Don't those platforms generally support Java as well?
30.
▲
by
eeperson
5y ago
Can't language features help solve some of those problems though? Improvements in static typing can help with algorithm implementations, reduce the amount of testing required, and make conflicting requirements more obvious.
More ›