skysight-inc/HackerNews huggingface dataset:
I think Arc messed up: your comment is in https://news.ycombinator.com/item?id=10812214, a thread about all OSes needing to die horrible deaths.

I'm very curious about whatever context this comment was intended for though :D
"Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems."

Yes. My favorite was a Coyote Point load balancer bug. If the last character of the HTTP options is "m", the connection will not get past the load balancer.[1] I found this because a web crawler was having trouble with one site. Fortunately, I knew someone with their own Coyote Point load balancer, and was able to establish that the connection went into the load balancer and never came out.

The load balancer has a big file of rules which contain regular expressions. Somewhere, I think there's a "\m" where they meant "\n". Reporting this to the vendor, along with a Python program to demonstrate the problem, was of course futile; they suggested "upgrading the software". I demonstrated that the bug existed on their own load balancer on their own site. I finally added a completely useless field to the HTTP header so that the last character was not "m".

[1] https://www.webmasterworld.com/webmaster_hardware/3312997.ht...
What's crazy is the guy only had an IQ of roughly 125, and the rest of the article further indicates this organization wasn't weeding out the exceptional (as one might assume), but was actually putting a ban on ALL smart people. That is just insanity.
I thought a similar thing when I was reading it, but regardless of who is responsible for a problem, it's still a problem that should be acknowledged in such a list. Graphics on linux is a hard problem to solve cleanly. It's not anyone in particular's fault, and it's entirely reasonable when you understand the context, but it's still a problem. In context, linux does very well given the restrictions, but it's still not as buttery as the proprietary offerings.
It's heavily dependent on river/climate conditions. During the dry most loggers will only need to be polled once every hour. However, during the buildup and wet, the stations would ideally be sending back every ~5 minutes.
That works only if all registers are being utilized to pull people off the front of the queue. The grandparent poster described a situation where everybody queues in front of one register while the other registers sit idle, which isn't optimal for anyone.
Incorporating and accessing binary data into a C program
The site is now blocked by Google Safe Browsing as a result of these complains. Author has been emailed asking that he corrects this behavior in order to be removed from the blacklist.
Satellite is also an option for remote locations:

https://www.sparkfun.com/products/13745

$250 for this module, and $12/month for the satellite usage.

For the sensor itself, that's a simple micro controller for under $10, and a $5 sensor, a battery pack, solar panel, and a most likely, a few resistors. Costs add up quickly if you don't want to run out and replace the batteries, and if you want it to phone home.
Given my political bias, I used the NRA as my first example of stonewalling but I should have included the right-wing perspective as well so that we don't get too far off-topic.
I find that quite unbelievable. When I had a similar problem last year, the first resource I found was a W3C specification[1] about <input type=email>. The specification clearly states that email addresses should match:

/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/

Since this is an official W3C doc, I see no reason why people shouldn't use this.

Edit: There is also a version by WHATWG[2] here:

/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/

It apparently does a more thorough validation than the W3C one in the domain part, but the difference between the two is not apparent in practice.

[1]: http://www.w3.org/TR/html-markup/input.email.html
[2]: https://html.spec.whatwg.org/multipage/forms.html#e-mail-sta...
A sales tax is the ultimate regressive tax. At the low end, you don't have much to save anyways (you need to eat!), so you are spending your income and getting taxed. At the high end, you can save a lot more since you make more. And you can always fly off to Hong Kong for a weekend to buy things (that is what happens today in China which has a high VAT/import tax).
Totally agree. Lay down better rules and let the companies decide whether to play with your rules or exit your market. Games have to be played fair.
>Try finding 30 litres of water and 8 kg of grass ( plus a portion of salt ) per mule per day, minimum, in the mountains of Afghanistan.

