skysight-inc/HackerNews huggingface dataset:
> First, programming languages should make it simple to create types where equality comparison is disabled because it makes no sense

This is kind of a silly "solution" as some languages don't even have types, others have "soft" types, and others support arbitrary typecasting. (Not even going to get into duck typing, union types, etc. Type theory is hard.)

> Programming languages must make the difference between structural equality and reference equality crystal clear

This is probably intractable. Author doesn't even touch cases where you have objects that contain other objects. Are these references or values? How does the equality operator work there? How deep does the rabbit hole go?

If you only deal with values, then you're probably crippling performance. There are reasons for these design concessions, it's unfair to assume that people that designed these languages are complete doofuses.

> One might look at the length of this post and say, “Wow, equality is really complicated! I’m going to give up coding and become a soybean farmer.”

Farming is magnitudes harder than what the average programmer does day-to-day :)
A full-scale failiure of the Italian economy and/or failing of any major Italian bank is "game over" for the Euro. The Greece bailout already had the Eurozone down on its knees, but this is a different dimension.
The counter-argument to this is that even with the money being pumped into the market by the central banks, we are not seeing significant inflation in consumer goods.

This implies that the money is being put to work efficiently and resulting in productivity and QoL improvements for society as a whole.
Awesome thanks! The project I run has a lot of emergency updates so this, being able to release simply with a comment referring to a specific issue in context is really helpful. this is how I've set it up:

https://github.com/smashah/sulla/issues/197
I'd say I'm lucky to get an hour a day that's free to actually do engineering work, 3 hours would be a godsend, and rare. Its definitely hard to be effective as an engineer with such little time to deeply engage. Ive sometimes thought about booking a meeting with myself to go get work done!
+1. it took about 3.5 decades to return to the levels of the pre-'29 crash. bear markets can indeed drag for decades. stockbroker happy-talk tends to gloss over these facts.
Conjecture and poor reasoning.

> There are now more than 400 DTC brands

So a sample size of n=5 is sufficient to define an industry-wide trend? On top of that, those 5 examples are not very convincing - see below.

> How could [Away] possibly be able to meet the expectations for investor returns?

No actual figures, just a theory that Away couldn't possibly be a good investment because it has only one product.

> Away now has many adjacent venture-funded expansions in the works

In the very next paragraph, the author debunks the basis for her earlier skepticism.

> Harry’s... cut a $1.37 billion deal to be acquired by Edgewell. Edgewell backed out of the deal after the FTC sued to block the sale... Particularly in the wake of the Casper IPO, it’s difficult to imagine Harry’s ever wanting to expose its numbers in an S-1.

All of Harry's criticism is based on a competitor's performance and a buyer backing out of a deal after it was blocked by the FTC.

I don't know if the DTC companies will do well, but I certainly didn't learn anything useful from this article.
Potentially, but then you make that call in an informed way.
RH is another one of these trendy "we only hire the best" startups that discriminates against neuro-atypicals with poor social skills who are not good "culture fits"--you know, the kind of people actually detail-oriented enough to make sure leap days are handled correctly.

I couldn't be happier to see them crash and burn.
> Wonder where you got that information from, since CP/M is older than VMS by like 3 years. Can’t be... wonder where this keeps cropping up.

This stack-exchange post[1]

Looks like that's a corruption of the information from a MS blog[2], which does not mention CP/M but DOS 1.0 as taking it from DEC in general, including systems older than VMS.

> Besides CPM filesystem wasn’t hierarchical.

Which I mentioned in my comment.

1: https://superuser.com/questions/176388/why-does-windows-use-...

2: https://web.archive.org/web/20120304135002/http://blogs.msdn...
Or 24V or 36V, but alas 12V is the existing standard for legacy reasons so it's the path of least resistance for an overhaul of the PSU spec.
SEC asks DC employees to work from home due to coronavirus scare
1. You need the script. Thankfully state laws allow you to request it from your doctor and they have to give it to you.
2. You need to do that weird eye alignment thing. I think there are apps for that but not sure if they work well though.
3. You need to pick a frame.

