skysight-inc/HackerNews huggingface dataset:
I've had this problem all my life, and I've found a solution. I think. Before I say what it is, I have to preface it by saying that there is a greater than zero chance that I am a natural shortsleeper, and not just a night owl.

That said, here's what worked for me:

I accepted that mornings are a wash and are not going to be super productive either way. So I stopped trying to wake up early, and instead wake up at 9am or as late as 9:30am.

I killed my commute (more rent, but it's worth it cause I don't need a car). That means that even when I get up as late as 9:30am, I am in the office by 10:15am.

And I avoid all serious work at least until lunch time. Those two to three hours are where I pack code review, any meetings, everything that's necessary work, but doesn't require deep focus and a lot of brainpower.

This is also when I load up on caffeine. In those two hours I drink the equivalent of two energy drinks (CogniTea is my poison of choice because it's high in caffeine, and low in crap).

Then in the afternoon is my focus time and I get about 5 hours of mostly uninterrupted time. Caffeine keeps being drunk, of course. Just less than in the morning.

At 6pm I leave and go to the gym. Going to the gym daily helps with making sure my body is tired. If I don't tire out my body, then it's almost impossible to get a good night of sleep. And I'm also very edgy and agitated all day.

So remember, make sure your body is tired.

After the gym I have my relax time, and I drink more caffeine at around 9pm. This might seem stupid, but there's a good reason.

Drinking caffeine in the evening speeds me up and makes sure that at around 2am or 3am I will crash. I can get more work done (or whatever) between 10/11pm and 2/3am.

And then I am tired. Like really really tired. Hard to stay awake.

Which is perfect, because I can go to bed. And if both my mind and body were tired enough, I will fall asleep 3 minutes after my head hits the pillow.

And because I'm well tired, I sleep like a rock. Sleep tracking apps sometimes think I'm dead.

Because I got good focused sleep, I am rested and ready to go next morning at 9am.

Or as Arnold would say "Sleep faster, I would recommend".

You might have noticed I only get 6 hours of sleep per night. Sometimes a bit less. That has historically been way enough for me. I don't know why, maybe I'm a genetic freak, maybe I'm fooling myself, but it's a pattern I've been able to keep with small variations for the past 10 years of my life.

The approach boils down to:

* sleep when tired
* focused work when rested
* fuzzy work when fuzzy
Just updated and it's still not there. It's killing me as well.
Login with SSH
If she had over 3% she would have written a smarter article. ;)
The line at the end that really hit me was this:

> Almost all the attackers were known to the authorities, and if they had been watched, their use of encryption programs would have itself invited closer scrutiny.

