Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bobbylarrybobby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
108 ms
·
1651.
▲
by
bobbylarrybobby
8y ago
Aren’t your clothes wrinkled?
1652.
▲
by
bobbylarrybobby
8y ago
Well, x.__len__() is the same as len(x). You’re just supposed to remember not to use it (makes you wonder why they chose len(x) instead of x.len())
1653.
▲
by
bobbylarrybobby
8y ago
It is a tic — if you plan to fill the array anyway there’s no need to set its values on initialization
1654.
▲
by
bobbylarrybobby
8y ago
Web assembly?
1655.
▲
by
bobbylarrybobby
8y ago
What are you talking about? What tweaking? You just install extensions and they’ll auto update. You only need to configure things when you don’t like the default behavior. I haven’t touched my VSCode configuration in ages.
1656.
▲
by
bobbylarrybobby
8y ago
Most languages have optionals. Swift is one of the few that has guaranteed non-optionals. Java and C(++) have null pointers but no way to syntactically declare something is non null and have the compiler confirm such
1657.
▲
by
bobbylarrybobby
8y ago
A couple reasons, which are used consistently throughout Swift: Shuffled may accept arguments. First does not The runtime cost of first is nearly zero, whereas shuffled is doing significant work (constant versus linear time) It sort of does
1658.
▲
by
bobbylarrybobby
8y ago
Apple has a problem with GPL3, not sure what exactly but that’s the underlying issue.
1659.
▲
by
bobbylarrybobby
8y ago
Isn’t the whole point that the contrast is factually incorrect? It looks pretty but is a lie.
1660.
▲
by
bobbylarrybobby
8y ago
Issue #1 was annoying for me, so I hacked together the following solution: write an emacs function that detects situations where you feel emacs should quit (e.g., no windows left) and have it kill itself and the server when this happens. Th
1661.
▲
by
bobbylarrybobby
8y ago
Yep, WebKit and Blink are very different not least because of their different JS engines. Lots of developers have trouble targeting safari, whereas chrome is a breeze.
1662.
▲
by
bobbylarrybobby
8y ago
I’m like 80% sure that hyenas are absolutely bone crushers. They get a ton of calories from breaking open bones (with their teeth/jaw)
1663.
▲
by
bobbylarrybobby
8y ago
Why would they pay you? Plenty of people not give them their DNA, but pay them for the privilege
1664.
▲
by
bobbylarrybobby
8y ago
What virtue is there in being born?
1665.
▲
by
bobbylarrybobby
8y ago
Well mathematics notation largely follows speech. People say “one plus two” — largely because speech doesn’t have closing parentheses, so we need to speak in a way that makes it clear when we’re done talking — so that’s how we write it. But
1666.
▲
by
bobbylarrybobby
8y ago
I use the app keyboard maestro to type out my keyboard contents character by character (although it can do a hell of a lot more than that), which bypasses paste blocking.