skysight-inc/HackerNews huggingface dataset:
If I were funding a science expedition, I think I would prefer that people use an off-the-shelf item, even if it's a little bit more, than spending time hacking something together. In grad school, a labmate of mine pointed out that supporting a junior researcher costs ~$200/day (with tuition, stipend, and benefits), so if spending $200 on an experiment or piece of equipment would save a day of work, it's usually worth it. I'm not saying it's not useful to have people who can do the hacking, but you want them to spend their time hacking things that can only be hacked.
European Free Trade Association
Interesting, I didn't know about @safe. I need to study D more!

At the moment I'm pretty happy with OCaml and learning Rust, but D definitely has me interested (especially when the no-GC stdlib completes).
Summary of parsing with derivatives (Brzozowski 1964) for the unfamiliar (like me):

For example, with respect to the character f, the derivative
of the language for which [[L]] = {foo, frak, bar} is
Df (L) = {oo, rak}. Because foo and frak start with the
character f and bar does not, we keep only foo and frak
and then remove their initial characters, leaving oo and rak.

We repeat this process with each character in the input
until it is exhausted. If, after every derivative has been performed,
the resulting set of words contains the empty word,
then there is some word in the original language consisting
of exactly the input characters, and the language accepts
the input. All f this processing takes place at parse time, so
there is no parser-generation phase.

The specific algorithm they build off (Might 2011) has extended this to memoize repeated derivations of the same arguments and to allow for lazy evaluation in the case of recursion.

But this algorithm was implemented in a mind-bendingly-slow way:

For example, they report
that a 31-line Python file took three minutes to parse!

They prove that the worst case is actually cubic time and provide a concise cubic-time implementation in Racket: https://bitbucket.org/ucombinator/derp-3

Their implementation is orders of magnitude faster of prior PWD implementations, but still orders of magnitude slower than a Bison parser of the same grammar, which they attribute to language choice (C vs Racket).

Please correct me if I'm wrong about any of this! Summarizing research like this helps me understand it, but that doesn't mean I actually understand it.
Roman concrete holds up against the erosive properties of seawater better than the materials used today. Scientists discovered it's because they used volcanic ash to make their concrete.

http://newscenter.lbl.gov/2013/06/04/roman-concrete/
Its not the immigration its the illegal pay and lack of benefits that they are given. The construction industry is based on underpaying migrants. If you have been rehabing homes then you certainly took advantage of this too.

Look in the mirror.
It depends on the content type. It would make sense for reddit or hacker news. Beside it's only rarely truly infinite.
There's more to wellbeing than (relatively) short-term economic wellbeing.
EFTA Court in Luxembourg
Do you have any other resources to point me toward describing how you would set something like this up in a cloud environment? Are there other tools better suited for cloud environments?
I think that's exactly the other way around. While my desktop has a lot of memory for the large pages, my mobile device has only about 2 gb. Browsing tumblr for example kills my phone's browser if I read more than 10 "pages".

I am also more likely to open tabs on my desktop than on my phone because it's more complicated to switch to the newly opened tab in Chrome.
Awesome Mac OS X CLI: Curated list of commands and tools specific to OS X
I don't understand why people use FSMs or parser tools.

