skysight-inc/HackerNews huggingface dataset:
> an enormous amount of food waste is caused by people simply refusing to buy ugly food.

Citation needed.

I don't believe this is actually true. The food industry is much smarter than you think.
I see how this is an abstraction of register memory. but how does it help against a constantly moving kernel?

Also, wouldn't this make an otherwise simple code much harder to read and understand?
I can recall a few on the top of my head, but those are the exception rather than the norm: Blender & Mozilla, though that last one wasn't really a last act. I think I saw a few others, but can't recall which ones, I'd be interested in such a list.

Now, there are interesting communities that form around games, that tend to be a "dead product" after release, and for which there was a source dump (or not, actually): doom, openMW, openRA, etc.
quick move to prove themselves to be on the right side of social network spectrum!
If you are feeling tired while reading this short article, it’s
If I recall correctly, the corporations that explicitly do not aim to serve EU citizens (and make reasonable attempts to block them) do not need to follow GDPR. Then there's a matter of enforcement - I don't think EU can do anything to a company that does not have any presence in the EU. IANAL, but I am an EU citizen living in the US so it would be great if I'm mistaken here. :-)
Could this be fixed by setting aside a few gb of RAM for a virtual RAM drive, and run the OS from there?
Integrating Bootstrap 4 into Rails 6
Pulling apart a £339 anti-5G USB stick
Actually we're both wrong, according to the FAA (source: https://registry.faa.gov/TypeRatings/ )

It's A330/A330Neo together, but A340 and A350 separately, 3 separate types

757/767 but 777 and 787 separately

(And 747 and 747-4/8 are separate as well)
This is a limitation of C++, not functions.
There's a big difference between ghosting and sending a mail informing you that the process has stopped.

