skysight-inc/HackerNews huggingface dataset:
The only reason some regular expression engines take exponential time to match strings is because those implementations don't use regular expressions at all. Features like backreferences break them out of that class of languages. When you take the "regular" bit seriously you can guarantee linear time matching. See the engines used in Rust and Go.
Title:

> Face recognition tech claims to identify terrorists

Last line:

> The evidence that there is accuracy in these judgments is extremely weak

What?

And:

> Faception claims 80% accuracy in identifying facial characteristics

Won't millions of false positives hamper terrorist detection? You got to have an accuracy to identify one in 1 in 100 million, which is 99.999999%.
I have quite a few variables, yes. One of the files I change frequently is an external configuration file filled with credentials which is managed through variables. It looks something like this:

{% for cred in credentials %}
{{cred.key}}: {{cred.value}}
{% endfor %}
Do you use feature branches, or does everyone work off `master` ? (From your comment it seems like you do)

If you use feature branches, then it might help to

- rebase interactively to clean up/edit/remove commits that are not relevant before merging

- merge into master with the `--no-ff` flag - this forces Git to create _one_ merge commit, even if it is a fast-forward merge

FWIW the two above can be used individually or together. The way I work (and many others I work with) is

- create a feature branch off master

- hack, commit, hack, commit

- rebase interactively to clean up history

- issue PR on Github

- Merge using Github (which under the covers does a `--no-ff` merge so you get ONE merge commit)

Bisecting with this workflow is a bit more coarse grained than if you did a workflow allowing fast-forward merges b/c usually the closest I get is to know that it was a PARTICULAR merge introduced a bug or a regression. That merge commit might have any number of commits that constitute it.

Hope that helps.

[Edit: Formatting]

[Update 1] - If you use the CLI to merge, perhaps alias merge to merge --no-ff so you don't forget?
"the compiler might get yell at you when you hit the maximum allowed type recursion limit" is an example of the compiler failing to compile something which is valid in the type system.
Muir Woods (the setting for the ape's home in the latest Planet of the Apes)

A Planet of The Apes remake? That's the first anchor you reach for?

Muir Woods is the planet Endor!
Just Cocoa (Obj-C), SQLite with FMDB, and CorePlot.
I have been a dev for 15 years. Its seems less fun now. I did hard core C++ games for 13 of that (Nintendo DS+Wii, 360 and PS3 games). You always had a pretty good sense of what what going on. Now I am doing web/mobile. Its just a messy swamp. Everyone's first instinct is to slap another JS library on every problem. The build breaks and I ask what does somebslib.js do? No one knows or cares. They just keep slapping more JS on the problem until it looks like it works. No desire to have a clear mental model. No desire for efficiency. Oh well. Working on personal projects is the only super fun coding I get to do.
Show HN: git_left – “Swipe” left to clean up your lingering branches
Reforming Sodom: Protestants and the Rise of Gay Rights
I think this endorsement should be qualified. While it's true there is more space here in GR, there is a reason for that: people leave as soon as they can (for various reasons; the lack of sun (http://www1.ncdc.noaa.gov/pub/data/ccd-data/pctposrank.txt), lack of opportunity or even this vaguely defined yet very strong pressure to conform to an invisible fence of ideology. Change and outside ideas are slow to take root, to put it mildly.

I have worked in tech here for over 10 years and there are very few jobs. I've already used up Plans A, B and C. My next move will probably be somewhere else (if I'm still competitive). This is where you go to retire, not to advance your career.
Tangential, but if you want to recover logs from a stopped container, why not use 'docker cp'?
A Traveler’s Guide to Taking a Smartphone Abroad
good stuff. As far I can see, the current version searches for similar tiles to one that a user clicks on.

How would I train this with labeled training data and custom images, so that I could do searches for specific things, either by typing what I'm looking for into a search field, or uploading an image of it? Sort of like Google images search
Yeah, that's the connotation I was trying to avoid, that's what I was talking about...

