skysight-inc/HackerNews huggingface dataset:
Wow, thank you for the feedback. I take a lot of pride in making the code readable. Maintaining a large C project by oneself for notorably fickle devices has been challenging, so you need to get all the of help you can.
Relation of Prolog and SQL [Stackoverflow Question](2010)
Well, that's why I put "figure out" in quotes; it would probably be closer to an evolutionary process. Some instance of an algorithm stumbles onto a simple process for generating proofs that it deems okay to submit, and never gets its power yanked for doing so because the algorithm fakes us out.
This is great advice. I just went through a ton of interviews for my next job. I got phone screens on all of them, but only offers from about half. I studied one way for all of them, and there's only so much material you can prepare for.

A couple of the interviews I blew because I was completely unprepared for graph questions, since I've never used a graph in 20+ years of programming, so there's no point in faking like I knew how just to get a job. As well, one interview I was asked a very tough bit manipulation, which I completely flunked. Another interview I bombed because my interviewer didn't know C/C++, and although he said I could program in any language, it was obvious he couldn't understand what I did, and had no confidence that my solution worked, even though it did.

I did learn, however, that using C/C++ in interviews these days is problem, because most interviews now expect you to run these on the fly, or they ask questions that expect you to use built-in libraries that other languages already have. I was asked at a couple of interviews to parse a CSV file, and that was a huge problem in C/C++ that would have been handled in a single line of code with python. Lesson learned, the nature of the questions are changing and I need to adapt to it. Next time around, I will need to master python and use that.
> There's an inherent tension between well designed OO code and testable code.

No, there isn't. Code that is not testable is not well-designed.

> Well designed code is properly encapsulated, does one thing, has a minimal interface and few dependencies.

And testing tests what the consumer of code will use, using the interface.

> Testable code is often less encapsulated, contains extra complexity for the test machinery, among which we can count extra methods (with potentially non-private visibility) and dependencies between classes (such as strategies, policies, factories, etc).

Only if you are doing testing wrong; what you should be testing, even for unit testing, is the behavior of the unit under test as provided through its exposed interfaces to consumers of the unit under test.

> Furthermore, while designing at the class level is important, it is much more important to architect at higher levels: component, subsystem, application, system/platform.

Conventional, unit-test-focused TDD is a practice isolated to a particular level which does not conflict with higher-level practices of the same type that address that concern, like Acceptance Test Driven Development (ATDD).
I don't think his question is unexpected at all for any kind of candidate that is going to have a leadership component. There are a hundred different answers that you can give to his initial question (how did you increase velocity of your teammates). TDD, improved requirements process, improved deployment process, improved monitoring, improved mentoring process, whatever.

I actually think this is a great way to figure out whether someone has actually done what they are talking about and done it successfully or if it's just something they have read about or halfheartedly/unsuccessfully tried to implement. It's easy to say "agile is good" or "continuous integration is good" or "TDD is good". If you're going to claim one of those things as a big accomplishment then you should be able to talk about the specifics of how you implemented it.

I don't even care if I agree with all your decisions. What I do care about is why you made your decisions. If you made some decision that caused the company to go bankrupt but at the time it was the most sensible decision then lets talk about it. If all you can say is "testing is good because it prevents bugs" then I would be concerned that you either hadn't implemented a comprehensive testing program or you didn't understand why you were making the decisions you made.
Applications of Security Deposits and Prediction Markets
I wonder if there is a conceptual equivalent of this technique. Instead of "keep your eye on the ball" prior to some complex physical action you'd use "keep your eye on the principle" prior to some complex mental action (i.e. thinking)
What can a technologist do about climate change?
"Wealth" and being "rich" (or making money) are similar but not the same.

Adjusted according to inflation I make slightly less money than they do - meaning I have less cash in my bank account. But the prices of everything are being driven down so quickly that I live a much fuller life than they did on a per-opportunity basis.

I have access to all the world's information, seemingly infinite entertainment, and a faster computer than they could even imagine in my pocket (not to mention my tablet and laptop). I can travel the world (I actually make money when I do so by Airbnb'ing my house), Amazon drops stuff they couldn't afford on my doorstop for very cheap.

So I make slightly more, but what I have access to is much greater than they did. I'd argue my life is much richer (er, wealthier), despite making slightly less.
How does this differ from "Keep your eyes on the ball!" spoken more than 50 years ago by my dad (and probably 100 years ago by his father?)
your "just looking at the data" vs. looking for "get" methods is really about abstract data types v. procedural data abstraction (aka OOP, representing the data as a bunch of methods), not so much about untyped v. typed. you could represent data in an untyped language as a tuple of getter functions and the problem would be even worse there.
FCC's Beta Dynamic Prototype Website
/* Advance a pointer num_times times. Notice, this does no checking, so
you better know what YOU ARE DOING!!!! */