This is precisely the scenario that Phil Zimmermann (creator of PGP) and others have been warning about (and working against) for decades. As Zimmermann said in a 1999 essay linked here not long ago, "What if everyone believed that law-abiding citizens should use postcards for their mail?" (https://www.philzimmermann.com/EN/essays/WhyIWrotePGP.html) The scary part to me is not just that it's our present reality, but that it's so readily accepted. Crypto advocates need better PR. (And to be fair, better UI.)
Angry Birds Transformers v1.8.14 Mega MOD APK+IPA
Which is quite ironic, because (at least from my experience) Ruby constantly breaks backward compatibility.
Businesses don't have infinite resources to hire workers, and most workers old enough to truly be experts are not going to relocate easily. 1x, 2x, even 3x market wages won't be enough to move someone that's already earning a comfortable wage, likes their job, and has roots (a home, a spouse that likes their job, children in school, family nearby) in their current community. No single digit multiple of market wages would get me to move to Silicon Valley, let alone the middle of West Virginia.
I loved KPT. It looked like alien software from the mid 21st century that somehow landed in the late 1990s.

The UI was gloriously white and 3D way before skeuomorphism was even a word.

Is there an open source version of goo? Or a description of the algorithm?

It doesn't look impossibly difficult to work out, but it would be useful to know how other people approached it.
Lock picking is what lead me to learn to code. I had randomly ended up watching a YouTube video on bumping locks one day(YouTube can take you on some wild rides lol). Naturally, I tried it right away on my own door, low and behold it worked! After gorging myself on lock-picking tutorials for a while I came across this DEFCON 19 presentation - Safe to Armed in Seconds: A Study of Epic Fails of Popular Gun Safes https://youtu.be/vIJFQO4DIxw Of course after watching several hours worth of DEFCON presentations, and my first taste of what the fuck computer code even was, I was hooked.
Thanks so much for your comment. I am quoting it and sending it to my wife because we have differing views on how much time the kids should spend playing computer games (me=almost none).

I was raised in an environment (and at a time) when there were no games like this and I filled the time doing other interesting things that were not only fun but lead to me being able to earn a good living after college.
Have you tried Apple music ? It's great.
Is Bitcoin Anonymous? A Complete Beginner’s Guide
Is there a mechanism for paying the test taker? A developer shouldn't be expected to work for free. The outside chance he'd be the 1/100 applicant to land the job isn't enough.
"Analysts say the bank’s action has been a significant driver of Japan’s stock-market rally in recent months, combined with hefty purchases by the $1.1 trillion Government Pension Investment Fund."

That sounds like there both buying stock, not that there is a handoff between the two. Quantitative easing is specifically something Central Banks do when they buy stuff using money created from thin air. https://en.wikipedia.org/wiki/Money_creation

My point, is after a central bank buy something be it stocks, bonds, gold or pogo sticks with money created on the spot they add money to the economy. But, if they sell it for more than they bought them for then even more money is removed from circulation.
I just want to thank you as well for your willingness to engage with me, especially with how delicate the subject matter is. It gives me hope for the state of modern political discourse.

You've presented an interesting distillation, that's for sure (on your recommendation I shall read the article). It's worth noting that there are probably multiple lessons to this experience or event and the relevance will change from person to person, but in a way that's nitpicking.

My response to the notion of looking at these risks with fatalistic acceptance, is that we shouldn't completely evaluate the impact of things like malnutrition, disease, violence, {climate change side-effects} in terms of death. Death is a nice common impact measure, same as money, which is why they're so popular as they make the incomparable, comparable. But they should be seen as approximate representations of what we value, rather than what we value. Even if there isn't a whole lot we can do to gain knowledge of when people are attacked or when they die, there are still values beyond death/money for which these events have meaning. Something could be done for those shared values even if it can't be done for ourselves.

I agree with what you're saying RE: surveillance. Two things:

(1) I don't think we quite know the extent for which our military agencies are preventing harm, only the extent to which they haven't. There could be a "Red Queen" effect where less surveillance is a net loss but more surveillance does nothing, or is also a net loss. Just a thought, and I wouldn't be surprised.

(2) ISIS is using our compassion and our values against us: they say as much in their magazine.[0][1] If we don't do the same to them then the fight will keep being asymmetric, but I don't have any answers that aren't probably wrong in some way. Already I've been drawing conclusions that I thought were correct, but they were expecting and wanted. Russia is the only country with the balls to fight a ground war but NATO is not on best terms with them, either, among other things.

(An aside: While Silicon Valley's techno-optimism is perhaps one of the most productive, proactive and pragmatic stances one can take to the world's flaws and inefficiencies, I try to remember that it's probably an exception rather than the rule. SV exists in a bubble of its own and is ultimately dependent on much else being stable.)

[0] https://news.ycombinator.com/item?id=10579975
[1] https://theintercept.com/2015/11/17/islamic-states-goal-elim...
Absolute trash article.

"I would be dead in the stairwell outside my apartment, because something about me — a 5-foot-7, 125-pound black woman — frightened this man with a gun."

Nice narrative there. Edit:
Pigs will be pigs by the way, so I'm not surprised at some of them walking away without giving their names and badge numbers.
Embrace, extend, extinguish, phase 2?
Ha, yeah. Just a typo – it's been so long since I've had to write retain/release, and thank goodness!
This is great news. Now all we need is a proper terminal in Windows that includes Python out of the box ;)
No it isn't - if your app did not ask for say a permission to connect to Internet or get a list of apps - there is no way to do that using reflection or NDK or whatever.
How is that relevant to this case? In a way that wouldn't also indict e.g. http://www.americanmint.com/?
The best company I ever worked for did a two hour pair programming session on a simple rails app (since they were a rails shop) with every candidate that got passed the "chat over coffee" stage. You'd get to see the kind of code the candidates write and how they work through problems, how they work with another developer, and get a really good overall sense of how they would work as part of the team.
Agreed, that's about the only feature I REALLY miss from other editors.. though with extension support in this release, I'm sure it'll come soon.

Same goes for reformat selected text (html/xml, etc)
Benjamin Pierce – A Deep Specification for Dropbox Fix
What? Stop lying and spreading false rumors. IntelliJ Idea and PyCharm are rock stable on Linux, they are not slower and if something isn't working then please let Jetbrains know.
The only thing you are forced to think about is whether you're working with strings or with bytes. Unicode is handled transparently (but you do need to know the encoding when you're decoding bytes). How it's stored internally is none of your concern.
I think setting DNX_TRACE=1 will give you some more info. Probably better to open an issue and discuss there - at least because it's easier to read large amounts of text on GitHub
This is why I find the news that France will continue to accept Syrian refugees [1] so very heartening. Aside from the "human compassion" angle, this hurts ISIS more than any bomb: it proves that their "the world vs. Islam" narrative is a lie.