Is it any easier than finding diesel fuel?
Ask HN: What Small Businesses/Industries Do You Want to Know More About
I want to launch a podcast next year, where I talk to small/medium sized business owners about how their business operates, the problems they face, and what makes their jobs hard. My goal is to expose the "What Should I Build?" crowd to multiple industries / business problems. (and to show that getting out there and asking questions is valuable, not scary!)

Are there any small businesses or industries you wish you knew more about? What do you wish you knew?

Thanks in advance!
All of the currently "working" "proof-of-stake" systems have central trusted third parties signing blocks.
I don't know. I didn't say any scriptures should or should not be instrumental (I am an atheist myself). The question was about allegorical interpretation.
You know what works really well for distributing information about the status of shelters etc? Facebook and WhatsApp.
The problem with the flat tax is it doesn't address the problem. What makes the tax code complicated is determining exactly what constitutes taxable income. Dealing with different tax brackets is simply a matter of looking a number up in a table.
Many robotics applications use ballscrew linear actuators. These contain a cage of ball bearings in a spiral around a ball screw, and they move a given distance for each revolution. You can apply a braking force to the ball screw, which will have a large mechanical advantage over trying to brake against the joint itself.
What does it matter what the rest of the world has? If he/she earned it legally, they deserve it. You don't get to make victims out of the rest of the world.
Why remove corporate taxation?

From my perspective, corporations already pay a lower effective tax rate and have access to tax avoidance strategies that not available to the individual.

I've read the argument that eliminating the corporate tax would spur growth but that's like saying eliminating individual income tax would spur consumer spending.
Small tool trying to solve “clone via ssh with GitLab in docker” problem
In addition to the usual political donations, the amount of money big tech companies put into lobbying firms like Digital Economy Group, Fipra and RLM Finsbury is pretty absurd. Heck Apple hired a top lawyer away from the European Commission that was investigating their tax irregularities because that's somehow legal at the moment.
Where are the published results of French cuisine? When can we expect the "okay, here is the final list of recipes"? Religion (and cooking) isn't science. It is a creative process of interpretation that is never supposed to end, and doesn't have the same goals as science at all. The goal of science is to understand the physical universe, the goal of cooking is to make tasty food, and the goal of religion is to try and answer how people should best live their lives and/or help them find meaning[1]. Publishing "results" to religion makes as much sense as writing a musical score to science (both could theoretically be done, but neither would help the discipline...)

[1]: I am not saying religions do a good job at it, only that that is their goal.
That's not the point. The point is that three years after starting with VBA puts you circa 1998, in terms of generic organizational experience related to LOB programming. I went back to the post and sure enough, everything the author states has been hashed and rehashed umpteen times in the last 20 years. Good for him for learning those lessons, sure, but it's mostly irrelevant for the world at large.
How would you have avoided the Miss Universe 2015 mistake?
Buzzfeed is not a credible news source.
It needs to be free, open-source, and available for commercial use. I'm not the only person who ever builds ConceptNet, and my company is not the only company who ever builds ConceptNet. It would be unreasonable to ask downstream users to get a Stardog license.

Stardog doesn't even show me a price for putting a billion edges into it, just an e-mail link marked "INQUIRE", so I have to assume it would be very, very expensive.
Agreed. I had no idea HN had this many teenage conspiracy theorists.
Can you provide anything to support that particular narrative? Or any narrative at all?
I strongly suspect that the page's etymology is wrong -- or more precisely -- not entirely correct. The Latin word for "thousand" is mille, which why the numeral for a thousand is M.

No one would be so asinine to mix numeral systems. Same thing with percent, which originally was rendered as "per-cent", as in "per hundred".
Exploding munitions store captured by Baghdad seismometer
Because all taxes are taxes on people. Corporate taxes are just a convoluted and bad way of doing so.
Learn Elixir. But then I accidentally did that over Christmas vacation for the stockfighter.io challenge.
> If he/she earned it legally, they deserve it.