>It used to be that your computer had a compiler, and editor, and a shell, and you would go to work, writing code.

By "hardcore coder" I just mean someone who thinks ^that^ sounds like a lot of fun.
Secular not in the sense of patronage, but secular in the sense of independence from theological considerations. Think Fr. Lemaître telling Pope Pius XII to refrain from making proclamations about the Big Bang validating Catholic creationist doctrine.
There is also the `Arc` type, which is an atomic reference counter. You still need those, especially if you need to share stuff between multiple threads.
Tesla: the roadmap to domination
Also related...Newton's method fractal: http://deathray.us/newton/

The JS source is longer.
It was started before Swift become more or less mature, so the whole codebase is in Objective-C.
Images aren't exactly a core requirement; if someone else can handle that without a significant down-side, then why not free up people to work on other things?
We don't do that. We wanted to keep our playground clean:

http://qbix.com/platform

Been accused heavily of Not Invented Here syndrome.
> When I think cutting-edge, I usually think highly specialized medical or military tech - things that a only a small set of people can design/build.

Sure, that is the absolute cutting edge.

But you don't need retail stores to sell specialized medical or military technology.
The problem with RCU is that the name is extremely misleading.

The name Read-Copy-Update describes the general way to concurrently update a shared data structure: make a local copy of the parts subject to change, modify the local copy then atomically substitute the original with the updated copy.

This is absolutely not exclusive of the RCU algorithm and in fact is pretty much how any lock free update of a data structure looks like (and even not lock free, see persistent data structures or MVCC).

A problem that lock free algorithms have is that they need a way to dispose of the now stale original node, which might be concurrently being accessed by other readers. There are many way to handle the disposal: for example hazard pointers, pass-the-buck, and full GC (this includes shared pointers).

RCU is one of these disposal algorithms and it uses epoch detection plus the contract that an accessor thread won't hold a reference across an epoch. Implementations of RCU can be very efficient for read mostly data structures because, on the reader side do not need expensive memory barriers (contrast with the store-load required to for hazard pointer updates even on the read side): a dependent load (the infamous load_consume) is enough.
I think you can do that if you merge with --no-ff, then use git log --first-parent. Only the merge commit will appear on the list, hiding the commits from the merged branch.
¿Cómo proteger la pantalla de tu reloj inteligente?
Microphone array (beamforming) or sound intensity. But since those approaches typically require expensive hardware, the current approach is basically "we don't" unless the frequency characteristics are clearly distinct and we can use traditional equalization processes.

Machine learning has potential (and a lot of people have tried) but it's only as good at it's training.
I agree that "it works" is an overstatement. It is more akin to if it compiles it won't segfault. (Arguably this is not unique to Rust, but there is no overhead in runtime to achieve that).
How long is it -25%? If I try for ten days, can I still get the -25%?
Escape from the Docker-KVM-QEMU Machine [pdf]
To add some (ar least for me) irritating issues:

- frequently restarts for no apparent reason,

- no global copy and paste. I was hoping that would be implemented in 2.0, and I was very disappointed it had not.

Although now I have switched to an Android phone, I wish Jolla best of luck. Hope to try their products in future.
Sure, the point is that it happens rarely with real world code and you can always bump the compiler limit.
Could you quote the parts that you thought were a rant? I'm curious, as I read it in an even tone, and thought it was fine. (I think it would be interesting to see your line of thought)
ASICs aren't necessarily faster these days.
Some of that clock speed comes down to floor planning, which takes a lot of design hours, which ASIC project generally takes more design hours than FPGA anyway.

I am not in HFT so maybe not the best to answer, but ASICs just wouldn't work for HFT.

Basically FPGAs favour low volume, highly configurable projects. Whereas ASICs favour high volume, very defined projects.

Seeing as HFT algos must change often there would be great benefit in being able to reconfigure FPGA.
ASIC you would be stuck with your old HFT algos.

