skysight-inc/HackerNews huggingface dataset:
You can get CCEs without explicit casts or compiler bugs though. javac will catch the most glaring examples of generic type erasure with a warning.

List<String> myStuff0 = new LinkedList<>();
List eraseMyStuff = myStuff0;
// Warning here
eraseMyStuff.add(1);
// CCE here
String myString = myStuff0.get(0);

However, if you obfuscate it a little javac doesn't know about it anymore.

List<String> myStrings = new LinkedList<>();
List<Integer> myIntegers = new LinkedList<>();
myIntegers.add(1);
Stream.of(myStrings, myIntegers)
// Wildcard capture
.map(x -> x)
.reduce((x1, x2) -> {
// Would expect this line to blow up either at compile time or at runtime with reified generics
list1.addAll(x2);
return x1;
});
// Blows up with a CCE
String result = myStrings.get(0);

The above is trick that was featured in some HN post from a while ago (maybe a year or so ago? Need to dig it up...) and is not an original idea of my own. It's essentially combining wildcard capture conversion with type erasure to delay a CCE away from the point of the problem. As I remember I think this isn't a compiler bug in the sense that this follows the Java spec.

I thought, however, there was an easier trick to get a CCE using type erasure of generics without warnings and without having to involve capture conversion, but it looks like I may have just been wrong about that as my efforts all ended up getting warnings from javac.

Of course whether any of this actually matters is a separate issue altogether. Java is still a workhorse language that powers a ton of software.

As for weirdness, I can't think of any other language with generics that preserves runtime type information without a way of preserving that for generics as well. Most as you point out either do full erasure (most stuff in the ML-inspired family) or either fully preserve all the information (of course all the .NET languages)/let you opt-in to preserving generics (Scala to some extent with TypeTags) or just forgo generics (Go).

For example in OCaml if you try to do an unsafe and incorrect cast you segfault. IIRC in GHC you end up with a crazy incorrect value (e.g. unsafeCoerce [1, 2, 3] :: Int results in some messed up integer).

My question was me thinking out loud; I was guessing that CIL bytecode has a instruction analogous to checkcast in JVM bytecode that you can just omit and then you can freely cast at will, potentially wreaking havoc if you cast incorrectly. I don't know if that's true. Basically I was separating the verification of type information from the storage of it at runtime. If the CIL separates them then the downcast trick works. If it doesn't the trick doesn't work.

Also in a way this unsafe cast is really just a run around reified types to begin with. I guess the only difference is that you still have storage of the types so you can do runtime reflection. On reflection, I can certainly see how this complicates implementing things like higher-kinded types (because you sort of end up implementing half of type erasure yourself) but I'm not sure it complicates marshalling ordinary data.
The person doing the actual driving is likely in the country illegaly or driving with a suspended license/no insurance.
Apple, Tesla in flux as most-shorted stock in US stock market
Perhaps he meant modern English canon. Beowulf isn't understandable to modern speakers.
Ahh, what you lose on every transaction you make up in volume.

Got it!
Fun fact, not only can you use iret to return to user-mode from kernel-mode and kernel-mode from kernel-mode (as footnote 5 mentions), you can also use iret to return from user-mode to user-mode. It is a handy way to restore RIP, RSP, and RFLAGS at the same time. .NET CoreCLR uses it during exception handling on Unix:

https://github.com/dotnet/runtime/blob/4db72366e8e49c30d7aa6...
> I just don't get why the internet neither forgets nor forgives.

Trust takes a lifetime to build and a moment to collapse.
Because these companies are still finding enough labor after lowering what they pay out drastically. It's the market in action. You're right that as a society we have a duty to step in with policy here, as we do with minimum wage, but this isn't a violation of "first principles".
Dialogue can be very useful.
It doesn't carry much weight when we write how lucky we are to be mortal, since being immortal has never been a realistic option.

It brings to mind how Iain M. Banks wrote in the Culture series about beings who chose functional immortality by uploading their consciousness to networked hardware. One of them still programmed himself to need to pee in the simulation, because he liked doing it.

Whereas I'd be surprised if any being programmed themselves to die in the simulation and be wiped away.

But if they did, I'd love to know their reasoning.
We could ditch Recurly because we had all the necessary billing data available on the new, central system. Not before that.
Simply using public funds to employ a workforce rather than contract one would save the most money due to eliminating the need to house and feed shareholders and turn a profit, but voters seem to like the contractor profiteering model even if it eats the public purse.

NYC only has a big subway system because it gobbled up all the failing private railways over the years. LA used to have the largest rail transportation network in the world, it was private, and it too failed to turn a profit and failed. Transportation runs at a loss.
What do you mean? If you can record the data in the first place you can probably save it. If you mean making some kind of workload or benchmark, couldn't you write some code to do it? It's probably somewhat inefficient because you can't write to it directly but you can get pretty close.
Just because you can't do a rigorous static analysis (which to certain degree is possible, check out Spectrum) it doesn't mean that Spec is not a type system.
How did we ever get here? Why is someone allowed to put this many satellites in the sky, and in the name of money and not science.

These lunatic leaders are taking it too far. I will have to put on my superhero coat soon, and create some balance
You can’t really do multiple layers of tunnels with cut and cover. It also requires the tunnels to follow where you can actually cut instead of the most direct route.
Spoken like someone who spends 4 hours on the 405 fwy a day, by choice.
Stalking is a crime. Even if you do not interact with people. Building up files about private individuals without their consent is a crime.
It seems like the catastrophic prospects that nuclear war presented played a part in preventing that sort of war - but such things are hard to know for sure.
I honestly don't think freemium/Ads are a good model.

I understand what you mean, and i think the model pursued by old games was less toxic. They simply released shareware ... just 10% of the game for anyone to try.

Freemium/Ads works well for addicting things, and im not sure how the negative effects of what’s done there can be honestly counter acted.

So its not that i don’t think that the model generates less money, its just burning down the house.
This is why we need autonomous delivery services. Exploiting robots is acceptable, exploiting humans on the other hand isn't.

I've seen a couple of these around in LA ( https://thespoon.tech/postmates-serve-robot-spotted-and-film... ) and can only hope they become mainstream in the very near future.
The group of humans would have no idea what the emergent brain is thinking -- like the cells in our body have no idea what our brains are thinking.
How hard is it to understand that the mass of a proton isn't just because its constituent quarks have mass?
We already live in the diamond age. Maybe you haven't been paying attention.
Can we please do that for all jobs? I want the workers at places I get food and such from to actually just have good base pay.

Tips should be about rewarding going BEYOND the normal... not as a basis of someone's wage.
Again you just repeat what I knew already, more offensively this time, without, it seems, explaining your reasoning in the slightest. The question was, I thought, whether the pictures were originally not printed properly or just not scanned properly. I said "I get the feeling" because I don't think it's easy or possible to definitively tell the difference in this case. You've expanded on what you said before without adding anything, explaining the obvious again, but it doesn't explain to me at all how looking at the pictures help you decided one way or the other. Presumably no-one thought the blank pictures were supposed to be blank, but what caused that, I don't know. I just had a vague feeling.

"Tone policing" is, I thought, not responding to someone's content but objecting to the style of delivery e.g. if they're upset. I was both objecting to your style, which felt rude, and addressing the content, saying the argument justifying it was absent, that there was no content except "No". And you have since provided no more argument, but more rudeness.
It seems like the biggest problem that 'Mariah' at the top of the article faces is that she has too many children, no partner, and her car is too fuel inefficient.

The best way to help people in her situation is to encourage family planning, marriage, and cheap electric vehicles.
This is just a natural outcome of the way venture capital funding works at the moment. When you care more about speculation than what's actually fundamentally occuring, you're going to get businesses funded that are not even able to survive on those basic fundamentals. If it weren't backed by large capital, it couldn't exist.

