skysight-inc/HackerNews huggingface dataset:
I'm surprised no other country has decided to go ahead and create an equally as open and safe environment for entrepreneurs to start companies. My understanding (which, I'll admit, is only based on my own observations) is that the vast majority of people outside the western sphere still regard the US through what's projected in hollywood movies and aren't really in touch with the reality of what life is in modern america (I'm a EU citizen myself but have quite a few US based/American friends).

Essentially, the way I see it is : The US still has an edge in technology and are able to attract top talent from overseas because they still benefit from cultural hegemony and their image worldwide. What happens when the dream evaporates is still a mystery to me. For example, how will the situation evolve once chinese / russian / indian universities catch up with institutions like stanford / MIT etc and enough investors from these countries decide to pour money into local startups ?
Mercari hires John Lagerling from Facebook’s management team to guide its U.S. s
> Wikis are great, but maintaining them is basically a full time job, which is why they tend to be terrible and out of date

Good documentation is a full time job, via Wiki or whatever. It's not the Wiki's fault it's out of date.
As far as I know (I don't use it myself), libpurple (which e.g. Pidgin uses) can speak the Facebook Messenger protocol.
A practical question:

How easy or challenging is it to stay in Toronto or Vancouver and run a US-registered startup there, if you need to collaborate with others in either SF Bay area or Boston/NYC? (In-person meetings might not need to be frequent; geting together once a month could be sufficient.)

I am an entrepreneur from Asia working to build a fundamental technology and was planning to set up a company and live in the Bay area. After studying diligently about various options, Canada could in fact be a better place to settle in with a proper startup visa and much fewer hoops to jump through, however the attraction of US tech ecosystem is powerful.

(Note: I earned a Masters degree with a thesis on AI/ML from a major US research university and have traveled to, attended conferences, and lived in the Bay area for several months per year over the last three years.)

The major reasons for SF Bay area dominance include:

1) access to top people, many if not most were/are foreign students, who attend UC Berkeley and Stanford,

2) ecosystems of global tech talents recruited by major tech powerhouses like Google, Facebook, Apple, etc.,

3) deep expertise and risk-taking attitude of Bay area VCs and angel investors, and

4) ease of access to vast US consumer and enterprise markets.

For 3) would major VCs or angel investors invest in a startup with offices about 1.5 to 2.5 hours away by plane? (The founders would need to travel to see them sometimes; but do they require in-person supervision/updates more than say once a month?)

For 4) I assume if the company is US-registered, it shouldn't have a problem in principle, is that true?
That quote says it's been two and a half centuries.
Huh, I've never found following concurrent conversations in Slack particularly challenging, but then I spent a lot of time a handful of years back in fast-moving chats that often had several unrelated discussions going on at once. Maybe it's a learned skill.

That said, in 3 years at Slack-heavy companies, the level of interleaved conversation I've encountered is almost nil. Maybe that's cultural (though the consistency across multiple companies and teams suggests not). Maybe company or team size is a factor. Maybe it's a matter of breaking it out into enough channels that if there are multiple topics to discuss at once they're usually happening in separate channels anyway.

Sure, Slack could probably improve the threads UI. (Though I happen to think that threaded display and real-time discussion are in some ways conflicting goals.) As it stands, however, they're a black hole. My team has actually banned the use of threads (and no, it wasn't even my suggestion).
That's not a glasses advantage though. The smartphone in my hand does that (my smartphone, an overpowered barcode scanner)
This coder has four, going on 5 kids – here is how he sees it
I don't really like this result. It's a bit like saying finding the maximum integer in a sorted list is actually order NN because... what if the N ints are all BIGNUMS WITH N bits, huh?

The fact that you have to grow the regex* to get this result has a similar vibe to it. All the regex matching we see - and most conventional regex matching - assumes the regular expressions are fixed. Every now any then you'll see an algorithm where the size of the regex contributes to the big-O notation but then it's usually broken out as a parameter.

