skysight-inc/HackerNews huggingface dataset:
It's often a stupid rule. If you have a process that is stuck, you type "kill <pid>" to kill it. But kill doesn't tell you if the process was killed or not, so you have to double-check with "ps <pid>" to see if it is still alive. If it is, you try again with "kill -9 <pid>".

I suspect the reason is that for most signals, kill can't determine if the signal was acted upon or not. But for KILL and TERM it could wait a few milliseconds and then print if the process is still alive or not.

Edit: those who are saying that I can write a wrapper script is missing the point. The point of computers is to be useful to their users, not to follow some philosophy people invented almost 50 years ago. Like if someone is bothered by kill showing messages, they can write a wrapper script (kill > /dev/null how hard is that?) or beg the developers to add a -q option to kill (like grep has) or write a new tool for sending signals.

Also, the program is called KILL so one could be forgiven for assuming it's main purpose is to KILL things...
I guess you and me are part of a very small group of users, sadly.
You should assume not, because they would've patented everything they can. How old is ARM v4? Is it old enough that patents have expired? You would then need to check country by country (where they have filed patents), as each country has its own patent laws.

Disclaimer: I am not a lawyer.
I am working Solo, but I get to bounce ideas off my spouse who also works in IT though it is sporadic at best. I am proactively trying to do this more, as it helps to air my ideas and it is much easier to recognize rabbit holes.

I am by no means an expert in this but the following things helped. At present my time is limited and if I don't take efforts to monitor my activities, I easily fall prey to distraction and procastination.

* Maintaining a list of things to do. If the first thing you do when you sit down to work is wonder what is it that you have to tackle next, thats a recipe for loss of productivity. If you have a list of tasks ( as granular as possible), ordered by priority if possible, you can hit the ground running.

* Try to have more realistic expectations of what you can accomplish. Try to estimate how long each task will take for you to do and then double that estimate. Knowing how long each task is gonna take will cut down on anxiety.

* If you are a solo founder starting out, product validation is much more important than QA. Once you have customers though, it is important to avoid any disruption in services.

* Release often even if only you will see. Make incremental updates. Always start with something very small but working and keep adding features. Immediate visual feedback of seeing your changes at work will do wonders for your morale.

* If you are doing multiple projects, some preliminary documentation should be in place so you can context switch easily from one project to another

* Though all these help me a lot, I have just started following most of them and it needs lots of discipline. I need to be mindful of what I am doing. Whenever I slip, I just try to get back up and start again.

* I also need to find a way to handle situations where I run something and it needs a minute or two to finish. I end up wandering to HN or News or Youtube and lose track of time. Maybe another list of micro tasks :)

Another idea is to use spacemacs. I have been a vim user for a long time. The idea of using emacs for browsing , task tracking and coding sounds appealing as probably there is lesser chance of distraction. Can someone comment on whether it is a good idea or another wild goose chase?

All that said, if I am exploring a new feature or tech, it often lacks structure due to it's lack of clarity and the time estimate for it is widely off the mark. Yet to find a way on how to tackle this. For now, the only option is to set some hard deadline. If there is no light by the deadline, that line of exploration has to be dropped. Maybe the unpredictability just has to be embraced and accepted.

Also, there was a website with stackoverflow kind of setup for solo founders and freelancers to interact and 'feel like an office' setup. Unfortunately I have not used it in some while and forgot theurl.
We just had a paper accepted after 11 months. There is no good reason for it taking this long. I wish biology would adopt the publishing practices of physics or machine learning.
Personally. I'd mean someone who knows and understands how to structure JavaScript apps in a way that makes it easy to maintain, extent and deploy. Someone who understands the tooling and ecosystem that's been built up around JavaScript when it comes to things like modules and packaging, and know when to use what (and more importantly when not to use what).
Show HN: Oh, hi Mark – Bookmark for chrome with instant search
HMRC (UK Tax Office) requires us to keep transactional information for 6 years.

Upon request we delete accounts but if they have transactional data this is still held in accordance with our legal requirements.
I'm using LiveComment https://www.npmjs.com/package/livecomment

LiveComment is Editor/IDE-independent, cross-language, realtime & easy with client or server JavaScript plugins.

For example, my HN notes pool http://acpul.org/pool
There are tons of good things to be said about "the unix philosophy". The Philisophy itself is good (do one thing, play nice together) but the implementation is crap to be honest.

The worse thing about the unix philisophy implemented as a unix shell environment is that programs (often) have only one interface, and that's used both for interactive use and as a programming API.
This means, for example, that when we realize git version N has terrible default behavior given some arugments, we can't fix the behavior of those arguments t in git version N+1 because we would break it's API.

And yes of course - structured in/out, sane encoding handling etc. is just missing.
I met a lot of people — mostly developers, including myself — whose chrome bookmark became so messy that on day, they just stopped using it. But bookmarks are awesome, they must be considered as a personal bookshelf for web articles. A reference to readings of the past.
A couple of months ago, it was so frustrating when someone asked me about this good flexbox tutorial I told him about, but it took me 10 minutes to find it because they are tons of flexbox articles out there and I really wanted to give him this particular one I knew was good.
10 damn minutes whereas it should have taken 5 seconds.

Oh, hi Mark! was born :-)

I would be more than happy, if sometimes you share the same feeling, that you gave it a try. I hope it will eventually help other people like me.
I had no idea there would be so many speakers with NFC support. I mean... who needs that? Its range is like three centimeters.
Just for reference's sake, here's their page https://eero.com/legal/open with the money quote

You may also request a copy of the source by e-mailing
legal@eero.com with "Source for eero device" in the subject line.

Note, GPL doesn't mandate code be put up on GitHub. It only requires that its reasonably available.
> Famous example: trying to exit vi

To be fair, this has been fixed a long time ago. At least Vim (which is the Vi installed on most systems) shows the following message on startup:

~ VIM - Vi IMproved
~
~ version 7.4.1829
~ by Bram Moolenaar et al.
~ [...]
~ Vim is open source and freely distributable
~
~ Help poor children in Uganda!
~ type :help iccf<Enter> for information
~
~ type :q<Enter> to exit
~ type :help<Enter> or <F1> for on-line help
~ type :help version7<Enter> for version info

On the other hand, it doesn't show this message when you call "vi" with a filename. But at least a beginner running "vi" for the first time should be taken care by this.
They're still in a foreign place risking their lives and getting shot at

I agree there's an idealized view but it's easy to complain when one is not involved
10 sensible web design trends for 2017
>Did something happen in the last year that made everyone demand 32GB?

Yeah, microservice hype. Now you need a lot of RAM to open all those services to develop on local.
I also built a prototype with it. IMHO the best feature is strongly typed data and introspection, which enables lots of tools (like GraphiQL). But you can build something like this for traditional RPC APIs too - that's not necessarily related to the other GraphQL features.

The next advantage is of course letting the client define what he wants to retrieve in a single query. Whether this is useful depends on your application I think. For mine - while it was cool to use - it had no big benefit compared to having a set of orthogonal RPC APIs that the client could use to fetch the information it needs. Less round trips are a reason, but if you have your API on HTTP/2 or something else which supports small queries efficiently it might not have a too large impact.

The other large difference is that with a "lots of small APIs" approach you have to compose the data on the client while with GraphQL it's done on the server. One advantage of doing it on the server makes the load of it more predictable, since the complexity of the queries is well known and there can't be clients which try to issue queries with an abnormal amount of complexity.

What I disliked most about GraphQL were mutations. The ability to include multiple mutations into a request made it sometimes hard to reason about which of those succeed or errored based on the query result. I also don't see a huge benefit of specifying a complex query result for a mutation - as I am also now one of the believers that queries should be separated from mutations/commands and that the mutation mostly needs to report back whether an operation succeeded.

So all in all I now think it is an interesting operation for a Query API, if the target application requires complex user-defined queries. But I would rather not use it if clients mostly query the same amount of data or for command/control APIs.
citation required, since there are IaaS offerings that do not involve a hypervisor (e.g. Rackspace OnMetal) and therefore its possible to move "to the cloud" without performance penalties.

on costs via Reserved Instances and negotiating with your account team at larger volume, it can be pretty reasonable, and for a smaller outfit, substantially cheaper than hiring experts in running physical infrastructure of your own.
Im not sure what you mean by the 'Era of Experts', much less it coming to an end. Can you explain this further?

Im all for making people come out of their ivory towers a bit more but to suggest that having high levels of knowledge in a given subject is somehow a negative seems an odd position to take. But maybe Im reading you wrong?
An Alternative-Medicine Believer’s Journey Back to Science (2015)
http://www.rense.com/general37/char.htm

Nothing inflammatory about pointing out something a respected academic said.

If you think its inflammatory read the full list and compare it to contemporary democratic states.
I don't find this stupid. The job of `kill` is to send a signal, not to wait around afterwards.

Unix makes it trivial to write a wrapper script around `kill` that does exactly what you want -- that's the entire point.
The IRV 'fault' is not a fault, but a feature. When the loser drops out, the people who put them at #1 still get a say in the remaining candidates. That's why more voters prefer candidate Hexagon in the example - it's actually a truer result of all the electorate, not [all electorate minus Square voters].

Just because your #1 candidate is knocked out doesn't mean you should lose your say in how you're governed. Similarly, the example paints Triangle as getting more popular, but ignores that Hexagon is also getting more popular.

The 'fault' also requires that none of the candidates are particularly representative - look at the example, look at where the locus of voters are, and look at where the candidates are. In order for Triangle to not win any more, all three candidates have to be pretty bad representatives; it's less of a disaster if "not the right candidate" won in this situation (even though that's not what's happening).
10¹⁴
> Hopefully [2016] just an off year and they are preparing a unforgivable 2017

I assume you mean "unforgetable"? :)
Yes: and just take a look at how many people are unhappy with the support they get on their Pixel[1]. The number of people who would be able to tolerate Google's level of hands-off with a car, where the expectation is typically "for the first couple years if anything is even slightly weird you can drive it to your local dealer and someone's job is to try to make you super happy", is going to be much much much lower than the number of people who are currently tolerating it with consumer electronics.

[1]: https://news.ycombinator.com/item?id=13145400
How do you see that aligning even slightly with your earlier statement about not passing Obama agenda because it wasn't aligned with conservative beliefs?

How can a trillion dollars infrastructure spend under Trump and yet a health care plan that would save money be blocked by under Obama?

I applaud your constructive approach in this conversation BTW. And I hope you are right about blocking Trumps craziness.
The Apple watch recently obtained a means to reply to messages by means of handwriting recognition. This works rather well in practice and I find I'm able to send short replies quickly and easily in situations where speaking to the watch would be inappropriate (e.g. on a bus).

I find Siri very useful indeed for one thing in particular, which is to set reminders. This has been a very useful feature of smartwatches, and I might even consider it a "killer app". Other than that, sending some messages from the watch and setting timers I don't use Siri.

I would agree about the utility of watch notifications. For example, if my Nest camera spots a human figure on my property I get a photograph of them turn up as a notification on my watch, which is awesome.

The fitness tracking is of little interest and not really very useful given my main sporting activities involve sparring - blocking punches is not an activity which suits wearing an expensive watch.
As with any rule it has good and bad consequences:

* good: easy to parse the result, easy to chain.

* bad: no progress report, annoying with long duration commands.
Ruby 2.4 adds Comparable#clamp method
Moleskine would be default choice for me.
The example is not really interesting, because as you said there is already a simple structure. But programming with text becomes really tiresome after a while.
For example:

git blame -L ${LINE},+1 --porcelain ${FILE} | sed -n '/^author / {s/^author //; p}'

I would rather:

(name (author (first (git blame file :line line))))

... where git blame returns a sequence of "blame" data for which I can retrieve the author easily (if you prefer pipes over function composition syntax, use threading macros). Then I don't have to worry about strange characters crashing my scripts randomly. Suppose I forgot to add the "^" symbol in my regexp (I can assume this, since you assume people forget parentheses), there could be situations where I would match too many lines.
Not that to me. They might just realize a Google branded car is not going to sell well as a BWM.
Could you not reach pretty much the same result with a queue, though?

For example, workers could discard messages older than some threshold, quickly emptying the queue if there are expired messages. Clients might not even queue messages if the queue is currently too long, perhaps even providing a convenient signal for them to back off from their most chatty behaviour.

Some messages will not be delivered on time if there is significant backpressure. There is not much you can do about it, apart from avoiding choking yourself.

Perhaps the queue could work with a LIFO policy, to help at least some messages go through in time instead of having most messaged delayed near to the expiration threshold.
This is awesome! Great idea.
If you want that behaviour it is trivial to write a wrapper script that does this. If you don't want that behaviour, getting rid of it if it were built-in would be more difficult.
Can the brain do back-propagation? – Geoffrey Hinton [video]
No irony there.
I wish people would live by this rule more often.
What Will You Do When the Phones Stop Ringing?
> What is / was Google's plan?

Track where everyone goes, all the time? (Except they already do this with Android GPS) Show them ads?

I agree, it seems not fully fleshed out.
One particularily popular example are German podcasts of radio stations, which are advertised by "... zum zeitsouveränen Nachhöhren", which roughly translates to: ... for time souvereign listening.
I was starting to get the feeling, looking at Google's lidar-on-the-roof design, that they were getting a bit obsolete before even making it to market, having suffered from the curse of being first and having to build on older tech.
That requires one to spend time reading and thinking about whether someone falls under "can't write a coherent sentence", "not remotely qualified", and "this is a cv?!".

We would always give detailed feedback to everyone who came to interview, but candidates who fell far from the field didn't get more than the automated reply. Originally I tried responding to everyone, but it's a sucker's game. It isn't just the time spent replying in the first place, even if it only takes a moment, it's the replies asking "why do you think you're qualified to tell if I'm qualified", "here's my creative writing piece from 11th grade, for a developer position, read it please", "I'll sue you, fucker! I know my rights!", "ok I understand can you teach me to program?", "ok I understand, here's my startup idea, what do you think?".

All it takes is one candidate who responds irrationally to a rejection and your entire day, and attitude to other candidates, can be blown up.

So, just like there's a bar for an invite to interview, there's a bar for a positive rejection.
Uber staffers reportedly spied on celebrities and ex-partners
Those can be successfully managed with community support. American culture favors medicalizing those conditions, but I've not seen any convincing evidence that it results in better outcomes. BP-I is different because lithium very effectively stops mania, but effective dose is almost as high as the toxic dose, and long term treatment has a high risk of causing kidney damage even with accurate dosing. This unique combination of danger + effectiveness makes medical supervision mandatory IMO.
Someone unfamiliar might just be dumped into vi because some other program thought it'd be great to open a text editor, e.g. for a commit message. You're unlikely to run vi intentionally unless you also know you want to run vi and how to exit, I guess.
Should a Programmer Learn to Design?
The NSA using the power of the state to persuade a telco to intercept some stuff for them is somewhat different from having random employees of a private company just deciding to arbitrarily browse through their corporate databases.
That just illustrates the limitations of the pipe abstraction, as something only able to send sequentially-read unstructured data.

Also, jq, jshon and similar tools are a thing.
Well... These speakers are mobile. A smartphone is also mobile.

Some people just put the smartphone near the speaker and start the music.
Did something happen in the last year that made everyone demand 32GB?

It became available. No one was demanding 16 or 4 or 1 or 0.1 GB of RAM either before the option became available.

Personally I find that for everything I do either "4 GB or RAM is plenty" or "16 GB of RAM is barely enough". If I'm buying a laptop for only the first category of work, then the MBP is way too expensive for me (esp. since I'd also have to buy a second computer), and if I'm buying a laptop to handle both categories of work then it's under-powered.
kill sends a signal, that's all it does. It doesn't care about what the process did with it.
It is easy to work around this issue if it bothers you (wrapper script / display exit status in PS1). That's the whole point - it is easy to make applications talk if they are quiet by default, but it is much more difficult to make them be quiet and only talk when necessary if they are noisy by default.
On the other hand they are a volunteer army who chose to sign up, I'm not attacking them just pointing that out

I'd be a lot more sympathetic to conscripted soldiers who didn't have a choice.

These days its hard to say anyone signs up for the military in the major democracies without realising what they where signing up for.
This is the exact reason why I think it might be even better to vote for 'Where should our resources go to?'.

For example rank the following subjects:

* Health care
* Security
* Climate

Because now you might agree with Trump except for his climate policy. With the current system it's very hard to express this.
> You are calling the OP out for not having hard evidence, yet you are happily accepting the words of other folks in news reports as being true. You can't really have it both ways...you're just picking the side you want to believe is true...

You're implying every information available is to be credited with the same amount of trust. A published article from a journalist from a mainstram media outlet has track records, both on the journalist and the editor. The underlying source, is someone testifying in court, which engages more than aliased online posting, as well as cross-check performed by the journalist on other people.

Second point : the person you quote mainly questions whether the experience he described gives us information on Uber's data protection policy. I had the same feeling.
This has nothing to do with the guy's integrity.
Scala Enumerations – Return of the (Java) Jedi
Some tips to prevent Shoplifting in your Retail Store
This is magical. Thank you for this experience.
Os melhores notebooks 2 em 1 de 2016 no Brasil
Christmas-Ify Your Photos [Fun]
Yeah, quite easily.

Look at Openshift, ansible playbook installer for Fedora 24. You can configure 2 masters/ha/etc in the playbook.
Back when i was in active addiction to heroin I knew that the brief time i spent messing with fent was the end of the road. The step past speedballs. At that point I wanted to, and was actively trying to, die. I understood its power.

To push this onto an unknowing general public is, imo, evil. These people should be sentenced like Heroin importers. Fent withdrawals, whilst short, are unadulterated hell. I have never felt a combination of physical, mental and spiritual pain like it and i have been through spinal fussion in my youth. The type of pain that changes a person for life.
Show HN: Mulle_sprintf, an extensible sprintf written in C
Celebrate your small wins the thinking behind Elevate
Still, Australian houses (on average) are 2 times the size of German houses:

http://www.theglobeandmail.com/report-on-business/average-ho...
you already have a tool to check whether processes exist... 'ps'.

This is the essence of 'small, single purpose programs that work well with each other' rule.
I agree that it's more productive to advise students to be wary than to express outrage at an institution. This should be read by all incoming college freshmen.
How it takes just 6 seconds to hack a credit card