skysight-inc/HackerNews huggingface dataset:
An uncontended mutex is just as fast as a spinlock (on modern operating systems using a futex). It takes about 25 nanoseconds to lock it.

The difference is when there's contention. A spinlock will burn CPU cycles but a mutex will yield to another thread or process (with some context switch overhead).

A spinlock should only be used when you know you're going to get it in the next microsecond or so. Or in kernel space when you don't have other options (e.g. interrupt handler). Anything else is just burning CPU cycles for nothing.

Mutex and condition variables (emphasis on the latter) are much more useful than spinlocks and atomics for general multithreaded programming.
Harvey stirs up a toxic, industrial soup
Dictators are proposing more dictatorship.
> a former employee tried charging people up to $7,500 to reactivate them since he still had access to the feature

Surprised he didn't go to jail...
Ask HN: NAV (Net asset value) of Silicon Valley perks?
I often see sometimes exotic, sometimes less so perks described in job ads.

Could you share your company name and perks with your perceived Net asset value (or simply put how (try to be objective) much do you value (in dollars) each major perk) ?
one of firefox engineers is working on https://janitor.technology, which allows to build firefox in an online ide
So, one stable release without something like a two-factor authentication method. Since the addon will break and no official support will be released on time, there's no other choice but to use Chrome/Chromium to use Yubikeys.
The porn that's a bad thing is child porn, rape porn, and violence porn.
You're still not responding to the core of my issue here, so I don't see a point in continuing this discussion. I can respond to each and every point about audio quality, convenience, etc, etc, etc, but the real point - I'm not supporting Apple doing something I didn't ask for in order to achieve something I don't want for money I don't care to spend, and that should be an acceptable thing - gets lost if I do.
I am sure ssd and flash recovery will keep them plenty busy.
A Outdoor, Mountain Wedding in North Carolina
The importance of math for machine learning didn't fully sink-in for me until I developed a deeper understanding of the back-propogation algorithm that makes training deep neural networks computationally feasible. If it weren't for the introduction of a continuous activation function combined with the nice properties of the multivariate chain rule, we probably wouldn't be having this discussion at all. Another example that comes to mind is kernel methods used for Support Vector Machines.

No matter where the inspiration for a model comes from, the final formulation is always mathematical, and I think that without an appreciation for the mathematics, it's hard to get a true feeling of a model's effectiveness and limitations.
You would probably enjoy Anathem by Neal Stephenson. It's also about deep time.
I have to use eclipse for my work, and as lifelong intellij user eclipse is awful awful awful. It takes the fun out of working.
I'm pretty sure it is still corruption. It's like stealing from the company.
People hate regulations until they get screwed, and suddenly they understand that sometimes regulations exist for a reason

I love this quote:

Which is funnier: tech bros innovating their way to public transit, or bitcoin folks slowly reinventing financial regulation?

AirBnB, of course, is on a similar path.

I'm with you though, Uber, AirBnB, both seem to be good new age examples of the business strategy privatize the gains, socialize the risk/losses. Usually the company passes the taxpayer the bill; here, instead, a new patsy has been found.
Maybe throw up two instances of it, with one dedicated to drugs, hitmen, and child pornography and the other for political discussions or whatever.
iPhone 7+ with AirPods, perhaps it's the BT LE or something?

I also forgot the worst point, when the headphone cord gets caught and rips the 3.5mm jack out of my device resulting in it blurting out (my secret love of the Moana soundtrack) at full volume to a train carriage of commuters...
The new look screams "generic". You can say what you want about the old design, but you could always tell that someone was using FF Mobile because of the distinct black rounded background on the buttons. The new design looks like literally every other mobile browser in existence.
I'm puzzled as to why the property owners aren't suing them to recover all the money they lost. I mean, yeah, lawsuits cost money, too, but when you're talking a $20k fine, I would imagine there's at least a good chance of recovering more than you pay...and it didn't sound like any of the mentioned owners were attempting to do anything to the bad-faith tenants.

It sounds like you have never been a landlord. It's a five step process that takes at least two months just to evict someone in my landlord friendly state. I've heard it's worse in many other states. After that, it's possible to sue someone but that costs money and time and even after you do win it can take years to actually get your money and go through garnishment procedures once you track down their income. It's seldom worth the effort.

Yes most of the fault lies with AirBnb but being a distant landlord without a local property manager is crazy anyway. I sold my properties because the expense of getting a property manager or the hassle of managing it myself from across town wasn't worth it.
Sorry, I jumped to a couple conclusions from your original post. When you said "the platform itself is just too crap" I just assumed you meant tech, so that's why I mentioned Laravel, which most PHP devs consider better, code-wise. But both could have products developed for them.

> The fact that 25% of the web is powered by it doesn't mean 25% of the web will actually pay for your solution

You're right, of course, that not everyone in any market might buy whatever my product is. But I'd rather have an opportunity to sell to a market that includes millions rather than thousands, purely so that I could write more beautiful code. And yes, a bigger market means that you're competing with more people, but I think the numbers still stand.

> I would also be skeptical about the amount of money you could make on WP vs Laravel or a similar framework.

As well you should. Developers are a notoriously cheap market, especially for software. Why buy it when I can build it? :-)

But I'm skeptical that one could make a more financially successful product around another, better code-based product (and again, I think that's the scope of our debate, which is my assumption). Few code-based markets can compare to the size of WordPress, so even if you could charge 10x as much for a product, you still might make more selling at a lower price to a bigger market.

And yes, I will probably always make more per hour as a contract developer, but the extra $1k/month buys me a lot of beer and pays for ever conference I want to go to (especially Wordcamps :-) ).
I've been doing more browsing in private mode because of the dark bars

Do hope there's an option to change it soon
The main problem with legacy extensions is that they won't work with multiprocess firefox by design. Multiprocess is the only way forward, because of the enormous speed and stability benefits.

Unfortunately Mozilla has rushed the transition, and there hasn't been enough time to add important APIs and for developers to update their extensions. Firefox 57 is on the verge of being released, and there are still many addons which aren't webextension compatible.
Not a wheel but a rotary motor: topologically the same.
https://en.wikipedia.org/wiki/Flagellum
> The concentration involved is no different than setting a leaf on fire with a magnifying glass on a regular day.

That's what they're saying. Zooming in on the sun vs the sun happening to be in-frame.
RemObjects is not unknown. You're just new.
It's not great, and I have no sympathy for tenants who trash properties - but this seems like a result of being an absentee landlord with an inadequate local agent.

I have to say that in this situation I'd probably change the locks immediately and sort it out in court later; it's not clear what it means to "evict" tenants who aren't living at the property but instead are illegally subletting it.

(Also, jurisdictions with good legal drafting should be making Airbnb liable in this situation too)
I didn't say Christians are without social benefits, only that they don't have the same social protections that Muslims enjoy, specifically criticism of Christians or Christianity would never be considered hate speech.
> almost a superset of java. They removed a few syntactical contstructs

Unfortunately "almost" doesn't cut it with programming languages. And they changed, not "removed", syntax. Because Apache Groovy has those (many, not "few") incompatibilities with Java (e.g. meaning of == , public visibility as default, closures instead of lambdas, etc), it might as well be a different language.
It's nothing that impressive but I'll post it on Monday when I'm at work, it's really just a bunch of helper methods to reduce boilerplatr.
More like implementing a password hashing scheme using a library and not understanding the maths behind bcrypt. Or mocking up a proof-of-concept in Python with no idea of how to speed it up 10x rewriting it in low-level C.
Computerized/electronic voting is extremely dangerous to attempt. That said, I feel like I am not well represented with paper ballots behind an electoral college. I feel that we MUST attempt designing and securing this in the open to move forward as a society in the interest of someday having a direct democracy.

