skysight-inc/HackerNews huggingface dataset:
>>> "Stop Writing Classes", "Executioner" in "The Kingdom of Nouns" (not!), and all that sort of thing :-)

Are these references to blog posts?
> (or maybe had some core in there that was, while leaving the other UI parts he wants to change on top)

But I did! Have you looked at the dependency list of ripgrep? It's utterly filled with tons of tools that you can pick out and use in other projects for any purpose you like. I didn't mention this in the blog post because there's already too much there, but sure, here they are:

memchr - Fast single byte search: http://burntsushi.net/rustdoc/memchr/

walkdir - Recursive directory iterator: http://burntsushi.net/rustdoc/walkdir/

utf8-ranges - Generate utf8 automata:
http://burntsushi.net/rustdoc/utf8_ranges/

regex-syntax - A regex parser (including literal extraction helpers): https://doc.rust-lang.org/regex/regex_syntax/index.html

regex - The regex engine itself: https://doc.rust-lang.org/regex/regex/index.html

grep - Line-by-line search (as a library). This is where all of the inner literal optimizations happen, for example. http://burntsushi.net/rustdoc/grep/

And this is only the stuff that I did. This doesn't count all the other wonderful stuff I used that other folks built!

And sure, I could do better. There's more stuff I could move into the `grep` crate, but this is only the beginning, not the end.

> "hey, this is something I've been working on: would you consider making grep the first standalone tool to move to Rust, and what would it take from me to make this happen?"

But I didn't want to do that. I don't understand why that's a problem. Doing this requires being POSIX interface compatible, and that's not a hole I care to dig. I don't mean any disrespect, it's just not what I want to spend my time doing.

> as opposed to writing an article about how "I am smarter than the GNU grep people for these reasons and have built a tool named after how my tool is going to kill their tool" which almost seems to go out of its way to set up an air of competition rather than collaboration

I'm really sorry if I came across that way. It was of course not my intention. My intention was to write about what I had learned, which seems like a pretty fundamental component of collaboration. I'm sure five years from now, when I've moved on to other problems, someone will come along and beat ripgrep, and I can only hope that they write about it. :-)

I mean, if it weren't for the innumerable people who wrote about their experience with this kind of stuff, I never would have been able to get here. It only makes sense for me to write if I think I have something valuable to share.

