skysight-inc/HackerNews huggingface dataset:
Picture a pointer to video memory. Or, simpler, picture a pointer to an SHM section that either side of the SHM IPC conversation can deallocate. From both sides’ perspective, that pointer is probably implemented as both an SHM section, but also an SHM pointer to the section, such that either side can set the SHM pointer to NULL, and then (if they managed to do that) proceed to tell the SHM infrastructure to unmap all mappings of the SHM section.

When this sort of structure is used, there are certainly going to be guarantees in place (probably by using some sort of session/transaction functions that compare-and-swap an atomic SHM spinlock controlling the SHM pointer) such that the SHM pointer won’t go NULL [and the thing it points to won’t be deallocated] in the middle of either side writing to it. But those functions aren’t actually consuming the resource and spitting out a new temporary one (i.e. a “handle” to the resource, as the article’s author implemented in their Rust wrapper library originally.) Instead, they’re just functions that block either side from writing to the pointer as long as you’re in them—sort of like disabling interrupts in a critical section.

How do you model the ownership of such a C-FFI-runtime-guarded IPC SHM volatile pointer-to-pointer, in Rust? Is there an idiomatic translation for it?

Because this sort of thing comes up all the time in the context of kernel handles to buffers, and I would be surprised if the folks writing OSes in Rust haven’t hit on it before.

IIRC, there’s an IPC abstraction called a ‘blackboard’ (sort of related to a tuple space) that is the generalization of this SHM model, so it might also help to ask how you’d model an IPC ‘blackboard’ in Rust.
If the rot is only a long term issue then "within 4 hours" would seem a good constraint on drying? Similar to what you'd get on average after overnight rain.

Makes me wonder if they couldn't use poly tunnels.
Are people not writing in physical diaries to prevent future breeches of privacy? (Odd to think of Facebook etc. like that.) Or are people doing it out of convenience / least resistance? If so, are they cognizant of what this means for the longevity of the data? I'm not sure the future impact is an intentional choice...
would be great, thanks
...or they are trying to convince Google to find a different means of making money.
I think that at a certain age anything that is attractive to girls can become toxic to boys, which can entrench a gender divide.
Not saying your main point is wrong, but Black Beauty wasn't written to appeal to young girls. It is an urgent call to treat horses better, and has been called "the most influential anticruelty novel of all time."

https://en.wikipedia.org/wiki/Black_Beauty
What makes you think current encryption is breakable?
I think you missed this part:

> [the resource handle] can only be dropped between event callbacks, wlroots/Wayland is callback based

So "at any time" means between any two user callbacks, but not during them.

Error states really aren't a solution IMO, as they tend to pollute the entire interface in that methods that would be expected to work unconditionally can now fail or panic. Either you have to check each method invocation (entirely unnecessarily, since if a resource isn't in an error state at the start of your callback it won't go into one during it) or you make the absence of error state a precondition, in which case you're guaranteed to miss one or two cases and panic when the user yanks out the cord.
Not really: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2050696 ("Debunking the Evergreening Patents Myth").

> "Evergreening" is a pejorative term used to refer to the practice of extending the length of patent protection beyond the statutory term of 20 years, most often used in the context of pharmaceutical patents. Although drug companies do engage in creative strategies to maintain sales levels for as long as possible, criticisms of evergreening are largely overstated. In fact (with relatively reasonable exceptions), patents generally cannot be renewed or extended. In the vast majority of cases, so-called "evergreening" will only be a successful strategy to the extent that consumers can be persuaded to purchase the newer, pricier, patented version of a product rather than the older, cheaper, unpatented one.

(The author is on the faculty at Harvard medical school.)
Hybrid Broadband TV with Jeremy Brown on Demuxed
I had to convert the .img file to a .dmg using hdiutil on OS X to get to the stack. Diskcopy under OS 9 w/Sheepshaver complained of -39 unexpected end of file otherwise.
> But when my school makes an announcement, or creates some kind of bulletin board or sign up, they often use Facebook.