The source is a pretty interesting read too.
I hate DST for a whole other reason: politicians "changing time" seems like a ridiculous idea to me. I think office/school hours should sometime opt for a summer/winter schedule instead.

But then I would also not mind to have the whole world on the UTC clock instead of timezones :)
Cards Against IT
I disagree that you were "too much" yourself, because if being yourself means you aren't a good fit for the company, it's better for both parties that you don't join the company. I'd argue that it just wasn't a good fit.

I've definitely faked my way through interviews in the past, basically saying what I thought they wanted to hear. However, it just leads to being unhappy on the job because presumably you aren't going to fake it your whole time working there, or, even if you are, you're at a place where you constantly disagree with everyone on the inside.
But someone is keeping data that can be de-anonymized? That sounds dangerous.
Consider an airbag. It "only" increases the time for the deceleration of your upper body to O(0.1) seconds. The reason it's so effective is because O(0.1) is O(100) times larger the deceleration time without an airbag, making the acceleration O(100) times less.
Is it possible to install this on my pfSense router today and give it a try?
The academic discussion of prison sentences and recidivism must be completely dysfunctional if this sort of elementary mistake is derailing things. This is truly a Statistics 101 idea.
Show HN: Git-Based Static Website CMS for Jekyll Websites
You posted "you even cannot read properly" in a comment upthread.

We don't want to ban you! Your comments indicate a perspective that doesn't often show up here. Diverse perspectives are good for HN. But to participate effectively, you need to learn and follow the local conventions, and also understand that HN has rules, the foremost of which is civility.

I don't think you were intentionally uncivil. I do think you were unintentionally uncivil. That's nowhere near as bad, but still needs correcting.
If so, why dont they increase refresh rates given that most of the memory (>95%) can do refreshes at numbers of over 3x existing refresh rates. This could potentially increase the energy savings and also potentially make the system faster because of lesser waiting time during Refresh and Row Activation.
I find it hard to believe that any CI wouldn't integrate with any generic git repo.
I wish more people had the guts to follow this advice. I agree, this type of disrespect would have totally turned me off and made me seriously contemplate even wanting the job.
Ireland here. Peaked maybe two or three decades later than the US did, but yes, my countrymen seem determined to import all the systemic corruption and waste and follow the Americans on their downward spiral, so unless that changes, we are now at the stage where each generation is fewer and in real terms poorer than the last.
But what would exist in this ideal "free" market? IMO, without contract law and courts that enforce it and persecute fraud, you can't have a functional market (free or unfree). Also, without some laws that monopolize violence, the market would be much more, well, violent (you might think of that as "free", but I don't think that kind of freedom is beneficial to the society) - we can see that in numerous places on Earth right now, where there is no effective "government" and you have multiple factions fighting for power - it rarely encourages trade and entrepreneurship.
Okay, that is bad.

Microsoft made their schedule for ending XP support public years before it actually happened, and, say, three years should be enough even for a large company.

And even if one has to support legacy software, eventually hardware support becomes an issue as older devices start dying.

If upper management vetoes a migration/upgrade for cost reasons, that is one thing, but not having a plan at all is... kind of frightening.
It should go without saying that "be yourself" does not mean be an asshole.
I very much agree with the confluence comment.

The search feature sucks. It can't find anything even when search terms directly matches words in the content it sometimes still show completly irrelevant pages first.

And the editor. Ohh, don't get me started on the editor. It gets confused about formatting so you can't change it. Sometimes random keystrokes jump to the end of the page. The in-page search and replace sometimes ignores the first character. Sometimes when pasting content it preserves formatting and sometimes it just completly garbles the result (especially if tables are involved). When undoing it's quite random whether it will undo your last change, do nothing or undo a random number of changes (and redo is rarely the inverse of the undo you just did). And much much more crap. I hate it with a passion.
Actually what separates fascism from other kinds of authoritarianism is what Roger Griffin dubbed "palingenetic ultranationalism" - where the fascist regime strongly pushes a myth of national rebirth/reawakening from the prior "decadence", and usually lifts lot of historical motifs. Italy under Mussolini was crazed with promoting an image of the Roman Empire, for instance.
Additional counterpoint: Even FAQ below their license explicitly states that it is not an Open Source license... So even its creators don't consider it to be one.

from https://fair.io/:

> We invite the entire coding community to adopt our simple, standardized, proprietary license.

> No. Unlike open source, Fair Source has a Use Limitation built into the license
I love that example! But I don't think it won any awards, because it's fairly easy to extend.

> What did you take the car driving the man who brought the book that I didn't want to be read to out of up away in for?

