skysight-inc/HackerNews huggingface dataset:
> Can you spot the bug?

I assume one of your handlers invokes RegisterMessageHandler invalidates the iterators to handlers_[some_queue_name]. As such, the following line exhibits UB:

for (auto &h : handlers) {

In practice, the exact behavior is likely to depend on if the vector resized it's underlying storage or not.

EDIT: I'll also note that using a debug build of the SC++L with iterator debugging enabled should give you a useful diagnostic here - given a modern SC++L implementation. Whether or not your application runs well enough, to actually get to the point of being able to reproduce the bug with iterator debugging enabled, is another matter entirely of course.

EDIT x2: I'll further note I'm cheating here by having encountered and fixed this same bug on a different codebase.
Wired also did a good writeup in 2014: https://www.wired.com/2014/10/content-moderation/
Well one movie can be in many categories. And Netflix has some pretty diverse categories (e.g. "Movies featuring an epic Nicholas Cage breakdown", which appeared once for me).

Though I suspect some of the 76000 categories contain only movies that are no longer available.
But then you will completely miss all the advantages of the new platform has while getting mad at everything that doesnt work exactly as in osx.

You will be running back to osx in no time after a horrifying Linux experience. So take my advice: save yourself the headache and stay with Apple.
One movie can be in multiple categories.
Well, the actual names of the base pairs they used are dNaM, d5SICS and dTPT3. It doesn't seem to me there are any good choices.
mpv beats VLC at that game. :)
Seriously? 5 submissions in less than 24 hours. Just let it go.
Yup, I hit tab a few times, and I also expected it to automatically convert .'s to ->'s.

But despite that I still managed about 60 wpm and 95% accuracy on the snippets I tried.
I wouldn't try that as it will likely break the auto-updater when it tries to update the Widevine files.
With us or against us is some bullshit logic. This is not a binary issue.
I don't think either of them are using Widevine.
Not that I know much about horses, but I took a western horseriding class as a kid and they taught me that horses do the same thing when you saddle them - expand their bellies so you can't tighten the saddles too much. The instructor would give them a healthy slap in the ribcage to make them relax and then cinch it up.
I think GP is saying precisely the opposite. They don't want to work with managers that judge their employees by WPM or hotkey knowledge.
Unfortunately, I don't see any real way out of the trap.

Some new device or application will introduce a new metaphor or technology that eventually trickles into existing software. Unfortunately, last time this happened that new tech was touchscreens, and I fear voice is next. These are both regressions in efficiency for lots of tasks.
Being easy to use for people who don't want to learn new things is not a good driver for language design unless the primary motivation for the language's development is education. If you want to use C or C++, use them. Rust is its own thing and it will either succeed or fail to break into the mainstream but I can tell you that if it was just C or C++ with lifetime stuff bolted on then I would never have bothered learning it.

