skysight-inc/HackerNews huggingface dataset:
Then just put all the files for a component into a single folder, which translates 1 to 1. Again, this is all just a matter of preference, and with pre-compilers you could glob all your js/css/html into one file using any framework if you really wanted to. Seems silly to me, but to each their own.
Reverser wanting to develop mathematically
I think what we're looking at in about a decade are interactive natural language development, in which one 'architect' will replace an entire team of programmers, designers, testers, etc.

"When I tap on this thing " - put the finger on the control
"Go ahead and get the latest articles from HackerNews"

The System contacts "Hacker News" and queries for "latest articles" API. The systems negotiate an API key, account, etc and is good to go.
The result is a list of articles with title and number of comments.

"Now use a nice table. "
System formats output.
"Show me other styles"
Lists table styles.
"This one. Now if the number of comments is more than 100, show them in red"
And so on.

In the end, the System can generate source code in a multitude of languages (why?), some kind of pseudo code and of course an interactive, editable video of the "programming" session which others can watch and fix if necessary.

So basically, one person can design the whole "application" in a couple of hours.

We're not that far from that.
And as we get closer, it will become better and better and it will be a lot easier to extend and modify this "System".

Imagine developing the System using the System.

Programming as we know it will remain a thing of the distant past as is the case with all things that evolve over time.
I already knew this would be an article about Moxie before clicking the link.
The issue with these "economic decline" stories and speculations is that "decline" is never defined in any kind of useful way. So, arguments tend to rise with people talking past each other because they are using a different idea of what axis the decline is moving along.

Are we talking about the power to dictate trade terms or monopolize trade routes? This is a lot less important than in the 17th century. Do they mean cultural influence? I can report as a European that I understand US politics better than my own country's. I watch more US movies than al else combined. Do they mean "highest GDP?" Military power? the ability to be the "world Policeman?"
What seems to happen is that you come across a compelling set of evidence. The evidence is faked, or skewed heavily, but it might be hard to know this. And, as presented, the cases are usually pretty good. If you're unable to immediately dispute them, it isn't totally irrational to think they might be real.

This is the reason I don't watch documentaries on modern "issues". The story presented is all very manipulated and you're certain to get an incorrect set of evidence.

What is boggling is how smart people _stay_ convinced by conspiracies, after contradictions are pointed out. But changing your mind is a hard thing to do, so perhaps it's not that surprising?
Problem: JavaScript is the only language that runs in all major browsers.

So far no solution.
It does in some places. In St. Louis it was as easy as checking a box on your bill one time, and then for a slight additional cost your house was supplied by renewable energy indefinitely. I don't have that option now in NC.
Big fish are almost always eaten by small fish. Small fish are almost always eaten by big fish. At least there's a nice symmetry to it.
My fear is that I am heading down the road you listed in the second scenario. I think the problem is that it is so easy to just tell myself "No, you're doing great. Look at where you are compared to 98% of the world". Even though I know I am just coasting through life.

I have a very happy disposition by default, and I think this has kept me from any action that could potentially cause an upheaval in the way I live. But I can also feel a growing discontentedness with how I have lived my life so far -- never truly challenging myself, never taking any risks, and never really accomplishing anything great.
I use "var undef;" at the top of a function and never set it to a value. Comparison with === is the same as with undefined. And it's nice for minification.
The continental USA hasn't been considered an empire since the 1840's, any more then the UK is considered an "English Empire".

I suppose the continental USA could be invaded by Mexico or Canada, in which case one would have to see a much more considerable reversal of fortunes than that being considered in the OP.
Automate DNS with Juju
Good to know. I peeked into underscore's source to see how this type of check is handled.

Aparently the issue is more complicated than I thought, because the following comparison is used:

obj[key] === void 0

Are they really defending themselves against the function being rebound with undefined shadowed?

http://adripofjavascript.com/blog/drips/javascripts-void-ope...
You've literally just reworded the statement of the article.