I realize I'm missing some context here, but I can't see how your life would work out better from _not_ receiving a heads up that the process has ended.
Probably it was indeed combinatory logic, but see also https://en.wikipedia.org/wiki/Iota_and_Jot
But if you're passing a state object around, you might as well use a class, no? Admittedly simplifying a bit, an instance method is a function that implicitly takes "this" as the first argument.
I wish someone would write a serious corporate-speak dictionary, list the most used phrases and what they usually mean, explain different levels of formality etc.
Yeah, my understanding is that if they did not make an attempt to block EU citizens from using the site then GDPR does apply. The problem is that IIRC, when I was singing up they were explicitly serving only few cities in the US. Might be misremembering though, it was a while back.
It's being integrated into clap v3 :)
All of the World's Money and Markets in One Visualization – 2020 Edition
They're only private in a sense that you're not supposed to access them, there's no enforcement by the language in any way beyond renaming them `_<class>__<attr>`. They're still accessible and they still show up in `dir`, `__dict__`, etc.
I have to admit i do write far far fewer classes these days - it seems to be my last go to approach usually once I have understood the domain and needs quite well
(i tend to do a lot of exploratory work)
While I agree the title is complete clickbait (this has nothing to do with quarantine - it's a letter about depression) dismissing the letter as "advice of the calibre you find on those one page per day calenders" is disingenuous. I found it quite interesting that most (not all) of the tips for coping with depression are exactly what people are told today, almost 200 years later.
Need a lot of storage and make sure the backup is readable (view the files content or try a restore).

The number one backup solutions nowadays is AWS S3, because it's easy-to-use unlimited storage.

How does a company handle backups without S3? Usually they don't. That would require employees to buy machines/SAN with tens of TB of storage and maintain them (weeks in ordering and travelling to the datacenter once in a while). It's too much hassle so nevermind.
there was this posted a few days ago: https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb
The province of Africa was a pillar of the Roman empire well after the fall of Carthage. It didn't really decline until the Early Middle Ages with the successive crisis of Donatism, the Vandal invasion and the Islamic invasion.
> A lot of “idiotic” things have reasonable explanations

It doesn’t, however - often make them less idiotic.
Late Gothic Architecture in Different Countries
https://www.independent.co.uk/life-style/food-and-drink/ugly...
I've gone for an SSD over USB3, and get good performance - though RAMdisk would certainly be faster still and feasible with 8GB.
Webcam mod that enables eye-contact conversation
but that is a very different situation than paying the same price and getting bruised apples where you have to cut off 10-20%.
> I would happily purchase all non-produce and non-meat items online.

I've only ordered heavy packaged bulk items - cases of poland spring, snapple, coke, etc. I just can't bring myself to order perishables ( meats, fruits, veg, etc ) and packaged items that can be crushed like potato chips.
What about accessibility? It'd be great to see the docs and examples put more focus on accessibility, both for non-JS clients and for clients that may be better served by not replacing elements, like screen readers.

And, based on some of the comments here, it seems like some people may have forgotten how to do anything that doesn't depend on AJAX. ;-)
Where online shopping reaches sufficient scale, that happens:

https://en.wikipedia.org/wiki/Dark_store
This is amazing, might buy a couple to add to https://Flocknet.io
I agree. But it's not a small segment. It's not very visible from the outside but the number of internal developers in large companies is huge. And it's a segment where they don't care so much about load time (intranet, no quick browsing) and where using the same language for front end and back end is appealing.
USB boot is coming, beta started a week ago:

https://www.raspberrypi.org/forums/viewtopic.php?t=274595
Yes it can do full hd, ever since at least rPi3. Problem here is chromium. Use omxplayer and the rPi4 will do 4k in full glory. I think you can even use omxplayer with youtube somehow. Chromium doesn't even do hardware decoding on x86 desktops, you just don't notice it, because the cpu's are fast enough to do it nowadays.
Point taken.

The rest of the site is more along those lines I'd argue – and it's gotten around 15 hits a day from the "niche" community for the past few years.

Though the stage of the project needs to be better fleshed out, a little marketing (even if it's probably too early on this pre-sale) goes such a long way I'd argue. Until this HN post got upvotes for the somewhat clickbait-y title I was not sure anyone in the world would care or even find this article or care about the concept :)
You can’t imagine any reason to worry? At all?

Worrying about the future of surgical technology is very different. The end goal of surgery is to save a life or improve the quality of life, and it involves restoring a single person back to working order.

The end goal of AI is to _think_. The upper bound on that is horrifying. Once something can think it can build. Once something can build it can multiply. The upper bound on AI is replacing the human species.

I’m not saying I’m nervous about this happening next year. I know how terribly inept we are at true GAI. I’m thinking purely abstractly, and in that light I think we should more serious about ground rules for AI.
IDE keyboard shortcuts to improve programming productivity
Investments in Indian Solar Sector Declined 66% YoY to $970M in Q1
From an egg factory or an egg tree. :)

I think OP meant, that there are people that need a certain level of reality distortion to consider a thing to be proper. If it came out of a chicken just recently it's disgusting, but packaged and sorted with a stamp is how it should be for those people. Basically a silly brain fart, that goes with a civilization, where thanks to a proper label we can divorce ourselves from animalistic and disgusting bounds of reality.
>a year from now nobody will care

I suspect a week from now, 99% of people who read this will have forgotten about it.
Show HN: I wrote a remote story estimation tool
That's really a nice thing, to be honest, and probably the only reason I'm somewhat interested, even though I mostly run open-source software on my computers, except when such software is a one-off comodity, like videogames.

But for something I'm going to invest some time learning, and will rely on, that's a very difficult pill to swallow. I don't want to depend on proprietary software for important parts of my workflow. What if I want to switch to a pinebook, for instance? No ARM build seems to be available yet. And that's just a single example... (a WASM/LLVM IR build could sidestep that issue).

That said, I like the idea. Is there any open-source equivalent?
Why? You would never suggest this if OO wasn’t the predominant paradigm. What is the benefit of implicitly passing the parameter? I prefer to see it passed explicitly, so the implicit passing is a downside to me, not a benefit.
> This is really the only way to get composability with regexes

If you restrict yourself to "real" regular expressions (avoid Perl extensions and such), they express regular languages[1], which do compose very well, and can be compiled into finite state machines.

Regular languages are closed not only under concatenation and Kleene star, but also:

- union
- intersection
- complement
- reverse

and more.[1]

Real FST libraries like HFST or OpenFST let you compile and compose regular expressions this way. It's too most "standard" regex libraries stop at "re.compile" and never implement concat/intersect/complement/reverse/union.

-----

For the readability issue, give rx[2] a go – you can turn plain regexes into rx syntax with xr[3] :)

[1] https://en.wikipedia.org/wiki/Regular_language#Closure_prope...

[2] https://www.emacswiki.org/emacs/rx

[3] https://github.com/mattiase/xr
Windows Server, version 2004 Now Available
‘Here’s how you can pull the new Windows Server, version 2004 base OS container images from MCR:

docker pull mcr.microsoft.com/windows/servercore:2004

docker pull mcr.microsoft.com/windows/nanoserver:2004

docker pull mcr.microsoft.com/windows:2004

https://hub.docker.com/_/microsoft-windows-base-os-images
'0' and '1'? Sorry :P
Is the Chromium-based Edge part of this update?
This is the reason I'm hesitant to open source an idea I have to build as a SaaS. I'm a big proponent of self-hosting, so I'd like to offer my SaaS for self-hosting to anyone that wants to.
There is always a risk of <Big Megacorp> might come around, think "oh, that's neat!", and away they are with a marketing budget miles higher than mine.
yeah... but that's a C++ article, written by someone who contributes to the C++ standard... the context seems unambiguous
And maybe one could respect people who go their own way to get out of their family's shadow so they can be seen as making it on their own. But if that's not the game then both people are 'idiots' (in this thought experiment).
They didn't claim anything about the cost of changing multiple files. "Rebuild one file, in a project of size n" is the operation they're examining the performance of.
> Now you have to consider the automatic substitution of equivalent items when something is out of stock

or, as my local store handles it, simply not getting an item that is out of stock that I would be ok with a substitution.
Nobody at Microsoft understands open source. The people who pretend to understand are just glorified sales people pretending to be developers promoting every new Microsoft product regardless how shit it is or how much better other competing products are (you know who these sales people are).

Microsoft loves OSS as much as they are able to control it. They are like an abusive partner who "love you" for as long as they control every step of your life but as soon as you step aside they'll grab a hammer and smash you in the face.
Hillary was found to have violated state secrets, but bizarrely not punished as she'd done so accidentally. Saying she's too big to jail seems accurate.
The EO says "The Attorney General shall establish a working group" to look at potential "unfair and deceptive acts and practices" by online platforms, and lists as an example of such an act "monitoring or creating watch-lists of users" etc.

Ironically, your post's complete misrepresentation of what the EO says is the sort of thing Twitter should presumably want to append a fact check to.
Yes. People honestly believe this.
Adding friction to voting disproportionately hurts marginalized voters, who typically vote left. A clear example is requiring a drivers license or passport for voting. It makes voting easier for the rich than the poor.
Congratulations nikodunk.

Kits like these are, IMO, pretty important steps along the way. First, they're accessible. People get their feet wet, learn. Since the technology is improving, it can be a rewarding "hobby" project. Every few years there will be upgrades available and prices will improve.

A $500 kit has to be simple. That's a great environment for innovative contributions.

Innovation & cultural change happen slower if the only Tesla, Samsung, power companies and other giants are playing. Remember that the web, and most of its innovations did not happen @ google or facebook. They were originated by many small players, and later collected into those big companies.

Good luck to you. If you can establish a beachhead with this kit, you should have backwind to help you going forward. Batteries are the limiting factor, and they're improving.
I have the beta, and only have uBlock origin. If I go to the addons site it tells me that, for example, privacy badger is not available on Firefox for Android.
Box Appoints Carl Bass to Board
"Around 25 per cent of edible fresh produce is thrown away due to visual imperfection or cosmetic damage every year in Australia. According to a 2013 study from the United Nations Food and Agriculture Organisation (FAO),"

https://www.ausfoodnews.com.au/2014/12/10/woolworths-launche...

Original source is somewhere in there - sorry for the laziness.

