Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
friend-monoid
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
friend-monoid
9mo ago
Are you expecting a public IPv4 from a VPN?
2.
▲
by
friend-monoid
5y ago
# Arch Linux (btw) yay -S glow Heh, nice take on the whole "I use Arch btw" meme. This is really cool.
3.
▲
by
friend-monoid
5y ago
I’m not sure, im no compiler programmer but I prefer not requiring an allocator like malloc and copying data and reference counting. But I don’t know.
4.
▲
by
friend-monoid
5y ago
Signals have some wierd properties; a process-directed signal (i.e. the usual one you’d send with kill) chooses an arbitrary thread and invokes the signal handler. You can get in to some weird situations with signals and threads. If you’r
5.
▲
by
friend-monoid
5y ago
Its GLSL, and yes, you can pretty much copy paste it.
6.
▲
by
friend-monoid
5y ago
I had this issue in a case I think is interesting; a customer had a database with incremental IDs of a certain product they sold. On a web platform, the product owner in turn could log in and view a list of their products and their status.
7.
▲
by
friend-monoid
5y ago
Poettering makes some really valid points in this post; you shouldnt be using select. And the resource limits are weird. But I just want to consider that open fds are a resource hog, and you should also strive to close fds sooner rather tha
8.
▲
by
friend-monoid
5y ago
epoll.
9.
▲
by
friend-monoid
5y ago
I'm not sure I buy the idea that "efficient and easy tooling around a technology makes the technology". We all went through the same Dreamweaver pains.
10.
▲
by
friend-monoid
5y ago
As a C programmer, I have definitely shot myself in the foot in the conversions between types on multiple occasions. This is a really welcome feature.
11.
▲
by
friend-monoid
5y ago
The reason why TimescaleDB is so fast relies really a simple concept; keep indexes small enough to keep in memory. If you have a small enough index, you only need to do 2 reads from disk; one for the index to locate the data, and then one f
12.
▲
by
friend-monoid
5y ago
So in what way does tau do worse?
13.
▲
by
friend-monoid
5y ago
I few like there has been a lot of attempts at this; the semantic web, html5 semantic tags (article, header, ...), stuff like robots.txt. Developers really like to generalise. Getting everyone to cooperate is the hard part.
14.
▲
by
friend-monoid
5y ago
Coming from embedded Linux programming, I gotta say sometimes (for easier problems) the overhead in altering the init and spinning up a gdbserver is too much; just pushing a few prints to debug something is easier. However - just having lea
15.
▲
by
friend-monoid
5y ago
I can imagine that it’s hard to keep up to date with maintenance practices and manuals when the manuals are explicitly unavailable, as is the case for McDonalds.
16.
▲
by
friend-monoid
5y ago
Right. Data management is a hard problem. Just look at SQL query planners, they are insane - but they are not perfect, and they only work on the premises you provide (schemas, indexes, memory, etc). The idea that you could introduce a libra
17.
▲
by
friend-monoid
5y ago
Did you read the OSL version of the same statement? It’s kind of beautiful in comparison. I think its an amazingly insightsful article. Like “clean code”, but it’s a license.
18.
▲
by
friend-monoid
5y ago
I bought it and skimmed through most of it, and I have a hard time recommending it personally. It’s really short on the crypto and offers no insight into why TLS behaves the way it does. I would like to at least see an explanation of the TL
19.
▲
by
friend-monoid
5y ago
e=${e//$se/$'\n'};set -- $e [[ $1 =~ ^(.*[^/])?(/*)$ ]];z=${BASH_REMATCH[2]};p=/${BASH_REMATCH[1]} B=${p%/*} r=("${p##*/}$z" ${@:2}) (($#>1))&&p=$p$'
20.
▲
by
friend-monoid
5y ago
Yeah, of course you can. It's just a freebsd with some configuration stuff on top, it can run hostap, switch, it can do lagg and span ports and all the other stuff you'd expect... not sure how common it is though
21.
▲
by
friend-monoid
5y ago
Me too, but not really an alternative - the original tomato isn’t even updated any more, and it’s only configurable in its web ui, so it’s really only for home use.
22.
▲
by
friend-monoid
5y ago
Is pfSense, vyos, stuff like that out of fashion? Or too hard to maintain? Automating that stuff with ansible should solve the central management bit...
23.
▲
by
friend-monoid
6y ago
Late reply here but yes, canbus is binary, so is midi. They are both pretty simple. When I say that Protobuf is harder then canbus what I mean is that you have to deal with e.g. variable length integers (“varints”) and key offsets. And yes,
24.
▲
by
friend-monoid
6y ago
Mathematica 9 and above has had significant improvements in its unit support. I’ve found it to be really good.
25.
▲
by
friend-monoid
6y ago
I’ve written hundreds of parsers at this point, for many kinds of protocols - http, mqtt, canbus, midi, various strange binary stuff, cli’s, just lots and lots of parsing. I’ve found that text protocols are usually easier to parse, dependin
26.
▲
by
friend-monoid
6y ago
The linux programming interface by Michael Kerrisk. It’s incredibly good.
27.
▲
by
friend-monoid
6y ago
Same here. That book and the Linux api book are just invaluable resources.
28.
▲
by
friend-monoid
6y ago
Yoda mostly applies to equality comparisons
29.
▲
by
friend-monoid
6y ago
Yes absolutely. I tend to put my comparisons in order from least to highest always these days, so it’s “value < max” and “min < value”. Eases up on the headwork
30.
▲
by
friend-monoid
6y ago
I agree absolutely - just want to add that learning when not to use a db, which db to use when you need one, and which network protocols to use for an application, is also important
More ›