skysight-inc/HackerNews huggingface dataset:
> nice to earn $120k in Silicon Valley
> $3500/m rent for a 1br apt

I think you are a bit off on both :)

Salary:

As a Software Engineer, chances are you can a bit more (especially including bonus + RSU). If you're "senior" you can earn quite a bit more.

Also: There are tons of other small perks that add up (phone/internet reimbursement, free food, public transport pass, free electric car charging, ...)

Rent:

You can currently get a 2 BR, 2 BR in Mountain View for about $3500 (managed newish building 2 minutes from Castro)

(Source: moved to Valley from Europe via Boston)
'Extract Method' in Intellij IDEA 15 auto-detects parameters from your code
Understanding the mindset of people who are working at these giant corporations mainly TCS, Infosys, Tech Mahindra and Wipro is important if this plan has to be successful. Many of my friends work at these companies and have been to US to work onsite with clients. When I asked them why they don’t look for another job in US, their take was that they don’t want to settle in US. They have their family, friends in India and they just want to make their “money” and return home. They don’t consider themselves “cheap labor” as the article states because they do save a lot of money as compared to what they were making in India. They also don’t want to take a risk of branching out and working at a startup unless its a big name. Which is understandable, very few of them have worked at startups and with most startups failing they don’t want to take the risk of finding another job or going back to India empty handed. Unless they have studied in US and did a couple of part time jobs or internships in US its tough to convince someone to be a part of your startup. That said, I will love for this idea to be successful. Good luck!
> they also explicitly request not commenting to say you flagged something

They just if you comment nothing else, it's OK to mention it as an aside to a more useful comment.
While I certainly shared your frustration, I do think that MS had some extremely talented folks there.

Some of the brightest people I have ever had the pleasure of working with came from MS.

Incompetence was far from the problem. Priorities out of order would be one diagnosis.
The size and strength of our payments and POS business have allowed us to develop a deep understanding of our sellers’ business performance and to build a cohesive commerce ecosystem. As such, we are well positioned to provide financial services and marketing services to sellers efficiently and intelligently. For example, one of our financial services, Square Capital, uses our deep understanding of our sellers’ businesses to proactively underwrite and extend cash advances to them. Although Square Capital is still in its early stages, we have already advanced over $225 million since launching it in May 2014. Square Capital demonstrates how our services can rapidly reach significant scale through a combination of strong demand and our direct, ongoing interactions with our sellers. Although Square Capital currently does not contribute a significant amount of revenue to our business relative to our payments and POS services, our software and data product revenue, including revenue derived from Square Capital, has grown quickly, and we expect these products will contribute a larger portion of our total revenue over time. Marketing services, such as Square Customer Engagement, give sellers easy-to-use tools to help them close the loop between communication with a buyer and ultimately a new sale. We currently see more than 1.5 million monthly feedback communications sent by buyers to sellers through digital receipts. Together, our financial services and marketing services provide sellers with access to capital and access to customers, making it easier for them to accomplish their goals. [0]

Transaction fees is a loss leader, but this isn't their business model. They'll make a majority of their profits on small business loans.

Example:

Local burger shop - I need a $10,000 loan to buy a new stove.

Square - Based on your commercial transaction history, we see you'll be able to pay the loan off in exactly 17.2 months. We'll give you $10,000 at $foo APR for 17.2 months.

[0] - Square S-1 https://www.sec.gov/Archives/edgar/data/1512673/000119312515...
The H1B chances are kinda slim. I'd personally recommend finding more than 1 employer willing to sponsor. Alternatively there is always the non-profit ones that are cap exempt.
I watch movies immediate after my work. It makes me very relax.
When does an investigation start and end? What about when you're close to filling your limit but a few new great leads come in. Now the agents have to go close a ongoing investigation to follow up on a new one. Sounds like a lot of overhead. Not only that, but the fact of modern intel work is that investigations don't operate in a clear, linear progression.

I think that anyone that's had to deal with arbitrary limits imposed from above understands the perverse incentives that they create. This would be another example of administrators trying to fix something that they don't understand.
I don't understand why stock markets function this way. Why don't they work like a Diplomacy game, in turns?

Everyone puts their instructions in, then the turn 'executes' and an algorithm (known to all parties) resolves the actions. Run one turn every second. If you want to buy all 20k shares on offer and nobody else is making the same bid, you get them. Seems reasonably straightforward - what am I missing?
Are you referring to genetic drift? This is a statistical phenomenon by which alleles that are near neutral for viability change in frequency until one becomes fixed. This doesn't mean that neutral mutations will invariably push the wild type out of the genome. Actually, that would be improbable in the absence of a selective pressure or an accident of history.
> You can use your remaining H1B time with the same or any other employer. As I see it, this is the law of the land, take it or leave it; complaining is not an option IMO.