> (I mean: seriously... "ripgrep"?! This developer is clearly going out of their way to be combative.

I'm not. "rip" was supposed to mean "rip through text." I'm sorry it came off as combative. I wasn't even aware of the "rest in peace" interpretation until someone else pointed it out.

Honestly... I was trying hard to find a way to justify the binary name `rg` because I liked that `r` could stand for Rust. But `rustgrep` seemed a bit too in-your-face, so I started searching for small relevant words starting with `r`. That's it.
Why would you do that? The citations are there for a reason.

Several reasons. One of which would be to avoid using the article author's background as part of an argument against the content of the article. Because that would be an ad hominem.
Google to Make the Interwebs Better
Thanks! I'm glad you liked it. Already working on new puzzles...
Well, the reviews don't say flattering things about them:

https://www.drupal.org/node/618912
>Do whatever you normally do on it.

What I normally do involves a lot of software that does not run on Haiku. Is there a Citrix receiver for it? Does Cisco make an AnyConnect client? What about LibreOffice? Java? Flash?

I love the idea of Haiku, don't get me wrong. But the question of "what can I do with it" is not answered by "whatever you normally do", especially if (considering your second paragraph) what I normally do does not entail writing device drivers. An OS means nothing without compatible software. Ask anyone who uses Windows Phone.
My understanding is that since you're only sucking it into your mouth, you aren't getting as much of the nicotine absorbed, and very little of whatever else is in the tobacco.

Even then though, the addictiveness has to do with making it a habit; cigars are typically smoked on occasion with the goal of savoring and enjoying them. Not exactly fit for habitual use.
How is this different from a Managed Security Service Provider?
Trust me, you can have an appointed governor, yet many civil liberties and the rule of law.

Conversely, you can have a "Democratic People's Republic" without either (looking at you, North Korea).

Of course the UK was hypocritical in "recognising" the importance of democracy just before handing HK over to China.

But that HK enjoys civil liberties and the rule of law, more so than the mainland, and has so even under British administration, particularly after WW II, is undeniable.
Is a millennial listening to one of the most prolific, well known, heavily advertised, critically acclaimed, etc band in the history of modern music really newsworthy? (no)
I've only ever heard of companies offering to withhold enough shares to cover the tax obligation. Is that what you mean, or do you really mean giving the employee an additional cash bonus to cover the taxes?
Is that a problem somehow?
For a blue whale I get around 5000kcal; I'm not sure if this is a little or a lot.

Of course, with the various inefficiencies involved the whale would need to eat a few times more than this to break even.
British HK was better for freedom of speech and rule of law, I believe. Participatory government is important but not the only factor in freedom.
Dumb question: Does it mean, it is law now.
Not just companies, countries like Russia. SpaceX is eating their space lunch.
No I wasn't missing a point;I was missing an entire data set! I didn't know they moved that down to primary school! I knew they switched from English to Mandarin but I didn't realize they pushed it down to grade one.

I am obviously wrong on that point. Thanks for the info.
The volume of a rocket is predominantly composed of fuel. And even if a puncture doesn't cause an anomaly at sea level, it most certainly will upon some flight condition.
Not one but two important omissions (from the title):

This is a ruling by the European Court of Justice.

It applies to workers with no fixed office. Commuting to work is still not work.
Wisdom from an anonymous gist
To me Twitter has always been real time news.

Why haven't they worked on a way to 'validate' tweets around a story, I can't understand it (from a biz perspective, not technically).

With validation they become, instantly, the #1 news agency in the world.
With an explosion that large, you would never find the bullet.
> productive part is preventing them from damaging public safety and the lives of others

So y'all are doing the bare minimum over there? Well done you! Hope you catch up soon!

Yours,

The rest of the world
This argument is circular: the "oversupply" isn't relative to the market's ability to pay, it's relative (broadly speaking) to the amount the government is willing to spend on the positive externality of available research. If the marginal output of a new scientist is low due to "lack of things to discover" instead of "lack of funding", _then_ you can talk about an oversupply. I've yet to see any evidence that this is the case, and it certainly would be somewhat ahistorical for the hard sciences.

By (imperfect) analogy, what you're saying is equivalent to looking at our crumbling infrastructure, lack of investment in infrastructure, and high unemployment among construction workers and saying "the problem here is an oversupply of construction workers".
Can NYC Find Balance with Controversial Free WiFi Kiosks?
They don't have to hit just the helium tank to cause the explosion. Any fuel tank would probably do.
My apologies. Someone later on in the thread gave me an update on the educational language changes and it is indeed absurd.

That said, as a member of the HK diaspora, whenever someone complains about culture it often ends up being a nativist argument against immigrants. To hear someone from HK bring that up, especially against a population we are similar to, is a bit hard to take.
You can teach adjunct at a local city or community college. People with your kind of skills are in demand, I'm sure they'd love to have you, even if just a few hours per week. And no PhD required.
Seeing a lot of arguments about profitability that don't make sense. At Twitter scale, profit sensitivity to even minor tweaks in ad rate/targeting/placement is massive. They could also go into 'maintenance mode' tomorrow and break a massive profit (it would just be stupid).

Active users is a poor metric for Twitter. It's much more about the views. A relatively smaller number of people on Twitter can command an outsized influence. It's a fundamentally different kind of network.

Twitter's future will probably be more about monetizing its viewership. It's definitely not going to disappear anytime soon.
One nice thing about having your calendar, or a todo list longer than a day, in org, is that you can use the fantastic agenda mode.

Also, org has support for literate programming, multiple files in one org file (at least one person stores all their config files in an org file). It also supports publishing, a rudimentary spreadsheet system, and countless other things. There's a reason why so many swear by it.
Alright, everybody, start looking for the grassy knoll...
That seems unlikely to be the "end of story". I don't use any of those, but I use wechat heavily. It's about where the people you're talking to are.
Dark matter in galaxies is distributed exactly the same as matter is
Note that the second-stage helium system was also the source of the previous explosion of a SpaceX mission to the International Space Station (which blew up during launch).

https://en.wikipedia.org/wiki/SpaceX_CRS-7#Launch_failure
الجزائر ستبني محطة طاقة شمسية في عاصمة الصحراء ورجلة
There's also the whole conspiracy theory with Israel not wanting the launch to go through because it was a condition for the sale of the Israeli Spacecom to the Chinese, and Israel wanted to
maintain control of their space industry.
I can't think of any particular piece that requires Rust specifically for performance, no. The real beauty of Rust is that I was able to achieve this performance in the first place, all with very very little use of unsafe (even in the regex engine itself).

But of course, as we all know, performance isn't everything. Even ripgrep itself accepts a performance penalty in its default mode of operation, in order to improve the relevance of results shown.
Do not take legal advice from HN (or anyone else on the internet). Ask your business's lawyer (and your insurance company).
Comments on Code Comments
Even if I hadn't quit smoking, I would definitely not inhale cigar smoke ever again. That one time I did it, I couldn't speak the next day. My voice just didn't work.
It's not even unique. NASA didn't even build the F-5 rocket engines that sent men to the Moon; Rocketdyne did. That's the way government contracting has pretty much always worked. The government typically does a bunch of R&D work, and works with commercial companies to actually build things, especially in quantity.
If the failure has been isolated to the helium tank, that further debunks the 'sniper' hypothesis, right?
He certainly made quite a big (and lasting) impression on Hong Kong people. Perhaps by fate, he was the only career politician ever to take the role, and to date he is still the governor/chief executive with the most political skills ever to have led Hong Kong.
Don't worry about his comment. He has no idea what he is claiming. These recent attacks are labeled record breaking because they actually are. This one at 620Gbps and the recent ~1Tbps against OVH are the biggest in history, and still 5x less than what he claims.

Of course we will get there sooner than any of us in infosec want, but he is almost an order of magnitude off of what realistic threats look like.
No it's a reference to K2 which has actually been a huge problem in NYC. A month or two ago there were like a couple dozen people hospitalized in a single morning
Learn F# for the masses
Better yet, if you use Emacs, have a TODO.org

Seriously. There's a reason I've been singing org's praises throughout this thread. It hasn't been amazingly useful to me personally (I take my notes on paper), but it's a really high-quality tool, and if you're already using TODO.txt it's like that, but with agendas, sorting, organization, calendars, and countless other useful features.
Helpful! Surprised YC doesn't do this too. Maybe you could host it on your github acct and get your name out there too. Also, changes can be submitted as a PR by anyone.
How does this business scale without affecting quality?

Why is the birth of this particular (small) security consulting firm more newsworthy (in contrast to all of the others that have popped up)?
You could pop an aneurysm alone in your home, and if the kids are too young they wouldn't know what to do until someone found your body.
I'm not super familiar with the history on this, but the reasoning he gave seemed plausible. From the anectdote about a random group he joined consisting of a high percentage of martial artists, to the slang analogizing programming with martial arts.

Sure he might be biased because he also does martial arts, but it is also plausible from the stance that he is unbiased.
Couple of comments:

The URL days.to is cool, but from a comprehension point of view if the event is more than a month away, should start using weeks, then months, then years.

Filtering by locale would be helpful

There is lots of open source data on astrological events: eclipses, NASA satellite fly by's, etc.

Gamification. Allow users to submit photos for each event and allow all users to vote them up and down. Props for users with most or best photos.

Or allow users best place to be on that particular event. Again, allow users to vote best up or down.
`ag --pager` is the most important one (I use alias ag='ag --pager "less -FRX"')
But:

> Through the fault tree and data review process, we have exonerated any connection with last year’s CRS-7 mishap.
This sounds like a great idea! Kudos and best of luck!
Paper: https://arxiv.org/pdf/1609.05917.pdf

One of the possible conclusions:

"Thirdly, the one-to-one correspondence between gbar
and gobs suggests that the baryons are the source of the
gravitational potential. In this case, one might alter the laws of dynamics rather than invoke dark matter."
> nor consuming any energy on your radio

This simply isn't true. You'll be using power to demodulate at a minimum. You'll also be using energy to ammplify the incoming signals and a variety of other things.
15 minutes of coding, perhaps.

Then an hour of writing good tests.

Then lots of manual and automated testing on four or five platforms, and fixing the weird issues you get on Windows XP SP2, or only on 64-bit Linux running in a VM, or whatever.

Then making sure you don't regress startup performance (which you probably will unless you have a really, really slow disk).

Then implementing rock solid migration so you can land this in Nightly through to Beta.

Then a rollback/backout plan, because you might find a bug, and you don't want users to lose their session between Beta 2 and Beta 3.

Large-scale software engineering is mostly not about writing code.
> when a university education was given to me, I thought I could just "follow my dream" and not concern myself too much with making an income, because why should I? Making an income had never seemed like a concern, so I studied pure mathematics.

Are you talking about your math undergrad degree, or graduate degree? Pure math is perhaps a bad example here: in my experience, damn near every high paying field is glad to see a math degree (including seemingly unrelated fields like law, medicine, etc). I've done really well in tech and my math degree (both on paper and in practice) has contributed a lot to that success.

A math graduate degree is a little less of a definite pay-off, but I had a math PhD under me at Google who got hired in with no engineering experience whatsoever at something like 200k/yr. It took him about six months of a bit of handholding but he ended up being one of my most dependably talented people.
That's exactly what I've always been told. If you're wearing a skirt/dress, the bar on a guy's bike will push your skirt up and create a scandal :O

So "girls' bikes" have a dip in the bar so there's room for a skirt/dress. Still, I wonder if there's a reason they just didn't make all bikes like this to make it cheaper for the manufacturers.

I'd imagine the straight bar could offer more rigidity or I guess maybe it costs slightly more to make the curved version with a longer bar and the process of making the curve. If that's the case, I guess margin-shaving bike manufacturers only made as many of the curved model cycles as they had to in order to address the demand from skirt/dress-wearing customers.
Ya, because who needs to know about exotic microbes living in extreme conditions at the bottom of the ocean. /s
I found that puzzling too... doesn't this mean it was the same component, though perhaps failing in a different way?

Sounds like that pressurization system needs to be taken out back and shot.
I suspect (but do not know) that this is information that Google doesn't want out there. It costs them an information edge in negotiations that may cost them hundreds of millions of dollars (again, my guess). So it may be very painful for Google to have this information out.

Oracle may have done this deliberately just to make the lawsuit more painful to Google. The unspoken message is "Don't you want this to just go away? You could settle with us. If you don't, we can continue to make it hurt."
The Megaprocessor Laughs at Your Puny Integrated Circuits
Don't spend time on reddit if you are so easily upset.
If your usage of chemical solvents was not legal (given that the waste going down a driveway would generally flow to a storm drain in most driveway scenarios) you may have other vulnerabilities here.
Note that in the field of cryptography, the term zero knowledge refers to zero knowledge proofs, which predate that company by over 13 years.
4 Challenges to Delivering Big Data Analytics for the Industrial IoT
Sorry, I legitimately thought it was interesting and relevant
Ask HN: TaskWarrior or Org?
As an Emacs user, I go with Org by default whenever my needs align with its featureset (less than you'd think, but still...), but I've heard some swear by TaskWarrior.

So, if you use either, and especially if you've used both, what's your $0.02?
I love how it is all about having 'enough' or the 'right' education, this idea of herding the unbelievers onto the straight and narrow is quite Christian of them. At least he has not been cast out as a heretic. There is hope for Luckey yet.

Just the other day somebody was offering money to find something to blackmail Peter Thiel with. 2000 dollars for a bounty.

A few minutes ago I saw a declaration that all bigots must be removed from society/earth.

Imagine if this continues for a few more weeks. I will watch the new Purge movie in anticipation.
True, but then again titles are limited to 80 characters.
RELATED:

"just had dinner with a credible source i trust that spacex is about 99% sure a COPV issue was the cause. 'explosion' originated in the LOX tank COPV container that had some weird harmonics while loading LOX."

(COPV = Composite Overwrapped Pressure Vessel, they are titanium bottles wrapped in layers of continuously wound carbon fiber + resin)

https://www.reddit.com/r/spacex/comments/545dju/unconfirmed_...
And who gets to be the judge of what's offensive anyway? If I were the judge, all kinds of speech would be illegal because I find it offensive: anyone saying anything good about Windows 10 or iPhones, for instance, would be locked up, because that offends me! :-) I had a coworker years ago who I overheard talking to another coworker, and he claimed that he was "offended" by gay marriage and any kind of obvious expression of homosexuality. I, personally, was extremely offended at having to look at him, because he was so fat.

So how do you enforce such a vague law anyway?
Sure, your compiler won't tell you what's wrong, but your REPL and your tests will.

If a REPL and tests make you powerful, then a type system that doesn't drag you down and good tooling around that will only make you more powerful.
Yeah I definitely would, that lends a lot more reliability to the data.
Not sure how true this report is, I still see those 2 pages posting every hour. Why did Facebook target a specific administrator and not the rest is a question.
1. It doesn't.

2. I don't know.
Using private mode and a RAM disk is a quick solution for this issue. Easy to setup on Linux and there is a free RAM disk utility on Windows as well.
As an ex cigarette smoker I can attest that this is true. Cigars like pipes aren’t addictive as long as you don’t inhale. The problem is that you run a much higher risk of mouth cancer, not to mention the damage you’re doing to your teeth and gum, since one cigar has the equivalent amount of tobacco as a whole pack of cigarettes. So if anyone is smoking two or three of those daily they're pretty much fucked in the long run.
...And that's what Flow does.
Session store contains open tabs, windows, history for each tab, form fields, referrers (so we can re-request the page correctly), titles (so we can restore tabs without re-fetching every page), favicons, charsets, some timestamps, extension data, some kinds of site storage, scroll positions, and a few other things.

The goal of session restore is to restore your session -- your open tabs should come back, the same pages should load, scrolled to the same place, and with the right content.
Read the Collapse of Complex Societies by Joseph Tainter. It is the Bible on this topic.
PCRE suffers from worst case exponential behavior, so it's not suitable for all tasks.

For the most part, the syntax supported by ripgrep is a strict subset of the syntax supported by PCRE.

But yes, I can agree that supporting PCRE can be considered an advantage if you use advanced features heavily (backreferences and lookaround come to mind).
Articles like this are great and we need more of them. However, I think there are two problems.

1. It does not appreciate the significant risks of using online password services, listing keepass last and calling it's interface "clunky". KeePass should be the first choice in the current marketplace.
2. It does not cover expiration dates at all.

Some might disagree about issue #1.. but Issue #2 is a big one. The linkedin and dropbox hack showed that crackers are patient. Anyone who wants to contribute by writing more articles like this (please do!) should emphasize the importance of expiration dates.

also, I disagree that the "key + password" method is nerdy at all, or too much for 'general audiences' to handle. People need to grow up, and we need to encourage them to handle new technologies like adults, rather than treating them like children who can't handle the responsibilities.
I need an R5RS+ Scheme that is tightly integrated with Rust. High-level and fast enough, with the ability to drop down into Rust for speed.
So I have to choose between a wife and a house? Eek... I guess I can always just get a dog. Sadly, I say that only half jokingly.