Almost-untangled form:

> For what reason did you take in the car driven away by the man who brought up the book that I did not want anyone to read words out of [the book] to me?

Although if you are being very specific, I think some syntacticians might treat the "out" in "out of" and the "up" in "bring up" as a different word classes than normal prepositions (the "out" is modifying another preposition's direction, and the "up" is a particle in a phrasal verb [1]). And I think that's one of the reasons the original form is so compelling is that you have some variance in form giving you clues -- the directional modifier, the question-inversion/wh-fronting, the salience of "bring up" -- that make it tantalizingly close to natural. Whereas mine just becomes a churn of words, at least in my reading.

[1] https://en.wikipedia.org/wiki/Phrasal_verb#Examples_of_Phras... (see the notes on distinguishing between particle & prepositional phrasals)
This is good to read. The marketplace needs healthy alternatives and it would be a shame if Github turned into the kind of natural monopoly that Ebay or Facebook are. I say this as a happy Github user who doesn't want Github to get complacent.

Bitbucket puts heavy effort into their integration with JIRA. Their pricing model is totally different. Yeay for choice!
One of my favorite things about how companies interview is how they assume their own competence in actually assessing people at a level that is woefully out of line with reality.

For example. "We ask puzzle questions because it helps us figure out how a candidate problem solves."

No it doesn't, and not because puzzles are a bad way to assess problem solving, but because you as the interviewer have basically no idea what you're doing when performing the assessment.

Typically the interviewer has no clear idea what profile of person they actually need to hire for a given type of job function. Even in the rare case they do have that necessary understanding, they almost certainly have zero training in how to create or identify puzzles that actually align with the kinds of problem solving that match the profile they're looking for. The interviewer will have zero training on what to observe about how the person solves problems and what the signals actually mean. They'll instead almost certainly pick up all the wrong signals and miss all the important ones and interpret the ones they picked up in the wrong way.

Usually people tell me they ask certain kinds of puzzle or programming questions because they want to see how the person solves problems, collaborates, communicates, etc. As a quick litmus test I always respond, "When you ask these puzzle questions to your candidates do you already know the answers?" 100% of the time, "Yes, of course." To which I say, "If you already know the answer, you're unable to remove your bias from the way of coming to the solution, and you're learning absolutely nothing about how they communicate or collaborate. Next time ask them a puzzle you don't know the answer to and work on the solution together. Then you'll have half a chance at learning something valuable about the candidate."
Thanks for the hint. I do not have a Dell laptop handy, but I will try to get my hands on one. Hopefully, this can be automated in some way.
Oil? I'm unaware of any big (existing) land-based oil extraction in S. America. Maybe they had them in the past, though.
So, a question that immediately arose for me out of reading that license: what's the definition of a user? If I wanted to use this to self-host my own projects, is everyone on the internet a user? Am I limited to 15 collaborators on my project unless I pony up? Is that 15 collaborators over all of time, or within some time interval?
Managing massive amounts of tick data with Python, simply and efficiently
It sounds like you are projecting your own situation onto an entire generation, completely ignoring the statistics. You aren't richer for having available a resource that you don't need but you are still made to pay for. That is the situation for the vast majority of young people. It is a very screwed up situation where the least able are made to pay the greater part.
Goodreads tends to be more of a socially-driven environment, I find that my friends don't read what I read.

The Hawaii Project is constantly scanning what the blogosphere is writing about in terms of books, and then matching that to your tastes and interests (topics, authors, website sources), so the recommendations always stay fresh and timely - vs Goodreads, which tends to be pretty static (if you like X you'll like Y). I may not care about all the books that say, the New York Times Book Review writes about, but if I'm into historical fiction and they review a book of that sort, I'll get a recommendation for it.

THP also has an index of articles from the web about particular books, and the ability to quickly browse what sites are writing about - kind of like a books-oriented news reader

It also generates a weekly mail with books that match your interests and authors that are being written about, so you don't have to go looking for them or miss a book from your favorite author.

And yes, my design skills need help :)
If the CPU usage of my code jumped by a massive percentage, and only 20% of it can be attributed to one problem, I'm certainly going to pay attention to it. But I'm going to pay a lot more attention to the problems causing the other 80%.
There is plenty of evidence that people make up their minds in 10 seconds and the rest is post-hoc justification. You didn't blow it, they just didn't like you, or already had someone else in mind.
Proprietary software is neither a religion nor politics, it's just business.....
It's interesting to me that techniques like this seem to be more about visualization than a kind of stillness, which the article is discussing. I certainly use a technique like that when climbing - I try to imagine the hold I am trying to catch is actually farther away than it actually is (partly since overshooting isn't as much of a problem as undershooting), which tends to help with getting there.
Jeff Bezos gets #rekd
Have you tried Prova (http://github.com/azer/prova) ?
Why do think it has not much legal ability to stand up in court?
that's idealistic at best. the society we live in is not one of common sense for the most part. we want the same thing, common sense to prevail, but the difference is I've accepted the litigious nature of today's world and you have a fantasy of it suddenly going away.

A little shocked I was downvoted here for sharing my opinion, are we really that intent on becoming a circlejerk? guess that's just the way things go eventually.
The shortest paper ever published in a serious math journal explained
Cloud Native Computing
Negative price means they pay you to do something, not to take the money and then not do it. Doing otherwise is, well, unethical ;).