You should make a huge stink about this. At a minimum, schools and other public services should always provide a means to interact with them that doesn't involve such things.
And they are still importing it seems. It shows 1761 to me
Google's SJW vibes are a major turn off. I'm glad that Amazon and Microsoft didn't cave in to anyone complaining that they bid for US military contracts. Meanwhile, Google caves and refuses to work for the U.S. military and yet secretly tried building censored search for China?
Between being cold and being shot at.... I'd have to see the comp package first!
I'm confused... Huji Cam looks like a rehash of the filters that have been available in IG for it's entire existence. And hasn't the "faux-fi" thing been super hip for like... over a decade now? Granted, hyper-staged photos have also been pretty popular over the last few years but I never thought the "new" style outlined in the article really went out of style.
Is the United States really a democracy? I'm shocked to see how awful the people are living there "if it's truly the case of it being a democracy" and how things are as an outcome. I guess people don't care about if someone else dies from a less privileged life when it comes to health or finances. Otherwise people would vote for change right?
Google open sources ZetaSQL – parser that drives BigQuery, Spanner, DataflowSQL
What exactly is not true about my entirely personal statement? I simply find barrier to entry for non-GitHub projects to be too high for me to bother.

Great if you disagree and I'm sure there are some others, but I would be willing to be you're the minority.
There's a key difference being over-looked here.

Rank-and-file employees have strong legal protections against retaliation for unionization efforts. Employees in management roles do not.

I think it's perfectly reasonable for Google to attempt to transition union organizers out of a management role.

Of course, "management" is a term that is extremely vague inside Google; at least historically "Tech Leads" would not have been considered managers, so there could be an extremely low proportion of the company in a managerial role.
i guess you can't have an oligarchy AND plug these kinds of loopholes
I can't speak to every issue which the author might have encountered, but there is a better solution to the lifetime management problem than the two mentioned in the article.

Instead of this:

fn some_wlroots_callback(output_handle: OutputHandle,
surface_handle: SurfaceHandle) {
output_handle.run(|output| {
surface_handle.run(|surface| {
// maybe some more nested layers...
}).unwrap()
}).unwrap()
}

One can do this:

fn some_wlroots_callback(
ctx: CallbackContext,
output_handle: OutputHandle,
surface_handle: SurfaceHandle
) {
let output = ctx.get(output_handle);
let surface = ctx.get(surface_handle);
}

This is safe, because the lifetime of "output" and "surface" can be bound to the lifetime of the "ctx" (whose lifetime is controlled by the library: the library simply has to make sure that "ctx" is not accessible outside of a callback).

edit:
Realised you can't tell that there's an implicit lifetime in `CallbackContext` here:

struct CallbackContext<'a> { ... };

OR

type CallbackContext<'a> = &'a CallbackContextImpl;
The Atom C3000 series is a beast with 10G Ethernet, up to 16C and support for ECC DDR4.
Plus, it doesn't even solve the problem within your own bubble.
I think not being able to purchase it should resolve moral/ethical issues.

But a lot of pirates like to complain they cannot purchase it according to their specific demands.

People used to complain that they had to buy cable to watch game of thrones. They wanted a solo steaming service. Go look at old reddit posts, pirates would proclaim that they would subscribe to that instead of pirate.

HBO made exactly that. And now the complaint is that it costs too much. Or they don’t want to pay for Barry or Veep episodes they don’t want. But they’ll stop pirating if they could just buy GoT!

I think the vast majority of piracy is just because they can get it for free.