These three things really hinder online eye glass purchases.
Ask HN: How do blind developers navigate code?
I am a sighted software developer and educator who is currently working with a blind student, teaching him Python using the Emacspeak editor. One of the difficulties my student is experiencing is when he has to navigate back and forth between two areas of the same file. As a sighted person it is easy for me to move elsewhere in a file and come back to the same place, but for him, using a screenreader, it involves a lot of searching around. Can an experienced blind developer talk to me about how they approach this situation?

It's clear to me how I approach using programming tools does not translate to his experiences as a blind student. Can someone help educate me on this? And while we are on the subject, can you recommend any good resources for teaching programming or Python specifically to a blind student? I would greatly appreciate it.
trading, frictional costs, and the asymmetric psychology of selling winners and riding losers are a better explanation for why buy low, sell high is a bad heuristic to aspire to.
Show HN: Simple High Performance Sidecar HTTP Load Balancer
Legally VAT isn't about essentials, although luxury taxes which pre-dated VAT were often specified this way.

VAT is just a tax on Value Added like it says, and the exclusions targeting items you see as essential aren't focused on somebody's idea of what's essential but are the result of various lobbying. That is, it was not the goal of the tax system to encourage petite women to buy clothes intended for children nor to punish the largest children (or their parents) with more expensive clothes that's just the consequence of a lobbied-for exemption for kid sizes.

So "But it's an essential" is a useful emotional tactic but has no legal implications for VAT.
Surprising to me that Whole Foods still doesn't have this tech integrated. You'd think that'd be the "beta" step after the Amazon Store's "alpha" step.
I'm regularly reminded of the "Alan's editorializing" commentary in the "units.txt" file, which contains gems such as:

[in candela := cd]:
"I think the candela is a scam, and I am completely opposed to it. Some good-for-nothing lighting "engineers" or psychologists probably got this perceptually-rigged abomination into the whole otherwise scientific endeavor...

...What an unbelievably useless and stupid unit."

[and in Hertz := Hz]:
"Here is YET ANOTHER place where the SI made a really stupid definition...

... Either way, if I ever develop a time machine, I'm going to go back and knock both groups' heads together. At a frequency of about 1 Hz. Or better yet, strap them to a wheel and tell them I'm going to spin one group at a frequency of 1 Hz, and the other at 1 radian/s and let them try to figure out which one of those stupid inconsistent definitions means what. Hint: It'll depend on which time period I do it in, I guess, thanks to their useless inconsistent definition changes."
It's definitely not a duopoly and if it were it definitely wouldn't include Zenni. Here's one ranking of the top eyeglass retailers in 2015[0]. Another source says Zenni Optical had gross revenue of $214MM in 2018[1], so maybe they should be on that list but they'd be behind Warby Parker let alone some of the others.

[0] https://www.statista.com/statistics/256664/sales-of-the-lead...
[1] https://www.marketwatch.com/press-release/zenni-optical-cele...
"© 2020, created by Paul Balogh and Cristian Dinu"
"A place of financial advantage" is a more specific and useful characterization, anyway.
If someone is cash-heavy right now and is wondering if they should buy in, I would probably suggest dollar-cost averaging, perhaps with monthly buy-ins while the current craziness is going on (assuming someone is buying into things where there are no transaction fees).

So if someone has $100k to invest, maybe they buy $10k every month of their favorite index fund over the course of the next 10 months. If prices continue to drop, some of that money will buy at lower prices, but if they rebound over the next month or two, at least some of the money will buy at the (current) low price.

