skysight-inc/HackerNews huggingface dataset:
You are quite welcome!

I can't add much to the Haskell part as I've only ever used it sparingly. In many aspects, I view Rust as only having one or two small things that are new (or at least new in a non-research programming language). Its big strength is combining a lot of existing good ideas in a principled manner.
Told by a page that is full of ads and “click here to find out about UNRELATED AD STUFF”

Welcome to dystopia.
Rewrites are a symptom of orgs that focus only on feature velocity, and not other forms of customer value.

If in addition to getting features done, teams were held more accountable for uptime, performance, and stability, there would be appropriate focus on careful redesign, but only in proportion to some customer end-value after that is delivered.

A rewrite for the sake of a rewrite, because X doesn't conform to software engineering technobabble is a huge red flag. These things exist to support customer value, and are not ends in-and-of-themselves.

In short, there shouldn't be a difference between new feature delivery and refactoring to support some other customer need (like uptime or performance). It's all work that needs to get put into a backlog, prioritized, and delivered with clear success outcomes
Can confirm. GNU awk is GPLv3, which means it can't be legally included on any system that prevents a user from modifying the installed firmware. This is a result of GPLv3's "Installation Instructions" requirement.

Every commercial embedded Linux product that I've seen uses Busybox (or maybe Toybox) to provide the coreutils. If awk is available on a system like that, it's almost certainly Busybox awk.

And Busybox awk is fine for a lot of things. But it's definitely different than GNU awk, and it's not 100% compatible in all cases.
The specifics of Chef's licensing are unrelated to my appreciation for their install.sh script, I just think it is a good example of a robust cross-platform install script.

That said, last year Chef changed their licensing[1]. My understanding is that their code is now all open source under Apache License 2.0 (there used to be a split between open source and commercial). But, and this is a big BUT, their distributions (installers, compiled code, etc.) are not open source. This is similar to Red Hat where all the main code in RHEL is open source, but they don't provide an ISO to install RHEL.

If you are looking for server configuration management, I've used all four of the major ones (Puppet, Chef, Salt, and Ansible), I'd recommend giving SaltStack[2][3] a look. The PyObjects renderer[4] is especially interesting because it allows writing the configuration in a full programming language (Python), similar to how Chef configuration is written in Ruby.

[1] https://www.chef.io/press-release/chef-open-sources-100-perc...

[2] https://www.saltstack.com/

[3] https://github.com/saltstack/salt

