Viewing profile — ojii
ojii
HN member- Joined
- Thu, Jan 27, 2011, 9:04 PM UTC
- HN karma
- 559
- Public activity
- 178 items
- HN profile
- View on Hacker News ↗
About ojii
Recent public activity
-
comment
Comment #43748636
Classes are callable.
-
comment
Comment #43748282
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…
-
comment
Comment #37659612
Hubris and people thinking they can safely code in memory unsafe languages (they can't)
-
comment
Comment #34013687
http://ipa-reader.xyz/?text=for%CB%88d%CD%A1%CA%92e.jo
-
comment
Comment #31774699
You can get pretty far with four terminal tracks: https://www.youtube.com/watch?v=8Ge81gKqtvE
-
comment
Comment #30240992
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 …
-
comment
Comment #25320903
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 measureme…
-
comment
Comment #25110211
> 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…
-
comment
Comment #22638926
I think I got it to work by editing the config file at /etc/fahclient/config.xml and adding: , then restarting the client. Took me some googling and trial and error though, so I ag…
-
comment
Comment #22264233
> 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…
-
comment
Comment #21460843
> 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…
-
comment
Comment #21406812
> Participants start the tour with the chance to earn $20,000 That's presumably why people would want to do this. And bragging rights.
-
comment
Comment #17966308
> Why hasn't the market solved this problem? Maybe "the market" is not a good tool to solve inequality.
-
comment
Comment #17748200
How would it be harder than to make a room exactly 10 feet x 12 feet x 8 feet?
-
comment
Comment #16807646
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.
-
comment
Comment #16404810
This is Switzerland, if we Swiss had a problem with these laws or considered them "totalitarian" we could overturn them via a referendum.
-
comment
Comment #16245211
Try building one yourself ;-) https://github.com/python/cpython/releases/tag/v1.0.1
-
comment
Comment #15006780
Sure you can. https://newgtlds.icann.org/en/
-
comment
Comment #14057357
Yes. Apples Push Notification API uses H2 + client certs.
-
comment
Comment #13817963
Or half an hour with public transport (your route).
-
comment
Comment #13703698
And for people who are not US citizens, the solution is pretty simple too: Don't travel to the US.
-
comment
Comment #13658029
Football fields are area though, not volume. Maybe washington-monument-football-fields for an easy and relatable unit?
-
comment
Comment #13480104
Quick two minute implementation: import multiprocessing import time NULL = object() def call_webservice(fail=False): if fail: time.sleep(10) return False else: return True def wait…
-
comment
Comment #13479182
There's a plan for that apparently: https://twitter.com/ScienceMarchDC
-
comment
Comment #13460748
What's your solution for function definitions for this? def very_long_function_name(arg_one, arg_two, arg_three, arg_four): ...