Then there's also the possibility of a dead-cat bounce somewhere in all this later on. Even if it looks like prices are going back up, they could drop again, and -- again -- there's still more cash to put in at various prices.
VC giveth, and it taketh away. Don't the VCs deserve at least part of the culpability, if they had imposed terms that were unrealistic?
Either of those skills will serve you well. PHP was easier to learn for me, & I suspect same for most folks.
>To be fair, the CIA doesn’t need to seek out such content. There is a giant repository of it at FBI headquarters, used to create the hash database that they scan people’s computers with in order to convict them.

Could you show how you know they're still storing the photos, and not just the hashes?

>The government has people clearly capable of torturing actual living children in Guantanamo Bay, so I doubt they will have trouble finding someone capable of planting a picture taken in the 1960s.

Unless you're talking about cases of formally government-sanctioned raping of children by adults, I don't think this analogy works.

I could also say that any organization fine with assassinating people in cold blood would be fine with planting child pornography on someone's computer, and there may be some superficial logic to that, but I think it's completely false. I think there are millions of people who wouldn't lose a wink of sleep over assassinating someone in cold blood, but wouldn't be able to live with themselves if forced to acquire and plant images and videos of children being raped so that a political prisoner could be falsely convicted.

Of course, with any intelligence agency (and the FBI), one's prior for anything like that happening is much, much higher than average. I definitely believe they could've wanted to do such a thing and could have done it. But even with that prior, it's still a big claim, and it requires at least a little evidence. Ideally big evidence; not no evidence, and especially not nothing to even refute the comprehensive evidence and logs the FBI has laid out over hundreds of publicly released pages, and probably hundreds or thousands of more pages that we're not (yet) privy to.
It's all about to slow it down so that hospitals are not overwhelmed, nobody hope to block the contagion from spreading
nit: You posted getzippin twice

I do love how the very first banner video standard.ai shows is how one person passes an item to another. I'm curious to see all the edge cases Amazon Go ran into over the year or two they ran. I can see a lot of messy cases like that coming up.
Not at all, but for situations like these, it seems like a very high percentage of the time, it stops at "cui bono" and skips the analysis part.
I've always assumed it was repairmen. Some people really do need to buy toilet seats again, and again, and again, each time they do a job that requires replacing one (without ever needing a bulk order of 100.) They also might switch brands depending on whichever one is cheapest at the time; or order several different ones for different concurrent jobs to see which turns out best (like Backblaze does with hard drives.)
Show HN: Corona virus cheap flights tool for people “working from home”
You're downvoted because you seem like you're hysterical over their comment and losing your shit.

I don't understand why the topic of coronavirus does this to people.

Just talk more civilly and make your point. Instead your comments read more like disjointed, frantic tweets. Get a grip.
I think Elon means Elon's companies aren't against college or university degrees - quite the contrary. What they are against is college education.

In other words, yes, go and get education, and a degree which confirms that. No, don't go to college to get that education - it's too wasteful. What's instead of college is an interesting question - Thiel thinks entrepreneurship is adequate (so you have a resume with such an experience), another option could be self-education with certification(s) - online courses and degrees maybe.
Related from a few months ago: https://news.ycombinator.com/item?id=21637411
They're fine if you only need it for a year. I found their $200 Morgedal mattress very comfortable and I slept very well on it, but about two years after buying it started to get super saggy and worn.

Cheap foam is why (what can you expect for $200?!). My parents got a 100% foam queen-size mattress more than 30 years ago, and it's still in very good shape with full-time use. They flip and rotate it every month or so, which probably helps a lot (most mattresses today aren't supposed to be flipped). I think it cost about $1000 in 1989 (about $1800 today).
It's been a few years for me too, but I think the answer to why it is difficult is why a higher-level or more general language would be useful: it's all about organizing your process to match the tooling available to you. When I spend a couple weeks every couple years in the Xilinx ISE, all my organization is done out-of-band in Excel and Emacs, I end up writing a lot in pseudocode before translating to VHDL. It's tempting to think I could write Java instead of pseudocode and have it just run.
Skin effect becomes an issue for high frequencies. But is nil at low frequencies.

