Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ojii
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
ojii
1y ago
Classes are callable.
2.
▲
by
ojii
1y ago
One tiny correction: > decorators are functions that take a callable argument and return a new callable there's nothing forcing a decorator to return a callable. A decorator _could_ return anything it wants. I don't know why yo
3.
▲
by
ojii
3y ago
Hubris and people thinking they can safely code in memory unsafe languages (they can't)
4.
▲
by
ojii
4y ago
http://ipa-reader.xyz/?text=for%CB%88d%CD%A1%CA%92e.jo
5.
▲
by
ojii
4y ago
You can get pretty far with four terminal tracks: https://www.youtube.com/watch?v=8Ge81gKqtvE
6.
▲
by
ojii
5y ago
while 戦 does indeed mean "war/battle", 作戦 means "tactics/strategy" which can be used in a military context but doesn't have to be. Japanese has a lot of compound words, so looking at just a single characte
7.
▲
by
ojii
6y ago
It's heading out to asteroid 1998KY26 (ETA July 2031) after a flyby of asteroid 2001CC21 (ETA July 2026). It won't do any more sample collecting but take photos and other measurements.
8.
▲
by
ojii
6y ago
> While developers need to figure that out, users are left unable to use their apps. Or worse, the developers get stuck in App Review Hell for over a week and are unable to release their fix to their users. This happened to me when the r
9.
▲
by
ojii
6y ago
I think I got it to work by editing the config file at /etc/fahclient/config.xml and adding: <slot id='1' type='GPU'/>, then restarting the client. Took me some googling and trial and error thou
10.
▲
by
ojii
7y ago
> The issue in Japan, though, is that they already have a high-speed network running on the same route, meaning that the extra gain from the maglev will be marginal. Tokyo-Osaka in an hour vs the current 2.5h, that's far from margin
11.
▲
by
ojii
7y ago
> Most citizens are army reserve and regularly go for training. FTFY: Most male citizens are forced to serve in the army and are forced to regularly go for training, or pay a hefty fine each year.
12.
▲
by
ojii
7y ago
> Participants start the tour with the chance to earn $20,000 That's presumably why people would want to do this. And bragging rights.
13.
▲
by
ojii
8y ago
> Why hasn't the market solved this problem? Maybe "the market" is not a good tool to solve inequality.
14.
▲
by
ojii
8y ago
How would it be harder than to make a room exactly 10 feet x 12 feet x 8 feet?
15.
▲
by
ojii
8y ago
The main reason I'm not even considering PyPy is that it lags behind CPython by a couple of versions. I'm getting ready to move to 3.7 while PyPy is still on 3.5.
16.
▲
by
ojii
9y ago
This is Switzerland, if we Swiss had a problem with these laws or considered them "totalitarian" we could overturn them via a referendum.
17.
▲
by
ojii
9y ago
Try building one yourself ;-) https://github.com/python/cpython/releases/tag/v1.0.1
18.
▲
by
ojii
9y ago
Sure you can. https://newgtlds.icann.org/en/
19.
▲
by
ojii
9y ago
Yes. Apples Push Notification API uses H2 + client certs.
20.
▲
by
ojii
10y ago
Or half an hour with public transport (your route).
21.
▲
by
ojii
10y ago
And for people who are not US citizens, the solution is pretty simple too: Don't travel to the US.
22.
▲
by
ojii
10y ago
Football fields are area though, not volume. Maybe washington-monument-football-fields for an easy and relatable unit?
23.
▲
by
ojii
10y ago
Quick two minute implementation: import multiprocessing import time NULL = object() def call_webservice(fail=False): if fail: time.sleep(10) return False els
24.
▲
by
ojii
10y ago
There's a plan for that apparently: https://twitter.com/ScienceMarchDC
25.
▲
by
ojii
10y ago
What's your solution for function definitions for this? def very_long_function_name(arg_one, arg_two, arg_three, arg_four): ...
26.
▲
by
ojii
10y ago
Great 99pi episode about this: http://99percentinvisible.org/episode/frozen-assets/
27.
▲
by
ojii
10y ago
Also the repeated use of "break down in mid-flight" irritates me. To me it reads too much like "break up in mid-flight", as in, the plane breaks into small pieces.
28.
▲
by
ojii
10y ago
There's a long-distance maglev train line under construction in Japan from Tokyo to Osaka, scheduled to be partially complete (Tokyo-Nagoya) in 2027 and fully complete in 2045 (if you're lucky and win the chance to buy a ticket, y
29.
▲
by
ojii
10y ago
I don't even have a credit card (I live in Japan). Stuff I buy online I pay at the convenience store or on delivery in cash, everything else I pay in cash or using my commuter pass (RFID).
30.
▲
by
ojii
10y ago
can I have a laptop without a webcam/integrated mic then?
More ›