HackerTrans
トップ新着トレンドコメント過去質問紹介求人

rvanlaar

no profile record

コメント

rvanlaar
·2 年前·議論
Never expected this from my hometown to hit hackernews.

For some context, here's the lock in streetview: https://www.google.com/maps/@52.0974077,5.1152216,3a,75y,277...
rvanlaar
·2 年前·議論
If it can be performant depends on the tasks it need to full fill.

The Switch uses the X1. A chip from 2015. The CPU has a clock rate of 1GZ, the GPU 307-768 MHz. [1]

[1] https://en.wikipedia.org/wiki/Nintendo_Switch#Technical_spec...
rvanlaar
·3 年前·議論
Ah, Chrome and slow spinners.

Python tests were taking ages on VSCode due to an SVG spinner:

https://bugs.chromium.org/p/chromium/issues/detail?id=103626...

https://github.com/microsoft/vscode-python/issues/9216
rvanlaar
·3 年前·議論
There's a GIL presentation [1] from 2010 which shows Python 3.2 on a 1 CPU machine was faster than on a dual core.

In all, there might be reason to expect GILless python to be faster single core in certain scenario's.

[1] https://youtu.be/Obt-vMVdM8s?t=2047
rvanlaar
·3 年前·議論
I'm working on a project to revive old QTVR movies[1].

After writing a couple of python decoders [2] for movie encodings from the 90's it got old quickly.

As luck would have it, FFmpeg has support for almost all video encodings under the sun. For my usecase I wanted to send one frame per time to FFmpeg to decode.

Luckily I found PyAV[3]. It's a Cython project which binds to FFmpeg.

Which brings me to the article. It reads more like a C bad, rust good. Cythons tag line is: 'Cython gives you the combined power of Python and C`

Just wanting speed and less memory bugs, then rust will fare better. If you want to have the combined power of Python and C then Cython is pretty cool.

[1] https://github.com/rvanlaar/QTVR [2] https://github.com/rvanlaar/QTVR/tree/master/qtvr/decoders [3] https://github.com/PyAV-Org/PyAV
rvanlaar
·3 年前·議論
Here's Arjen Lubach, the Dutch Jon Stewart, about phones in classrooms.

https://www.youtube.com/watch?v=cclEuSxFd_M

Note: The autogenerated (english) subtitles are a pretty decent.
rvanlaar
·3 年前·議論
Recently had 28GB json of IOT data with no guarantees on the data structure inside.

Used simdjson [1] together with python bindings [2]. Achieved massive speedups for analyzing the data. Before it was in the order of minutes, then it became fast enough to not leave my desk. Reading from disk became the bottleneck, not cpu power and memory.

[1] https://github.com/simdjson/simdjson [2] https://pysimdjson.tkte.ch/
rvanlaar
·3 年前·議論
While I agree with the sentiment, in practice I haven't seen it go over well. I find the tooling around SQL to be severely lacking.
rvanlaar
·5 年前·議論
I've been following the situation around Peter for a few years now.

Here's a documentary that touches on the panel with James Damoore that he mentions.

He was also a member of the Grievance Studies Affair[1]. They got a chapter from Mein Kampf published, rewritten in a feminist manner. I think that shows how rigorous the gender studies field is in practice.

He was indeed reprimanded for social experiments on people.

Then again, how come a university isn't reacting when its personnel is spit upon and finds feces in front of their office door.

You might remember the moral outrage on a noose that was found in the garage of a black racing driver[2]. It's the asymmetry that is the problem.

[1] https://en.wikipedia.org/wiki/Grievance_studies_affair [2] https://www.nbcnews.com/news/us-news/nascar-releases-photo-n...