skysight-inc/HackerNews huggingface dataset:
Over the years I've used Flask for smaller projects with very specific requirements and simple web GUI requirements. Its my de-facto tool to prototype and/or deploy JSON APIs. It works perfectly for that because it does not impose anything on me. For more complex projects, or projects that use a web GUI (even if they are rendered with client side frameworks) Django proves to be more effective. It has a standard toolset that takes care of a lot of the edgecases one would face. For example, Flask lacks a default CSRF implementation whereas Django makes explicit use of one. Logging is also very simple with Django, something that gives some people grief. In Flask you have to setup logging from the bottom up. Both are quite different but good for what they were meant for. In fact, I tend to look for the Django or Flask of other languages to try and see how a specific type of application with look in that language. Not long ago someone posted a project that mimics flask in Rust. It was a very nice codebase and it made Rust very approachable because I could map what I know about Flask over to Rust and make a connection between language constructs and patterns.
Citigroup to Millennial Bankers: Take a Year Off
Well you can basically pay to immigrate via an EB-5 visa which grants a green card for the right amount & kind of capital investment.

https://www.uscis.gov/eb-5
Thank you for pointing this out. I honestly wasn't aware that there was a separate plugin for this. I'm relieved to have my precious :%s back, but I wish I had known about it earlier! :-)
Increasing H1B caps does help immigrant founders who aren't already millionaires. I've been on an H1B visa and I've started my own startup. You can be on an H1B for your own company so long as it's clear there is a board that can fire you.

There's two ways to go about making it easier for immigrant founders to work legally in America: create a new startup visa class that is likely ridiculously nebulous, or increase the H1B cap. I think the second is much more likely to pass.
I imagine that might happen at shitty companies hiring junior people.

But for all ranges you're going to want to have people meet with multiple teams and build a profile. That takes weeks and often means that statistically at least one interview Will have to be rescheduled.
I've worked in lots of tech companies and my experience is that you don't give notice in advance at all. That's because you get walked out the day you say you want to / will be leaving. That's a no-brainer from the tech company point of view. The longer you stay after announcing an intention to leave the more IP they stand to lose. You should have expected to be walked out immediately. Sorry. You may have a case because of the 6 mo without pay but that's not your equity option. Live and learn.
Yeah, OK...but Sublime Text is eminently hackable in Python, and it doesn't get the same sort of rabid adoption from Python devs (it's popular, sure, but not more so than vi or emacs).
Zuckerberg enjoys 'great' run in heavily polluted Beijing
Everything available OB the app is available in the webinterface (I am a protonmail user)
ECC just makes the attack take longer.
When you mentioned you wanted to transition out of the company it sounds to me like you resigned.

Why would they allow you to stay past the vesting period if they know you are intent on leaving? Generally the vesting period is to ensure you are going to stay, and you stated your intent to leave.
That's so defeatist. How do you know unless you try? You are the one with the knowledge. Try!
Alternately you can affirm the "never compromise cryptography" code of ethics, which I just made up and which is exactly what the name says.
Yeah but the whole killer robot thing. Not sure it's the image Google's after.
Your example, Sehat Sutardja, almost definitely got an H-1B visa after they graduated.

The H-1B is pretty much the only way one can stay after graduation (and OPT).

So your point is moot.
Sundar's father was an engineer, not a typical person in India. Or even America.

When I worked in tech, I knew exactly one engineer from a low class background (American). It was eye opening seeing first hand how rare people of non educated backgrounds are in tech.

I'm no exception, all but one of my grand parents was educated.
Florida: The Dance State?
And this is why you should never agree to a cliff. Your shares, if valuable to you, better start vesting from day one - especially if you have accepted lower compensation in exchange for more shares. Either that, or you want to negotiate some sort of a severance package BEFORE you join the company. Think about it: the company will try their best to have you accept the lowest dollar offer in exchange of equity in the distant future - what will you do to protect against the downside of losing your job in the less distant future?
> Build the whole thing badly.