Utter nonsense. Legal doesn't equal moral nor does it mean fair. Slavery was legal, that doesn't mean the slave owners deserved the profits from their labor (you apparently think it does). Legals means nothing more than we can't put you in jail yet.
Murdock didn't die in police custody and did not die until the day after the events with the police took place. Those events took place because he tried, twice, to drunkenly break into a residence and that resident, or residents, called police.
I don't run any deb based systems and I also vote Y
> Stop whining and blaming Obama; there's no war against productive citizens, you aren't a victim. You don't get to complain...

Everyone gets to complain, you don't have a monopoly on it.

> when you're among the wealthiest...

Not everyone that is wealthy won the lotto. Some people actually worked for it (took risks, worked harder, etc).
For myself, I observe what shows up in my emotions and body. No judgment of myself and those feelings. Just observing. Allowing those physical and emotional states to just be without acting on them is very helpful to being able to be present with and listen to others. Holidays with family can offer excellent opportunities for practicing.
sparse -- adds annotations to kernel code which can be checked by the compiler. It is a little bit like a parallel type system which provides domain-specific knowledge like "this function takes lock A and then lock B" or "this function runs in interrupt context." See https://sparse.wiki.kernel.org/index.php/Main_Page

kmemcheck -- sort of like valgrind, but for the kernel.

CONFIG_FAULT_INJECTION -- inject random faults at runtime (such as in memory allocation) to test infrequently encountered error paths.

CONFIG_DEBUG_MUTEXES, CONFIG_DEBUG_SPINLOCK -- run expensive mutex validation checks at runtime.

coccinelle -- a source code matching and transformation engine. You can use it in some of the same contexts as sed or awk. Unlike those tools, it is aware of the C language so it can do smarter things like add an extra final argument to all occurrences of a call to do_foo_bar_baz(). See http://coccinelle.lip6.fr/

checkpatch.pl -- Checks a patch to see if it conforms to the kernel style guide. Simple things like enforcing 80-column lines, but also more complicated things as well like variable naming, whitespace, etc.

smatch, flawfinder -- static analysis tools that are similar in principle to Coverity. Like Coverity, they are unsound, but often helpful.
Army needs volunteers to eat only MREs for 21 days straight
Yes, and some people should be ashamed of complaining in the name of decency.

> How about when you are the among the ones that took the most risk in life, the ones that worked the hardest

Ah, the just world fallacy and survivor-ship bias all in one. You didn't work the hardest or take the most risks, far more people who worked harder and took equal risks didn't get lucky.
So moved by this post! I wish more CEOs had the courage to post their feelings about how tough it is to keep things together in the face of adversity. This is well thought out, well worded, and completely amazing. THANK YOU for putting a spotlight on what is something most CEOs are afraid to talk about for fear that it makes them look weak. Bravo! Keep it coming. Keen.io is an amazing product and I wish you and your team all the best!
Ask HN: What have you completed in 2015
What have you completed in 2015 or are looking to release in 2016. I use completed loosely. Would love to hear some progress to motivate me into the new year.
I bet there's a hashtable involved somewhere, and Chad's address just happens to hash to, like, 0x00000, and it turns out when that happens, there's a bug.

As a workaround, I bet you can use CHAD@... or chad+blah@...
These laws are definitely binding on the state and local level, where most drug policing is done. Think low-level possession of small amounts. Which, having been decriminalized, means a marijuana user doesn't have to fear the officers that they are far more likely to interact with.

Still, there is absolutely a need for reform on a federal level, even if it's just a law that provides an exception for states with a legalization regime. Otherwise I think you're mostly right. Prosecutorial discretion is the only thing that prevents the feds from swooping in at any given moment.
Alcohol 120% Serial Number Generator Free Download
Eyeroll. And who decides morality? You? No thanks.
Need Timing Diagrams? Try Wavedrom
I personally like the Stanford policy[1]. It basically boils down to: the longer the password, the fewer restrictions. Each password needs to be at least 8 characters, but if you only have 8 characters, you might need uppercase, lowercase, a symbol and a digit. If you have 12 characters, you only need upper/lower/digit. Once you hit 20 characters, you can have whatever you want.