ASIC also are $$$ to produce an initial run, the initial run can also have bad HW bug in it which cannot be fixed and ASIC needs to be respun again, costing more $$$.

It works for Bitcoin, because people lots of small consumers would buy Bitcoin ASIC with simple and non changeable algo and because of the bottom line power usage mattered.

HFT firms I imagine don't care about performance per watt.
I use around 1-3 variables per module and 4-5 modules per playbook. Other than that, the actual tasks are trivial (install package x etc.)
I was referring to the way that DaringFireball does ads. I was not talking about any other aspect of DaringFireball.

If Imgur wants ads, there is a way to make ads sane and still make money.

For what anecdotes are worth, DaringFireball’s method is about the only form of ads that has ever worked on me. I actually read what he says about these companies, and I often am curious enough to go learn more. And he’s charging a lot for these ad placements for a week.

Whereas, I have never, ever been interested in something that tried to use trickery to pop up in my face, play audio, play animations, steal my clicks or otherwise force me to acknowledge its existence before continuing. I can’t even remember what those products were; I can only remember the speed at which I searched for a black "X" button to close the things.
Yes, that's the intent.

The code is executed inline when filtering packets, instrumenting system calls and to prefilter kernel probes for user space. It has to be really fast, i.e. execute in a bounded amount of time.
Show HN: Visualize your vesting equity with a client side calculator
Thank you, I fixed the price.

> Tracking the '6,400 sites, apps and games' is great, but it would be good if I could find out if the ones I care about in that list!

Mostly the ones from top 10k Alexa but all the unrecognized can be categorized easily.
This is a cool project. I thought about building something similar a few years ago when I was doing a lot of consulting. The most annoying part of the work was accurately billing clients when some days I'd switch between several projects.

Here's a few things that could make it super useful:

* Track time spent writing email by contact
* Track hangout/skype/etc by contact
* Track time spent on code per project
* Connect phone records to tie in the time on the phone with contacts

Good luck!
Thanks, normally that would be OK but I basically apt-get autoremoved some system utils [0] and the thing wouldn't boot again. Had been so careful for years, then one careless keystroke and I'd hosed the system. I'd reflash it, but the re-solder of the usb port finally went and took most of the PCB connectors with it. And I was careful there too, again for years. So without booting and without data connectivity, rsync won't be an option.

So it's a case of (I think) soldering a new USB cable into place under the battery, charging, exfil the data, then reflash to finally have it back in business. Albeit with a rat-tail hanging out the case.

--

[0] Never figured out what the utils were, but seem to recall it being part of a python dependency chain. So autoremove had somehow, probably incorrectly, thought it was OK to get rid of a key component of some kind. It was the power kernel with a bunch of mods, so probably my own fault somewhere along the line.
I'll grant that other fish are eaten more, but cephalopods are commercially fished as well.

And for anecdotes, I live in the Midwest US and had cuttlefish last week.
Stripe API endpoint supports SSLv3
Turning bugs into features
It's because programming has evolved. More business owners are also already tech savvy because they grew up with a computer, Ipad, and phone.

In the beginning, programming was more fun. No oversight, bosses that don't really know what you are doing, programming at one point in time was treated like magic.

You glue together other pieces of code because in most cases, because the wheel has already been invented. This really was the dream of open source and with all of the free software and libraries out there, it's becoming a reality.

It's also going to drastically reduce the wage of a programmer over time. Most businesses don't need to hire an engineer to create a complicated library. They can hire someone with much less skill to use an already existing library to get what they need done.

Since the skills to get the job done will decrease, the supply of potential developers will increase and wages will decrease.
This is the new RescueTime! Now you just need to market it to all of RescueTime's users:

https://twitter.com/rescuetime/followers

Small nitpick: How can you guarantee data is kept locally without open-sourcing the app?

This is similar to WakaTime but only for OS X and not as granular data, because one is for programmers and the other more general users.
One last try. I'll stop then.