[4] https://docs.saltstack.com/en/master/ref/renderers/all/salt....
4. Boycott Cloudflare.
This comment breaks the site guidelines (https://news.ycombinator.com/newsguidelines.html). Please read and follow them. If you think you see abuse, follow the rules and email us at hn@ycombinator.com so we can investigate. We take such requests seriously and always look at the data.

Nearly always, commenters who post like this underestimate how large the HN community is, and therefore how divided it is. This causes them to see a huge unexplained hole when comments show up which strike them as outrageously wrong and biased, and then the mind finds it impossible to resist filling in the hole with sinister imaginations: cloak-and-dagger brigades, astroturfing, and all the rest.

When you rush to HN to post those suspicions, you end up undermining and dividing the community even further, as well as changing the topic to something useless, since it's founded on imagination. The solution is not to post such insinuations unless you have objective information that goes beyond how you feel. By "you", of course, I'm not picking on you personally—I mean all of us. This is a bias we all have, and it's super hard to resist when the feeling is strong, because it seems almost impossible that the outrageous comments could be appearing in good faith. In reality, though, what you're experiencing is how intense the underlying social divide is. HN has many users in Brazil. As Brazilian politics is divided, Brazilian politics on HN is divided. And HN has been split down the middle about Greenwald for a long time.

There's an endless stream of prior explanations at https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme..., because this problem is perennial.

p.s. I wish I didn't have to add this, but probably do: this is not a pro-Bolsonaro or anti-Greenwald comment. It is simply pro-HN, based on what makes threads higher vs. lower quality.
Very interesting breakdown.

Do you think that Rust could instead help outsourcing? Similar to how Java's GC keeps teams away from segfaults, could Rust's safety guarantees give companies more confidence that an outsourced team's code would have fewer critical bugs?
Does anyone know the error handling pattern the author mentions?
My install seems to have no ads at all (including on the Start Menu) and I am using Win 10 Pro that I installed straight from the Windows download page. Maybe I don't get ads because I'm on the Insiders Slow Ring.
“1 star. Shipment was late.” I’m genuinely curious why people think that’s ok? How is saying the product sucks going to solve a problem with Amazon Logistics? Or even USPS/UPS/FedEx?
Great site jadjoubran! This one and your JavaScript site look very nice.

I would recommend allowing one or two pages for free without a login so anyone can try without the need for signing up. Then if they want more than a few pages they can sign up.
It's basically impossible for a competitor with "old school" values to emerge. The regulatory hurdles and foreign competition are daunting. There are only two companies in the world that can do what Airbus and Boeing do.
First case of deadly China virus identified in US
Any sufficiently bad actor will already modify their user agent. Who is this really stopping?
Anyone here have a pro-Google stance? Because at this point I'm vehemently against the company and most of its products.

There's no good replacement for Calendar or Docs/Sheets as of now, that I'm aware of. Microsoft's suite as mentioned by therealdrag0 is an obvious alternative, and perhaps less advertiser-oriented, but still not a great in-browser option IMO.

Especially when considering the interoperability of the "platform," it's clear Google is streets ahead of the competition.

It's a shame that the best featured tools in this space are also not open-source, and used (probably) to mine massive amounts of data.

I'd be ok if you mined my data while I'm on your servers, but only if you allow me to host my own version of your software for when I don't want to be on your servers.
You're making a moral argument, not a legal one.

People doing something "all the time" in one jurisdiction doesn't magically make it legal in a different one.
Total aside, but since we are talking google. It's funny how they have worked so hard to make sure that relevant results show up correctly but if you are paying for ad space, they don't care (sure they have relevancy tests but not if the advertiser is dumb enough to spend too much money). For instance, a search for an intravenous needle tip might show an ad for Barb's cross-stitch needle tip (total made-up example). They know that the result isn't relevant, but Barb is spending so much money they don't care. Seems like there should be a solution to this. Or at least to let Barb know she is doing it wrong.
Why the Australia Fires Are Like Nothing We’ve Seen Before
First of all I'm not a distro maintainer. I also doubt that people would use awk for seriously space constrained environments. And distros ship both awk and python anyway. And again, I don't understand why they'd support networking but not basic data types/functions.

The only reason I could've seen to use awk was to throw code together more quickly in a DSL.

However this is much less the case than I had hoped. For the one liners there are usually specialized tools like fex that are easier to use and faster (for batch processing).

When I compared my C/python/awk programs the difference was msec/sec/minutes. As soon as I use such a program repeatedly it starts to hurt my productivity. And the development time is not orders of magnitude slower in non-awk languages.
As I open to a bunch of ads on my phone via this website...
I really wish you could just directly pay for services. A hundredth of a cent per visit would make most abuse un-profitable while still allowing very affordable procrastination.
First Case of New Coronavirus Detected in U.S.
That line is extremely simple to me. What makes it seem like a "mix-match" of symbols to you?

The equivalent in Haskell would be "compose :: (a -> a) -> (a -> a) -> a -> a", which lacks "impl" because it boxes all closures (each closure in Rust has its own type), and lacks "Fn" because it doesn't care about what kind of access the closure needs to its context (Rust distinguishes between Fn, FnMut and FnOnce). Still, the Rust is only a tiny bit more complicated than the Haskell.
There's even a comment box where you can explain what you were doing when the error occurred. I like to think someone out there reads my helpful comments. I would love that as a client developer. :(
Of course, Search has viable alternatives but it's really not the biggest thorn in my side.
Yeah, I forgot about that one, although it's not really primarily "the Surface of Android phones"; it's an experimental form factor that happens to be lumped under the Surface brand because why not.
It appears that you may have made some modifications to your user agent string. If you revert your user agent to the one provided by default by your browser vendor everything will be fine.
"It is a niche feature" looking at C and C++ usage that niche
is pretty huge.
>1) There is no way Apple would be allowed to sell iPhones in China, without China government having access to anything. So, I assume that Apple users in China have e2e encrypted exactly nothing.

