skysight-inc/HackerNews huggingface dataset:
It uses an ioctl that boils down to 'an overlapped version of poll()'. So the call doesn't block - instead when an event like POLLIN or POLLOUT happens, a completion is posted to the completion port.

Call this overlapped-poll function on every monitored socket individually so you don't inherit poll()s scalability problems.

See https://github.com/piscisaureus/wepoll/blob/437fb2f24ce197b4...

This is as much of an explanation I can type on my phone - I'll add more detail to the wepoll readme later.
Check the securityrating of your site
Nowhere in the article do they mention revenue from advertising so you appear to be grasping for a reason to hate on people who use adblockers. Your posting history generally looks the same.

I donate to the news outlets and other resources I depend on. I use an adblocker because:
1) I believe the business model of media should not be "collect the data of everyone and sell it". I'm ok with ads, but I'm not ok with having my data harvested. Ideally I'd rather pay for it (as I already do). In my mind, more people using adblockers hopefully encourages media to become more pay based which seems to be kind of happening. Woe is you who cannot freely read NYT and you actually need to put a value on media.
2) Ads are a good attack vector. Also tracking data leaks.
3) I don't respond to them...Tide ads in youtube doesn't make me want to buy Tide. Movie ads don't make me go to the movies.
4) The "personalized" ads created with the data harvested about me is rarely even accurate. You google something once and then google throws ads at you about it. I bought cat food on amazon for someone once and now amazon recommends cat toys to me 1+ years later.

Why subject myself to a business model that I think is broken, obnoxious, ineffective, and potentially harmful to me? This isn't fighting the man, this is being pragmatic.
This is a two part answer.

1) The historical answer until Obama's administration:

They hear that it is called Socialized Healthcare. Socialized is a derivative of "Socialism". Not taking into account the myths about American Exceptionalism mentioned in the article (which are very valid), for many, many Americans Socialism = Stalinism.

Then they turn on the TV, and see health industry funded politicians selectively pointing out the worst aspects of socialized healthcare, and the best parts of the capitalist model (and if you can afford access, the American model has some great aspects). That's usually enough for most people to think that ultimately socialized healthcare doesn't actually work, even if it wasn't associated with a tyrant who's successors threatened most of the living population with nuclear annihilation.

So, given the proposition of a "non-working" healthcare system that is associated with mass murder, Americans see no other choice than in the healthcare system that they have. Whereupon they take a strong pride in the fact that they were able to achieve their own level of care. An: I worked hard to get my healthcare, it is part of my status, and now you want to devalue what I had to work for by giving it to everybody for free?, mentality takes hold.

And if all of that doesn't work to block the idea, the health insurance lobby simply ensures that media and politicans talk as IF the above was all true. Because the second half of this question is that since Obama's administration, 60% of Americans DO believe it is the responsibility of the federal government to provide healthcare to Americans. But if you watch Republican aligned media, they will simply act as if the majority of the populace is still opposed to healthcare because of the old story above. The vast majority of Americans don't have access to polling data, and naively and incorrectly assume that the average of their friends and media sources is representative of the viewpoints of the rest of the country.
Looking at the site, it appears to target other platforms like Facebook, Twitter and Instagram where videos are often viewed without sound, and which don't have built-in support for subtitles.
100%. Most users will never know or care about this. Most users just use their phones for casual internet browsing, candy crush, and texting. They'll never notice the slowdown like they would notice the battery life decrease. You have to target the main consumer base of your product and make things work well for them, even if the loud tech community minority may get upset.
> This inability to separate emotions and passions from cooperating on a shared focus with others, of differing emotions and passions, but equal interest in the shared focus (community) is deeply damaging.

However, I see people's personalities informing how they behave in their occupation all day, every day. The notion you can subconsciously remove all of your biases before undertaking a project is, surely, inherently flawed?

We also deal with associations - the body of your work will be judged based on its context. Its context comes from who you are, what you believe, and your values (both work and personal based). Of course an artists' work will be looked at differently if they're a UFO believer or not. Of course people will question whether someone championing an inclusive organisation can really not support gay marriage. Of course people will look at the works of Roman Polanski through a different lens because of allegations. It's not enforced "political correctness" it's default behaviour of humans to make these links, correct or not.

Personally, I'm tired of the "leave politics to your political circles" response - politics has an impact on your worldview and thus influences your work.

I'm not claiming everyone should hold the same views, but the expectation that people with diametrically opposed outlooks on the world should "just get along" for the sake of a project seems absurd to me. It's why most companies have values, and is pretty much the only non-BS use of "company culture".
Ahh yes. There's nothing really groundbreaking in there (in terms of API usage), so I should probably be able to set the build to an earlier version. ... let me see! :)
> psychologically tortured

