skysight-inc/HackerNews huggingface dataset:
Public transit in SF sucks. It takes 45 minutes on the so-called "rapid" bus to go 5 miles. The Geary corridor is one of the busiest in the country, approaching (EDIT: well over!) 100k passengers per day if you include the 4 parallel bus lines running 1 block away from each other. It desperately needs a subway. But we're still 5 years away from even a BRT line, which will still take a minimum of 35 minutes.

I think it's a fair bet that autonomous cars will come before Geary BRT is completed, and it's a certainty that they'll come before Geary gets a subway. And while Geary is one of the worst, there are a half dozen similar bus corridors in the city. Also, most of the rail is above ground and similarly slow and crowded.

While I generally think rail and autonomous cars can be symbiotic, autonomous cars are likely to kill buses. Middle-income people ride the bus only out of necessity. High-income people never ride the bus, though they will ride a decent subway system. Once autonomous cars and autonomous shuttles come out, middle-income riders will flock to them, the only people riding busses will be the poor and working class, and the system will collapse, sooner in most other places, but it'll also happen in San Francisco.

Because San Francisco doesn't have a real subway network, SF MTA is in for some rough times in the not too distant future. I wouldn't be surprised if San Francisco bans or heavily taxes private autonomous systems. If they were smart they'd be digging tunnels as fast as possible. Some cities, like Madrid, seemed to have learned to do it cheaply, and the savings aren't just because of geology.
TLTR bro ....
I use them as the semantic guide when I write code.

Then again, I also use single and double quotes as a semantic guide to mean different things. I feel like that would probably make most programmers want to throw the computer at the wall, but so it goes
Habits That Drive Your Trading Success
Black Swans and Big Trends Can Ruin Anyone's Internet Prediction
Why wouldn't an "English style" (roman alphabet) style alphabet work?

Romaji works just fine, albeit with the addition of a macron diacritic. Though if it really was the primary writing system, a way to notate tone accent might be necessary (My gut says no, it carries relatively little semantic weight).
One of the problems is that you can never be sure. I seem to be the highest karma woman on HN. I have had someone high on the leaderboard tell me he just does not see women treated differently here. I am clear I have been treated differently and I have worked extremely hard to shut down problematic kinds of attention, as well as bad habits on my end that I did not realize were a problem when I first showed up.

Sexism usually presents itself not as some blatant and obvious different standard, but as a subtler pattern of behaviors. It ends up being maddeningly difficult to get other people to see it.

In fact, it took me an extremely long time to conclude that my gender was a problem on HN because it is a remarkably well-behaved environment. I am only able to recognize certain issues because of experiencing the pattern more blatantly elsewhere.

Yet, the reality is that I am a very prominent woman on HN and I remain extremely poor. The connection between my gender and my poverty seems blatantly obvious to me. I have extremely good reason to believe that if I were male, I would be taken far more seriously and people would promote my work. I would have more traffic, and that would result in more income and I would find it easier to get useful feedback.

Of course, no one owes me any of that. But it is, nonetheless, a source of enormous frustration for me. Thus, I feel it matters that I speak out. No one seems to even notice the glaring example that the highest ranked woman here is desperately poor and homeless while the highest ranked men are all quite comfortable and I am reasonably confident that at least two of them are self-made millionaires.

When there are as many self made millionaire women on the leaderboard as there are self made millionaire men, then you can tell me that remarks like the one above -- which is, happily, currently flagged to death-- are not an expression of sexism.
TLD/SLD should never have been a paradigm. I say merge SLDs from .com into TLDs and start selling TLDs only. With all pre existing TLDs grandfathered in.
Impossible! Outside of gene drives (which sound a little dangerous...), I really want to do some simple CRISPR projects (I have a specific idea in mind; although not for hacker news ;). Too bad you need a lab, even if it's probably a good idea to limit hobbyists.
A hack for learning Japanese, or a hack for getting inadvertent upvotes? :)