Additionally, if the content is just not available in your country yet, then at best, you would be morally/ethically justified in pirating now and then paying later when it’s allowed.
I wonder if it was just the scanned signature, or was it something else about the service you used that made the physical letter look untrustworthy.
These subscription services are a great way to try out games without paying full price. I spent 10 bucks on EA access to try out Anthem and it saved me 50 bucks in the end since it wasn't worth buying.
The same is reported in the journal, Nature, which requested a comment from the FCC but didn't receive a reply. The Hackaday article contains this line: "FCC Chairman Ajit Pai rejected the request, stating that there was an “absence of any technical basis for the objection.” But the Washington Post really zeroes in on the FCC, reporting unresponsiveness to the NOAA, NASA, and even the House Appropriations Committee. All they're asking for is some time to study the situation, but the FCC won't delay spectrum auctions or even concede that there could be an issue.

https://www.nature.com/articles/d41586-019-01305-4

https://www.washingtonpost.com/weather/2019/03/13/fcc-auctio...
Maybe the response wasn't great, but "what about men" can get tiring to hear every single time anyone says something that non-exclusively affects women.
Indeed. I never tire of the hypocrisy in how these allegedly "progressive" and "left-leaning" tech companies resist unionization.
that was my first thought as well
A Gentle Introduction to 1×1 Convolutions of Convolutional Neural Networks
Speaking as someone who dabbled in Wayland in Rust before (but a few years ago so my knowledge might be outdated), has not tried wl-roots, and uses Rust a lot

(a) Only when talking about interacting with C libraries written in a certain style. So not in general, and not with most C libraries, but yes for implementing wayland compositors.

(b) Don't know

(c) Absolutely a negative reflection, there are two ugly things going on here. The official wayland libraries use a ownership style that really only makes sense in C imho, and despite the claim that wayland is just a protocol you can't actually not use the official libraries, because the drivers only work with the official libraries.
Yes, will add it. I will put it into public domain.
>> Open source has won the present

> Open source has only “won” for programmers

Both statements are true.

Open Source was always about developer benefit. The movement around end-user benefit is called Free Software. The one promoted by Stallman and the FSF, the one practiced by people releasing software under GPL family of licenses. This movement has definitely not won.
That's...pretty much the guarantee for any product that claims "lifetime". The Tilley clothing company (best known for their hats) warrants many of their items "forever" as in (and I quote) "leave it in your will". That all goes out the window if Tilley goes out of business, however.
> Not every starter is a finisher, and not every finisher is a starter, and not every finisher is a good maintainer, either. They're different things.

This is the most true thing I've read in a while. It takes a lot of thoughts I've been having lately and wraps them in a concise package. Thank you! This is gonna stick with me for a while.
I recently moved to a company that uses Jira. What kinds of problems should I be looking out for?
I think few people would dispute that places with more litter have more littering!

But surely that's because littering causes litter?
> I seem to recall from other libre font discussions that @mbutterick (the OP) has something of an axe to grind about libre fonts in general, though I don't recall specifics.

He does believe that most of them are of sub-par quality and he has reason to be biased (due to being in the business of selling fonts himself), but also cites some counter-examples[1]. I don't think he's opposed to libre fonts as a concept.

[1] https://practicaltypography.com/free-fonts.html, of which he is the author
Efficient Neural Network Loss Landscape Generation
"A Wayland “output” is the resource that represents a display device. Commonly this means it handles a computer monitor. This resource could disappear at any time in the life cycle of the application. This is easy enough to imagine: all it takes is a yank of the display’s power cord and the monitor goes away. [Except it can't; it can only disappear between callbacks?] This is basically the exact opposite of the Rust memory model. Rust likes to own things and give compile-time defined borrows of that memory. This is runtime lifetime management that must be managed in some way."

Something leads me to believe that there is something very wrong with the architecture of wlroots-rs. The output should be attached to a callback parameter or something, maybe? I don't know enough about Wayland to say, but something ain't right.
> Let them

No.

I'm not going to do nothing while people hit me in the face just because the law might, at some point, give them what they deserve for it.

I'm going to do what I can to make the face-punching stop first.
> When the benefit at the end of the day is just so I don’t have to write C, that doesn’t really make it worth it.

