skysight-inc/HackerNews huggingface dataset:
While I don't have a definitive formulation in mind, this seems like exactly the sort of problem that can be solved with delimited continuations by 'augmenting' any outer continuation with a code to perform the file-pointer closing.

That said, I'm not certain demanding these operations use `unwind-protect` is desirable. Several dialects of Scheme use continuations for multithreading, and forcing the program to close a file handle before context-switching also seems like incorrect behavior: if I ever end up back in the file-reading context, it sure would be nice if that file was still open. The author proposes that we should indicate if we intend to do this in each continuation case (either at `call/cc` or continuation invocation time), which seems annoying and cumbersome.

The alternative, then, which the author seems to ignore, is to trust the garbage collector to do the correct thing. Luckily, any BiBoP mark-and-sweep collector for Scheme [0] will almost certainly handle this situation when the file handle is out of scope (by correctly closing handles during the compacting step).

0. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.51.4...
I took all the powder out, wrapped it in tinfoil, and put it in the fireplace. I was impatient, and sprayed it with cooking oil spray. The instant I closed the door again, boom.

Makes me cringe to think I was only 7 or 8 years old.

Shortly after that, a retired cop saw us throwing rifle bullets down cement stairs with rocks taped to the primers, trying to set them off. He very calmly and sternly told us how dangerous that was.

It is amazing that any boys survive to adulthood. I don't think I could have kids, knowing what I got up to.
But if they do... oh boy, what fun can be had by spamming ooeratins on the same memory location from multiple cores! If this isn't thrilling enough, try doing that with atomic operationsto be extra thread safe. I had some really fun experiences with this in C++. The best one was a factor 100 slowdown by activating compiler optimizations.
Are they members of the 11-99 Foundation?
As far as I know Rust doesn't really do C++-style copy elision currently. So things passed by value get moved. Which is to say, bitwise copied (memmove) and the moved-from binding statically marked unusable unless it implements the Copy trait, basically promising that it doesn't contain owned references to external resources (in which case copying would violate the single-owner invariant).

In C++ an object can be passed by reference, by copy (implicitly invoking the copy constructor), by move (implicitly invoking the move constructor), and additionally the compiler may choose to elide the copy/move. Whereas in Rust, you can only pass by reference (borrowing) or by bitwise copy (moving). There are no implicit copy or move constructors, and AFAIK at least currently the compiler doesn't hoist objects directly to the callee's stack frame.
Oh, yeah, that's true, but most of the apps have some sort of escape valve, right?
A Synthetic Chameleon Has Been Developed
I was an intern at Netscape in 1998 and I'm really glad to have been there to witness a bit of the history. The first staff meeting I attended was announcing layoffs, two weeks later they announced the open source initiative, then two months later the launch of Mozilla.org.

Code Rush touches on all the work that went into making the code buildable by folks outside, but one thing they omitted probably surprises no one: the sheer amount of profanity that had to be scrubbed from the source code before it was released. Some genius assembled a page of the choicest examples (much of it directed at Microsoft) and handed out hundreds of photocopies at the launch party.

Hell of a first job in tech.
Kubernetes Security Best Practices
Unfortunately antisemitism in Europe has a long and dark history, the Holocaust only being the most vivid and recent eruption of anti semitic emotions.

On a related note, it's odd to me how people are so vociferously anti-Israel in Europe.

Can't they see that the Jews were treated as second class citizens on what had been their ancestral homelands for over a millennia following the original spread of Islam? This being the case, the creation of Israel is amends for the sustained history of Jewish oppression and displacement in the Middle East.

Willfully ignoring this seems like a choice motivated by latent bias against the Jews more than anything else.
Not sure if you’ve ever seen this tinnitus relief video

https://m.youtube.com/watch?v=ajb37ie-Juo
It seemed to me that shyp's market was simply too small. One of those juicero like ideas that only seem great in SV.

