HNHacker News
TopNewBestAskShowJobs

hankman86

452 karma · joined July 6, 2021

submissionscomments
hankman86··on Ask HN: Does Java need a modern Java UI toolkit for desktop/web?
The effort is laudable, but ultimately futile. The world has moved on from Java on the client. It is now largely relegated to a backend language for enterprise applications. Nobody really wants the heavyweight mess that is the JRE on the desktop when other frameworks do a better job. There was a case for Java-based desktop apps in the 1990s/2000s when browsers were slow, desktop UI toolkits were generally terrible and lacked cross-platform capabilities. But this was then and now is now.

So no, a new UI toolkit is not going to revive Java in the mainstream.

hankman86··on Updates to Google Cloud’s infrastructure capabilities and pricing
This seems like GCP is shifting its strategy away from trying to win more market share and catch up with Azure, AWS, Tencent. Perhaps they realised that this is futile and not are now focussing on revenue, milking their existing customer base.
hankman86··on YouTube suspends The Hill for playing clip of Trump denying election results
Agree - I don’t need some “ministry of truth”. Figured out for myself that these “alternative” news shows on YouTube (The Hill, Breaking Points etc.) are populist garbage. This isn’t journalism, but sensationalist cherry-picking of facts with an unhealthy dose of opinion sprinkled on top.

All that being said: i think that censorship does way more harm than whatever nonsense these channels put out.

hankman86··on Namecheap: Russia Service Termination
It’s the regular folks who could wake up from their comfy lethargy and actually protest their government.

Yes, economic sanctions have limited potential to actually topple a totalitarian leadership. With Russia, the concern goes deeper. This country is armed to the teeth and poses a massive threat to Europe. Hence, the point of these sanctions is very much to also weaken the Russian economy and curb its capacity to finance more wars.

hankman86··on Namecheap: Russia Service Termination
The point is very much to create additional cost and disruption for the Russian economy. Namecheap’s step doesn’t do much in this regard, but perhaps it convinces other services to follow suit and stop doing business with Russian entities. After all, it’s the Russian economy that pays for the war. Whatever creates a competitive disadvantage for a Russian companies will subsequently harm their revenue stream and the tax they’re due.

For the record: Nobody with a sane state of mind believes that the Russian people are “evil” or guilty of their leadership’s atrocities in Ukraine. They just happen to be the subjects of an authoritarian government and an onslaught of propaganda. At best, one could say that far too many are complicit and too few stand up to Putin. But admittedly, it’s a tough ask for people to protest a government that murders journalists and poisons opposition politicians.

hankman86··on What’s the appeal of deep voices in men?
Deep sounds travel further. I wonder if this made better leaders during hunter gatherer times. Like to command your tribesmen by yelling to them and attack that mammoth from behind.

Or it’s simply that deep voices mean a larger pharynx, which is a proxy for more testosterone.

hankman86··on Light to moderate coffee consumption is associated with lower risk of death
It’s evidently good for you when drunk in moderation. Why would you want to ban it? It’s nothing like alcohol or tobacco. It also doesn’t lead to a dose increase or becoming seriously addicted.

For me, coffee isn’t only the welcome stimulant in the morning. It’s also childhood memories of the smell of Sunday morning breakfast at my grandparents’ place.

hankman86··on I reversed a Node.js malware and found the author
Why did you redact the identity of the scammer? Please name and shame them! These people need to be called out and it seems like you’ve got irrefutable proof.
hankman86··on Pay attention to WebAssembly
Oh, I have implemented wasm multi-threading both in-browser and on a node server. On the latter, it uses node's "Worker threads" API, which is very similar to in-browser Web workers. In either case, `SharedArrayBuffer` serves as the backing store for the (shared) `WebAssembly.Memory`. Wasmer is different and more like what WebAssembly should offer as part of the standard. Alas, that's not how wasm works in-browser.

But anyway, I think you confuse my point: the very fact that threading isn't fully covered by the core wasm programming model, but relies on a "hybrid" approach where the embedder needs to plug in those capabilities is a problem. Before wasm, I used Google's PNaCl quite heavily, which didn't suffer this problem and was fully self-contained.

hankman86··on Pay attention to WebAssembly
Neither was Java at the time when browsers had support Java applets. At a closer look, Java Applets suffered from much of the same problems that plague WebAssembly.

Like the inability of interact with the DOM (or other browser APIs) without calling out to JavaScript.

Or the fact that you had to split up the code on your side into a JavaScript part (these days, perhaps transpiled from Typescript) and a part that was Java code then and is now Rust or C/C++ in case of WebAssembly. It goes without saying that these are very different developer experiences with virtually no overlap in toolchains and programming languages.

Oh and of course even WebAssembly suffers from browser fragmentation. Not only will performance be different, depending on whether you run your wasm module in Chrome, Safari or Firefox. These browsers do also not implement the same feature set (atop the basic wasm MVP). Like Safari doesn’t have SIMD. Other important additions (like tail calls, garbage collection and others) are also not yet universally supported.