Given that I pay taxes and am subject to immigration laws a lot longer than a person born anywhere else, I don't see why I can't complain about a law that reflects nativist compromises of the Civil Rights act.

And well by time off, I didn't mean a sabbatical, just the ability to quit my job and not have to leave the country as a result.
Full Video Reviews of the Monorover Self Balancing Electric Scooters
This more drastic. The email is tricky, you could have subscribed to their service using your 15-years old hotmail account that you never use anymore.
The media seems to do this rather frequently -- they report on other people's opinions, sometimes claiming "outrage" on their behalf, while offering scant evidence or analysis. Not impressed.
Ah, the radical majority of Americans can't control their likelihood of getting diabetes? That's obviously false, easily proven by countless other nations that don't have the same problems the US does with diabetes (or by going back in time a few decades, when Americans also did not).

Let's you and I both smoke six packs of cigarettes per day for 20 years as an experiment and see whether we can control getting lung cancer and or emphysema to a very large degree.

Is it complete control? No, it's very near that.

Obesity? (which causes numerous other diseases) Yep, we can control that too.
"They" are also as cohesive as Anonymous.
I am sure China is already doing it... and the West is not that far behind.

They will more likely than not justify it by creating a hybrid animal that won't quite be a human and therefore deal with the concerns that way.

They'll call them Gorilla Guerrillas or 大猩猩游击队
US is reminded that their iPhones are invented by a son of Syrian migrant
'Power Over Wi-Fi' named one of the year's game-changing technologies
Match Group prices IPO
What you may not realize is that in a qualified ipo the prefs go away. It's basically the one time when prefs turn irrelevant. (there are still other shenanigans like ratchet to min price sometimes).

In practice the qualifier on the ipo means the prefs only vanish on a big (well above the pref stack) ipo number. But still an ipo is at the moment it's done on paper much better for common holders.
Google Cloud revenue could be bigger than ads
If you're actually interested in diving in, here's a K5 repl you can use from your browser:

http://johnearnest.github.io/ok/index.html

There's a manual, and a guide to some programming techniques here:

https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual....

https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Program...

Examples and more discussion can be found in the same repo. This implementation is "unofficial" (reverse-engineered) and quite slow compared to the real thing, but it has a substantial portion of the functionality and is quite usable for writing meaningful programs.
You could implement the protocol in node.js. Here's the standards document: https://github.com/tus/tus-resumable-upload-protocol/blob/ma...

edit: Looks like someone's already done that: https://github.com/vayam/brewtus (found on http://tus.io/implementations.html, which also has links to Ruby, PHP and CoffeeScript server implementations, and Qt C++, PHP, Go, and Python clients)
In case anyone reads this and gets excited enough to buy one, realize fresnel lenses are actually dangerous.

It's almost like keeping some turpentine soaked rags in a cardboard box. Sort of kidding. The point is, you can have the lense somewhere you think is safe, but the angle of the sun changes throughout the year and one day six months later rays of light hit it. Or you have kids that don't think that way, and they leave it somewhere.

Even as a fully aware adult, it's counterintuitive, because you'll be trying to take it outside and accidentally burn yourself, or set it agains something while you're getting ready, not realizing the lens was born ready and doesn't care about your plans. You always have to carry them in a sheathing material. Your brain expects something like that to have an off switch.

They're cool, but you should probably keep them in an opaque sheath in a gun safe, and leave it alone when you're drinking.
The root of this problem is that there is no "control channel" (or whatever you want to call it) from an ISP to its customers. Email doesn't work because ISPs don't always have the customer's address and email can get spam filtered. Paper mail is expensive and may not be read. Until someone defines and implements a protocol for this, ISPs are going to keep inventing weird kludges. I wonder if Hotspot 2.0 can be adapted for wired networks.
Don't dismiss it so early. I'm reading it and it's very clear up to now. Just do the exercises. Anything in particular you find challenging on page one?
None. The fact that everything goes through an extra hop causes a slowdown.
Wouldn't something like Irmin work well with this (assuming you can fit the working set into memory, which I think might be a requirement of Irmin's design)?
'Junk' DNA doesn't actually contain genes. By definition, a gene encodes a functional polypeptide or RNA. This is different from alleles that are neutral for viability. An example of such an allele might be connected earlobes -- this phenotype is genetically determined, but unless there's sexual selection I'm not aware of, you are correct that we wouldn't necessarily expect the alleles involved in this phenomenon to go away. However, they might as a result of an accident of history or genetic drift.
I was thinking the same thing - a nontrivial effort has clearly been spent on implementing this, and it certainly would not be well-received by most if not all of its customers.
Why Failure Doesn’t Exist
Use of the word "voted" is false.
Due to a string of bad decisions, including but not limited to the Starbucks deal and the Square Wallet, Square's undervalued. If they can sit up and grow their processing volume, their share price will appreciate greatly and go much higher than $9. They also need to find a way to minimize their losses on low amount payments, since they make losses on some of them. Their small business loans seem like an interesting and propitious part of their overall business going forward.
Nope. Maybe you can explain?

