HNHacker News
TopNewBestAskShowJobs

kasperni

4,212 karma · joined April 5, 2016

submissionscomments
kasperni··on [dead]
This article was flagged last time it was posted (by the same user) https://news.ycombinator.com/item?id=29212414
kasperni··on Don't start with microservices – monoliths are your friend
> It's hard to keep a hundred engineers excited about working in an aging Java stack when there's all these shiny new tools out there.

I think you can remove Java in that sentence.

kasperni··on The Matrix Is Unreal
Here is a link to the demo on youtube https://www.youtube.com/watch?v=WU0gvPcc3jQ for those who haven't got a box PS5/Xbox
kasperni··on NGS – Next Generation Shell
I don't have an opinion on the particular product. But I don't understand people who call a product something starting with "Next Generation". Such a name isn't really going to age well no matter how clever you are.
kasperni··on What This Professor Wishes People Knew About the Real Causes of Low Back Pain
His not saying his Yoga/Pilates/Stretching is universally bad. He is staying that some of the things that yoga and pilates recommend can actually make your problems worse.

Take, for example, the forward fold which I've seen recommend in a lot of places for desk workers that experience lower back pain. So you sit all day at your desk with your lumbar spine (lowest part of the spine) in flexion all day. After some years your back back starts to get a bit achy. Maybe a little disc bulge because your vertebrates are asymmetrically pressing on your disks for 10 hours a day. Doing a forward fold will only further aggregate any issues you might have. Because you have already spent 10 hours a day for years with your back in flexion. Flexion is your problem, not the solution. It is like have a sore thumb and then start hitting it with a hammer to try and fix it.

If you have backpain from sitting too much. Blindly starting to bend and twist your lumbar spine is not going to solve anything. In the worst case it will only make things worse. Instead do lots of core work with neutral spine and work on some hip mobility and try to rediscover those glutes you forgot you had.

kasperni··on What This Professor Wishes People Knew About the Real Causes of Low Back Pain
There are so many great resources on the Internet with McGill that is difficult to choose. But this video is a good introduction to his work [1]. It provides some background on his lab at University of Waterloo and what his learned from 33 years of research into the spine.

[1] https://www.youtube.com/watch?v=IyGaKuSzD_M

kasperni··on Ask HN: What is something important I should start doing in my 20s?
> I do power lifting and yoga

This is probably the last two kinds of sports I would combine. Especially if you are serious about any of them. You could really hurt your back down the line.

Generally powerlifters shouldn't do yoga [1]. Because in powerlifting you really want to stiffen your back so it can handle heavy weights. In yoga you are trying to "unstiffen" your spine so you can get into those flexible positions.

[1] https://www.youtube.com/watch?v=OFoYpaHJXMo&t=740s

kasperni··on Go does not need a Java-style GC
The foreign memory API which is currently incubating should help with most of these limitations: https://openjdk.java.net/jeps/419
kasperni··on A Tale of Java Hash Tables
As part of project Valhalla they did some performance tests with open addressing as well [1]. Result: java.util.HashMap was the best performing implementation most of the time.

[1] https://cr.openjdk.java.net/~skuksenko/valhalla/hashmaps/has...

kasperni··on Java and Scala’s type systems are unsound (2016)
Support for --illegal-access=permit was removed with Java 17.

But you can use "--add-opens=java.base/java.lang=ALL-UNNAMED" instead if you really want.

If you really want to shoot yourself in the foot. You can always go native...

kasperni··on Java and Scala’s type systems are unsound (2016)
> Now if you want to really abuse Java, try this one :

This is no longer possible out of the box after "JEP 403: Strongly Encapsulate JDK Internals" [1].

[1] https://openjdk.java.net/jeps/403

kasperni··on .NET 6 vs .NET 5 speedup
> .NET has been faster than Java on most of the benchmarkgame benchmarks for a while, since .net core 3 or so.

And which benchmarks games are those? If I go to to the Techempower benchmark and select only C# + Java. Java comes on top in every individual category of all the benchmarks.

I'm not claiming that Java is faster than .NET. Just that I don't believe one platform is significantly faster than the other.

[1] https://www.techempower.com/benchmarks/#section=data-r18&hw=...

kasperni··on FIFA seeks $1B+ (per 4 years) from EA for name usage
Sure it can generate tons of sale, but "best economics of any game franchise in existence."... [1] contains some numbers, Madden is probably placed around number 30 if you look at only the numbers for video games.

[1] https://en.wikipedia.org/wiki/List_of_highest-grossing_media...

kasperni··on An unprecedented wave of online bank fraud is hitting Britain
> What's always missing from stories like this is how the crooks get the money out.

It is in the article:

The fraudsters had told her to shift her "at risk" cash to an account on a cryptocurrency platform that they emptied - while isolating her from family by stressing secrecy and coaching her on how to respond to sceptical bank officials. "They knew the name of my financial adviser, they were utterly convincing as FCA staff," she said. "And they told me I could not tell anyone about the investigation as it would damage their efforts to catch the crooks."

