HNHacker News
TopNewBestAskShowJobs

level3

306 karma · joined November 12, 2015

submissionscomments
level3··on Engineers say Boeing pushed to limit safety testing in race to certify planes
In the title, "limit" is used as a verb, not a noun. In other words, Boeing pushed to reduce the required amount of safety testing, in order to certify their planes faster.
level3··on Speedgate: World’s First Sport Generated by AI
I think these are more like the basic rules of the game, rather than an official league rulebook. Like any other sport, additional rules would be needed for organized play, and those could vary from league to league.

For example, no one will eject me from the court if I commit too many fouls during a pickup game of basketball at the park, but the NBA, NCAA, FIBA, etc. each have their own rules regarding fouls and their associated penalties. League rules also evolve over time, sometimes in response to rule abuse.

So I wouldn't hold it against the game if the first iteration of the rules don't account for every aspect of competitive play. What's more important is whether the game is actually fun or not, and then leagues can evolve from there.

level3··on Sorting in Japanese – An Unsolved Problem (2011)
That does make sense in a way, but I don't think that would feel natural to any native Japanese speaker. I'm not native and even I would find that ordering very odd.

At the very least, it would make the sorting algorithm a lot more complex if you had to look ahead at later characters in order to sort the current prefix.

level3··on Sorting in Japanese – An Unsolved Problem (2011)
For those who want to know more about this:

The article touches on just the tip of the iceberg. You might think that all you need to do is add an extra field for phonetic readings, and then simply sort on that field, but there are a lot of things that can go wrong. A naive sort (i.e. based simply on character code) will hit the following snags:

1) Hiragana vs Katakana

The article focuses more on Kanji vs Kana, but Japanese users will expect Hiragana and Katakana to be properly sorted together. Either you normalize your sort field (by converting everything to Hiragana, for example) or you use a Kana-insensitive collation.

2) Half-width characters

Katakana can be encoded as full-width or half-width characters (カ vs カ). Generally you want these treated as the same, so again you need to normalize or use a width-insensitive collation. There are also full-width alphabet characters (A vs A).

3) Youon

These are actual different characters (ゆ vs ゅ, つ vs っ), so you can't normalize, but you want them sorted together. Here you need a collation that's case-insensitive with respect to these.

4) Dakuten/Handakuten

Like youon, these are also different characters (は vs ば vs ぱ) so you can't normalize, but you want them sorted together (insensitively). A sensitive sort will give you (はね, ばつ, ぱすた) while an insensitive sort will give you (ぱすた, ばつ, はね).

There has been a lot of work around this, resulting in many different database collations over the years, some of which result in sorts that would greatly confuse Japanese users. As of today, you probably want to be using (in the case of MySQL) utf8mb4_0900_ai_ci or something similar.

level3··on Sorting in Japanese – An Unsolved Problem (2011)
You're confusing spelling (using the alphabet) with spelling (using hiragana/katakana). In Japanese, spelling IS the same as saying it.

きゆ and きゅ are pronounced differently because they're spelled differently (notice the size of the ゆ). Same goes for んあ and な.

level3··on The Archetypal Resonance of Classic JRPGs
Isn't the fact that societies change part of what nostalgia is?

Sure, the internet and social media has contributed heavily to changes in taste and modes of consumption, much like television and motion pictures (and video games!) before that.

level3··on The Archetypal Resonance of Classic JRPGs
I agree with you that the output of the 90s represents an identifiable period in Japanese pop culture, but don't agree with the original sentiment of things having necessarily "stagnated" since then. There may be an argument, as you suggest, that the period was more progressive in a sense, but I'd have to see more examples of what you're talking about before I could agree.

The dominance of things like One Piece or AKB48 don't preclude the creation of "cutting edge" stuff, though they might certainly drown those out and make them less visible. I think something similar could be said for the 90s, with the popularity of Dragon Ball and Morning Musume, for example (though to a lesser degree). Still, the Internet has allowed for the creation and popularity of lots of interesting stuff, even if they may not be "mainstream."

level3··on The Archetypal Resonance of Classic JRPGs
It's probably not talked about much because I don't think many people agree that all those things peaked in the 90s, outside of some sense of nostalgia. Objectively, all of the cultural outputs you mentioned have continued to grow, so any sense of peaking is probably based mainly on subjective taste.
level3··on Is huh a universal word? (2013)
You must be thinking of さ instead of さあ. The latter is often used to express "I don't know" or "who knows".
level3··on Maze-solving algorithm implemented in sed
No, I’m clock. As you can see, my sed skills aren’t as good as tails :)

Now that I’m 10 bytes behind I might have to give it another try. Though I haven’t golfed in years :/

EDIT: Well, I checked my old code and found a few places to optimize. Now down to 95 bytes :)

level3··on Maze-solving algorithm implemented in sed
For reference, here’s a code golf challenge for maze solving. It’s an “endless” challenge (meaning none of the code submissions are viewable) but the shortest sed solution is currently 98 bytes.