Many (most?) religious believers believe that non-believers, or people of different faiths, will be justifiably tortured for eternity (or maybe just a really long time).
Who complaining? The "Bitcoin people"?
income tax yeah but there's a whole heap of levies and surcharges on top of that
Users are "idiots" and you should decide for them.
Coke and Mentos, resulting in a briefly frothy mixture followed by a mostly empty glass.
So the IRS is going to put the same amount of resources into each of the new mini - Capones as they did Capone?
When were Apple about choices? Maybe in the Apple II days?
This was already the case... FUD

https://www.irs.gov/pub/irs-drop/n-14-21.pdf
Depression makes it hard to do anything at the best of times, so I suppose I would find a source of amphetamines to boost my energy and then really tear it up doing some of the things other threads suggested.
How is it impossible? My team and I have built and maintain quite a large serverless system--logging and monitoring have been the easy parts.
That's true for iPhones before the 5 series. After that, it just goes completely bonkers. See my sibling comment to yours, and the two iFixit guides linked from there - as I mention there, I don't regard the idea of doing my own device repairs as especially trepidatory in general, but current Apple hardware is an extremely special case.
For a source of data: https://data.cityofchicago.org/

And in the case of crime, chicago should be a pretty good dataset.
Not that I think you're wrong, but every person who did that in 2014, 2015 or 2016 probably begs to differ.

In fact, if they sell today, they'd probably be set for life.
"WhatsApp must be installed on your phone."

(Also, no linux client.)
On the day that websites stop spraying the internet with obnoxiously behaved ads, I will consider putting my adblocker down.

I have also put it down for websites that ask nicely and promise to not be ad-assholes. I probably would have turned it off for Nautilus if they had asked.
While I agree with you, that it isn't cheaper in the end, people think short term. Lots of companies are trying to pinch pennies at every corner. A great example: Why does extra sauce cost more money? It pisses most people off and a lot of people turn it down. But they still probably see slightly higher margins at the end of the year.
> NYC is a 24-hour city in a way that cities like London are not.

I highly doubt that’s true.
Could you not flip the argument, and ask "Do you think a gay-married person could really work effectively with somebody who 's made a donation..." and thereby flip who we fault for the alleged incompatibility? I think both ways of framing it are equally preposterous.
The article's major flaw is lumping all "Americans" together. Life expectancy varies wildly across race and income. America has always chosen to make the desires of the rich and powerful more important than the needs of the poor and powerless. We sometimes call this the American Dream. Equality in America isn't about all people having a decent life. It is more akin to Animal Farm: "All animals are equal, but some animals (the rich, the powerful) are more equal than others."

I'm not saying this is right, but it is silly to claim that "Americans" are living poor lives, and just as equally silly not to see that America is still the sole hyperpower of the world.

This is a long debate in American history, and one still going on: is American hyperpower the result of material inequality and minority exploitation, or is America limiting its potential by letting a significant portion of its population be abused? No one really puts it in those terms, not publicly (one notable exception being 'trickle-down economics'), but this is really at the heart of American politics.
Signalling is always fail-safe - as far as I can tell this is the case even when there are e.g. multiple redundant ways of detecting train presence, a failure of any one is treated as a reason to stop trains. Something like a cheap LED that burns out more frequently is not unsafe, it just means there would be more cases of trains having to stop because the signal light was out.
I'm sure the baker who made your croissant didn't go into work until 9am....
I agree on the surface, but there are millions of older people and those who don’t care to learn, would be scared or alarmed of having that option. Do I still want the option? Sure. But having worked support for years, customers are dumb. They are not HN commenters.
I really like this, but I wish it wouldn't create a history entry for every single parameter that gets changed. Modifying the URL in place is totally sufficient (and I think it's great that you can link directly to results).
Do-it-yourself science is taking off
> Medical bankruptcy isn't really a thing in the rest of the world.

Agreed, it's a problem, but for the average person with a job who elects an insurance plan (the vast majority of Americans,) it's not an issue. My sister-in-law spent 4 years being treated for cancer before passing away last year. Despite running up hundreds of thousands of dollars worth of bills between chemo, multiple surgeries, etc, it did not bankrupt her family because they had health insurance.

> If you take out an insurance contract, that's exactly what you're doing.

Except we're explicitly buying-in. Until we have universal health care, I don't expect others to pick up the tab because I prefer that my son have the absolute best current tech available.
How do you cope with small screen?
I reduced my font scaling so I could fit more text and UI.
The slowdown is related to battery health. For some devices, it starts happening after a year; for others it takes longer.

Replacing the battery restores normal performance. You don‘t need to go to an authorised repair shop.
The UK has healthcare free at the point of delivery. The UK government spends considerably less per capita on healthcare than the US governemnt.

"Free" healthcare is cheaper to provide than non-free.
One alternative theory is borreliosis (Lyme disease).
> The biggest cities in the world does not have overnight sub, and they carry far more people around the city, is that a problem? No, of course not.