Even without the citation I believe this and take it at face value. I'm not sure what would make you not believe it? Have you never passed over something based purely on looks or noticed someone else do the same? My kids instinctively do this when they eat fruit; even my 2 year old does it and they've never been told to!
Sure but the pi is more fun.
Landing page looks like a cheap knock off of https://linear.app/
Follow me on - https://medium.com/saravananraghul
Self install plug & play solar is a big opportunity imo.
Because install costs are such a big share of system costs.

The tipping point will probably be a company that ships a modular system that can be installed with only a mobile phone + drill & can scale from an apartment to a large building.

Fraunhofer ISE has worked on this vision quite a bit.
> a REST API shouldn't be returning HTML

Why do you think so? It might interest you to know that Roy Fielding defined REST before JSON was invented.
Maybe in the US. In my EU country(Austria) second hand hardware prices are through the roof. There's no way you're getting anything half decent from the last decade for $75.

And then there's the cooling and power consumption difference between a 10 year old system and a RPi. It's not even close.
Even if money is everything, you really need to look at the whole picture. Unless you're looking at spending your money back in the US, then you need to look at what it buys you locally and whether it can buy you the same quality of life.

Some quick math and random internet sources, and moving from Vancouver to Silicon Valley would net me about a 40% haircut just on the increased cost of living.

I currently pay taxes on par with California. (Just looking at state/provincial+federal. No FICA/CPP/etc.)

Locally, we have offices for Amazon, Apple, Microsoft, Hootsuite, Slack, Salesforce, Disney, Samsung, SAP, Sony, Oracle, MasterCard, Activision, Capcom, etc, etc. Lots of options.

Looking at some average salaries in Silicon Valley, it'd pretty much be a wash on the increased pay versus the increased expenses. And I have no doubt if I dig around I can tip that more in my favour. For instance, I visited an emergency room once this year and my wife had a difficult delivery when our daughter was born. I'm currently down about $100 on an ambulance ride, parking at the women & children's hospital, and coffee while I was living at the hospital. I have no doubt that could have easily eaten up the difference even with insurance.

And I certainly wouldn't put the quality of life in Canada as worse than the US.
https://en.wikipedia.org/wiki/SK_combinator_calculus ?
if you want to understand what's going on zoom out and look at the last 200 years of civilization and society. Nietzsche is probably the best resource who predicted this. You can read "Ecco Homo" or "Thus spoke Zarathistra" and see the parallels in our modern life. He predicted the herd mentality which we've created. We despise and fear mental pain which is required for growing and most of us rather Netflix'n'Chill than read a book. Parents who put their kids on Ritalin or give them a tablet to be quiet.

Then as part of the herd-mentality we have the social-justice-warriors and activists and the cancel-culture preachers who try to fill this void with their own faulty logic (as a way to cope with their own pain - knowing something terrible is happening but drawing dangerous and false conclusions they are nothing but fools).

Today we have also the PsychologyIndustrialComplex which is filled with people who have no idea what they're talking about. It's no surprise that the product of all this is collective depression, rising nihilism and anti-natalism, and hate. Technology's (and Science and Academia in general) role in this is to produce ways of "making things easier" (coping mechanisms) but no longer to produce greatness. So science and knowledge as taught today is not the way out but part of the cause.

Here are a few videos, though you should probably read the books if you can:

1) Nietzsche and Psychology: How To Become Who You Are https://www.youtube.com/watch?v=gfyCzLbcAvk

2) Nietzsche and Morality: The Higher Man and The Herd https://www.youtube.com/watch?v=tE67Ye91Ii0

3) Nietzsche and Thus Spoke Zarathustra: The Last Man and The Superman https://www.youtube.com/watch?v=WnhMJl11JUo

4) Nietzsche and Thus Spoke Zarathustra: Becoming Gods https://www.youtube.com/watch?v=1XrVnjpVdWE