My comment was about closed source versus open.

Popularity is only relevant to the extent someone would argue Windows is not the easiest target but rather the most frequent one, due to its popularity, i.e., userbase size.

There's more to open source than just Linux.
And yet somehow you get your bill every month?
This is a crappy move on Comcast's part, but as far as GPL they most likely are not in violation. You can use GPL code in a commercial product as long as you are not distributing it.

If they ever choose to sell or distribute their "content injection system" though, they would have to release it under the GPL or else negotiate another license from the copyright owner.
Oh my... merchant account advance loans are the "payday loans" of the small-business world. Much like the 'payday loan' business, the rates usually end up being usurious, but if you are cool with that, there's certainly money to be made.

But... that's completely not what I thought square was doing.
OT, but any idea what the internet speed/power uptime situation is like in India these days?

Thinking of traveling around (Varanasi, Goa, southeast of Bangalore) but from what I gather you're doing well with 2MBs download and most days without power outages in a given month if outside the major cities.

I've done it before with spotty access/power but can get stressful scrambling for connectivity.
I hadn't heard of the AHP, thanks for sharing it. I really like the idea of dual voltage flexibility, which you lose on the higher power Everlast.
Pia mia
The problem is that virtually all of the screen time studies don't apply to tablet usage as they were studying the effects of passive screen time such as watching tv. People have a tendency to group the two together as "screen time" but actively playing educational apps on a tablet is very different than passively watching tv. In time we should have a better idea what the effects are but right now tablets are still too new for any comprehensive studies to have been completed.
Interesting that the "ss" search only works on safari and chrome, but not on firefox (which happens to be the only browser that lets you easily toggle case-matching AFAICT). I presume this means that the first two went with a toUpperCase() approach while FF went with toLowerCase(). I wonder which choice is better in the face of unicode type oddities like this one.
Whitewater paddlers wind up spending an inordinate amount of time driving between the put-in and the take-out along "River Rd."

Doesn't matter where you are, that's often what it's called.
I think your watch is slow and you think mine is slow in the following sense. For each of many events, I record their time t and position x while you, moving relative to me at constant velocity, observe a different time T and position X. Between two events with the same X-value, such as ticks of your pocket watch, the difference in t-times is larger than the difference in T-times by a factor gamma. Conversely, between two events with the same x-position, such as ticks of my pocket watch, the difference in T-times is larger than the difference in t-times by that same factor gamma.

There is no contradiction because events with identical x-positions do not have identical X-positions.

If you already know what a partial derivative is, see the first paragraph of this: http://mathpages.com/rr/s4-07/4-07.htm
ISIS are known masters of propaganda.
If that phone was properly secured then those messages wouldn't have been accessible.
Square has had chip readers for a little while now and they are pretty cheap too --> https://squareup.com/shop/reader . One of my favorite bars is already using it. Why would someone switch away from square if they are happy with it and there is a cheap upgrade path to support chip readers? Switching services potentially costs time...I can't imagine people wanting to spend that time unless they were inherently unhappy with square.
Support for DNSSEC in the GNU C Library
Talk by Rasmus Lerdorf at Etsy HQ. Covers engine improvements, breaking changes, a little about their process and internals too. The talk has a good pace and kept me interested.

Thanks to Etsy Engineering for hosting & posting!

Official "Migrating from PHP 5.6.x to PHP 7.0.x" page: http://www.php.net/migration70
On Fake Instagram, a Chance to Be Real
A combination of things are responsible - a super old/competitive market (processing), the ever changing risk dynamics and Square's targeting

Let me illustrate points 1 and 2 with an example.

a) Square earns $2 in revenue per $100 of transaction volume b) $0.5 would be their gross margin accounting for expenses i.e. bank/visa fees c) The next biggest line item to subtract would be risk. If there is a fraudulent transaction of $100, then square has to compensate it with 200 transactions of $100 each. (200 txns *0.5 gross margin). Net effect is not only do they have to deal with low margins, they also have to manage risk very well. And this is not something you accomplish overnight especially as you enter new markets. Personal anecdote: I had $120 or so disappear from my Starbucks wallet a couple of months ago and the merchant had to eat the loss.

Lastly, large payment processors get out of this loop because they manage the big (Targets and Walmarts of the world) with the small and over time have fine tuned their risk engine. Square went into it in the reverse order, targeting mom-and-pop stores first (which have low volumes and high acquisition costs) and then trying their hand at large merchants (Startbucks in this case and they lost a ton doing this). In the process they never got risk management right for either segment. And oh, they did not go with an online first strategy which PayPal did in the 90s and the likes of Braintree and Stripe did recently.