This line not only summarizes the content of the article, but I'm afraid it may also describe the actual situation of porting C/C++ code to Rust.
Credit card fraud suspects nabbed over careless typo
In the text the author discusses also selling the company outright - question: how does one calculate a price for this usually? A few years' profit?
Show HN: Rauk.us – Free In-Browser Game of MadLibs and Jackbox Games and Twitter
On a google maps nostalga lane trip I found ability to rewind time to the quaint old paint job on my deceased grandparents house. Brought back some good memories running around as a kid.
>Leftists have an odd way of convincing the very people they're trying to help by making fun of them; it hasn't worked out too well in the last 20 years and I don't expect it will going forward, either.

That's because they aren't leftists. Don't confuse American liberalism with actual leftism. It's extremely deceiving to do so. Leftism is about helping the poor, wealth distribution, unions to negotiate pay raises and benefits for the working class, democratic representation of workers in their workplaces, making sure those poor impoverished families have food on the table and children aren't staving with a decent roof over their own heads, making sure everyone has adequate healthcare so they can live a long fulfilling life or get necessary medical treatment they need no matter what income level they're at.
Heh I didn't pick that up until I started reading the comments on the blog. Pleasant surprise. Wonder how she got into piloting heli... I looked into it at one point in my life. It's expensive. They recommend joining the military and hoping to get selected for heli school. I've always wanted to drop people off on mountains. Looks so fun.
His position is not common and there's a long history of U.S. government lawyers approving participation in open-source projects under licenses which are not the public domain — e.g. SELinux is under the GPL because the original Linux kernel was and the NSA's lawyers approved that contribution.

Here's the upstream issue:

https://github.com/uswds/public-sans/issues/30

He also opened a separate issue claiming an Establishment clause violation because the OFL was created by https://www.sil.org/about:

https://github.com/uswds/public-sans/issues/31
I have trouble with this iPhone analogy. The demand of an iPhone is fundamentally different then the demand for a drug. I don't think it's fair to compare price discovery of a luxury item to an item needed to survive or escape pain.
None of that is an excuse for the shenanigans Avik Roy lists in this report, especially around orphan drugs

https://docs.house.gov/meetings/GO/GO00/20190129/108817/HHRG...
Is this exclusively a Finnish thing? I'm unable to find anything about virtual stables like this outside of the links you've posted.
- Compostable bags are intended to be disposed of in industrial composters ... regulations in the United States and most other nations require label instructions that clearly describe that.

- If consumers think they are being even more responsible by adding biodegradable bags to their recycling bins, that can destroy efforts to collect conventional plastic bags for remanufacture into new bags, the scientists warn. Chemical additives in biodegradable bags can contaminate the mixture, rendering it unusable.
These sorts of articles seem to be primers for a socialist government and a scary reminder that there is no utopian fantasy.

So the answer to a crumbling system (because this is what happens with most socialist systems) is that we kick out the old people? really?
Am not sure that doing too much of either of those two things is possible...!
I was going through similar experiences. Last year I decided to see what would happen if I made some kind of music for 365 consecutive days with no prior experiences.

I wrote about the experiment on Twitter, "What I learned making some kind of music for 365 consecutive days": https://twitter.com/internetVin/status/1019033516028280832

Hope it's useful in some way.

I'm doing the same thing now with code. I am currently on Day 119. I've been calling these kinds of projects, High Frequency Output projects: https://internetvin.com/hfo/

Doing the best I can.
A few millennial classmates of mine (graduated ‘15 or so) say similar things about the company culture. The previous systems in place and the existing old guard have affected their experience working there too.
While this may not answer all your questions, here's a good write up about the topic by Troy Hunt, a respected thought-leader in the industry: https://www.troyhunt.com/heres-why-your-static-website-needs...
It might have been a legend or an exaggeration, but Miner sometimes asked Mitchy whether to draw a circuit one way or another. He'd look at the dog's tail for a response. More often than not, she was right.

