Readit News logoReadit News
zaxomi commented on A love letter to the CSV format   github.com/medialab/xan/b... · Posted by u/Yomguithereal
raxxorraxor · a year ago
Try to live in a country where "," is the decimal point. Of course this causes numerous interoperability issues or hidden mistakes in various data sets.

There would have been many better separators... but good idea to bring formatting into it as well...

zaxomi · a year ago
There are better separators included in ASCII, but not used as often: 28 File Separator, 29 Group Separator, 30 Record Separator and 31 Unit Separator.
zaxomi commented on Why does target="_blank" have an underscore in front? (2024)   kyrylo.org/html/2024/10/2... · Posted by u/OuterVale
pjerem · a year ago
Actually, frames were ugly, limited and not really ergonomic but they weren’t a wrong pattern.

They solved a real problem of having parts of the page that changes and other parts that didn’t. It’s a shame they were deprecated without a modern replacement.

An "include" mechanism (like what html provides) should have been proposed to replace this use case.

The deprecation of frames forced dynamic websites (wether it is client or server side) on everyone and i feel like it is in part responsible of why people stopped to handcraft websites.

zaxomi · a year ago
>> It’s a shame they were deprecated without a modern replacement.

Isn't iframe the replacement? iframe is not deprecated.

zaxomi commented on Das Blinkenlights   rodyne.com/?p=1674... · Posted by u/boznz
zaxomi · a year ago
I'm planning to do something similar, but using addressable RGB LEDs (like WS2811, also known as neopixel).

They are simple to work with. Each LED has 4 connections: GND, +5V, DATA IN and DATA OUT. Each LED grabs the first 24 bits of the data stream (8 bits for Red, Green and Blue) and sends the rest on DATA OUT for the next LED.

zaxomi commented on Decoding the telephony signals in Pink Floyd's 'The Wall'   corelatus.com/blog/Decodi... · Posted by u/matthiasl
486sx33 · a year ago
Is there an AI trained on touch tone and other telephony signals? It would be kind of fun to decode historical tones in music and film more easily
zaxomi · a year ago
There are few well-documented standards. There are ready-made solutions that have worked for decades. What do you think AI would add?
zaxomi commented on ASCII Delimited Text – Not CSV or Tab Delimited Text   ronaldduncan.wordpress.co... · Posted by u/ejstronge
zaxomi · a year ago
I sometimes use them for machine to machine transfer. The biggest problem is that regular editors don't handle it in a sensible way.
zaxomi commented on Show HN: I built an app to use a QR code as my doorbell   dingdongdoorbell.com... · Posted by u/dirkc
zaxomi · a year ago
I wish my annoying neighbor would get this, because then I can post the code online and have the whole world knocking on his door at all hours of the day.
zaxomi commented on Standardizing Automotive Connectivity   tesla.com/en_CA/blog/stan... · Posted by u/hardikgupta
8note · a year ago
For which - why standardize around this connector and not XLR, which is the first thing that comes to mind for 48V?

Too big/bulky?

zaxomi · a year ago
The phantom power at 48 volts used with XLR connectors only have a current at about 10 milliampere. Enough to supply power to a little microphone.

The connector is bulky and of metal, and designed to be used inside. It's also expensive compared to other connectors. There are a lot of cheaper, more suitable connectors, designed to carry power.

zaxomi commented on Standardizing Automotive Connectivity   tesla.com/en_CA/blog/stan... · Posted by u/hardikgupta
unsnap_biceps · a year ago
> The 48V architecture is the optimal long-term choice, requiring ¼ of the current to deliver the same amount of power.

Is there a reason why 48V is better long term than going higher like 96V?

zaxomi · a year ago
Depending on the country you live in, the laws might allow you to do work on equipment that is below 50 volts, but require you to be a certified electrician for anything above that.
zaxomi commented on JSON Patch   zuplo.com/blog/2024/10/10... · Posted by u/DataOverload
skrebbel · a year ago
I quite like JSON Patch but I've always felt that it's so convoluted only because of its goal of being able to modify every possible JSON document under the sun. If you allow yourself to restrict your data set slightly, you can patch documents much simpler.

For example, Firebase doesn't let you store null values. Instead, for Firebase, setting something to null means the same as deleting it. With a single simple restriction like that, you can implement PATCH simply by accepting a (recursive) partial object of whatever that endpoint. Eg if /books/1 has

    { title: "Dune", score: 9 }
you can add a PATCH /books/1 that takes eg

    { score: null, author: "Frank Herbert" }
and the result will be

    { title: "Dune", author: "Frank Herbert" }
This is way simpler than JSON Patch - there's nothing new to learn, except "null means delete". IMO "nothing new to learn" is a fantastic feature for an API to have.

Of course, if you can't reserve a magic value to mean "delete" then you can't do this. Also, appending things to arrays etc can't be done elegantly (but partially mutating arrays in PATCH is, I'd wager, often bad API design anyway). But it solves a very large % of the use cases JSON Patch is designed for in a, in my humble opinion, much more elegant way.

zaxomi · a year ago
> appending things to arrays etc can't be done elegantly

Are you referring to the possibility to point to the end of the array? If so, a single minus sign might solve it: "/path/to/the/array/-"

RFC 6901 JavaScript Object Notation (JSON) Pointer > exactly the single character "-", making the new referenced value the (nonexistent) member after the last array element

zaxomi commented on Final two communications from MH370 support controlled descent scenario (2021)   researchgate.net/publicat... · Posted by u/komape
Loughla · 2 years ago
I have that same question. Why is there a "kill everyone on board" setting?
zaxomi · 2 years ago
All vehicles that can be steered have that possibility, even cars: If there is a steering wheel, it is possible to deliberately crash the vehicle. If it is possible to shut down engines, it can also be used for malicious purposes. In other words, there is always the possibility of using everything for malicious purposes.

On the other hand, the ability to shut down a system that has failed can save everyone on board.

There are approximately 40,000,000 flights each year. Almost all occur without incident. In the entire 120-year history of aviation, only a few accidents have resulted from the pilot intentionally crashing the plane.

u/zaxomi

KarmaCake day352March 31, 2015View Original