HNHacker News
TopNewBestAskShowJobs

papercrane

1,797 karma · joined February 19, 2009

submissionscomments
papercrane··on Java 21: The Nice, the Meh, and the Momentous
Currently virtual threads aren't a good match if you have a CPU heavy workload. The scheduler isn't fair and if your code doesn't enter into any blocking code it won't be unmounted from the carrier thread.
papercrane··on Java 21: The Nice, the Meh, and the Momentous
I suspect if we had records from the start they'd be all over the stdlib, but because of backwards compatibility they'll likely only be considered for new APIs.
papercrane··on Facebook is blocking Canadians’ posts on the assassination of a BC Sikh leader
He's since changed his position and is saying Trudeau should release more information publicly. For context Poilievre has refused to get security clearance, so it's unlikely he's seen the whatever evidence CSIS has.+

* https://nationalpost.com/news/politics/poilievre-trudeau-har...

+ there's a lot that's been written about his refusal. The short of it is that his position is that part of the process is he needs to promise not to reveal anything he sees and he has said that could interfere with his work as leader of the opposition.

papercrane··on JDK 21 Release Notes
It was explored a bit in a blog article with some sample code. One big issue with this approach right now is that the scheduler is not officially user replaceable. It's possible using reflection to do so though, at least is was in 2022, the internal code may have changed since then. There's been some indication from the OpenJDK team that this might be an officially supported feature in the future.

Blog article: https://jbaker.io/2022/05/09/project-loom-for-distributed-sy... HN discussion: https://news.ycombinator.com/item?id=31314006

papercrane··on So let’s talk about this Wayland thing
For Discord you can try XWaylandVideoBridge.

https://invent.kde.org/system/xwaylandvideobridge

I don't think there is any solution for PyAutoGUI at the moment. Likely would require a lot of changes to their code.

papercrane··on So let’s talk about this Wayland thing
I'm not sure how widely supported it is, but Wayland has a protocol to support turning off v-sync.

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/m...

papercrane··on Masked 'boot girls' are freeing booted cars in Atlanta
It isn't entrapment. Entrapment is when the government induces you to commit a crime that you weren't inclined to commit.

Good comic from a lawyer on the subject: https://lawcomic.net/guide/?p=633

papercrane··on Arm IPO to kick off today
For AMD the primary driver was IBM.

In order to get the contract for the IBM PC, Intel had to agree to have a second-source manufacturer for their CPUs. Intel already had a relationship with AMD so it made sense to use them.

papercrane··on Arm IPO to kick off today
Originally Cyrix did not license from Intel. Intel sued for patent infringement and lost badly enough they had to give Cyrix a few million to settle their counter claims.

Cyrix has also sued Intel over their Pentium chips. In the end the results of all the lawsuits are cross-licensing deals.

papercrane··on Painting wind turbine blades black help birds avoid deadly collisions (2020)
Here's a 2004 study looking at that question https://www.pnas.org/doi/10.1073/pnas.0406930101

The answer is that it would take a lot and is dwarfed by GHG climate change.

papercrane··on Police Seized Innocent Peoples Property, Kept It for Years. What Will SCOTUS Do?
The police in NYC have rioted because the mayor was proposing a civilian oversight board to investigate misconduct.

https://en.wikipedia.org/wiki/Patrolmen%27s_Benevolent_Assoc...

papercrane··on Honda targeting 50% weight reduction with EV solid state batteries
Toyota released the Prius first, but it was exclusive to Japan until 2000. The Insight was available in North America first by few months.
papercrane··on Study: Carbon offsets aren’t doing their job, overstate impact
The deference to local levels here is simply pragmatic. Constitutionally the environment is a provincial government responsibility. The Federal backstop is only legal because of the "peace, order, and good government" clause of our constitution.
papercrane··on Study: Carbon offsets aren’t doing their job, overstate impact
This is essentially the Canadian model. The federal government mandates that every province must put a minimum price on carbon. If they don't the federal program puts a direct price on carbon and rebates the residents of the province directly. About 90% of the money goes directly to residents and the other 10% is directed by the federal government to programs within the affected province, for example in Ontario they used the money for energy retrofits of public schools.

https://www.canada.ca/en/environment-climate-change/services...

papercrane··on Jacobin: A more than minimal JVM written in Go
Correct, it might, someday, become part of Java SE. If that ever happens I would expect it working on every platform Java supports would be a prerequisite for that.

Right now it's primarily useful for reducing start up times in AWS Lambdas and auto-scaling workloads.