I used an calculator and got 8416.7115um for 60hz. Which is 8.4mm. So not an issue for power wiring under 0000.
Most non-tech people that use macs that I know of complained about apps not working anymore (old printers, tablets, etc)
(and even paid me to fix it)
Here's the mobile friendly version: http://www.arcgis.com/apps/opsdashboard/index.html#/85320e2e...
Source: https://github.com/CSSEGISandData/COVID-19
Also check the HN archives https://hn.algolia.com/?q=blind

"Blind software development at 450 words per minute" https://news.ycombinator.com/item?id=21898537

"The Tools of a Blind Programmer" https://news.ycombinator.com/item?id=11415722

"How a Blind Person Programs" https://news.ycombinator.com/item?id=8965048
> h265 is doomed

I strongly recommend to see this video:

"The state of advanced codecs; separating hype from reality"
https://www.youtube.com/watch?v=vgE8-4rcXl0
What brand grocery store was that?
>well let me discard all facts then.

Where are your facts? You're betting, too. CIA/FBI don't and couldn't possibly monitor what every single employee does when they're not at work, especially when they're taking anonymization precautions. There's probably more than one person working at such a place right now who's in possession of CP and who will live and die without ever being found out by anyone. It's just a numbers game.

>I refer to the above. You don't like it ? Bullshit, you're defending it.

I have no idea what you're trying to say. I'm a huge proponent of end-to-end encryption, and against any attempts by governments to backdoor it. It still has absolutely no relation to this particular topic.
I notice it's also labeled as displaying ads. And this is Amazon's debut offering. It's not going to get better from here as they get more adoption. I do not want this app on my phone.

Everything I know about about the mobile ecosystem tells me that if an app/card/integration is required for an unrelated service, it's going to go downhill over time. Everything I know about Amazon means that they are definitely going to eventually be advertising to me and pushing notifications and 'reminders' and whatever -- because they already do with the online store.

Even the charging example getting brought up as proof of this working: I can't imagine signing up for a special credit card that was required to fill up my car at a gas station. That's not innovative. The current system is I can use any credit card, or cash, or (increasingly) mobile pay at any gas station without any account with no decrease in quality of service. And with the current system, someone else can borrow my car without also needing to borrow my credit card or phone.

I'll stick my neck out and predict that over the next 3-5 years, ChargePoint's app and web interface are going to get progressively worse, and progressively more invasive. This is based purely on the knowledge that they require an online account and special credit card just to refill a car. I don't think there's any reason to have that business model other than a plan to eventually leverage the card/account in invasive ways.
Not just decreased usage of diesel, but it'll make those remote units less vulnerable to supply route attacks.

Presumably, if the reactor generates enough power, it could also be used to supply power to the surrounding community and hopefully earn some goodwill.
To feed off your random comment, I live in the US as well but switched all of my clocks (that I was able to) over to 24-hour time a few years ago. It just makes more sense to me. But everybody around me thinks I'm some sort of weirdo for it.
BBC in Our Time – Paul Dirac
That depends on that software being deployed in a timely manner. There's plenty of instances out there still on Mastodon 1.6 and 2.0 because the admin installed it 2 years ago and hasn't updated since.
In this case the President has weaponized the virus as a political issue. A sizeable number of people in the country don't believe that it's a serious issue and won't until their local hospitals are literally overrun. Maybe even not then.

I believe you are seriously underestimating the effect of chaff being thrown into the air over this issue on a number of fronts. It makes it much, much harder to have people follow public health advice or put pressure on lawmakers to pass the necessary appropriations that will be required to address the situation.
To some extent I already do this. I deleted Facebook and twitter and have an inactive instagram I don’t check. Yes I am making it more difficult to “engage with” me by some standards. I do have email, cell, and text message and you can find my contact by googling me so it’s not like I’m actually hard to contact, but yes it is a hurdle some people won’t jump.

But you know what? I’m fine, and I feel a lot better without inviting the behavior manipulation and stress of keeping up with these social platforms.