I think that this is a good balance between security for short passwords, while still allowing ridiculously long ones (pass-phrases).

[1] http://arstechnica.com/security/2014/04/stanfords-password-p...
In many cases, landowners are upset that their serfs have deserted the land, and have called for the feds to arrest and return them.

http://www.wsj.com/articles/SB100014241278873239163045784049...
>mugged by thugs. Or Police. Maybe there isn't a difference between the last two.

I find it incredibly distasteful to offer this political commentary in response to a death that has no information about the cause. Please don't ever do this again.
> For every additional dollar I earn, I only get to keep 47 cents of it, just counting _income_ taxes. In reality, only high earners pay taxes.

You say that as if that's a problem.
I've mirrored an archive of the code found in this git repository here: http://mirror.xwl.me/amigaos.tar.xz
No, we; that's what democracy is for, we evolve and over time, the law catches up as the common morality evolves. Or do you really think slave owners deserved their money because it was made legally? That was your argument, that legal means they deserve it, stand by your argument.
Some people also thought "From each according to his ability, to each according to his needs" was fair. Most seemingly disagreed, given how history has unfolded.

For the record, I agree with Piketty, Marx, and others of that particular persuasion. I'm all for progressive taxation, wealth and inheritance tax, all of it. But I'm also not ignorant of history...
In this instance they appear to have done their footwork. They requested for comment on multiple items. They said what they asked and that they were not responded to. They showed a history of companies creating terrible conditions (such as the old bus houses) for their migrants. They showed people suing for lost wages after being looked over for a job (such as the horse lady).

While it's true that settling a lawsuit doesn't mean that they're guilty, with the evidence presented it appears that they probably were. It also shows a wide, possibly systemic response to such abuses on the part of the government: slaps on the wrist for violating the program.

Edited: a typo, missing "y" in sentence They showed a history...
this looks pretty well researched.
Bodyweight only exercise, for example HIIT routines or abs, or even dumbbell based strength training can be done from the comfort of your own living room. I just need 4 square meters.

If you need help, check out http://fitnessblender.com and start at a difficulty level you can manage.
perhaps this is political commentary in response to recent american history, and not limited to these alleged events.
Astonishing Health Benefits of Ginger
Nor am I, and implying progressives are communists is quite intellectually dishonest.
> It's not anyone in particular's fault

If the company producing and selling the hardware is not giving the specs to their users, then it's their fault. Perhaps that's a bit too RMS for some people, but in this case I basically agree with him. It's mine, I bought it, I want to run whatever I want to on it.
You're promoting the false narrative that if someone does better in life it is just chance and nothing else... If you fail, it's not your fault. If you succeed, it's not really your doing.

The formula for success has more than the single variable of luck in it. Luck plays a part, but so does allot of other variables.
Probably because it's not a numeral, but rather an abbreviation for mille.
If it was a race as we contemplate race in its current definition, it would be on the government form I posted.

It isn't. It's not a race like that (nor, really, in any other way).

Yes, some Jews have a common genetic pattern.

Many don't.

Either you're talking about the religion, which is clearly not a race (as you said). Or you're talking about a group that generally shares the same religion, that descended from a few groups that lived co-located thousands of years ago. Of course, many are descended from those groups. What makes that a race?

And I didn't mention Christianity to ask if anyone doubted it existed. I mentioned Christianity to show how silly it is to consider Jews a race. If Christianity isn't a race (even though many Christians descend from a common ancestor), then Jews aren't a race.

- Technically, if you are a Christian, you probably believe you descended from Adam & Eve, sort of the ultimate common ancestor.
They actually have a pretty well-regarded "serious" journalism team.

Times is the only outlet with a reporter on the ground, which makes everyone happy until another editor says, “I think BuzzFeed actually has somebody there.” There is momentary silence.

