skysight-inc/HackerNews huggingface dataset:
> Each chapter builds on the last by adding something new to the same project

I bet this is what you are looking for:

https://www.amazon.com/Compiler-Construction-Using-Java-Java...

This book taught me how to write a compiler.

Here is its description from its website:

* Comprehensive treatment of compiler construction.

* JavaCC and Yacc coverage optional.

* Entire book is Java oriented.

* Powerful software package available to students that tests and evaluates their compilers.

* Fully defines many projects so students can learn how to put the theory into practice.

* Includes supplements on theory so that the book can be used in a course that combines compiler construction with formal languages, automata theory, and computability theory.

If you already know C or C++ or Java then this book is for you. In my opinion, you can learn many computer science concepts and be able to apply to your field. The book will teach you how to write a grammar then write a parser from it then eventually be able to improve it as you go on reading and doing the exercises. It was a great moment when I feel comfortable writing recursive functions since grammars are composed of recursive functions. You'll also learn a nice way on how you can get your compiler to generate assembly code. Another feature of the book is the chapter on Finite Automata wherein you'll learn how to convert between regular expressions, regular grammars and finite automata and eventually write your own 'grep' which was for me is a mind-blowing experience. There are lots of other stuffs in this book that you could learn. Thank you Anthony J. Dos Reis for writing great books for people like me.
Multiple announcements that I didn't agree with, most of them, in my opinion, focused on them setting a political orthodoxy for the site.

And I requested an account deletion, and from what I can tell I wasn't the only one.
well sadly Listen/Notify on PG does not work with streaming replication.
That would make it really really great tough.
I dislike OOP. It's my least favorite paradigm. The "objects-first" approach to teaching programming was such a bad idea.

All that said, there is a place for OOP. And while a world without OOP would be a better place than a world without FP (if we had to choose), I think you'll be waiting a looong time for that world to materialize.
There isn't really anything big yet like that; I'd love to see one!
What questions to ask the next time you interview for a tech job
"you need to know this shit" is something I say often to developers displaying complete ignorance of SQL. I think if you're an embedded systems programmer or an games developer focusing on the rendering pipeline or something then sure be blissfully ignorant of SQL. If you are a web application developer, where 99.999% of web applications use a backing RDBMS and a huge part of the heavy lifting and most likely bottlenecks and nearly all performance tuning is in the RDBMS - then you need to know this shit.
> I always search on DuckDuckGo first and then fall back to Google

Why? Why the extra steps? What is the success rate on google? For what I search for for example (which is a wide variety of things) I have great success and really don't have a need to get the type of results that I have gotten from ddg. So my question is if 'success rate with ddg searches is noticeably lower' why do you continue to do that?
Yup, I bought my first 3d gaming setup in the early 90s. The sega master system. It took 20 years just to get back there, maybe we can at least get another good port of Zaxxon.
Negative. You can very easily go back to my posts and see where I explicitly say $ + other and mention the H1-Bs benefiting by being here even if they don't qualify for SS. Trying to frame what I said that way is just disingenuous.

Parents absolutely pay into the system when they have children even if they get a federal tax credit. The extra food they buy is more sales tax, etc. just think about it.
I just replied above with a similar comment. I also learn better by following a practical example like the "guessing_game" tutorial.

Didn't read the rest of the book, so I don't know if there are more tutorials, but I learn better with that because it clearly shows what one can do with the language.
The query VACUUM is being tested via SQL. Now if you are referring to autovacuum, there are no tests directly designed with this purpose in mind. autovacuum is running in any instance running the regression tests as it is always enabled by default.
I'm pretty sure I'm not alone in having a bias against the name "CockroachDB" and being okay with people who don't have their shirt tucked in. I get the comparison you're making, but "untucked shirt" connotes "casual" to me. Roaches connote "health hazard." I'm okay with eating at casual restaurants, but not casual restaurants with roaches.

If you have to explain "we want you to think about survivability, not health violations," then maybe the problem isn't your untucked shirt--it's the big grease stain covering its front. You can insist that's just part of your style all you want, but it's going to be a hard sell.
But apart from reversing the resulting slice, how do you sort according to ">"? The current approach is more general and might be used with custom comparators. For example, it might be possible to implement the sort you have in mind with it.
Yes, I meant both :sweat_smile:
I don't think it would be "much more effective" than trying to trick self-driving cars. Humans are (still, much) better at reasoning their way through ambiguous sensory input based on their abstract understanding of the world than AIs are.

While an AI might specifically already know that a given intersection is supposed to be controlled, there are large numbers of driving situations in which memory (or maps) aren't very useful in dealing with.

