ojii

Joined 15 years ago

Karma
559
Submissions
178
Member since
Jan 27
https://github.com/ojii
View on Hacker News

Recent submissions

Comment · 1 year ago
Classes are callable.
Comment · 1 year 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 you would want that, but Python won't stop you.

Comment · 3 years ago
Hubris and people thinking they can safely code in memory unsafe languages (they can't)
Comment · 3 years ago
Comment · 4 years ago
Comment · 4 years 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 character can be a bit misleading.
Comment · 5 years 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.
Comment · 6 years 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 reviewer took umbrage with our screenshots (which have passed numerous previous reviews) and kept rejecting our update. Meanwhile the app was bricked in some configurations with nothing anyone could do about it.

Comment · 6 years 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 though, so I agree this should be made clearer.
Comment · 6 years 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 marginal, especially if you do a round-trip.

Having done that trip a couple of times recently for business, I can't wait for the Chuo Shinkansen to open.

Comment · 7 years 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.
Comment · 7 years 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.

Comment · 8 years ago
> Why hasn't the market solved this problem?

Maybe "the market" is not a good tool to solve inequality.

Comment · 8 years ago
How would it be harder than to make a room exactly 10 feet x 12 feet x 8 feet?
Comment · 8 years 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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton