HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rvanlaar

no profile record

comments

rvanlaar
·2 ปีที่แล้ว·discuss
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 ปีที่แล้ว·discuss
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 ปีที่แล้ว·discuss
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 ปีที่แล้ว·discuss
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 ปีที่แล้ว·discuss
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
·5 ปีที่แล้ว·discuss
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...