skysight-inc/HackerNews huggingface dataset:
You'll have to give me good reasons to. No, downvoting is not one.
I don't know if you're setting me up for a joke here, but you're putting the ball an inch away from an open goal:

Javascript is Typescript. Typescript ⊇ Javascript.

Especially if you already use Babel (or any other JS preprocessor, like uglify or concat) and have a build pipeline ready, you can start using Typescript today.

Don't miss out!

PS: It will throw a lot of errors on a conventional codebase, but compile despite them. That's the point; install the compiler today, slowly start fixing the errors as you go. It's all about gradual improvement and optional typing.
Agreed. Will make a note to add that, thank you!
This folks is when you know you are in a tech bubble.
My anecdotal experience brought me to similar conclusions. Structure is required in schools because of the way children are taught in schools. And I'm not sure I'd do any different given the same requirements. Even though it doesn't have the best results for every child it scales well enough that most people at least do okay.

Take your average child away from that after several years of being part of it and any short term observations are going to make you think structure is critical. Before they do anything else they're going to have to learn that they don't need structure to learn and after that they're going to have to learn how to teach and push themselves.
State of Clojure Survey 2015 Analysis
I could not possibly agree with you more, having basically lived through this. When I look at the current tuition rates for my alma mater, Northeastern University, it makes me cringe. However, the fact that the default experience at Northeastern requires a student to undergo multiple "co-ops", 6 month paid internships, is genuinely a smart thing in my mind.

By the time I had graduated, I had work experience in embedded systems, a criminal justice stats analysis lab, the Red Sox, and a counter terrorism research center in DC. And that's all well and good, but the most important thing I took from it was that it taught me very quickly which sectors I did not want to work in.

You often come out of high school with this idealized version of what it would be like to work in X field. To learn what that field is really like, and to learn if it's something you truly want to pursue, is a huge win in my mind for an undergraduate.
No retailers, your brick-and-mortar sales don't have to suck
> A holder of government debt can have much sharper knives than a loan shark.

Actually, the difference you point to is really with a government holder of debt (regardless of whether the debt is government debt), not with a holder of government debt.
Oh that is so sweet. I was looking for something to read for bed time and this is perfect. Thanks!
If a company gives you a laptop to work on, and says that you can't put company data on personal devices, then in no situation should the employee be able to say 'I don't wanna'. Because that's how you end up in this exact situation.
Chicago PD needs to be disbanded and rebuilt from scratch under federal supervision. I had a lot of police in my family growing up and revered them as public servants, now I cross the street when I see a cop and won't give them the time of day. Yeah, a lot of cops are decent people doing a hard job, but no more respect until they clean up their own act.
I would be more inclined to have some empathy if my local drivers didn't think the city's bicycle lanes were an appropriate place to park for the next week because they are too lazy to dig out a parking space.
What about being unable to dig your car out?
If you got curious about this, check Ben Goldacre's website (http://www.badscience.net/) and the OpenTrials project (http://opentrials.net/). He wrote a couple very interesting books about this issue.
Totally agree. He's basically saying: we have high IQ students. Hire them.
Aside from an announcement that you've begun, is there anything specific you're looking for from the HN community? For example, are you looking for beta testers or pre-signups? I'm certainly interested in following your progress, but there is no call to action on this blog post.
Solar’s Future Is Bright After California Vote
I'm a big fan of Apple's descriptive and remarkably consistent APIs, but the combination does make autocomplete errors easy to make and hard to notice. For instance:

- tableView:didSelectRowAtIndexPath:
- tableView:didDeselectRowAtIndexPath:

If you accidentally choose the latter, the behavior seems baffling: the first tap on an item does nothing, and every tap afterwards gives you the indexPath of the previously selected item. I'm embarrassed to admit how long I spent looking at indexPath values in the debugger and thinking "this can't be happening" before realizing what actually was happening.
I'm 6'5" and have my UpDesk set to 49" which is just a hair taller than the BEKANT can handle. If I had my iMac mounted and able to be adjusted to eye-level, I could probably work at 47.5" table height but I go a little higher so I'm not looking downward as much.
Ha - I first thought you meant that it's normal that on Mac OS you need third party tools to change basic operating system behaviors. But you're really just telling me I'm 'holding it wrong' ;-)
Placing my feet on the bars connected to a tall chair puts tension on my knees and hips due to the angle. Over time that causes joint pain.
Rootkits and Security: The Next Big Challenge
You are seeing implications already with declining commodity prices.

I just read that house prices in Sydney, Australia are dropping month by month for the first time in very very long time.

Probably more things if you look around a bit.

---

I don't think we will see the growth rates in China drop below 5% as the growth is very different from what we have in the west. Essentially it is the rapid modernisation of an economy via strict central governance.