(sidenote: direct democracies aren't always pleasant..)
Yup, the ability to understand what's going on and how it fits together is critical.

But also : can work in a team and leverage relationships for insight.
Orange (ISP and mobile carrier) creating a mobile bank
What's actually going on with CrashPlan?
Why are they shutting down their Home offering?
Ego, Hunger and Agression by Fritz Perls.
Asimov's The Foundation Trilogy was the best sci-fi I've read. Then there are a lot of other types, e.g Porter mgmt theories.
It is true that I would get buzzed from a glass... but the effect I'm referring to was 2-14 days after that glass, after you're already sober.

I suspect that 1) alcohol's subtle effects last longer than assumed--in much the same way caffeine withdrawl can last for weeks; and 2) it affects your working memory.. reducing it maybe 10-15%.

I don't think you would notice a 10% decrease in your working memory unless you were working on a particularly difficult problem like I was at the time. Depending on the difficulty of the problems you're working on, it's entirely possible to code while drunk.. But if you've ever tried writing filesystem code, vm subsystem, or another hard problem, being under the influence can make it impossible to make any progress. So there's a wide range, and alcohols affects may not have much impact on the work you do.

I would like to see it studied.. I just thought it was interesting that cossatot mentioned a similar affect from alcohol lasting a similar amount of time.
This is good advice and should never have attracted a downvote!

I'm not actually sure that the C++ library does anything that pthreads doesn't - maybe std::lock, perhaps? - but it's more convenient to use (and it's not like pthreads is bad to start with...), and the pieces work well and fit together quite nicely. Some good use of move semantics. unique_lock is neat and you can do stuff like vector<thread>.

The C++ thread library works on Windows, too...
I saw this in the article that was posted here on Ars technica and have thought about the issues it brings up.

Why should this guy get a free pass on child pornography just because he encrypted his hard drive? Child pornography is terrible! Who cares if the guy encrypted his child pornography. He should be in jail either way. The only reason someone would rot in prison for 2 years is because he knows he's going to rot in there for a lot longer due to his child pornography if he unlocks his hard drive.

The point of the 5th ammendment is not that the government shouldn't be able to access concrete evidence. It's so that the government can't torture/imprison someone in order to get them to admit to a crime. The reason for this is that a forced confession isn't any indication that the person actually committed a crime.

Of course we will never know if the guy truly forgot his password, but chances are he's been counseled by his attorney to never give it up.
Oh, yes, authenticity. You're right, that's a third feature!

Still, it doesn't say anything about whether the website left the metaphorical hinges on the outside (i.e. has other security issues, such as XSS).
Almost all leasing contracts, including the ones you get for free have a no subleasing clause. Even if you win in civil court if they don't pay, your only recourse is to go back to court and try to garnish wages and bank accounts. That takes even more time and money and it's relatively simple to make your assets judgement proof by just "putting everything in your momma's name". If the judgement is too onerous, just file for bankruptcy.
The Voice First Revolution Is Accelerating as Microsoft and Amazon Join Forces
While we're on the subject of interesting titbits, Apache Groovy was first announced 14 years ago. It's creator, James Strachan, announced Groovy on 29 August 2003, hosting it at groovy.codehaus.org.
... as are the projects that overdo on "modern C++" to the extent of introducing even more severe problems masked by the layers of needless abstraction.

CVEs don't come from C or C++. They come from the lack of coding discipline and with all other things being equal C programmers are generally better skilled and more diligent than their C++ counterparts.
> money/capitalism tended to emerge with the rise of the state, taxing to feed soldiers for war

There is actually a musical about the way that the US federal government and financial system were founded in order to be able to provide capital for warfighting.
Dingaling is talking about the light being concentrated on certain areas of the sensor. Because the total/average brightness is low, the exposure ends up being much longer then at normal conditions, causing damage to the areas where the light is concentrated. Under normal conditions, the light will be less concentrated on certain spots, so even though there is much more light in total, the camera will choose an appropriate exposure that will prevent damage to the sensor.
Yep, inspired in part by watching Okja, tried being vegetarian before watching that movie and now more or less steeled my will.
Judea Pearl & Andrew Gelman are great people. Trevor Hastie's books are good too.