I don't have a good method to actually do a fixed-number-of-backreferences in less than exponential time but it seems fairly clear that if you are willing to burn polynomial time gratuitously you should be able to handle a back-reference (i.e. for input of length N and M back-references, there are only O(N^(2M)) possible final places where those back-references could match for a single match... huge but if M fixed, not polynomial). So if you had an otherwise poly-time regex algorithm you could do it over and over again trying each possible back-ref location and still be poly-time.
Plenty of implementations of dialects of Lisp have compilers that produce machine code. I would even say that for Common Lisp implementations it is more common to have a compiler than to not have one. There are several great Scheme compilers too, and Racket has a JIT.

Here's a sample session with SBCL, where I define a function, which is immediately compiled, and then I request a disassembly:

CL-USER> (defun foo (n m) (* (1+ m) n))
FOO
CL-USER> (disassemble #'foo)
; disassembly for FOO
; Size: 48 bytes. Origin: #x1007CED6F3
; 6F3: 498B4C2460 MOV RCX, [R12+96] ; thread.binding-stack-pointer
; no-arg-parsing entry point
; 6F8: 48894DF8 MOV [RBP-8], RCX
; 6FC: 488B55E8 MOV RDX, [RBP-24]
; 700: BF02000000 MOV EDI, 2
; 705: 41BBC0010020 MOV R11D, 536871360 ; GENERIC-+
; 70B: 41FFD3 CALL R11
; 70E: 488B7DF0 MOV RDI, [RBP-16]
; 712: 41BBA0020020 MOV R11D, 536871584 ; GENERIC-*
; 718: 41FFD3 CALL R11
; 71B: 488BE5 MOV RSP, RBP
; 71E: F8 CLC
; 71F: 5D POP RBP
; 720: C3 RET
; 721: CC10 BREAK 16 ; Invalid argument count trap
Agreed, but they'll get more funding. the big thing is, keep the support of your constituents and you'll keep getting funding.

Travis offended and insulted the drivers, while Lyft is chugging along quietly. As long as people have brand loyalty to them (which they sure do), they'll win the ridesharing battle as it's looking like Uber is teetering
Does this actually have anything to do with Google?
From what i can tell, prototypo is a completely separate startup company with some per-month pricing plan

If not, this looks like some bad trademark abuse, as everyone here seems to think this is somehow done by Google :(
A jerk is someone who borrows your car and doesn't pay for the dent he puts in the bumper. What happened at Uber was the creation of one of the most insanely hostile work environments in living memory, where flouting not just the law, but also basic standards of human decency, was not only accepted but encouraged at all levels of the company.
I'm just about 100% positive at this point that Google had nothing to do with this.
I can't find anything internally that makes me believe we did (and i've looked really hard)
> state is the stuff that changes. In the Elm architecture, State has to be represented in code, in a very specific way, for it to be available in your application to your users.

I don't understand this. There's a lot of things that is "available in the application to your users" that is outside of the control of Elm - for example, the text selection, scroll position, window position and resolution...

> With Elm, there’s no place to "hide" state in your application that aren’t threaded through the type checker

State isn't so much hidden as collaborative. Multiple components participate and have a need to store independent UI state. For example, a table component might want to control scrolling, filtering, and selection state, while delegating populating the row data to the app.

Is it possible in Elm to allow separate software components to maintain their own independent states, without requiring some god-component to have global knowledge?
It is still blocked in Brave.
While I do agree that the culture at Uber was toxic and ultimately Travis was to blame for that, on a human level I do feel for the guy. At the end of the day, he just lost his mother and now also his life's work for the foreseeable future. And damn that must suck.
Autonomous shuttle service coming to the University of Michigan
Banks should most definitely do this. Or maybe provide a link to a CSV file behind a login-wall (so the details passed over email can't be poached as easily)
Show HN: 250+ Web Agencies with Blog URL, Twitter, Facebook and Founder Details
Here ya go:
https://outline.com/https://www.wsj.com/articles/how-uber-ba...
That isn't freedom, it's privatized crime and punishment. It's the same as saying you're free to be homeless if you can't afford rent.

(Except this is good.)
Yes.

> I thought the whole point of subsidizing rides was(as OP comments pointed out) to raise demand, both for drivers and riders, they first entice both ways with the promise of lower rates and higher payoffs, then slowly increase their cut of the pie against the driver's payoff and increase the rates on riders.

Right, and by the logic that decreasing prices raises demand, increasing prices will decrease demand.

That's my point, and the point of critics that are often ignored. Their customers will bail the moment they start getting charged the $25 their $10 ride actually costs. And that increase will be to break even. Not make any money. Just break even.

Uber will never achieve a monopoly. There are buses, bicycles, and used cars for $1500. People aren't going to pay $600 per month on a ride hailing service. I've already ditched Uber, and so have many of my peers, in favor of alternatives that save money. And that's without significant price hikes yet.

The fundamental economics of having a private driver have not changed. An app doesn't change what it costs to pay someone to drive you everywhere. I hate being critical because it's often a waste of time, but Uber is sincerely one of the worst investments that Silicon Valley has ever produced.
So what revolutions if any are we currently holding back?
What Is Mathematics and What Should It Be? [pdf]
Good grief. Yes, the press are the bad guys in all this.
Um, so we can advertise our apps on hackernews now? Cool.
Wonder if the other passenger was also stolen from, which would have led Uber to amend a report after the hearing.
Maybe eventually, he will view it differently.

"Getting fired from Apple was the best thing that could have ever happened to me. The heaviness of being successful was replaced by the lightness of being a beginner again, less sure about everything. It freed me to enter one of the most creative periods of my life."
Well, he still has his billions and is on the board.
You posted the exact same line on the Susan Fowler story
> a bit more than 20% of their total revenue

So why do you think half of Apple's market cap would disappear?

> Where are you gonna go?

Anywhere? Apple has $200B in cash, they could have factories in Manhattan if they wanted to.

> Did Yahoo or Microsoft leave China after the CPC banned Google?

Google hadn't made investments on the scale Apple has. Lots of investment would be scared off by China effectively nationalizing Apple's massive capital investments. A more immediate impact would be the retaliation against Chinese exports to the US.

The whole thought exercise is ridiculous, why is China going to risk it's own economy and stability for WeChat tips?
The reference was to general change in word usage, not to change in this word's usage.

See also https://billbennett.co.nz/2009/09/01/writing-warning/
Jersey Vegas #1 worldwide sportsbook and casino betting site
/JZUI
So basically all investment banking divisions should be treated with the same regard?

I find it strange that we seem to give finance a pass when they've engaged in this sort of behavior for decades.
I am opposed to the taxi industry collusion entirely, but Uber/Lyft are creating customer value by subsidizing their transportation costs via investor dollars. While I would love to see the taxi companies forced to reform, Uber will never make a penny.
And good news, an EV has constant torque!
I agree. Looks like I only noticed the apt-get install line and incorrectly assumed that's what you were referring to.
https://news.ycombinator.com/item?id=14609184
I'm betting on a symbolic referential language as becoming the defacto standard for programming binary machines. From my cursory glance at Mandarin, I see a lot of similarities with expressing code.
Hm so Kalanick is still on the. Pars so heoretically he can make a triumphant return at a later date?
Intn'l Trends 2020: The Automation Crisis (unemployment, inflation, bond/forex)
> Yes, but the packet replay protection is due to the sequence number of the packet that happens after the session is established.

The TLS does not use pre-shared keys. Instead, every time a client establishes a new connection, there is a "key exchange" phase. Here is a simplified explanation:

1. client generates a random number, does some math on it, encrypts with server's certifcate, and sends to server;

2. server generates another random number, does some math on it, and sends to client.

3. after more math (see https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exc... ), both client and server get the session key. If the exchange was not tampered with, both client and server get the same session key.

4. client and server exchange messages encrypted with session key. If they both have the same session key, they will be able to decrypt the message properly; otherwise, the connection is closed.

5. Now client can send a command, such as "open door"

The reason replay protection works is because every time session is established, the server will choose a different random number in step 2. So if you try to replay, then step 3 will generate different session keys, and step 4 will fail.

Once the connection is established, there is a separate counter for replay protection, but it does not have to be complicated -- because we know that the session key is unique to this session alone.

This is how TLS / DTLS / QUIC do replay protection. Do you agree that these protocols are fully replay-protected?
That's quite interesting to hear. In my anecdotal experience, it seems Alipay is more integrated than WeChat in terms of online payments as it appears to have far more sophisticated features and support across a wide variety of merchants and institutions, even if WeChat is itself unassailable as a whole and is of course primarily a communication app rather than a payment one.

For instance, after a year of wandering around, meeting merchants who did not support AliPay was a very rare occurrence but I frequently found several who did not use WeChat pay, although this is likely to change given the lightning speed at which these things seems to work in China. Even beggars on the streets have given me AliPay codes to scan.

This makes me wonder what the terms of the alliance between Apple and Alipay are. I don't use their appstore but would Apple be in trouble without it?
The best option I found (for read-only access) was chromedriver > download CSV statement > process that into your own database.

Using minimal standard screen scraping will be hard because most bank apps are a complicated mess of client and server side processing using ancient tech. After many tries, I just used python+chromedriver and that's doable in ~100 loc per bank.

CSV statements because OFX and others are a complete mess in most cases. I haven't seen a single compliant and correct file so far. (This may be AU specific)

Own database / spreadsheet so you have a local copy you can easily filter on. Obtaining specific date range from a bank may be an interesting challenge. I default to importing last 30 days every day with duplicates detected using a hash(date-description-amount-idx) where idx increases for every date-desc-amount duplicate.

So far I'm happy. Actually I'm in the process of writing a post about it - will submit sometime next week most likely.
> > there is no such rule that "sarcasm is not allowed" on Hacker News

> Has anyone claimed this? You are beating a strawman.

you did:

> Your original post was not civil, something that is in the guidelines (and of which sarcasm is a form).

> Why do I continue to "lecture" you? Because this reply continues to be uncivil, down-votes or no - plus you are apparently unrepentant (or at least unapologetic), and your thoughts on the matter imply you will continue to do so.

so you are trying to harass me into "repentance"? is this something you think is appropriate on hacker news ?
Not slow down, just not use what Google got through much more capital investment. That's where they should be, unless Uber prove that they are not using what was developed at Google.
I don't really see how it's privatized crime and punishment. Being a jerk isn't illegal. And the "punishment" is economic, not forceful. I don't think your analogy works.
If there are no walls, how else can we create leverage in preferential trade deals of geostrategic importance?

Sheesh! Next thing you know you'll be asking to price petroleum in something other than USD or something!
This approach is so wrong I cannot even begin to criticize it.
ETS is a fast [1] in-memory K/V store including a set type with constant time put/get in the standard library of Erlang. New in OTP 20 is an atomic CAS (compare-and-swap) operation.

[1] http://www.erlang-factory.com/static/upload/media/1459269312...
Everything I know about the ancient world I learned from Asterix.
Do we actually give the finance industry a pass? The fact that "Wall st" is a pejorative these days is some indication that's not the case.
Travis' resignation was the lead story on Nytimes.com and on the front page of the Washington Post. This isn't just a niche story anymore.
Yes, you're missing that this is all wish fulfillment doomsdayism. People are nursing some recreational outrage because of the revelations regarding Uber's culture. So now they all have a pet theory that Uber will fail. They're working backwards from what they _want_ to happen though, so their "theory" can explain anything:
"Kalanick is a loose cannon who's going to run the company into the ground"
Kalanick steps down
"They have no leadership, they'll close their doors in a week"
etc.
I am going to guess that there is some way to transition to an immigrant visa like an O-1 or H-1B. There are many Canadians in the US on a non-immigrant visa (TN1) then switching to an immigrant visa later on. This was my path to a green card.
That looks right up my alley, I've added it to my reading list.
> one of the most insanely hostile work environments in living memory

> encouraged at all levels of the company

Do you have any sources for this? There have been a few blog posts and some independent investigations to my knowledge but nothing to suggest it is/was "one of the most insanely hostile work environments"--especially worldwide.
I wondered the same. Or whether Gurley is exhausted with the whole thing and viewed now as a good time to hand the baton to someone else at Benchmark.
The problem with that is that the current internet architecture inherently favors monopolies.
If your HD650 is new, I'd suggest using only it for some month or two. Then you'll hear the difference.

In my case, what I've got is HD598 vs HD600, and the HD598 do now sound seriously bad to me.
I'm kinda sad I never took advantage of their invite to buy one. Would have been a cool piece of Google history to have sitting on a shelf.
Isn't iOS marketshare outside of the US and Europe essentially non-existent? Even in Europe iOS is far less prevalent that the US. I imagine most of WeChat's global expansion would be centered around other parts of Asia, South/Central America, Africa, and the Mid East.
Apple Shares Two New Tutorials for Memories Feature in Photos App
Imagine the pressure the VCs on the board are under from the people that gave them money to invest. An investment in Uber went from:

"Man I can't believe you got our money in there, we're gonna be rich!"

to

"$&?@! our money is in Uber? We're going to lose our shirts. Do something! Now!"

The VCs on the board had no other choice but to kick Kalanick out of the CEO job.
The syntax actually enticed me to play with lisp, and I do like it a lot, but I never found strong reason to prefer using, say, Common Lisp over a more mainstream language/framework stack. I'm just starting to dig into Clojure and I think the combination of lisp syntax and strong support for, and encouragement towards, immutable data really brings a lot to the table in both reason-ability and efficiency.
1. Your reply was "SYN cookies can be a solution, but it has limitations, and to overcome those limitations requires changes to the TCP protocol." Can you tell me more about these limitations? I thought the SYN cookies work pretty well. And they are pretty simple to setup -- in fact, they need no setup at all, as they are already enabled by default in the recent distributions.

2. Right, so how does your protocol solve a padding problem? Why won't this method work with ZeroMQ?

3. As I was saying above, this is still wrong. Both TLS and CurveZMQ are protected against replay attack.
And to preempt a rejoinder, a market economy has proven invariably better than the alternative. Remember, the Soviet Union collapsed because nobody wanted to wear Bulgarian shoes.
Didn't Morningstar just sell you to a bank though?

Is your product still going to be on the open market in 6 months time?
How do both of those compare to the C++11 std::regex or Boost::regex? At what point is it worth the switch?
> On the other hand, Amazon is a massive immoral monster devouring the US economy and replacing it with something vaguely worse, year by year. It's rapidly approaching a "too big to be allowed to fail" status, and that's awful for Americans. Since anti-trust laws weren't written by a generation able to envison entities like this and the current political climate is that they'd rather die than appear anti-business... I guess the only entities with the power to push back against Amazon are in fact the other major corporate vendors.

Could say the same thing about WalMart w/r/t local retail in rural America and now cities for the past 40 or so years...
Mint is readonly, but the possibilities explode when you are given RW and event processing access to your money. You could already do some cool things of you buffer your accounts between 2 cards. But you can't straight up sent transactions with code, or you're own "automated" savings plans, or social graph triggers/input based on transactions. So many cool possibilities, banks need to step up or collaborate on an engineering effort to produce a secure ApI system and infrastructure.
Electric cars and the infrastructure that goes with it. (cause of big oil / government lobbyists)
Harvard thinks it’s found the next Einstein – and she’s 23
> caught flat out bribing judges or something.

I mean, pretty close: http://www.latimes.com/business/technology/la-fi-tn-uber-gre...

They also have that Otto thing: https://www.wired.com/2017/05/googles-fight-uber-takes-turn-...

Oh and yeah, and with the push to #deleteuber and the massive amount of cash Uber's burning (or was), I can't imagine they wont be bankrupt soon[1].

[1] http://www.vanityfair.com/news/2017/04/uber-is-losing-an-ins...
Better than a loss though.