Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidalayachew
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
davidalayachew
10mo ago
Thanks, you are right. Wish I could edit it.
2.
▲
by
davidalayachew
10mo ago
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 required to keep track of each "cause"
3.
▲
by
davidalayachew
1y ago
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.com/watch?v=D-zrayZQj6w
4.
▲
by
davidalayachew
2y ago
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 than they did, if memory serves.
5.
▲
by
davidalayachew
2y ago
Is it fine? How would we determine that? What's the metric?
6.
▲
by
davidalayachew
2y ago
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 handle the actual concerns of the IO world better than Haske
7.
▲
by
davidalayachew
2y ago
https://docs.oracle.com/en/java/javase/22/docs/api/index.htm...
8.
▲
by
davidalayachew
2y ago
> 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 recommend you bring them up to the Javadoc jdk team. They would d
9.
▲
by
davidalayachew
2y ago
> 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 resolution to other packages. Javadoc already gives you a
10.
▲
by
davidalayachew
2y ago
It absolutely does. Here is a (modified) snippet of my Java code from yesterday. final boolean hasUncollectedSecret = switch (each) { case Wall() -> false; case Goal() -> f
11.
▲
by
davidalayachew
2y ago
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 backwards compatibility. And that mailing list has bee
12.
▲
by
davidalayachew
2y ago
Very helpful, ty vm.
13.
▲
by
davidalayachew
2y ago
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.
14.
▲
by
davidalayachew
2y ago
Excellent. I love Checked Exceptions, and this just made them that more useful. Can't wait for it to land.
15.
▲
by
davidalayachew
2y ago
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 of "Should not even know about the concept&qu
16.
▲
by
davidalayachew
2y ago
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
17.
▲
by
davidalayachew
2y ago
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 could be played. I'll clean the GUI up later though. ht
18.
▲
by
davidalayachew
2y ago
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 itself a sin, but unless there's a good reason to do so, it
19.
▲
by
davidalayachew
2y ago
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 do inheritance, I would do `extends` on the class, and then
20.
▲
by
davidalayachew
2y ago
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.
21.
▲
by
davidalayachew
2y ago
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 absolutely a problem. I think that is their point.
22.
▲
by
davidalayachew
2y ago
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 `jlink` MIGHT be true if your application is nor modu
23.
▲
by
davidalayachew
2y ago
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 parts are called modules. Unfortunately, all modu
24.
▲
by
davidalayachew
2y ago
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 starts up ~0.25 secs, and my Checkers clone is the same.
25.
▲
by
davidalayachew
3y ago
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 the following format... PROCESSOR.&q
26.
▲
by
davidalayachew
3y ago
Very fair. I know there's at least a couple of mailing lists that actually keep up with the mod queue, but it is as you say -- you can be stuck there for a long time, if not indefinitely. It does not feel like it is actively monitored.
27.
▲
by
davidalayachew
3y ago
Yeah, the mailing lists are built with subscription in mind. You can't really interact with them easily otherwise. But to be fair, you can subscribe, but change the settings to decide what gets sent to you. For example, you can turn of
28.
▲
by
davidalayachew
3y ago
> Nothing short of making exceptions transparent to lambda receivers will cut it for me. If your wish is to have Checked Exceptions be throwable from the lambda, then I understand your point. Still, I stand by argument, which is that the
29.
▲
by
davidalayachew
3y ago
> Most of Java problems come down to unfortunate design choices in the past. E.g. checked exceptions vs lambdas Funnily enough, your example has actually supported my point. They just released a proposal that effectively side-steps the p
30.
▲
by
davidalayachew
3y ago
I will certainly concede that it is a lot of friction. The mailing list is also very clunky, I will further concede that. And no matter how you slice it, this is all still community-hostile behaviour, I will also concede that too. I think p
More ›