This isn't always a bad thing, but on a whole, it does distort the market. At some point you have to weigh up if the good effects of this are worth the bad effects. If there were higher taxes, costs, or otherwise more risk for investing, it would limit that a lot.
> They are based in the pacific northwest. Electrical is mostly hydro.
EU considers temporary ban on facial recognition in public spaces
Firstly disclaimer that I work at Very Good Security.

ec109685 is right and this is precisely what VGS does. Most companies collect sensitive data (PII/PCI) to achieve a business objective, like verifying identity, age, creditworthiness or to authorize payment. Storing and securing this data is not their primary objective and possession of data comes with the burden of compliance and regulations. VGS acts as a proxy aliasing sensitive datasets as the data flows between systems. When it is time to use this data, VGS acts as a proxy replacing the aliases with real values as data has to be exchanged with third parties.

When dealing with short attributes, combining several other parts of the form to create a composite alias partitioned over the different parts of the payload gets the job done. This would expand the size of the short integer. Adjacent encodings in Chinese, Korean and Japanese characters further expand possibilities.
Coding Dopamine: DeepMind Brings AI to the Footsteps of Neuroscience
Show HN: PHP PDO Query Builder v2
The FCC will likely say: "Choose between high speed internet in rural areas, and astronomer inconvenience"
AS here too. Been there with the pain-insomnia and SI inflammation. My first line of treatment was with NSAIDs, and it was a huge improvement. Later on I started with Adalimumab, and it was another huge improvement.
Features in XSplit Gamecaster’s Theme Overlay Editor
My daughter didn't really speak until she was 5. Just a few words at age 4. Was diagnosed as autistic. Always loved books and being read to. Had intense reading comprehension issues until 5th grade or so. Couldn't remember the word or sentence she just read. Was home schooled for 5th thru 8th grade. Somewhere in there her comprehension issues fixed themselves. She reads everyday, and is a straight A student. She's 15 now, and wants to be a writer. The brain is a wonder. She started slow, but finished strong. Some learning issues can sort themselves out, so never lose hope.
But why there is a need to paint it all the time?
None of all of what you wrote addresses how those folks between a rock and a hard place will be better off not having the option to work for a given service at all.
Fractals are not necessarily the same at different scales. They can be self-similar at different scales.
How does this compare to NotORM?
Yes, this would be ideal, but what about the people who are already in this situation? Are they a lost cause?
I don't think you need the extra layer of isolation. Browser tabs are isolated pretty well if they are running different sites. Chrome's spectre mitigations will also help to isolate functions from one another https://security.googleblog.com/2018/07/mitigating-spectre-w...
CSS – The Complete Guide 2020 (INCL. Flexbox, Grid and SASS) Course
Toronto is surveillance capitalism’s new frontier
I have so many things to say here, but I think that the kernel of it is as follows.

The Children of Húrin, Beren and Lúthien, and The Fall of Gondolin are a gift, unlooked for and unexpected. They are the best founding mythology one could ask for, three Silmarils in the crown of a lifetime sorting through the mind of his father. We can wish that JRR had lived another lifetime, we are blessed to have gotten Christopher in his stead. If you have not read the forward to The Fall of Gondolin it is a timely and poignant reflection. All I can say is thank you.
I am honestly still missing exactly what the poster finds offensive.

Is it a fear of second hand smoke related illness? Do they find the irony upsetting? Something else

Yes, cigarettes cause lung cancer. Does that mean smokers should be disqualified for volunteering at a lung cancer charity? They probably have more of a vested interest in the charity than the general population.
"Eventually those coal companies may fall out of indexes all together which will really increase their cost of capital."

This seems to contradict your expectation that "passive funds without coal etc. will outperform". If the cost of capital for coal companies is higher then the return for investors in those companies is also higher.
That's an awesome first-hand story, and made me read up on 2675 just now.
might fit with the simulation hypothesis?
On paper, when everything is just objects floating in gaseous infinite space, this makes sense. Once you begin to realize that a car takes space, this all falls apart. You can make the 405 100 miles wide to fit everyone across, but you'd loose the entire county in the process.