It doesn't have necessarily to be poorly written code though - you can start with lots of constant functions and later replace with actual logic, and still, at each iteration you'll have a complete testable flow.

Some test frameworks like Clojure's midje [1] and Python's mock [2] help a lot with this by making mocking functions inside the test painless, so you can start with what you wish you had and then fill the blanks.

I believe someone on the internet named this "Wishful Thinking Driven Development", quite ingenious.

[1] https://github.com/marick/Midje

[2] https://docs.python.org/dev/library/unittest.mock.html#the-p...
Many use HootSuite.
Mars Craters: An Interesting Stochastic Geometry Problem
tldr; WSJ want to raise H1B cap and cherry-picks/mis-represents data to justify that.
The study that showed pretty much everyone is, at heart, a bigot? Yeah. So?

Not really but that's like concluding that studies on multitasking show everyone's lazy and they just need to try harder instead of focusing on one thing. "Knowing your natural predisposition, counteract it."

Back in the communist days, there was a popular saying in Poland: "the system is fine, only people failed it." Obviously, it's silly to design a system for humans that doesn't work for humans because you otherwise like its aesthetics or it would work great if the people acted differently than humans normally do.

Not that we don't do it in IT with certain regularity.
Lol. For hiding a voting arrow after it's clicked. Yes, you're right. You don't need any of that stuff. But if you were to write an entire app in the style of those two functions, things would fall apart. That's not even a hypothetical, it's been proven over and over again that it doesn't work.

How is everyone agreeing with you? Is there that much JS fatigue that we're looking at the equivalent of a horse-drawn carriage, and saying wow, I wish things were as simple as they were back then?
Thanks for stressing out on stealing focus! This is a complete nonsense that's pretty much omnipresent in OSes. How many time I've been typing a password when an app steals the input focus, and the password or parts of it gets posted where it shouldn't (I type it and press Enter mechanically).

Also, I don't think Apple will ever fix Mac App Store as it wants to keep its huge cut, and app developers will always find cheaper marketplaces such as MacUpdate.

It's ridiculous that I need to have the Mac App Store, MacUpdate, and Homebrew to do something as basic as installing apps and system components! I'm sure if Apple reduces its cut, it will get more revenue because many major apps have fled its App Store. On the phone your can twist arms, but not on the desktop!

The notification popups need to have a close button and be transparent! Sometimes they cover up important screen real estate; I can't see what's below, and I can't close them.

The inability to search within the current folder is also a joke! Sometimes a have thousands of files and search is global - just ridiculous!

Maybe I don't know how to do these things; maybe there's a way to do these things, but it's definitely not intuitive!
Is a pragmatic solution more virtualized memory, other software solutions, hardware shielding, lower data density, or some combination of these?
i suspect no more than engaging with the chinese equivalents makes someone chinese. but then this seems to miss the point.
I know you're looking for advice, but I hope it all works out! :)
Are you kidding me? You need to invest at least $500,000 for the EB-5.

Most families don't have $500,000 to just invest in order to get their child a green card. A lot of international students I know worked part-time on-campus (permitted on the F-1 student visa) in order lessen the burden on their parents. Their families struggled to put together the money to pay for college in the U.S.

I went to Stony Brook University, and between the time I came in and graduated, tuition had risen by over 50% for international students. (State law did not restrict tuition hikes for foreign students.)

It's condescending of you to suggest an EB-5. Like "Let them eat cake": https://en.wikipedia.org/wiki/Let_them_eat_cake
Also I bet we are going to find the health statistics of people found to have minor arrhythmia through cheap continuous screening are going to be completely different than those that come in with a complaint and are given a one-time screening. It may turn out to not be as clinically useful as hoped.
> The company was bootstrapped, less than 5 people, and everyone worked for more than half a year without salary.