I don't think we want to use Guangzhou, Shanghai, Nanjing, Delhi, Jakarti, Beijing, Mumbai, São Paulo, or Lagos[0] as models for New York City's transit. A casual observer might claim Tokyo is a decent model, except that Tokyo is structurally a radically different city, to the point where the comparison doesn't provide much of value.

> The cost of overnight running, does it justify the value?

It absolutely does. Shutting down the subway overnight would cripple the entire city. Even though overnight service is limited compared to daytime service, it's an essential part of the city's infrastructure.

Moreover, eliminating overnight service isn't actually necessary for providing the improvements that the subway needs, so talking about eliminating overnight service is a red herring.

[0] the nine cities in the world, excluding Tokyo, whose metropolitan area is larger than New York City's.
Trump’s team wanted to use Signal to encrypt Michael Flynn’s messages
This is so ridiculously complicated to the point of next to impossible for a normal person to calculate. Lots of non bitcoin crypto currencies can't even be properly quantified in USD. When there's no exchange that trades said crypto in USD you're then forced to calculate the value based on it's value of bitcoin which can swing wildly from one exchange to another. There's no way to verify any number you put down after the fact as a lot of these exchanges aren't based in the US. Have no reporting mechanism. And is generally a cluster fuck.

So yea that IRS agent doing an audit will in many cases literally have very little to work with. The only thing they will see is you buying bitcoin for X dollars and selling some random crypto 50 trades later for Y dollars. You'd still obviously pay tax on the overall but good luck trying to pin down all the trades in the middle.
Additional texture fetch is by no means free but when the alternative is 100x SSAA you can get away with a lot.
The cameras are a positive step anyway. The political debate cannot help but be effected every time a cop is caught on video doing something shady, but nothing happens. Over time this repeated evidence will cause social change, even if it doesn't create justice for the particular victim of that particular moment.

But for cameras to be really effective a couple things need to happen:

1) They have to be on by default, and not turned on and off by the cop.

2) The video needs to be archived with a neutral party that can provide the raw source data to attorneys for both prosecution and defense on equal terms.

3) The law needs to change and juries need to change so that cops are actually held to the same standards of violence and self-defense as any other citizen. This is necessary for US police to claim to actually be civilian police, and not a military occupation. But nonetheless this last one will be the hardest and slowest change of the three.
That's correct.

