skysight-inc/HackerNews huggingface dataset:
Basically rmem - size was the number of bytes that were consumed before this current packet. In the line before, we have thread-atomically added size to rmem immediately prior and read the current value in one single step. Call this "staking our claim" to part of the buffer, and the meaning of "uncharge" here is discharging this claim by atomically decrementing the counter, before dropping the packet.

Probably this bug would not have happened if this comparison were written as `rmem - size > sk->sk_rcvbuf`?

So it is saying that the simplest sanity check is "if the buffer was already full before we staked our claim we should drop this packet immediately." As the "goto" indicates, there are then a bunch more checks on other circumstances where we should also drop the packet. Due to the quirks of multi-threading it is of course possible that some packets get unnecessarily dropped between when we stake the claim and when we discharge it, which the code just accepts -- the thinking is presumably "yeah if the buffer is full a lot of packets are gonna get dropped and that's just life -- it's much less important that we dropped some extra packets when we were already dropping packets, and much more important that we don't mismanage the buffer's memory when it's nearly full."

A comment suggests that part of the reason for this awkward phrasing is that it is possible for rmem = size, in other words the buffer was empty when we staked our claim--and in this case we don't want to drop this packet even if it would overflow a small max-buffer-size. I think the idea there is "we already have the socket buffer allocated, obviously this thing fits in memory, so let's just handle it if the queue is empty rather than dropping every single packet that is larger than the queue size."
Podcast Addict: Android chief apologizes for incorrect removal
i agree that linux distribution fragmentation is also "stupid". it's a free country/world, you can put your time into whatever you want. but if your goal is to deliver the best project with the best documentation/support/polish, you're absolutely right that 1,000 people working on 100 separate versions of "basically the same thing" is dumb

imagine how much success windows + mac would have if they were as scattered and opinionated as the linux community
Microsoft officielly maintains the Android/iOS/Windows plattforms in Xamarin.Forms.

There are other platforms too, e.g MacOS, Tizen and GTK# which are community supported.

It’s not clear whether those will continue to work in the same way as community supported platforms.

https://github.com/xamarin/Xamarin.Forms/wiki/Platform-Suppo...
Lloyd's of London is a marketplace, not an underwriter.

https://www.lloyds.com/about-lloyds
So... I'm kind of curious about how this is built. Here's what I'm guessing...

1. The actual "drawing" is all the JavaScript frontend.
2. The Urbit stuff handles a few things...
3. Serving up resources (JS, HTML, etc)
4. Saving the strokes that make up the drawing
5. Communicating those to other clients
6. Communicating peer stokes back to the browser

There's not many conflict issues here, and to the degree there are you can almost ignore them, so I'm assuming the peer-to-peer part is mostly just about communication.

I poked through the Hoon source some, and most of it looked like wiring. Three files seem to actually do interesting things:

https://github.com/yosoyubik/canvas/blob/master/urbit/lib/se... : I think this mostly sets up the server, including resources and maybe some peer authentication?

https://github.com/yosoyubik/canvas/blob/master/urbit/app/ca... : This seems to handle the server part that is specific to drawing

https://github.com/yosoyubik/canvas/blob/master/urbit/app/ca... : I guess this is all the peer to peer logic?

This is the sort of application that would usually be familiar to me. The server is serving up static files, and keeping a kind of shared log of strokes with communication across peers to share that log. But the source feels like reading cyrillic: I can't even construct a mental AST.
There is a subreddit for everything they say.
You don't get a "free political speech" pass even if you identify/pass as Han Chinese. Certainly you don't get treated as badly, but the restrictions on speech are still real.
It's a UX dark pattern because (besides deleting the html element) there's no way to dismiss a call to action, you can only ignore it.
If you think nobody is championing a cause because it's never mentioned, try looking it up wherever there's a list of all the bills bouncing around your government. If there's still nothing, and it's not a current partisan litmus test, consider reaching out with your reasoning.

I remember looking through the history of bills sponsored by my (disliked) representative, and being surprised by a bunch focusing on a very specific topic he rarely mentions in the press. And it was a topic I really doubt he or his family personally encountered.
I thought that was stickers nowadays.
You can filter out non-Walmart sellers from the left side filter on search results.
This is exactly the feeling I got as well. Being able to take components and paste them to other containers.

Reminded me the experience of editing for example Visio picture inside Word document.
The power consumption is only significantly different under load. If you're in the corner case where Polaris Radeon is just fast enough even though you're constantly pushing its limits then this matters, but generally if you're running it at full load often enough for power consumption to be meaningful then you should be looking at the faster GPUs to begin with.
> I think we all know that it will be used at a much lower rate

It's a circular argument, since the main reason men aren't taking time off work to devote to parenting is the absence of such a leave.

The reality is that if you provide the leave, everyone will use it. (I work for a company that provides one, though a rather short one).

Ideally, the law will be written such that it's not an either-or scenario, and both parents could take the leave consecutively should they choose to (e.g. eligibility for a 6-month leave starting within 6 months of becoming a new parent).

And this will make it much harder for companies to discriminate, as it spreads the risks out. Old men can (and do) father children too.
So it sounds like you will still be able to watch full episodes on video on Spotify as well?
Is is really for missiles. Same reason the ITAR limits for accelerometers and gyros are relatively high (I think like 10g for acceleration). Same again for vibration tolerance. It is a barrier to entry for making a navigation system for missiles.
That'd be vaccination, then.
I don't understand your analogy - what is the water that is receding here? The jobs being lost? Do you anticipate a flood of new jobs in the future?
I really like the latest to-do app they have, its on every platform (except linux...), nice design and relatively snappy.
Sure its not the most advanced app, but it does everything I need and want.

Their new terminal emulator has potential, although I do find it a bit slow and fonts to be weird.
"Ned Flanders comes into possession of an ancient evil stone tablet and makes Homer do his bidding"
Ask HN: Do you have any tips on how to preserve your eyesight as a programmer?
If it genuinely is a private road then why would those plots be more valuable? If someone opened a business there you'd be able to extract all their profits since you control the only access.

Of course in reality it's not a private road or private sewer system or private fire service or private police force, it's all provided by government via taxes.

Taxes that people pay based on how much they earn, a far more obvious source of people being penalised for doing the right thing.

If you have an empty lot and you improve the district you can get your reward by selling the plot or opening your own business on it. Under LVT what you can't do is just sit on it for years at no cost to yourself, but great costs to others just in case it turns out to be a lottery ticket.
If you want to see what messy reporting looks like just look at France data: https://www.worldometers.info/coronavirus/country/france/

It is transparent, and you can find in official sources what is counted and what is not. But just looking at the global statistics, it is hard to know what's going on. We even have people "resurrecting".

The biggest reason for all this mess is that we combine data sources with different levels of reliability.

- Many things go unreported on week-ends and holidays. So we often see artificial spikes on Mondays, and Tuesdays.

- Hospital deaths are reliable but incomplete, and taken by themselves, with week-ends smoothed out, you see a rather smooth curve that makes sense.

- EMS/EHPAD (nursing homes) deaths are less reliable. Patients dying while showing symptoms are considered COVID-19 victims, even if not tested. It can be reverted at a later date. Reporting can take more time, and in fact wasn't considered at all during early statistics.

- People dying at home are not counted at all, too difficult to keep track of. We do have global mortality stats for all causes though.

- During the peak of the pandemic the testing policy was to test only if necessary for the health of the patient or medical personnel, not for statistical reasons. It means a lot of underreporting.
> You’ve named three very different projects with very different goals and mostly separate developer sets

that all accomplish the same thing, with worse polish + support than larger, more successful projects who don't spend time building on top of "slightly different variations" of the same thing

it's undeniable that linux has 10x the support of OpenBSD, and mac has 2x-5x the support for linux in terms of "actually getting stuff done", not tinkering with command files endlessly for no reason

even the "linux is good for infrastructure" excuse is starting to fade away as more and more things get abstracted away with k8s, docker, cloud-config, etc.

yes, by all means, they run linux. they don't (on average) run BSD. anything that runs BSD could in theory run linux and probably be ok overall. linux is not "worse" than BSD at any one thing and is better in terms of community support, performance, etc.
It would be nice if the results were anonymized so that people can voluntarily explain their high estimate. This is useful in highly politicized environments in which managers make fun of and pressure individual people for voting higher.
"As we move to support additional features the Signal community has asked for – like addressing that isn’t based on phone numbers"

This is awesome. So important for people at risk like the human rights defenders, journalists, legal, LGBTIQ people we work with. Great to see Signal looking at this.
Great. So now we have:

* MSI * EXE * MSU * AppX * Windows Features * dism * Windows Update * SCCM Deployments * MSIX.

So now everyone uses MSIX? Or are there still a combination of all of the above being used today?

Creating a new standard is one thing, enforcing it is another. It's like XKCD 927, just yet another option to add to the list.

[1]: https://xkcd.com/927/
I'm not sold on the argument that US credit card swipe fees are a true floor, given that transaction fees fluctuate from country to country somewhat significantly, though I do agree there's likely a "single transaction floor."

That said, I'm not in agreement overall. I think there are likely many things that can be billed in "sub-minimum-transaction-increments," it's just that they only become worth charging when they exceed the floor. So I guess in my head most of it is tracking "microdebt," and only sometimes is combining enough of the outstanding "debt" enough for it to be worth a payment.

