Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andoma
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
andoma
7y ago
A self-plug for my own HAP C library: https://github.com/andoma/libhap I've been using it on a Raspberry Pi to control various things and recently decided to shape it up and release it to the public.
92.
▲
by
andoma
7y ago
Somewhat related, IPv4 addresses can also be represented in a shorter classfull form NET.HOST, like 10.1 == 10.0.0.1 192.168.1 == 192.168.0.1 While it has practically no use in today's CIDR [1] internet, it's still a usef
93.
▲
by
andoma
7y ago
Tangental: Reminds me how buttons in various places (I've noticed this in elevators and POS terminals) beeps when you press them. However, the beep is not really tied to the CPU registering the event but rather the button itself being
94.
▲
by
andoma
7y ago
Imagine the disappointment when pressing enter and nothing happens because the key didn't register.
95.
▲
by
andoma
7y ago
> 2 b) Maybe cloud functions are enough? I generally agree, but eventually you're gonna start getting emails saying things like "We're deprecating Node 8.x in our Lambda / Cloudfunction / etc"
96.
▲
by
andoma
7y ago
No, It's not just you.
97.
▲
by
andoma
7y ago
Very true. Another upside of deriving all timing from actual outputted samples: If your application have a sequencer which does "bouncing" (i.e. generating a recorded file, or similar, from the project) you can just run the seque
98.
▲
by
andoma
7y ago
FWIW, GCE have console. Another thing I miss in AWS is the ability to change instance user-data while running (GCE also allows this, including the ability to long-poll for changes)
99.
▲
by
andoma
7y ago
When this happens I just switch to tethering from my cell phone. Redundant enough.
100.
▲
by
andoma
7y ago
Correct, my bad. Did some tests and AFAICT neither EXT4, XFS nor BTRFS allows arbitrary byte ranges here.
101.
▲
by
andoma
7y ago
It will remove if you use FALLOC_FL_COLLAPSE_RANGE
102.
▲
by
andoma
8y ago
I returned Comcast's modem because: 1) I wanted better control of routing (have a bunch of wireguard tunnels). I want all the IOT-crap on a separate network, etc. 2) Whenever there is a transient link connectivity issue on the cable si
103.
▲
by
andoma
8y ago
Two of my favorites: Madness took me from Mental Hangover by Scoopex: https://www.stef.be/bassoontracker/?file=https%3A%2F%2Fapi.m... Global Trash 3 v2 from Hardwired by The Silents: https://www.stef.be/
104.
▲
by
andoma
8y ago
Ongoing effort of restoring an AGC First episode: https://www.youtube.com/watch?v=2KSahAoOLdU
105.
▲
by
andoma
8y ago
Lookback | Mobile developers | Remote | Fulltime Helping the world build great experiences. Lookback is a cash flow positive, remote-first, SaaS startup from Stockholm, with headquarters in Palo Alto. Android Developer: https://l
106.
▲
by
andoma
8y ago
I believe the correct solution to this problem would be that the installers would snapshot the system, install all packages without any fsync()ing at all, then finally one sync() and remove the snapshot. Optionally keeping snapshots if user
107.
▲
by
andoma
8y ago
Lookback | Devops | Remote | Full-time Lookback is a cashflow positive, remote first, tech SaaS startup from Stockholm, with headquarters in Palo Alto. We are growing and now we need a hands-on operations person capable of working in a devo
108.
▲
by
andoma
8y ago
Although still in beta, I'd like to add BearSSL to the mix of well written and documented C libraries. In particular compared to the OpenSSL "documentation". It's also nice to see an TLS implementation without any memory
109.
▲
by
andoma
8y ago
Yup, The 32GB version should really be called Slackbook Pro.
110.
▲
by
andoma
8y ago
Yup. Has happened to me multiple times as well on AWS. GCP OTOH offers (optional) live migration of instances.
111.
▲
by
andoma
9y ago
FWIW, Safari does not include your local IP address in the list of candidate addresses for WebRTC until you also authorize the page to access your camera.
112.
▲
by
andoma
9y ago
Fair enough :-) I'll read more thorough next time.
113.
▲
by
andoma
9y ago
FWIW the second example of finding halfway points in https://web.stanford.edu/class/cs9/sample_probs/ListShufflin... is buggy. Crashes if the list have odd number of elements.
114.
▲
by
andoma
9y ago
For the record, gcc and clang does this as well when using the restrict keyword. (I'm still a big fan of Rust though) int foo(int *restrict x, int *restrict y) { *x = 0; *y = 1; return *x; } Compiles to: foo:
115.
▲
by
andoma
9y ago
Yeah, this was more a generic comment not specifically aimed at Atom. Sorry if that wasn't clear.
116.
▲
by
andoma
9y ago
Personally I don't mind RAM usage that much. I'm more concerned about excessive CPU usage resulting in unnecessary battery drain on my laptop or annoying fan-spinning.
117.
▲
by
andoma
9y ago
tcpdump -nw - | strings -n 6 Credit to https://twitter.com/marcan42
118.
▲
by
andoma
9y ago
Thanks, Very happy to hear this :-)
119.
▲
by
andoma
9y ago
Even though a GCE instance can be made to boot pretty quicky it's a bit sad that it takes around 40-50 seconds before any network connectivity can be established. I asked a question about it here a while ago https://serverfa
120.
▲
by
andoma
9y ago
Exactly this. Expanded the SSD in my late 2014 MBP recently. At least that's still possible. Just praying now that it won't break down.
More ›