More seriously, he admitted that the presence of the dog set a much informal tone in the office and made it easier to hire "unconventional" characters.
> to the extent that consumers can be persuaded to purchase the newer, pricier, patented version of a product rather than the older, cheaper, unpatented one.

they have machinery in place to "persuade" consumers and medical staff that prescribe
> I can't complain to my manager as he's a friend of my manager and I am junior and new in this company!

Don't go through your life like this. Here is what to do:

- make sure your logic is sound

- present your case

- be kind in your demeanor but confident in your position (until proven otherwise)

Nothing else matters.
I have many lights, gadgets, and appliances in my home. But I only have one power meter. Which I flip a switch or push a button, different things can happen, but the meter just counts the watts, and at the end of the month, I pay one bill. That's convenience. Everything I own takes 120V 60Hz AC power, and I pay one monthly bill to run all of it.

The convenience problem with the fragmented streaming services is that everyone wants to run their own wire to my house and put their own meter on it. They need to agree to use the same wire, adhere to a common protocol, and allow resellers to act as their meter reader and bill collector.

That didn't work with cable companies because of locally-granted monopolies that prevented the signal reseller from experiencing competitive pressures, but if everyone can choose between DirecTV Now, YouTube TV, Roku, Sling, Netflix, or even RQ Hacker's Streaming TV Reselling Service, then the consumer is still in control. Partially.

Cable could force you to get 100 channels when you only wanted 5 of them. There was no one else around to sell a package with fewer channels, or even to go full a la carte. But even then, content owners could still strongarm content distributors by selling their channels to the cable companies and satellite distributors as one package. Now it's just the same thing all over again, with the consumer cutting out the middleman, and finding out that it was the supplier that was screwing us from the source all along.

The copyright holders name their price, and those who want to watch have to pay it.

What we really need is for someone to undercut Disney by ripping off their format. Bowdlerize the folktales and fables by taking out all the viciousness and cruelty, create a few trademarkable characters out of them, write a few catchy original pop songs, and stitch together into 90 minutes of family-friendly video entertainment. Throw public domain in one end, turn the crank, and get intellectual property sausages out the other. It would probably only take a few billion dollars to make an impact.

Or... maybe take a hammer to the copyright law that Disney bought, and blow the dust off the anti-trust laws. Maybe draft a new law such that no content owner can sell a bundled package of works unless they already distribute each component individually, and it must be priced such that the price of the bundle must be within a certain percentage, plus a constant, of the sum of its components, purchased/licensed individually. The ultimate source of the fragmentation problem is the copyright laws. It will never go away until they are reformed. So I'm not surprised that the fragmentation is apparently promoting piracy.
I wonder if a canopy could be deployed to protect the cherries from water in the first place instead of drying them after the fact.
This was something I really needed to see.... Thanks to both the OP as well as you Haul4ss.
I'm always intrigued by this critique - are you really, actually against the concept of social justice? If so, why?
You don't with most of them. I do the same as OP. With most of them (Hulu, Prime, and Netflix) you are just "deactivating" it so they don't charge you. All your watchlists, settings, etc. are still saved, so once you resume the service you still have all that setup. It's really not a hassle at all.
Fire starts at Uber office in Daly City, police arrest arson suspect
Probably cost vs benefit analysis. Day time benefit is there where the cost for night shift is much more expensive. Business decision drives a lot but sometimes it's safety. To use the heli at night there's a lot of extra things that would be required, which cost money.
The statistics behind fake rape accusations are all over the roadmap.

This is a good article on the subject https://www.vox.com/2015/6/1/8687479/lie-rape-statistics
Small shops multiply instead of swelling because their capacity limitations are either a high barrier to individual growth or an essential feature of their service ('coziness').
I read it as friction between how Rust sees its application model and the real world. Total ownership of a resource can't be maintained if some jackass goes and pulls the physical hardware out from under you. So now the Rust implementation gets crufted up with a zillion checks for unexpected changes to the underlying system that are clunky in Rust because that's supposed to be an exotic condition, not something you're doing on practically every line.