This is almost certainly illegal, and may not even take a lawyer to address (though that's usually going to be most effective, if not always most cost effective): if you had a nominal salary [], most jurisdictions' labor law require it be paid with a minimum frequency, and this is often a violation that state agencies will pursue on behalf of employees (e.g., in California, wage claim can be filed with the Department of Industrial Relations, Division of Labor Standards Enforcement [1]. Likewise, to the extent there are federal wage-and-hour violations, these can be addressed by complaint to the federal Department of Labor [2].)

[] if you didn't, its probably a violation of minimum wage laws (potentially both state and federal), and since you were probably otherwise treated as FLSA exempt in other aspects of employment, and FLSA exemption includes a minimum salary, its probably a violation of other labor laws. These, again, may be things that can be addressed through complaint to government agencies without pursuing a lawsuit; particularly, the Federal Department of Labor [2].

[1] http://www.dir.ca.gov/dlse/howtofilewageclaim.htm

[2] http://www.dol.gov/wecanhelp/howtofilecomplaint.htm
> too ignorant to understand the important nuance

Lindsey Graham came around. Sam Harris changed his point of view after a fairly combative initial stance against technologists.

We will never know if we can inform the public unless we try. There are some good analogies out there supporting encryption. Use them. I recommend the one from Sam Harris' third video on the subject. There is also the whack-a-mole argument.

Honestly, the biggest thing standing in the way of the public being informed is not the unwillingness of the public to listen. It's the technologists' unwillingness to try to educate them.

I understand your trepidation. In life, we scientists are often ignored. But sometimes we are right and I do feel if we push hard here we can figure out ways to reach people.
Not quite; 760 employees per company, but 168B overall. That makes for $5M of value per job. $5M is approaching the compensation of most of the average employee here.
Social networks need to be free so they can gain as many users as possible and generate network effects. Anything but advertising messes with the incentives. https://stratechery.com/2014/ello-consumer-friendly-business...
> Is there that much JS fatigue that we're looking at the equivalent of a horse-drawn carriage, and saying wow, I wish things were as simple as they were back then?

Make Javascript Great Again! (TM)
By shoving twice as many advertisements in each search? Smart advertisements that understand what you want -- that knows if you just bought a frying pan you probably aren't in the market for a frying pan.
I laughed because it was funny. Then I laughed again harder when I realized that it was supposed to be funny.
It's going to seem less rational when the company is forced to give back the stock+penalties, or a year's salary at a reasonable engineering rate (they're either a founder or an employee, and either way the company is screwed).
Let's build a browser engine
50+ mil a year would be an okay tutoring gig.
For those who are also curious, I looked up the methodology of this poll. It's basically science-free, fact-free nonsense (as you might have guessed upon reading the headline).

More here: http://www.theharrispoll.com/reputation-quotient/
Pretty sure white immigrants like Elon Musk are not who Donald Trump and his followers are talking about.
But the failure mode for ECC is silent corruption, followed (maybe) by a crash, right? ECC can detect and correct one or two (or a few more?) bit-flips at a time, but if there's too many it won't notice that something's gone wrong.

The system then goes merrily along and either crashes (because you've flipped some bits at random) or recovers (because those bits weren't important) or hands the attacker root (because you've managed to flip some particular target bits).

So if the computer crashes or locks up, you can probably conclude that you've defeated the ECC and flipped some bits, and the system is vulnerable to Rowhammer. It's (maybe) just a matter of time before someone engineers a way to flip the specific bits needed to hand the attacker root.
Check this out: http://davidvgalbraith.com/how-i-fixed-atom/
The answer is yes on all counts. Apple has engineers in many different countries.

To take your question in a completely different way, China could compel their Apple manufacturing staff to install a back-doored chip into Apple devices on the production line. Seems reasonable if the US government is asking for a software back door into all phones.
Let 6px.io process Your images
These are not mutually exclusive possibilities. You can accept highly skilled immigrants AND improve your education system. If anything, doing the former might make it easier to do the latter, since those highly skilled immigrants will provide more tax revenue to spend on public education.
Though I understand this point, I have the naive assumption that Mozilla should be different, a kind of sweet spot between GNU and commercial products. And I have the feeling that it's now a market-oriented corporation turning its back on hackers.
At first I read as "Tangled Testicles" and assume an S&M game. Perhaps for the sequel...
>horse-drawn carriage

That code is more the equivalent of a digging stick. React is used to build horse-drawn carriages. I'm eagerly awaiting the JS framework that'll let me build cars.
A Judge can issue an Order saying whatever they hell he or she wants.

A Judge can order you to leave work and sit on a Federal Grand Jury for 36 months.

A Judge can order an innocent bystander to testify or sit in jail until he agrees to do so.

Employment status has nothing to do with anything. Just because you quit the police department doesn't mean you don't have to cooperate with a federal investigation or anything that a Judge orders you to do during that trial, from the grand jury phase up to and through sentencing.

I so often agree with the general sentiment of HN posters but the lack of understanding around basic civics is disheartening.
Hey, I run a private bug bounty program on HackerOne and we get those emails regularly, most of the times they did not find anything serious and they are just checking if you have one to see if they should invest time in it.

With a new startup and nobody looking at it they are more likely to find something :) You should just be honest and tell send to the details to security@youcompany.com you can also create a private program on one of the bug bounty plateform and invite them, they will get reputation/kudos if they find something.
thanks, i learned how to use the chrome JS debugger today
1) Judge rules that Apple must disclose the information.

2) Judge issues a subpoena to an employee that another employee has said is capable of retrieving the information.

