HN user

janzer

2,168 karma
Posts32
Comments155
View on HN
arstechnica.com 6mo ago

Safety panel says NASA should have taken Starliner incident more seriously

janzer
3pts2
www.hayabusa2.jaxa.jp 7y ago

MINERVA-II1: Successful image capture, landing on Ryugu and hop

janzer
162pts11
halite.io 8y ago

Halite II Programming Contest Launched

janzer
11pts1
bitbucket.org 9y ago

RevDB, the Reverse Debugger for Python

janzer
66pts14
arxiv.org 9y ago

Decoupled Neural Interfaces Using Synthetic Gradients

janzer
6pts0
www.threadbase.com 10y ago

T-Shirts Unravelled

janzer
756pts155
www.bbc.com 11y ago

LHC restart: Short circuit slows preparations

janzer
2pts0
wiki.python.org 12y ago

Python 2.x vs. 3.x survey results

janzer
154pts79
www.surveymonkey.com 12y ago

Python 2.x vs 3.x use survey

janzer
104pts114
mail.python.org 12y ago

Python 3.4 beta 1 released

janzer
3pts0
python-history.blogspot.com 12y ago

Origin of metaclasses in Python

janzer
3pts0
www.securityweek.com 12y ago

Python Gets High Marks for Open Source Software Security

janzer
4pts0
morepypy.blogspot.com 13y ago

PyPy: Py3k status update #11

janzer
4pts0
morepypy.blogspot.com 13y ago

PyPy 2.0 beta 2 released

janzer
100pts24
nedbatchelder.com 13y ago

Community, conduct, conflict, and communication

janzer
2pts0
speakerdeck.com 13y ago

Parallelizing the Python Interpreter: An alternate approach to async

janzer
4pts0
www.madmadrasi.net 13y ago

Google Removes Asteroid Near Miss Doodle

janzer
2pts0
bob.ippoli.to 13y ago

Life after Facebook

janzer
5pts0
morepypy.blogspot.com 13y ago

PyPy: Cape Town 2012 sprint report

janzer
3pts0
stripe.com 13y ago

</CaptureTheFlag>

janzer
84pts20
news.discovery.com 14y ago

Might NASA kill the comercial space race?

janzer
5pts1
ants.aichallenge.org 14y ago

Aichallenge.org Ants Winner Announced

janzer
39pts2
plus.google.com 14y ago

Steve Yegge: Follow Up to His Accidentally Public Rant

janzer
558pts171
morepypy.blogspot.com 15y ago

PyPy Winter Sprint Report

janzer
1pts0
www.zdnet.com 15y ago

Lisp developer walks away with Google AI contest

janzer
176pts71
ai-contest.com 15y ago

Google AI contest results released

janzer
2pts1
www.artima.com 15y ago

Free As In Lawsuit

janzer
2pts0
www.teamfortress.com 15y ago

Golden Wrench Destruction for Charity

janzer
1pts1
esr.ibiblio.org 16y ago

Women in computing: first, get the problem right

janzer
9pts0
morepypy.blogspot.com 16y ago

Using CPython extension modules with PyPy natively

janzer
3pts0

EDIT: This was caused by using an old version uv (0.7.3) updating with `uv self update` to the latest version (0.11.2) resolved it. Original message below:

While the first form seems to work with `pyproject.toml`, it seems like the second form in the global `uv.toml` only accepts actual dates and not relative times. Trying to put a relative time (either in the form "7 days" or "P7D") results in a failed to parse error.

My understanding is they used to be fairly strict about using a set for 2 weeks before changing, but research has shown very little difference in outcomes down to 1 week.

There is some discomfort/soreness for the first few days after switching. My dentist's instructions were to wear each for at least a week and then switch to the next set whenever I wanted after that. Basically at whatever rate I was comfortable/could tolerate. I'm now at set 15 and have switched most of them after a week while a few I delayed a couple of days because I had something happening where I didn't want to worry about any discomfort.

Just to avoid confusion, while SMB as used above may be referring to the owner it typically means "Small and/or Medium Business". Where what counts as small and medium varies a bit but is generally <500 employees and annual revenue <$10 million.

The 650 main memory was a drum; but what IBM called Random Access Memory (and RAM) for this machine was a hard drive. As described in the Manual of Operation linked above. Here are a few quotes:

"Records in the IBM Random Access Memory Unit are stored on the faces of magnetic disks."

