Better HN
topnewbestaskshowjobs
Log inSign up

JavierFlores09

80 karma · joined Oct 17, 2023 (3y ago) · 34 submissions

just another java developer
Submissions

comment 2w ago · link · parent

Has Clojure become the new base for Lisp-like languages? What does it got going for it that people seem to want its specific flavor of lisp? Just asking since I've also seen the Clojure talk about Jank[1] recently and it has gotten me interested.

1: https://www.youtube.com/watch?v=tHgApFhevrQ

comment 2mo ago · link · parent

Not sure if it is the same thing they're referring, but the transition from loading the prompt from the gist to the result is indeed jarring: https://files.catbox.moe/c56eyl.mp4

I don't believe it is that important, but I guess you might've just hit some people's pet peeve with that. If anything, it goes to show as to why skeletons are popular on modern sites

comment 2mo ago · link · parent

I often tell my dev colleagues to avoid having their PC turned on all the time, be it because of the electricity bill cost, environmental impact or simply to make the longevity of the hardware a little longer. Granted almost everyone just ignores those things even if they're conscious of it, so I'd say you're right

comment 2mo ago · link · parent

Audio transcription is nowhere near the same as a properly written piece of text. Videos are simply a different format, and thus a lot of the communication is held by the fact that there's visual cues to go by. If one were to write an article about the same, you'd use much denser language as well as references/links around the topic. Maybe even restructure the whole thing to communicate it better through text.

It is something you can maybe whip up with the help of an LLM but then you're left wondering whether it is actually communicating what the video intended to begin with, as you wouldn't be as knowledgeable about the topic, one wouldn't be able to spot the parts where an LLM interpreted something horribly and thus reaching the wrong conclusions.

For all of the above, I do not consider audio transcript to be of any help when one prefers written content. It is useful for translation or people with hearing issues, but both of those receive help of the visual parts to convey the topic.

comment 3mo ago · link · parent

none of the rust-based minecraft server have enough functionality implemented to use them for survival, maybe for some minigames but that's about it. Pumpkin has gotten far out of the many[1] but there's still lots to be done.

1: https://dayssincelastrustmcserver.com/

comment 4mo ago · link · parent

I don't think the realistic alternative here was “hire a team for a month and get a better semantic conversion”

For a rewrite of this size, the expensive part is deep understanding of the underlying system in order to preserve behavior while keeping performance, and above all that not freezing product work while doing it. Adding more engineers would just end up in managerial burden and review bottlenecks, to say the least.

So even assuming the API cost estimate is high, I don't buy the “just hire engineers for a month” take. A team unfamiliar with the codebase would probably spend a large chunk of that month just building context and deciding how not to break everything. A team familiar with the codebase is even more valuable doing product work, bug fixes, and review of the existing codebase.

So, in short, I do agree with the simple fact that this is still too expensive for most projects, but not with the idea that “a small team would trivially do better in a month”.

comment 6mo ago · link · parent

Glad I wasn't the only one, my second thought was Dual Shock controller but that wasn't it either lol

comment 7mo ago · link · parent

I've personally found heaptrack[1] pretty good for this task, very straightforward to use and the info is detailed enough. Though, it'll only tell you where they are happening (e.j. allocation rate for Box::new), but not exactly what type they are given that info isn't available at runtime. Usually that kind of thing would be reserved to GC-based languages where they keep track of counts for each object.

1: https://github.com/kde/heaptrack

comment 7mo ago · link · parent

To my surprise, Movable Type is still being developed even today. Wonder if there's some companies still using it out inertia. I know many moved off of it back when they restricted their free tier

comment 7mo ago · link · parent

my favorite online diff viewer so far is https://diffs.dev/, very straightforward. Diff2html looks cool too given it can work in terminal

comment 10mo ago · link · parent

Who's to say there's no incentive. Anthropic using Bun internally is plenty incentive to make it better even if for their own use-case. I think it is a bit of a doomer perspective to think anything being bought out means the end of the line for that project. Sure, some things might change depending on the interests of the new owners but that's not to say it'll automatically become bad. Microsoft bought Github and Mojang, they're both doing better than ever for example

comment 11mo ago · link · parent

I am unsure why people feel the need to say this about Gradle. If you aren't doing anything fancy, the most you will touch is the repositories and dependencies block of your build script, perhaps add publishing or shadow plugins and configure them accordingly but that has never been simpler than it is now. Gradle breaks when you feel the need to unnecessarily update things like the wrapper version or plugins without considering the implications that has. Wrapper is bundled in so you don't have to try and make a build script work with whatever version you might have installed on your system if you have any, toolchain resolution makes it so you don't even need to install an appropriate JDK version as it does that for you.

If the build script being a DSL is the issue, they're even experimenting around declarative gradle scripts [0], which is going to be nice for people used to something like maven.

0: https://declarative.gradle.org/

comment 12mo ago · link · parent

if you want to an online java decompiler for a quick analysis, I recommend https://slicer.run/, it has a sleek UI and provides support for a variety of decompilers (including the likes of Vineflower, CFR, JASM, Procyon). For more in-depth analysis, https://github.com/Col-E/Recaf is probably my first choice

comment 1y ago · link · parent

Stuart Marks and Nicolai Parlog recently had a discussion about checked exceptions in the Java channel [0]. In short, while they mentioned that there are certainly some things to improve about checked exceptions, like the confusing hierarchy as well as the boilerplate-y way of handling them, they're not necessarily a failed concept. I do hope they get to work on them in the near future.

0: https://www.youtube.com/watch?v=lnfnF7otEnk

comment 1y ago · link · parent

I like https://diffs.dev, it has a pretty sleek look and has an extension to make it the default diff view for github

comment 1y ago · link · parent

> The counter to that argument is that it's creating an adverse effect on your most > profitable customers, with an incentive to move to offerings that don't have free tiers (or where the free tiers are not considerably affecting your own costs).

> If your free tier is so lucrative that you need to 25x the cost, then your free tier is > too expansive and you need to tone it down until the economics make sense.

It does make sense, though. That's how almost every subsidized system works, and the benefit applies for everyone until they scale to a point where they are not legible for it. It does suck for the pool of people that just began paying the actual price of the service instead of the subsidized one, and certainly more so if they're not actually getting profit from it but then again, it isn't like they weren't benefitting from the price up to that point, otherwise they wouldn't have chosen it. Luckily enough, as far as databases go, there's a gazillion options to choose from and experiences like this are invaluable when it comes to picking one with a pricing model that fits the scaling requirements of a given project, and not only the technical merits.

Also as a side rant, I honestly don't think "projects of love" are a good counter argument to anything. They're clearly not of love because otherwise they would find a way to make them profitable. Most people are either lazy to, or lack the knowledge of how to turn their hobby into a marketable thing. Which is fine, nobody wants to deal with business when it comes to their hobbies, but one can't have it both ways. Either your hobby project gets successful and you find ways to cover its expenses, or you realize that your hobby project needs to be kept just a hobby project.

comment 1y ago · link · parent

I seldom use it myself, but I frequently see people sharing compiler explorer snippets to compare generated assembly on discord conversations about LLVM in just about any native language discord (but mainly the Rust official one), which may sound like a rare occasion, but it happens more often than you'd think. My impression is that it is definitely in the thousands, but it being a service that I've only seen used for quick comparisons rather than in-depth analysis, I can't tell whether it is much more than that

comment 1y ago · link · parent

it isn't Ghibli style in particular, just any style as 4o image gen is much better at maintaining a particular art style, the ghibli ones just stand out due to one tweet that blew up and people followed along

comment 1y ago · link · parent

Well, for starters it is just a whole lot less work and money to distribute and maintain binaries up from the distributers' side, for the developers it comes down to a lower-barrier of entry to not have to adjust their workflow to whatever x platform may demand for building on their servers and in the end that gives the users more choices to work with. Of course, this is all in a perfect world where the chain of trust isn't broken so easily, which isn't an easy feat but given platforms like Windows thrive in spite of it, it is probably not as bad as many people may think.

All of that said, not particularly speaking for OpenAPK here, given their motives seems rather unclear to me. If I am to be charitable, I guess they're just trying to provide a different platform than f-droid for discoverability, but for whatever reason they seem to be marketing the distribution-side of things more which is just odd to me, but alas.

comment 1y ago · link · parent

The funny thing about Java is that while its design is to be entirely nominally typed, the way it is implemented in the JVM is compatible with structural typing, but there are artificial limitations set to follow the intended design (though of course, if one were to disable these limitations then modeled type safety goes out of the window as Java was simply not designed to be used that way). One community which takes advantage of this fact is the Minecraft modding space, as it is the basis[1] of how modding platforms like Fabric work.

1: https://github.com/SpongePowered/Mixin/wiki/Introduction-to-...

