HNHacker News
TopNewBestAskShowJobs

pvitz

794 karma · joined October 22, 2014

submissionscomments
pvitz··on Götz von Berlichingen – The “Iron Hand” of the Renaissance (2019)
I always thought it is more offensive, because he is telling him to lick him _in_ his arse, not on...
pvitz··on Bjarne Stroustrup: Think seriously about “safety”... [pdf]
Google's answer to this issue seems to be... a smart pointer: https://chromium.googlesource.com/chromium/src/+/main/base/m...
pvitz··on Bjarne Stroustrup: Think seriously about “safety”... [pdf]
I would be really interested in seeing such a case where there was no extraction of a raw pointer or similar involved. Could you please point me to such a CVE?
pvitz··on Bjarne Stroustrup: Think seriously about “safety”... [pdf]
I am not sure if the comparison is correct. Basically, they are looking at the Android code base and calculate 1 vulnerability / kLoc for C++. This doesn't tell us anything about the distribution over time. It could be that Google limited itself to certain C++ features in the beginning of Android and had or has a lot of vulnerabilities from this era, whereas newer code using smart pointers etc. doesn't suffer from this issues (as much).

It would be more interesting to compare only the code of C++ and Rust written in the same timeframe. My expectation is that C++ wouldn't look as bad as stated in the article.

pvitz··on Books for Software Engineers in 2023
To be fair, the second link you provided is for the 3rd edition and lists something like 20 errors (including typos, etc.) for a book of approximately 800 pages.
pvitz··on Offline Voice Assistant on a Microcontroller with 192KB RAM
I have recently found the MAX78000 MCU which has some nice features that can be used for recognising trigger words (but also object recognition etc.) I have ordered the feather board to try it, but haven't had the opportunity to test it, yet. From a cost point of view, the STMs are certainly cheaper, but the MAX should have a lot more performance for doing tasks besides the word recognition.
pvitz··on Oceanic+ on the Apple Watch Ultra and the perils of subscription based software
I think Crocodile Dundee did this on the Hudson river, too.
pvitz··on Acquisition of chess knowledge in AlphaZero
Great summary! Also, at [1], one can hear Deepmind hinting at that state-of-the-art engines (Stockfish, Leela Chess Zero) will beat Alphazero.

[1] https://www.youtube.com/watch?v=N2MncpRMnFA&feature=youtu.be...

pvitz··on Acquisition of chess knowledge in AlphaZero
Stockfish is stronger than AlphaZero.
pvitz··on Smolnes: A NES emulator in less than 5000 significant bytes of C++
While reading the code I stumbled upon "case 1 ... 10:” or similar and asked myself how I could have missed this range feature for so many years. It turns out that this is a GCC extension and indeed not part of the language. A list of the C extensions (and C++ extensions) can be found here: https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/C-Extensions.ht...
pvitz··on Disposable Root Servers
This is a pun on the phrase "Nobody ever got fired for choosing IBM". Don't read too much into it...
pvitz··on Pimp My BBC Micro
Really great project!

What I didn't understand was why there is a need for a 7905 to convert -12V to -5V. It looks like that pin 20 should be providing the -5V already?

pvitz··on 13 Months: The Kodak Calendar Experiment
Mexico is actually using a 28 days / 13 months convention for their interest rate swaps. However, I have no clue how that came to be.
pvitz··on Ask HN: Why aren't games marketed as the work of director X like movies are?
When John Romero was at Ion Storm, Daikatana's marketing was also centred around him.
pvitz··on Understanding Jane Street
I would also suggest to forget about Hull and Wilmott and would suggest to start with the excellent book by Shreve: "Stochastic Calculus for Finance. Volume II: Continuous Time Models".

Then, you can quickly read Bjoerk, work through Brigo/Mercurio (if you like that style) or Andersen/Piterbarg. Alternatively, if you want to fully dive into into the subject after Shreve, Musiela/Rutkowski: "Martingale Methods in Financial Modelling" is wonderful.

pvitz··on The Book of Experiments (1958) [pdf]
Thanks for your story! I am wondering why your teacher would use nitric acid. Wouldn't iron(III) chloride have been much safer in a workshop with children?
pvitz··on Goodbye Zachtronics
Actually, he is going to quit teaching high-school computer science to continue working on games.
pvitz··on Strange Attractors: Creating Patterns in Chaos
What in particular has happened since then and which textbooks explaining these new techniques or discoveries would you recommend? Last time I studied this, I worked through Ott's book and through the book by Almeida, but both are older, so I am curious what the developments were.
pvitz··on NASA/APL Interstellar Probe Mission Architecture
Thanks, that was a fun read and could be an exercise or two in a course on general relativity. I was just astonished about the references to Wikipedia, Stackexchange and Wolfram (apparently Mathematica). Maybe this was actually written by a grad student...
pvitz··on Artificial neural networks today are not conscious (Douglas Hofstadter)
Reading about "copycat" was very inspiring. There was "metacat" as a successor, but beyond that, I am not aware of additional research. Would you know why this direction wasn't followed further?
pvitz··on Source code for 4kb demoscene production “Elevated” released (2016)
My most favourite demo of 2000 was "Heaven 7" by Exceed [0]. That someone could do smooth raytracing (of course with many tricks, but still...) was mindblowing for me.

[0] https://www.pouet.net/prod.php?which=5

pvitz··on Software Library: MS-DOS Games
The sounds of the prince yelling while falling or being chopped in half are deeply ingrained in my brain...
pvitz··on Installing a payphone in my house
In Austria at least, this was quite common. I remember that the phone booth in our school only accepted a phone card and almost every pupil had one for emergency cases. You could buy them easily in magazine shops.
pvitz··on Reflections on a Year with HomeKit
Just curious: What is the advantage of this setup over a timer switch socket for the Espresso machine?
pvitz··on Reverse-engineering a tiny 1980s chip that plays Christmas tunes
It's not about how old the technology is, but from when on it wasn't used as e.g. a pseudo-RNG, but rather for storing data. So, formally, still a RNG, but using a special seed to get a sequence that is equal to the data that one wants to store.

I have found that "River Raid" (1982) and "The Sentinel" (1986) were using it for game data. Apparently, the original "Elite" was supposed to use one, too, but they decided against it.

pvitz··on Reverse-engineering a tiny 1980s chip that plays Christmas tunes
The linear-feedback shift register method is also used for procedurally generating content in e.g. demos. Funny to see this implemented in hardware and it would be interesting to know when this trick was used firstly.
pvitz··on Polars: Fast DataFrame library for Rust and Python
To you and all the other sibling comments: Thanks a lot! Exactly what I have been looking for!

With regard to Vaex, I would really be interested in an independent benchmark comparing it to dask, spark, data.table etc. However, I have seen in the comments that others also can't find that.

pvitz··on Polars: Fast DataFrame library for Rust and Python
Does anybody here know dataframe systems that are able to handle file sizes bigger than the available RAM? Is polars able to handle this? I am only aware of disk.frame (diskframe.com), but don't know how well it performs.
pvitz··on Germany: New government plans 'right to encryption'
Nevertheless, "gewunken" is wrong. The correct conjugation is "gewinkt".
pvitz··on Hamilton: A Microframework for Dataframe Generation
I don't understand the advantage of the assign-method in the article you have linked to. If I would like to alter data in a column of a large dataframe, why should I use the assign-method (and copy data) instead of the mentioned loc-method and just overwrite the data (without a copy)? I am assuming, of course, that I will not need the original dataframe anymore.
← PreviousPage 3 of 10Next →