Neither you nor the author explain how patriotism is linked to power. I (and your parent) think that's an absurd position. If anything, a realistic rather than jingoistic view of the nation's stance in the world enables a sort of realism that prevents stupid mistakes of hubris -- mistakes that can sap a country's ability to project both military and diplomatic power.
I like babel for plenty of other reasons... the single biggest one is the culmination of Promise + coroutines with async/await keywords.

Not to mention being able to break code into discrete modules that can be utilized without having to jump through namespace hoops or global collisions (does $ mean jQuery, Prototype, document.querySelectorAll, ...).
Most anyone interested in this story immediately jumped on the code thinking it was inserting files. Then a few software engineers took a look at the code and realize the file names were pretty much jokes. Now, everyone thinks it a joke that the tool inserts such material, when in reality it allows any user to insert any file they have, so the government (who has a collection of illegal files) can still use this to frame someone but any outrage over it has been dissipated.

I'm not saying it was intended to happen like this but it is sad it did.
There was a beautiful thought yesterday somewhere on HN, on a completely unrelated subject. Forgive me for not remembering the author, or the thread. I was half drank :)

Every generation thinks it invented sex, rebellion, and curiosity.

It seems to me that the similar thought could be applied to many things. Is this a known logical fallacy, does it have a name?
They still do similar things in NYC: http://www.nbcnewyork.com/news/local/NYPD-Brookhaven-Gas-Sub...
"pippo" and "pluto" are used in Italian as "foo" and "bar" are used in English, see http://www.outpost9.com/reference/jargon/jargon_28.html#TAG1... .
It is similar as in C:

When C come out, it did not include a bool type, since it could be easily implemented as integer or char. The result was, that every bigger project had its own standard of the boolean type. This lead to the situation that bringing together different libraries or projects in the same company, you very soon had four or more different (and potential incompatible) boolean types with different constants for TRUE, FALSE, true, false and UNDEFINED. The programmers where happy to deal with those ...

It would be best (and fastest) to include something like default parameters into the language much sooner ...

But at least in this case, I see much less trouble as with the C type and I do not agree with the author that there is mental overhead involved with the OR operator, since you normally get used to it fast.
Yeah. It might be an issue when you're a widely used library, you might routinely encounter completely insane stuff. In a codebase you own though, I wouldn't worry about it, you can just set whoever decides rebinding undefined is funny on fire.
At which point planting evidence becomes very easy as long as the one doing it is smart enough to not leave traces that it was planted.
Researchers discover a 40.000 year old bracelet made by an extinct human species
C#'s coalese only works on null. The problem is that JS will apparently see an empty string or 0, and consider that null. So if your function passes those values deliberately, the || trick breaks.

So long you're OK with that, it seems like a clean solution. It's JavaScript. There's tons of dumb stuff a JS coder must learn. If he's confused by || then he's likely to be unable to work on any real JS.
Well, after many conspiracy theories turned out to be just the tip of the iceberg of truly heinous government actions it's not hard to understand why previously skeptical people now think twice about immediately dismissing crackpot ideas.
Not that I agree with the sentiment of the article (defaulting with || is usually okay!), but hopefully people reading these pieces, and worrying about such things, are already using strict mode.
This looks like a good idea. Most Strings could be encoded with one byte per char.
Indeed, if you could do:

"include <what_my_boss_wants>; run();"

why the hell would you not do that?
> Today, Java has made me believe his theory a little bit more.

I think Java is sort of an exceptional case here in that the language stays relatively stable and evolves very little over time. Also they tend to not change internal details of the standard library without reason, so even lots of things programmers shouldn't rely on, such as behaviour of substring() will stay unchanged for quite long.

Now JavaScript on the other hand probably has programmign language and framework knowledge half life of considerably less than 18 months ...
Yeah, I was tempted to say 10. It's one of the funniest movies ever.