papercrane··on Jacobin: A more than minimal JVM written in Go
The modules system is for better encapsulation and the ability to produce a JVM without features you don't need.

Faster start up time is in the works with projects like coordinated restore at checkpoint which will let you start a JVM up in an already "warmed" state.

https://github.com/CRaC/docs

papercrane··on Electrolyzer efficiently converts CO2 into renewable propane fuel
> Not sure how natural gas is stored though.

Mostly stored underground, but it's also shipped and stored in a liquefied state at -162C. Propane is one of the components of natural gas, so I would think any facility that is able to store natural gas should be able to store propane easily.

papercrane··on Transcoding Latin 1 strings to UTF-8 strings at 12 GB/s using AVX-512
The latest Intel architecture (Sapphire Rapids) support it without downclocking. AMD Zen 4 also supports it, although their implementation is double pumped, not sure what the real world performance impact of that is.
papercrane··on NetMaker: Connect Everything with a WireGuard VPN
That provision is intended to exclude licenses that say things like "you must show a modal GUI window crediting this software" which would exclude the software from being used in a server application, library or command-line interface. Or a clause like "you must provide a copy of this software on a zip-disk if asked", which over time would become increasingly hard to do.

The AGPLv3 is not predicated on a particular technology or interface so it doesn't run afoul of this. You can use it in networked software, or un-networked software. If a license said something like "you cannot use this for software that users interact with over a network" then it would violate this principle.

papercrane··on NetMaker: Connect Everything with a WireGuard VPN
That article is obfuscating why the license was going to be rejected by the OSI. The OSI has as part of their definition of open-source that there can be no field of use discriminators. It had nothing to do with the fact that it was drafted by a commercial company. OSI has approved plenty of licenses drafted by for-profit companies (e.g. Intel, IBM, Microsoft.)

https://blog.opensource.org/the-sspl-is-not-an-open-source-l...

https://opensource.org/osd/

papercrane··on NetMaker: Connect Everything with a WireGuard VPN
The short answer is SSPL has field-of-use restrictions, the AGPL does not.
papercrane··on Java 21: First Release Candidate
It largely doesn't affect Kotlin's coroutines. Kotlin targets platforms where Loom is not available (e.g. Android, native.)

As a developer if you're targeting the JVM with virtual threads you may decide to use those for some workloads instead of coroutines.

In the future when targeting the JVM Kotlin maybe can use the features exposed by Project Loom to execute coroutines more efficiently, but it's not clear to me that there's much for Kotlin to gain there, maybe some small gains in performance.

papercrane··on Small Kansas newspaper says co-owner, 98, collapsed and died after police raid
Probably not at the level that the commentator was referring to, but in New Orleans in 2019 an elected sheriff, Randy Smith, had a man arrested after he criticized his office's handling of a murder investigation. This was despite the DA explicitly telling them that the criminal defamation law they were trying to use was ruled unconstitutional when applying it to criticism of public officials.

https://www.wwltv.com/article/news/crime/us-court-of-appeals...

papercrane··on CIQ, Oracle, SUSE Create Open Enterprise Linux Association
I think it's because they used the trademark "Oracle" so they just included Oracle's standard trademark disclaimer.

If you search for that paragraph, you'll find lots of examples of it being reproduced verbatim.

papercrane··on B.C. woman buried in Amazon packages she did not ask for and does not want
It's not legal. Canada has a negative option billing law that says they need your express consent to charge you.
papercrane··on Java 21: What’s New?
It kind of reminds me of JS tagged templates syntax.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

papercrane··on Intel Arc A580 could be the next great affordable GPU
Nvidia can't do a translation layer. Back around 2010 Intel and Nvidia were suing each other, the settlement agreement specifically said Nvidia wouldn't produce anything like that
papercrane··on LK-99: Team of Southeast University observed zero resistance below 110 K
In their sample they measured no resistance below 110 Kelvin. After 110 Kelvin resistance increased, although there was a weird dip in resistance around 225-250K that they can't explain (maybe instrument error.)
papercrane··on Australians fight for the right to work from home permanently
The article isn't about government regulations. It's about employee unions making agreements with the employers for WFH policies.
papercrane··on Unicode Character “𝕏” (U+1D54F)
Some logos can be copyrighted. Most logos however don't meet the threshold of originality. The Copyright Office will reject copyrights for stylized letters (see IBM logo), or logos of simple geometric shapes. With the modern aesthetic for logos to be as simple as possible this means nearly all the logos you see are not copyrighted.
← PreviousPage 6 of 16Next →