Criticizing it because C/C++ programmers can't just drop into it and start productively writing production-quality code is very short-sighted, IMO, and it's amazing how much it happens around here.
The performance argument I can accept (I've done PL/SQL coding and administered Oracle clusters years ago). But when it comes down to it, PL/SQL can possibly only benefit from lower inter-process or JDBC driver overhead vs. Java, say. I've seen PL/SQL becoming a CPU bottleneck in large real-time migration projects.

To encapsulate business logic using PL/SQL, however, is crazy IMHO. Rather than coding your business logic in a mainstream language (with incomparably better staffing and tooling), you now have it in a proprietary niche language with awkward or even non-existent debugging.

Also, the relational model is (or should be) the unified access at this level IMHO, rather than some ad-hoc data access layer.
I've installed a dedicated webserver back in 2006 when VM's and VPS'es were less common. In 2007 it was upgraded from Debian Woody to Debian Etch and it kept doing its job until it was decommissioned with nearly 8 years of uptime. I find it quite remarkable that there we no datacenter power outages or any hardware problems (machine had a single HDD) during that period. And apparently the software (a Drupal website) didn't have any obvious vulnerabilities either.
Although the voices are most likely not real, like recognizing objects in clouds, how do you know there really wasn't something there? (Puts pinky next to mouth) ;)
Indeed. There's a wide spectrum of software complexity and while committing to trunk every day might be reasonable for lower complexity projects, it's definitely not for higher complexity ones.

Having such a requirement also means that people can't undertake major refactorings/rewrites of significant subsystems, leading to long term tech debt.
Is it possible to disable DRM in Edge?

Did that binary ever listen to anything? And as far as I know, the hotwording binary outrage was about Chromium, not about Chrome.
I think a big part of it is anonymity encourages people to let out the worst aspects of their personality. I think if a forum required people to use their real identities you would see much less objectionable contact (but probably also a lot less interesting ideas)
> You don't want to work with people who type slowly?

Pretty sure he meant it the other way. He doesn't want to work with people who would judge him for typing slowly.
I have a feeling this is a bug rather than a deliberate choice, given Google are trying to encourage use of HTML5.
> What's the worst thing a monopolist can do? Charge unfairly large prices.

It's not so much about Rockefeller being a monopolist as it is about him being a private citizen with truly enormous economic power, while being zealously devoted to a simple cause, and having the ability to rationalize away all doubts. These are worrying personality traits that facilitate doing great damage.

In the case of Rockefeller, these personality traits led to constructive outcomes, but the point I was trying to make toward the end was that it seemed a chance event that he would use his power for the philanthropic projects that he chose.

Here's a hypothetical: what if, for instance, Rockefeller had supported eugenics rather than medical science? How would that have turned out?
In addition to the EFF Security Self Defense (https://ssd.eff.org/ ) I've also seen this circulated: https://securityinabox.org/en/

Personally I don't think these resources go far enough, and some of the methods recommended have obvious exploits, or are too complicated for the less tech literate. Lot's of work to be done in this area for sure
In subversion the only way I can possible develop with sanity is in an "unstable trunk". Branch off releases N weeks before shipping, and have only the requirement that trunk passes automated tests while release branches are manually tested. Obviously you don't release more than say once every month or two, but that's more than enough for most.

I'm honestly not sure if the site is satire?

No one develops in long lived feature branches in svn (rather, everyone does, but most only try it once before they realize the pain of trunk based dev is much smaller than that of svn merging).
SEC CIK Confirmation Codes to Retrieve Funds on the Web
I have some quibbles with this (the first, practical, checkbox guide post; not so much the longer, abstract policy one).

* At-risk users should disable SMS 2FA, and favor code-generating applications instead. It takes some effort to disable SMS, but that effort is worthwhile, because SMS is quite insecure.

* The guide correctly notes that attachment are dangerous, but isn't very pragmatic about how to handle that danger. I think the right answer is: establish a rule that you won't be using email attachments to transmit documents. If you can be sure of the provenance of a file, you don't need an error-prone dance to pre-screen it before opening it on your desktop.

* The guide wildly overstates the value of full disk encryption. FDE handles almost exclusively a single threat: the physical threat of your unattended computer. Alter any of those words, and FDE does essentially nothing. You should, of course, enable FDE. You should not have high expectations about what it accomplishes.
Amazon is definitely using Widevine.
MacBook Pro 2014; runs Linux just great. MacOS also relatively Ok, but much more buggily.
Why are you not responding this way to the thread starter? He gave zero explanation of how OSX has "great features". I've made the switch from OSX to Linux (after over a decade of using Macs) and the only thing I miss is Network Link Conditioner, just because the Linux equivalents are a bit tedious.
Based on their description, it seems so, but what if your body builds an immunity to the effect over time? You could end up gaining weight long term or experiencing some sort of strange, painful side effects if your body eventually ceased producing or reacting to the hormone when it should. I wouldn't risk it until they study it more.
Is there a good way to integrate ClojureScript into an existing JavaScript project yet (not vice-versa)?

All I want is a ClojureScript Webpack loader.
I can still type just as fast as I could before I switched on qwerty keyboards. I left my laptop keyboard qwerty and just switched my external keyboard to Colemak so I swap somewhat frequently depending on if I'm at my desk or on the couch/out of the house.
Around the election there was a ban on political topics because the front page was almost entirely politics and flame-wars. See https://news.ycombinator.com/item?id=13108404 for details.

Now that politics is an open topic again and Trump is President of the United States, people seem even more charged. What dang originally called out during the politics detox week was this:

> A community like HN deteriorates when new developments dilute or poison what it originally stood for. We don't want that to happen, so let's all get clear on what this site is for. What Hacker News is: a place for stories that gratify intellectual curiosity and civil, substantive comments. What it is not: a political, ideological, national, racial, or religious battlefield.

I agree with dang; I think a few political articles on the front page a day is okay, but It can easily turn into around the clock flame-war.

The sorts of stories that marry politics and intellectual curiosity are what I want to see on HN: anything about the technology behind fake news, research on fighting populism, using the internet as a tool against fascism, etc. Maybe less of "tech company takes stand X against Trump policy Y".
> Each title belongs to about five categories on average?

Only if each category contains one title on average. More likely each title belongs to more than a hundred categories on average.
I don't understand how these are vital to this community, can you explain what we would be missing without them?
So you expect them in the future to seek out the higher priced legitimate product?
You have absolutely no idea what you're talking about.
I had a Win2K AS file server that would go years at a time after MS stopped pushing security updates. I switched to a Linux micro server a while ago and now currently use a Mac mini. The Mac Mini honestly has had the worst uptimes of the three.
Depends on how long you have, how unfamiliar the code/build is and what the goal is, but spend as much time as reasonable getting tools to work first.

Make sure you can figure out what function is actually getting called when you see a function name. Tools like Source Insight can be useful if you need to get up and running quickly since they support very loose searching rules. I've also heard good things about SciTools Understand, but never used it myself.

The best thing though would be to get the software running in a way that you can debug it. Being able to step through code and see how data is modified and which particular implementation of an interface gets called, etc, can be very helpful.

Being able to exercise the code in question always makes it easier to understand because you can think about it in larger blocks than trying to form an picture of the larger goal line by line.
I hate when people ask for "data to back it up".

Just google it for yourself. This is a forum, not every post needs to be a peer-reviewed scientific paper. If you don't believe the OP then go ahead, but getting him/her to jump through hoops to try to prove a point is dumb.
So... anyone wanna run a quick scrape to dump the full list? I'd be interested to see how obscure they get.
Node based YouTube to gif converter
Sorry for being very negative, since I'm generally happy about every initiative that looks into these things, but:

The format looks needlessly complicated and not very "open web" to me, compared to e.g. HTML with maybe some extra info, e.g. microformats2 syntax (could even reuse existing vocabulary from there). Works in browsers, feed readers, website-previews in other software, ..., and software that understands the extras can upgrade the presentation with them). It's not clear to me what downside of existing formats this solves that couldn't integrate with what exists already.

Also, while some standard for decentralized publishing would be useful, I don't think it's what journalism needs to fight fake news/propaganda, those happen on totally different levels, so bringing that in seems odd. Decentralized publishing won't be suddenly enabled by a new file format.
No. a masters isnt all that valued at 90% of cs bachelors employers.
> !s in front

Any position works
Most political appointees expected term of office is tied to their party controlling the appointed office (and often times the person that appointed them doing so, as even another person from the same party will want to bring in their own people.)

Thus, people who consider taking these offices need to have the ability to get other work need to have work they can do in between political appointments, so if you ban them for an extended period from the broad class of out-of-government jobs that the experience and skills developed and used in their public work would be most applicable, then people with viable alternatives are just not going to work in the public sector at all, unless they are so independently wealthy that they don't need work at all.
Agreed that the ACLU has no reason to downplay the number, so maybe it is more on that order of magnitude.

My only point of confusion is whether the ACLU is committing to helping all people in this situation (100-200 total) or if they are saying they have the resources available for a limited number of people (100-200 of potentially more).

Either way, it would be great if the US government -- which is the only entity able to factually calculate this number, and which could have determined the number before enforcing the EO by cross-referencing passenger manifests -- would act like responsible adults and admit what they have done.
هدف مصر في المغرب هدف كهربا 2017-1-29
Long lived branches add complexity too, it's just hidden in GIT. The main issue with feature branches are merge conflicts: they are the most evil operation one can imagine. First you have your code, that you understand. Then you have others code that you have no idea what it does, so first you need to understand it. This might take hours when done properly. Usually people skim over this part BC it's boring. This leads to superficial merges that leads to very very evil and hard to find bugs. And these bugs are super hard to find in git logs, since the merge commit is 2 or more people's code.

Whereas the alternative, feature toggles are much better: first you don't need one for every small thing, add them to bigger features that take weeks to implement. With a team of ~10 developers you should not need more than 2 at one time (if you have more the management is at fault).
Then feature toggles enforce modularity: by principle you should use them in as few places as possible, this will make the interface between the new feature and your current app as small as possible. This is a good thing!
Open-source macOS app I built that automatically refreshes your wallpaper
Hey guys, I thought I'd share the open-source app that I've been busy building this week! Wallpaper is a simple macOS app built with AngularJS/Electron that sits in your menubar and automatically refreshes your wallpaper with beautiful high-resolution photos from unsplash.com. Enjoy!

https://github.com/andypotts/macos-wallpaper-app
Do AS/400 and OpenVMS systems support live kernel patching? Can you patch the entire OS (even the lowest layers) without any reboot? If they don't, then you can't have zero downtime for years unless patches aren't being applied, which is rather bad for security.
I think the more interesting thing about these ancient programs is the question of why projects to modernise them fail over and over again. Of course we can already guess many of the answers without even reading any post-mortems, but obviously these organisations were able to execute complex IT projects once upon a time and over the years lost that ability, leaving them stranded with ancient systems.

In the case of MOCAS I'm going to assume it's all of the standard reasons: weak management, absence of competition, over-reliance on the same small pool of defence contractors that know how to navigate byzantine federal procurement rules, etc.
This is nothing but an appeal to authority.

To suggest that accurately gauging the limits of our current knowledge about biological systems is 'anti-scientific' or 'anti-intellectual' goes against everything science stands for, and firmly crosses the line into blind scientism.

It remains absolutely true that we understand the software systems we build far better than we understand the biological systems that we are intervening in.

There is also a straw man in the suggestion that I have said we shouldn't 'do things' until we know more. I never said that.

I simply think that pretending that our understanding of software systems is representative of our understanding of biological systems is a delusion.
Now I have to assume you're just being funny.

"The added benefit of the USPS being a federal agency (well maybe not so much with Trump), we could pressure the politicians to ensure customers are getting good service."

No, the innovation hasn't already happened. Just because UPS and FedEx aren't doing PR stunts like Amazon's 60 minutes advertorial built around drone delivery the day before Cyber Monday doesn't mean they're just sitting still.

As for autonomous vehicles. Lots of people are working on the tech and once it becomes interesting for last 100 feet delivery in a few decades UPS and FedEx will have plenty of options to deploy it.
What Types of Home Businesses Should You Consider Starting? – Money Quick Fix
The finger pointing at the graduate student Heather Ames reminds me of the concept of gas lighting, derived from the 1944 movie Gaslight:

gas·light

ˈɡaslīt/

verb

gerund or present participle: gaslighting
manipulate (someone) by psychological means into questioning their own sanity.

https://en.wikipedia.org/wiki/Gaslighting

This is a fairly common bullying tactic where the bully both bullies, usually secretively, and tries to make the victim look like a nut case.

The story, with others pointing the finger at Heather Ames, raises the question whether more people were involved than the single researcher who was caught on video. While self-sabotage was certainly a possibility, sabotage by a colleague or co-worker was clearly a substantial possibility and reportedly proved to be the case.
Waaay oversimplified.

It almost sounds like you're suggesting that if we use any plastics for convenience then we have no right to ask corporations to not wreck the environment wholesale.

I use plastics, but I dispose of them in the trash or recycling, and I sure hope they don't end up in the ocean. If they do, then I'd be happy to work on a government solution to not have all our trash end up in our food. So comparing using packing to creating pieces of plastic in shampoos that nobody asked for that go into waste water is not reasonable.

Also packing materials is a terrible choice because I can't choose my packaging materials. I'd be fine if all my things were packed with paper, it just saves amazon 20 cents to use styrofoam peanuts. I'd gladly pay 20 cents more for paper-only-packaging.

The other point is, you're making the whole thing unreasonably black-and-white. If you think that consumers are the problem, why not come up with some kind of research that explains why most of this plastic in this fish comes from things uniquely under a consumer's control.
An IDE does greatly reduce typing. What we need next is some advanced voice input added to our editors. This "John Henry" mentality that developers have about typing never seems to go away. We should be building smarter tools. We're getting closer with voice.

VimSpeak: https://www.youtube.com/watch?v=TEBMlXRjhZY

Using Dragon: http://ergoemacs.org/emacs/using_voice_to_code.html

Using Kaldi: https://www.reddit.com/r/speechrecognition/comments/5p3uxb/p...

This toolkit seems to be the most widely used: https://github.com/dictation-toolbox

Better predictive typing would also be useful. Computer languages often greatly narrow what you probably want to type next, because of scope, for example.
We are not making the comparison 10 years ago, we are making it now. What real features does Oracle have that MySQL/Maria/PostgreSQL do not have now.
So the person that has an opportunity to misunderstand the specification (the developer) is given the task of writing the tests to OK them, even though the test is based on the same misunderstanding?

That's terrifying. After 15 years in the same field I still don't have half the business knowledge as those writing the specs I implement. I would never ever want a nontrivial feature I wrote to hit a customer without manual testing by an expert in the area.
I was hoping there would be something in there about how he could detect active RF transmission from devices even in a blinded trial. That would actually be interesting. Otherwise this is just another story about someone who has managed to fool himself, like a doctor who believes that HIV doesn't cause AIDS, or a biologist who believes in Young Earth creationism.
I was assaulted while researching, but was too scared to speak out
It's a sentence in a press release, not an order.

> I'm not sure who they are trying to speak to here, are they admitting they will follow the judicial order?

It's a press release, so the audience is the press (and the public.)

It's probably deliberately contradictory specifically so that people able to read their own preferences into it.
Sorry, but the parent commenter had a point - it sounds like you did not pay enought attention to the article.

> elementary almost completely removes menus. As a heavy
keyboard shortcut user this makes discovering shortcuts
difficult

> the Mac App Store, Homebrew and Arch Linux. With each of
these it’s a simple matter to install the latest version
of a tool or application. On elementary I ran into a
number of cases where software I wished to install did not
exist in the Ubuntu repos or were outdated

> as time went on I started running into more bugs [...]
At this point the system was actively harming my productivity

This doesn't seem to fare very well for your 'as long as everything works' view. The difficulty to install popular software is the exact opposite of that. I love Elementary OS and its UI style/guidelines; found it many years ago, but have stayed with OSX since. As the author mentions, basing it on a Ubuntu LTS release comes with consequences and is a questionable decision for a desktop.