[1] http://thinkprogress.org/world/2015/11/18/3723440/france-ref...
Yeah, sorry for the typos in the slides – I missed them while proofreading and unfortunately can't correct them now.

I think the people in this thread discussing how my stylistic choices are "wrong" may have missed my point. Too bad.
My lay perspective is that it is apparently the other way around: It certainly appears that VS is increasingly "VS Code compatible". A lot of the extensions in the VS gallery have silently been working in more TS/JS code and even some of the "built-in" functionality relies on TS/JS code. (The Typescript compiler itself, of course, has always been self-hosted in VS. The DOM Explorer which can be used in webpage debugging and Cordova mobile remote debugging uses a bunch of Edge Dev Tools code much of which is also shared with VS Code as well. [Which is more reason the VS Code open source announcement is rather wild.])

It definitely would not surprise me if that's an intentional direction in VS and many more extensions and components will start to be built (or rewritten) for VS Code first as TS/JS and then "ported" to run in VS "proper". Of course, I certainly don't know anything of the matter for certain, this is just lay observation of trends I'm watching with interest in VS.
> Why? We don't allow this in business, why should we allow this in the government?

Right. I keep forgetting that the USA have no concept of privacy and that everyone receiving a wage is treated like a part-time slave.
I've transferred several times, and I've never been asked for more than 2 check stubs (i.e. 4 weeks).

Also companies have to advertise your salary publicly (at least around the office) for H1B.
Sees the world in buckyballs. Never played with an actual ball.
VSCode has no visual editor. Carmack has used Visual Studio for a long time.

2 references from the top of google results. There are many more out there.

https://twitter.com/id_aa_carmack/status/21187594150

http://www.gamasutra.com/view/news/126638/Following_Acquisit...
Still true. H4 EAD falls into very specific categories, both are listed by the link. Either post I-140 which is 2/3 to a GC or beyond 6 years which is quite specific.
Can you expand on that idea? For Rumprun, it's not very many minutes of work to set things up so that you have a lower readonly file system layer (immutable across restarts) and then a memory file system on top of that (for purposes of applications insisting to modify "readonly" files). But, of course, it's not very many minutes only if you know the ins and outs of the backend system, and that's not the level of usability what we're aiming for. So, if writing "readonly" files is a widely desired feature, we should probably somehow support it as part of the general infrastructure in Rumprun so that it just works even if you don't know the ins and out of the underlying system.
The problem is really that Python 3 isn't new and shiny. It's an attempt to improve some downsides of Python 2 and some parts did actually get better but many parts didn't although they easily could have been improved, some parts even got worse.