The fact of the matter is that it's absurd to transport people in a dense environment 25'x10' apart, one at a time, all going back and forth to the same exact two places five days a week for 40+ years. Trains let you fit way more people in a given area, people who are already heading the same direction, and therefor offer more space for a city to be a city rather than a place for infrastructure.

Until we get to a point where people are able to move easily with high capacity transit, it's irresponsible to waste precious political will to build with the intention of providing low capacity transport for those who can afford a $30k+ car.
Not every company feels a blind person is good culture fit, legal or illegal it may be. Not like you can hide in an interview either...

My blind programmer friend works at Morgan Stanley, EU.
This article is somewhat interesting but it appears to be a not so subtle advertisement for a trading platform.
I was a lurker, but your post has inspired me to create an account. Thank you for reminding us that people can be good.
In the article, Microsoft says they are carbon neutral today. They make a distinction between being carbon neutral—offsetting all their emissions—and being “net zero”. The latter is harder because it requires actually removing carbon from the atmosphere, not just paying someone else not to emit carbon.

They also make a distinction between Scope 1 (direct emissions), Scope 2 (emissions created by energy providers), and Scope 3 (emissions created by suppliers). Their Scope 3 emissions are two orders of magnitude higher than their Scope 1 emissions, if I’m remembering it right. Their commitment is to be net negative including Scope 3 emissions.

I was impressed. They went well above and beyond a simple PR move.
This hints at the biggest problem with our education system. Different children learn in different ways. Word lists and spelling tests may have been effective for you, but they weren't for me (reading hundreds of books otoh did improve my spelling). Unfortunately, I don't really have a practical solution.
An earthquake will destroy a sizable portion of the coastal Northwest (2015)
And then in the cyberpunk dystopian future, the illegals in turn build a nano-market by contracting to children, on top of their micro-market under the GrubHub level consumer market.

It's grey commerce all the way down!
Ironically, if people that care about the planet don’t have kids to save the planet, you will be left with more people that don’t care about the planet down the road
And the AirPods. People will say 'they are just Bluetooth earbuds'. But they also said that the iPod is just an MP3 player. But like the iPod, iPhone, and iPad before, the Apple Watch and AirPods are defining the expectations for their respective categories.
I’m glad somebody tried to quantify this. Here’s the rocky ride when taking a late Caltrain bullet from north to south (somewhere before Palo Alto): https://imgur.com/gallery/L3LRcld
Because people still want food cooked and delivered and to use taxis.