I doubt that negatively priced legs come from product abundance. It's most likely optimization - e.g. if they can get more people going A->B->C then they can merge them with B->C passengers group and fly them together on a bigger, more fuel-efficient plane, etc.

Anyway, we're already paying much less than we should when flying privately; price discrimination works in our favour, at the expense of business customers.
I think as a rule of thumb anybody working a blue collar job today is in trouble.
True for most of the world of consumer electronics. 10 cent saving on a TV - the person who proposes the technique stands to make a quarters salary as a bonus.
An interesting problem that came up during development of the Navy version, which has to land on carriers: when the landing gear and hooks were first tested, the placement of the back wheels was such that they created a sine wave in the arresting cable which just happened to be "down" when the hook moved over the cable, meaning the hook wouldn't catch and the plane could never land this way. They then had to go back and redesign the arrangement of the landing gear and hook.
So the difference in their studies is what percentage of first time offenders will return to prison vs. what percentage of overall prisoners will return to prison?
Try going back and playing these games. I find they are quite difficult to wrap your head around.

I played a large number of these games as a youth, including the notoriously hard A Ming Forever Voyaging. And I find I have a hard time enjoying them as an adult. Maybe I need to give it another go.

Maybe it's the pace of the puzzles. I know I spent a long time solving individual puzzles in Spell Breaker and it took combined effort with another friend to make it through.
In particular my wife has no job now and mortgage lending rules are much stricter now. So although we can make the payments on our current 240k mortgage each month on my income, the maximum mortgage we could get now is something like 180k.
> So a few seconds of a flight by a plane from a country supposedly on the same side against the ISIS, over the few km of the territory, is equal to becoming a vassal of a said country.

No, the "few seconds" and the relationship to Daesh are irrelevant.

The continued incursions into sovereign territory by a country which has engaged in such incursions without permission and been publicly threatened with force if it does not cease means that.

(Anyway, Russia is attacking opponents of the Assad regime, not just Daesh, including non-Daesh forces which are supported by Turkey. That the set of entities Turkey opposes in Syria and the set Russia opposes overlap because both include Daesh does not mean that they are on the same side.)
Epson XP-200 Driver Download
It doesn't. In this and related articles, this is research that quantifies the difference in performance when the adage is emphasized versus an emphasis on form.
thank you for making my point better than I could have.
Larger better built houses means those people who want that will give up their current place for that.
It will even out and works better than the current system. Granted I'm not from Berlin, but our situation (Stockholm) is exactly the same and the only way out is taking on the risk of buying property in an already over-heated bubble.

edit: There is an alternative and that is to find a second hand contracts where you will have to move out in a year because most co-op boards won't allow the owner to rent out for more than a year.
Identifying processes with file descriptors instead of PIDs, initially by adding a new flag to clone, CLONE_FD, that gives you back a file descriptor for the new process. The descriptor becomes readable when the process exits, so you can manage a child process and get its status without SIGCHLD. That allows a library to manage child processes without messing with the signal handlers of the parent process using the library.

Since the file descriptor holds a reference to the kernel data structure for a process (task_struct), that makes it race-free, unlike a PID (for anyone other than the parent process), and thus unlike a path within /proc (which uses the PID). So after getting CLONE_FD in, and adding ways to use a file descriptor in place of a PID in other syscalls, I'd like to add ways to use that process file descriptor to get back information about the process instead of using /proc (such as via ioctls).

While there's sadly no video available, I gave a presentation at Linux Plumbers Conference / LinuxCon that included discussion of CLONE_FD. See the slides at https://events.linuxfoundation.org/sites/events/files/slides... .
Author here.

Any time you want to store historical data, and query that data later.

Very similar to how you might imagine using a database for a website, just at a smaller scale. The project that inspired this work was a water metering project in Kelowna, BC. Basically, a friend of mine took a bunch of micro-controllers with soil moisture sensors, shoved them in the ground, and tried to come up with better demand-based watering schedules. It took them two months to develop the data management code, and knew it could have been days or hours with a proper database.