https://web.stanford.edu/~hastie/pub.htm

http://bayes.cs.ucla.edu/jp_home.html

http://andrewgelman.com/books/

I guess it all depends on what is a mathematical background and what is advanced!
Okay, thanks for responding!
I want to say rent. But I don't know how reliable that is.
No Walls: because humans want to connect [video]
Why do you think it's circular reasoning?
What happened to the legendary importance of the credit score? I'd assume this kind of thing would make it impossible for someone to rent anything larger than a tent ever again.
I dont't think there's an easy way to push incremental backups into Sia
Location: Rome, Italy

Remote: YES

Willing to relocate: Will consider

Technologies: JavaScript, React, React Native, ExpressJS, Node.js, MongoDB, Docker, REST API, GraphQL, Git, AWS

Résumé/CV: https://goo.gl/7KF1Ya

Email: luca@eloquentbit.com
DJI dominates the drone space
enlighten us - what did you learn?
This site is very helpful -- can't believe I didn't hear about it before!

Question: Have you thought about on-boarding LinkedIn vanities? Ex. linkedin.com/in/[vanity_name]?
In case you haven’t seen this breakdown by Tom Scott about why electronic voting is lunicy, here it is: https://m.youtube.com/watch?v=w3_0x6oaDmI
Is it valuable to create free email signature?
It's funny how it is ready for grandmothers and devs, but everyone in between will struggle with the commandline or 3rd party software at some point...
Any suggestions for some mathematics resources?
His point is concurrent usage of one profile. FF does not support this.

Queue the FF is not tread safe jokes (and only that, not a flame).

OP: you can use Firefox Sync. There is a cloud version by Mozilla but also a WSGI app you could host. I know it is not a 100% solution, but what was recommended to me when I asked during FF alpha and beta testing with stable way back when.
My experience with it is as follows: the way it was implemented resulted in a process that was far too prescriptive, bureaucratic, heavyweight and burdensome... pretty much the complete antithesis of anything that you could call "agile". But, I should add, this likely has as much to do with the managers, scrum masters, etc. in the organization, as it does with SAFE per-se.

The simple truth is, very few (if any) LoB managers, and vanishingly few "scrum masters", really understand, internalize, and practice the core principles from the Agile Manifesto. They slap together some bullshit with bits of ceremony and practices drawn from Scrum, XP, OpenUP, RUP, Waterfall, etc., call it "Agile" and then proceed to operate in a way that mixes the very worst of a highly prescriptive, top-down, command-and-control model with the very worst of pure ad-hoc cowboy-coding. Meanwhile the LoB types are still planning based on fixed feature sets with fixed release dates, with both decided 6 months or more in the future.

Anway... I'd take the use of SAFE in an organization as a bit of a red flag, but not much more so than any organization that says "we do Agile". No you don't, there's no such thing as "Agile" as a prescriptive methodology.
When I think about hard problems, I like to look at projects I feel handle these problems well. Having worked in the Chromium code base for some time now, I really appreciate their approach to threading. So much so, I really wish they would distribute their base/threading module as its own project.

https://chromium.googlesource.com/chromium/src/+/lkcr/docs/t...
And you need to submit complaints to your local data privacy official about this planned data collection which is not opt-in (and therefore violates the privacy laws).

If you live in the EU, submit a complaint to your local data privacy official, in Germany those are the Landesdatenschutzbauftragten and Bundesdatenschutzbeauftragten, for example, you can find the ones for Schleswig-Holstein here: https://www.datenschutzzentrum.de/impressum/.

Submit a complaint today, so that a legal process against Mozilla can happen before they implement this.
Im prepared to take the hate if I'm wrong, but it seems like you've made over 170 sites, developed a lot of stuff and it just doesn't seem to add up...