When it comes to self-driving cars, probably the way around attacks on signs or other static road features is just to fail safe even in situations in which you're mis-directed by road features (that is, you drive cautiously enough that even if you don't understand the road situation, you can find a way to stop without hurting anyone). But that's not a general AI solution, and may not even be a general self-driving car solution.
Facebook as a transitional object
At 23 you do not usually get a tech job for what you can do right now but for what you love and will probably still love 10-20 years down the line. The point is: find yourself and a job will find you as a consequence, because your passion will make you stand out and fill the eyes of the hiring people.
I didn't expect a full-blown rehash of my parenthetical. I wanted to point out that "people who use Go today" is one of two audiences who might be interested in announcements of changes.
Comments moved to https://news.ycombinator.com/item?id=13663629.
If global means everyone, and I think that's what it means here, then someone has to comply to someone else's worldview. To have a true global community the people who don't want a global community have to be part of it just like everyone else. If people can opt out of the global community and build their own insular communities which they determine the fate of then it's not a global community, it's just a community. A global community that you can opt out of is a solecism.
I've used plenty of products past the use by date (including milk). In my experience, the use by date is generally a pretty conservative estimate when it comes to noticeable degradation in quality.
My book "Learning Swift" does this.

Swift 2 version: http://shop.oreilly.com/product/0636920045946.do

Swift 3 version: http://shop.oreilly.com/product/0636920053989.do

We build a note-taking app for iOS, macOS, and watchOS.
Please, go on. I see little evidence of this.
Perhaps you have to have already accepted that as fact, and then seen the exhibit which makes it even more real.
I specifically said 'perception' of basic needs ;) I'm not talking Maslow's hierarchy here...society's perception of a basic need is to own a modest house, but that puts most people into debt for life. Well that's how I see it at least.
> Copying over my comment from the other thread

Please don't do that. We merge duplicate threads (https://news.ycombinator.com/item?id=13663737) and now we have duplicate subthreads.
> I'm just amazed at the lack of significant opposition to this

I'm amazed at all the many ways people will give up their rights, and yet folks continue to advocate for their rights to be taken away.

> Here on HN where one might expect it to be most opposed, we're merely discussing how to mitigate the effects (you can't, don't go - or be prepared to be turned around).

I can't change the law, but I can change my behaviour.

> I wouldn't pay for my own travel to the USA (while I've been before, and enjoyed my trips, etc.) because I'm not an idiot - and handing over a password is idiotic - and I can't really afford a wasted trip. Sure, sunk cost, whatever - the cost/risk isn't worth it, at least for now until it's shown that they rarely do it, and really it's only x,y,z countries from where I do not hail.

a) they rarely do it (roughly 4,500 times last year, IIRC)

b) any country might do it, and many do; this is not a U.S.-only thing
Very similar to the Australia / New Zealand standard too - http://www.foodstandards.gov.au/consumer/labelling/dates/Pag...
Most people can make small edits to an Excel spreadsheet. Most people can also glean, from some analysis, how the spreadsheet works. Communicability is Excel's advantage over R.
That’s awesome! ML to some extent, and DL to a large extent are still not considered mainstream enough by many. The big players (Google, Facebook, Baidu) seem to recognize this and invest appropriately, but the others not so much yet. That’s hopefully a sign of a burgeoning market!

Good luck with your Udacity class! If you want to play around, take a look at our guide for Neural Style Transfer: http://docs.floydhub.com/guides/style_transfer/
Opportunities are not categorically good things. I, for one, want laws that make it harder to sell my vote or my kidney.
Thanks!
I would absolutely love a single webpage version, that would be even better
I've found that learning about food helps somewhat. When you learn that, for example, your favorite candy bar's filling is essentially whipped vegetable oil and sugar, it's a lot easier to pass on it.
I'm not downplaying VR film at all. I just think it is (will be) its own thing. In fact, it will be a new type of theatrical expression in its own right. Somewhat more akin to theatre, street theatre and probably interactive. It will not supplant film at all, it's a different thing. Camera placement and lens choice is one of THE tools director has at his disposal. For example, well at least to the one school of film (to which I belong to), when you direct a scene, one of the first question you ask is whose scene is it and depending on that you decide on the placement of the camera, height, lens, movement. You can then, due to conflict/drama, in the same scene change the fulcrum point to tip the scene to be someone else's and change the camera angle and lens... all in the same scene. This is one of the examples where, due to directing, camera placement with lens plays a significant and key role in storytelling. With VR, in described manner, you lose that. However, you have other things at your disposal. So, you see, it's not really a film, it's something else. Which is exciting! We're still a long way from there though.
Matt Mitchell Is Arming Underserved Communities with Anti-Surveillance Tools
Cockroach Labs employee here. We provide serializable consistency for the whole keyspace. It's just that it's easier when you stay in one Raft ensemble as less can go wrong.
> If we're not willing to accept that stance than we're forcing people into a global community that matches our vision for the future, not theirs.

