HNHacker News
TopNewBestAskShowJobs

Johnbot

98 karma · joined June 17, 2016

submissionscomments
Johnbot··on Pixel 11 Pro Fold
I was looking forward to this one because of the IP68 dust and water protection rating, but the fact that it has the same cameras as the base Pixel 11 instead of the Pro is very sad. I also wish the HiLight feature was more used at launch - for example, having it glow red while recording.
Johnbot··on "Don't You Just Upload It to ChatGPT?"
This is anecdata, but in my experience with myself and my coworkers, it is not that we believe the AI will be more accurate in software engineering, but that the answer will come faster and be more tailored to our exact problems. If I have to search SO, I have to find the answer and then tweak it to fit my codebase, but with AI tooling, the AI is already basing its answer around my code.
Johnbot··on Ban the sale of precise geolocation
A lot of geolocation data on the market is anonymized, following medium-lived unique IDs that aren't able to be mapped to other identifiers. The problem with that is that if you have precise locations, or enough samples that you can apply statistics to find precise locations, in many cases you can de-anonymize the IDs. You can purchase address and resident listings from a number of different data vendors, and by checking where the device returns to at night you can figure its home address. Then if you find information on the residents (work locations, schools, etc.), you see if said device goes where each resident of the home address is likely to go, and you now have a pretty good idea of exactly who the device belongs to.
Johnbot··on The MacBook has a sensor that knows the exact angle of the screen hinge
As far as I know, even HDDs were pretty resilient to magnets when in their enclosures. I once took a large magnet meant for holding together concrete forms, one strong enough that it stuck to a ferrous surface it could probably support my weight, and stuck it to a hard drive for a full year to see if it'd break. The drive, as well as all of the data on it, were fine.
Johnbot··on Tampa FL hits 100 degrees for first time in recorded weather history
I've seen months straight of 100F+, and I was in LA for their heat wave last July (120F). I happen to be near Tampa right now and I'd really much prefer a hotter dry heat, where shade actually does something and fans have any chance at cooling you off.
Johnbot··on Why do all browsers' user agents start with "Mozilla/"? (2008)
Best I can tell it's only libraries that generate those sort of strings, which could just as well report a different string for Windows 9. The actual Windows API even returns the version information for Windows 8 if the application isn't manifested for 10 and onwards.
Johnbot··on Show HN: Roons – Mechanical Computer Kit
This is really neat.

Is there any use for something like a hopper that dispenses new marbles continuously?

Johnbot··on Tabular Programming: A New Paradigm for Expressive Computing
This is giving me flashbacks to RPG II - https://en.m.wikipedia.org/wiki/IBM_RPG_II
Johnbot··on An Optimization That's Impossible in Rust
The quoted optimization in the post isn't about German strings though, but the C++ style short string optimization (the post references an article describing the difference). A few of the referenced crates do this optimization so the blog is still right to point out that it's completely possible, I just wish it was clearer what optimization they felt was being claimed to be impossible.
Johnbot··on JPlag – Detecting Software Plagiarism
I think two things are at play here.

1. Students will frequently just try things until it works, move code around, etc., leading to very messy code. 2. Graders often do not look at individual assignments unless there is a reason to do so, often relying on automated test suites. And when they do look, I'd bet their first reaction is something like "I don't know why they're repeating themselves like this, but my rubric only penalizes them for 5 points here..."

Johnbot··on JPlag – Detecting Software Plagiarism
An example of a Mossad generated file would be the source file plus a bunch of dead code. The dead code consists of lines from the original file repeated in random locations (plus, if you are using an "entropy file", random lines of code that were successful mutations from previous generations of Mossad).

As it turns out, a lot of student code can look this way anyway. Something crazy like 70% of authentic student code can have dead code in assignment submissions.

Johnbot··on How I turned seemingly 'failed' experiments into a successful PhD
Wow, I lasted exactly as long in the simulator as I did in real life, with many of the exact same circumstances (less a global pandemic and family tragedy plunging the hope meter into the negatives).
Johnbot··on Bard's latest updates: Access Gemini Pro globally and generate images
I tried:

For the roman emperor prompt, Bard produced:

17 white men

2 white women

1 black man

1 black woman

For your prompt, Bard produced:

21 black men*

Interestingly, for the Roman Emperor prompt, Bard never refused to produce an image, though once instead of an image it only produced alt-text for two images, and once it only produced a single image, while for the African Oba prompt, three times it insisted it could not produce an image of that, once it explained that it is incapable of producing images, and once it produced only a single image rather than a pair.

*After typing most of this reply, I went to run more to see if it would ever behave differently, and on the 22nd image it produced an image of a black woman.

Johnbot··on Nvidia’s H100: Funny L2, and Tons of Bandwidth
Are you missing a zero there?
Johnbot··on Tell HN: Jan 2023 has already had 1/3 of the total yearly tech layoffs for 2022
Does anyone have historic data on this to tell whether it is common to front-load layoffs at the start of the year? It looks like January of last year had the fewest layoffs, which surprises me. I would have expected having many layoffs towards the start of the year with new budgets would be more common.
Johnbot··on GoTTY – Share your terminal as a web application
I've been using it for a few months to host a few terminal based games, and for that it has worked very well. I can also imagine it being useful for quickly throwing up a status page using top or whatever other tool you want.
Johnbot··on A linguist on Arrival's alien language (2016)
That is certainly an interesting problem, one I first saw in a Hackaday post from a few years ago [1]. Personally, I've always wondered how any aliens would interpret the Arecibo message - if they could even decode it, that is.

[1] http://hackaday.com/2015/10/06/electronics-for-aliens/