kasperni··on FIFA seeks $1B+ (per 4 years) from EA for name usage
American football is a niche sport outside of the US. I've never heard of anyone playing Madden or seen it on any top sales lists.
kasperni··on An unprecedented wave of online bank fraud is hitting Britain
> The fraudsters had told her to shift her "at risk" cash to an account on a cryptocurrency platform that they emptied - while isolating her from family by stressing secrecy and coaching her on how to respond to sceptical bank officials. "They knew the name of my financial adviser, they were utterly convincing as FCA staff," she said. "And they told me I could not tell anyone about the investigation as it would damage their efforts to catch the crooks."
kasperni··on World food prices hit 10-year peak – FAO
> I’m actually not terribly worried about food prices being high.

No, but you are probably middle or upper class in a western country (I'm guessing the US). But there are other countries in the world where half of your income goes to food. For them rising food prices is a catastrophe.

kasperni··on Inuits have hundreds of words for sea ice (2013)
Here is the actual dictionary for those interested [1].

[1] https://repository.si.edu/bitstream/handle/10088/94115/kinik...

kasperni··on Europe’s energy crisis is about to go global as gas prices soar
Nothing conclusive, but some believe it is Russia squeezing the prices [1][2]. In order to get Nord Stream 2 started.

[1] https://www.ft.com/content/5ec6b18d-c855-408d-acad-cb5779d10...

[2] https://www.euractiv.com/section/energy/news/us-blame-russia...

kasperni··on Oracle Free Java License
> Are there technical differences or is it only licensing that's different?

From https://www.oracle.com/java/technologies/javase/17-relnote-i...

-----

Although we have stated the goal to have OpenJDK and Oracle JDK binaries be as close to each other as possible there remain several differences between the two options.

The current differences are:

- Oracle JDK offers "installers" (msi, rpm, deb, etc.) which not only place the JDK binaries in your system but also contain update rules and in some cases handle some common configurations like set common environmental variables (such as, JAVA_HOME in Windows) and establish file associations (such as, use java to launch .jar files). OpenJDK is offered only as compressed archive (tar.gz or .zip).

- Usage Logging is only available in Oracle JDK.

- Oracle JDK requires that third-party cryptographic providers be signed with a Java Cryptography Extension (JCE) Code Signing Certificate. OpenJDK continues allowing the use of unsigned third-party crypto providers.

- The output of java -version is different. Oracle JDK returns java and includes the Oracle-specific identifier. OpenJDK returns OpenJDK and does not include the Oracle-specific identifier.

- Oracle JDK 17 and later is released under the Oracle No-Fee Terms and Conditions License. OpenJDK is released under GPLv2wCP. License files included with each will therefore be different.

- Oracle JDK distributes FreeType under the FreeType license and OpenJDK does so under GPLv2. The contents of \legal\java.desktop\freetype.md is therefore different.

- Oracle JDK has Java cup and steam icons and OpenJDK has Duke icons.

- Oracle JDK source code includes "ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms."

- Source code distributed with OpenJDK refers to the GPL license terms instead.

kasperni··on Java 17 / JDK 17: General Availability
Some other news in relation to the release:

- (Proposal) Moving JDK LTS versions to a two year cadence [1]. Java 21 will be next LTS instead of Java 23.

- Oracle JDK is now free for commercial and production use [2].

- A new Java developer site [3].

[1] https://mreinhold.org/blog/forward-even-faster

[2] https://blogs.oracle.com/java/post/free-java-license

[3] https://dev.java/

kasperni··on Become a Copenhagen Suborbitals Supporter
Copenhagen Suborbitals' achievements include [1]:

- Most powerful amateur rocket ever flown.

- First amateur rocket flown with a payload of a full-size crash test dummy.

- First Main Engine(s) Cut-Off (MECO) command sent to, received and performed by an amateur rocket.

- Handling and orchestration of a sea launch, by a small-budget organization.

[1] https://en.wikipedia.org/wiki/Copenhagen_Suborbitals

kasperni··on Chinese activist Ai Weiwei says Credit Suisse closing foundation's bank account
> Chilling, and I suspect that western governments will do very little to prevent this kind of extra-territorial control exerted by the CCP.

The US literally locks down countries that they think misbehave.

kasperni··on Watch Windows 95 crash live as it exceeds 49.7 days uptime [video]
Wasn't alive to watch the first moon landing. But I feel this must be up there with it.
kasperni··on The Sweden experiment: how no lockdowns led to mental health, healthier economy
Of course they have an effect. Take, for example, the UK. All three local peaks of covid deaths (Apr 20, Nov 20, Jan 21) all came exactly 2-3 weeks after each of the 3 national lockdowns.
kasperni··on The prices hospitals negotiate with private insurers for patient services
Not only is it the most expensive. It is also a lot less efficient than most other countries [1][2].

[1] https://www.commonwealthfund.org/publications/fund-reports/2...

[2] https://www.washingtonpost.com/world/2021/08/05/global-healt...

kasperni··on GitHub Discussions is out of beta
https://github.com/vercel/next.js/discussions
kasperni··on ZeroVer: 0-Based Versioning
ZeroVer is satire [1].

[1] https://0ver.org/about.html

kasperni··on What China Wants and Why
What I was trying to say was that the author completely misses the point about crackdowns in Tibet and Xinjiang. This has nothing to do with external threats to the Han population. And everything to do with internal threats to the integrity of the empire instead. Runaway provinces must be kept in order. That's how it has been for centuries.
kasperni··on What China Wants and Why
Few things in that article make any sense. Buffer regions? Who exactly is going to start a land invasion of China? And a land invasion through Tibet, the roof of the world?
← PreviousPage 7 of 19Next →