skysight-inc/HackerNews huggingface dataset:
> Using intrinsics certainly does not guarantee that exactly the corresponding instructions will be emitted in exactly the given order.

I hope they will fix the compilers to add such guarantees. Currently, every time compilers try to mess with manually-written intrinsics, they decrease performance.

See this bug about LLVM failing to emit the exact instructions, decreasing the performance: https://bugs.llvm.org/show_bug.cgi?id=26491

See this bug about VC++ failing to emit them in the given order, again decreasing performance: https://developercommunity.visualstudio.com/content/problem/...
Ben Brinckerhoff on Clojure Spec and Error Messages
This was what held me back from using DO for all my projects. Happy it's here now.
Perl has shipped with a `rename` utility for ages, that you can use like:

rename 's/foo/bar/' *.ext

Of course you have to know Perl...
> As for rural America, there's a reason these areas
> can't attract companies or talent.

Look, I don't want to live in a remote shit-hole either, but...

The fact that the concerns of rural communities are summarily dismissed when making policy was one of the big contributing factors to the election victories of both Brexit and Trump. (Possibly more due to resentment rather than as a rational response, but that's irrelevant.) Urban vs Rural is becoming one of the more significant divisions in this country, as wealth consolidation favors urban.

And, more fundamentally, there are people who live there. The actions of a democratic government are supposed to be for the benefit of its people. That includes the people who live in rural communities. Policy that lets the economic advantage of urban areas snowball more is something that should be given more thought than "it wouldn't matter anyways, those places suck."

Maybe there isn't a solution, or maybe this policy in particular isn't the best place to address it, but it deserves at least a modicum of thought rather than a dismissal that is, frankly, disdainful. Those places do suck, but we should treat that as a problem to be addressed rather than avoided.

[edit]: Let me clarify: I am not saying the urban-rural divide is caused specifically by the lack of high-skill immigrant labor. I am saying the urban-rural divide is exacerbated generally by dismissing the concerns of rural communities when making policy. I don't think this policy suggestion in particular is the highest-value one, but I also think that no individual snowflake is responsible for the avalanche.
very interesting. With this and the new DO kubernetes offering (if both are reliable), DO could be a compelling option for postgres-based kubernetes clusters baseload - circa half the price of google cloud.

All the other stuff you need like logs and monitoring can be installed with helm charts.
You'd be surprised, the Melee scene is fairly old on average. I compete regularly and I'd be shocked if even 5% of the scene is younger than Melee.
Why is that even a YAPC talk?

I've heard points similar rurban makes from mlehmann, who also got tired of p5p and maintains his own perl5 fork.

http://schplog.schmorp.de/2015-06-06-a-stable-perl.html
I don't understand this either. There is an interesting blog post that suggests maybe some programmers get tripped up because they want to find a more clever way to do it:

http://www.gayle.com/blog/2016/1/fizzbuzz-youre-doing-someth...

It doesn't sound like this is the problem, though, in all the cases. It sounds like someone who majored in CS was unable to write this.

Which seems inconceivable to me. And yeah, "inconceivable" is often based on wrong assumptions (it was the basis of one of the oft-repeated lines from cinema: you keep using that word. I do not think it means what you think it means).

But... is there a chance that maybe "CS" just means different things from different programs. I feel like it should be... well, impossible for someone who graduates from a proper CS program to fail to write fizz buzz.

I know, I know, the "no true scotsman" is already getting typed into the response field. But here's the thing, I'm not defining a "proper" program as one that results in an ability to write fizz buzz. I'm defining it as a program that contains, at a minimum, basic algrothmns and data structures. Do people graduate with CS degrees without coding a linked list, binary tree, doing basic sorting, and set permutations?

I'd say if you take that one required class, it should be more or less impossible to not write fizz buzz. I'd be interested in knowing what the "CS" curriculum was for people who can't write this.
I'm in Tennessee and brown recluse spiders are very common, but I've only ever seen one black widow, ever.

Could be just NC, too, dunno. It's the only place I've seen black widows, and though not common, I saw more than a few. OTOH, I was surprised to find out NC has scorpions, too, so who knows what goes on up in those mountains. :-)
Apple already doesn't turn on new features on old phones that "can't support" them.

The new features being talked about are ones that make an old phone slower. I owned an iPhone 5s and updated to the latest iOS version for 4 years and never noticed any slowness. So, basically, (2) means I would miss out on new features because other people complain about slowness that I don't notice.
The real benefit to having someone else manage your DB is that it eliminates the "unknown unknowns." I don't want to spend the requisite time becoming an expert DB sysadmin--I'd rather let someone else do it so that I can sleep at night. Also, databases are in a different category of risk. Misconfigure an nginx config? No big deal, fix it and move on. Set up your database incorrectly, resulting in data loss down the road? Could be game over.
Wow, firejail seems super interesting, thanks a lot for the idea and mention! I'm not sure if I'll manage to use it, but certainly a good direction for some further research!

