Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abahlo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
Show HN: Easy split-horizon DNS with mapdns
(github.com)
3 points
by
abahlo
5y ago
|
2 comments
32.
▲
by
abahlo
5y ago
Wow, dependabot opened 2.7 Million PRs in the last 30 days https://play.axiom.co/axiom-play-qf1k/explorer?qid=blX8pIiTb...
33.
▲
by
abahlo
5y ago
Yeah I actually agree, will make them sound less like a must. In early Go times people would use one-letter variables everywhere which was horrible.
34.
▲
by
abahlo
5y ago
Good points, thank you!
35.
▲
by
abahlo
5y ago
Shameless plug on my opinionated [Go Styleguide]( https://github.com/bahlo/go-styleguide ) – let me know what you think!
36.
▲
by
abahlo
5y ago
Do you happen to know what models these are?
37.
▲
by
abahlo
5y ago
That would me amazing
38.
▲
by
abahlo
5y ago
Even if it‘s by design that you can share a page, you shouldn‘t be able to change account data should you? And it sounds like the author didn‘t share their page and it was still accessible. MW made a video: https://youtu.be/
39.
▲
by
abahlo
6y ago
Looks super great! Someone write this for Go please.
40.
▲
by
abahlo
6y ago
I think they mean requests from a browser.
41.
▲
by
abahlo
6y ago
Shouldn‘t it be one commit if they were amended? /s
42.
▲
by
abahlo
6y ago
https://status.signal.org says "Up and running" Edit: Downdetector says its down https://downdetector.com/status/signal/ , Twitter also has issues.
43.
▲
Ask HN: Is Signal Down?
88 points
by
abahlo
6y ago
|
72 comments
44.
▲
by
abahlo
6y ago
Is it? Not sure private ips are so sensitive, esp. the lower parts.
45.
▲
by
abahlo
6y ago
A Sonyflake ID is composed of 39 bits for time in units of 10 msec 8 bits for a sequence number 16 bits for a machine id
46.
▲
by
abahlo
6y ago
I already use UUIDs for various fields and didn't want the id to be confused with other fields. More of a clarity/style decision than technical.
47.
▲
by
abahlo
6y ago
Sonyflakes are generally more useful in massive scale environments as you won't run into conflicts due to the "machine-id" part (which defaults to the lower 16 bits of the private IP address). There are more differences (128b
48.
▲
by
abahlo
6y ago
Thanks and I don't mind at all! To be honest for the application I didn't want to expose a database serial (otherwise you'd know you're user #100, for example) or use UUIDs, so it's less about scale and more about o
49.
▲
by
abahlo
6y ago
Needed this functionality in a Rust application I'm writing so I ported the Go code to Rust.
50.
▲
Show HN: Sonyflake – distributed unique ID generator implemented in Rust
(github.com)
66 points
by
abahlo
6y ago
|
63 comments
51.
▲
by
abahlo
6y ago
Author here, let me know if you have any feedback or questions!
52.
▲
Show HN: Message Retention Bot for Discord
(github.com)
2 points
by
abahlo
6y ago
|
1 comments
53.
▲
by
abahlo
6y ago
I guess you need to urlencode it, try C%2B%2B
54.
▲
by
abahlo
6y ago
I remember an article describing exactly this a few years ago. Did you game up with this yourself? If not a source might be nice.
55.
▲
Ask HN: Why use an SPA?
22 points
by
abahlo
7y ago
|
19 comments
56.
▲
Show HN: Go production checklist
(github.com)
2 points
by
abahlo
9y ago
|
0 comments
57.
▲
Show HN: Go Styleguide
(github.com)
8 points
by
abahlo
9y ago
|
0 comments
58.
▲
Ask HN: What is your initial setup for your personal computer?
3 points
by
abahlo
10y ago
|
3 comments
59.
▲
Show HN: Spockhub – Get the Dark Bar from GitHub Enterprise
(github.com)
1 points
by
abahlo
11y ago
|
0 comments
60.
▲
Show HN: A collection of often-used Go helpers
(github.com)
2 points
by
abahlo
11y ago
|
0 comments
More ›