I seem to recall there were books that used that style of progressive foreign language learning, where they started out replacing a single word and then kept replacing more and more until, at the end, the entire story was written in the foreign language.
CFEngine, too! :) I'm still in business consulting and training on CFEngine. Although I'm branching out into Git as that has a wider user base.
I've been to Barcelona as well, the beer sellers are terrible human beings. They will hover around you like flies, then one of them will put a beer down next to you in the sand. When you refuse it, he'll pick up the beer and say "Look, it has sand all over it, it's ruined now. Pay me for it." They are of South Asian like myself, and I'm sure many Indian travelers make the mistake of talking to them when the best thing to do is completely ignore them.

The next night I was ambushed by four of them in the subway, they wanted to put their number in my phone and started getting really aggressive. I smacked the shit out of two of them before a bystander intervened. If I had handed my phone to them I'm pretty sure I wouldn't have gotten it back.
No, it is not at all common. The expectation is you'll at least have a few years as a lead. You're going to have to move to a company with room for growth and get promoted.

If you want to stay technical, go with a non-enterprise software company. Anywhere from Google to a tech startup. If you want to get more managerial, pick anywhere else.

I wrote about this in much more depth here:

http://www.madeupname.com/management-the-final-frontier/
I feel a little disappointed that so far, based on the comments I'm reading, this seems to be the minority opinion.
Erlang (one of my favorite languages) is dynamically typed, yet did not (until the recent addition of maps) have dynamic heterogeneous structures. You cannot iterate over or resize tuples, and the static analyzer discourages heterogeneous lists. Both are immutable (functional).

I apologize that I have hopped between use and implementation a bit in my above post. Yes, the implementation of Python lists and tuples support iteration, but it would be nonsensical to write code which iterated over a list or tuple containing heterogeneous data. (What could you possibly do identically to each element, if they had nothing in common?) Hence my assertion that implementing a dynamic heterogeneous structure is inefficient, if it nonsensical to truly use it as such.
https://www.entrepreneur.com/article/278622
My Father, the YouTube Star
I liked the beginning and expected the next word after "mouth" to look almost the same, with a subtle change, which would be a logical extension. But it was quite a jump from a simple square (口) to god-knows-what (食).

Also, why 食 is translated as "Eclipse" in Google?
How many symbols are there? And how would the keyboard look like though?
EDX – edx.efabless.com
I can't use my normal rewards card as it can't tell the difference between prepaid card and non prepaid. Seems like a hard thing to screw up considering you can google a list of prepaid bin numbers.
The fact is, we don't know how deep Neural Networks work - we simply know how they form. They are adaptive systems that learn to perform complex tasks.

This is scary because it means we don't "design" an A.I., we design an adaptive system and allow it to emerge. Nothing could be more dangerous in the long term.
Considering the "progress" they were making, and the very lofty goals, this was expected.
Have them program it in the Nim language, its amazingly clean syntax.
Maybe because in the eclipse the moon eats the sun.
In praise of Dewey
Interesting article. I've always heard that about lists and tuples, but this article made me wonder how much less efficient with storage is a list.

The following trivial example shows that, at least for very small lists and tuples, except for the fixed overhead of 16 bytes for a tuple vs. 72 bytes for a list they're the same [edit: no it doesn't. I wasn't looking at the diff between a 1-element and 2-element tuple]:

Perhaps there's more to it?

>>> from sys import getsizeof
>>> list = [94]
>>> getsizeof(list)
80
>>> list = [94, 37]
>>> getsizeof(list)
88
>>> list = [94, 37, 21]
>>> getsizeof(list)
96
>>> list = [94, 37, 21, 19]
>>> getsizeof(list)
104
>>> tuple = (94)
>>> getsizeof(tuple)
24
>>> tuple = (94, 37)
>>> getsizeof(tuple)
72
>>> tuple = (94, 37, 21)
>>> getsizeof(tuple)
80
>>> tuple = (94, 37, 21, 19)
>>> getsizeof(tuple)
88
That "lol so randum XD" crap works in some situations, of which this isn't.
At about 21 mins in, the awesome happens.
There are a lot of homophones between Chinese loanwords in Japanese. A writing system like Romaji that only records the phonetic information would be no more useful than just hiragana (which might then arguably more useful as it aligns with the syllables?)
what, of course, single quotes are for characters and double quotes are for strings.
I do the same! But I get frustrated that I can neither modify individual elements of my "cultural" tuples, nor is there an immutable (functional) "cultural" list (or dictionary, for that matter).
Silicon Heaven  the Centre for Computing History
you are right: http://dictionary.hantrainerpro.com/chinese-english/translat...
The false premise behind your question is that DRM does anything to prevent copying.
I think SoundCloud is better if you are not planning on buying anything and want to listen to covers of songs you like.