https://firejail.wordpress.com/
Weren't your working on a PNG decoder running on the GPU ?
I don't think that's the biggest part of the issue, though. I think it's that whatever functionality is there has to work across a broad range of devices. Someone mentioned consistency and that's what's key here that I think most people are missing. Using an iPad is, generally, the same experience as using an iPhone even though an iPad has a completely different set of utility than an iPhone.

That means that the fact that phone screens have gotten larger is irrelevant because whatever complications or features are added have to work broadly and consistently amongst devices of varying screen sizes. Web developers actually have it down best when it comes to responsive design but even responsive design makes for a different experience on mobile vs. desktop and I think Apple is trying to avoid that. An iPhone might be "hard to use" for someone that's not tech savvy but, once they learn how to use it, they now have an easier time across Apple's entire product line, not just that one device.
$100 Trillion
This is just blither. They were right: Microsoft and corporate Linux provide security patches for older operating systems for quite a long time. Your obvious animosity for Microsoft has no bearing on that fact.
Another thing you might want to investigate (for Linux, not sure about cross-platform alternatives) is OverlayFS[1], which allows you to create union filesystems where some layers are read-only and the top layer is read-write. This can allow destructive operations like rm without actually removing anything from the lower (read-only) layers, using whiteouts.

I'd have replied to this on lobste.rs but don't have an account. I'm not a heavy poster but I'd love an invite if anyone has one going :)

1 - https://www.kernel.org/doc/Documentation/filesystems/overlay...
The modern variants of Tetris are generally called "SRS Tetris" in the Tetris community (ex: Tetris with Friends", but also Tetris Ultimate, or Puyo Puyo Tetris).

Some people don't like the SRS engine however. A lot of things have been added to SRS Tetris, such as bag-randomizers, hold-button, and a slew of "twists" that help you recover from errors.

For people who want to play "original Tetris", it means you have to play the original NES version. And there is a large community of players who really prefer the original style... and not the modern direction that make up the rules of SRS Tetris variants.

As I said in another post: I personally prefer SRS Tetris. But I also give a lot of credit to the players who prefer classic rules: the classic rules are way harder to play. And in some sense: more casual people have played Tetris under classic rules. (SRS Tetris is a newer variant, and a lot of casuals think of the "Hold" button as cheating in my experience).
I think the dumb part that no one's talking about is it's a competitive game. It'd be like saying "the Eagles beat football to take the superbowl."
Andy Pavlo from CMU has an advanced and an introductory lecture series on YouTube which covers most everything you would need assuming you have a basic algorithms, data structures, and operating systems background.

The papers referenced in the lectures also contain valuable information.
I think it depends on what you are trying to do: any kind of modeling and you wouldn't be happy with 66 mhz.

But for most people, they don't really have a computation problem, they have a communication/information problem, and I think computers could be made more effective in solving it.
Separating security updates from general new feature updates would be the key for old phone updates but that is unlikely to happen.
Thanks a lot for the link! I'll totally try to look into this. If it really proves to be as easy as a single syscall... Oh, wow, now that'd be a killer...
Are you talking about someone crediting a webpage without attempting to attach the name of the author? I have never seen this in academic research, ever. Can you link to an example?

In the OP case, the 4chan author was anonymous.

EDIT:

> People _do_ publish papers about their data, and their citation counts are often extremely low, because research users continue to use footnotes instead.

Are you talking about researchers not giving credit for pure data sets? That is a really very different topic.
Mongo licensing prevents DO doing this themselves, although they could partner with them.
Yes, there are situations where getting the lump sum is more prudent, but it shouldn't be the default in the average case. It is sometimes possible that you can find a better annuity or investment product to invest the lump sum in yourself and make back the lossage of the asset's interest/share in future lotto profits included in the longer term investment product, but that requires analysis and comparison, with good financial advice to reach that conclusion. But the keyword is "sometimes", everyone has different investment needs, and overall strong, steady passive income is often preferable to lump sums, especially without good financial advice to rely on to manage it.

Regular Lotto payments, even fixed ones, are some of the least likely assets to default (historically tend to be quite stable/secure) you can have if your threat model includes future governments debasing currency or high inflation. It's sad how strongly inversely correlated bad economies are to higher lotto activity. (Now, if your threat model includes future governments strongly prohibiting gambling and gambling payouts, that's a different matter.)
> grant me ... conformity to your will

The "your will" is the part that gets interpreted, either by the individual, often with the help of an outside institution, to serve whatever objective they seek.

Perhaps that objective is a good one, or maybe it's horrifying. Such a professed humility to a God's will could also just be serving as a cover for whatever else the person is doing. History is replete with examples of that.

But at that point, you are back to where we started: needing to understand and judge the intent of people and the institutions that they take guidance from.

