skysight-inc/HackerNews huggingface dataset:
I could learn on my own, but I had a god awful time in classes that demanded attendance or primarily used in-class material. I just don't function in that environment. Give me a textbook, maybe a video and some problems to work on.
Space is made out of space
Apparently there are tree pruning machines with a similar design:
https://youtu.be/CpdZyJ0Y1jE?t=472
The article also shows up that there is snake oil in the actors, stm and many other concepts to make concurrency easy and fun. Often you fall back on doing it all in 1 thread because you get better performance that way but then what is the poll of multicore?

Lmax disruptor is different from the others because it is based on engineering (what works on actual hardware) opposed to 'science' (how you imagine it ought to work)
I was generous in that I ignored the worse performing data-points according to the heuristic I picked. I wrote that the projected REM ridership doesn't look outrageous, just optimistic, and suggested that placing Montreal at the 80% instead of the 90% percentile may be more realistic. Did you even read the text?

Regarding your unrelated attack, how is it possibly flawed to ask for a transit project to bring a certain number of riders relative to its cost, no matter the mode? This is a standard way to get an idea of the effectiveness of a transit project.

These are back of the envelope calculations that are pretty fuzzy (this is not programming or math, folks), but they are incredibly useful and very easily reveal fishy projects. I wish the public would be more vigilant, even doing very simple calculations like this is helpful -- then maybe in North America we could waste less money on stupid prestige projects, and spend more money on actually building useful transit.

I find your suggestion that I should pull my article extremely unhelpful. We here in Montreal are currently being duped by a semi-private entity to waste a shit-ton of public money on a deeply flawed transit project, while useful projects sit waiting. I want to write about that because I think people should understand how its flawed. If you don't give a fuck about Montreal or Quebec, fine. But don't try to shut me up based on nitpicks that miss the point. If you want to tear down a bunch of bullshit, maybe do something useful and go write about the REM project yourself.
> I love open source and open protocols as much as anyone on HN, but honestly, secretly, I love the tied-down nature of iMessage because that keeps it (mostly) free from spam and abuse.

Spam on IM? I've honestly only seen this on skype. Is this actually an issue on other networks/countries?
Arent subselects better performing than comparable joins and aggregates when the query optimizer screws up? I remember reading an HN post not too long ago.
If a method has preconditions, say X cannot be null, Y must be positive, and X > Y, you could test this in a unit test. But honestly make it the top 3 lines of the method with Asserts. Living with the code is going to be generally better than living off in some test. You can read it and see it very easily.
It's not only about Agile, but incremental development is always detrimental especially for complex projects

I really have to dispute that.

First, it's not really clear what you mean by "detrimental" - is that to software quality, or development schedule, or suitability? Or all of them, or others? Agile is very clear about the trade-offs - working products being more important than documentation for example, or responding to change over following plans.

Second, I don't think it's true. I've directly observed, in multiple organisations, that agile development is perfectly capable of delivering good systems on-budget and on-schedule. If anything, it's especially good for complex systems, which are those most likely to require flexibility and have hidden requirements.

I also dispute the idea that "ghetto Scrum" is invalid. Development processes should be tailored to the requirements of the product, organisation and team. Not every team needs epics or planning poker or scrum of scrums, and it's totally valid to take some of the ideas of scrum and apply them to your own development process without having to buy the whole thing.

I consistently see agile development hand waved away with this argument that it doesn't work because there are companies which do it badly, and it's baffling to me.
Implement Pinterest SEO Changes in Bulk
These two quotations taken from the different commentaries that were included in that short clip point sit well together, and, particularly the latter, hint at the kind of AI that were are only now beginning to see as the missing link in the success of this kind of machine.

"The strain of thinking about which leg to move next exhausted the operator"

"The interfacing of this technology with a more advanced one will bring us that much closer to the realisation of a mechanical man."