E2E works exactly the same in China. You can read more in my comments here:

https://news.ycombinator.com/item?id=20904857

The same "vulnerability" of being able to respond to legal requests for iCloud data that exists in China exists everywhere else in the world.
I just want a way to permanently opt out.
Your provider would have to nullroute the ip under attack and you'll have to wait for DNS cache expiration so your updated zone is being distributed to clients.

Short TTLs are not honoured by everyone so you'll experience some downtime.
> It's laughably adorable to think it's actually solving a problem or helping in any way, the 'bad actors' it's trying to prevent probably have a work around anyway.

They do—changing your user agent is trivial.
If there is another crash due to a manufacturing defect, expect airlines to abandon the 737 Max variants. Boeing has very little margin for error.
Parenthetically, since there are a bunch of UNIX greybeards on HN: if anyone has artwork of the AWK t-shirt I will happily pay any reasonable price. The shirt has a parachute-wearing bird about to jump from an airplane and is captioned with AWK's most famous error message: awk: bailing out near line 1.

Contact information is hn handle @ yahoo.com.
> I don't believe this is in the release version of Crossover atm?

32-on-64 support on macOS, you mean? I assure you, it is. https://www.codeweavers.com/about/blogs/jwhite/2019/12/10/ce...
I think his trick is to do what ever he said he would do. So it sounds like holding himself accountable.
Feels like higher mind vs primitive mind

https://waitbutwhy.com/2019/08/fire-light.html

Loong but great read
That I have to log into Google docs to see. Why did you out google in front of your open list?
Your intuition is correct. This is not accidental. Those phrases are used because certain things are known with a high degree of certainty. Meetings between Trump campaign members and Natalia Veselnitskaya's group lend credence to those phrases[1]. There is a significant evidence documenting Russian Interference (consider the IRA involvement alone) and the links between the Trump campaign and Russians[2], some of which fell within the investigative scope of Mueller's team.

A nuanced report that concluded the existence of foreign interference, of campaign links to that foreign interference, and also of not significant enough evidence to conclude coordination between the two groups is going to include a lot of nuance in the phrasing of its conclusion.

[1]:https://en.wikipedia.org/wiki/Trump_Tower_meeting

[2]:https://en.wikipedia.org/wiki/Timeline_of_Russian_interferen...
If you're referring to "air quality" in the form of particulates… it does turn off after a while. 15-30 minutes after cooking, one or two after sweeping, etc. Presumably it's triggered by no longer detecting particulates in the air, one would have to be fairly conspiracy-minded to suggest that it's working on some kind of timer (and can tell the difference between dust-timeouts and gas range waste timeouts)… I figured this was too obvious to point out, even given the sort of pedantry we get around here.

If you're referring to some quality of the air beyond particulates… well that's not what a HEPA is even for, is it? I could be mistaken.
> higher level things like web apps.

Frankly any language that makes me write "some string".into(), and all of the other nonsense of Rust, is not suitable for writing string processing applications (as opposed to utilities, such as ripgrep). The business logic of any Rust application that deals mostly with strings is hopelessly obtuse and/or obscured. Languages like Perl, Python and Ruby, or even JavaScript and Java, are more suitable.

Rust focuses on and succeeds at being an improved C++, no reason to use it for everything.
Cloudflare is publicly traded under the symbol NET and has quite a number of institutional investors. A list can be found here: https://old.nasdaq.com/symbol/net/institutional-holdings