http://golf.shinh.org/p.rb?maze+solving

Not quite as hard as the OP, though, since the conditions are slightly easier: only 3 inputs are tested, all of them are the same size, and all of them have exactly one solution.

If I remember right, my overall approach was pruning dead-ends instead of a breadth-first search.

level3··on Amateur Mathematician Finds Smallest Universal Cover
It’s not as surprising when you realize that the problem allows reflections of the shape, removing the need for a symmetrical cover. There are lots of lopsided shapes that will barely fit on one side but leave room on the other. With an asymmetrical cover you can handle different classes of shapes with each side, while a symmetrical cover ends up overcompensating and being too “one size fits all.”
level3··on Japanese Woodblock Print Search
This is an amazing site! I haven't really gotten into ukiyo-e but this is so great for exploration and discovery. I think there are a lot of other genres/topics as well that I would love to have a site like this.

I appreciate the work put into making the site light and responsive, even with so many images. And I find the mouseover functionality really neat, too - even if it's not the most practical way to view hundreds (or thousands!) of works at a time, it's completely mesmerizing.

level3··on Ask HN: Lost $10k as my email was hacked. Any ways to recover it?
I think you’re greatly mistaken in your assumptions. Harvard would suffer much greater damage to their reputation if they honored a fake acceptance email. To my knowledge, no university has ever honored a fake (physical) acceptance letter either, and those have existed (as pranks or otherwise) for a while.

It’s highly unlikely that such a case would even get to trial without being dismissed. For example, see this Quora thread [1] about the case of the university itself sending out the actual acceptance letter. Columbia University also had an incident where a system error accidentally sent out acceptance emails, which they quickly retracted, and no lawsuit or settlement came out of that.

I think it would be incredibly difficult to prove damages in such a case, especially since a fake acceptance letter doesn’t prevent you from going to another college. Your example of the student withdrawing their other applications is also unlikely to be blamed on Harvard, particularly before the student has officially accepted (at which point Harvard would notice they didn’t accept the student).

[1] https://www.quora.com/Can-a-university-be-sued-if-it-first-s...

level3··on Ask HN: What is one Vim trick most people don't know?
Delete lines from current location to end of file:

dG

is a lot faster.

level3··on I fear Google's control of the web
HTTPS is not just about preventing eavesdropping of private data; it is also about preventing MITM and data tampering.

I agree that from your perspective, you might see no benefit, but the HTTPS push is primarily for the users (and as a result, the web at large).

level3··on Remembering the ‘Knocker-Ups’ Hired to Wake Workers with Pea Shooters
I remember this too so I looked it up. It was Wakie, but it seems that they’ve de-emphasized the wake-up call aspect.

Here’s an article from 2014: https://techcrunch.com/2014/12/10/wakie/

level3··on Unlocking the Business Secrets of Escape Rooms
Among the operators you know, how much emphasis is there on story writing? In my experience, the most enjoyable games (in Japan) are the ones with rich stories that tie in well with the puzzles. However, I get the impression that outside Japan the rooms are more focused on gimmicks.

What would you say is the distribution of emphasis on 1) story, 2) the individual puzzles, 3) gimmicks/“wow” factor, 4) the room itself (i.e. decor)?

Are there any particular trends you’ve noticed in terms of themes or gimmicks?

level3··on Unlocking the Business Secrets of Escape Rooms
How good is your Japanese? There are a ton of games in Tokyo, but if you can't read/speak Japanese your choices will be limited. In any case, ideally you should go with people you know, since communication will be important.

First off, there are four general types of escape games in Japan: 1) Room-type (single team trapped in a room/series of rooms) 2) Hall-type (multiple teams at separate tables in a conference room/hall) 3) Stadium-type (large areas like convention centers/stadiums, sometimes with no limit to team size) 4) Field-type (no team size limit and no time limit; play area ranges from in-store to city-wide)

In general, room-types are the best experience for beginners, since they are more immersive, you don't have the distraction of other teams, you're free to talk/make noise without fear of spoiling other teams, and you have the staff's full attention. I get the impression that the majority of games outside Japan are room-type, while hall-type and field-type are much more common in Japan.

If you just want to get the feel for what kind of puzzles you'll have to solve, field-types are low-investment, and are less stressful since you can solve them at your own pace.

Most of the games I would usually recommend for beginners aren't running, but out of the ones that are (that I've already played), I would suggest these if your Japanese is fine:

- 時空研究所からの脱出 (room-type)

- 下北沢謎解き街歩き (field-type)

- ある牢獄からの脱出1&2 (room-type; highly recommend going with a full group you know)

- マグノリア銀行からの脱出 (hall-type)

- のび太の宝島からの脱出 (hall-type; better if you like Doraemon)

These are also okay for beginners but may be better if it's not your first time:

- 2099年からの脱出 (room-type; this is a sequel of sorts to 時空研究所からの脱出)

