Better HN
topnewbestaskshowjobs
Log inSign up

tleb_

380 karma · joined Jan 16, 2016 (10y ago) · 196 submissions

My e-mail address is tleb followed by an at sign, then tutanota dot com.
Submissions

comment 3y ago · link · parent

I agree Wikipedia is well designed

comment 3y ago · link · parent

Both the GitHub project you linked to and the webpage in the posted article use a bounding box; has the webpage changed in the last two hours?

comment 3y ago · link · parent

That is because there is a read to p[x]. If it gets removed, the malloc and free disappear. volatile shouldn't appear in such code that does not handle MMIO memory.

comment 3y ago · link · parent

We've not seen yet any project at that scale, which approaches terraforming. What makes you think we are capable of such? And is there anything that indicates we can obtain the natural resources to achieve them?

comment 3y ago · link · parent

This Wikipedia page mentions the following, with a link to the toxic plant that is probably described by the article author:

> Sometimes S. nigrum is confused for the more toxic deadly nightshade (Atropa belladonna)

comment 3y ago · link · parent

That sounds like the concept of Factorio: the abstraction level we play at rises with time. Most of the achievements are about skipping manual labor at various points in time.

comment 3y ago · link · parent

Are absolute numbers important in such a case? Percentages seem more appropriate.

comment 3y ago · link · parent

The csdb.dk entry linked in the post has a YouTube link: https://www.youtube.com/watch?v=CaCisnpvvTU

comment 3y ago · link · parent

What is being talked about is a single 16-bit write inside a byte buffer. The benchmark delta is 10ns per request (90ns for bit-twiddling vs 100ns for writeUInt16BE).

90ns/100ns is a lot for this kind of operation, but that comes from JS' handling of numbers and not a badly optimised routine.

comment 3y ago · link · parent

The signature for static_assert(3) in C has a second argument that is `char *msg`. With C23 onwards, it becomes optional.

comment 3y ago · link · parent

Cool stuff. I've got the same hobby / part-time job (mostly on GrandMA consoles). I have done two-three experiments on custom software to emit DMX which I used for something like four events. For the physical interface I'm relying on MIDI controllers; I first want a software stack I can trust before going into hardware design.

Would love to discuss the topic some more! I don't often meet people with that same interest in lighting that want to build their own tools.

comment 3y ago · link · parent

About I2C addressing: I've thought about the issue. That solution could fail in theory because of collisions, ie a micro-controller cannot atomically check the assert pin and raise it if low. The project uses 1000ms + rand(0, 5000ms), which sounds big enough.

I've always wondered if a solution based of multi-master I2C support could work: all childs shout a unique ID and the parent answers with their assigned I2C address. Children that do not win the arbitration will detect collisions and stop because of arbitration errors. Unsure how well it could work with many children.

See https://www.i2c-bus.org/multimaster/ and https://www.i2c-bus.org/i2c-primer/clock-generation-stretchi... for introductions to I2C multimaster and arbitration. The spec is of course not open.

I'd be interested in discussing the topic more!

comment 3y ago · link · parent

Work document privacy for NDA stuff and capability of doing meetings?

comment 3y ago · link · parent

Also, with the stateless version, resizing breaks color changes on collisions.

comment 3y ago · link · parent

My belief is that it is about builtin functions that are provided by the compiler versus part of the standard library. They are documented in the language reference [0] versus in the standard library documentation [1].

[0]: https://ziglang.org/documentation/master/

[1]: https://ziglang.org/documentation/master/std/

comment 3y ago · link · parent

I'd be interested in knowing what you consider not sane in Yocto?

comment 3y ago · link · parent

RFID probably doesn't bring much, engraving is easier and is hard to remove without marks. About that, France has an official method of tagging bikes which has been mandatory on new bikes since jan 2021. See [0] for doc in English and [1] for a video.

[0]: https://www.bicycode.org/pages-1/Documents_PDF/plaquette__Bi...

[1]: https://www.bicycode.org/faire-marquer-son-velo.rub-2/le-mar...

comment 3y ago · link · parent

A UAV is still dangerous around people even with no blades involved; a falling UAV is enough to kill. This is a real issue that companies (startups and giants from the domain) are trying to solve, which is required for unmonitored UAV in urban areas to start getting legally accepted (at least in France).

comment 3y ago · link · parent

I've long thought that this concept could/should be applied to user-targeted content. Blogs could be capable of delivering content as HTML but possibly Markdown, plaintext, Gemini, PDF, etc. as well. SQLite tables, CSV, JSON for sharing data. Downloading of a directory with archives. What is missing for adoption is proper readers for alternative formats in the big web browsers though; I wonder if that would be accepted upstream.

comment 3y ago · link · parent

Another description: "dynamically picking channels to avoid radar activity". Seems more fitting with this one.

comment 3y ago · link · parent

Playing a MIDI file isn't a straight forward task! To me, it feels akin to sharing an image without telling its colour space.

comment 3y ago · link · parent

I was surprised to notice that Arte TV France has it (in VO). It is not available when the website language is set to English. Unsure if accessible outside France. https://www.arte.tv/fr/videos/104017-000-A/sisters-with-tran...

comment 4y ago · link · parent

More context can be found here: https://docs.puter.com/

I'm truly skeptical as well

comment 4y ago · link · parent

An even earlier tool: Pic, which had its paper released in 1981. It belongs to the troff ecosystem of tools. I'd be interested to know about other tools from this era!

Paper: https://dl.acm.org/doi/10.1145/872730.806459

Mention in troff doc: https://www.troff.org/prog.html#pic

Wikipedia page: https://en.wikipedia.org/wiki/PIC_(markup_language)

comment 4y ago · link · parent

I'd downvote this post if I could. It's pushing people into OSS contributions only to land jobs. My advice: if you don't subconsciously feel like you want to contribute, don't do it. As to how to start, pick a small bug, typo, lacking documentation aspect, small missing feature or performance issue that annoys you in your everyday FOSS software and solve it.

comment 4y ago · link · parent

`scan_directory` in the same file recursively iterates directories and no calls to `inotify_*` functions seem to be made; no grep matches in the project directory.

comment 4y ago · link · parent

Kieran Bingham, who pushed the release, recently did a talk at ELC-E 2022 about libcamera: https://www.youtube.com/watch?v=WMrezh0ij4M

Slides: https://elinux.org/images/6/60/Application_support_with_libc...

comment 4y ago · link · parent

I had heard about the XY problem[0], but never of XY problem solvers. I don't remember encountering one, do you really find them that frequently?

[0]: https://xyproblem.info/

comment 4y ago · link · parent

Idea for improvement: avoiding color blending in sRGB. A first step would be to work in linear space.

https://github.com/tsoding/olive.c/blob/43a67dd76760f915516a...

comment 4y ago · link · parent

That comment feels out of place; at least try to link it with the content posted.
1234567