EDIT: wording clarification
Your phone is only listening for 'Ok Google', though. It isn't streaming the audio; you can easily verify that.
The article gets it right. The headline is wrong. It's possible the headline was written by someone else than the author.
When has first (early) mover advantage been used successfully against Apple?

Certainly not in portable music players, smart phones, or smart watches. I have no doubt Apple could convince people it invented VR as well.
https://www.archive.ece.cmu.edu/~ganger/712.fall02/papers/p7...

http://spritesmods.com/?art=hddhack&page=5

https://blog.invisiblethings.org/papers/2015/x86_harmful.pdf
If it was for criminal purposes it would have been easier to bribe a janitor at their office to plug a USB drive into one of their machines for a couple minutes before tossing it.

I'm willing to bet Dave was a government employee, though I won't give up the possiblity he wasn't NSA and more likely some other government organization that needed to stop something yesterday but didn't have the clout to get the big 3 letter organizations to pay attention and help them out
Spanish voice over
Yes, that's exactly right - technical skills are more valuable in the market and transfer across companies. The things I've learned as an architect for a big team and a manager are also transferrable but there aren't as many people who can do that and still do technical implementation and design.
U.S. non-military exports are controlled by Export Administration Regulations (EAR), a short name for the U.S. Code of Federal Regulations (CFR) Title 15 chapter VII, subchapter C.

https://en.wikipedia.org/wiki/Export_of_cryptography_from_th...
> Why not have some sort of certification process you can do while working that holds the individual accounts to the values of being unethical and will have consequences for not adhering to, at all levels like on the scale of GDPR violations.

Oh with regard to this one, I don't think my wording was clear. I meant with regard to testing or challenging to be certified without having a formal CS/related background. As: a doctor would have to have an MD to practice as a doctor amongst other certifications— I was contending that an explicit CS degree may not be an optimal equal designation for practicing software engineering/research, as it were. As a background— there are many talented and influential researchers who would be cut out of practicing if the line were drawn at a reputed CS degree. Aligning "software practice" (for lack of better wording) hard with a CS degree might be poor bounds for the field.