For the sake of WebAssembly I do hope that they’ve learned their lessons from why Java applets (and Silverlight, Flash, PNaCl) all failed.

hankman86··on Pay attention to WebAssembly
There are many things to love about WebAssembly, but let’s not forget it’s downsides. Like it’s threading model relies on Web workers and SharedArrayBuffers and is a royal pain in the … to work with. Not to mention that you’ll need to become COOP/COEP compliant to mitigate side-channel attacks.

Then there is the plain fact that it requires a compilation step, which is OK for large apps. But it makes me wonder if wasm really is the natural replacement for JavaScript in serverless cloud apps (aka “FaaS”).

So yes, WebAssembly has potential and is almost without an alternative for in-browser apps that do some heavy compute. But I am less convinced about server-side. Time and again, we’re told how great portability across architectures supposedly is. And time and again, the only cloud architecture that matters is x86-64. Maybe ARM or even RISC-V in some cases, but let’s not fool ourselves about these niche platforms.

hankman86··on 90% of US has a poor diet, and 25% don’t exercise
True, but it’s often correlated. Show me the obese person who vigorously exercises but then chooses to overeat. Let’s face it: most obese people do not exercise at all and then eat way too much on top of that.
hankman86··on 90% of US has a poor diet, and 25% don’t exercise
It’s definitely not good. Having a healthy weight means that exercising should come easy for you. And it’ll protect you from cardiovascular diseases, enhance your mood, boost your endorphins and sex hormones and turn you from skinny to toned.
hankman86··on 90% of US has a poor diet, and 25% don’t exercise
I would have expected these numbers to be the other way around: 90% don’t exercise and 25% eat a poor diet.

But I guess very little counts as exercising (like talking a walk).

hankman86··on Nova by Panic
My biggest concern about this editor is actually the lack of cross-platform support. At our company, developers use a mix of Linux desktops, Windows PCs and Macs. And I think that’s actually an asset. Why force everyone onto the same platform? Developers know best what technical setup they are most productive with. Not to mention that being able to share settings and launch configurations across platforms is a big plus in favour of VSCode.

I totally get the performance argument. That’s why I will never use a Java-based IDE again. Like JetBrains IDEs are just painfully slow where every key stroke has this additional lag before something appears on screen. But thankfully VSCode isn’t like that. Whatever upside another editor might be offering wouldn’t make much of a difference for me.

I fear that the days of native productivity apps are over.

hankman86··on Make the “semantic web” web 3.0 again – with the help of SQLite
Btw, it’s funny how the failed “semantic” web is now labelled Web 3.0
hankman86··on Completing a part-time Master's in computer science while working
Assuming that you could have landed the job at Google without studying part-time (could you?), I’m a bit baffled by your experience. Unless your degree really propels you in your career (read: your employer values academic degrees over experience), couldn’t you have learned those skills without putting up with the cost and timely investment of formally enrolling for a master’s degree? I’d even go as far as to say: in your late 20s/early 30s, it pays off more to put in the hours at work and to start a family in what’s left of your days. Companies like Google ought to offer great ways to learn “on the job”.
hankman86··on Make the “semantic web” web 3.0 again – with the help of SQLite
Not going to happen. The reason for the Semantic Web never taking off were never technical. Websites already spend a lot of money on technical SEO and would happily add all sorts of metadata if only it helped them rank better. Of course, many sites’ metadata would blatantly “lie” and hence, the likes of Google would never trust it.

Re exposing an entire database of static content: again, reality gets in the way. Websites want to keep control over how they present their data. Not to mention that many news sites segregate their content as public and paywalled. Making raw content available as a structured and query able database may work for the likes of Wikipedia or arxiv.org. But it’ll not likely going to be adopted by commercial sites.

hankman86··on France latest to slap Clearview AI with order to delete data
There are ways. How about: arrest ClearView top brass on their next visit to Europe? Remember the Huawei heir who got sent to jail on a trip to Canada. Do the ClearView head honchos really want to be confined to travelling within the US? So while it might be difficult to go after ClearView in the US, France (and the rest of the EU, the UK, Canada, Australia) would become no-go zones for ClearView staff. Not to mention that these countries could also seize assets owned by ClearView leadership, as long as these are within their jurisdiction. In an interconnected world, it is exceedingly difficult to avoid such scenario.

The question is rather: would the US step up and put pressure on the French if events would unfold in this way?

hankman86··on Someone attached an AirTag to my car while I was in a bar
Maybe that’s because none of these reports were actually true?

Honestly, AirTags invading on people’s privacy are the latest fad. And as with any story about the dangers of “Big Tech”, they make for good headlines. Only that nobody bothers to do some basic due diligence on the truthfulness of these reports in the first place. This one is littered with nonsensical facts that makes me not believe in this story for a second.