Python 3 provides no real benefit to an experienced Python developer. So considering all the things you could possibly do, switching to Python 3 is not switchting to a new and shiny thing, it's just a bad decision.

If you really want to switch to something new and shiny, there are now many more interesting language options. Modern Javascript has copied so much from Python, you can feel very much at home there. If you care about concurrency, you have Go. If you care about concurrency and care about using a language that's well designed or just want performance, there is Rust.
Better UX as well, but I guess you implied it. The only apps I can convince friends to use that support encryption are the seamless ones.
Though many comments here speak of engineering flaws, but to me it was a cultural flaw. The most outstanding anecdote I have to illustrate this is when I told my manager that "I can't <note that I say "can't", not "won't"> run that internal test tool (the insect farm thing, for those that were in DevDiv around 2003-ish) that runs 24/7 with complete network access because it requires <but did not need> admin privileges."

That nearly got me fired. You read that right: when I point out that a sloppily written application that someone wanted the entire developer division to run was insecure, my manager basically told me to run it or else. If the dev can't even be bothered to not write to PROGRAM_FILES (which is the only reason it needed admin privileges), what other holes does it have? Well, I'm not about to find out on my dev box that's hooked to the corpnet. Running on an internal-only alpha version of the early .NET runtime to boot; what could possibly go wrong? (And as it turned out, nothing went wrong, but still...)

And this was after Valentine's mail was sent. SQL Slammer had already happened. What, you thought the whole company just jumped on the security bandwagon? Yeah, I thought a new day had dawned, too. You can make 'em quit blindly using strcpy, but you won't change their minds with an email even after Valentine asks the whole company to come in and take Slammer support calls.
Absolutely. Since a good dev can get somebody a job, he can just set up a business gaming this system :-P
_Ars Technica_ and Heroku, two sites that catered to the tech ninja videogamer-brogrammer demographic, both spent a lot of effort work walking back their light-on-dark visual identities when it was time to join the grown-ups.

_Ars_ addressed this issue in the FAQ for their 2004 redesign:

http://arstechnica.com/uncategorized/2004/10/redesign/

> Q. Why the white? Oh my eyes!

> A. Believe it or not, many people cannot read the "black" version of the site. This has been the #1 complaint Ars has received since day one. We thought it unwise to continue to use a default color scheme that was driving so many users away. Once it was clear that we could support both, we did, but white will be the default. The black design was also unfavorable to readers in corporate environments, and other places where the scheme sent the wrong signals to bosses and cubicle neighbors.
Not at all, I can easily migrate 1.9 Ruby projects to 2.2.3 w/o any problems.
Yeah brew install python3 seems to work. You then just type python to run 2 and python3 to run 3. The compsci course I did was in Python 2.
Ha ha.
The Ycombo super moderator came by and "voted" down every anti special guest worker subsidy post on this page.
Two to three down hits every post.

Thanks for the thoughtful contribution to the debate !
But what would we do, how are we going to tell China or India, sovereign nations whose people are emerging from abject poverty, to knock it off? These nations are on a year over year increase path that by 2030 will see them doubling their CO2 emissions.

Are you willing to give them money and how much, what if they do not use it for appropriate actions?

Are you willing to force them to change, how do you propose forcing them? Are you willing to wage American lives now for a future probability?

The United States of America has done a great job reducing its environmental impact. Back in the day it was a rare event to see stars in Los Angeles because of the fog (the gaseous burning orb ones not the celebrities), but thanks to the EPA, it is a common occurrence now.
I like pair programming sessions a lot because both the candidate and the employer are investing an equal amount of time. While the intention behind take-home projects is good, the result is often that the candidate invests several hours into a project just to be quickly passed over by the employer.
I am considering taking Udacity's machine learning nanodegree [0] with zero machine learning background. It seems interesting. Any thoughts?

[0] https://www.udacity.com/course/machine-learning-engineer-nan...
I love your conclusion (Make it for H1B workers to shop for or switch jobs), but I can't agree with calling this slavery or even indentured servitude because it frankly isn't. That sort of talk makes you come off as hyperbolic and people will use it to discredit your otherwise valid conclusion.