It's basically a permutation seen in every game with (much hated) in-game currency. Maybe there's dirt cheap things to buy, but you still have to exchange to IGC at a $1:n floor.
They went full carbon-copy with this product, so it seems that they acknowledge that the UX in this space is key.

How do you upgrade the UX of a legacy product like Access without pissing off everyone? You can't. Old habits die hard. Modernizing or changing any fundamental UX in Access is probably a very unpopular choice within their current userbase and likely more expensive than starting from scratch.

It's simpler to go and copy Airtable which is already proven to be a successful model/UX and let that product cannibalize the market of your legacy products.
You mean like Walmart?
Blogs in the sense of "log your web browsing" is either niche as ever or more popular as ever due to like/share buttons.
Wouldn't it follow then that you would also buy things that you think that better version of yourself would want? Or is it that people want to be that better version without actually doing anything about it.
Gotcha, thanks for the clarification (and the stealth edit ;-). I'd delete my original question if it wouldn't leave your comment dangling.
> it wasn't that long ago that most computers had less than 200 MB of RAM total.

Half-Life 2 lists 512mb ram as required. It came out in 2004.
Startups now have to think about things like GDPR and Cali's laws, so they have to think about this data more -anyway-.

> I also think a large part of the problem is that treating data like toxic waste is hard.

Yep. It's a -lot- of extra work to do. It's a balancing act between:

- Keeping data long enough to satisfy govt regulations, rulings, or existing contracts with your vendors (i.e. merchant account with a bank for CC processing.) You can't just order something from amazon, Send a GDPR request and expect all your data to be gone; They can't delete it until -after- those retention periods have expired.

- Following Regulations like GDPR/Cali Privacy law.

- Still doing meaningful things with the data.

Generally speaking, I'd say this is all stuff that makes a Data architect very handy in the modern climate.
I interned at Walmart Technology in 2014. All of the interns had to participate in an innovation challenge, and one of the teams had this very idea. I can only assume that Walmart explored the idea and passed on it.
Yes, I've tried to get a few friends who don't budget at all into some sort of system - so I made this template:
https://docs.google.com/spreadsheets/d/1c24ZmUy19_n_QggMOjcE...
Hmm, I primarily use Notion for notes, and for me I almost never need to leave my keyboard. I can write like I’m writing markdown and text formatting is rendered automatically, the / commands work very well and the keyboard focus works sanely (I can type /link, hit enter, search for a page, browse through results with my keyboard, hit enter, and get a link to that page, then press enter to get on to the next line).

Can you be more specific about what doesn’t work for you?
It does make sense to prioritize how well something fits into your overall workflow higher than which tools is the best in a vacuum.
I am guessing Joe didn't learn anything from his recent guest Adam Curry.

Episode:
https://www.youtube.com/watch?v=NaPKrZTUoUs
WebView2 seems like an interesting replacement for electron.
Actually, they are trying to do the exact opposite — which is to eliminate the middlemen and make paying creators more frictionless.

Yes, if you opt-in to the system, they will take a cut, which is entirely reasonable if the model ends up being better for users and creators.

Time will tell if that's the case, but it's an interesting experiment.
How many people died?
Avoiding the situation of requiring many payment decisions is still there.

Streaming music consists of a single transaction that some platform logic would then divide behind the scenes. The consumer isnt forced to make multiple payment decisions. If and when they are, it probably won't work. Even having to pick and choose what portion of some pool of funds one wants to give to which creator creates cognitive friction that I don't think we've seen solved yet.
You haven't really answered the question of how to make a difference. What does "push for changes" mean? That's not actionable advice.

> If you can't think of any things that government could be doing better that aren't already well-publicized and politicized, consider that you may not actually be more politically informed than the average voter, and the way we collect preferences from voters with average levels of insight into government systems is called "voting"

What does that even mean? Most of the most important issues are well-publicized and politicized, yet we don't see any changes. You're basically just saying to vote - which most people rightfully don't feel makes any major difference. Any layman can think of a million things the government could be doing better - for example making online tax returns prepopulated with information the government already has on your income isn't exactly rocket science and most other countries already do it. The problem isn't lack of knowledge, it's that nothing really gets done. Also, the tone of your paragraph just reeks of arrogance (translation: "you're probably not 'politically informed' enough (whatever that means) to have anything useful to contribute, so just vote").

> In terms of how to push for changes in terms of concrete actions, write an actual physical letter to your congress person.

I've actually written to my Congressmen before, never once got a response. And if in 2020 we need to resort to snail mail to get our representative's ear, well that's just sad.

The fundamental problem is our representative democracy and two-party system, both of which severely limit the impact that any individual can make and gives exorbitant power to the establishment. If voting for Democrat/Republican every couple years is the only influence any individual can make, then it's no surprise why most Americans don't feel like their government is representing them and we have Trump (who lost the popular vote btw) and his children in the White House.