there is also "The conspiracy against the human race" by Thomas Ligotti (which was stolen by the producers of "True Detectives" for a monologue without giving credits). https://archive.org/details/TheConspiracyAgainstTheHumanRace
It's fairly trivial to build an entire OS into an initramfs to run from memory. Also, the poor performance of most microSD cards is primarily due to their flash quality, and designed use case in phones and cameras for external storage. Using a quality thumb drive or SSD over USB 3.0 would yield substantially better performance.
Nice idea, I wish you luck.

> 18650 Same lithium battery tech used by Tesla

/sarcasm on

Come on, now this is over the edge :D Why didnt you rather say I am using it in electronic cigarette. Or maybe that it is used, like everywhere, from laptop batteries to power tools even before Tesla existed. And yeah it is used by Tesla too, like every other company that uses li-ion batteries and needs this sizing factor.

/sarcasm off
Depending on the language it could be tricky. For example in Ruby everything literally is an object. There are no standalone functions. Not having a class simply makes it hard to use. I can't autoload methods. I could group them in a module but that's not the point. So while coding in Ruby I'm planning to stay with small classes. I treat class as a smallest testable entity in Ruby.

On the contrary, in Python, a function is a first class citizen which can be selectively imported and easily tested.
They didn’t even need to acquire - MIT license means they could just fork it and use it as they preferred, keeping his name in the About screen that nobody reads. But it would have looked bad.

So they did this and... it looks even worse.
> it's your preference, not something that's objectively better

well, is that not a valid reason to want to pick out produce myself? How do I know the store working will have the same preference as me? What if I prefer my fruit to be under-ripe, and the store worker thinks I prefer over-ripe fruti?
I'm kind of hoping this puts the nail in the coffin with researchers trying to separate the psychedelic effects from the anti-depressant effects so that they can turn it into some kinda pill people have to take every day.
Wake
Although I have my serious doubts about educational startups, seeing them more successful will make me happy for sure. They make a real difference in the world...

I'm not sure which Unicorns are outside US or which one hire remotely... But there are a lot of them. InVision is the only one that comes to mind right now.
I discovered parser combinators a few years ago in Scala with parboiled[1] and fell in love with them. Although I haven't use them lately, I still have to look into Fastparse[2], and I'm sure I will have fun going through this article of parser combinators in Rust[3].

[1] https://github.com/sirthias/parboiled2

[2] https://github.com/lihaoyi/fastparse

[3] https://bodil.lol/parser-combinators/
Configuring API Platform resources-following DDD principles and using XML format
There is nothing new in these posts. It's the same few extensions across different blog posts.
I'm exited for the fact that this technology can be sold for $500 now. Makes me wonder how cheap this could get in the future.

For now, I don't have any use for it as the power never goes out here. But good luck!

Maybe these will be as normal in the future as getting a jerrycan of gas is in some places.
Nim has actually decent type-system with support for algebraic data types and generics. Moreover, Nim is a much higher level language and doesn't sacrifice performance to do it.

In short, while Go has deliberately shunned all modern developments in PL design, Nim has embraced them. Also Nim has real macros, while Go does not.

It's clear to me that though immature, Nim is a much better and more expressive language than Go.
I agree with most of the OP's shortcomings. Cross compilation hasn't been a huge problem for me, pretty easy to pull off. But they've been looking into using zig as a cross compiler. Kind of confused as to the current status of the effort though . https://github.com/nim-lang/Nim/pull/13757

Carp also has open pull request for using zig as a cross compiler FWIW
I think it's about plausible deniability. If they only told gchq about the design of the algorithms, they're not saying they know how to break them or even that they're designed to be breakable.
About Nestlé's poison baby formula: I though their baby formula was safe, but the problem is that they gave it away (maybe still do?) for free to new mothers in developing countries and when the mothers stopped lactating (because their own milk wasn't being drunk) they made the price hopelessly unaffordable so now the babies couldn't drink from either source, or at least needed to over-dilute the formula.

Totally reasonable to still boycott them, makes more sense than getting annoyed at Microsoft in a situation like this (which is also deserved but more minor in the grand scheme of things).
From what I heard Matt no longer runs the website
This fear-mongering is ridiculous. Please cite reliable third party sources on why this would happen. Just having a feeling is not deserving of a HN comment.