Flag 1: After Googling your username, it led to your YouTube channel, with an adult male in the picture: https://www.youtube.com/user/kbrshh pretty odd...

Flag 2: You seem to not have aged in a year? What. https://www.reddit.com/r/freelance/comments/4w7thd/can_a_13_... the post date is the 5th of August so unless you were lying then, then you're lying now.

Flag 3: This led to finding https://npm.taobao.org/~kingkabir which shows everything you've worked on.

If you've done all this by the age of 13, then damn, good luck in the future, but it just seems like you're trying to push the popularity of your side projects by leveraging your age... Just seems madly dodgy to me.
Or at least get fired....
This design is indistinguishable from any other mobile browser. The old design was a bit dated but it was distinct at least.
Using Online Learning Algorithms for Computational Advertising
lens? what lens?
Just a few that haven't been mentioned, because I cross over with several others:

How to Cook Everything by Mark Bitman. Not so much my mental model, but it's the only book I could ever say "changed my life".

Implementation - (https://www.amazon.com/Implementation-Expectations-Washingto...) This is a great discussion of how best intention in government go awry once they are implemented. It explores how each step makes sense, but something always seems to go wrong.

The Day the Universe Changed (slightly cheating since this was the companion to the TV show, but stands as an excellent book) - How certain innovations changed the way the world works and the way we see ourselves.
> There is no decimal expansion of 1/3. Or pi for that matter.

This is incorrect. A decimal expansion is just a type of Cauchy sequence, which by definition is infinite (a function from the natural numbers to the reals).

You are confusing the decimal expansion with its truncated approximations.

> If you happen to somehow built a decimal expansion of 1/3, please share it with us!

Sure thing! Here it is:

def oneThird(place):
if place >= 0:
return 0
else:
return 3

Convert to your favorite programming language/Turing machine/other abstract machine of choice.
USA soldiers have continuously occupied Kuwait, Saudi, and Iraq since that time. Famously, their ongoing presence in Saudi was cited as a "justification" for 9/11, a decade later. Good job guys!
I've been writing massively threaded C++ code since the 1990's, so I can comment with some serious experience here. My code used to run on 256CPU SGI's and had high cpu utilization across all of them.

When designing C++ code for threading, you have to keep a few things in mind, but it's not particularly harder than on other languages with thread support. You generally want to create re-entrant functions which pass all of their state as input, and return all results as output, without modifying ant kind of global state. You can run any number of these in parallel without thread safety issues, or locks. When using multiple threads with shared data, you have to protect it with locks, but I generally use a single thread to access data of this sort which produces work for other threads to do, which can be queued or distributed any other way. Producer/consumer queues show up a lot in good designs, and your single-threaded choke points are usually a producer or a consumer, which allows thread fan-in or fan-out. (As a side note, Go really got this right with channels).

What leads to problems in threaded C++ programs is unprotected, shared state. Some C++ design patterns make life particularly hard, such as singletons, which are just a funny name for global variables. C++ gives you lots of ways to make something global accidentally - static member variables, arguments by reference, for instance.

True C++ hell is taking a single threaded C++ program and making it multi-threaded after the fact, but that's hell in any language which allows you to have globals of any sort and doesn't perform function calls within some kind of closure.

The article in this post is being a little reductionist. You don't need to pick a threading model - some of your threads can pass messages, others can use shared data, all in the same program. The lack of thread local storage is not an issue, because you partition the data so that no two threads are working on the same thing at the same time.
if you are unsurprised by events then your mental model is very good its an understanding of the world that allows you to predict behavior, political events, markets, etc
The Diffusion of Innovation, by Dr. Everett Rodgers. He discovered the concept of the Early Adopter in the 1950s. I would trade all the startup advice on the internet for that one book.
This post is an excellent example of the kind of arrgoance from mozilla that upsets people.

You have basicly told us all "your problems dont exist, dont matter, or we dont care, deal with it"

I'm done with firefox post 56.
Isn't v55 already multiprocess? How are these extensions working right now?