"Do you have the capability to retrieve this PIN number?"

"Yes, your honor."

"Will you do so?"

"No, your honor."

"I find you in contempt. Lock this gentleman up."
Do NOT sign the release form. Get a lawyer experienced with Silicon Valley employment contracts. Now.
It's just a chromium packaged website really. Hardly any extra development required
> All you needed to do was fly your pregnant wife over to get American citizenship...but that's changing now.

This statement is steeped in such ignorance. You get absolutely no immigration benefit whatsoever by having a U.S. citizen child.

If you are talking about a child's citizenship, then FYI, birthright citizenship (part of the 14th amendment to the U.S. Constitution) has not been repealed.
I have never heard of, nor worked for, a company that offers vesting from day 1.
I have actually been rather obsessed with this lately. You'll see that there's a few problems he runs into that he deems insurmountable, which sounds like a challenge! Specifically, there's the issue with an instruction which is effectively a computed goto:

A jump instruction that takes an address and then jumps to the address STORED at that address. Since there is no way to know at compile time what addresses are going to stored at a place, you're forced to then dynamically emulate the whole memory space of the actual NES to accurately calculate it, thus defeating the whole point.

Is that the only solution though? a head scratcher!

Further are issues with parts of code that, on some level seems to be taking inspiration from genetics: Jump to one alignment, and the instructions get interpreted one way, jump to a different alignment and the same sequence of bytes is interpreted by the CPU as an entirely different set of instructions. I wonder if that could be resolved by creating a different source code path for each alignment using flow analysis- A space saving technique effectively getting uncompressed.
> and how it compares (whether horribly or awesomely).

Given only the tech stack, it can go either way, depending on whether the implementor takes the easy, lazy route or actually puts some thought and hardwork into it. The problem is, as per good old Sturgeon's law, 90% of sites take the lazy route, and end up with tangled monstrosities that look like offerings to the Flying Sphaghetti Monster.

(Also, it's interesting how quickly 'cool new tech' can become 'Enterprise' shudder when it's widely abused and misused.)
People also reschedule all the time. I cancelled my latest interview via voicemail on Saturday, while the interview was for Monday morning. It was one of those 5 person interviews. I was ready to lose the opportunity, but it was rescheduled.
Not a single person inside Microsoft would have access to it either, because some parts of the system have other companies' trade secrets, like HDCP keys or hardware drivers.
Meanwhile @metrolosangeles reply has apparently been deleted. It was, simply, this gif: http://giphy.com/gifs/the-office-fist-bump-UjCXeFnYcI2R2
That's pretty much precisely the problem that afflicts Google+ Communities as well. They're all but useless, with the exception of small, and usually private communities set up around a specific focus.