I wrote the parser for my script language, jerboa ( https://github.com/FeepingCreature/jerboa ) over a few days; it's (I thought) entirely standard recursive descent single-pass. This is how I've always written parsers. Where would you even use FSMs for parsers?
They're in the wrong time zone to compete...
Banks begin moving some operations out of Britain
While in general I agree with you.

I'd just like to mention one counter argument, which the rigidity of the code in some cases will help to protect against developers from using cheaper materials, or new materials that on paper seem better, but in reality may not be better.

An example I've heard of but am having trouble searching for the exact name, is in condo buildings here in Canada they started using a new piping material, to do the water deliver inside the units. The problem was, while I think in theory the material was better, it has the property that when it fails it fails catastrophically, due to either a manufacturing or installation defect. So instead of just having a small pinhole leak, the piping will split when compromised, and you have many thousands of dollars in damages to multiple units. Buildings with this material can no longer be insured in Canada.

So I don't know that I would really trust giving developers a wide latitude in selecting materials, even if they sound great on paper.

I don't know what the solution is, because I agree we need to be more flexible, and have a way to introduce new and better technologies, but we also have to be diligent, in ensuring that the new technologies and processes work the way we expect them to, and have the desired effects.
My point was, it's not outdated. Javascript 2016 just got new featured that oviously aren't covered. The class syntax is just a syntactic sugar and it's important to understand how it's working under the hood. JS has prototype based inheritance, which is more powerful and flexible than class based inheritance. JS is therefor different to grasp than Java and C#. There are still many coding JS and don't get it.
Brexit Contagion: Germany Fears 5 More “Leaves”
I don't think so, nor do the UK people. Good trade deals can be achieved regardless of EU membership, unless UK is can be substituted, which, I don't think, it can.
Yea, "checked" builds. They don't create any updates for these versions however.
That's fair. Originally asm.js was named capsule.js but that was taken and didn't really mean what it was. We could also call it modules but there is another very related spec out there for that as well. What would you call it instead?
The Hard Realization of Growing an Instagram Account
Paywall bypass: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...
Dolphin 5.0 Release Video
Sweden launch leading blockchain solution for Land registry
Mine is just under 200 years old--also in the eastern US. It would be pretty silly though to view my house as this incredible structure that a farmer built 200 years ago to last for the ages. The fieldstone foundation is original as are various posts and beams. But the house has been expanded, rebuilt, updated, etc. in all manner of ways since it was built.
The Beautiful Mind of Larry Page
Hi! I work on the study -- just want to affirm sub-thread clarification that this 1 year portion is a pilot to figure out logistics (not planning to answer research questions), and we hope to follow on with a 5 year study to actually answer the questions.
Linux privilege escalation and OOB memory access: exploitable from containers
The UK will obviously lose the "benefits" of EU membership, but it was a net contributor in financial terms. All else being equal, the UK could replace all EU funds spent in the UK, and have cash to spare.

In trade terms, the EU faces a prisoner's dilemma. It may be beneficial for them as a whole to play hardball with the UK, but major exporters to the UK (e.g. German car manufacturers) won't accept it. There'll be some diplomatic bravado, some tense negotiations, and the UK will be granted access to the common market.
No idea on the accuracy of this, but this article claims there's a company (http://www.neuvokascorp.com/) making basalt rebar at the same price as steel: http://cleantechnica.com/2014/11/06/neuvokas-basalt-rebar-li...
24 Hours of 3D Data Viz Hacking
Hehe, yep! x^0 isn't intuitive. Depending on how you think about it, anyway... some people feel like it is intuitive.

http://math.stackexchange.com/questions/9703/how-do-i-explai...

The thing is, there is no argument to be had, x^0 is defined to be 1, and x^1 is defined to be x. Those agree with and make consistent lots of other rules and limits, but they are choices we made just like saying 0^0=1.
Regarding the memory argument: better implementations of infinite scrolling, like Facebook, actually replace content with a single element of the same size when out of view, to decrease the DOM size. Content in and just around the viewport is still in memory.

I do agree with many of the other arguments though, especially bookmarking/history.
I'm concerned about bias in this in form of the Hawthorne effect for one group and something akin to Learned Helplessness (or self-fulfilling prophecy) for the other.

https://en.wikipedia.org/wiki/Hawthorne_effect

The Hawthorne effect can apply if they tell the group receiving the money about the expected benefits of basic income. They know the spotlight is on them. They're also getting special treatment. They might work more and do better in this situation than if basic income was the norm similar to how welfare is the norm but doesn't get people out of poverty. Whereas, it's the opposite if the control group is told about the scheme: people in an economic rut with likely negative outlook that just got slighted on basic income and will be watched to see if they will fail. They'll likely fail either by default or barely trying although some might be motivated to work harder to stick it to observers.

If Y Combinator is reading this, I suggest countering it with careful presentation to each party. Especially to the control group. Tell them they're simply being observed as part of a study on poverty in Oakland and where people end up over time. Absolutely no talk of basic income or another group.

For benefiting group, countering Hawthorne effect is less my expertise. Old trick of making both groups feel like they're getting special treatment or advantage can't apply here. Perhaps water down the effect by describing it as one of a series of experiments... with descriptions of various approaches... to help lift people out of poverty along with theory of each. Mention positive, neutral, and negative outcomes that are common on existing welfare. Mention the potential the new approach offers. Mention that they're selected to try it for a year with the results entirely on them but observed to inform future studies. Effect is still there but with a balanced presentation instead of overly-positive or specific push from researchers presenting it. Information overload might even drown out Hawthorne effect to make them focus on whatever is last thing said.

The control group I'm pretty sure on but other possibilities are speculation. Consider how to handle benefit group carefully. Regardless of methodology, I'm glad to see YC doing it as it might help some people regardless.
Most places won't let you rent without making 2.5 times the rent. So for 2k that's $800. In Oakland that gets you an SRO, a single room, or you can live in a box truck.

https://sfbay.craigslist.org/search/eby/apa?query=oakland&ma...
Surprised they didn't mention carbonatation and climate chance. tl;dr rising partial pressure of CO2 in the air leads to a spontaneous "reverse calcination" process, lowering the pH which leads to rebar failure. By 2050 most reinforced concrete buildings will be effected.

https://www.bostonglobe.com/ideas/2014/10/11/for-concrete-cl...

https://en.wikipedia.org/wiki/Carbonatation

http://ec.europa.eu/environment/integration/research/newsale...
Top Django Projects Started in 2016
I forgot to add: and an arrogance to think they can run people's lives better than the people themselves.
Sure,

All of the parser-generator tools are really opaque and not something that can be easily used for simple things. On the other hand, recursive descent parsers are something that can be whipped easily if you have a little project. And the problem is that a lot programmers both can't produce a recursive descent parser AND don't know when their problem domain is moving into a place where such a thing is needed.
Straw is biodegradable. It will degrade.
> Where would you use FSMs for parsers?

For the lexing (lexical analysis) stage of the parser. I know that the alternative to using a lexer (for which the tokens are specified by regular languages, thus lexed by FSMs) is to use so-called scannerless parsing (this is possible since every regular-language is context-free, thus the tokens can also be specified by the original context-free grammar). But using this alternative is usually much more painful since you usually want the grammar to have a nice property that allows linear-time parsing and a unique parse tree. LR(k), LL(k) etc. are such properties. Such properties are much more difficult to ensure for scannerless parsing.
Simple answer = quit.

If you are only working as a consultant and continue to charge him for development, yet are complaining about an endless circle of changes, not to be rude, but you are as much part of the problem as he is.

If you are unable to quit due to a contract or some other legally bound commitment, I would suggest stopping development and working to convince him to get a third party review. It could be something as simple as a communication breakdown between the two caused by frustrations from the entire situation. Having a third party give their opinion might help settle the matter out.

If you aren't in a contract, and you want to continue to work with him for some reason, you may want to get a contract drawn up that lays out a framework for development and testing. Force him to the timeline and framework.

In the end though, if he is scared to sell there is nothing you can do about it no matter what you try. Sometimes it is just better to cut your losses.
I'm on L1. Worked in Canada for 2 years. The interview was so short. As long as the company is legit and you don't have any bad records on you it's fairly straight forward. You do have to write why your knowledge is specialized though and no one else can do it. For me I wrote about the internal systems that I had a deep understanding and some I wrote. Someone else would have to train for at least an year to do the same. The lawyer sprinkled the jargon but that was the gist.
Show HN: Fierce – A Python rewrite of the classic DNS reconnaissance tool
> 1. The footer becomes unusable

Yep, so just put it in the fixed sidebar.

> 2. Performance degrades

Not really, if you've developed this the right way - which is render only items that are currently visible and derender the ones that are above the current scroll canvas.

> 3. Analytics is harder to implement

> 4. Bookmarking and the back button become problematic

I put those together, because they are relevant. Anyway Google suggest how to remove this [1] and even presents a demo [2]

1 : https://webmasters.googleblog.com/2014/02/infinite-scroll-se...
2 : http://scrollsample.appspot.com

> 5. People may suffer from choice paralysis

As other people here suggested, this depends on the content. If you work in e-commerce there is quite a habit people to scroll infinitely with a huge amount of products ( disclaimer - I'm the sole developer of `www.bagaholic.me` - bags price comparison website ).

> 6. The scrollbar becomes unusable and untrustworthy

Not a significant reason at all. Twitter, Pinterest, Facebook proved that.

> 7. It’s generally hard to use

I think stating that, without some stats is kinda "opinionated". Again based on the content a valid context with fixed sidebar, header is a must.
I look forward to the day when the average undergrad graduating with a computer science degree will be able to write a context-free-language parser from scratch in a few days.

Does recursive-descent count? If so, I've come across material on the Internet suggesting that a simple arithmetic expression parser/evaluator is an assignment in some first and second-year CS courses, often covered at the same time as trees and tree-traversal.

Of course, being taught and doing an assignment on something is not quite the same as really knowing, as according to some sources many of those graduates can barely manage FizzBuzz.

On the other hand, recursive descent seems to be one of those techniques that everyone eventually manages to reinvent even if they've never been taught about it, as long as they're aware of recursion.
I'm sure the EU wants to make the UK pay, but it can't afford to.

The EU is too reliant on exports to the UK to play hardball.

That's the calculation the British public made. The UK pays more in than it gets out. It imports more from the EU than it exports to it.

The EU needs the UK more than the UK needs the EU.

Just look at the immediate aftermath in the markets. FTSE 100 closed 3.15% down, whereas almost all EU indices saw losses 2-3x as much.
It's yet to be determined what best practices will be, but I have a hunch SGX will be used along the following lines:

1) load an encrypted symmetric key into an enclave

2) decrypt the symmetric key in the enclave