You can compare Snyder's work in Batman v Superman to Joss Whedon's last-minute changes in Justice League and how the CGI is actually worse off in a film that has a higher budget and lower runtime than the former.
So it is useless to consume ibuprofen and the like, to avoid the disease :(
It is actually funny. Your comment made me pull out the code I wrote a few years to run a multi-book to basically do what BRUT did except it could trade anything. I'm now absolutely convinced that no existing crypto exchanges have anyone with a clue. As long the current exchanges provide APIs and someone like Lloyds would underwrite counter-party hedge, BRUTing them is a license to print money. They will get absolutely destroyed. It would be equivalent of Michael Phelps swimming against 7 year olds.
The socket functions were once in a separate library but it's just easier to use like this. Linking with 1 library, not having to care about version mismatches etc.

My recommendation would be to just not use the socket functions and link with the library stitically. That way the unused code will be discarded.

As for hclose() that was just mimicking the POSIX close() function.
For a moment I thought today is the first of April.
Welp, I've lost the point, but human knowledge has improved. I'll count that as an overall win?
Cheap gin, soda water, and a salt rim. Depth charge a shot of Jagermeister for extra effect if the price of bitcoin has ended on a negative that day.
So I’m assuming you’re comfortable with Hollywood blacklisting communist screenwriters?
Did this post get flagged? It currently has 83 points in 53 minutes, yet it is on page 4 at rank 112. Just curious. It currently does not have [flagged] next to it.
Apple seems to be side-stepping the real issue: them not making iPhones with user-replaceable batteries.

There are multiple ways in which Apple can do planned obsolescence without actually there being a record somewhere of a "meeting on planning to make the iPhone obsolete".
It's so bad that U.S need to pretend that there's evil weapon to get the petrol of Irak and make 10 years of war there. So Bad, but really true. Not like your propaganda U.S from washington post.

https://en.wikipedia.org/wiki/Iraq_and_weapons_of_mass_destr...
Guaranteed anyone foolish enough to bet their mortgage at those times, bought high and sold low in fear of losing it all. They are not the rational type.
They nearly have done this already with "Low Power Mode", but unfortunately it seems they haven't committed to trusting the user to use this.
Start your open-source career
>(my karma will likely not survive this) the title should probably read "Mastadon makes the Internet feel like an safe echo chamber again."

This is a very well represented viewpoint on HackerNews. Your karma has nothing to fear.
And all humans _do_ have replaceable kidneys and hearts but we cant't go around hot swapping them on a hike.
I switched from Twitter to Mastodon a month or two ago and mostly like it. The tech platform is fine; not as polished as Twitter but it works and has some nice features like spoiler warnings. But the community is very thin there. Folks are trying and in some subcultures it's pretty great, but I'm finding I'm missing the wider world of Twitter sometimes.
Many exchanges that are crypto only don't have any KYC
OP wants an open sourced, data-based statistical model of where crime might occur (methodological flaws and all), and not an unasked-for politicized preaching about the supposed virtues of a subset of people over another subset of people.
The battery itself is a $10 part. If I value my time at say $100 an hour then the $79 isn't the issue if I have to waste my time going to the Apple Store. $79 is not the issue. My time is.
The Satoshi Nakamoto [1]

Don't know what (some amount), Anything else (little bit), Unknown item (in large portions)

1. That I have been drinking
https://en.wikipedia.org/wiki/Predictive_policing

The British series "The Code" speaks a little bit about it in ep 3:
https://en.wikipedia.org/wiki/The_Code_(2011_TV_series)#Stag...
Goodness. So many.

* Learn you a Haskell - Fun for Haskell (which I've used since around 1990, but read the book anyway when it came out)

* Realm of Racket - Wonderful book. Used this to teach my son Racket at ages 7-8

* Clojure for the Brave and True - Good introduction to Clojure. Also available online for free in HTML form.

* The Art of Assembly Language - Read it a number of years ago but I recall it being very good (but unfortunately not as low level as you would think)

* Land of Lisp - I own it but haven't read it; seems to be very popular for Common Lisp, another language I have used since 1990. Also, see Practical Common Lisp (available free online)

* Ruby under a Microscope - read this when learning Ruby some time ago, but should have read it later in my Ruby career

* Understanding ECMAScript 6 - I'm not sure if this is the ES6 book I read or another one, but man, ES6 is so much better than its predecessors that it makes JavaScript fun again, and much more "functional" (which I like), especially if you use a nice library like Lodash to extend the paradigm

Others in the list I want to read and have heard good things about.
This is probably it. There is no way to tell the remaining charge of a lithium battery other than estimating it from the voltage which drops with the level of charge. It also drops more when it provides more power and this gets worse as the battery is aging (increasing internal resistance). This is why your phone might think that it has 20% battery remaining according to the voltage, but the second you open a power hungry app, the voltage drops below a safe level and the phone shuts down.
Bitcoin has some very serious problems with governance (code and policy governance that is, regulation governance is finally starting to happen, whether it will be good for bitcoin remains to be seen) which has led to very serious throughput problems (standard bitcoin can handle only 7tx/sec maximum, visa does up to 4,000tx/sec on it's busiest days) and cost problems (constrained throughput has pushed up transaction fees considerably compared to just a year ago). Bitcoin could increase it's maximum block size to 512MB to compensate but that would drastically increase the size of the blockchain as well as increase the cost of mining, how much that would decrease transaction fees is harder to determine.
The title is so misleading. It's just a interview, and there's nothing in the interview that gives room for what the title is saying.

> Barzilay: Do you believe Bitcoin will ever be embraced by the U.S. government?

> Dr. Hosp: I think that the concept of virtual currencies will definitely be embraced, because they have a very transparent transaction ledger. So, we know exactly what’s been happening. With bank transfers, it’s quite hard, but with fiat money it’s impossible, so I think virtual currencies will see a huge uprise by governments. Whether governments will embrace Bitcoin - let’s see, but there is definitely value for people. Bitcoin is very difficult to hack, it’s almost impossible to steal if you use for example multi-signature bolt. And with TenX you can spend Bitcoin pretty much anywhere. So, this is the future to go. I don’t think that Bitcoin is going to be a currency, but it’s going to have status like gold.
I'm a huge fan of collectivism, but it doesn't scale. It has never scaled, and never will, unless some future technology allows for a true hive mind where humans are able to have deep, trusting relationships with orders of magnitude more people than our brains are able to with current technology.

At one point in my life, I lived in a communual eco-village that relied on collectivism. We had to kick people out ALL THE TIME for not pulling their weight. This was around 100 people.

The fact of the matter is that the technologies that are routinely developed in the individualistic USA are then adopted by the more collectivist countries, where they end up being much more available to the public than in the nation they were invented in.

Pharmaceuticals and medical technologies are an example of this.

Collectivism on a small scale is natural for humans. On a large scale, it ends up, almost always, having to be forced upon by men with guns.
> Coming up with a more formalised set of considerations for external behaviour would help there.

I think this is backwards – the more formalized such considerations are the more conflict there will be. Formal rules invite 'lawyering' and lobbying and now your project or community becomes another battleground for never-ending political conflict. Empirically (but not rigorously, by me anyways), the best groups seem to regulate themselves informally.
I may have misrembered. It was so long ago.