Readit News logoReadit News
profquail commented on The almost-lost art of rosin potatoes   thecookscook.com/features... · Posted by u/classichasclass
PittleyDunkin · 10 months ago
The oil-rich parts were never a british colony.
profquail · 10 months ago
Pennsylvania has oil and was formerly a British colony: https://en.wikipedia.org/wiki/Pennsylvania_oil_rush
profquail commented on Apple hiring compiler developers for improving Swift / C++ interoperability   jobs.apple.com/en-us/deta... · Posted by u/pjmlp
steveklabnik · 2 years ago
Language is interesting.

There is a kind of onion called a "Vidalia onion," grown in the town of Vidalia, Georgia. They're a sweeter onion, which is unusual, which is why it grew into a brand.

However, because of this, a lot of people's first exposure with a sweet onion is a Vidalia. But not all sweet onions are Vidalia onions. Yet sometimes people still use "Vidalia" to mean "sweet onion" in a generic sense.

I suspect it's very similar, honestly: I don't think your average American knows that Champagne is a place. Their only exposure to the word is via that style of wine. And so they associate it with the style rather than the brand/region.

(Vidalia onions are also protected legally in the same way that Champagne is; a lot of people in this thread saying that that's just some silly French thing don't realize how common this is. In the onions' case, this has been true since 1989.)

profquail commented on CISA, NSA, FBI Release Advisory Warning of BlackTech, PRC-Linked Cyber Activity   cisa.gov/news-events/news... · Posted by u/fortran77
ksec · 2 years ago
>Advisory helps organizations protect against PRC-linked actors hiding in router firmware

The most popular router brand is TP-Link which is a Chinese Brand. Both Eero and Nest from Amazon to Google aren't available worldwide. Netgear and Linksys has poor Firmware update frequency. That is pretty much left with ASUS which I have a decade old unfix bug with my ISP that randomly fails to get new IP.

I only wish Apple would come back with new AirPort Extreme.

profquail · 2 years ago
Another option is to build your own. You could buy a small ARM board like a NanoPi R6S (<$100) with 2.5GbE ports and run pfSense on it.
profquail commented on Simple PowerShell things allowing you to dig a bit deeper than usual   github.com/gtworek/PSBits... · Posted by u/keepamovin
MassiveBonk51 · 2 years ago
This seems great. On a side note, I've been trying to learn powershell lately since I'm stuck on Windows at work. I'm not allowed to download utilities for powershell, and it feels anemic to me compared to a unix shell. An example of this is when I wanted to work with Json using ConvertTo-Json and the output kept getting mangled even though it was changing the right fields. Eventually I gave up and wrote a node script and just called it from my ps script. Is there a solution for making powershell actually enjoyable to use?
profquail · 2 years ago
Are you using Windows’ built-in Powershell? If so, are you allowed to install the newer Powershell Core (based on .NET Core)? The latter has a lot of fixes and improvements compared to the built-in Powershell.
profquail commented on Mountpoint – file client for S3 written in Rust, from AWS   github.com/awslabs/mountp... · Posted by u/ranman
netfortius · 2 years ago
Good luck mounting EFS in Windows.
profquail · 2 years ago
WinFsp (FUSE for Windows) has an NFS driver: https://github.com/winfsp/nfs-win
profquail commented on Computing Adler32 Checksums at 41 GB/s   wooo.sh/articles/adler32.... · Posted by u/wooosh
profquail · 3 years ago
zlib-ng also has adler32 implementations optimized for various architectures: https://github.com/zlib-ng/zlib-ng

Might be interesting to benchmark their implementation too to see how it compares.

profquail commented on Concise Encoding: A secure data format for a modern world   concise-encoding.org/... · Posted by u/bshanks
BoppreH · 3 years ago
Things I liked:

- Versioning.

- Time zone identifier instead of just a fixed offset (which are ambiguous for future events).

- Native encoding of binary values.

- Graph notation with support for labels.

- Comments!

- Trying to escape lookalike characters, even though I think that's a lost cause.

Things I'm not so keen about:

- NUL character in strings being platform and settings dependent.

- Line break not being forced to a consistent value.

- The most complicated number encoding scheme I've ever seen (e.g. 0xa,3fb8p+42).

- Entity references are a footgun for anyone writing a depth-first or breadth-first algorithm.

- Arrays-vs-list feels like it doesn't belong in encoding formats.

profquail · 3 years ago
The complicated number encoding scheme you mentioned is a hexfloat: C has them too.

Hexfloat can be really useful when you need precise/exact floating-point constants for numerical methods. Without them, you end up having to do more-complicated hacks to preserve exact constant values when code gets compiled, or you have to live with compilers (sometimes) subtly altering constants.

I wish more languages supported hexfloats.

profquail commented on Open DNS resolvers, from bad to worse   blog.apnic.net/2022/05/13... · Posted by u/zdw
Aachen · 3 years ago
In the past year I designed two UDP protocols (for connection measurements and a game server) and last week wrote a DNS server. In my own protocols, I always made sure that the sender has to put in more bytes until a >2^64-bit secret was echoed. Only with DNS this does not seem to be possible. At best, you can refuse a query in an equal number of bytes, but useful responses necessitate amplifying.

Every nameserver out there, from duckduckgo to hacker news, will send back larger responses because it must echo the query.

Does anyone know why this is not considered an issue? Are we just waiting for open resolvers to be eliminated and attackers to switch over to this lesser amplification factor before we start fixing it?

The only solution given the current protocol, considering reasonable compatibility, is to use rate limiting per source IP, which means that someone can use source IP spoofing to block benign sources. This problem can be mitigated with DNS cookies, but I don't know if those are universally supported enough to simply reject any clients that don't support DNS cookies yet. It also means state keeping per client (hello IPv6). If clients would just send back a slightly larger packet than the response they expect, and servers didn't have to echo the query, amplification protection would be much easier to implement.

profquail · 3 years ago
Your idea for the secret to prevent spoofing is interesting and reminiscent of the verification secret in the SCTP packet header: https://en.m.wikipedia.org/wiki/SCTP_packet_structure
profquail commented on Vectorization in OLAP Databases   aneesh.mataroa.blog/blog/... · Posted by u/alterneesh
brutuscat · 3 years ago
isn't it what Apache Arrow [1], Apache CarbonData [2] and others are for?

[1] https://arrow.apache.org/docs/format/Columnar.html

[2] https://carbondata.apache.org/introduction.html

profquail · 3 years ago
I think it’s more like Gandiva or DataFusion (both from the Apache Arrow project).
profquail commented on Ask HN: What's the most stable form of digital storage?    · Posted by u/agomez314
profquail · 3 years ago
M-DISC: https://en.m.wikipedia.org/wiki/M-DISC

They’re special DVD and Blu-ray discs designed for long-term storage. DVD and Blu-ray are so widely used, it seems likely you’d be able to find some equipment in 30 years that could still read them.

u/profquail

KarmaCake day6978June 24, 2009
About
C#/F#/C++/Python developer. Building trading systems and strategies at Susquehanna: https://sig.com/Careers/

Twitter: @jkpappas

https://github.com/jack-pappas

https://fsharp.org

View Original