Viewing profile — davidalayachew
davidalayachew
HN member- Joined
- Wed, Nov 01, 2023, 1:06 AM UTC
- HN karma
- 68
- Public activity
- 47 items
- HN profile
- View on Hacker News ↗
About davidalayachew
https://stackoverflow.com/users/10118965/davidalayachew
Recent public activity
-
comment
Comment #45893170
Thanks, you are right. Wish I could edit it.
-
comment
Comment #45887024
Isn't the entire point of "reinventing the wheel" to address this exact problem? This is one of the tradeoffs of maintaining backwards compatibility and stewardship -- you are requ…
-
comment
Comment #43410641
The IDE that I use is called jGRASP ( https://www.jgrasp.org/ ) and it has a viewer that shows off the changes in data structures over time. Here is an example. https://www.youtube…
-
comment
Comment #42972219
But then it is no longer an apples to apples comparison. This is Spotify. Spotify is the embodiment of the top radio stations idea. By that metric, Spotify is actually doing better…
-
comment
Comment #42678308
Is it fine? How would we determine that? What's the metric?
-
comment
Comment #40580641
I strongly disagree. Haskell is great in a pure world, but it has an undue amount of friction when in the IO world. It does work in the IO world just fine, but languages like Java …
-
comment
Comment #40494704
https://docs.oracle.com/en/java/javase/22/docs/api/index.htm...
-
comment
Comment #40486404
> Author here. Yes, the search bar is nice already, and the performance is good enough for most use cases. Agreed. If you do have performance improvements in mind, I would recommen…
-
comment
Comment #40485500
> Instead of relying on Javadoc, the built-in doc generator, I created the engine from scratch to give the documentations a modern look, build fast search indexes, and enable link …
-
comment
Comment #40310348
It absolutely does. Here is a (modified) snippet of my Java code from yesterday. final boolean hasUncollectedSecret = switch (each) { case Wall() -> false; case Goal() -> false; ca…
-
comment
Comment #40198897
It's ABSOLUTELY by design. On the Java Mailing Lists, the creators/stewards of Java are constantly fighting back so many feature requests BECAUSE those features would threaten back…
-
comment
Comment #40180207
Very helpful, ty vm.
-
comment
Comment #40176184
Complete distraction of a question -- for that video clip, what is the song playing at the time stamp you selected? Is that in-game music? I figure not.
-
comment
Comment #40100081
Excellent. I love Checked Exceptions, and this just made them that more useful. Can't wait for it to land.
-
comment
Comment #40093962
That's fair. Though, my point stands. Once that number starts to grow, that's when inheritance starts to shine. Again, only in Java as is. And yes, excellent wording with the idea …
-
comment
Comment #40071342
Thanks for posting this. I made a playable version of your game too. Bundled inside is algorithms for solving it as well. https://github.com/davidalayachew/ReverseTheListOfIntegers…
-
comment
Comment #40071338
Lol, they got me too. Mine has an algorithm to find a solution quickly, and another to find the shortest solution possible. I also created a very rudimentary GUI so that the game c…
-
comment
Comment #40028057
For me, it was taking the joke too far. The catwalk comment intro was actually really good, but then it just kept running with it the whole way through. That is not in and of itsel…
-
comment
Comment #40027982
I can think of one. For Java at least. Imagine that I have a class that has 15 methods -- 14 are a perfect fit as is, but 1 of them needs to be completely overwritten. If I were to…
-
comment
Comment #40020056
I have a scroll bar on mine. I am using the latest version of Firefox (124.0.2). It is the exact same scroll bar that is on this website, Hacker News.
-
comment
Comment #40010442
Well, you are partially correct that the tool in question is optimized for larger projects. But the fact that there isn't an option (in the standard lib) for smaller projects is ab…
-
comment
Comment #40010416
That information is several years out of date. At best, the build tools in the ecosystem don't do a great job of supporting modules, but that's about it. And your comment about `jl…
-
comment
Comment #39998136
The example in question is very much a "include-more-than-you-need-by-default" problem. So, bloat. Java lets you include only the parts of the JDK that you need for your app. These…
-
comment
Comment #39995113
jlink is very much out of date. jpackage is the new way to do it. I use jpackage for all of my builds. Pointing to the 2 most recent projects I have, my Microsoft Paint clone start…
-
comment
Comment #39751490
This is really nice! It's sad to see the processors go, but they aren't gone, just aren't likely to be given to us for free anymore. It's something we code ourselves. I did prefer …