If you are really arguing that you are inherently more likely to click on the direct link, and it is this click impulse that is used to manipulate you, and that going to a page containing that image plus ads instead is the big negative outcome, then I understand why it is a dark pattern for you.

I did not see that direct link have a higher affordance (that might stretch the term a bit too much) to be clicked on. I still don't – but if you think that there are people that are conditioned to click on those direct links, but would not click on the normal link, then I'll have o give you the point that the heuristically changing of the result page might be a dark pattern for those people.

I'm not aware of that effect, but I can't be sure that for example on reddit for people without adblocker or on mobile for some time the direct link wasn't a positive click signal that conditioned them.

I think that explains why I'm arguing. Dark patterns are a manipulation, and simply showing another page is not something I can count as a manipulation – it is not the same thing as in a window making people click on the wrong button (even though I understand that there is a similarity if you follow a specific line of thinking).
The truck driver and the welder will be replaced by robots. The programmer will not.
They tend to be very different kinds of books. A comprehensive, deep printed textbook vs. what is essentially nothing more than a tutorial or a collection of practical recipes.
Combined with a bias in family courts, an acceptance of alternate families (so a reduction in social costs of not marrying), and a rise in the acceptance of divorce. Why marry when you can cohabitate in a state without common law marriage. Having kids is still a challenge because if the couple splits custody still has to be decided, but there are a few options for that as well.
I thought the very same thing, as I can see the benefits to both having a single atomic commit for ease of reading history, and to being able to see the individual commits that made it up to avoid losing valuable information about changes.

It turns out that the Github "Squash and Merge" option for Pull Requests does basically this – you review the PR as a bunch separate commits, when you click "Squash and Merge" a single commit is created in the target branch with all the commits squashed, but you can still go back to the original closed and merged PR (e.g. by following a link in the commit message) to view the individual commits.

Obviously this doesn't help if you want to bisect among more granular commits, but (without having actually used it), it sounds like a good middle ground to me. The previous workflow I was used to involved squashing and force pushing to your branch, therefore overwriting the individual commits in the PR for ever.
> But the fact that we can't measure it well doesn't mean it doesn't exist. There is a fact of the matter to be found, it's more than just personal preference.

I agree, but we still don't know which side has the advantage and how big the effect is. I believe that if we somehow control for all other factors, the effect of linguistic features is very small, but that "simpler" languages like Java/Kotlin would have the (small) advantage over "complex" ones like Scala. I can support this from personal experience (and also for theoretical reasons), but I can't prove that. You likely have a different experience (and other theoretical justifications), but can't prove your conjecture, either.

> I call that FUD.

I call that silly. It's just as silly as using intrinsic features as a positive. We shouldn't use Scala for a hundred reasons, none of them having to do anything with the formal language acceptable by its type system. ;)
Codeship: The Building Blocks of Your First Bot
The smartest people and the stupidest people study humanities.

If you're very intelligent, you can do very well with a social science or humanities degree. In fact, you will do better than with a STEM degree—the highest positions in society are dominated by people with non-STEM degrees.

On the other hand, it's very easy to end up un(der)employed if you're not particularly intelligent and got a humanities degree. Meanwhile, your equally intelligent peer who got an engineering degree is doing just fine as developer or technician.
Sounds like no plans for Windows platform? (I'm a multiple platform user.)
Article says fewer than Clinton, his main competitor, and is the gist of the article.
I have same problem. :-)
But I am developer, so I can just avoid direct contact with customer and always use text for communication.
Didn't Athens fall because their democratic government assigned too little tax money to military? That's what happened in first Polish democracy (XV-XVIII centuries).
I have no dimmers at all in my house.
Good luck bypassing the unnecessary layers if your code have to run in a browser. Which is exactly an example of such an unnecessary layer (dozens of layers, actually).

And JVM is not any better.
I originally built this for personal use while bored at a previous company, but ended up reviving it for external use over the past couple days. Hope you like it!
There's a difference between serveing mostly text content and mostly image content. Just the difference in bandwidth/server cost makes this a bad comparison.
> No desire to have a clear mental model.