I wanted the potential user to see that 10's should not be given lightly. I was trying, as much as possible, to get all users on the same "scoring" page. answering: "What's the minimum points a thing would need to score to qualify as 'Good'?" That way, the scores mean something. Maybe they can be compared.

Plus, lot of features in scorethings were inspired by this xkcd joke about star ratings: https://xkcd.com/1098.
Android ADB backup APK injection vulnerability
I think a good but not impossible goal is to get my cost of living and happiness to under $600/month (non business expenses, food, health insurance, etc.).

There was a point my rent was only $370/month and I was pulling in quite a bit. I'm at $1400/month now and when I realized my next month of rent would be more than the down payment on a parcel. I don't really need comfort - just not to get heat stroke or hypothermia.

I'm interested in exploring basically any area of engineering, construction, building, materials, metallurgy/welding, any area in STEM not mentioned.

My basic personal philosophy is now to try to identify and analyze my shortcomings and be honest about them with myself and see how I can improve. I benefited a lot from reading and taking as much as I could from Aurelius' "Meditations" - I don't want an easy or comfortable life.

I don't think all of the points in Meditations apply to my ideals, and actually I think I go directly against some of them in a way - but in a macroscopic view, I like the idea of manning up and being a strong person and embracing logic, but at the same time remembering to appreciate family and friends.

Hopefully that adds a bit to this, I'll try not to add too much more as I have a habit of writing relatively long monologues and spending too much time on them
Let's not conflate this with the Holocaust even as a joke. Automation like this is a step forward even if it only inspires a dreary debate about economic theory.
Any truthy value will be returned and short out the boolean expression.. falsy values fall through...

falsy values are: "", 0, null, undefined, NaN and false

Everything else is truthy.

I kind of wish that Invalid Date (invalidDt.valueOf() === NaN), empty arrays, and objects without any properties were also falsy sometimes. Though I also wish that sometimes 0 was easier to separate from other falsy values.
You can view them as huge tragedies or local aberrations, depending on where you live I guess. But if you consider what the modern world is capable of in terms of armed conflict (probably few orders of magnitude more of what WW1/2 was) I think it's reasonably peaceful at the moment.
You can easily get Babel, proper modules, hot module replacement, and a bunch of other goodies with Webpack. I wouldn't start a new JS project without it.
Show HN: Cusby the USB-C Modular and Expandable Solution for the New MacBook
>This is somewhat amusing to hear for someone who lived in an area with recurring earth quakes

"Familiarity breeds contempt"
While it is far less remarkable the way you put it, I wouldn't call it completely unremarkable because it still is remarkable that big fish eat big fish so rarely.
Your other comments in this thread discount the actual length of time other empires that lasted longer than 250 years held power, and extend the length of time the U.S. has held empire-like power around the globe. While you might be right that the average is 250 years, the variance is high, and your arguments to defend your position are weak.
Unfortunately your argument is also used by those who disagree with others.
ice40UL1K is a $1.60 for a single bga unit on digikey. Probably well under a dollar wholesale. Add in a few cents for a crystal, some capacitors, pin headers, a vreg, and the pcb, probably costs $1-2 to produce.