Also SoundCloud front end is easily the best front end of any site I've seen before or since.
Thus proving that symbolic meaning applied at the glyph level is too cumbersome to be practical because it requires pure memorization of all possible combinations of glyphs and conjugations thereof.
I came across a credit score email online when I was in need for an increase of my score after having issues with lexington law and bieng ripped 3 times trying to get my credit fixed. Creditscorehq@qualityservice.com helped me increase my score instantly . they were fast. I can always recommend people with any type of credit issues to them they can increase your score fast.Trust me you will be thankfull for my referraly
Hah, and there's the kicker. In Japanese the most common input method is phonetic, either with a latin alphabet keyboard or a hiragana keyboard. The IME kicks in and has you select the ideogram you mean, so in reality it would save you no time typing and actually cost you time.
How much did you put in to get 10k profit?
It doesn't work due to the insane amount of homophones. When you are speaking with someone you have context and you can discern the meaning of what it's said. But random words or texts can change it's meaning depending of what character is used. And the tone system doesn't help as it can be seen in Chinese pinyin.

For example, how many kanji can be read as 'shuu'/しゅう:
http://jisho.org/search/%E3%81%97%E3%82%85%E3%81%86%20%23kan...

Try to do that with tones.
Color of atoms (2014)
> Firefox will all pretty much just crash if malloc() fails

It's not nearly as simple as that. A general approach we try to use is the following.

- Small allocations are infallible (i.e. abort on failure) because if a small allocation fails you're probably in a bad situation w.r.t. memory.

- Large allocations, especially those controlled by web content, are fallible.

The distinction between small and large isn't clear cut, but anything over 1 MiB or so might be considered large. You certainly don't want to abort if a 100 MiB allocation fails, and allocations of that size aren't unusual in a web browser.
A few thousand, with most adults knowing ~1000-2000, but you can get pretty far just knowing the 250 most common.

The keyboards look about the same. The trick is there is also a phonetic alphabet that you can use to compose the ideographic characters. Basically Japanese input methods work kind of like autocompletion in an IDE. You spell the word you want using phonetic characters and a little popup lets you pick the ideographic transliteration when you hit the space bar.

Here's a typical Japanese keyboard https://s7.postimg.io/i5fg1c1kr/SKB_KG3_BK_FM.png There are a few different kinds with slightly different ways of working but they're more or less the same. A lot of Japanese just use a standard American layout and spell the phonetic characters using Romaji (Japanese phonetic characters transliterated to Latin characters).
The lure of Chrome apps and extensions is they're easy and safe for users to install which is not true of alternatives.
Spaces carry a lot of semantic weight, as do other components such as capitalisation and punctuation (most of which in use in Japan is borrowed from romaji anyway).

iimagineitdgetprettyannoyingtryingtoreadenglishifitwaswrittenlikethisbutitshardtotellwithouthavingdonesofortwentyyears
A note to the writer, I think the following section:

If you answered no to all these questions, ...

Should be "yes"?
If 口 substitutes for mouth -- the adjective form of "mouth" is "oral", an etymologically (and audibly!) distinct word. Should that use 口 too?

If king is 王, kingly is 王ly, and royal is 王al, what is regal?

If mouth is 口 and mouthed is 口ed, why would ate be 食t rather than 食ed?