3) create a private key in the enclave, and encrypt it with the symmetric key inside the enclave. Give the encrypted data back to the user for storage.

4) All operations using the private key (sign, decrypt) are marshaled to the SGX enclave. You'll give the enclave the encrypted private key and the operation to be performed, and the enclave will return the result. The private key is decrypted by the symmetric key inside the enclave, and unloaded from the enclave memory as soon as the operation is completed.

There's obviously some churn copying the encypted private key to the enclave each time, but the private key is typically used for very few operations until an ephemeral symmetric key is negotiated. If you're super-paranoid the ephemeral key can marshal its operations to the enclave, but I think most people will agree that the only thing you can realistically protect without sacrificing performance is the private key.
No, this ignores the competitive advantage being 10% cheaper brings. Being cheaper than your competitor expands your market.
Exactly. Living in a financial capital is shit if you're not in finance too. Bring on a more diverse array of industries with less parasitic behavior.
But now reunifications means EU, which means funding; while the status quo is... Uncertain.

There's a reason Remain won in Northern Ireland.
> not be smart enough to work for Google and earn 200000$ a year

Ugh. Equating market value and intelligence is a cancer in tech circles. I've worked in government. I've worked in private sector. My last job at a highly valued SV firm had me in close proximity to people in government. The private sector guys weren't any smarter, but they sure thought they were.