Which has nothing to do with the fact that there is indeed abuse potential with Apple’s AirTags.

hankman86··on Someone attached an AirTag to my car while I was in a bar
Good point, but may I add 5) AirTags are a very expensive way of stalking someone. Surely, there may be some creeps willing to put up this sort of money. But some random guy who sees her on a night out and who happens to have an AirTag with attached magnet with him? And if that was indeed the case, wouldn’t there be some pretext to this, like someone hitting on her that night and she turned him away? She doesn’t mention anything in this regard.

So no, this story doesn’t line up and looks more like cheap attention grabbing at the expensive of a real problem with Apple’s AirTags.

hankman86··on Someone attached an AirTag to my car while I was in a bar
While it’s theoretically possible that this happened, I think this particular story was made up. For a number of reasons: 1) How did the stalker know that that’s her car? She said she was on a night out. Unless she went back to her car all the time, he must have seen her arrive in it. 2) Sticking an AirTag to the inside of the front wheel well isn’t easy. There is dirt and grime there and the surfaces aren’t flat. The stalker would have had to use a very strong adhesive to make the AirTag stick while the car was moving. 3) While it’d be a smart idea to not drive home while a foreign AirTag tracks you, who is alert enough after a night out AND happens to have friends in the vicinity that you can wake up at what must have been a very late hour? 4) Her friend who found and removed the AirTag took no photo. Really?
hankman86··on Open letter to Mark Zuckerberg: act now on child and adolescent mental health
The internet and social media aren’t the same. Heck, it’s not even an inherent principle of social media to be the manipulating, exploitative and addictive garbage that is Facebook. The bad things happening on Facebook aren’t a coincidence, but very much an expected outcome of a) deliberate and malicious design decisions and b) the centralised platform economy that social media companies rely on.

Hence, legislation shouldn’t target individual companies, but “features” that harm people or lead to bad outcomes for society at large. One such example is Europe’s GDPR, which imposes some fundamental limitations on what companies can and cannot do with their users’ personal data. And as negative consequences of poor social media design becomes more apparent, legislators must expand on that and ban more of the malicious practices that are at fault.

hankman86··on Open letter to Mark Zuckerberg: act now on child and adolescent mental health
I fully agree. Its too easy for parents to be out of step with the latest fad that unscrupulous social media CEOs push on our kids. Not to mention that social media isn’t just bad for children and teens. It’s bad for everyone. Forget the benefits. Need reminding of your friends birthdays? Get a calendar.

It may take time for the US to deliberately damage national champions like Facebook and Google. Other countries will be less patient to act. I cannot imagine democratically elected governments idly standing by as Facebook drags their people into a dystopian Metaverse where there’s no more escaping the misinformation and manipulation that’s already rampant on current-generation social media platforms.

hankman86··on GitHub Copilot is ‘unacceptable and unjust,’ says Free Software Foundation
I’d imagine that GitHub will end up re-training Copilot, excluding any “copyleft” licensed code. Not because what they do is legally tainted, but to avoid being berated by the FSF and the bad press that ensues.

Once again though, the FSF makes “free software” less relevant and harder to use. Who will want to use such software for anything when being threatened with costly litigation and bad press?

hankman86··on Our lawsuit against ChessBase
The more relevant question is: who is backing them and what do they hope to get out of this lawsuit? I wouldn't be surprised if this is paid for by some venture fund and that they are seeking financial compensation of some sort. I call BS on them trying to somehow helping the open source community by dishing out lawsuits. It's rather doing the opposite. Anyone using GPL-licensed software is going to be dead-scared to get sued by some copyleft fundamentalists.
hankman86··on Our lawsuit against ChessBase
Goes to show that the GPL is a fantastic source of revenue for law firms. I can only hope that they don't settle and we get a court ruling that offers some legal interpretation of the GPL.
hankman86··on HaikuOS running on RISC-V hardware (HiFive Unmatched)
Other than BeOS nostalgia: is there any good reason to prefer Haiku over [name any modern Linux distribution]? I can see that it’s fun to hack on an OS and make it your own. But is Haiku actually known to do anything particularly well that other operating systems struggle with?
hankman86··on All public GitHub code was used in training Copilot
Google search would be hard to replace. In fact, if Google search was turned off over night, the world would probably see a major economic downturn, caused by a sudden drop in productivity.
hankman86··on All public GitHub code was used in training Copilot
It’s also a huge call for innovation. When a student learns to code, (s)he doesn’t need to analyse millions of Git repositories to get good at it. Throughout their entire career most developers will probably only see comparatively little code. Perhaps the equivalent of the Linux kernel, if that. And yet, we’re able to learn from the little we see and get reasonably good at coding. It even stands to reason how much better one gets by reading more code (most of which is pretty crappy anyway).
← PreviousPage 6 of 7Next →