HN Simulatornew | past | comments | lists | submit | jgon's commentslogin

I didn't make a post to complain back in the day because I generally support the mission of framework, but I initially ordered a framework 13 from them a few years ago. It arrived with a broken display. I spent probably 2 weeks emailing back and forth with support, re-seating display cables, formatting the machine, taking more photos and sending more emails. I had an epiphany one evening where I was bent over the open shell of the laptop with my phone out taking video. "I sent these people two thousand dollars and they sent me a machine that doesn't work, and I'm spending my evenings trying to convince them to fix it". My next email said that I wanted to take advantage of the 30 day refund period and would be sending the machine back. Suddenly support was immediately willing to send me a new display! I thought about it, and maybe that would have made everything work, but I was so fed up at that point that I said no, just give me my money back. I took that refund and immediately bought a system76 machine. Its plasticky, cheap feeling, and the fan goes crazy (although that got much better like 18 months later with the full pop_os release), but it fucking worked on day 1, and continues to work to this day.

Really the biggest thing to come out of this whole odyssey is to convince me just how good macbooks truly are, as I look over at my wife's silent behemoth of aluminum as it rips through things probably at 2x the speed while getting 3x the battery life for 1.2x more money. But I'm a fool who's still romantic about linux and supporting smaller firms and open source, so I make do. I had hoped that framework would have improved and that my experience was just early growing pains from a young company, and maybe my next machine would be from them, everyone deserves a second chance! So its pretty disappointing to see that things are still this way years later.


It's been probably 15+ years since I visited this site, but waaaaay back in the day they had a pretty compelling lineup of politics, culture, and because they were trying to jump on the web explosion in the 2000s, tech. So I'll post this article, a tribute to one of the great tech writers of all time, W. Richard Stevens. Who would have thought that you would get choked up reading about a person who wrote guides for programming Unix (among other things) but I did when I read this. The early web was a fun time.

https://web.archive.org/web/20120217111837/http://www.salon....


Too many people don't have knowledge of Bret Hart and this comment being grey shows it.


It's an interesting question about how to prepare your child for the coming economic precarity induced by AI and its impact on intellectual work. I guess one idea could be to create an AI startup so that you can make a bunch of money and insulate yourself and your family from these impacts, which is indeed what the author is doing (https://www.val.town/).

Another thing that would be helpful would be coming from wealth where you could attend an elite prep school like the Pine Crest School, tuition roughly $45,000/yr which is close to the entire median yearly take-home salary for an individual in Florida, which is of course the author's background.

Honestly, I am so tired of reading AI articles from people with very low stakes that basically end with stuff like "Spaceship Earth – we’re all in this together; let’s take care of each other and our planet". Dude I fucking would love that to be the case, in the meantime I'll be figuring out how to put food on the table and help my kids find a place to live.


I completely agree. I know that there has been some work on command line ergonomics for this stuff, but my hope is that after the bulk of the Leyden work is done, another project starts up aimed at unifying all of the various disparate tools that modern Java now has. You have training runs to generate bytecode/compiled code, you have jlink to create a distributable JRE for your app, leaning on jdeps and various other tools to correctly create it, you have the venerable jar file, but all in all the process of actually getting a java project ready to distribute in a way that doesn't presuppose a relevant pre-installed JRE on the user's side, and which takes advantage of the various facilities available to modern Java is still a pretty bespoke and painful process.

Compared to Go and Rust, and just throwing a static binary to someone or some server, Java kind of sucks. And that's unfortunate because the language, the runtime, and even the dependency situation all feels pretty competent, there's not some huge gulf that makes Java "old". Its really just the every about setting up a project and then distributing it, so the "start" and "end" of a project, that currently sucks, and I fear that so much of the great work the Java team is doing is going to go largely unused if they don't work to make it easier for the average developer to utilize it.


Are you describing jpackage? I'm not sure how you would make it less bespoke, given you are essentially creating a Java runtime for your program. Maybe the Java folks could tree-shake the runtime for you so you wouldn't have to care about their weird module system, but it's not the worst thing to learn.


jpackage is heavily oriented around installable artifacts, it creates a .deb or .rpm for Linux for example. So if I wanted to throw someone a cli utility I can literally just send them the binary if I’m working in Go, whereas Java they need to use dpkg to install the deb. This somewhat complicates building a docker image as well. It’s the same story for windows and Mac as well. If I’m creating a Swing app or something similar this is very convenient but anything else and jpackage isn’t ideal. Not to mention that I don’t know what the integration is currently with jpackage and the aot cache that Leyden produces but I’m guessing it isn’t super straight forward.

I’m sure that all of this stuff can be strung together after spending a suitable amount of time trolling through the documentation of the individual tools, but it’s far cry from go build and cargo build, and I think it would be great if Java could narrow the gap in this aspect.


One could also just use jlink and extract the zip file that it produces.


It would be nice if jpackage could bundle the generated AOT configuration data along with a custom action in the MSI package to run the machine-dependent AOT compilation step at install time.


Jpackage or jlink should be extended to support creating AppImages.


It already supports that, try running "jpackage --help".


Not really; `-type app-image` merely runs jlink and is intended to let you edit the bundle before calling jpackage again and create the installer. You need the tools from appimage.org for the final step.