Some people knowingly go into the government sector and take pay cuts because they believe in civil service.
Actually, I am an engineer, and I myself try to keep up with new technologies. But that doesn't mean I will use them just because they are new - in my mind that is additional risk. I have used my share of technologies which were made obsolete anyway, and it's no fun converting your codebase. But I guess the cool junior engineer who went to another company and left her old company taking care of her project using not-new-anymore / obsolete technology, doesn't care much about that. But I guess if she can't articulate why her newest technology stack is better, we should just switch?</rant>
You've identified a fantastic application of AI, when the technology gets there. A machine can read all the codes with better retention and would have the patience to make these optimizations. A human in the loop could offload some of the judgement-intensive aspects.

I wonder what's the MVP?
Ha! When I was getting my L1, there was someone who got an 01 because they had more than 2 million hits on YouTube and they wanted to pursue a career in Hollywood as a rapper.
More specific to the license violations is this issue on httprouter:

https://github.com/julienschmidt/httprouter/issues/148
it is useful for tumblr 'at times'.
>We can always increase the level of education then have more research scientists and engineers

Flat wrong, unless you convince the owners of capital that that's the most prudent investment.

It's already extremely difficult to get hired as a research scientist, even with a big-name PhD.
> Gibraltar may want to move into Spain

Doesn't Spain already have a problem with part of it (Catalans) trying to leave? I also seem to remember some thoughts of kicking them out due to being in the same boat as Greece. I haven't really kept up on this news, just curious.
Ask HN: I work at an a16z startup – should I resign?
After the recent article[1] published by a16z, it is clear that they are openly hostile to me as an employee. They are a major investor in the company that I work for. Therefore, should I start looking for another job?