comment 1y ago · link · parent

Well, in the case of Samsung, I imagine they would rather not want to in order to promote their Z Flip series instead. More compact than any Mini version would potentially be. Though I guess for the people who like their phones to be able to fit in their hand, it doesn't make much of a difference.

comment 1y ago · link · parent

I'd like to believe any developer has more than a few pet projects around which they dedicate their time into whenever one has free time. Some get forgotten, others are overly specific to be marketed at all but maybe that one in a hundred has the opportunity to become a good investment, so it is just matter of buckling up and trying to ship it to the world. This doesn't mean it's going to make you financially successful, but actually delivering products does give you the experience of knowing what makes a successful one if anything at all. If you are lucky, you may break even in terms of time/resources spent after all the ordeal and you also get experience, though I wouldn't say that's the experience of most for the first few times, there's always a point in trying.

comment 1y ago · link · parent

> If he made such a blunder in finance which supposedly is one of his specialties just imagine how incompetent he and most of the government right now is on other matters.

This is a hasty generalization; while I agree on the fact that Milei was incompetent in promoting a memecoin as a financial instrument, that doesn't necessarily mean he is a bad economist all of the sudden, nor that the things he has done for Argentina are inherently bad, it just means he was incompetent on this matter. I am painfully aware of how divided the country is on the current government and its actions, however that doesn't invite sweeping judgments based on a single event. Criticism should be specific and supported by broader evidence rather than assuming total incompetence from one mistake.

comment 1y ago · link · parent

> It does not take away that this feels pretty unnecessarily hostile, as Neal already informed him to work with the packager to resolve this: https://pagure.io/releng/issue/12586. It is not clear if the reporter actually ever did.

Just providing context here, this is what one of the OBS maintainers said in Brodie Robertson's video [1] about this issue:

> Hi, Joel from OBS here, thanks for the coverage! I can confirm that we absolutely did not want to have to resort to this, but did not feel that they were taking the concerns seriously, and when they resorted to calling us "terrible maintainers" we felt they made their position clear. I'd like to also let folks know that Neal Gompa (who opened the request to remove the Flatpak in addition to ours) manages the RPM, and we do not, and have not, ever had any issues with the RPM which is packaged properly.

With that in context, I'd like to believe while still a bit hostile, it was necessary since they really didn't care about what's being asked here.

1: https://www.youtube.com/watch?v=dJJvq3dpylM

comment 1y ago · link · parent

it only seems right to mention them, after all they did have the most used JS implementation back in the day, even if it is barely used nowadays.

comment 1y ago · link · parent

> Citation needed - social media seems to be very bad for young people's health, if anything.

One would need citation for either claim honestly, there's plenty studies around the idea that social media actually doesn't have as much of an impact on mental health as people seem to believe, as well as the other way around. If we get more specific, people who have or are prone to certain psychological conditions do get aggravated by social media, but the same way that's true, it could be for anything else would there not be social media. In the end, what the comment says holds true regardless of how it may affect their long-term mental health

comment 1y ago · link · parent

This kind of comment always makes me wonder, are the people doing this doing well financially to afford cutting off all those "loose" connections with people like that? Because I couldn't imagine just destroying these relationships for no reason when I myself have benefited vastly from keeping them alive, even if barely communicating at all with these people.

I think this advice is generally harmful to networking as someone grows, which is vital in today's society

comment 1y ago · link · parent

> Surely the solution isn't to assume that JetBrains will do enough innovation in AI IDE features in the next year or two to prevent is wanting to try out all the other AI IDE innovation?

They kind of have been doing just that, their jetbrains AI assistant has an integration comparable to cursor's, just the model itself isn't as good which is a shame

comment 1y ago · link · parent

Interesting, I've never heard of Espresso, I've always just used Jetbrains Runtime[1] instead which is the successor of DCEVM[2] in a way. As for plugins I used HotswapAgent[3] at times however I found it to be rather clunky, does Espresso improve on this aspect?

1: https://github.com/JetBrains/JetBrainsRuntime

2: https://dcevm.github.io/

3: https://hotswapagent.org/

comment 2y ago · link · parent

> That rubric only works until sufficiently advanced LLM-generated HN posts are indistinguishable from human-generated HN posts.

if a comment made by a LLM is indistinguishable from a normal one, it'd be impossible to moderate anyway unless one starts tracking people across comments and see the consistency of their replies and overall stance so I don't particularly think it is useful to worry about people who will go the extra length to go undetected

12