The mechanics have a surprising dexterity and finesse compared to compared to even modern machines that use hydraulics to allow humans to directly control the actuators (think JCB style backhoe digger).
Unfortunately, this is not the only one. In fact, there are so many that there is a dedicate site:

https://imagetragick.com/

It also contains several PoC.
Progressive Web Apps: How to Migrate to HTTPS
Probably many unemployed will start farming to earn a living, if they have access to land. That's what's left when all the jobs are gone - the earth will hire you to farm it.

Otherwise, unemployed people would have to depend upon state welfare, and that is unreliable. We'll see lots of innovation in the field of self sustainable living.
> "let's exchange numbers/Facebook and get a coffee sometime." Or I'll see you around.

That's what people say to those they don't want to be around. If they wanted you around they'd call you.
> But anybody who edited a 100 000 lines long project, ran the unit test, and saw red lines, fixed them, ran it again and then saw green now the feeling : it's great. You are way more confident.

This is the key insight: unit tests are about feelings more than anything else. People get so defensive in unit testing threads because eliminating unit tests means eliminating their source of confidence.
It looks like it's supported from above. Otherwise very interesting.

Somewhat related, another amazing Control Design solution from the annals of history. The B29 remote controlled turret
https://www.youtube.com/watch?v=nskFayhBcy0
Only if you think your decisions purely based on fact, rather than thinking of your decisions as based on the best facts you have at the time.

Cognitive dissonance is believing that two contradictory theories are most likely true based on the evidence you have. Since the evidence of the truth of one is also evidence for the untruth of the other, it means that when evaluating the evidence for one, you discount a different set of evidence than you do when evaluating the evidence for the other.

This is never rational, and never something that you have to do. It's usually done to avoid conclusions that would force you (according to your own ethics) to give up something that you have, or not take something that you want.
About that, which is better, RSS or Atom?
Another amazing piece on exoplanets is Jonathan Corum's graphic on The New York Times: http://www.nytimes.com/interactive/science/space/keplers-tal...
Five Cities Beloved by Digital Nomads
It's a bad thing when you instead choose to pretend you made the right decision and go on to continue lying to yourself.
You probably need more data to make your decision
Unless, as I did, you mess with the JS a bit. I don't know if stripe allows you to set a minimum on their side, so perhaps there isn't anything you can do to prevent that. Anyway, enjoy my 1 cent :)
that's a really cool idea.
Heck with Python3 it won't even convert bytes to String.
I personally find CTEs much easier to read than subqueries.
Ask HN: Tabs or Spaces?
Tabs or Spaces?
I'd rather have explicit seperation of concern for UB-causing behavior than have a generic monad approach.

Perhaps the examples I've seen in Rust just don't do that, because part of the appeal of Rust is that you sort of don't have to.

That makes the cognitive load acceptable and documents all the UB prevention in source code. It's a habit arrived at from using formal instantiation protocols that were driven from external to the device being made - starting with RFC1695.
I wonder why you dismissed it as shallow - I thought the opposite. I found it very interesting that they can actually identify areas in the brain that are probably responsible for the cognitive dissonance.
I don't think it's possible to beat this: https://en.wikipedia.org/wiki/Baltasar_Graci%C3%A1n#The_Art_...
Maybe
Using Couchbase NoSQL in a NativeScript Angular 2 Mobile App
>> poll of multicore

Intended pun involving threads?
tabs, don't you watch sillicon valley?
Sorry to be pedantic, but I just have to point this out, since the mistake is made over and over again in this thread:

It's not about strongly vs weakly typed languages, but statically vs dynamically typed languages.

OCaml is statically typed. Javascript and Python are dynamically typed.

What you are talking about are benefits of statically typed languages.

For more information, please see:

http://blogs.perl.org/users/ovid/2010/08/what-to-know-before...
"Direct ways of transferring wealth between generations never fail."

Sure it does.

Plenty of heirs "lose the farm."

It's been said that the first generation builds the business, the second generation manages it, and the third generation loses it.