My 2c.
The FBI's Uniform Crime Reports tally a burglary when it is reported, but a while collar crime only when an arrest is made.

There's some justification for this: It's very common to say "a burglary has clearly occurred but we don't know who is responsible", but with white-collar crime it's almost impossible to know whether an act was illegal until you've identified who did it.
The world seems to be headed to UTF-8 for everything. That's why having Python3 force us away from it doesn't make sense to me.

As for regular expressions, they work perfectly if your delimiters are in the ASCII range. If you're trying to match a single character then they don't work for Unicode even when using Python3's unicode type. The reason is that code points are not characters.
I am sure most politicians and intelligence people want to keep people safe, the problem is it is unlikely to be their only motivation.

Lets say we do manage to come up with an alternative that would keep people safe without requiring mass surveillance then it would not remove any of the other motivations (say business espionage). I think appealing to a technical solution for a political problem is unlikely to work, but it could be possible.
Death cult?
It's not reasonable to assume that a human changed their mind that quickly. The idea of putting out an offer with the intention of changing your mind and letting a computer handle that process cements the point that its not a change of mind here, more likely an intentional misrepresentation of buying pressure - otherwise what's the point?

This is not what changing someone's mind looks like.
Isn't the whole point of this post that they are distributing it?
The problem is that the current system is just the digital version of a bunch of guys yelling at each other on a trading floor. No one asked what the market should look like, they just took the existing system and computerized it.
... and now Comcast will sue for posting this very code to Github. I am sure it is copyrighted...

And it does not matter that they pushed it down the throat of their paying customers...

I am a big fan of rules & regulations, but in cases like these I'm afraid as a society we play stupid games (... and win stupid prizes...)
If you mean control as in choice between "little less likely" and "little more likely" then yes, everyone can control diabetes and obesity. But in fact, you can control your risk of dying in a terror attack much more than risk of getting diabetes! Just never visit big malls, never attend mass events, never use public transport. Better yet, move to a village far away from city and always travel by your car. There, you've reduced your risk of dying in a terror attack to pretty much zero.

> Is it complete control? No, it's very near that.

It's definitely nowhere near that, especially in terms of things like diabetes (partially genetically determined) or heart attacks. You'd have to go to absurd lengths to control those near-completely. For instance, we know of one good way of controlling obesity, and that is to lock everyone in Nazi-style death camps. You won't get obese if you're fed 1500 kcal a day. You also won't be very happy.

The widespread belief that we have so much personal control over those diseases is probably one of the biggest reasons why they haven't been solved yet.
Secretary of State released names and all identifying info on 6.1M voters
Oh gee, we sure are scared!!

Of course by Silicon Valley, they mean Silicon Valley and every business in the world that does any sort of online transaction. Because, news flash, they all use encryption just as much as everyone in Silicon Valley.

Also, as far as I can see there are way more stupid apps the valley pumps out (like snapchat) that DON'T encrypt than ones that do.

Way to be a mouthpiece for bozotron government officials who wouldn't even know what to look for if they HAD the unencrypted data.
I would bet money that stockholders didn't force those practices. Those anti-competitive, industry-harming practices were (and are) used because they secure large profits for the company in exchange for relatively little effort.
How are they not distributing it if they send this JavaScript to each user notified? Of course it's JavaScript so maybe that counts as distributing the source...
Drupal 8 to accelerate modern PHP adoption
You don't have to use Comcast. I sacrificed Comcast's speed and went with a local, privacy conscious DSL provider and I couldn't be happier. I'm getting about 6mbps with dual bonded phone lines. It's kind of pricey at $80 but it's worth it knowing I'm dealing with an honest business. In most areas there are alternatives and DSL is available everywhere, it's worth it even if it's a lot slower for the peace of mind. As long as you don't trade in one evil giant corp for another like AT&T or Verizon.
I'm confused. I know we're supposed to believe in warming but isolated data points are logically insufficient. Articles like this that selectively show interesting data points without giving a broader picture actually hurt the cause.

In the news lately we've seen record south pole ice extent and lots of cold records in the southern hemisphere. It makes sense that if the southern hemisphere is cooler there will be fewer cold records because there's a lot less land mass. Lets get some data that points out how the northern hemisphere is getting hotter faster than the southern hemisphere is cooling.

By displaying a more world relevant dataset you could more logically support the global trend theory.
Alan Donovan and Brian Kernighan Answer Questions on Go
With any luck, you have a group legal plan.
Scientists build atom-scale sub that moves at 'breakneck' speeds
Or I could just use an open source alternative that does not require jumping through such hoops.

One where I can edit and compile the source, run it and redistribute it, too. All for free. But I guess all that is also possible under this shared source program you mention?