Better HN
topnewbestaskshowjobs
Log inSign up

pvitz

801 karma · joined Oct 22, 2014 (12y ago) · 311 submissions

Submissions

comment 3d ago · link · parent

The trick here is that the classic version has one sister telling the truth and the other the lie. Then you would ask what the other sister would answer. In this case, you can just ask which path to take and then you take the other one.

2.

My AI Agents Found an Unmapped Maya Site(pietromiotti.com ↗)

10 points · by pvitz · 2w ago · discuss

comment 2mo ago · link · parent

A big software for simulating the economic balance sheets of life insurance companies moved many years ago from using FoxPro under the hood to CSV files and sold it as a huge improvement. I don't think anybody was convinced by that, but vendor lock-in makes companies accept such regressions.

comment 4mo ago · link · parent

If it were "the EU", it would be on https://code.europa.eu

comment 5mo ago · link · parent

You will possibly like Needham's "Visual Differential Geometry and Forms" and even if you don't have much time to study it, it's quite beautiful to look at from time to time.

comment 6mo ago · link · parent

Segfault provides something similar with a direct ssh connection: https://www.thc.org/segfault/

comment 9mo ago · link · parent

The book "Robot Builder's Bonanza" is a nice introduction and gets you started on the hardware side.

comment 11mo ago · link · parent

From the manual:

   The control variable in for loops is read only. If you need to change it, declare a local variable with the same name in the loop body.
Also [0]: Roberto Ierusalimschy > So what's the rationale to make them constant now? Does it have performance > reasons?

Yes. The old code does an implicit "local x = x" for all loops, in case you modify 'x'. With the new semantics, the code only does it when you ask for it.

[0] https://groups.google.com/g/lua-l/c/SlAG5QfpTac

comment 11mo ago · link · parent

That symmetries imply conservation laws is pretty fascinating (see the Noether theorem). I guess it seems only strange it you assume already that the conservation law holds.

comment 11mo ago · link · parent

When I was a student of physics and came across this paragraph in Feynman's book, I was curious if he really meant the simple technique explained in the article, a more general one (also described in the article with the integral bounds as functions of a parameter) or something else. I don't know, but this led me to read the text "Advanced Calculus" by Edwin Bidwell Wilson (1912), which includes a lot of examples and gems. If there is some young student out there who wants to go well beyond the basic techniques of calculus taught in analysis or mathematical physics courses, have a look at [0].

[0] https://archive.org/details/advancedcalculus031579mbp/mode/1...

comment 1y ago · link · parent

I understood "binaries" in "compressed binaries" as "executables", e.g. like a packed executable, but I see that you mean indeed a binary file (and not e.g. a text file).

comment 1y ago · link · parent

Thanks for your reply and advice! I guess what you describe as "impossible" is the case I am mostly interested in, though more for non-executable binary data. If I am not mistaken, this goes under the term "file fragment classification", but I have been wondering if practitioners might have figured out some better ways than what one can find in scholarly articles.

And yes, searching for the reimplementation beforehand would have saved me some hours :D

comment 1y ago · link · parent

A shot in the dark, but maybe you could give me a hint. Recently, I was interested in extracting sprites from an old game. I was able to reverse the file format of the data archive, which contained the game assets as files. However, I got stuck because the image files were obviously compressed. By chance, I found an open source reimplementation of the game and realised it was LZ77+Huffman compressed, but how would one detect the type of compression and parameters with only the file? That seems a pretty hard problem or are there good heuristics to detect that?

comment 1y ago · link · parent

Same experience here! We used Origin and/or QtiPlot in a physics lab for the graphs and quick regressions.

comment 1y ago · link · parent

More like "precomputed table" and "table lookup"...

comment 1y ago · link · parent

We have been in the process of upgrading to the latest version and can't continue. The lack of communication by Mathworks is very strange.

comment 1y ago · link · parent

The reasons for this change seem to be described in [0] with the following summary:

  > The contribution workflow in Guix has been facing several challenges:
  > difficult onboarding, lack of legibility, complex, unreliable, and
  > labor-intensive infrastructure, and lack of automation.  All these lead
  > to an experience that contributors often find frustrating and hinders
  > quality assurance efforts.  We propose to address these limitations by
  > migrating repositories, issue tracking, and patch tracking to Codeberg,
  > an integrated forge with a Web interface that is hosted by a non-profit.
[0] https://archive.softwareheritage.org/browse/content/sha1_git...

comment 1y ago · link · parent

> But the longer I worked there the more I felt like the plan was basically:

> 1. Manually add more and more common-sense knowledge and extend the inference engine

> 2. ???

> 3. AGI!

In retrospect, this reasoning doesn't seem to be so wrong.

comment 1y ago · link · parent

That the distribution was a fully translated system together with a thick manual (of course also in German) was the whole point and idea. Your comment is too dismissive in my opinion.

20.

Episode 1: Digital Jesus a.k.a. Matt Harrigan – Wwsul(wherewarlocksstayuplate.com ↗)

1 points · by pvitz · 1y ago · discuss

comment 1y ago · link · parent

My migraines turned out to be related to my wisdom teeth. Once they were removed (for a different reason), the migraines stopped.

comment 1y ago · link · parent

Do you buy the sockets or do you have a custom solution for that?

comment 1y ago · link · parent

From all we know, this was most likely an oversight by Carlsen and then an overreaction by FIDE. After he left on his own, I guess the main sponsor got pretty upset with FIDE and forced this dispensation to let all of them somehow save face and keep the star in the tournament.

comment 2y ago · link · parent

A system that would just output the most probable tokens based on the text it was fed and trained on the games played by players with ratings greater than 1800 would certainly fail to output the right moves to totally unlikely board positions.

comment 2y ago · link · parent

Yes, it looks like they should have written "NM" instead of "nm".

comment 2y ago · link · parent

For the brute-force attack, THC's hydra could be used instead of reinventing the wheel. Or are there licensing issues involved?

comment 2y ago · link · parent

Next year, the creators of Excel will get the prize, because it is an implementation of the mathematical universe.

comment 2y ago · link · parent

Do you mean nand2tetris? https://www.nand2tetris.org/course

comment 2y ago · link · parent

It has been a very long time but I believe the logic was on the chip of the card. I vaguely remember that Tron of the CCC built simulators of cards that could be used to call for free. Maybe some research in that direction could lead to more on that topic.

comment 2y ago · link · parent

Or in this case the non-UK world...
12345
11