"The stored data in the Random Access Memory Unit are read and written by access arms."

"The IBM 355 RAM units provide extemely large storage capacity for data... Up to four RAM units can be attached to the 650 to provide 24,000,000 digits of RAM storage."

The main memory on the other hand: "The 20,000 digits of storage, arranges as 2000 words of memory on the magnetic drum..."

Given that the actual vulnerability seems relatively niche along with it being such a popular library officially maintained by the Python foundation, the scariest line in the advisory is almost certainly:

The vulnerability was originally reported to the library maintainers on September 12, 2024, but no fix is available.

Just a clarifying note, Craig Reynolds is the original researcher for Boids, and he did have a Java applet implementation in the above page. But the original Boids simulation was from 1986, almost a decade prior to Java applets.

The original paper, published in 1987, is "Flocks, herds and schools: A distributed behavioral model"[1]. The implementation was done in Lisp on a Symbolics 3600 Lisp Machine.

Edit: One quite interesting paragraph from the paper regarding performance:

The boid software has not been optimized for speed. But this report would be incomplete without a rough estimate of the actual performance of the system. With a flock of 80 boids, using the naive O(N²) algorithm (and so 6400 individual boid-to-boid comparisons), on a single Lisp Machine without any special hardware accelerators, the simulation ran for about 95 seconds per frame. A ten-second (300 frame) motion test took about eight hours of real time to produce.

Once again, amazing how far hardware has advanced.

1. https://dl.acm.org/doi/10.1145/37402.37406

I'm pretty positive that is showing the reverse, i.e. how much a given "location" is moving using gps coordinates. Not adjusting the gps coordinates to refer to a constant "location".

The current 4h12m hour record is for 100% (where you have to get every single achievement in the game, in the one run), any% (where you just need to launch a rocket) is under 2 hours (1h42 for the latest factorio v2.x, 1h18 for v1.x). There are a few other differences between the categories regarding map selection and blueprint use as well.

Records and specific rules for all categories can be found at https://www.speedrun.com/factorio

If the PRNG is good enough then shipping floppies full of PRNG output is very much unnecessary. Simply send the seeds used to initialize the PRNG thereby fitting many (~180k of them on a 720kb floppy) seeds on one floppy and save your couriers a lot of risk.

that your pad generation is actually random

The one thing that stood out to me with the original blog post and a quick glance at the code was that it appeared as if the pad was certainly not actually random.

Could anyone that has actually understood it a bit more confirm or reject this?

Edit: It seems that the random generation can be found starting here https://github.com/Vulacode/RANDOM/blob/d6a1a1d694b22e6a115b... With three methods, one (RAND2) seems to use the basic interpreter rng more or less directly and the other two seem to be fairly simple prngs seeded from the basic interpreter's rng.

I don't actually know what the state of basic interpreter rngs was in the early '80s but I would be fairly surprised if they're anything that is secure.

Let's make up some numbers, say 98% commit a single murder and 2% commit 20 leaving an average of 1.38. If the new system stops every murderer after the first one, the number of murders have a 27.5% reduction. Actual reduction quoted in the article is 12.8%.

So it could very well be true that the average number of murders committed is close to 1 and at the same time the reduction is wholly accounted for by stopping multiple murders.

I still doubt that either cause speculated on in the article are the actual full reason, or even possibly the primary reasons, but it would at least be possible with the information provided.

It seems that this has been in syncthing about 2.5 years[1], is there something that changed recently to make this notable now?

[1] Initial release behind a feature flag in 1.15 on April 6, 2021 and without the feature flag in 1.16 on May 4, 2021.

For those wanting to try this out note that the download links in this post are still giving the previous Bullseye (11.7) release at the moment.

Since the article starts right off by stating almost the direct opposite, I'd guess the matter is at least less certain/more debated than the wikipedia article makes it out to be.

Guido stepping down from BDFL may indeed be what allowed the recent speed improvements to progress; but certainly not in the way you're implying. If there is a causal effect here it seems more likely that it's because it has allowed him to concentrate more on the speed improvement work than he otherwise would have with BDFL issues taking up his time.

From what I've seen Guido has been quite actively involved in the speed up work, somewhat in the actual development but even more so in getting it merged (a problem many previous speed up attempts have failed at).

A one character typo seems more likely, than a non-standard date format for two dates in the future being used as timestamps.