I think it's important to emphasize that rigged immigration systems like this hurt Americans and immigrants alike. There's no reason blue blooded Americans and immigrants shouldn't be united on this. Immigrants don't want to come here to be treated like a second class and we don't want to have to compete with exploited workers.
Also, there are couples where both are on H-1B or other visas.
It's not different. And firing people regularly in their first three months gets you a bad reputation.

GlassDoor makes it easy for that reputation to spread.
You have to use dnu.

To restore packages:

$ dnu restore

To build:

$ dnu build

To run:

$ dnx run

To run some other command:

$ dnx <COMMAND_HERE>
Ask HN: Which index is better for SQL?
Despite some flaws with the country, I'm very happy with my decision to have been born in the US.
Two Weeks of FreeBSD – Current Impressions
Time-Weighted and Money-Weighted Rate of Return for Dummies and Experts Alike
To admit delta functions (e.g., impulse responses) you need at least a Riemann-Stieltjes integral. And that is (as far as I know) something of a patch.

Conventional Hilbert spaces (e.g., for QM) are defined with respect to the Lebesgue integral. If you restrict to just Riemann-integrable functions, the Hilbert space isn't complete (IIRC) because not enough functions qualify.

Besides all this, you can argue that the Lebesgue integral is necessary to physics because it is the best known foundation for probability theory, which (again, ultimately, due to the observable manifestations of QM) is central to our understanding of the physical world. E.g., ergodic theory, Brownian motion, magnetism, phase transitions, and on and on.
It was arguably a weak article for HN, but instead of commenting like this, you'd do much better to tell us about some of the more infamous bugs. Then we'd all learn something—or at least some of us would—which is why people come here.
You might like these two vids I made a while back:

https://www.youtube.com/watch?v=u3I6lbpF68Q

and a shorter version:

https://www.youtube.com/watch?v=qwD54DiYprw

Also -- im sure you already know, but /r/lockpicking is a fun... but slow place.

I make my own custom picks from street sweeper blades and scrap leather, which is also a fun hobby.

http://i.imgur.com/uLbdJ63.jpg

http://i.imgur.com/b1SRJBI.jpg
What I like about 1password is they are proactive and explain their crypto process extensively. They're also small, in Canada and 1password is their only product, so the conflict of interest risk is lower.

There are scripts out there that will take your lastpass dump and convert it into a 1password import file. The process to convert over takes about 30m-1hr.
In 1996 I started using GIMP. It was on a Sun SparcStation 20 running RedHat 2 Linux. Can't remember whether IWarp was a feature or not yet; probably not.
It's coming. https://github.com/Microsoft/vscode/wiki/Roadmap
Yup, but with a big caveat. Not everybody on H4 qualifies for an EAD. The H1B holder should have gotten his or her i40 application approved. So OP's comment still is very much valid.
Java's access controls are trivial to bypass on Android. Neither the Android or iOS runtimes are there to enforce a security policy.

You should read Apple's iOS Security Whitepaper: http://www.apple.com/business/docs/iOS_Security_Guide.pdf See for example the data protection classes: a very thoughtful design, with no analog in Android, and that certainly could not have come about by "happenstance."

Heck, Android doesn't even encrypt your data by default! That alone makes iOS "fundamentally more secure."
Top comment in another thread whines that nobody understands what the machinery of ML algorithms are really doing.

Top comment here whines that math is hard.
So, if I understand this correctly, they're essentially casting the H1Bs as commodities? "Purchasing" them for X salary, and then "selling" them for x + y salary?

If this characterization is correct, isn't this essentially what a typical staffing company does? That is, put a worker in a position at a third party company as a temp paying them x salary, then collecting from the client third party company x + y salary. With the only difference being in this case that the person placed comes from another country on an H1B.
A Guide to Choosing Cryptography Libraries for PHP Developers
The US has at-will employment in most states, but no explicit probationary period.
Psst, we should not try to take a moral high ground here given how many times something as straightforward as the DREAM act has failed.
October 2015 becomes first month to cross key global warming boundary