Japan misinterpreted the Chinese writing system (already terrible) into easily the worst writing system known to mankind. It won't look cute when you go beyond two symbols.
Keysafe: securely backup short secrets to the cloud
A.I. Technology Being Used by SB NATION to Rank FANTASY FOOTBALL PLAYERS
It's worth noting that tuples aren't actually immutable in Python. Tuples have immutable length, but the values in those slots can be changed at runtime.
Yes, hence my suggestion to introduce an immutable adaptor class. Then all containers (sets, dictionaries, etc.) gain those abilities.
That was cool. Interesting enough, you can come to the same conclusion with emojis.
What is this? Some sort of art? Not saying it shouldn't be here, but I'm not really sure how it's relevant to HN.
How to randomly assign values row-wise in a numpy array
Given the history of vulnerabilities in tools like ImageMagick, that panic might still be a better position than an exploitable memory bug.
No, they definitely can't:

>>> (1,2,3)[2]=5
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'tuple' object does not support item assignment

I wish they could. (Maybe Python 3 is different?)
Well, in English spaces certainly carry weight, partly because the word unit has so many characters. In languages like Chinese and Japanese, units /are/ the characters (or a few of them). Particles then make natural separators in strings of kanji.
(94) is not a tuple. (94,) is.
Is the illegalization (made up a word) of weed in Europe at all a USA export as well? Or did they come to it on their own?
Malloc can always fail, even when you have overcommit enabled. You can always run out of address space. It's pretty common on mobile, which is still predominantly 32-bit.
This was an interesting symbol to choose for an internet explanation. It took me a while to realise that the rectangle is actually the symbol that I'm supposed to see, rather than a missing glyph.
Whether it is effective is irrelvant. The question is: Do they have a right to prevent you from copying? If you purchase something, like a video game, I 100% think that no, sellers do not have that right. In netflix's, I think that they do. Whether it's effective shouldn't factor into the equation.. it's an implementation detail.
> Still, I've never heard of anyone using Javascript or VBScript to automate anything.

Well thousands of companies have done it, so. I don't know what to tell you.
I use rancher in prod. I absolutely love it. I don't use kubernetes in prod though. But if you want to go kubernetes through rancher, it is pretty easy.
DRM free flac is one of the main reasons I go bandcamp when available. I have my own in home media server, so being able to actually have the songs is important.
That is not wrong, but weird to give as a first definition. The word "食" can mean either food or eclipse. In both cases it is read the same way; so I assume this happened because they did not have a symbol for eclipse so decided to use a homophone.

http://jisho.org/search/%E9%A3%9F
Why do you have less context in writing than in speech?

I'd be willing to bet heavily that the vast majority of those "homophones" are primarily writing-only, domain specific or archaic "shorthands", which are referred to in speech with slightly more verbose alternatives. Switching to a non-character based system would admittedly in that case mean some domain specific writing would be slightly less compact, but that seems a reasonable tradeoff given the unwieldiness of the current writing system.
That approach may make sense on the desktop, but it doesn't make sense for network servers. On a network server allocations tend to be small. Your 10,001st request might fail not because of a huge allocation but because it just pushed you over the line.

Aborting all 10,000 requests provides really poor QoS. You can get away with that if you're Google, because 10,000 requests is still miniscule relative to your total load across "the cloud". For almost everybody else it will hit hard, and among other things makes you more susceptible to DoS.
D'oh! Thank you, colanderman.

>>> tuple = (94,)
>>> getsizeof(tuple)
64
I've always drawn systemic problems of our social progress back to incentives, and a major complaint I often bring up is "Who is incentivized to fight for the public domain? For common sense?" There are strong financial incentives the other way, to legislate lock-in and go against what's in the best interest of the nation & world.

It's great to see that there are ways to incentivize fighting for the public domain.
Slightly off-topic but can anyone here comment on the candies they ship? Are they just ordinary sweets? I've never heard about Japan being famous about candies like Switzerland is about chocolate.
Sometimes I wonder if all these people that criticize or that think that a Latin alphabet can be adapted seamlessly to all languages have tried to study past a beginner level any
logographic language.
> Can you do this in Powershell quickly? I don't know, I am actually curious.

You can basically do the same thing with Powershell. I don't know of a 'built-in' module to handle XLS->CSV conversion, so you need to bring one in:

Install-Module ImportExcel

Then:

ls *.xlsx -r | %{ Import-excel $_ } | ? { $_.Name -eq "Miller" } | sort

That's my naive, Powershell noob approach anyway.

There's another option however, where you can leverage Excel itself (granted, this is likely to be a Windows only approach):

$excel = New-Object -com excel.application

And you can now open XLS/XLSX files and operate on them as an actual excel document (including iterating through workbooks/ worksheets, etc.). It's all just objects.
The point of the story is that it wasn't an academic war plan.

This was a serious proposal, probably made by a sociopath like Gen. LeMay, to execute a specific attack in 1963, before Soviet capability caught up.

Per LeMay:

> Native annalists may look sadly back from the future on that period when we had the atomic bomb and the Russians didn't. Or when the Russians had aquired (through connivance and treachery of Westerns with warped minds) the atomic bomb - and yet still didn't have any stockpile of the weapons. That was the era when we might have destroyed Russia completely and not even skinned our elbows doing it.
Spotify seems to be partially gearing for that. A lot of reasonable sized artists' pages have an "Offers" section where they sell records and other merch.
It would also be no more or less useful than just speaking. Do Japanese people carry around flash cards with kanji on them to disambiguate their speech?
Ask HN: Were you fooled by the selective attention test?
I was talking with a programmer buddy of mine about the Selective Attention Test, which can be found here: https://www.youtube.com/watch?v=vJG698U2Mvo

I told him I thought it was like an apocryphal story from Mike Royko: He was a celebrated Chicago journalist, and his team threw him a party when his new book came out. When all the junior journalists came up to have their book signed, he wrote: "You were always my favorite. Don't tell the others --Mike". So everybody thought they were special.

I told my friend I thought that the Selective Attention Test was like that -- nobody gets fooled by it, but hearing that some people do makes you feel special.

My buddy, who is pretty smart, told me that he was fooled. I honestly couldn't tell if he was serious, because sometimes he likes to troll me subtly.

If you've taken it, were you 'fooled' by it?
The only problem is that you learn all 2000 at the very minimum and more than that if you actually want to do something practical.

Each one has more than 1 reading, a particular stroke order, and many other things.
This is why I have trouble getting along with Linux users.

Without change, there's no improvement.
But then Chinese moved to simplified Chinese, making some symbols very different.
Those are the names of compartments / projects for classified information.

The way compartments work, they are supposed to be isolated not just from lower level (secret vs top secret) but also among each other. So things would have instructions like "handle via EPICBANANA channels only". So if you are not read into EPICBANANA you don't get access to it, even though you might have TS clearance.

So programs / capabilities are referred by those names. Instead of say "Oh that Cisco ASA blah model VPN MitM thing we have".

That also means that just because you have TS clearance doesn't mean you get to pick up and walk away with all the TS information you want ... oh wait, that did happen already, didn't it... oops.
On that case I think I agree with the Matt Levine take that "Back in September I was pretty sympathetic to DRW and after reading the CFTC's complaint. I'll double down on that.†" I guess we'll see what happens.

My only point was that some people think all HFT is bad, and here we have a complaint that actually the situation is reversed and it was actually all human market making that was bad. I don't think either statement is completely true, and I was trying to highlight the contradiction because the human market makers and the HFTs are, in a lot of cases, the same people.

† https://www.bloomberg.com/view/articles/2013-11-06/cftc-sues...
> Those who really want to rip something and have a bit of know-how will most likely be able to do it sooner or later.

The kind of piracy it does prevent is putting movies you've watched onto a USB stick and handing it to a friend who doesn't pay for a subscription.

For distributing pirated content online, people wanting to download pirate content still have to spelunk through torrent trackers or Popcorn Time or whatever to actually get the video, whether it was distributed originally with DRM or not. DRM-free just makes life a little bit easier for the uploaders.
I think you're pointing out the idiosyncrasies of English here.

"Mouth" is both a noun and a verb.
The past tense of "eat" is "ate", not "eated".

No wonder English is so difficult to learn.