I would posit that presenting globalisation as a choice forced on unsuspecting victims is itself cynical. You of all people should know - your a tech guy. You are aware of how technology removes economic, cultural, lingual, even physical walls. There's no going back from globalisation. Accept it and go on with your life.
I've 4x GTX 690s 3x dedicated to GFX, 1 to physics. 3 to VFX. I'm seen a number of GSODs with bugcheck VIDEO_MEMORY_MANAGEMENT_INTERAL. Always happens when I've 1 monitor streaming news, primary monitor playing Civ VI.
You are right, and just about every ORM product gives you some way to get at raw database functions. It would be great, however, if they also offered a small RDBMS-agnostic library of functionality that would generate the correct database functions.
The reason I like Lisp is because programming in it teaches you how to organize your code well using the most basic and important design pattern: the function.
I do get a little sad every time I listen to a James Taylor song, and hear the way he can make one guitar sound like six. It doesn't stop me from plucking along on my own.

I've never felt that this article is condescending; in fact, I'd go so far as to say it is, at its heart, aspirational. Look at how great we can be.
Thanks for the reply! Just to check: At that link I see a "To see more from KSEE24 News on Facebook, log in or create an account." dialog which has a "Not Now" link that mostly collapses the dialog.

Do you see the same thing or something else?
What about 2-factor? Should i just disable it?
Ask HN: How to parse facts given two stories with opposing sentiments
Consider the following two stories about Project Loon based on the same announcement:

https://www.bloomberg.com/news/articles/2017-02-16/alphabet-scraps-plan-to-blanket-globe-with-internet-balloons -> projects a negative tone of Project Loon's cost cutting.

http://www.cnbc.com/2017/02/16/google-x-boasts-big-improvement-in-project-loon.html -> projects a positive change in Project Loon.

On reading the first story, I more or less felt that Project Loon is on the way to a cut, until I read the second version. Typically, what should one focus on while reading an article so as to stay away from writer's opinion?
> arcane toxic names

Oh come on. It's not "arcane" and I don't see how "toxic" has anything to do with the names of these patterns.

Just an inflammatory comment.
You wouldn't reduce the clock drift limit unless you had more accurate clocks however. If all of your servers are on bare metal and synced to a high resolution atomic or GPS clock then you can probably reduce it from 250ms to 10ms or less similar to Googles Spanner setup.
I think you're looking for an argument, but I'm not. It's always been possible for a country to turn a visitor away (talk to folks who've been to Israel and try to travel to an Arab country …), and that does have consequences which one must be prepared for.

I'm certainly not going to claim that 'all your password are belong to us!' is a good or desirable policy, but I am going to claim that anyone who travels between countries must be prepared to deal with the local regime, no matter how ill-conceived its rules may be.
We don't ban accounts based on which particular ideology they espouse, we've banned accounts on both sides, and we comment publicly when we do so.
Somewhere around 12-18 months ago, I tried to switch, and it was awful. I had to continuously go back to Google.

2 months ago, I tried again, and since then, I've only had to go back to Google maybe 5% of the time. So, either DDG has really stepped it up recently, or Google has gotten really bad.