For specific task-oriented project support, if you're not part of StackOverflow/StackExchange, it's pretty much old-school BBSes. I've also found blogs are quite active for discussion.

"Social" ... is oversold, and actively kills multiple potentially useful categories. It does however point to massive holes in discussion and discovery across other platforms.
This plainly is not true. Ignore this comment OP.
Given what we think we know about how memory works, we're probably much closer to editing out bad memories than we are to copying memories across bodies.

I say that because there does not seem to be a non-interactive way to recall memories. Every time a person experiences a memory (remembers), they also alter that memory. Researchers have been able to fairly easily alter or implant memories simply by suggesting the changes to subjects while they are in the process of remembering.

It sort of makes sense--the moment of remembering is itself a memorable moment, and so the brain updates or replaces the original memory with what was recalled the most recent time. If the recall was messy, the old memory will now be messy too.
Can you execute Rowhammer attacks from WebAssembly?
Always protect against the downside, your partners probably are
I've heard far too many horror stories of people joining companies only to be screwed out of their jobs and their shares very close to their vesting cliff. In every case I've come across, the victims are engineers. Why engineers? Because they trust too easily.

So, I'll put it plainly:
If you join a company, are accepting lower base compensation in exchange for higher equity, and if that equity has an initial cliff, usually one year, then you need to protect against the downside of getting fired (or laid off) earlier than the cliff.

How do you protect against the downside?
Negotiate a severance that will pay you at least three months' salary for being laid off before your cliff - do this before joining the company!

Without a severance, if you are let go, you'll have to go find a lawyer and shell out even more of your income.

One other thing: the moment you go to business with a friend, you are business partners first and friends second. Especially if they want you to come on board at a lower salary in exchange for equity which does not start to vest right away. Everything they will tell you - that their contract is the same way, that this is standard practice - is meaningless, because they are just protecting their downside!
Nice, course there's an emacs command to do that. Good ol' C-x M-c M-stacksort [1]

Joking aside, I'm glad this is for vim. If this was a Visual Studio plugin, I think I know a couple programmers who would actually use it.

[1] https://xkcd.com/378/
Yeah what is a judge going to say? "You deserve nothing" or "I'm pro-rata-ing your stake in the company, reducing it by two week worth".

I hope you haven't signed anything...
This space is difficult.

Consumers absolutely love these coverage services but so far we haven't seen a low cost and viable business created yet.
does the FBI now compel them to return to Apple and write the software or go to jail?

I can't imagine any way in hell that would fly. The only remotely conceivable path to doing something like that would be to have Congress implement a draft, and draft them into the military. Anything else would almost certainly violate the 13th and/or 10th Amendments to the Constitution. And the draft thing is probably a stretch as well, especially in the absence of a declaration of war.

Then again, I never put it past the US government to try anything, no matter how illegal it is.
Link to actual paper - http://www.thirdio.com/rowhammer.pdf
The memory can recover one, detect two, and will throw up loud warning bells to any competent admin as long as it is doing so. If you see a sudden spike of ECC errors from a server, the memory is probably bad, and you replace it. If you see a sudden spike of ECC errors from a large number of servers, something is seriously wrong, and you investigate - I'd be more likely to blame it on bad power myself, or a EM Field/radiation source.

Even when trying to trigger rowhammer, the graph of bit flips is going to look like a logarithmic curve - Single-bit flips will be common, two-bits will be rare, and undetected flips will be real but ultimately not much to talk about compared to the discovered flips. You know they're there by the unrecoverable rate, and you replace the ram, discard any replicated data on that machine, and move on.