HackerTrans
トップ新着トレンドコメント過去質問紹介求人

papercrane

no profile record

コメント

papercrane
·9 日前·議論
I have an Ergodox EZ for work, and I love it for that, but for my gaming I just use a typical keyboard, I couldn't get used to it for gaming.
papercrane
·22 日前·議論
Yes, because auto-boxing is just compiling to Integer.getValue under the hood, the bytecode for Integer.getValue(1) and ((Integer) 1) is the same. They'll both compile to something like:

   iconst_1
   invokestatic java/lang/Integer.valueOf:(I)Ljava/lang/Integer
papercrane
·22 日前·議論


    new Integer(10) == new Integer(10) // true
Before value classes this would always be false. The only time comparing Integer objects with == could be true is if Integer object was create by going through Integer.valueOf (or obviously if they were the same object reference.) By default the cached values where -127 to 127, but that is tuneable at runtime.

https://github.com/openjdk/jdk/blob/jdk-27%2B27/src/java.bas...
papercrane
·先月·議論
> I'd love to see pledge/unveil on (upstream) Linux - but I'm not holding my breath

There is Landlock now, I believe it would be possible to implement unveil and pledge on top of that.
papercrane
·先月·議論
There are a number of licenses that are named MIT that are all similar, but not identical.

The "Expat" here is the MIT license variant. It is referring to the Expat XML parsing library that first used this license.

Usually when projects these days use an MIT license this is the version they use.
papercrane
·2 か月前·議論
The letter also said it was conditional on the combined entity maintaining investment-grade credit rating, which seems unlikely if the combined entity was saddled with $20B in debt.
papercrane
·2 か月前·議論
> It works great as long as you squint just a bit, ignoring that it generally calls for long,lat and is designed with the assumption of a world CRS.

I thought the spec allowed you to specify the CRS, but I just checked the RFC and they removed that from the 2016 specification and WGS84 is specified. It does allow for alternative CRS with prior arrangement, but like you said that does require a lot of care.
papercrane
·2 か月前·議論
The hot dogs are 1/4 lb, with the bun it's probably 500-600 calories.
papercrane
·2 か月前·議論
Yes, they have a number of domain names, archive.is and archive.today are the most well known ones.
papercrane
·3 か月前·議論
It's almost a certainty that you can't copyright code that was generated entirely by an AI.

Copyright requires some amount of human originality. You could copyright the prompt, and if you modify the generated code you can claim copyright on your modifications.

The closest applicable case would be the monkey selfie.

https://en.wikipedia.org/wiki/Monkey_selfie_copyright_disput...
papercrane
·3 か月前·議論
You're using too much! Its commonly used to improve meat texture, especially in Chinese cuisine. It's called "velveting".
papercrane
·5 か月前·議論
The thermal gradient in space is meaningless because there is hardly any matter to dump the energy into. This means you are entirely reliant on thermal radiation. If you look at the numbers given by Stefan-Boltzmann law you'd see that means to radiate a significant amount of energy you need a combination of a lot of surface area and high temperatures.

This means you need some sort of heat pump. For a practical example you can look at the ISS, which has what they call the "External Active Thermal Control System" (EATCS), it's a complicated system and it provides 70kW of heat rejection. A datacenter in space would need to massively scale up such a system in order to cool itself.
papercrane
·5 か月前·議論
Is there a credible way to cool a space-based data center on that scale?
papercrane
·6 か月前·議論
I love this book! I do wish there was a new edition that updated the version of Java used in the tree-walk interpreter. There's been some additions to the language, like sealed classes and exhaustive switches, that could really benefit the implementation.
papercrane
·7 か月前·議論
The DMCA notice is available here: https://github.com/github/dmca/blob/master/2025/12/2025-12-1...

The notice has a list of files and says that they were copied from ffmpeg, removed the original copyright notice, added their own and licensed under the more permissive Apache license.
papercrane
·7 か月前·議論
The memo at the time said the serifs can cause OCR issues.

https://x.com/John_Hudson/status/1615486871571935232
papercrane
·7 か月前·議論
One of the reasons Calibri was selected over Times New Roman was it has a lower rate of OCR transcription errors, making documents using it easier for people using screen readers.
papercrane
·7 か月前·議論
It could've been, but it was probably a turbocharged L-series engine.
papercrane
·8 か月前·議論
When Doyle wrote most of the Holmes stories cocaine was a popular and novel new drug, it wasn't until later that it's risks became widely known. In one of his later stories, "The Adventure of the Missing Three-Quarter", Doyle portrays it as an addiction that Watson weaned him of, but is still concerned that his friend may fall back into.

"For years I had gradually weaned him from that drug-mania which had threatened once to check his remarkable career. Now I knew that under ordinary conditions he no longer craved for this artificial stimulus, but I was well aware that the fiend was not dead but sleeping, and I have known that the sleep was a light one and the waking near when in periods of idleness I have seen the drawn look upon Holmes’ ascetic face, and the brooding of his deep-set and inscrutable eyes. Therefore I blessed this Mr. Overton, whoever he might be, since he had come with his enigmatic message to break that dangerous calm which brought more peril to my friend than all the storms of his tempestuous life."

- https://en.wikisource.org/wiki/The_Return_of_Sherlock_Holmes...
papercrane
·9 か月前·議論
In the US copyright just requires a level of originality. The bar isn't very high, but for example simple logos, like IBMs blue lines logo is not copyrightable.

There are examples of software code that is probably not copyrightable, but that's limited to very simple code that has only obvious implementations.