You don’t have to be an RMS style purist to set boundaries. It’s just a matter of privacy/liberty vs convenience tradeoffs and what you’re comfortable with.
I was with you until that last line. Maybe it's because I never saw IBM in its prime or because I only happen to hear about IBM when there's a ton of media spin on a product that never shows up as anything more than a gimmick (IBM has 5nm chips in 2017!!! Look at Watson!). I just don't find laughing at IBM to be that far-fetched of a concept.
Tangential - this reminds me of a tricky bug I once fixed.

I had this code that lets you choose a brighter or darker variant of a color palette, and initially bright yellow looked awfully close to white, so I decided to do this conversion through CIELAB (similar to HSLuv). Some unrelated code was storing these colors in the cloud using hex format, and clients would sync these colors back and forth with the cloud.

Usually, everything worked great. I had no problems, however a couple of users started emailing to complain that their colors had ‘disappeared’! As in - the stored colors had become transparent. I spent at least a few hours auditing syncing code, but found nothing.

A few weeks later I stumbled on the issue by chance: if you select dark green (this specific color configuration only), the color would eventually become transparent.

The thing is - some platforms (e.g. iOS) support wide color, which use RGB values outside the 0 to 1 range. Green would go through the CIELAB brightness conversion, and come out with a negative number for one of the RGB values. This is OK, until you convert it to hex and send it to the cloud for syncing... naive color -> hex conversion will freak out with negative numbers. This got sent to the cloud, and later on, the cloud would send this back to the client, which would use it as a source of truth (and so dark green colors would disappear).

The fix was to write a less naive hex converter. This was a few years back, perhaps by now most color -> hex libraries consider this case.
I wouldn't say any programming language is particularly easy to learn. Your best bet is to start out with one language and stick with it. PHP and Java are both solid choices with plenty of great books, tutorials, and videos available to help you learn. I would also throw in JavaScript as a popular language that will open the door to a lot of potential web development jobs.

One of the best things you can do as you start learning a language is to find some project that you want to build and start working on it. Having a clear goal to work toward can help the learning process. Then, you can post the code for that project on GitHub, which many companies will look at when considering you for a job.

Good luck!
Sometimes you can learn a domain-specific life-hack from that kind of thing. I'm guessing, for this example, that gorilla glue is the secret weapon of taxidermy—for all your mounting-a-deer-to-the-wall needs.
Seriously what is wrong with you, Americans? Your bipartisan political fundamentalism is stronger than religion, people just have to draw snark comments about either party or president. Can't you be reasonable for even once when there are crisis going on? It's just pure insanity.
The constraint loosening says your Leaf must be first. If you obtain different leaf certificates from different CAs then you can't "put the leaf first" for all of them.

In today's browsers the first leaf will be treated as your apparent leaf (so the Subject needs to match the hostname in the URL), other leaves presented will either be discarded or cause an error. So no benefit.
And in what universe is great execution devoid of ideas?

Do you mean to say that doing something well is way better than imagining doing something well?
I really like this about Rust, implementing equality is just another trait. The same is true of comparison operators. If you don’t want a type to be able to be compared by == you can make it always evaluate to false or even panic and give a message that the type cannot be used in that way. That might aggravate coders who do not test comprehensively but it is an option.

Edit: This is a response to the concerns of the article. For general info on this it’s a great introduction to Rust’s awesome documentation.

https://doc.rust-lang.org/std/cmp/trait.Eq.html
>No, HEVC licensing is an insane mash of several patent pools and a few companies trying to extract a buck out of anyone that uses it.

The user paid less than $1 per devices for turning on the blocks of Hardware Encoder and Decoder which is on by default for almost of all of the 1.2Billion Annual Smartphone shipment and 250M PC as well as 300M of Tablet.

As far as I am aware, there are no royalty fees to be paid if you are delivering your content on Digital / Internet Streaming. Only if you are on disc such as BlurRay.