There seem to be two primary segments. Those that sell a lot online or at least rather frequently. And those that are very infrequent shippers.

For the frequent shippers, it's simply not cost effective. Especially considering that most online marketplaces, like eBay and Amazon have easy shipping label printing and you can request that ups or FedEx come pick up the package. So except for the hassle of finding a box and tape, I'm not sure why you would use shyp. (And most always have Amazon boxes lying around now).

And if you are simply a very infrequent shipper, it's still probably easier to just swing by a shipping location like mailnmore. Plus, if you are infrequently shipping, you probably aren't trying to find a service to make it that easy. It's not enough of a pain point.

Those that fall between those two groups would seem vanishingly small.

I was dumbfounded everytime shyp raised more money. But I assumed they had some great growth numbers that the public weren't privy to. But maybe not.
Congratulations, you have reached the point of realization that adding
a dependency has a cost. From now on you just need to evaluate if a library
or module gives you enough to justify the cost of including it.
Then how do you do toilet maintenance?
Or you live in a country with no BS medical pricing, take 2 zeros from that value and you get a more realistic pricing estimate for places in Europe (or pretty much elsewhere, probably lower, apart from Japan and Australia, I'd say)
He Spoke Out Against Somalia’s Terrorist Groups. Now ICE Has Deported Him There
maybe you insisted on using a call stack? if you don't care about the difficult to quantify performance delta just use heap allocated activation records - it all falls out pretty easily.

the one thing I would never want to implement is hygenic macros, but if you steal a reference version most of the special forms get boiled away.
Ohh I didn't know of this, thanks for the recommendation will definitely check it out.
There are ~220x more whites than blacks in Montana, yet only 85x more whites are pulled over. How is it your conclusion that whites are 4x more likely to be stopped when accounting for population? Just from those numbers it looks like blacks are 2-3x more likely to be stopped.
I just open the actual site when that happens, which makes the feature a convenience rather than a necessity. I can't remember the last time that happened to me though. If this were affecting me regularly I'd probably feel like you.
Why is Math.random() not designed to be cryptographically secure?
That website is an abomination. Hurky jerky scrolling and autoplay nightmare.

Edit: I gave up trying to read that article.
It’s not that latent, it just got a little quiet after WWII, but it’s been roaring back to life for years now.
You realize killing people less than average is not dangerous. It is actually safer. Without understanding this basic logic, than I am not sure what else to say.
The more I code in Rust, the more I reluctantly agree with this statement of yours. I wish you weren't right but I think you have a point. Something needs to be done about this before too much legacy is accumulated with this pattern.

> Using refcounts to get around an overly aggressive borrow checker seems to be an ugly developing pattern in rust, and I feel they are giving away the performance many are fighting for by adding all these little inefficiencies to idiomatic rust. Add some refcounting here, add a Box or other indirection there, a chained monadic interface that can't short circuit and has to continually do error/null checks, etc... Soon it is death by a thousand papercuts. People fight hard for that extra 5% in performance only to have it taken away from them in interface and language issues.
> Your original point was something along the lines of you being overcharged by Apple because you now had to buy an expensive dongle. I showed that the expensive dongle you were talking about wasn’t actually as expensive as it seemed, which weakens your argument somewhat.
Are Rust ref-counts atomic? (I'd assume so).

Atomic ref-counts can actually have a surprising amount of overhead in many multithreaded scenarios, so much so that going back to raw pointers over shared pointers in C++ for some use cases of passing pointers around can provide a huge win.
Cops aren’t allowed to pull people over for correlations. They need probable cause.
It seems like we have the technology to warm up the planet within reach already
The paragraph immediately below in the paper states:

> At the 14-week interim evaluation, there were increased incidences of right ventricular cardiomyopathy in the heart of male rats following exposure to GSM- and CDMA-modulated cell phone RFR compared to sham controls.

And a little further down:

> Following exposure to GSM- or CDMA-modulated cell phone RFR, there were increases in the incidences of malignant
schwannoma in the heart of male rats
>for some reason they just completely overcharge on bandwidth

People say this about AWS/GCP/Azure. They are so willing to compete on cost on everything else that it seems odd like this would be true, so I have a different theory:

OVH/etc are all able to massively oversell bandwidth. Most customers do not use it. This is fine, and not anything I think they're doing wrong!

But the "Big 3" are all about automatically scaling resources. With my own applications, I find that if I am scaling up/out, my network traffic is growing at a commensurate rate. Whereas back in the day when I was using SoftLayer or other places where I leased dedicated servers, I was not using anywhere near the included bandwidth.

It's easy to sell 1TB at the price of 100GB if people, on average, are only using 100GB. But then you have to sell 1TB at the price of 1TB if people, on average, are using that 1TB.
So you're saying you prefer these cheap Chinese products be sold first to American merchants, and then resold to US consumers? More American merchants will make money through arbitrage but it's effectively money spent by consumers to subsidize merchants. There isn't any real value being created. And fewer products will be sold, making entry to interesting maker or hobby projects prohibitively expensive.

If I need some cheap diodes and caps, I'll hit aliexpress rather than spend 20x the markup for the exact same product on Amazon.
I didn't mean to blame anybody in zealotry, it is purely technical considerations: it is much easier to maintain and develop codebase when you have more organizational control and can push changes to mainstream, comparing to forked project, when your changes may not be accepted to main branch.
Why would you want them to?

Their web servers needs decrypted data in order to handle these office documents, so client side encryption is not an option.

Server side encryption, where the server knows the keys, serves very little purpose because the threats it protects against are extremely unlikely. What it’s protecting against, armed robbery of the datacenter?
Ars covered this particular story and were deeply skeptical, attributing the findings to selective use of p values:

https://arstechnica.com/science/2018/03/a-critical-analysis-...
You are confusing the now invalid internal state with the continuing existence of an accessible object at the old location. So you can move from an object and then access it. The standard guarantees that the object is still around. But because its data got stolen, its internal state must now be something invalid or empty depending on the semantics of the object.
Anyone who is still waiting in line at the post office to ship something seems like they would not be tech savvy enough to use an app like shyp. Almost any online marketplace let's you print a shipping label right off their site. Then you can drop it in a blue box or just swing by the post office, skip the line, and set the ready to go package on the counter.

In the case of UPS or FedEx, there is usually an option for them to come by and pick it up for free or a few dollars. I get enough packages from USPS that I can just leave an outgoing package on my porch with a sign for the carrier to get it.

Shyp just seemed to be a solution looking for a problem.
To be fair, it wasn’t just technical problems with Firefox that drove users to Chrome: it can also be blamed on Google advertising Chrome heavily as an upgrade in prominent positions on google.com start page and other properties, Google crippling their own software to only work with Chrome, Google having the financial resources for multi-billion-dollar TV advertising campaigns, bundling Chrome in a pseudo-malware opt-out fashion with other software downloads (e.g. Java updates), etc etc.

At least the Chrome team seem pissed off with the ongoing problem of Chrome-only Google applications, although they seem powerless to do anything about it as the problem continues.
I think there the possibility to find a standard for response that genuinely serves the maximum future good.

In my mind — the standard response to such accidents should be to setup an endowment dedicated to the study of techniques promoting the enhancement of autonomous safety, named after the victim, in the geographical region of the accident. Build a damn research facility near the accident site — spread the valuable high tech knowledge across generations and demographics — along with the understanding that the ultimate mission being pursued is the safest autonomous systems possible.

This kind of response would go over really well I think and have a lot of benefits beyond just PR. There are very real possibilities that accident rates will not be uniform across driving regions due to the inability of models to optimize for the uneven distribution of risk sources across all driving scenarios. This gets _really evil_ if profit motive is allowed to be be the only mechanism driving the development of vehicle safety models. I cringe for a future where car accidents are biased to occur more often in poor or ethnic neighborhoods ...
People of African descent are rarely found high up at google. When I worked there a decade ago, you wouldn't notice a black engineer roaming around for months on end. Not counting the chefs or the security staff of-course.

While you can blame America for the inequality, you can hardly blame the cops or society for the prejudice your friend experienced. How often would the cop stop a black engineer in a lexus who didn't turn out to be a carjacker?
Yes! I've read it a long time ago. Brilliant book.
Tokio: New Timer implementation
For the most part i agree, but how about summer times in the northern regions in US or the world when sun doesnt set until beyond 9pm or say Norway where it can be until midnight or more than 60 days in some areas?
This naming choice makes sense now!
This would really benefit from adding comments in the 'how to use' code samples, or at least using standard foos and baars to make it clear what is user code and what is part of Nothing.js.

For example it is not really clear if 'executeAction()' etc are part of Nothing.js. I assumed they were, but then the next sample seems to do property chain traversal transparently, without them.
The biggest thing I was surprised about when I started a podcast is that iTunes doesn't host or distribute podcasts. As an end-user, I thought I was getting iTunes content with podcasts. But in reality it's just an aggregator like reddit or HN: it's full of links, but those links are external and pull content from other places.

I was also surprised by how easy (and free) it is to get a podcast on iTunes, especially compared to getting an app on the App Store.
Is there any example of services using Lua to run code written by users either in the browser or in the server?

Not necessarily Fengari, it could be with a different library.
Ending meat subsidies would make a huge impact, probably a more feasible step too. Outright banning meat would be even better. Animal agriculture produces as much (if not more) pollutants than the entirety of transportation.

http://www.cowspiracy.com/facts/
Please stop with this advertisement. Yea, we know you are a sysadmin but whether its 150 users or 1500, it's not you who is going to decide if he needs one or not.
I write a test for each bug I fix, so it don't show up in production again. And when I do manual testing that get daunting eg. I have to make several steps to reach a state. I also write an automatic test. Or when I'm not sure something will work I make a basic "assert" test or some "defensive programming" that checks if the state is sane during runtime. I don't do unit testing. Most programmers get unit testing wrong, the single reason for unit testing is to get full code coverage. So if you do unit testing you should write tests from day one.
Wow: love this quote: “Here was a guy who created one of the biggest mass surveillance operations in human history: A digital Oppenheimer, too naive or narcissistic to own the horrific consequences of his invention, who instead apparently sees the spread of global fascism and the unraveling of democracy as a mere engineering and PR problem.”
UberRUSH is shutting down
Arc<T> is atomic, Rc<T> is not.
The slides should have brought some idea and confidence in securing Kubernetes, but especially after seeing the advice to proxy communication between services, I learned that securing Kubernetes / containers / microservices is much harder than I thought. It feels like there is an overwhelming number of things to consider.
I've been using Newsblur for years now. I love it most of the time, but it still has a lot of UI bugs/quirks that are occasionally frustrating. I might have to work up the energy for another round of GitHub issues.
Washington State University sues own spinoff over ‘apple of the future’
It's not always about "producing more". This tennis model is relevant to scenarios where the job is getting harder with time (e.g. building better computer chips, or performing more complicated brain surgeries).
I would love one of these in my house simply as a sock-printer. Nothing feels better than putting on a brand new pair of socks. I would love to have it set like a coffee machine where it will auto print out a new pair of socks when I get up and have a heat lamp shining on it so you pull off a warm, new pair and put them on in the morning.
If blacks are 4 out of 1000 Montanans and whites are 878 out of 1000, then if there are 8,000 stops of blacks there should there should be 1,756,000 stops of whites.
There is Rc and Arc, the latter being atomic. If you want to pass them between threads, you'll want an Arc, and in fact you will want an Arc<Mutex<Data>> so your data becomes:

let data = Arc::new(Mutex::new(Data::new()));

And if you want a mutable static global that's accessed across threads, you'll need something like:

lazy_static! {
// 0 -> None
// 1 -> Circles
// 2 -> Bezier
static ref DRAW_ON_TOUCH: Arc<Mutex<u32>> = Arc::new(Mutex::new(0));
}

I love Rust but it is making easy things harder than they need to be.
RIP /managerv3/
PVS-Studio is now available on macOS  – weaknesses in the XNU Kernel
Yes, you can. You can literally blame the cops. If they want to verify the ownership of the car, they can easily check the papers. It’s also about making the driver aware of the fact that they don’t think he could possibly be driving this car.
iTunes doesn't host any podcast files. You (as a podcast host) provide them an RSS link and when an end-user subscribes to your podcast, iTunes merely grabs your RSS feed and has the end-user's phone download the latest episode from your servers.

The episodes are stores and distributed from the podcast host's own server. The podcast app is just an RSS feed reader.
It just seems like your misunderstandings are preventing you from understanding React properly, and that those misunderstandings could be rectified by more experience with the library. Learning is inherently difficult but sometimes its best to trust in the process and dive in :)
I use the Alpine [1], and I use them to protect my ears from the screaming of my toddler. They cost 13 EUR, custom-made cost around 150 EUR. Custom-made can be worth it if you use them a lot, and if your ears are non-standard might be downright mandatory.

But I've been using them too late because recently I have tinnitus in the evening before I go to sleep (I do wear the plug at night as well). Am in mid 30s.

[1] https://www.alpine.nl
See section 11 "Memory Pressure" of https://www.kernel.org/doc/Documentation/cgroup-v1/memory.tx... - there's a way to get notified via eventfd() if your current cgroup's memory gets low. I believe you can just do this on the root memory cgroup (/sys/fs/cgroup/memory/memory.pressure_level) if you're not setting up actual cgroups for your application.

(Signals for asynchronous conditions are an awkward interface because they can interrupt you between any two assembly instructions. You're not able to release memory in the handler itself; you have to set a flag that gets handled by the main loop. So eventfd makes sense here. I'm assuming iOS is doing something similar by queueing an Objective-C method call. Signals make a lot more sense for segfaults and the like, where you're being interrupted at the exact instruction that isn't working and you need to handle it before executing any more instructions.)
>Never really used fancy aws expect for pay vps-per-second and out-bandwidth-per-byte.

This doesn't seem true, based on all of the things they talked about using at Re:Invent last year.

https://medium.com/netflix-techblog/netflix-at-aws-re-invent...
I'm almost 40 and so far there has been only once in my life I had to do maintenance on a toilet, and I've always had "regular" ones. It was to replace a gasket.
For a very long time Chrome has been vastly superior to Firefox. Now Firefox is starting to reach the level of Chrome, but they seem to be unable to stop pissing the bed, which in the end I believe will make their technical efforts worthless.
No, not at all. You only get to feel the low frequencies anyway, which is why infrasonic speakers are nowadays a standard for electronic music venues. You then sync those with audible output and people think they "feel" the music.

What they feel are inaudible sound waves at a frequency that makes some tissue/bones(?) resonate. But this is as much "feeling" the music as is being punched in the face in sync with the base rhythm ;)
Situs Domino QQ Online Agen Kartu Judi Terpercaya| Pokerqq81
You're right, I multiplied by .04 instead of .004. I'll edit that out.
Unwind protect doesn't work when you have multi-shot continuations. The question is whether you should have multi-shot continuations. I would say yes (but delimited since they are easier to reason about and superior in every way).

We could bolt on a simpler exit facility on top of call/cc with support for proper unwind protect, but it would not bring much compared to a simple macro hiding the ugly parts of dynamic wind (and of course: making sure to only use continuations once... ).