HackerTrans
TopNewTrendsCommentsPastAskShowJobs

JavierFlores09

65 karmajoined 3 tahun yang lalu
just another java developer

comments

JavierFlores09
·5 hari yang lalu·discuss
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”.
JavierFlores09
·2 bulan yang lalu·discuss
Glad I wasn't the only one, my second thought was Dual Shock controller but that wasn't it either lol
JavierFlores09
·3 bulan yang lalu·discuss
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
JavierFlores09
·3 bulan yang lalu·discuss
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
JavierFlores09
·3 bulan yang lalu·discuss
my favorite online diff viewer so far is https://diffs.dev/, very straightforward. Diff2html looks cool too given it can work in terminal
JavierFlores09
·6 bulan yang lalu·discuss
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
JavierFlores09
·7 bulan yang lalu·discuss
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/
JavierFlores09
·8 bulan yang lalu·discuss
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
JavierFlores09
·9 bulan yang lalu·discuss
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
JavierFlores09
·10 bulan yang lalu·discuss
I like https://diffs.dev, it has a pretty sleek look and has an extension to make it the default diff view for github
JavierFlores09
·tahun lalu·discuss
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
JavierFlores09
·tahun lalu·discuss
> 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
JavierFlores09
·tahun lalu·discuss
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