[1]: https://a16z.com/2016/06/23/options-timing/
What wolfgke said. I (personally) use FSMs as my swiss-army chainsaw a lot. I realize that this isn't common practice, but I came from silicon, so what are ya gonna do?
To combat #1 my team advocates for a "semi-infinite" scroll whenever clients request an infinite scroll. A screen will implement an infinite scroll for 2-3 pages of data, then we turn off infinite scroll and display a "load more" button so the footer shows.
Wouldn't the argument be that people trying to get by there would be among those most likely to be forced to make poor long-term decisions due to short-term cash crunches?

If rent's high, you have less flexibility to make lifestyle changes since you need to work more hours / jobs just to pay rent (making it hard to take classes), invest in things which will save money over the long term, or do things like move closer to work/school to save time.
I find it oddly comforting that the most sophisticated dating techniques are no better than what amounts to academic consensus.
>to my knowledge concrete cancer is not related with steel corrosion but with a long term chemical reaction between some aggregates and cement.

It's called carbonatation, it reduces the concrete's pH which leads to rebar failure, and it's only going to get worse with climate change.

https://en.wikipedia.org/wiki/Carbonatation
Rogue Wave Software
Dynamic phishing with Python
Wahtever you do, don't fix bugs after you've introduced them. Do you want to be stuck in the past?
As both the partial pressure of CO2 in the air and the concrete temperature rises due to climate change, the depth of carbonatation (the process that lowers pH and initiates rebar corrosion) is expected to increase by 45% by 2100 under the A1FI "business as usual" emission scenario. So expect to hear more about this problem in the future.

http://www.cipremier.com/e107_files/downloads/Papers/100/37/...
Does everyone have the capacity to become a research scientist or engineer with enough training? I think we'll have to find some creative ways to use low-skilled labor.
and oil dropped in price on the Brexit vote giving some of my fellow North Dakotans a bit of a poor view on the vote as oil was finally back to the "good" range.

[edit: too soon]
Chances are you learned something about gaming AND ended up on a terrorism watch list.
"I think that there’s a culture at YC that just making money isn’t that interesting."

That's a tad disingenuous. I'm sure "anymore" might clarify it, but it's easy to say when you are rich.
Must-Read for Slack – Product Hunt
Except no, lexing is trivial; it is by far the easiest part of writing a compiler. You don't need anything fancy, you just type in the code.