I should mention that someone capable of doing hobby level bga work could easily make their own at around $30 through a pcb batching service. In terms of electronic complexity, it looks pretty trivial.
"Sometimes the winner is decided by nothing more than who stays on the field."
indeed
The thing I mind is that there is now no way to get the old behavior. String is a final class, so you cannot override it and add a field, even. You can roll your own - if there is no code you do not control that takes a string. (And if you don't mind having to write your own string class!)

And it being done in a "bugfix" release? That's unacceptable.
New communication with Philae – commands executed successfully
For the right person, there seems to be more benefits to direct indexing than are indicated in this article. Tax-loss harvesting is one potential benefit, but so are things like charitable gifting. Anyone who is in a high marginal tax bracket, maintains a substantial portfolio in a taxable account, and gives a considerable amount to charities can receive substantial benefits from direct indexing.

Instead of your gifting being limited to the average appreciation of all stocks within a given index (as is the case with an ETF), you can pick out the stocks with the largest gains to give to charities. Unlike tax-loss harvesting, this type of tax strategy does not ratchet down your basis (thus deferring larger capital gains for the future) or create any wash sale issues (so you don't need to take the risk of not holding a particular security for a period of time).
Isn't it possible in the us to choose by oneself from which power company one obtains the electricity?
In europe you can for example choose to support companies which only use renewable energies.
Changing run-off rates of an entire region is a massive terraforming project.
Yes they are, for a few more days.
But it does mean messages can't be delivered to you.
I (scare-)quoted the price in the title now, to indicate that it's not very certain.

The FPGA in question seems to cost less than $2 here in Sweden in unit quantities (from Digi-Key: http://www.digikey.se/product-detail/en/ICE40UL1K-SWG16ITR50...), so at least that component by itself doesn't have to blow up the parts cost.
I was intrigued and just tried this. It doesn't work (at least in the chrome console) -- "undefined" is a reserved keyword and while the interpreter doesn't complain about attempting to assign it the value of "raspberry," it appears to ignore the statement.
Cool, but very slow in my browser.
I don't think they were relevant in the past either. The British empire may have been similar to the Spanish or Dutch and followed a similar path. These were maritime trade empires in the age of discovery, monopolizing new trade routes.

But, I don't think the Ottoman, Chinese, Arab, Hitite empires give us any predictive information for the longevity of the later ones.

I mean, history does show pretty convincingly that "stuff ends" eventually. It's got some examples for how, they are usually fairly specific and unclear. Europe has been obsessively theorizing about The Fall of Rome for 1500 years. All those musings really tell us about is the people doing the musings. It was because of Debauchery, Christianity, Tyranny, Civil Strife, Monetary Policy, Cultural Purity, Military Discipline etc. etc. depending on who you are.

I bet you can guess that Victorians suspected orgiastic debauchery while Marxists suspected class structure.
Noteworthy limitation [1]:

> The only gotcha is that the FPGA onchip memory is OTP, so it should either be loaded by external CPU over SPI, or from external SPI Flash, in both cases the SPI pins are user defined IO after bootstrap. Or then fixed configuration is burned into OTP.

Basically, while it -may- retail for $5 you will need an external CPU or flash for it to work. This sounds like a heavily restrictive limitation. I'd rather pay for a $8 FPGA module with actual persistent memory.

[2] https://hackaday.io/project/6592-dipsy
Fantastic stuff! Truly novel reading experience.

The biggest challenge for you to build tools around this. Expecting writers to know basic web development is a huge ask. You need a tool like Adobe Indesign [1] or Amazon's Kindle book publishing tools[2].
The second challenge is to go cross platform/device. The biggest challenge here, to reduce the size of the entire artifact book and not just rendering speed/quality.

[1]http://blogs.adobe.com/creativecloud/publishing-for-everyone...

[2] https://kdp.amazon.com/help?topicId=A3IWA2TQYMZ5J6
With electric cars drawing power from a grid you reap the benefit of centralisation. It's easier to upgrade a gas fired power station to increase efficiency/reduce pollutants than it is to upgrade every vehicle on the road.

You also have a better spread of options using the grid, e.g. renewables. Essentially with electric vehicles you are just moving the place where the power generation happens, but with countless benefits.
fruit = fruit === "" ? "" : fruit || "strawberry";

Woohoo! Javascript rocks! Note that

fruit = fruit == "" ? "" : fruit || "strawberry";

May or may not be bugged depending on your understanding of a bug and whether you're a marmite fan.
The surge of interest appears to have killed Lattice Semi's website. Anyway, this is a fancy breakout board for a tiny BGA device: ice40UL1K. Available in single quantities from Digikey for under $2.

I'm not sure what you'd do with this; at 1k LUTs you could probably just about fit an 8-bit microprocessor in there. Could you do crypto? You could get one or two AES implementations in: http://www.chesworkshop.org/ches2003/presentations/chodowiec...
s/interesting/awful/

Nobody would dream of make a licence poking at any other demographic like this one does.
No, this is targeted towards consumer, mobile devices. For cryptographic use you want small process, high bin, typically extremely large and expensive chips. The thing has integrated LED drivers, it's about as far from what you want for that application as you can get.
This ignores the amount of electricity needed to take crude and generate gasoline as well as the rest of the gasoline supply chain. We may as well start making our way towards electric. If we have clean cars then making the rest of the system clean isn't a chicken or egg problem
Sometimes the more you know, the more possibilities could be out there. We are not in a 100% transparent world. A single signal could mean a lot that one is not able to see. So based on some signals we could observe, there come related explanations. We could label a category with different tags. Conspiracy theory is one of them. Though I do believe that conspiracy theories weigh people's motivations more, which is not quite fit to most of mainstream perspectives. Hopefully, I won't get downvoted too much with this comment;p

[edit] typo
Some of us have also worked, through ignorance I will add, for heinous government contractors and sat with people having discussions on how best to kill lots of people efficiently without a thought as to any ethical consequences of their actions.

I was out of there like a shot.
you can also use...

if (foo === void 0) ...

//or
var undef;
...
if (foo === undef) ...
They become even more extreme aberrations when you consider the state of modern communications technology, and the fact that the news media only reports on the most sensational stories. I can't even imagine what a representative sample of "news" would look like, but it's worth the thought experiment.
Bad news for australia :(
http://www.bom.gov.au/climate/updates/articles/a008-el-nino-...

http://www.bom.gov.au/climate/enso/tracker/
I'll also take this opportunity to give thanks and respect the whole team.

Though I have to say, whilst I understand the absolute ballache of technical reasons for dropping SMS support, I'm _still_ extremely sad to see it gone :(
Vanguard wins in the fee category, but from a tax standpoint, direct indexing wins by a wide margin.
It's about 6 AM on a Friday. I just spent the week writing boring documentation, and I'm taking the day off to watch some movies.

Yeah, pancakes are pretty valuable right about now: http://www.scorethings.com/scores/51246719
it's really good to own internal combustion cars where no one lives

Isn't that right though? Tailpipe emissions are much worse in urban than rural areas because there are more people to breathe them in.
But somehow people are fine of how that works in democracy.
Timeless rant? It's more like a history lesson, which is the direct opposite of "timeless".

Nevertheless, thanks for the link, this was incredibly informative and well-written.
Yes, when I was student I used sometimes to include maths formulas in chats with my friends. Something like this would have been quite helpful.
the technique could be applied in other areas

The optimisations used in the paper are tightly coupled to a certain approach to image-processing.
You probably know this already, but if you're using (or are amenable to using) uwsgi for managing your workers, there's an option[1] that can control whether your application code is loaded before or after fork() is called.

I've run into the exact issue you've described; the --lazy-apps solution may be slightly more resource intensive (since you maintain N copies of the application in memory), but ends up being much nicer to reason about.

1. http://uwsgi-docs.readthedocs.org/en/latest/articles/TheArtO...
Why would anyone want Markdown in a chat window? No one is sending document-length chat messages with text formatting. That's what email is for. On the rare occasions you want italics or bullets in a chat, you can get close enough with ASCII if whitespace is preserved.

The purpose of the LaTeX support is being able to communicate Mathematics with ease. Markdown is useless for that. And it's hugely useful e.g., when tutoring or holding office hours via chat (or even via Skype -- just typing the formula is usually easier than writing it on a piece of paper or aiming the camera at a whiteboard).
Why Seamless’ Redesign Is Turning People’s Stomachs
Quite handy for covert data exfiltration by modulating a "power" LED, though.
> black box testing at public boundaries of a system

But that sounds more like integration testing, not unit testing, doesn't it?