Think about it. Why would the GDP pr person in China be much different from the GDP pr person in Taiwan?

China will continue to have "supernatural" growth for the next many years.
No, right now India doesn't have a growth mindset because of their many laws and probably corruption. Africa is not stable enough for meaningful growth however... China is doing their best to change that and make Africa a growth market for them by working with stable dictators no matter how brutal and terrible they are.
Cool. I remember reading your post. I published also some stuff, that I'd worked on for five years. What a relief it was, when I handed all the files to the publisher. I took a break afterwards, for six months - and this was great also. Whish you all the best!
By "3D print" you of course mean going to a home improvement store and buying some wooden boards and metal attachment pieces. 3D printing is totally unsuitable for the task, both because of low durability of printed objects and the time it would take you to print a pad like this (a few days, probably).
Almost same setup, except Amazon top, I went for their maple desk version. It is really rock solid. Has no problems with 2 large 4K monitors on it.

I get tired of standing or sitting too long, so memory buttons are a nice feature.
No docker in my shop... though we do manage almost everything with Ansible.
All our apps are java-VM based, so a few playbooks to install Linux and OpenJDK and a few startup scripts is about all we need.
Washington only charges $20 per day of impound? My motorcycle spent a 3 days in impound because someone moved in and needed moving-truck street space costing me over $600 with a few hundred for the ticket and then something closer to $100 a day for impound. Stupid San Francisco. Parking at only $1 is also incredible.
This warning ruins the post.

Your connection is not secure

The owner of www.stealthworker.com has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.
Generally across HN? Nim's forum? There isn't a single source, I've also found a bunch of Rust/Nim comparison that eventually state something along the lines of Rust is equally safe as Nim[1] and it then gets reiterated on HN.

[1]http://forum.nim-lang.org/t/1961
Well, I guess that's what I get for believing my first Google hit for "insure vs. ensure." Nonetheless, I see a lot of highly literate people using "insure" for all cases.
* Table/desk to put it on sold separately
Great feedback. I want to build a service that the HN community finds useful. The approach I've taken has been based on my experience and approx 15 others. But that said, it's highly susceptible to groupthink. I want to solicit HN to see if it resonates, needs a tweak, or completely needs a redo.
C4: C compiler in 4 functions
What does "have health care coverage" mean? Have health insurance? People with health insurance can and do still rake up significant out of pocket medical bills. And copays don't stop, even after you've met your deductible.
Any advantages you've come across to a butcher block top than going with maybe an Ikea table top or something more ordinary?
> It's the nature of the beast that corporations exploit their staff. Or something.

I mentioned corporations not once, and this is about transparency in government.

> If you have extreme situations like this, something is badly wrong, but removing all unions isn't the solution. Instead, add more: convince people to join a more moderate union.

I would contend that there is no such thing as a moderate union in this situation. I would be curious if you had any history of "convince people to join a more moderate union"? I am inclined to think rayiner is correct and no incentive exists.

Beyond this, we are there employers and the people who pay their wages. An organization interfering with transparency and accountability does not serve the public good.
Well one argument for it is it stops pay escalation ie the cops in city a get x so we want x+1%.

You can see the effect in CEO pay.
To add, it's not great at the moment and will be more confusing until Clojure/ClojureScript 1.7.x is the minimum supported due to the introduction of reader conditionals (cljc), as they're not backwards compatible. Cljx is the old method that cljc should obviate, but there'll be a transition period.

I work for a SaaS/PaaS company using Clojure internally for 2 years and was looking into making a universal client (jvm, clr, js, ios, android)... I'd surely have used a Cljx core with Lein profiles for each platform prior but now it's up in the air, may still have to go that way if we're supporting older Clojure. Each approach on its own is easy, but now there are two and the unofficial one (cljx) is more widely supported than the official one (cljc).
I dunno. Sites that can't pay the bills tend not to give good experiences, due to not being able to do things. Like exist.
Moxie Virtual CPU Architecture
This is what my friends in DC feel as well. There was a lot of lead up to the storm, and well before it hit you could have moved your car elsewhere. But people were "betting on the come" as they say in Craps and they were parking there assuming that either a) they would be able to move if it snowed, and b) if it snowed so much that they couldn't move well the city would have bigger problems than ticketing them.

If the law is amended, it should be amended to read "It is illegal to park on a snow emergency route at time time during and 24hours before a snow emergency. A snow emergency exists when the city declares it." Then the city could announce the emergency before the snow started, and start warning people, and then start ticketing people, and ideally by the time the snow hit there would be few if any cars in the emergency snow lanes.
I thought a lot about that too. A lot of people think that seems nuts of course to move to such a barren hostile world. But there is a certain appeal to do something advances human civilization. On earth you are just one small cog on the big wheel. You don't matter that much to the well being of earth civilization. But on Mars every single colonist would matter a lot for the future of that colony.

