skysight-inc/HackerNews huggingface dataset:
FBI’s Secret Surveillance Tech Budget Is ‘Hundreds of Millions’
The various iPhone unlock services are a big example of this. As far as I understand it, they all ultimately end up working with insiders who (mis)use the official unlock facility, for a price.
I haven't seen the short, but every bird clip reminds me of my favorite: Kiwi! (2006)
> https://m.youtube.com/watch?v=sdUUx5FdySs
I used that as an example because it's so radical as to be irrefutable, and pretty amusing. Massive personality change does not require traumatic brain injury.

Just because something is really hard does not mean it is not of much interest theoretically or practically. Everything that is meaningful in human endeavor has been "really hard."

I think that it is actually really important to study and understand personality change. Frankly, a lot of people have negative, (self)destructive personalities, and they would be much better served with positive, constructive personalities. Maybe if we understand how people change, we could come up with a consistent, efficient method to help those people, rather than shrugging and saying "haters gonna hate."
True, the illegal ones come from Turkey, Algeria, Afghanistan and Morocco (and I'm sure a dozen other countries).

They do work in the construction sector.
When I scroll down an image-heavy Facebook page for a long time, it eventually becomes unusably slow. Something there is taking polynomial time.
Why don't you have that AI read all manuals not just construction ones. Also all legal texts, all medical texts and all computer texts. It could optimize everything!

/sarcasm
Short Introduction to Complexity Science
Object files?

https://en.m.wikipedia.org/wiki/Object_file

Of course the term "object" is confusingly overloaded too...
I want to throw the "if u want contributors, dont be a dick and stop edit all what you don't like"-Hammer on him

imho the "Propaganda" tag is horrible too
When straw/wood is enclosed in concrete with some lime, it does not rot. I saw video[1] of remains of houses built by German prisoners in Siberia using "soft concrete" - concrete with wood chips (cement bonded particle board, AKA Arbolite, fiber reinforce concrete, Papercrete, etc.). They are looking good after about half of century without any maintenance of houses, even in broken walls without roof.

From my own experience, I saw that wood rots quickly for about 1cm (1/2") when it contacts with concrete or cement stucco, but remains intact when enclosed in cement-lime mix. IMHO, lime is important to save wood/straw from rotting.

[1] https://www.youtube.com/watch?v=iAiT6IRVgTE

[2] https://en.wikipedia.org/wiki/Papercrete
Thanks, TIL!
Can I write
let x = 1;
let x = x + 1;
?
"the trademark issue is now resolved", amazing.

They clearly wanted to put them out of business because they see them as a competitor!
My favorite? Prilosec (Omeprazole, a proton pump inhibitor to reduce stomach acid) was running to the end of its useful life for (Then AstraZeneca) Pfizer. What to do? Nexium!

http://www.chemistry-blog.com/2010/10/18/nexiums-dirty-littl...
Congratulations to British people for their courage and determination. It amazing how much primitivism and hate on a forum of the self called "elite" and the "intellectuals" who cannot stand that someone could think differently about their grandiose ideas.
Well yea but they have to exist because of a failure in the free market. Without the regulations the free market doesn't have a good way to prevent cheap unsafe construction, especially when the problems aren't evident for a couple decades.
In a threat model where the Bad Guy (intelligence organization? police? criminals?) have physically taken the machine, how exactly do you define owner?

What about a cloud service that wants to deny themselves access to your data, despite the fact that they own the physical hardware?

The iPhone secure element, for example, is specifically designed to defend attackers with physical possession.
Isn't receipt of benefits from these government social welfare programs dependent on having no other source of income? If so, the recipients of the basic income would lose the benefits. If not, the benefits are themselves a form of basic income.
Linux lockfile explained, how to use them the easy or hard way
https://www.reddit.com/r/programming/comments/4ps0al/linux_l...
This is an interesting discussion about why it isn't possible to define a "good" value for 0^0, i.e. a value which works in all cases, but the original riddle doesn't really work. "Nice" operations like addition, multiplication and exponentiation all preserve continuity and the function we're given is discontinuous. The given solution contains a hidden special case, rolled into the author's proposed definition for x^0.

From a formal mathematical standpoint, you define things in certain ways and then work with the definitions. It's not like there is a "correct" value for 0^0 out there that we can mount a search for.

It's roughly the same with discussion of 0.999... - people still debate whether it's less than or equal to 1. You just have to use the definitions. In this case, 0.999... is shorthand for an infinite sum. An infinite sum is the limit of the sequence of its partial sums (where such exists). In this case the limit is provably one. So that's the value of 0.999... . If you look at a series like 1 - 1 + 1 - 1 + ..., its sequence of partial sums is divergent, so it doesn't have a value and that's that - although that doesn't mean we can't apply all sorts of alternative definitions to try to work with such a series, and some of them do in fact assign it a value. Such alternative definitions can produce really weird-looking results - one of the most striking is the result that (subject to certain definitions) 1 + 2 + 3 + 4 + ... is -1/12.
I don't think it's true that a lot of people really reinvent recursive descent parsing. Or rather I think a lot more programmers who don't understand language concepts wind-up writing broken pieces of what could be a recursive descent parser. The programming piece of a recursive descent parser all easy - the tricky parts are having a language spec, operating on the language spec to get the appropriate normal forms (Chomsky and Greibach) and then turning the spec into a parser.
"Discouraging" is the nicest hedge you could have used. There are a bunch of Go frameworks and libraries and whatnot for writing web servers, this one should be passed by very quickly.
Poor people use illegal drugs at a lower rate than wealthy people. Probably because drugs are expensive and they don't have as much leisure time.

The notion that we should drug test welfare recipients is just an outgrowth of condescending Calvinist morality.
CFG parsing can be done better than O(n^3), reducing to Boolean matrix multiplication, which is about O(n^2.37).

http://theory.stanford.edu/~virgi/cs367/papers/valiantcfg.pd...

https://en.wikipedia.org/wiki/Coppersmith%E2%80%93Winograd_a...

Agreed that CYK and Earley are rather simple to implement. Though Earley has an edge, as its best case is O(n), whereas CYK is O(n^2) best case.
>This is utter drivel.

It's utter drivel to point out that nonrenewable resources are being squandered at a shocking rate on structures that can't even last a century?
Is there any future where we can imagine that this gets better and not worse? It seems like the pharma lobby has more and more power these days as it gets more and more money. There seems to be little incentive for it to be fixed as most people don't seem sufficiently outraged.
Application checkpointing
So how did you establish "the fact" that the Swiss public, in particular, is "educated enough" and the US and the UK public, in particular, are not? Is there a standard somewhere, a test that was done, or is it just the good old "seems to me"?
For those of you like me that don't know much about video editing and you're curious what compositing is, here's an article: http://www.dummies.com/how-to/content/compositing-video.html
Boozy chimps use own tools to obtain alcohol from palm trees in West Africa
Are you saying that Google doesn't list a place in the maps if they don't pay?

Do you have any source for that? Thanks
You can focus on global problems if you like, there is no guarantee the EU will help there, you've cherry-picked your concerns: what about non-global problems, what about global opportunities?
This is the stupidest idea ever, for a lot of reasons that anyone can find in a basic class or a few web searches on economics.

Why did this get voted on in the netherlands? Why is this being tried in America? This is dumber than communism.
Fair enough. Apologies if that felt disrespectful.

It just seemed silly language to me, especially in light of the program focusing on how money can alleviate the majority of poverty's struggles.
Are you sure? I assume you mean they can't observe the mind. But they can. We can now identify psychopaths with brain scans. There are also pro-social psychopaths. Do you think they will continue to have total freedom to live as such when everyone knows what they are? We've already decided ADHD is a disorder. If you want to institute industrialized education and 75% of the population adapts to it then what is the other 25%? I would argue ADHD is adaptive in some other context and that is why it exists. I absolutely love the "hyper-focus" aspect as a programmer. That won't stop the powers that be from assuming there's some mistake in the way I'm configured. This is especially scary when you can detect mental "disorders" via behavior on social media. Also when your boss is spying on everything that you do. Which is basically a thing at every major corporation now. Alternative configurations of the self are a risky endeavor and getting riskier. It makes me sad but I don't want false hope. Whatever idealogical awakening seems to be happening, it isn't being translated into the social structures that control us. Of course the former must precede the latter. But the former keeps popping up with increasing frequency and the latter is always further from reality.
I don't feel like a "show more" link should fall into this bucket. With a show more link, the user remains in control and they can opt for the footer if they prefer. It's also pretty straightforward to implement proper bookmarking using the history API should that be needed.
>Everything else is hogwash.

Ongoing maintenance is an important energy and money sink for any society. I find it doubtful that concrete (at least, the modern versions and usage of it) will be sustainable beyond the fossil fuel era, simply because it will be too expensive to maintain.

EROEI for a given bit of infrastructure (ie how much energy is conserved or produced for a given energy expenditure in construction/maintenance) isn't as sexy, but it's just as much a thermodynamic constraint on sustainability as overusing the CO2 capacity of the oceans and atmosphere.
I have an older, portable version lying around in my machine and I really liked it (though knowing very little about compositing when I downloaded it). It helped me do some nice animations to explain a few things through video.

Now I'm a bit surprised that they require you to register to download any version... I know it's free, but it still feels unnecesary... I just want the file, why do I have to register?
strncpy is strcpy's daft cousin that wastefully writes extra null characters---except when there is no room; then it neglects to null-terminate at all.

strncpy was not needed even in C90, because of sprintf, which is less clumsy to use, doing everything in one step:

char array[64];
sprintf(array, "%.63s", some_string);

If we replace the 63 with * , we can pass a dynamic size:

sprintf(array, "%.*s", (int) sizeof array - 1, some_string);
He is not the sole contributor, actually. He squashes master every once in a while to a single commit, which removes other authors. If you peruse the travis builds page[1] you can see commits by other people

[1] https://travis-ci.org/kataras/iris/builds
I don't practice in Canada, but my understanding was that the CSA is an analogue to the ASTM codes here in America (and internationally apparently, if you believe their name change). ASTM codes are very thorough when it comes to materials testing. I believe Europe has a similar standard.

I don't understand how your third paragraph's thrust follows from your second paragraph - what does materials testing have to do with site specific (railway) or field changes (bent rebar)?

How long did you practice in Canada? Your viewpoint of engineers meshes well with the opinion that I've heard from a lot of junior level engineers who are just making the adjustment to a mid-level position but are still interacting with the lower level staff who are, as you say, typically helpless. They are supposed to be - they are still learning.
Become+a+Self-Made+Millionaire+by+Following+These+9+Practices
"If you're low on income and have a family to support" then you made poor life choices and natural selection comes into play.

Like it or not it is a force of nature.
Interesting, but where can I use it?
You joke, but that is a great idea. IBMs Watson was helpful to doctors by being able to reference huge amounts of medical literature. Basically a domain specific natural language search engine. I've read about similar software for lawyers searching for relevant laws and cases.

The AI doesn't need to be so good it can replace the doctor/engineer/lawyer. It just needs to be a helpful tool for finding relevant documents. NLP and QA is just starting to get good and available to the public, so I think this will be a big thing soon.
Based on nothing or anything. It's just reality.
The FTSE 250 closed 11.4 % down on Friday, its worst drop ever. I think it's a extremely premature to be saying everything is fine. No-one will know for several years whether it was a good decision or not.
Writing a parser by hand can be a bit repetitive, but it's actually not that bad with a bit of experience. Many production parsers are written by hand.

Here's a good article about parsing expressions:
http://journal.stuffwithstuff.com/2011/03/19/pratt-parsers-e...

And my half-baked explanation which may not make sense unless you've already tried it:
https://plus.google.com/+BrianSlesinsky/posts/hMr5NEnQcxC
This argument could go on forever, but why create a design that necessitates a footer to begin with?

I mostly agree with the article, but it's crazy to say any one design solution is universally good/bad. There are good and bad ways to implement just about anything.
“Brexit” Hangover: The Morning After a “Leave” Vote Explained
so.many.times.
And for a sovereign state, bankruptcy means ... nothing. Yes they couldn't borrow for a while (judging by the Cyprus experience ... about 6 months), but they can't borrow right now either. A lot of banks would close off financial channels for a while, as a bargaining chip to get their own finances in order. This would be bad for rich Greek citizens, but would be fine for normal people who don't deal with non-Greek companies directly.

And of course, the ECB would have to write off a massive amount of debt (about 1.5% of Eurozone total debt), which would devalue the Euro. A lot of Euro banks that bought Greece's debt because it was backed by the Eurozone and still had high interest rates (in a sort of carry trade) would go bankrupt. Because that's the big secret, of course. A Greek bankruptcy would be far worse for other countries, especially Eurozone countries, then it would be for Greece [1].

As an American you should appreciate the situation Greece is in. Greece's economy is destroyed, because of externally imposed taxes that cannot possibly work. I am saying, maybe Greece should have a little Tea Party. I am scared to think of how badly Europe is currently being perceived in any of the PIIGS countries, but in Greece it's probably by far the worst.

[1] https://www.youtube.com/watch?v=mxXKDaIKkhk (worth watching, even if you don't care about the reference itself)
I can't name any specific situations, but it will generally come down to the fact that your project is different from whatever the script writer was anticipating.

For instance: import statements vs. require expressions - these need to be handled with different AST matchers. Import statements themselves have 3 different varieties of specifiers (default, named, "all") which must be accounted for. A require expression may or may not involve destructuring, it may or may not use const or let over var (each of which need to be handled explicitly, etc.)

As far as failure mode: scripts generally just won't match or work, or they might replace all of your consts with vars, etc - they can be very codebase specific depending on the complexity of the script.
They'll do nothing and buy drugs and alcohol.

People have been doing that with free money since forever. You can't package the free money in a different way and expect different results.
> I was responsible for this design decision.

Dun dun duuun

I used to write a lot of C++ and my idea of immutability always was that if I see a variable declaration at the top of a function and scroll down to where it's used (without reading the code in the middle) I can assume nothing happened to the variable.

Then I started to learn Haskell something like a year ago and found out that shadowing is not only allowed but used by people. Especially in Haskell (or OCaml for that matter) where you can just use x' for a slightly modified version of x. I don't know. Maybe I get used to it one day.
I'm not that bothered what he did in his youth, but let's say, for argument, that I am:

Where is your evidence that he "really did" this?

Before you say "Did you read the article I linked to!" - yes, I did.
Isn't the real problem here that German banks own a lot of Euro denominated debt issued by the broke EU states like Greece, Italy, etc... if all the not broke states leave that leaves Germany alone to either bail out the broke states or bail out their banks when the debt goes bad? Britain though they are part of the EU has never been a part of the Euro.
"By "forgetfulness", I also mean the stubborn clinging to the old ways, because reasons. The necessary dying of the old guard, a la Kuhn's Structure of Scientific Revolutions."

Well, that's true. I think we might need to distinguish between what ideas are lost or are not what a new group is clinging to. Often comes with new people, young or old, coming into an organization. Maybe also distinguish between "current thoughts on what's best method" vs "known methods along with their benefits and problems."

"Maybe what I'm advocating is the Socratic Method. Versus telling people "just because"."

Well, there's how we publish the knowledge and how they learn it. I'm for traditional reporting with empirical focus, less silos, easier search, and easier distribution. Far as learning, Socratic Method is one among many methods that might have potential. It's too big a topic for me outside brief work I did on using various parts of brain simultaneously to increase recall, incremental problem solving of increasing complexity, matching training to realistic scenarios, and side-projects that are open-ended to match fun & curiosity. Don't think I did anything else in research on the topic. Well, a M.C. test generator and some expert system prototypes but they were crap honestly. :)
"Democracy is nothing more than mob rule, where 51% of the people may take away the rights of the other 49%." -- Thomas Jefferson

"Alexander Hamilton believed in America but not in Americans when he said in a June 1788 speech defending the ratification of the U.S. Constitution: 'That a pure democracy if it were practicable would be the most perfect government. Experience has proved that no position is more false than this. The ancient democracies in which the people themselves deliberated never possessed one good feature of government. Their very character was tyranny; their figure, deformity.'"
Constitutional crisis ahoy
"...they don't replace them entirely..."

Tell that to the thousands of people who have lost their jobs on assembly floors.

In fact, BI is a hedge against the future where there simply won't be enough for all of us to do.

http://www.theatlantic.com/magazine/archive/2015/07/world-wi...

http://www.wired.com/brandlab/2015/04/rise-machines-future-l...

https://www.weforum.org/agenda/2016/01/what-happens-when-rob...

...and so on.
In jai, did you write the parser yourself or used a parser generator like yacc? In my toy languages I find writing my own parser more fun and not hard. I find it harder to make yacc do things such as indentation significance.
The cost of another country leaving may indeed be higher, but the EU simply can't afford to punish the UK, even as a deterrent. They're all talk and no trousers on that front.

I'm not sure what you mean by "special benefits". Yes, the UK negotiated the rebate and certain special conditions of membership, but fundamentally it was a net contributor to the EU.

I think the current EU is toast either way, so the argument of what deal the UK negotiates with it may end up being moot.
Compressing the data is fine but more important is indexing it and the metadata for lookup, if you want to do live analysis. If you're just storing for compliance, then systems like glacier are ideal because you rarely need to retrieve.
There might be alternatives. For example, requiring large and excessive liability insurance. The insurance companies then have a huge incentive to make sure buildings are safe and last long term. But the laws about what building materials you can use aren't set in stone, and different companies can have different rules.
> what I wrote can be easily corroborated by any history book

But it's up to you to properly cite. And what you wrote was vague.

You didn't even mention which was your country, though I expect this was intentional: this is not how you reply with substance.
And is the behavior exactly the same as it would be if I omitted "let" on the second code line?
If the answer is yes, isn't it just mutability with different syntax then?

I would guess shadowing wouldn't affect values shared with a different thread, because it's technically a new value, but in single-thread use it would be equivalent to assignment.
HN Guidelines:

> If the original title begins with a number or number + gratuitous adjective, we'd appreciate it if you'd crop it. E.g. translate "10 Ways To Do X" to "How To Do X," and "14 Amazing Ys" to "Ys." Exception: when the number is meaningful, e.g. "The 5 Platonic Solids."
Yeah I guess that works as well.

I wonder though how hard it would be to prove basic equalities (e.g. e^(x + y) = e^x * e^y)... Probably not too hard since that's how you define the complex exponential function.
Hand-rolling a lexer seems pretty trivial to me. The code writes itself. A generator is a tool whose limitations you have to work around, be it for a lexer or a parser.
Mac CLI – OS X command line tools for developers
This seems terribly hypocritical - someone very mindful of GitHub stars going out of his way to remove others' attribution!