Maintaining and growing wealth are different than receiving and spending.
I really enjoy TDD when I get into the rhythm, but I've found that setting up the infrastructure can be a real barrier, especially for a language/framework that I've never worked in.

However, I have written code without it and I frequently find that when I do so, I very quickly regret it. Either I get confused about what precisely I'm doing or I end up having to write tests after-the-fact and it is much harder. The barrier is worth overcoming. How?

1) Find good tutorials and work through them.

A lot of people say that the best way to learn something is just to dive in and build something. I disagree, at least when that thing is new to you. I find it is much better to find a tutorial that guides you through building something the first time. It is worth asking around on twitter or on a relevant subreddit for this. Then, don't just read--actually work through at least a good chunk of it. Once you've done that you have some code you can look back on when you are looking for the basics of how to set up your tests.

2) Don't worry about mocking as much in the beginning.

The purpose of mocking is to avoid having the test take a long time to run due to the machine spending a bunch of time working on other things. Given that you are waiting on the machine when you run your test, this is actually meaningful. So, mocking intelligently can be a win if you it saves you that time. However, it also has the downsides that it can take a lot longer to write the test and it can make your test more brittle. For that reason I find it often makes sense not to mock and just write a bunch of tests that do in fact (for example) hit the database. This is especially a good idea with a new language where trying to use 7 new libraries at once (cough javascript cough cough) is going to lead to confusion.

Also note that TDD doesn't really work if the code is already written because doing fine-grained tests for code that is already written is really hard. It is better to do interface/API tests and put off unit testing until you are willing to refactor the code.

Note also that there are some tasks where your tests are going to be more like infrastructure tests and your changes won't be quite as granular as TDD doctrine dictates. That is something you have to accept when everything is coming together, because that is the realm of integration tests.

There is a tutorial I've written which aims to teach this alongside teaching configuration management, though it is my first tutorial. I would love critiques of the pedagogy and example code. https://amfarrell.com/saltstack-from-scratch/
No black bar?
How would someone be able to verify that walking past you on the street?
It depends. Both on project size and how your tests parallelize. If you can integration test an entire project in 30 seconds, that is fast enough.

Fast enough to have it in a loop for by the book TDD? No but I'm not sure by the book TDD adds any value. You mash test once before committing and if all is good you go ahead.
Would you happen to have any insight into the question that brought me to go dig through old letters in a library in the first place?

https://news.ycombinator.com/item?id=11799143
I don't remember when was the last time I've made a type related screw up. In my experience almost all bugs in my code (and there is plenty of them of course) are either something completely stupid like a typo, or some edge-cases not covered properly by code logic (which only proper testing and QA can catch). Back in the days of working in C/C++ things were different, I'd quite often forget to do some required casting. Of course, compiler would warn me about it, but it would still kill my flow, so I honestly never regretted moving to the land of dynamically typed languages. To me it significantly reduced the number of errors since you take one layer of complexity out and thus have less of dull errors you can possibly make. Not the other way around, as you imply.
"Addresses" is probably putting it too strongly. She phrases it as a "how to" problem. It would probably be better phased as a "what not to do" problem.

If you have an active indoctrination of mental bile in the home environment -- especially among society's "losers" who see everything as some other group's fault (blame it on the Mexicans, hipsters, blacks, yuppies, Jews, etc...), and the only thing countering it is some kind of vague free-range schooling, the results will more closely resemble the barbarism of previous centuries.

For every Abraham Lincoln the nineteenth century produced, it produced brigands of no account by the dozens.

Of course if you come from an enlightened family of academics, Hollywood producers, or some other group of high-minded winners with a magnanimous bent, then everything she writes sounds just fine.
First, determine whether you really want to stay for the PhD program. You may have made the wrong choice, but you need to decide that for certain. You say you are worried about getting a decent job- personally I find with a PhD in quantitative stuff, the PhD gives you a small additional set of jobs you can do (mostly academic) but good employers in tech will also hire you to just code/analyze data.