Even if one dies earlier on Mars, it would seem better to live a short life with purpose than a long without purpose.
This seems much harder to implement than a comment rating system so we don't see +1 spam.
Shifting Colors of an Octopus May Hint at a Rich, Nasty Social Life
Chris, try and get a better chair. A dining table chair is one of the worst options imaginable.
The snow emergency was announced on Thursday a full day before the snow arrived. The emergency then went into effect Friday morning and the snow did not start until around lunch time, several hours later. There was not a single flake of snow in the first couple hours when most of the tickets were issues. People who are saying they got tickets for being 'snowed in' are blatantly misrepresenting what happened. They were parked illegally before the snow even fell, and had plenty of warning.

Additionally, as others have said, parking was FREE at metro station garages around the area through Tuesday. And many area garages were also offering free or $1 parking. There is absolutely no excuse for being parked on the snow emergency routes.
Maybe OPSO promised him that as a fringe benefit on top of the $12/hour (no, I'm not joking, I live in Orleans Parish) salary
Confusion between a government holding debt, and a holder of government debt notwithstanding, a state actor can also hijack an airplane and ask for a billion dollars, or they will kill a hostage every 30 minutes.

Or, they can threaten to nuke South Korea if you don't send them food.

As it's not ran by people with the financial and diplomatic acumen of either the Tea Party, or the Kim family, China's not likely to do either.
Great idea! I actually did a similar thing for my kitchen remodel: I bought a premade Boos Block countertop from http://www.johnboos.com/ for my island and saved a ton of money in the process. Wish I had thought of doing the same for my desk, though - next time!
I noticed after a couple weeks of using my adjustable desk that I needed to raise the height by ~1" which I think may have been because I started using better posture in standing position. I then had to adjust my sitting table-height as well to compensate.

A mat of some sort is pretty important for me as well since the floor at the office is thin carpet over cement.
> Is he wrong about Nim not being safe when not using Boehm GC? Does it not segfault when sending GC pointers between threads?

If he has said that, yes, then that would be wrong [1, 2] in that you cannot send GCed references between threads in the first place. For example, the following code results in an error:

var s = "foo"

proc foo {.thread.} =
echo s

createThread(foo)

Compiling this results in:

test.nim(3, 6) Error: 'foo' is not GC-safe as it accesses 's' which is a global using GC'ed memory

The problem here is one of expressiveness in that it is difficult for threads to share data (outside the limited and still experimental `parallel` construct). I've proposed a mechanism (shared, individually lockable heaps) modeled after Eiffel's SCOOP approach to remedy this, but so far this is just a proposal.

[1] Modulo any remaining compiler bugs, of course, or using explicitly unsafe features.

[2] Also, are you maybe confusing this with Go, which does have such a problem?
This is brilliant! The first three features, i.e. --allowJs, --reactNamespace, and stateless functional componentshave been precisely the things that I have been missing recently.

This makes integrating 3rd party JS libs much easier and I can streamline my components a little since I'm almost exclusively using stateless components anyway.

That already made me quite happy. But as I'm reading on I almost can't believe all the other great additions, such as module augmentations, string literal types, AMD module concatenation, let/const in loops. It's like they've been reading my mind. These were all things on my wishlist. Great work!
The best way to build large scale apps with Flux
UTC is an anchor. It does not change, it is never wrong. Your application or environment may live under different rules because of location but that problem can be solved by the timezone-aware application.

If I am scheduling an event at 08:00 and my TZ is -5, the event is at 13:00 UTC. If my timezone changes due to a new law UTC is not wrong; the event is still going to happen at 13:00 UTC! If the event was previously stored as a local time and not UTC the EVENT is wrong! You solve this by handling the TZ conversion elsewhere and making sure it always has the latest rules.

Always store in UTC. Your argument makes no sense.
Well described. Also pen testing is a litmus test that can be done anytime. The vuln models are for the few companies who have made great progress in squishing bugs and are taking a very proactive approach. Unfortunately that is still a small percentage of companies
> $400

Note that's for just the adjustable base; it's at least $90 more including the surface, depending on options. Looks like the height range is 28-45 inches.
For me it really comes down to the type of concentration I need. For times when I know both what needs to be done and how I want to do it and I just have to put hands to keyboard and focus on getting it done, then I prefer to sit. For times when I trying to get a grip on a problem or wrap my mind around how to solve something then standing works much better.
Data sensor device for farms and field crops
I just got the jarvis with the rocket mission top:

http://rocketmission.com/collections/desks/products/evolve-d...

Best, most thoughtfully designed desk I've ever seen, let alone owned. My kids will fight over it.
I've gotta be honest. I have no idea who Jonathan Blow is. I checked the Steam Store page and it seems .. to be not my thing.

That said, I recently found, bought and played 'Pony Island' (if you don't know what that is: Do NOT watch videos. Think '6th Sense' - you'll ruin the game). That wouldn't have caught my eye based on random videos/screenshots either and it's right now my 'best game ever'.

Can someone explain why 'The Witness' is interesting? Why would it trend here? What's the relation between HN and Jonathan or this game?
Thank you. Will investigate. Just moved the site to AWS and may have some 'cert challenges'
I am really puzzling what is Microsoft trying to accomplish here? Eventually a C# that compiles to JavaScript? TypeScript is a great language, and surprisingly (or not) it's more successful than Dart. Now, of course, I want TypeScript to compile to CLR as well. :)
Please, PLEASE tell us the name of this place so we never have to work there.
I have both a Jarvis and a Herman Miller Envelop at my office: http://www.hermanmiller.com/products/workspaces/desks/envelo...

The Envelop is truly fantastic when paired along with an Embody (or less optimally with an Aeron). IMHO sitting slightly reclined with relaxed arms is a great ergonomics setup.

But the price is really high for a low-quality blocktop (the legs are fine though).

Anyone knows similar desks that are better quality and/or cheaper? This kind of desk deserves to be more popular.
I believe it is from here: http://www.heavymetal.com/news/r2d2-shows-princess-leia-whos...
Not symbolically.
> These libraries do nothing but add to decision fatigue. Developers have to make decisions, sure, but we need to have limits too.

Nonsense. These "me too" libraries add to the decision fatigue only if you're including them in your list of candidate libraries in the first place. Personally speaking, I won't even consider Preact until one of the following events has occurred:

1: I tell myself I really really need a 3k React-like library.
2: I've heard more than a few people mention Preact.
3: I discover something really awesome about it that will save me lots of time.

Apart from those events, I'll simply ignore it and not worry if I made the wrong decision. You have the power to ignore me too libraries.
What does your father think of the whole CRISPR fiasco?
Unless you were the victim of some seriously dedicated practical jokesters, this was unlikely to have been a problem before the storm hit.
Actually, the city did work with area motels to house homeless in order to get them off the streets, since they were out of space in the homeless shelters.
The BEKANT is definitely hit-or-miss when it comes to reliability. The motors on mine died just over a month after purchasing it, and some searching at the time revealed it to be a pretty common issue. Luckily IKEA has a generous return policy and I was able to return it with no questions asked. When it did work, however, I agree it generally worked well and was mostly stable enough. I just couldn't risk having to disassemble my desk whenever the motors broke.
This is Nick Stealth Worker's developer

Just tested on Firefox and it shows our cert from Comodo, upon clicking more information, what did you see?

Thanks
I would actually not consider jQuery to be innovative as much as it was a refinement/improvement of existing libraries such as Prototype and Dojo. I think jQuery is great so this isn't a knock against it, but rather just saying that sometimes one thing comes out that is revolutionary but then something else that is an improvement/iteration on that smooths out the rough edges and becomes "the one framework to rule them all" (for a few years, at least).
First time I've seen this model. I take the angle is variable ?

Also, more than the desk, a decent chair is of great importance.
Thanks. But that's a very fuzzy concept innit? After all, currencies are convertible and fungible. All that it really implies is that the high debt levels will likely keep the value of the Yuan low.
Facebook is closing Parse
Nice evidence for why site operators should be running their own NTP servers. If you run 1 server set per site which doesn't even need a strong local clock, you mitigate this information leakage.

I'd think this is something that most network designers/engineers would get. That said, I'd be a rich man if I had a nickel for every time I saw NTP misconfigured.
>>The threat—even an imagined threat—of a large bill made it difficult for poor people to focus on the cognitive tasks at hand.

This issue happens because one has to constantly juggle many priorities in the mind all at one time. This can come down very heavily on a person. To have to make decisions to chose one over the other, a.k.a making sacrifices can be soul depleting if done for a very long time.

There are often conflicting priorities many demanding attention at the same time. In case of trade off you often stand to lose something for the other.
Again, you're stating things people already know (maybe not in terms of marginal utility, but they do). You say you grew up poor, but the money you needed in order to be happy weren't millions or billions. It was a lot less. Beyond this, more money doesn't mean happiness, which is what people mean when they say it... but you already knew this, didn't you?

If the return in happiness/peace of mind you get beyond $75K (or whatever number) is close to nil, those all-nighters and cheap noodle lunches are simply not worth it by definition. Unless you enjoy living like that, of course, but the implication is that most startup founders don't, it's just stuff they do because they see the gold pot at the end.