HNHacker News
TopNewBestAskShowJobs

jesboat

181 karma · joined June 29, 2011

Jade Sailor (jesboat)
submissionscomments
jesboat··on GC progress from JDK 8 to JDK 17
I'm curious what your applications' allocation patterns are like.

I've worked on a couple projects where switching from CMS to G1 was a pretty big latency win. Most of the were pretty strongly request-response-based. Pretty quickly G1 would converge on having most of the regions being young, and, by the time G1 wanted to do a mixed collection, most of them would have no live objects and would be summarily killed.

jesboat··on Upcoming/proposed breaking changes to Haskell
To be fair, almost all of the keyword-ish things Java's added have been done such that they rarely can change the meaning of any existing programs. Assuming I didn't miss any, all the keyword-ish things which have been added, ever:

  Java 1.4, 2002: assert
  Java 1.5, 2004: enum
  Java 10, 2018: var
  Java 14, 2020: yield
  Java 16, 2021: record
  Java 17, 2021: permits, sealed
Almost all were added in such a way that the extent of the breakage would be that a program which previously worked would now fail to compile (i.e. fail safely.)

(The only exceptions I can see are for `assert` and `var`, and even then only when some parts of a program are compiled with older versions of the compiler, and even then only when various other conditions are met.)

jesboat··on Python stands to lose its GIL, and gain a lot of speed
The problem is (perhaps amusingly) with refcounting. As the processes run, they'll each be doing refcount operations on the same module/class/function/etc objects which causes the memory to be unshared.
jesboat··on Mozilla: *Privacy Not Included
Same with Facebook.
jesboat··on Facebook executive helped Cuomo smear sex-harassment accuser: AG report
Facebook also has such policies. This would be a pretty clear violation, on multiple ways. If the story holds up (I'm aware of no reason why it wouldn't), there will be enormous internal pressure to remove her, and I'd be pretty shocked if they don't fire her reasonably quickly.
jesboat··on Blizzard's reputation collapsed in just three years
Ocean Spray.

Wikipedia describes it as

> Ocean Spray is an American agricultural cooperative of growers of cranberries and grapefruit headquartered in Plymouth County, Massachusetts. It currently has over 700 member growers (in Massachusetts, Wisconsin, New Jersey, Oregon, Washington, Florida, British Columbia and other parts of Canada, as well as Chile). The cooperative employs about 2,000 people, with sales of $1.2 billion in fiscal year 2013 and accounts for 70% of North American cranberry production.

jesboat··on Backyard Roller Coasters
Amusing this hits the front page the same time as

https://en.wikipedia.org/wiki/Euthanasia_Coaster https://news.ycombinator.com/item?id=27970824

jesboat··on HiveNightmare a.k.a. SeriousSAM – anybody can read the registry in Windows 10
I guess one way to phrase it would be "the ACLs on the registry files were always overly permissive, but nobody noticed until now because trying to read them the obvious way failed with 'file in use'"
jesboat··on HiveNightmare a.k.a. SeriousSAM – anybody can read the registry in Windows 10
There's a video (bleh) which appears to extract the hash and then use a pass-the-hash. I'm not clear on exactly what the preconditions are (are NTLMv1/v2 hashes still stored by default? Does PTH work with newer hashes? Etc) or if there's another way to escalate
jesboat··on Increasing HTTPS Adoption
It does; they're called "name constraints".

This page https://systemoverlord.com/2020/06/14/private-ca-with-x-509-... claims they're supported by "all current browsers".

x509 extensions can be marked "critical" or not. If the name constraint was marked critical, then AIUI old software should (in theory) fail secure, and reject everything signed by the CA.

jesboat··on Massachusetts health notifications app installed without users’ knowledge
> users can, in theory, opt to turn off Google Play Services, users of the Covid-19 contact-tracing app in Ireland cannot turn the surveillance off if they want the contact-trac ing app to work. This means the collection and use of this data is unavoidable for people who wish to use the app.

I would find it quite amusing if someone submitted a gdpr complaint saying that unnecessary data collection is not optional.

jesboat··on SSH quoting
The script isn't being passed over ssh's stdin.
jesboat··on Chrome Autofill doesn't respect autocomplete=off
There's an extension called "Don't fuck with paste" which disables intercepting paste, not sure how. You have to remember to add sites that you do want to intercept paste (mostly rich text apps) to the whitelist.
jesboat··on Computing an integer using a Grothendieck topos
Elliptic geometry is not a subset of absolute geometry (as absolute geometry is typically formalized). The problem isn't with Euclid's other postulates, it's with things that Euclid didn't formalize, specifically, betweenness. In absolute geometry, given any line containing three distinct points, exactly one of the points will be between the other two. There's no sensible way to define this in elliptic geometry. Intuitively, this makes sense; when you have three points on a line in elliptic geometry, you can travel from any of the three points to any other without passing by the third point.

It's been a while since I've actively studied this, but my recollection is that all you have to do is replace the axioms for betweenness with axioms for separation, and you get a theory which is suitable for elliptic geometry.

(Separation is an arity-4 relationship on points. Intuitively, given any four distinct and collinear points, A and C separate B and D if the order of the points on the line (traveling in either direction) is ABCD.)

https://en.wikipedia.org/wiki/Foundations_of_geometry#Ellipt... appears to agree

jesboat··on Leaving Freenode for a new network
It varies from state to state, but in the states I'm aware of (at least 3) it's not nearly as hard as you're making it sound. An attorney is not required and, while the non-profit status may take some time to approve, the existence of the corporation itself generally is essentially the same as founding a for-profit corporation. In particular, attorneys are not required, and it is generally pretty easy to get things notarized for free (most banks have notaries on staff and I've never had one charge me.)

I know multiple people who have set up non-profits on their own, without any lawyers, and have not had any difficulties throughout the process.

jesboat··on Using GDPR to obtain one’s data as JSON
Mind sharing the memo?
jesboat··on Proposed futex2 allows Linux to mimic the NT kernel for better Wine performance
> Ah OK, this is the part that I feel is maybe always left out of the things I've read on futex(). I guess this is just always implied then that some library implements these semantics correctly? And that library is generally going to glibc?

Yup. For example, the pthread_foo functions are futexes under the hood.

jesboat··on PHP's Git server compromised, moving to GitHub
Facebook wrote a new runtime and has, over time, changed the language rather significantly (eg strong static typing, async/await, generics, overhauled much of the standard library.) It's called Hack. At this point, I don't think you could reasonably say facebook's written in php any more than you could say various c++ projects are written in C.

https://hacklang.org/

jesboat··on Only Google is really allowed to crawl the web
https://developers.google.com/search/docs/advanced/crawling/...

describes the procedure for checking "is this source Google it". You couldn't fake it just by running on gcp

jesboat··on Substack's UI and 1Password temporarily cost me $2k
> you're still sending your full password to the server for verification each time, so if the server is compromised for any length of time your password will be as well.

The key difference between storing plaintext passwords and hashed passwords is that with hashed passwords, you can only compromise users who log in during the interval when the system is compromised, and even then, only for worse compromises (eg if all the attacker gets is arbitrary disk read, compromising hashed passwords would be impossible in most scenarios.)

jesboat··on I don't care about cookies
It'd be neat if extension stores could integrate with some CI system(s). The store could just tell the user "built from <source URL>". Best of both worlds.
jesboat··on I don't care about cookies
Any sufficiently large data analyzer is going to handle that already. Even if you have reliable delivery of the "session created" event into the analyzer, you'll still occasionally get wonky data from bit flips.
jesboat··on Undocumented x86 instructions in Intel CPUs that can modify microcode
> On the one hand, that would be a powerful capability to have, but on the other hand, the risk of exposure and subsequent damage to the US economy, prestige, etc. would be non-zero

If I were a three-letter agency, I'd bribe/blackmail somebody into inserting intentionally vulnerable code. After all, sufficiently advanced malice is indistinguishable from incompetence.

We've often seen that the code inside firmware, secure environments like trustzone, etc tend to lack many of the mitigations for the classic vulnerabilities. Just rewrite one of the ASN.1 parsers in the ME (I'm sure there's at least one), "forget" a bounds check in some particularly obscure bit, and you'd have a textbook stack smash.

jesboat··on Git: Malicious repositories can execute remote code while cloning
We added a commit hook to block case conflicts.
jesboat··on Git: Malicious repositories can execute remote code while cloning
No. Why would it be?
jesboat··on 30k U.S. organizations newly hacked via holes in Microsoft Exchange Server
The huge data breach a couple years ago was Equifax, not Experian. It does not seem particularly hypocritical for Experian to try to capitalize on it
jesboat··on (Very) Basic Intro to Elliptic Curve Cryptography
The prototypical quantum attack for symmetric crypto is Grover's algorithm [https://en.wikipedia.org/wiki/Grover%27s_algorithm] which finds "the unique input to a black box function that produces a particular output value". Whereas a classical computer would need to check an average of N/2 values (where N is the size of the domain), Grover's takes O(sqrt(N)).

When you're measuring "bits of security", you say N=2^k, so a classical computer would take O(2^k) and Grover's would take O(sqrt(2^k)) = O(2^(k/2)), or a reduction from k bits of security from a classical adversary to k/2 bits of security from a quantum adversary.

Hence the wisdom that AES-256 is approximately as secure post-quantum as AES-128 is to classical methods.

jesboat··on The Queen has more power over British law than we thought
The article is describing a different process than Royal assent
jesboat··on OpenSSL Security Advisory – EDIPARTYNAME null pointer de-reference
On many platforms, OpenSSL is the standard TLS library.
jesboat··on How does Brown University know where you are?
They didn't (and probably still don't) subnet by building on wifi, so more precise location than "on Brown's wifi" would have required intentional information sharing.
← PreviousPage 2 of 3Next →