- 不思議な晩餐会へようこそ (hall-type; the tables use projection mapping to advance the story)

- Escape from the Red Room (room-type; also can be played in English)

- The Mummy Escape Game (room-type)

- ある都市伝説からの脱出 (room-type; it's an escape game + haunted house, so only if you like horror)

- アイドルは100万回死ぬ2 (room-type; this one's a "time-loop game" where instead of solving puzzles you're trying to figure out how to successfully break the time loop, but very fun even for those who aren't good at puzzle-solving)

- Any of the Detective Conan games (hall-type)

- ドラキュラ城からの脱出 (hall-type)

- 監獄アルバトロスからの脱出 (room-type)

All of the suggestions above are SCRAP-produced games, since I feel they're entertaining even for beginners, especially if you're not sure whether you'll like escape games in the first place.

If you can't read/speak Japanese:

- Escape from the Red Room (mentioned above)

- Mystery Mail Box Global Edition (field-type)

- Tokyo Metro: The Underground Mysteries (field-type; the play area is city-wide, taking you to various Metro stations; not currently running but they've run one every year, generally starting in October)

- Any of the Escape Hunt Tokyo (recently rebranded as Nazobako)-produced games (room-type)

level3··on Unlocking the Business Secrets of Escape Rooms
Just to clarify, “Trials of Bahamut” is produced by the Japan-based company SCRAP. Although they do a lot of original games, they also do a lot of collaborations with major franchises, including the Bahamut game (Final Fantasy) and the Zelda game from last year. (They’re also currently running a Pacific Rim game.)

They’re much smaller than Square Enix, but they’re the most popular escape game producer in Japan. And escape games are currently booming here, so they’ve managed to work with a lot of big franchises.

level3··on Unlocking the Business Secrets of Escape Rooms
Is there anyone here who is greatly familiar with the overall scene/industry in the U.S.? I’m heavily into the scene in Tokyo and I’d love to compare notes. Based on articles like this one, I sense there are a lot of differences, but I’d also like to hear more anecdotes/perspectives from the consumer side.
level3··on A Feasible Approach to Human Stasis for Long-Duration Deep Space Missions
Legalizing human experimentation in this manner would result in it being counted as employment (e.g. for tax purposes).

Meanwhile, unemployed people risk losing their benefits if they refuse a job offer. So depending on how these jobs are treated, an employment agency might put you in a position where you may not be able to refuse.

level3··on Amazon's Japanese headquarters raided by nation's regulator
According to JETRO’s 2017 report, in terms of domestic e-commerce, Amazon had a 20.2% market share in 2016, compared to Rakuten’s 20.1%. [1] This is not a monopoly per se, but 20% of the market is too big for any business to ignore, giving Amazon (and Rakuten) significant leverage, particularly over smaller businesses.

[1] Summary in Japanese: https://netshop.impress.co.jp/node/4590 (link to the JETRO report is at the bottom)

level3··on California's other drought: a major earthquake is overdue
It isn’t about buildings collapsing, it’s about doors getting stuck, so I’m not sure what relevance the Triangle of Life has here.
level3··on California's other drought: a major earthquake is overdue
Small earthquakes are common enough in Japan that many people will just brush them off. My personal reaction to anything 4 or less on the intensity scale is just to stand/sit still. Basically, if it’s not strong enough to trigger the early warning system, I don’t really worry.

Even with the early warning, sometimes the earthquake will still be on the weaker end of the spectrum, so you brace yourself but not necessarily panic.

The 2011 earthquake started off moderately, so no one in my office ducked for cover until it really started to shake, which was already about half a minute in.

level3··on California's other drought: a major earthquake is overdue
Yes, there have been cases of people getting trapped in rooms/buildings due to doors getting bent or warped, so it’s common advice in Japan to prop open a door to secure yourself an exit.
level3··on ACME v2 and Wildcard Certificate Support is Live
Not sure if it will work for your use case, but you can also CNAME the _acme-challenge record to a different domain (or a subdomain with a separate zonefile), dedicated only to authorizing certificates.
level3··on A 1980s study on juvenile crime in Japan sheds light on American gun culture
In fact, this particular article is by a foreigner - Jake Adelstein, an American who has been reporting on the yakuza and Japanese police for a long time now. He’s written for a lot more outlets than just the Japan Times as well.
level3··on Show HN: Bato – A Filipino Programming Language
Just as an anecdote, I know of at least one person in my company who uses it, without being anywhere near a professional typist. I suspect older generations may be much more likely to use it.

In any case, even though mostly everyone prefers the IME on their computers, I haven’t seen any Japanese people who prefer romaji input on their smartphones.

level3··on Red Hat Enterprise Linux 7.4 Released
Personally I prefer remi because package names are kept the same, making it easier to upgrade. With IUS, the version is part of the package name (i.e. "yum install php71"), which tends to make maintenance and configuration messier.
← PreviousPage 2 of 5Next →