If all those companies are fronts for various parts of the US intelligence community then we're really screwed, I suppose.
I am! It's something I care about, but not sure if there's something I can do about it. The code blocks are powered by a `<script>` tag from GitHub's Gists. Unfortunately, I don't have the ability to edit that post without Wordpress completely removing those tags (I don't have appropriate permissions). I can ask for them to put `<noscript>` tags, but don't know if that will really help.
Does anyone recall in the Long Dark Ago when there was a startup that was planning to embed a phased antenna array into a cubicle wall?

It still gets me the level of miniaturization that happens when you come back to an idea 20 years later, instead of watching the incremental changes along the way.
I love how industry came up with ever crazier schemes to stream content from phones and laptops to TVs. There must have been three different attempts involving WiFi alone, but this phased array mmWave 60 GHz million bucks basic research abomination surely takes the cake.

Meanwhile, some Google engineer realized you could solve 90% of phone-to-TV streaming applications and 100% of the hard technical problems by just telling the TV to download and display the YouTube video itself. Genius!
> Yeah, you can't really talk about downsides of Recaptcha/Cloudflare without also acknowledging the extreme amount of malicious actors and abuse on the internet.

What percentage of traffic on the long tail of 95% of smallest websites served by CF is malicious then? So that we talk in numbers.
Update: It's resumed trading. News was that the FAA would delay ungrounding of 737 Max until June/July at earliest, months later than Boeing originally promised.
> Since then, they've stopped working with a number of other sites due to content, like 8chan.

I believe that number is 1, and that the only two sites they've shut off service to are Daily Stormer and 8chan.
If the pigs‘ bodies turned down their own cortisol production, I would assume that their endocrine system considered the level as too high, or it wouldn’t compensate. Cortisol has its place, but it‘s timed (usually with a spike at around 6AM, and after exercise) and excess can lead to bad sleep quality and worse. Low cortisol also does not at all mean that stress is low within cells. If you put a strain on e.g energy production within mitochondria, you will get a lot of cellular stress (accumulating nitric oxide) that is not directly related to cortisol. Cytokines would be another factor - stress leads to inflammation. There might be enough cortisol around in those pigs to suppress inflammation, but it doesn’t mean they are low on stress.
A talking point belonging to a group one dislikes does not make it invalid.
I actually don't care if it's viable. If preventing harm and trash on the third party marketplace makes it nonviable, then it shouldn't exist. Right now I try to avoid it, and I absolutely avoid buying anything for my baby that might be harmful. Walmart gets those sales. It's impossible to buy with confidence from Amazon now.

I don't think they've internalised the extent of this problem yet. I agree with the previous post that in some cases it's worse than ebay.

Maybe scorched earth is the best answer here and built up a new resilient system slowly. The current system is demonstrably broken.
The author of ripgrep (Andrew burntsushi Gallant) has 2 tools for working with CSV data - 'xsv' (a command line swiss army knife for working with CSV data) and 'CSV parser'. Check those out:
https://blog.burntsushi.net/projects/
Somewhat of a topic hijack and a naive question, but assuming Cloudflare is a government entity, wouldn't they still have to comply with whatever their terms of service / contracts with their users are? As they are a US company, barring illegality, theoretically they can't actually do shady shit without being in breach of contract right? They would also open themselves up to shareholder lawsuits.
I know the SPLC has paid out in defamation suits rather than allow the cases to go to trial. Pretty good sign they knew they'd lose as it has severely hurt their reputation.

Here's a particularly egregious case where a UN affiliated group was labeled an extremist hate group and the SPLC wouldn't relent even after evidence was presented: https://www.newsweek.com/splc-nawaz-million-apologizes-98187...
Me too, but with mixed results.

In the last weeks, results from DDG or Bing appear later or even never. That make Searx not very reliable at the moment.
Also related: depending on where in the world you reside, you may be more likely to encounter Cloudflare blocking sites or simply slowing the retrieval of websites (as it scrutinises traffic to those sites). This may be more likely to occur to you if you access the web outside of North America and Western Europe.

CloudFlare is ruining the internet for me (2016)

https://www.slashgeek.net/2016/05/17/cloudflare-is-ruining-t...

And the ensuing Hacker News discussion a few months ago:

https://news.ycombinator.com/item?id=21169798
System.Text.Json Rest Client
Stand-Alone Containers Are Real
I don't think they can bring criminal charges just for opening an account. But if they continue to do business after supplying false information that might be some kind of fraud.

But they could also just enforce stricter rules around reviewing and approving sellers. While not having the threat of legal action it is something they have much more control around.
Oh, nvm!
Show HN: CSV-nix-tools – Collection of tools for processing system information
> would blindly believe marketing material from a for-profit corporation

I am equally likely to believe or disbelieve marketing material from non-profits. Look at the malfeasance and lies from the Red Cross [1] -- or the sky-is-falling proclamations from the net neutrality crowd -- predictions of doom that never came to pass -- not to mention the lied-about motivations around net neutrality (the real motivation was about who pays for bandwidth.) [2]

[1] https://www.propublica.org/article/red-cross-ceo-has-been-mi...
[2]
Yes, this is a design goal that they both share, and generally accomplish in similar ways.
It appears that setting it to the same as Chromes does indeed work!

for context this is what I had set (and, for quite some time it was working): "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecho/20100101 Firefox/57.0"

Ironically I set this so that I could continue logging in to google. Since I had been unable to log in to google-apps without setting this user agent string.

What did it fail on? the mis-spelling of "Gecho"?
Why? Do you think that women in my close family have never miscarried? Or that experience is the only contribution that matters? I may have flunked med, but at least I picked up enough to appreciate what a chaotic crapshoot animal biology really is. I also worked lambing seasons growing up, which is enough to disabuse anyone of all romantic notions regarding reproduction. Life is bloody and messy and awful, but it’s Life.

So now do you want to know why I initially posted? Because as soon as a discussion about women was brought up, a bunch of men came in and made it about themselves. I may not have kids but at least I have empathy and a working theory of mind, along with occasional manners. Congrats.
> If you like what wine has become, don't forget to thank Codweavers!

Yes! I'm sure they appreciate kind words, but I thanked them by buying Crossover.
I don't have a problem with the intuition but I'm with you on programming style.

It's sort of a contrary opinion but I prefer to be explicit about state, and closures are sort of silently bundling up state for you behind the scenes. It's not very apparent from the syntax.

I think languages should have a lighter-weight syntax for classes and that would subsume many use cases for closures.

-----

While I've never programmed in PHP, it appears PHP actually has a pretty nice solution for this problem! You declare the variables captured using 'use':

https://stackoverflow.com/questions/1065188/in-php-what-is-a...

$callback =
function ($quantity, $product) use ($tax, &$total)

In other languages the capture of 'tax' and 'total' are implicit.
I try them at least once or twice a year and always get to the point where I'm like: "Ok, where's my Excel". It's not the ribbon, it's the whole experience that is lacking. Also MS office products do integrate well with each other.
> I don’t think I’ve ever made a flight decision based on the safety of a particular airline type.

Neither had I, until I took a Tupolev jet between Moscow and India. I then decided I would never fly another aircraft that wasn't certified to fly in American and European airspaces. The reason for this was that I had trust in the FAA's and European aviation authory's standards and integrity. That trust has been greatly eroded (particularly with the FAA) for me.
50/50 prediction. Existing 737 Max aircraft will never fly passenger service again.
DDG also uses Bing. I've never used Ecosia before, but it's interesting to me that the experience would be so dramatically different when they're both using the same source. Must be some interesting factors involved in DDG's search to assist in pulling more relevant results out of Bing.
> Side note - most browsers offer 'search shortcut' customization options, so you can start an address-bar search with !g or !b or whatever to seamlessly swap to your fallback(s).

While you indeed can configure browsers to do this, I think you may be erroneously attributing a DDG feature to -- or duplicating a DDG feature in -- your browser, because those are built in DDG bang commands.
Many in Germany, Austria and Switzerland (I'm sure other countries too, just no personal knowledge) buy more and more second hand clothing because of the envirnmental impact the fashion industy makes. I do the same. There's some quality stuff to be had, in amazaing condition.