Ugh, that's a pretty bad name collision.


What would be in your ideal tool?

I have a company that makes Conveyor, which is very good at distributing JVM apps. It's primarily meant for desktop apps and replaces jpackage with something that can cross-build, make apps self-updating, auto-minimize the bundled JDK and so on.

Adapting it for servers is something I think about sometimes, and in fact it does already support that to some extent, but it produces debs for that use case.

It's just sort of unclear what JVM developers lack here that isn't already solved by build tool plugins and Docker. Or are you thinking about CLI tooling? Because I have something cooking for that which might be pretty nice.


My ideal tool would be less tooling, which I know is not a great answer. But what I mean by this is that I can probably cobble together a build pipeline that handles most of this stuff if I spend enough time working with Gradle. And the reality of Java's popularity in the enterprise means that its build tools generally orient around builds that can be crazy and bespoke and so immense flexibility is usually needed. I totally get that need, and I'm not begrudging any of that work.

I'm speaking more from my view as just an individual Joe Sixpack developer. If I'm not developing an enterprise behemoth, and let's just say I want to whip up a command line utility to do some image processing, or network communication, etc, Java's fantastic standard lib and ecosystem means I can do all of that pretty easily. But when I want to distribute that, what does it look like? What comes out the other side of the CI build? I have to integrate jlink with gradle, which is kind of a pain, I have to somehow integrate a training run and then package up the aot cache output and make sure that the directories are handled properly, and what do I ship to the user? A tar/zip file that they have to somehow copy and decompress to the relevant directory, maybe with #! file in .local/bin to get it on the path? By contrast the situation with Go or Rust is immensely easier, even if that actual development process may almost be harder because I have to spend time faffing about deciding which image library to pull in for Go, or dealing with async for Rust. But once that is actually done, I just ship the binary and simply copy it somewhere to get it on the path, and I never have to worry about reading gradle/maven docs or anything like that.

So I'll finish by saying that my ideal build tool is probably not a great one. What it is crucially is a simple one. I think that's that gap right now, that Java has these huge, immensely powerful and general build tools, build tools that I am guessing eventually gain equivalents in the Rust and Go worlds when projects grow old and gnarly enough to require a bunch of custom build stuff, but it doesn't have baby's first build tool like go build and cargo, where you can just get an idea and start building and come out the other side with an artifact and 0 time spent on thinking about the build system, until you actually need the kind of complexity that maven and gradle provide. Give me a build tool that assumes the standard src/ and test/ directory layout, then builds everything into some sort of archive file, creates a minimized JRE to run it, accepts an argument for an aot.cache file location, or for the more difficult option runs the program to generate that file and then bundles it up with the archive, bundles all the libraries that I've pulled into the project up into the archive along with all the resources declared for the project as well, and then spits out a single file artifact that I can immediately use and run. Give me a build tool that I don't even realize is there until I actually need that complexity.

I understand if this is vague and not a great answer, and I also appreciate all the work you've done for the Java community, so thanks for replying.


Yeah, I agree the situation for CLI apps specifically could be a lot better, especially as the complexity keeps going up.

Native Image does produce single binaries in many cases, but what we need here is a much better tool in general. Actually I'm working on one right now, although it's not JVM specific. Want to take a look?


Its also described as a provincial problem but all of the provinces receive a substantial amount of funding, particularly for healthcare, via the federal government. People say "oh its the provinces fault, they just need to spend more", and then don't reflect on how much room there is for increased taxation, and particularly how much taxation the federal government currently applies. By far the most tax I pay as a Canadian is in the form of federal taxes. Of course, a bunch of this money does find its way back to the province, so the waters are a little muddy, but the federal government has been repeatedly downloading costs onto the provinces, while doing very little about its own spending. The Chretien government in particular did massive downloading of costs to the provincial governments, although their hand was forced by Canada's fiscal situation at the time. So simply saying, oh well the provinces need to step up, is an easy deflection from what is a pretty thorny problem. If the responsibility really is up to the provinces, then why does the federal government need all this money? If the feds are going to continue scooping up the lion's share of tax revenue then they need to continue helping to fund the various provincial responsibilities.


You've come into this thread, which is about an article where a doctor talks about insurance denying care for her husband, ultimately resulting in his death, to basically say "This doesn't prove anything, and also in systems with government provided healthcare the same thing happens, the AI said so, so what can you do!?"

I just can't even imagine what your response would be to writing about your own experience in the legal profession, about a deeply hurtful or traumatic issue that happened to you, and then having some joker come in and post an AI transcript to basically say "I have no actual experience or expertise in your field but the bot says you're wrong".

What are you even hoping to contribute to this thread? You've done no work of your own, you seem to have barely understood the events described in the article, and you've attempted to immediately make it a political issue by bringing in a foreign government's healthcare system and deflecting. This is geniunely one of the least helpful things I've ever seen written by an ostensible "long-time contributor" to this site.


The article doesn't just tell a story about one person, it makes a general point about the healthcare industry. The title is: "My husband’s suicide shows there’s something very wrong with the U.S. insurance industry."

How else are you supposed to evaluate the author's conclusion, other than to compare it to how other healthcare industries handle similar situations?


Why don't you ask it if there are similar personal stories to this happening in other countries?


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: