Preferences

Johnbot
Joined 43 karma

  1. 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.
  2. 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.
  3. 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.
  4. This is really neat.

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

  5. This is giving me flashbacks to RPG II - https://en.m.wikipedia.org/wiki/IBM_RPG_II
  6. 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.
  7. 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..."

  8. 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.

  9. 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).
  10. 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.

  11. Are you missing a zero there?
  12. 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.
  13. 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.
  14. 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/

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal