skysight-inc/HackerNews huggingface dataset:
> Think about that as you drive by a speed trap, that the police and city undoubtedly portray as a safety operation, but where the cops hide themselves because they're not trying to discourage speeding, they're trying to collect taxes.

This is an interesting point that I have never considered before. I've often thought that police officers hide themselves as a deterrent - if a hidden police officer can ticket you at any moment, it is a good reason to keep your speeding under control. Interesting analysis though and I will have to think more about my own views. Thanks for your comment!
Los Angeles cops do not need to hand over license plate reader data, judge finds
>Is there any possible reform for the disaster that is the plea system?

Prohibit prosecutors from going to trial with charges any higher than they offered in the plea deal. If they offer to (say) let you plead to only misdemeanor drug possession, then they shouldn't be allowed to then prosecute for felony drug possession, resisting arrest, plus anything else they can think of simply because you dared to ask for a jury trial. Sentencing can still be somewhat variable, which would offer an actual incentive to those that know they're caught-holding-the-bag guilty, but would not be such a ruinously life destroying difference that it would frighten the innocent into taking the pllea when they did nothing wrong. The argument against plea bargain reform from prosecutors is always along the lines of "the courts could never handle all those cases, so we have to discourage jury trials as best we can", and frankly, that line of reasoning is bullshit. If there aren't enough resources to offer a jury trial to every offender, then I say we have a crisis of constitutional proportions, and dealing with it by gaming the system to force people to forego their rights simply to improve efficiency is a far more evil thing than most of the crimes people plead to.
One workaround is to detach the other sessions when you connect.

tmux a -d
From the 2nd, 3rd, etc terminal you can see the list of sessions with 'tmux ls'. After that, attach to one of them with 'tmux a -t [session-number]'.
I was using Point class in Adobe Flash for many years (http://help.adobe.com/en_US/FlashPlatform/reference/actionsc... ), so I had to reimplement it into JS, it is part of my IvanK library - http://lib.ivank.net/?p=download . But honestly, there are like 7368 implementations of two-float object, we really need one more :)
I do see a cop coming up along side her and grabbing at her and then getting hit in the face. The handprint bruise on her chest paint a clearer picture than this grainy video. But we don't know what happened. I'll also say there's a big difference between an activist having trouble with the law and a thief or other criminal. She says she got grabbed and reacted, and didn't know who it was. She doesn't think you should hit cops either. Nothing you've brought up suggests other motives.
Benchmarking Rust with Project Euler Solutions
Why doctors are sick of their profession
and a custom confirmation dialog called Shirley
Why not use something like Numeric.js and use regular arrays? Seems like a lot of trouble to do simple vector math, and this library is specialized only to vectors. To mix vectors and matrices, you need to convert these back to arrays anyway.
Ask HN: What VPS are you using?
I'm using Digital Ocean but I've been hearing that they sometimes lock accounts without sufficient explanation of why, so I'm looking to switch. Suggestions?
You've made an interesting observation regarding the trend taking place in large tech companies.

>but no one is comfortable going back to the 'good old days'.

Except the open source community. Both recent and on-going projects are being done in C. I'd like to know why but I'm thinking the Linux kernel being in C has a lot to do with it.
Hackers stole security check info on at least 25,000 DHS employees
How is the demo arrow on the logo made?
I'm referring to Debian GNU/Hurd specifically, though it is the de facto main hub for Hurd development.

Yes, here's the announcement: https://lists.debian.org/debian-devel-announce/2014/05/msg00...

This is the blog of the person who did it, which features detailed development logs: https://teythoon.cryptobitch.de/
Though primarily an AOLIM and Yahoo Messenger user back then, I remember when MSN Messenger’s "British phase-out" occurred around 10 years ago [~2004?]. I had a couple folks from the UK in my list, and we had to go over how else to chat [AOLIM, Yahoo].

I ended up phasing myself off MSN Messenger not too long after. Still a "place in my heart" type situation.
Are you sure? AFAIK Hurd is pretty much dead.
30% will go to a foundation to teach programming, and employ those in need
The bottom of this page seems to deal with this issue: http://mutelight.org/practical-tmux
I find people in these discussions rarely want to share their actual products/sites. If I had to speculate as to why, I'd say that many of them profit from having found a micro-niche with minimal competition, so it makes sense for them to keep it to themselves.
Actually, I don't think it is possible to implement vector in the way you describe (so I'd argue that in fact there is not even a single working implementation that does that): using new[] will cause a default construction of all the elements, but std::vector must copy construct (or, in C++11, move construct, but never assign) the elements from the old array to the new array. AFAIK all implementations of std::vector thereby have a separate phase of allocating memory for the underlying storage of the array (which is done using an allocator, and which essentially cannot be implemented in terms of new) and constructing the elements (which is done using the placement new operator in a loop as it copies the data).

The real issue here is that std::allocator doesn't support realloc. (Note that you couldn't really use realloc as spec'd, though, because in the case where it fails to reallocate in place it blows away the old memory area and copies the data itself, which would have incorrect semantics: this is actually discussed in the article from Facebook as the "notorious design of realloc()" which made the usage of jemalloc required for this task. However, std::allocator could still have features for handling this situation, and implements based on malloc would simply have to not support the reallocate functionality. I imagine if more allocators actually supported the idea of reallocation this could be proposed to the committee.)

That said, the statement that std::vector can't grow the chunk in place is still way too heavy-handed: std::vector will grow its size in place within the memory area allocated to it by deconstructing and constructing elements within the over-sized memory area it has allocated. In general, this memory area grows by doubling in size whenever the capacity is breached, which leads to vector having amortized constant time complexity to insert a new element.
The features are a fraction of systemd's, yes. This is because dmd actually has a concrete idea of what it wants to do, and doesn't just arbitrarily consolidate functionality under the pretense of being a "basic building block to make a Linux-based OS from".

As for maturity, you are mistaken. GNU dmd was first started around 2003, before even launchd existed.
Ok, thanks. Maybe list some of those on your web page or GitHub readme?
Broad swaths of society hate protestors, because they threaten order, and order is something that everyone benefits from. I imagine you have this idea of protestors and revolutionaries leading society to higher states of justice, but more often they just indulge in chaos and violence (e.g. "pro democracy" protests in the middle east turning into support of islamic extremists; pro-republican protests in revolutionary France turning into the Reign of Terror).
MSN Messenger is shutting down after 15 years
I'm genuinely curious how "passive income" is defined if it takes significantly more time.
Verbs are Verbing
There have been efforts in that direction for a long time: http://www.emacswiki.org/emacs-en/GuileEmacsHistory . The current push seems to have reached the "80% done, 80% to go" stage.
Monadic parser for CSS in Clojure
That's way better than rough on your liver.
Are there benchmarks, speedup? Seems strange to leave out that information or did I just miss it?
OTC painkillers are almost useless for significant pain levels. Think levels of pain where coherent speach is basicly impossible without medication. Unfortunatly that's only about an 8 on the 1-10 pain scale.

For real pain there are several drugs that rather than just blocking the sensation tone down the importance of pain. Pot, falls into this group and relative to the benifit has few side effects.
Is there a builtwithangular.com site yet?

If not that might be a good ship to jump on now, as it's the buzzword for tech recruiters. Most of whom have no clue what it is.
This is cool, I think this is a really good start, you have a fun interaction, and breaking the squares feels gratifying. I think that if you added more game challenges, rather than JUST collecting as many squares as possible, you could have something great.

Think: obstacles, power-ups, extra time, etc.
That's a bit strong, of the protests I've seen 90%+ just wave their placards and chant for a few hours , then go home.
And ad sales
Ask HN: How can we as US citizens fix the prison system?
Shameless plug: https://github.com/bsandrow/tmux.sh

I wrote that in response to the last thread complaining about said feature came up.
According to the Amazon preview, he quotes Paul Graham on the first page.

We must all go buy a copy now.

Also Butler Lampson, Don Knuth, and Greg Wilson.

On the other hand, the (only, currently) review has:

"I'm not sure who the audience for this book is, perhaps those interested in the philosophy of computing, if there is such a thing, but its certainly not a book I would recommend to the casual reader, despite enjoying it myself."

I've read a few things that seem to be of similar ilk---Abstracting Craft, Leonardo's Laptop, and Hackers and Painters come to mind---and I'm a little sceptical that it has anything truly mind-expanding to say.
Long term use of paracetamol at the therapeutic dose is not rough on your liver.
I think it's unfair to assume that bias plays a role simply based on the truism of "we all have implicit bias". YC is run by a good group of intelligent people who are very aware of such biases.
TL; DR.

The writings of a haphazard intelligence researcher from 1928 reveal his belief in the program of eugenics.

Wow, what a shocker.
You can draw your own conclusions, but what I see is somebody preparing, consciously, to use the force of slamming their elbow into a police officer's face in order to escape from that officer.

What is the point of the wording "preparing consciously"? Can you prepare for something unconsciously? If someone gropes you from behind, some conscious effort is required to defend yourself.

Fact-free magazines like Cosmopolitan may display sympathy for people like Ms. McMillan, but here at HackerNews we should not.

Please don't use the term "we". I'm not a sociopath and I have sympathy for people who were treated unjustfully.
Imagine a ship travels at 1.5x the speed of light. Now imagine the signal from the "steering wheel" travels to the ruder with light speed. You turn the wheel. Before the ruder gets the signal and turns (and let's ignore human reaction time) the ship has already traveled however much distance you cover when traveling at half the speed of light. You would have an enormous lag basically.

Something like that :) I'm rubbish at physics :)
Excellent point! I did "advertise" the site a lot to begin with - posting on HN, writing comments on related blogs, talking to people about it.

I have played a little with direct advertising, but paying for adverts that link to a site that sells adverts seems a little too much like a self-defeating loop. Normally paid ads are done during promotions.
Use of 'language of deceit' betrays scientific fraud
The Problem with GitHub Code Reviews
Edited slightly to clarify my point: the vast majority of protests are ineffective; the ones that are effective lead to violent injustice more often than they lead to justice.
Spiceb.in
I've had a few prospective search use cases and have used both the percolator out of elastic search and the service out of Google cloud platform. I would find committers that worked on the percolator future and see if your work could possibly be baked into the core elastic search platform. that would solve a lot of people's problems. :-)

and don't forget that solr remains a major player in terms of open source faceted search. and they have no prospective search feature. i would think they would have done it already though - there must be something architecturally that's preventing them from delivering the high-performance solution you built.
Since you're a developer, you already have the most important asset, which is the ability to basically create anything (web services related, obviously). From there, it's "just" a matter of finding something to build that other people will value and then telling as many people as possible about it.

The best way to figure out what to build is by thinking about what YOU would find useful, and then build that. Don't get too big with the idea, though. Just analyze your day-to-day routine and ask yourself what kind of little piece of software would make your day 1%-5% less annoying.

For example, I'm a developer but also a startup founder. I've wasted entire days doing repetitive email follow-ups to investors, partners, customers, etc., which means I wasn't committing code. So I put aside a weekend and built a system to automate my email follow-ups. After it worked well for me, I showed it to some colleagues, they started using it, too, and before I knew it, I had a nice little SaaS app going. With another weekend of work, I added a frontend and billing system, and I launched it as https://autopest.com.

(I'm including the link at the suggestion of some of the other folks in this thread, and also to show how it matches well with their advice -- target B2B, build a SaaS app, keep it simple, rely on quick solutions like Bootstrap and Stripe, etc.)

Step two is getting people to it. Best way I found for that is social media -- especially Twitter. It only takes me 15 minutes a day to be "active" on Twitter, I can easily target BizDev people and GrowthHackers (my target audience), and slowly but surely, they start signing up. It's been a few months and I'm on pace to hit your $500/mo target in the next 30 days.

Best of all, because I built something that I REALLY WANTED, even if no one ever pays me another penny, I'll still come out ahead because the thing I built works really well for me.
It's interesting to see how much politics weight on the connections. E.g.:

1. There more connections between USA and UK than to non-english speaking European countries.

2. Venezuela is the only country connecting Cuba.

3. Brazil connects with Cape Verde island and will connect with Angola, another portuguese-speaking country. Those will be the only connections crossing south Atlantic.

4. Southern Asia connects to Europe circumventing the Middle East by connecting to Egypt and then crossing the mediterranean.
(As someone who started doing professional game development in 2000, I will concur that every single point mentioned in this article, including the usage of an IsRelocatable template trait, is common knowledge in the game developer community.)
Life expectancy has increased from 59.7 in 1930 to 78.7 in 2010 in the US.

No one is solving mortality, but it certainly will continue to get delayed!
Hyperthreading is basically a way to emulate multiple cores, but sharing the more rarely used units (like floating point) between them. This way, a normal application can use the multiple cores, and actually run in parallel most of the time. You save a lot of silicon area, but when both threads try to execute the same rare instruction at the same time, they can't run in parallel.

The problem of molecular simulation is that it's almost entirely composed of floating point instructions. Thus, hyperthreading can't run them in parallel at all.
>Is it come kind of totalitarian sect behind this video?

It seems to be a lone Republican who is rather bitter about Obama getting elected.
Who said the poster was a researcher, and if s/he is then what makes you think that researchers have anything to do with high-level corporate strategy.
It looks like the research on this is mixed.

See

The Legalization of Recreational Marijuana: How Likely is the Worst-Case Scenario?, with Daniel Rees. Journal of Policy Analysis and Management 33 (2014) 221-232.[1]

and

Williams, Jenny, Rosalie Pacula, Frank Chaloupka, and Henry Wechsler. 2004. “Alcohol and Marijuana Use among College Students: Economic Complements or Substitutes?” Health Economics 13: 825-843.[2]

It seems that the research based on natural experiments is intrinsically better than the price-related studies, and so far, that indicates that marijuana legalization reduces alcohol consumption.

Anderson's research also indicates that medical marijuna legalization resulted in a significant decrease in traffic fatalities, which is a huge win.[3]

[1]http://dmarkanderson.com/Point_Counterpoint_07_31_13_v5.pdf

[2]http://www.uic.edu/orgs/impacteen/generalarea_PDFs/HCAS_Alc_...

[3]http://www.dmarkanderson.com/Medical_Marijuana__Accidents_an...

PDFs may differ from published versions.
And the eeeeevil drug company that's developing CBD as a drug is finding hard evidence that it just might work: http://www.gwpharm.com/GW%20Pharmaceuticals%20Announces%20Ph...

That's an early trial, probably more to prove safety than efficacy. The Phase 2/3 trial they said they're doing now will at least start to nail down both---or not, or to what degree and for whom, as clinical trials do.

Side note: I've not studied it (know only one person, who's stable with existing drugs), but just from what I'm reading about CBD and Dravet Syndrome it's clear, and not surprising that epilepsy is a symptom with multiple causes. In this subset: https://en.wikipedia.org/wiki/Generalized_epilepsy_with_febr... researchers researchers have found no less than 4 genes who's mutations can result in different diseases.
Doesn't make sense to interfere with ineffective protests.
As you can see in comments below, this leads some protesters to become badass revolutionaries and then dictators.
And you only helped them while discouraging good citizens from spreading their point of view.
I'm struggling to think of a violent protest, at least in the western world that caused a change in government policy, beyond causing police departments to invest in watercannons.

Of course it's difficult to measure the effectiveness of a peaceful protest, but it wouldn't surprise me if vocal opposition to say the Iraq war had an impact on foreign policy for Syria for example.
Deep Habits: Pursue Clarity Before Pursuing Results
I'm not saying it makes sense to interfere with ineffective protests (and I don't support doing so). I'm explaining why many, ordinary, people hate protestors.
The punishment, from the sound of it.
> I don't see how a fair-minded person can agree that we ought to go around solving our problems by elbowing officers of the law in the eyeball

Why exactly is it not a correct response to having your breasts groped from behind by an unknown assailant?
Wouldn't you have to double the number for the satellite since you have to first to up to space then back down to earth?
Numerical calculations library called Matt?
You invest time up front, then reap the rewards. Residual income may be a better term for what most people call passive income.

Most of my income is residual, and I love it, but there was a big hump to get over at the start.
Right now any clinical data we have on marijuana's active ingredients is massively tainted by the fact that NIH will only fund research into harmful effects, so essentially you're suggesting that we're better off getting "prescribed" a quantity of something based on faulty/biased research.

(Incidentally, CBD products are now technically legal in the US -- you can order them on Amazon!)

The point with curare is that a small amount will kill you. All drugs are to some extent dangerous, but some are safe enough that people are allowed to buy them on their own and figure out the dosage they need -- e.g. aspirin, most antihistamines. The same arguments would apply to them.
Software isn't a biological entity, you can't measure maturity with just age.
What Time Is It in the Universe?
I appreciated the ability to have a messenger running on the computer which would always notify me of new messages, instead of having a Facebook tab open in the web browser.
I started a youtube channel 2 year ago. Just for my personal use. When I want to show someone something, to be able to upload it, if it's not on youtube yet. So I invested 10 minutes per month to upload some videos that I think interesting to share. After a year I saw that to0 many people watch my videos. So I activated ads on my channel. My last video was a year ago I think. And Google still sends me 200-300$ monthly. I've invested only 2-3 hours totally on channel.
In my opinion(and general opinion), this is the most important job. Maybe we can find someone depressed(like in the article), but come on they save lives.
We can acknowledge that a giant part of a guilty verdict should entail a sacrifice of certain civil rights. No voting, no cable TV, no free college, etc. Inmates should be put to work, without pay, on repairing infrastructure projects. This would allow them to learn a trade at least, and the exercise should help improve their health- especially in terms of physically working through whatever addiction problems. Any labors should not be performed for company profit, but for the betterment of their communities. Seeing prisons as for-profit industries is a huge part of the problem. Inmates should earn their keep, literally. All of this combined would save tax-payers loads of cash.
It's Perfectly Legal to Film the Cops
#1 This is way easier, and can last longer, if the business involves user retention.

#2 Study other micro-businesses carefully.

#3 Apply an existing model to a brand new area or technology.

Personally I think the passive income concept is crap. It is real but is a concept that people who don't want to work hard eat up so is used in business opportunity marketing heavily.

There are things that can produce revenue for a long period of time after your initial upfront investment where you work really hard for a while for free or at a great loss (investing money in assets vs just your own time.) However, the nature of traffic flows online & technology mean if you use the revenue for personal consumption rather than re-investing it in the business one day a few years from now you will wake up no better off than the day you started. In some circumstances where the individual increases their standard of living or takes on debt, they will end up much worse off.

Not speculation, I have watched this happen to friends.

As a programmer your best opportunities are most likely writing tools and code that can be resold multiple times. Huge chunks of redundant work is done by freelance developers.
"Cancer" is also simultaneously a narrow and broad field. Computer technology improvements has probably done more to advance modern biology and microbiology then other single advance - but would receive no funding at all under the banner of cancer research.

Broad funding for scientific research is important.
Maybe it's just me, but I find -- style flags that are actually commands to be extremely irritating. The new firewall-cmd system is an example of how obnoxious this can be, where every operation requires arbitrary -- prefixes.

While git has received a lot of well-deserved criticism for it's complexity, "git commit" is a lot better than "git --commit".
Very cool. FYI, the Advertise page on your site is entirely blanked out when AdBlock is on.

I had to turn it off to see anything.