Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amptorn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
amptorn
5y ago
> "your code should read like well-written prose." This is a good assertion but ironically it's not Bob Martin's line. He was quoting Grady Booch.
32.
▲
by
amptorn
5y ago
It's reasonable to evaluate the usefulness of a system by weighing the resources it consumes against the valuable output it produces. In Bitcoin's case the valuable output is around 10 financial transactions per second, and the re
33.
▲
by
amptorn
5y ago
I like how this is so low-effort that it still says "@ Things Of Interest" despite not being hosted there?
34.
▲
by
amptorn
5y ago
No. It's right. If only S pieces are provided, you can make lines for ever. If S and Z pieces are provided, you can't.
35.
▲
by
amptorn
6y ago
> will probably always need to fix. Quitter.
36.
▲
by
amptorn
6y ago
Henrietta Lacks and Lena Forsén are/were different people.
37.
▲
by
amptorn
6y ago
Why is that worth pointing out?
38.
▲
by
amptorn
6y ago
You should be tipping triple right now, rich boy.
39.
▲
by
amptorn
6y ago
It's actually 65,792 code points total: 65,536 plus 256 for "padding" characters if the input has an odd number of octets.
40.
▲
by
amptorn
6y ago
What if you're working in a domain which does evolve? For example, every domain.
41.
▲
by
amptorn
6y ago
Well, railroads still exist.
42.
▲
by
amptorn
6y ago
> ( ) they tried that in France once and it didn't take
43.
▲
by
amptorn
7y ago
> - Confusing: google.golang.org/protobuf@v1 doesn't exist, but v2 does. This would not be confusing at all. The UUID package I use just skipped from major version 3 to major version 7 to avoid confusion with UUIDv4, UUIDv5 and
44.
▲
Cripes does anybody remember Google People
(qntm.org)
3 points
by
amptorn
7y ago
|
0 comments
45.
▲
by
amptorn
7y ago
Other than sorting by birth date, what's your intended solution to this?
46.
▲
by
amptorn
7y ago
Realistically, this is for fun and games. Nobody should actually be asking you trick questions in a real scenario. It's okay not to be able to catch the trick.
47.
▲
by
amptorn
7y ago
Are you saying that he did not have an intended solution to the problem?
48.
▲
by
amptorn
7y ago
The even perfect numbers all have the formula 2^(p - 1)(2^p - 1) for some prime `p`. In code that's ((1 << p) - 1) << (p - 1) for `p` = 2, 3, 5, 7 and 13, which is why you're seeing that interesting p
49.
▲
by
amptorn
7y ago
It's a pretty good name I think!
50.
▲
by
amptorn
7y ago
Productivity is just value you create for people who aren't you. Family, friends and travelling is value you create for yourself.
51.
▲
Big Roman Numerals
(github.com)
1 points
by
amptorn
7y ago
|
0 comments
52.
▲
by
amptorn
7y ago
Yeah, the correct phrasing of that question is "Show me the place where I'll be working." They should be able to lead you down the corridor and show you potential future co-workers at work.
53.
▲
by
amptorn
7y ago
Wouldn't it have made more sense to hold off on the first announcement until there was consensus on a single new name, instead of having two or three inconsistent namesoperating simultaneously for a year? Neither of which might be the
54.
▲
by
amptorn
7y ago
They renamed Perl 6 to "Raku" last year!! Am I losing my mind? This is a done deal! https://marketing.perl6.org/id/1541379592/pdf_digital
55.
▲
by
amptorn
7y ago
The important things that self-driving cars can't do aren't freak occurrences. They're elementary things like responding correctly to hand signals from someone directing traffic, or reading and obeying street signs written in
56.
▲
by
amptorn
7y ago
What privacy and security attributes does WebAssembly have over a plain old web page?
57.
▲
by
amptorn
7y ago
If Perl 6, by this essay's own admission, has no target demographic and no niche, then who is this essay even aimed at? Who are we attempting to convince?
58.
▲
by
amptorn
7y ago
> rot13 isn't defined outside of a certain set Ah, so, when you said "øbol comes through as øoby" you were saying that this is the correct behaviour?
59.
▲
by
amptorn
7y ago
This is a classic entry-level security mistake. You have to pick a work factor k and then do 2^ k iterations of ROT13.
60.
▲
by
amptorn
7y ago
Just out of curiosity, what would you expect ø to encode to?
More ›