Assuming you decide to leave, Prepare your resume and apply for jobs. If you have industry experience and got accepted to a PhD program you shouldn't really have a lot of trouble finding a job if you live in an area with a large pool of jobs (boston, NYC, SF, Seattle).
Define "good STEM education".

I had cable internet very early in it's history, and I used to for things other than playing Half Life.

I did not end up going to Stanford, but I went to a decent state school and while I'm not rich, I'm certainly much better of than friends who had other majors.
It's really hard to say, but certainly nothing compared to the savings. It depends on what you mean by experience. :-)

Glassdoor says that Harris pays $113,051 for a "Software Engineer IV". Most Harris jobs are in that area.

Payscale says $96,955 for a "Senior Software Engineer" in Melbourne, the next town over. Hmmm, Palo Alto is only $135,305 for this. That's less than 40% extra, but you're paying 3000% extra for the house.

Note that overtime is not normal for the area. You work 40 hours. Spend the rest of the time with your family.

Also note that everything else is cheaper too. There is no state income tax. The sales tax is 6.5%. Power is about $96 per month for those using 1000 kWh per month, and $137 for those using 1400 kWh per month. You'd pay 20% more in Palo Alto. Gasoline is dirt cheap: it's only $2.14 in Palm Bay, but about $3.05 (large variation) in Palo Alto. I could go on forever really, but it gets silly comparing everything from nail polish to turnips.
I think it's likely that's just as a precaution in case it's about to topple over so they avoid damaging the equipment. Under normal operation I suspect it provides no support.
Not that I know of. The thing with the Apple Store is that it's harder to scrape than Google Play, but I'll probably give it a shot at some point. (Once I have the scraper, it's straightforward to use it in this ASO module).
Thank you very much for the additional context.

"We don't care if they're prima donnas as long as they can sing!"

This is great.
Here is the compromise: one tab in between two spaces.
That clip is hilariously relevant. I already have issues with my eyes due to screens so I will heed the advice in this thread and avoid VR until it is well nourished.
Redditors who commented in /r/X also commented in /r/Y
What to know before debating type systems
If you're talking specifically about the comment at the end, that was because the example query will do a seq scan on the table twice. The filter equivalent will only do one scan.

I find subselects are more predictable, but I wouldn't say they're generally more performant. The explain plan's tree maps more closely to the subquery dependency tree with selects, so someone tweaking their query and staring at the explain plan to get it how they want will have an easier time with the subselect strategy.

Be careful of CTEs if you try that, though. A long chain of CTEs with the transformation I gave is almost guaranteed to give a bad plan(unless you want seq scans all the way down).
Building a global online community from the old mental hospital
I disagree that performance always matters. I don't pre-optimize. If I can create better UX by focusing on performance, I will. Currently my front ends are so light that a human can't tell the difference.

I don't use Visual Studio either. VS Code is based on Atom, and it has great TypeScript support. I use WebStorm, which is a better IDE overall right now.

I understand people not wanting to transpile, and it does suck that JS forces so many of us to do it.
Jukedeck – Create unique, royalty-free soundtracks for your videos
Understandable, then I guess you could just do it for this quote chain? Do you really want a crackpot pimping his personal site and cause? You'll just be putting out more fires with other people later, and you still won't really know why they're cropping up.
Data preparation and modeling for email marketing campaign optimization
Using Makefiles for simple build scripts
spaces ( I know I am a monster, stop staring at me ! )
Visual Studio automatically converts tabs to spaces (default setting; can be changed). Personal preference; 2 indent (spaces) instead of full 4.
Article is from 2010. Was there ever a follow up?
Huh. I wonder how they do password sharing, then.
Occam's razor: problem-solving principle
Whatever the file already has.

If it's empty, spaces.
Spaces of course.

Tabs can be messy across version control and multiple users with differing OS / editor.
Do you have any advice for breaking into the field? I'm nearing the completion of a CS master and want to get into security. I completed Microcorruption a half year ago and loved it. I'm also mostly through Cryptopals, but I don't know anything about what the field looks like in practice. What kind of job openings (or titles) should I be looking for?
The guy stopped at Binet's formula. Could have gone into series polynomials[1] and linear algebra encoding M = ((1 1) (1 0)), Fib(n) = M^n [2].

I was just skimming through http://www.wiley.com/WileyCDA/WileyTitle/productCd-047063157... (Fibonacci and Catalan numbers)

[1] https://en.wikipedia.org/wiki/Golden_ratio#Mathematics
[2] https://en.wikipedia.org/wiki/Fibonacci_number#Matrix_form
Not sure how I missed those, thanks for the link and the link to the kickstarter, I would like to support this book. Cheers.
You monster!
Sickness and vertigo isn't always met with vomit. I encourage you to seek out another metric that respects the delicacy of the headspace of even those with iron stomachs. (I personally get headaches but no nausea effects..)
Great push for use of latest technologies, especially for government sector.

I skimmed the article, and I do not see a mention of Estonia's e-voting. AFAIK, they are using (IMHO) flawed system, that they just believe it works (i.e. it was not breached). Estonia is very innovative in technological sector, but their e-voting system is a very risky play with their democracy.
This is maybe the real danger here. The idea in general didn't bother me at first, but I hadn't thought of these implications.
"You must be genuine" is a double bind. Being genuine is something that cannot be forced by coercion
Many people use tabs in the beginning of the line, and spaces for anything after any visible character in the line.

If people choose a different way, is because they have a reason, or they don't care.

If you're not sure, use whatever the file already uses, or the way I described above, or whatever makes you feel fuzzy inside. In that order!
>2. There's no documentation as to how something should work, or what functionality a module is trying to express.

Unit tests of complex code is often more complex and obfuscated than the code itself, hence its usefulness as documentation is very limited.

>3. No one dares to refactor anything ==> Code rottens ==> maintenance hell.
>4. Bugs are caught by costly human beings (often used to execute "system level tests") instead of pieces of code.

Lack of unit tests doesn't necessarily means lack of automated tests. Functional tests when applicable, are far more useful in my opinion than unit tests.
When you are writing unittests for JavaScript, does 95% of your asserts check that values are of the correct type?
I'd guess the keyboard (from a mobile device?) got "poll" instead of "pool". Or maybe a little typo from the use of writing one and not the other.

On the subject of pools of threads, a few days ago there was a post about the Naughty Dog Engine using fibers (inside threads) for cooperative multiprocessing. They made it so it'd have a cleaner API and be easier to use, but at the end of the talk they said it had also improved performance (because of less context switches).

Also having very little knowledge in games programming (a few experiments in QBasic 4.5 something like 20 years ago, when I was still a child :D ), the most I can get out of this is: multithreading/multiprocessing in games is hard.
Kick bash habit with Ruby external commands runner
Runtimes are not package dependencies. They are not separated from the app to allow dependency resolution. They are separated out in order to allow a different entity to maintain and update them. The idea is that they are pretty minimal (to some degree) and come with a well defined ABI and stability/lifetime guarantee.

If, above this, you need more dependencies, in the flatpak model you need to bundle them yourself. Such bundling can be done however you want. For instance you can reuse existing packages from some distro, you can build the yourselves, or whatever.

Technically you have to specify a runtime, or things will not run. But if you want you can create your own runtime that is empty and use that. This means you have to supply everything though, as you won't even have an ld.so.
The idea of a permanent score is what inspired me to pay, though. A steadily declining score doomed to fail wouldn't have felt nearly as cool.
Libertarians offer ‘third way’ in divisive election with Johnson-Weld ticket
spaces, tabs are nonsense
Might want to change the "Expert-sexchange" (sic) typo :)
Good ones (consistent, calibrated) seems to exist but yes, I have read on HN about people being asked about American history under the guise of "IQ test".