( I'm an engineer and mostly doing tech research, and this opinion is only regarding standard search. For image searches or specific-domain searches, I still use Google.)
Hm. Wonder how it could've leaked. I have to imagine that this incident impacts the likelihood of you sharing something like this with the YC network in the future. I would support rooting this person out and giving a stern warning.

Other possibilities, besides someone being untrustworthy, is that the journalist was bluffing. Or perhaps someone's account was hacked.
"You've noticed"? It's printed on every pack of UHT milk I've seen: 'After opening, refrigerate and use within x days'.

UHT isn't some magic process that allows milk to sit in an open container for months.
Document Validation in MongoDB by Example
I'm writing a VM as well, albeit a very simple one. I started sometime last fall and have never had a problematic upgrade.

I also got a new computer during that period and rustup has made setup really nice.
Are there any Android distributions that can boot to a different environment depending on what code is entered at boot time? And said partitions are hidden from each other (i.e. once booted, the other partition is impossible to detect)? This was described in Cory Doctorow's "Little Brother" novel, and on the face of it seems like a reasonable proposition - any major flaws in such a plan?
Ask HN: Anyone need a p2p proxy with ability to define tasks completed by a human?
The human portion would work similar to amazon mechanical turk or crowdflower (ex: fill out captcha). The residential proxy/p2p proxy would work similar to luminati. Anyone have a use case for this?
You can implement design patterns with functions, but functions themselves are not a design pattern.
Organic Material Discovered on Dwarf Planet Ceres Hints at Potential for Life
Uh? It is wise to understand the water and its numbers imho, after that we wear whatever glasses and go on with life.
It is called the chaperon system. It puts up walls that you can see inside the VR system.

Then, you just make sure the space you are in is empty.

Aka, don't be dumb. Just put the VR system in an open space, and you'll be fine.
Well I got annoyed a little bit further down when they started to coalesce events arbitrarily, and stopped reading.... I probably don't understand why it's meaningful or even valid to do that though...

On the other hand, I spent a rather sad year reading statistics because I thought it was interesting, and got so bored that I got a job as a developer instead, so I am rather confident that it's not for me to truly understand...
>> Alot of 18yr olds+ celebrate independence by moving out, taking a crappy local job at a fast food or retail

You may not know but as a foreign student you are not allowed to work outside campus. Those jobs are also limited and hard to get.
What about wine? That should have a best after?
Time to Slow Down – Calm Music for Hectic Times
Alan Smithee
> I was wondering if the previous line that built the query variable downloaded all 15 bajillion rows in my Customers table of people whose names started with 'A' so it could get rows 21 through 30.

That would be a silly thing to do. LINQ is made to be lazy. At worst it would pull the first thirty rows, twenty in Skip and ten in Take.
Disney if friggin' weird. No thanks.
Off topic, but what is wrong with this site? The top bar is moving around and as a reader, I cannot use the top of the browser as a line to read. It is extremely frustrating.
i enjoyed the conviction.
Well, I meant taking it in a more expected direction, not actually dumber. It's paradoxical that startup websites are so conservative that they must all look alike, but there ya go.

Go individual on your personal site, but remember a professional/CV site is for the benefit of the recipient so they'll buy.

Edit: It just occurred to me that this is the same idea as the sales/marketing funnel.
I can't answer for who you replied to, but I use DDG because I support what they are trying to do. I will often support something even if it is a bit more inconvenient if I feel like they support my moral and ethical standards.
I can't see a reason why LINQ to DB Execution plan couldn't exist. If it's wrong, please tell us why.
They're example driven, but most aren't as large as the Guessing Game is for the most part; the I/O project chapter is, and we'll probably have one more near the end of the book as well.
Ian McHarg, Landscape Architecture and Environmentalism [pdf]
I think it's safe to assume that they investigated every other angle as far as reducing the tax burden goes and this is the best they came up with (source: fiduciary responsibility if nothing else). Unless you have some inside info or reporting that says otherwise.
Performance doesn't necessarily kill a product or service. And since they were too busy figuring out all of the odds and end of X database, the UX went to shit because they didn't learn about some quirk of Chrome, Firefox, Safari or something on mobile and suddenly a deployment breaks stuff for one of the browsers/platforms.

If you can't afford a DBA when DB performance is critical to your application, you probably don't have good QA for all of those platforms either. But suddenly your developer is supposed to stretch over all three areas?

When people talk about hilariously long laundry lists of technical requirements, it's an aggregation of demands like these over time that has inflated those requirements.
> Maybe I am lacking some context or some value system that the anti-globalist have and which might have its merits, and if so I would love to hear the argument, but to me the idea of "this person is more valuable or interesting to me because it was born my neighbor than anyone born a hundred miles away" seems to lack some ethical foundation.

Why? People care more about what happens around them. I care more about housing issues in the Bay Area than I do the same problem in New York. I care more about Oakland crime rates than Chicago crime rates. People care more about things that directly impact them and those close to them. If people see their hometowns and communities falling apart when the main industry moves overseas, and only receive second-order benefits like slightly reduced price of good a few years later, what incentive do they have to support globalism?
So you're saying as someone from a "good" European country (Nordic) I basically have to not worry about any of this?
Interesting but yet unclear how much of a dent this really puts against Google's monopoly. I'm not even sure if mobile ads is sustainble, just as the desktop's invasion of AdBlock, I feel like it's not a solid revenue model going forward.

http://www.forbes.com/sites/petercohan/2016/11/25/does-faceb...

It also seems like they don't make it clear where these revenues are coming from.

Apart from large brands, I wonder how effective FB ad campaigns are. How do you measure ROI and attribute it to FB ad campaigns?

I feel like this is Nielsen ratings all over again on a dwindling platform. Inaccessible to rest but large brands with money to splash around. Google Adwords seem more comprehensive and diversified. $4.5 USD per FB user is ridiculous in my opinion. FB users aren't looking at Ads unless they are forced to. Google users want highly relevant ads. This discrepancy explains the CTR between the two...yet FB is considered right up there with Google...it just doesn't make sense.