But I definitely think I agree, at least on a high level with what you're proposing. I hadn't considered it. Good things have come out of research using the large amounts of data available, so it should continue. But there definitely should be some sort of bounds and method for accountability. Also would include a special permissions and appeal process. There's I'm sure a lot of cost/benefit judgement as there is in many scientific experiments (there's seemingly a great deal of that in biological testing).

And you also might restrict certain entities from performing the research and instead be compensated for their collected data by a reputable research group. Said group can produce the hard/applied research, patents, and license them to groups to use them.
How is this data being populated?

Ruby on rails gets its own post about whether its dead or not, about once every few months

NodeJS is not a framework its a language, but I guess you mean NodeJS + Express.
Sure but that's not a permanent thing, and frankly that is comparable to the current testing model of cars.

Furthermore, humans are not crafted beings. We can't cooperatively construct the knowledge of a young driver. Why is the terrible human bar our basis for success? Especially since this bar is only so low so that we can allow companies to compete? To have financial freedom to kill people?

My argument is that public safety does not need to be driven by financial success of companies. We've got the chance here to share knowledge for the common good. Yet, we're holding onto it so that companies can have the chance to make money.

Furthermore, why is "the lowest of bars" (in your words) our metric for success here? Usually the lowest of bars is a bad thing.

Humans are terrible abysmal drivers. I want them off of the road asap. Yet, I don't think hoarding public safety related data for financial success is the best effort towards achieving our goals.
Did you get your screen replaced by a third-party? My friend has this same issue and the only thing we can think of is that it's his mall kiosk screen replacement.
They only call it Grand Central Station in the headline (and the caption of the title photo) and presumably that's because Grand Central Station is what most people in the world call it.

They call it Grand Central Terminal in the first sentence of of the article.
Hal Varian on Bots vs. Tots (Automation vs. Demographics)
Yeah, this is nowhere near as bad as the proximity remote attacks where a simple amplifier is enough to trigger the key to open the door - or even to drive away with the car if you do a bit more serious engineering.
> we should at least have the money to address the symptoms if we cannot fix the problem.

It may be worth mentioning that there's already a budget a at work approximately equal to the $300 million prop C is expected to raise. So while there are many, many problems with this whole scenario, it's possible that there being no money to address the symptoms at hand might not be among them.
I get that we all want to feel like something we are a part of is so important that James Bond-esque stuff happens to us. But, the author of this software did a disservice to his users by immediately rolling over to an, essentially, unknown party. I'm wondering what he would have given up if "Dave" had claimed to be Nigerian nobility.

Though, kudos to "Dave" if this was just a ruse to avoid paying for the $39.99 version.
Then again, if everyone were selfish in a cat-like way that everyone else can fuck off, we wouldn't have wars, genocide, slavery, abuse of power, or terrorism. So there's something more to it than just being selfish. Something to do with our tribal, hierarchal tendencies where one alpha ape can convince the rest of us to do violence against those other groups, who get blamed for all our problems.
Yep, I put my hand into a glove once only to find a spider there. Despite my general affection for spiders, that was not a happy moment.
Musical Theatre West’s “Bright Star” Is a Steve Mar-Tin Pan Alley“ Marvel
I'm never that nervous when doing `rm -fr` on my Plan9 or FreeBSD or macOS systems, which all have frequent snapshots turned on.

We could all just work with WORM drives instead.
Unless you've got a legal/regulatory structure to enforce it, it can't work. And there is absolutely no will on the part of corporations or Congress to do such a thing as it runs contrary to their interests. Even if it were feasible, software development is one of the easiest things to jurisdiction shop since it can be done anywhere. So unless you further mandate where the development must be done, it still won't work.

Keep in mind that most law/medicine/engineering work has some local component anchoring it to local laws. (i.e. currently, someone typically needs to be 'boots on the ground' in the jurisdiction to provide the service) Software doesn't have that.

(edit: obviously, this is a U.S.-specific view of the situation. Other countries may not have the same issues)
The Emperor’s Woke Clothes
Ask HN: How is Google policing screenshots of Google Maps?
I received a notice from Google regarding usage of Google maps without attribution. Which I ignored at first because we only use Google maps on our internal password protected site and we show all attribution. After another threat from Google that they would block our usage of the maps API if we didn't comply, I did some searching around and some back and forth emails and found that they were referring to a screenshot taken of some streets in Google maps that was being used as a background image behind our contact form at the bottom of one of our pages.

So my question is, how is Google discovering usages of their images in this case? Are they using some type of steganography? It seems that they would need to automatically process far too many images for it to be worth the effort.
Open Source Eats Patents
We got that as well, no idea why really.
Depends on how much you borrow, and how large your portfolio is.
It seems a little unlikely that the NSA would require the source code of a small shareware utility just to release a backdoored version.
No it won't. Pressure sensitivity is built into the hardware. 3D Touch is just a feature of that hardware functionality. Unless they get rid of the hardware, which doesn't seem likely since it's used for other things, 3D touch is probably here to stay.
What matters is the amount of evidence to justify belief.

And no, belief and non belief are not two sides of the same coin.

Belief is a positive claim, that needs to be proven.

Not belief is just the rejection of such a claim, and doesn't require any supporting evidence.

Here is a quick example: imagine we walk in a park and I tell you that the number of grass blades in this lawn is even. Do you believe me?

Probably not.

Does that mean you think that the number is odd?

No. You're not making any claim. You are just rejecting my claim because I can't support it with evidence.

People with a non belief in god (atheists) are simply rejecting the claim that a god exists. It doesn't necessarily mean they imply that gods don't exist (some do, though, but that's a positive claim that requires evidence).
Capabilities do this. It's the same mechanic used by containers to restrict their access. See man capabilities(7)
Agree sqlite is great and >80% of websites will probably run fine on it, but 100K hits/day is pretty vague, does that mean 1 hit/sec or 3 hits/sec during peak time, etc...?
Given that Silexan seems to work on NMDA and SERT, are you aware of any studies regarding Silexan and depression?

Edit: these are really interesting studies by the way, thanks.
You don't even need algorithms or data structures -- it's a cs101/151 problem at best. When I first saw the problem the solution appeared self evident to me -- I've been coding since the 80s, but still. It's just a simple problem and writing the pseudocode for a question like it ought to be almost second nature to anyone who has done any coding at all.

I know people confuse CS and IT/CIS, but even at that, those majors generally require at least one basic CS class.
Can second this. I travel to Tokyo often and have purchased Kit Kat to bring back home. Mostly tourists buy these, none of my local japanese friends do
It's more that that the ratio is so out-of-tune with the ratio of investors whom should be getting conservative investment strategy advice at the decision point in question. The qualifier here may be "good investment advice". Most investment advisors would recommend something more aggressive, but they also get paid a lot more in that case, that doesn't necessarily correlate with "good advice".
Tencent AI Lab Open-Sources 8M Word Chinese NLP Vector Dataset
As usual, things aren't quite that simple. While it certainly can happen that the compiler can pessimize carefully crafted SIMD code by applying undesirable transformations, simply not optimizing intrinsics would lead to other problems.

If you consider SIMD code that spans more than just one small function, then it is quite useful if the compiler can SROA (e.g. you pass around an array of vectors instead of having 8 arguments to each function, but still want them to end up in registers eventually), LICM (you're calling a function that needs a constant vector in a loop) or otherwise optimize your code.

If you want the compiler to leave alone your intrinsics, link in an assembly file.