This attitude bums me out so much... Especially when people act like they are "delegating responsibility," when they just don't want to think about one piece of the app anymore.

You can get so many huge productivity/efficiency gains simply by having a clear sense of the whole architecture. It doesn't even have to be one person with the whole thing in their head. Even just documenting out everything at a high level in a centralized place can add a lot of value.
I love DDG, so, it oddly irked me to see someone spell out "gmaps" instead of "gm". Odd how much I was bothered by those few letters. Brevity!
Very interesting. And love the URL :D
The range is quite impressive as well. A real world test[1] showed 366m (almost a quarter mile) with just the PCB antenna.

[1] https://www.youtube.com/watch?v=7BYdZ_24yg0
There are a few ways this argument can play out:

1. You have a moral obligation to litigate moral wrongs, whether or not they happened to you. Since rich people have more money and hence more things are litigable to them, they have a moral obligation to litigate more things. In this view, Thiel obviously did the wrong thing: he avoided litigating moral wrongs for years while waiting for the right case to come up strictly about Gawker. He failed to act ethically, under this model.

2. It is morally permissible to litigate moral or even legal wrongs that were not committed to you. It being permissible means it's a supererogatory feature of your moral life, in that you don't have to do it. It goes beyond the call of duty to sue Gawker for what they did to Hogan. But without a moral obligation to do so, you can't say that it could ever override your other obligations to behave ethically. Retribution, which this clearly was, is not an obviously ethical motive that would mean we should wholesale excuse what Thiel did—even though it may have been a good act to punish Gawker for Hogan, it was morally wrong to use the legal system strictly for retribution.

3. It is your moral obligation to litigate all litigable acts. This is absurd, prima facie: all our money and time should go towards litigation? Nah.

In other words, yeah, the motives matter. Thiel went above and beyond the call of duty and acted unethically, in an especially egregious and self-serving way available only to billionaires, along the way.
No one should pay $120 for 800MB of international roaming. It's absurd! AT&T should look up once in while they're too busy tabulating their profits to pay attention to their customers flocking to tmobile.
I honestly wondered how has any webdeveloper has managed to stay sane during the last decade.

Who said we stayed sane?
All of the data was read-only, regardless of what adapter we put it in (we tried like five different ones). So you could retrieve the data that was baked onto it, but formatting the card was a lost cause.

So getting it to format was like trying to pull Excalibur out of the stone!
This is total bs. $54 million in revenue with an $18 billion valuation? I understand investing in the "future value" of companies, but this shit is getting out of hand, lol.
How much does it cost to keep this small site up and running?
New Zealand visas
or just "!a" for amazon.
The culture of cheating and lying in China is so bad that even the government posted economic numbers aren't trusted. I have plenty of very close Chinese friends and they would be the first to admit that the mainland Chinese culture is messed up these days, and the instinct to lie and cheat is prevalent.
From a shareholder perspective I think she did a marvelous job: The task at hand was never to turn around Yahoo! into a Google-esque profitable tech power house, the task was to protect the shiny glass box in the lobby full of BABA.
Use packet sniffer like Wireshark to track if the app is exchanging data with the Web or not.
My point is that the difference between 9900 and 10200 is not particularly substantial. It's better summarized as "similar" than "fewer".

The differences with the other 2 are larger, but still not yuuge.
Looks like a neat proof of concept, but what sorts of things could this evolve to as a hobby project?

Cracking WEP/WPA on the go?
Yeah, part of me wants to laugh. The rest of me shudders.

Facebook can now tell me which of my friends are poker players, pedophiles or terrorists, 'just by looking at them'.

My daydreams of going offline and becoming totally anonymous have just become much more vivid.
Depends where you live. In many places the piece of paper is very relevant when it comes to things like inheritance and child custody. That was one of the reasons my wife and I got married after living together for 8 years and having a kid.
Their demograph is just graduating high school. They will be very valuable in the future.