If the non financially viable companies did not exist then financially viable ones would.
haha, I think I know who you are (though I don't _know you_) .. developer of Glider and Pararena, among others? :) If so, thank you for making such fun and memorable games!
That includes 12 million tons from their supply chain, IIRC.
There were a couple of scenes removed from the cinema version that showed his character a bit more, but that character was a huge departure from the book.

The main one was a flashback that shows his relationship with Boromir and the toxic effects of Denithor's favouritism.

The film made him look weak, violent and rash but in the books he was the polar opposite of all three.
If you assume a strong password you don't need to worry about dictionary attacks.

There are 2 ways to slow down the attacks: key stretching and secure storage. Key stretching is a good idea.

I recommend not relying fully on secure storage, because I've heard of tons of hardware vulnerabilities (side channel attacks, undervoltage, electron microscopes, buggy implementation). I trust math more than a physical object. In fact it seems impossible to me to build fully secure storage, because if someone has a delicate enough measurement tool to measure the atoms inside the storage, the data inside can be extracted. If you store the password (or hashed password) as well as the key in the secure storage, and have it only return the key if the input password is correct, you run the risk of someone finding a bug in the storage to extract the key without the password. Then you're compromised.

But you build a system so that the secure storage is no worse than regular crypto. You do the encryption using a combination of the user's password and the output of the secure storage. That way even if the secure storage is fully compromised, the password is still needed.
Pipe-Skimming: Pattern enhances the UI of Unix CLI Tools
If you try to compete with DoorDash using that model, you will either have to charge much higher prices than they do, or you will lose money on every transaction. Either way you will go out of business as long as DoorDash or similar companies are able to compete with you.
I’m not disagreeing with you (I know nothing about geotechnical), but I was thinking the bottleneck is all the bureaucracy and infrastructure factors, which don’t have mechanically scalable solutions. I’m assuming tunneling through Las Vegas is much different than tunneling in NYC or SF or even LA.
You find the 'yr' confusing?
The Productivity of Bullshit Jobs
Recently there was squabble about the projected revenues of the LA olympics. The more recent figures were pessimistic, and naturally the media had their time writing pieces in different directions about this, blaming the city for incompetence and budget overruns, and the public formed their opinions and became ever more polarized. The reason why the figures had changed was simply that inflation had occurred over the years since the initial projection.
MISRA C
They said they are already carbon neutral. Now they are aiming for net zero or lower and also including their supply chain. They included quite a few concrete details about how they will do it, including an internal carbon “tax.”
I welcome our dark lord, Cthulhu. May his comings bless us for generations to come.

If i could write i would write a novel about the great flow. That was awesome and terrifying to read.
I'm guessing this was in Göteborg. I also worked on a team in Göteborg and was presented with this nonsense. I ended up telling the HR manager that this "method" is obviously pseudoscience and a waste of my time, and I ended up leaving the team.
Choosing Books (2019)
He did an AMA on Reddit a few days ago:

https://old.reddit.com/r/IAmA/comments/eorio3/hi_im_david_si...
Do they start them at $1'000 and let them bid down from there?
Does your company nurture neurodiverse talent?
> as if they are connected by a vast unseen force.

LOL. Popsci is hilarious. And physics is in a desperate crisis. We need less science and more philosophy.
We evolved to detect predators in greenery. I use a light green theme.

in Visual Studio Code settings.json edit those line : "workbench.colorTheme": "Default Light+","workbench.colorCustomizations": { "editor.background": "#e0ffec", },
They are always fun to watch :)
Because these exploitative schemes displace other delivery jobs and services that work under fairer terms.
LOTR is unlike anything else supposedly in the same genre. It is unique and a riveting read.
I'm not saying that they would be -- correct me if I'm wrong but I don't think that has been a point of discussion.

A job/app gig can both exploit someone and also give them the ability to survive where they might have few options otherwise. See sweatshops and the agricultural industry for example
Not to mention the $1 billion innovation fund investment by MS mentioned in the article.
Show HN: Why would anyone write in Assembly Language? (video|tarball)
I really don't understand the aversion to cut and cover these days. Whole blocks of street are routinely closed and resurfaced for long periods of time, especially if sewer work is involved. Businesses in urban environments aren't really reliant on the business from the street parking directly in front of their storefront anyway. Closing a couple blocks at a time wouldn't be all that bad, and it probably wouldn't take too long to throw a temporary grate for car traffic over the open cut anyway.
Or take a long time to prove such as against cancer.
They have no control over the rest of the experience: how it's plated and presented, how it's transported, the temperature it's served at, music and ambience etc. One pizza tastes much like another after it's been cooling for 30 minutes. Pretty soon, you don't even need a restaurant to cook the food, only a cloud kitchen. And why would cloud kitchens be owned and run by restauranteurs? It's much cheaper for the delivery company to hire a bunch of cooks to develop and cook menus for "different" restaurants that share the same facilities, suppliers and staff.
Dark mode is meant to be used in low light environment.

It's a way to keep people up at night to show them more ads more frequently.

People who aren't insane and who sleep at night have a good lighting in their environment and a light theme.
Mostly the best thing is to improve your diet, paying particular attention to leafy greens such as cabbage. You also need Vitamin D made by your melanocytes using sunlight energy for some purposes but dieticians tend to believe in leafy greens and so does my doctor :)
Mark
Indeed, which is why it is the system that has to be changed. Some things can't be solved by individual entrepreneurial action.