Better HN
topnewbestaskshowjobs
Log inSign up

1wd

822 karma · joined Aug 18, 2014 (12y ago) · 338 submissions

Submissions

comment 1y ago · link · parent

Only if the Windows Regional Settings List Separators happens to be "comma", which is not the case in most of Europe (even in regions that use the decimal point) so only CSV files with SEP=, as the first line work reliably with Excel.

comment 1y ago · link · parent

heptapod is GitLab with Mercurial support.

comment 1y ago · link · parent

Oberon?

comment 2y ago · link · parent

Does anyone predict economy/population/... by simulating individual people based on real census information? Monte carlo simulation of major events (births, death, ...) based on known statistics based on age, economic background, location, education, profession, etc.? It seems there are not that many people that this would be computationally infeasible, and states and companies have plenty of data to feed into such systems. Is it not needed because other alternatives give better results, or is it already being done?

comment 2y ago · link · parent

Feynman has an interesting story about critical mass:

> Los Alamos was going to make the bomb, but at Oak Ridge they were trying to separate the isotopes of uranium ... he saw them wheeling a tank carboy of water, green water - which is uranium nitrate solution. He says, “Uh, you're going to handle it like that when it's purified too? Is that what you're going to do?" They said, “Sure -- why not?" "Won't it explode?" he says. Huh! Explode?" ... he noticed certain boxes in big lots in a room, but he didn't notice a lot of boxes in another room on the other side of the same wall ... what you would have to do to fix this. It's rather easy. You put cadmium in solutions to absorb the neutrons in the water, and you separate the boxes so they are not too dense ...

https://calteches.library.caltech.edu/34/3/FeynmanLosAlamos....

comment 2y ago · link · parent

Paper linked above https://peerj.com/articles/16349/ links to .wav sound files in the Data Availability section https://datadryad.org/stash/dataset/doi:10.5061/dryad.ht76hd... and 20 minute .mp4 files https://zenodo.org/records/8247515 (and R code in a PDF) and a "Timeline of Interaction" PDF. Seems that's the closest to a "transcript".

comment 3y ago · link · parent

The quoted document has two similar sentences, one on page 3 includes Rust, one on page 5 does not:

> Examples of memory safe language include C#, Go, Java®, Ruby™, Rust®, and Swift®.

> Some examples of memory safe languages are C#, Go, Java, Ruby™, and Swift®.

https://media.defense.gov/2022/Nov/10/2003112742/-1/-1/0/CSI...

Stroustrup quotes the second one without Rust.

comment 3y ago · link · parent

pipx might get this ability: https://github.com/pypa/pipx/pull/916

comment 4y ago · link · parent

At least since the 2018 "Blood Moon" eclipse

https://imgur.com/gallery/2tzJh9O

https://twitter.com/JanCastenmiller/status/10229494886028820...

https://www.theguardian.com/science/2018/jul/28/space-statio...

https://tineye.com/search/d719f24d68e9175cab643a8997dd24e285...

comment 4y ago · link · parent

WPF is now open source (MIT licensed [1]), and its XAML control templates provide _as data_ a full declarative description of how a native Windows control is supposed to look like (in multiple Windows themes like Aero for Win7, Aero2 for Win10, Luna + Royale for WinXP, and Classic for Win95 look and feel [2]).

This includes everything like the exact colors and gradient stops and animation timing and vector shapes and accessibility behavior etc. of buttons and scrollbars and everything. Example: [3]

I wonder what one could learn / achieve trying to "port WPF to rust" / implement a XAML control template renderer in Rust. If you can "simply" parse and interpret those XAML files do you instantly get a native-like GUI that supports the exact look and feel of these different Windows themes? (on any OS!)

Somehow I think it is not realized how amazing that is!

[1] https://github.com/dotnet/wpf/blob/main/LICENSE.TXT [2] https://github.com/dotnet/wpf/tree/main/src/Microsoft.DotNet... [3] https://github.com/dotnet/wpf/blob/main/src/Microsoft.DotNet...

comment 4y ago · link · parent

Thanks. I had tried Reko and your description matches my impression.

I hoped to try hunt down the DOS Tetris easter egg described on the original authors website. https://vadim.oversigma.com/Tetris.htm

The executable is linked in the image.

I managed to decipher some functions (video memory pointers were actually kind of helpful) but didn't get far.

comment 4y ago · link · parent

Are there any decompilers for old x86 DOS com files?

comment 4y ago · link · parent

"EGA to VGA transformation" like it was done for games like Indy3 would be nice. http://www.superrune.com/tutorials/indy3_ega.php (Even though some people still prefer the EGA version.)

comment 5y ago · link · parent

What are the reasons for changing the allocation of bits in bf16 vs. f16? Why are there no (few?) similar alternative allocation schemes for f32 and f64? Was IEEE's choice perfect for f32 / f64? How did they know? Why not for f16?

Does any hardware offer "configurable" bit allocation like f16[e=4,m=11]?

comment 5y ago · link · parent

Python 3 by default still opens text files using the legacy locale encoding.
12345
12