If we were to move to a system more resembling direct democracy, then individuals could actively participate in governing themselves instead of being beholden to elected officials in their gerrymandered districts. Representative democracy made sense in 1776 when men were riding around on horseback and direct democracy was not really physically possible at a federal level, but with today's technology we could easily implement something like liquid democracy [1]

Or if we want to stick to electing representatives, at the very least we need to adopt ranked voting so that we can have more than just two political parties in our government (right now third party votes are "wasted" and only help the opposition).

But yea I guess I can just vote and accept the charade that is our government.

[1] https://en.wikipedia.org/wiki/Liquid_democracy
https://thereader.mitpress.mit.edu/hole-in-the-head-trepanat...
According to covid19-projections.com, the US will have 195k deaths by August 4th. It is very likely that the US will hit 200K deaths much sooner than the end of 2021.

I do not have data regarding deaths due to PPE delays and testing, but I do agree that that would be an important figure to include.
+1 to everything. It's effects are also significantly reduced after the first couple days as you build resistance, and chasing that "moda effect" can lead to taking increasingly larger doses
Linux++ (May 17, 2020)
no one mentions "real life USA" modelling, like https://urbansim.com/home
I don't see how that helps more than marginally.

Doesn't PCI require a payment processor to keep some amount of the transaction data for a specific period of time?

Personally, I love tokenized transactions / specialized payment processors (eg Apple Pay, Stripe, PayPal) because they actively work to keep most of the data away from etailers (who are generally not specialists in securing their checkout flow). The problem is the payment processor transaction fees can be steep (2.x% for most commodity CC processors all the way up to 15% for Apple Pay), so etailers lose on the margins and avoid the more secure options.
AltCensored Helps Catalog the Videos YouTube Doesn’t Want You to See
Nowadays it's more "embrace, extend, and acquire"
Where to buy seeds online, Companion planting examples, Hand-powered light
I just wish we could read on HN tomorrow:

"Introducing Antitrust action against Facebook (justice.gov)"
In a few months you might be interested in Baserow. It's an open source alternative to Airtable that we're developing. Right now we have a very early test version at https://baserow.io that everyone can try, but it's still limited. This month we're adding some essential features and next months will be in light of the open source release. After that you can self host it without any limits.
3 guys I know of were working on a side project / game together.

Suddenly their app was removed. They got a vague message about some sort of rules violation (something like that) and after trying to contact someone / anyone heard nothing back.

Their running theory is one of the guys worked for a company who made an app that was fairly popular, but that company later went bad and got into the spyware game, the developer who worked there quit after he saw the writing on the wall. They wonder if maybe they related that company to their work somehow... who knows, they have no idea and have no clue what they did wrong and how not to do it in the future ...

Company that went bad, had their app suspended / removed, but as motivated spyware types they're still getting their apps on the store... but the other guys can't.

For the record I never saw their code, so I don't know first hand what they were up to, and you never know about stories like this, but I believe them / the story seems all to common.

Google is so opaque about things that how is anyone to know exactly what they did? The rules for various things might be listed for all to see, but it's hard to know how they're being interpreted.
Because the product that you're paying for is an extremely efficient automated cloud infrastructure with little manual support, unless you're willing to pay more for it. If you want hand holding there are other less automated infrastructure providers that cost a lot more.
Those aren't blogs, those are businesses. They have a lot more in common with other websites that use content as a motivator for ad revenue. More like awful news websites than just someone writing articles.

I guess it's semantics but I've never considered recipe "blogs" as anything near like rachelbythebay or other plain programming blogs.
FWIW, you can share a Spotify family with 5 other people. You don’t need to be a family. Just to tell Spotify that you do live at the same address. You don’t even have to know each other, and can live in different countries.

You can also use a vpn (turkey is a good location but there are others) and tada every plan is now a fraction of what it costs in your actual locale. And it’s like Netflix, the country you use it in defines the content you have access to, not the country you’re subscribed in.

I ditched Spotify a long time ago, their player is garbage imo, music quality is subpar, and they’re missing a lot of what I listen to. But I’d you’re going to cave and give them your money reluctantly because you can’t live without this podcast then this somewhat makes you feel you’re still sticking it to the man.
Wait until you read about the Roman Republic thousands of years before this time - you’re gonna love it.
Brain Drain (Webcomic)
For anybody looking to skip ahead to the real start of the video, where Scott Havens appears: he comes on at about the 7 minute mark.
Nifty!

I just placed in a beta request.

A business partner and I heavily prefer to utilize markdown for note taking (we generally use Typora) but this poses problems when we are trying to colaborate on a document together.

Does Obsidian support real time collaborative editing?
Ask HN: What do you expect from SWE interns?
Starting my first internship this summer. Being remote has definitely shifted method of communications and interactions. Curious to know what professional engineers expect from SWE interns joining their teams.