- https://stratechery.com/2015/buzzfeed-important-news-organiz...
I have one of the new Dell XPS 13 with a high-res screen, and it works great with the exception of a few things that I mostly don't use any more, like Tk.
> Red Hat, Google, IBM and many others

And they are all working on desktop\Laptop support right? Linux is great in the data center because it has big guns behind it in the data center. Linux runs well on cell phones because Google put in the effort. As soon as someone is willing and able to put in the effort on desktop Linux, it will be as good as it is in those other areas.
I see a Cardboard-style icon on the right, is that supposed to switch to Cardboard's side-by-side 3D format? It doesn't for me.
And "we" decide laws. I'll stick to those.
FWIW, I disagree with the ruling. The fact that you have to use an admin account to backup the whole computer is a technical detail that is too complex to explain in an ad.

Edit: Also, if a user can't access certain files then it is unreasonable for that user to expect to be able to back-up all files. That is tantamount to accessing the files.
We currently use Iridium. On Ku band I beleive. I'll look further into this and see what our options are for L-band.

Outernet looks like a great project. How small of a satellite can be used to achieve the connection? Any more info/documentation on the L-band gateway?
Except this big catch is that employees are compensated for the improvements they bring about. That basically never happens in a typical software company. Maybe if you keep bringing in important changes someone will notice and maybe you'll get stock options or you'll be promote to management
The desktop computer market is a pretty small part of the overall kernel developer market. Embedded systems is by far the biggest employer. There are just many more phones and other devices out there than PCs-- a trend that seems set to continue. Linux dominates embedded systems and the server market, so I would expect it to dominate the overall mindshare numbers as well. I would expect OS X to have the least number of kernel developers because there just aren't that many hardware configurations for iDevices, and everyone who is bringing up an OS X board works in Cupertino (which has good and bad aspects, of course).
If you can get acceptable speeds, why not?
Surviving meetings while remote
The Fame Trap (2014)
I'd like to see a citation on the "failure of most government programs" as I believe that statement is specious nonsense.
I want to do something with AI and want to learn AI. Can anyone guide me some cool beginner projects with neural networks?
I am shocked at the amount of H-2 visas in California. We have perfectly good illegal immigrants here and always have going all the way back to the missionaries. There is absolutely no reason any company should be denying these people jobs just to import nice fancy government selected employees.
And thing that we can learn from this is that if everything goes right, companies because of matter of pride, don't disclose the outsourcing. But if anything goes wrong, they will make it a point that they are not the people who have developed the APP but this is that particular agency that did.

business
Their campaign was misleading and it got me to delete my FB acct
Titles are useless, until they aren't.

Titles for the purpose of power is bad in a collaborative work. Title for the purpose of communicating knowledge are pretty damn useful because they are a shorthand.
Can't really blame Twitter for estimating that the minuscule Mac OS market is not worth wasting their engineers on. Better outsource and get your own engineers to work on core business stuff.
>"But the fear that immigrants are 'taking our jobs' is largely unfounded"

Except the entire article was about how real that fear is for certain workers in certain industries. Immigrants aren't taking jobs in every industry, but clearly they are in some industries.
What Harry said.

At the end of the day money is going to land in someone's pocket. It'll be paid out as wages and dividends. A company will spend it on equipment, vendors and consumables. When money is retained, it'll get priced into shares and will get taxed (albeit indirectly) once a shareholder realizes a gain.

Corporations are really good at playing a tax minimization shell game. Big corporations are especially good. This leads to all sorts of nonsense like laundering profits through Bermuda and parking capital outside of the US. In the end all we end up doing is compounding the advantages of size to the disadvantage of smaller corporations. Meanwhile there's the added inefficiency of churning money into tax lawyers.

My expectation is that revenues would increase if we set the corporate tax rate to zero and reallocated the burden to personal taxes.
How to file more patents?