skysight-inc/HackerNews huggingface dataset:
> Go aims at abstraction at the package level. Each package exports a set of types and functions which are "magic" to outsiders and can be used by outsiders - an API, if you will. Rust seems to aim at abstraction at the line level - each line is an abstract "magic" representation of what it is meant to do.

Are line-level vs. package-level abstractions are necessarily mutually exclusive? One could argue that the functions Rust iterators expose are "'magic' to outsiders and can be used by outsiders --- an API, if you will".

> but I have no clue how it does it

The question here is whether it actually matters whether you know how the Rust code works. You don't necessarily need to know how `range` or `append` work; you just need to know what they do. Why should the Rust code be held to a different standard in this case?
maybe some in corporate roles.
Yes. The whole point of end-to-end encryption is that your data is safe even when it goes through untrusted servers. (I know they might have a backdoor, or might screw it up somehow. But in principle, if they do it securely, then this holds.)
One of the things I love about JavaScript is that you can write an almost 10x faster hash table than the standard library if you take care of cache misses and GC: https://github.com/ronomon/hash-table#motivation

In fact, all the usual low-level optimization techniques like reducing branch mispredictions and expensive memory accesses apply, and make a huge difference, even though you're writing in a high-level language.
Personally I think that if you are wholly ignorant about the potential outcomes, you should refrain from voting. You have to be "in the weeds" at least to the extent that you can make an informed decision for a vote to be constructive.

The will to vote should follow naturally from an understanding of the democratic process and its fundamental implications on society, and the availability of information that can serve as the basis of informed opinions on the subjects of policies. This needs to be promoted for a democratic society to function, and the idea that you must vote regardless needs to die. You should vote, but IMO only as a consequence of giving a damn.

As far as colored tribes go, consider the policies they agree on and evaluate whether they benefit society or not. Reducing political opinion to a matter of "tribes" creates all sorts of room for corruption and socially destructive changes that benefit the ruling class more than its constituents.
Yes, which is why many European countries have laws against hate speech, although the US doesn't.

But political advertising doesn't equal hate speech. Many people currently support the idea of Facebook and Twitter prohibiting hate speech, political or not.

That has nothing to do with being able to turn off political speech in general. It's a totally separate issue.

As for propaganda, that's in the eye of the beholder. Which is why we generally frown on censorship, because one person's propaganda is another person's deeply felt, legitimate political viewpoint.
They could spin off Analytics or Chrome into a separate company, so they don't have this inherent conflict of interest.

They could also modify the warning text:

"

Google won't save the following information locally:

Your browsing history

Cookies and site data

Information entered in forms

Your activity might still be visible to:

Google

Websites you visit

Your employer or school

Your internet service provider

"
Wait, Botez has a sister?
Speaking of which, you might be interested in this thread: https://twitter.com/bradfitz/status/1263643749592166400

Which resulted in this Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=108566...
I have the same monitor as the author (Acer Nitro XV273K) and it's simply amazing with VSCode. It makes working from home a very pleasant experience, I'm not looking forward to going back to the office and a 1080p monitor... Not to mention how good games look at 4K 120 fps.
I'm missing something here. We have lists of AMIs in every release announcement, and FreeBSD is also in the AWS Marketplace. (Also, for the automation nerds, there's an SNS notification which goes out every time we publish new AMIs.)

What would you like to see changed?
I really wanted the new Apple display, but I just couldn't bring myself to pay $14k for a pair of them.

I ended up going with Dell U2720Qs, and after some tedious initial work to get them running natively at 60hz, they're fine.

I would have bought the Apple displays in a second though if they had been priced up to maybe even 3k each.
I did have a dream once of a "4k Pro" that was 4000x2500. Never gonna happen.
yeah, really not a fan of all the social and trending content. i have a business to run and i can't turn this crap off.
Do you think we actually have a free market?
>You can read scrolling movie credits just fine at 24 FPS
Honestly I actually struggle with that. But working and gaming at 60hz is still perfectly fine with me. I even purposely run my Valve Index VR headset at 90hz instead of 120hz because I don't need the extra frames
Use Gitlab. Better yet, run your own instance of Gitlab
The web was such a better place back then despite the dial-up.
The big donations that some corporations have made to combat racism have made many people feel that their donations can't make an impact.

We've scaled these donations from corporate profits to household incomes, putting into perspective how much of an impact companies have made. We also made it easy to see how your contribution will stack up against these well-known brands.

We've open sourced the project as well, check it out here:
https://github.com/jamrants/donations
I agree in general.

My biggest complaint is that that instead of paying higher taxes Warren Buffet could maybe not jawbone Congress into bailing out AIG. AIG should have gone bankrupt and Goldman Sachs (and their other counterparties) should have borne that pain, and possibly gone bankrupt themselves. Instead Warren Buffet refuses to come to the rescue of AIG, comes to the rescue of GS, and then tells Congress that the economy will freeze up if AIG and other banks aren't bailed out. That is not efficient allocation, that's crony capitalism.
I listened to this the other day. Extremely interesting, both the loss of wealth to directly affected individuals, and to the general economy, both measurable.

The guy that got the Nobel for the theory she scrutinized encouraged her to publish.

And her troubles publishing were themselves troubling, and vaguely supportive of her thesis.
Indeed. (Especially given the fact that two characters have 14 pixels in them.)
Seems like we had the same idea almost! 'Recursun'

https://i.imgur.com/qUfsZMz.jpg
Yeah this is the right answer. I use a 40" 4k display, it has the same dpi as a 27" 1440p display.

The extra real estate is a way bigger productivity enhancer than smoother fonts. Like there's not even any comparison.
Not really a total basket case. They had a long and fantastic history actually of institution building, including credible tax services etc.

It was really the Zuma years that messed things up and the new folks don't seem interested in any cleanup (the ANC has had a lock on power a long time). They are still a great country relatively speaking in Africa, with incredible potential.
this all seems like a lot of hassle to go through for some slightly smoother font edges. i like high res and high refresh rates and all that other good stuff, but i'd rather have slightly uglier fonts and not have to do an arcane dance every time i plug in a screen - i'm pretty sure that erases any negligible productivity benefits you might get from a better display.
Is it possible for Zoom / the CCP to hold the encryption keys? That would make it insecure, right? (genuine question).
>Credit Cards were introduced as a less-secure-but-more-convenient-check.

Yeah, no. Diners Club was the first credit card and was released in the 1950's to aggregate and streamline paying for things on account. It was, as the name suggests a line of credit. Checking accounts could become credit accounts if they allow overdrafts but this is not the normal intent.

It was not until First National of Seattle released a debit card (also now known as a check card) in 1978 that any of those plastic cards behaved as a check.

It's an important distinction because in one case (credit) the money transferred first is the bank's. This has important implications on who holds the liability and how long investigstions take into fraud allegations.

Chip security was added first overseas because online authorization was less ubiquitous. The US was able to have online terminals pretty much everywhere since the 1980's and knucklebusters became a rare sight in the 1990's. The chip security now is less to prevent card-present fraud in the US, more to prevent reauthorizations of stored CC information (see, target breach). With a chip or NFC the card generates a unique signature for every transaction so there's nothing a POS system could store to reauthorize future transactions.

This is why in the US for credit cards a pin is mostly unheard of and we are finally moving away from signatures which have been obsolete since the time offline batching mostly went away.

Edit: Consider 1980's America was under the monopoly of AT&T. This greatly influenced the design of payment card networks. Europe, for example, probably had probably over 100 different companies in dozens of countries, so universal online authorization was less feasible.
Thanks for the answer. I don't fully follow the first part though. Perfect being the enemy of the good, extreme purity tests, inability to compromise etc, I agree these are all common characteristics of the left. But how are these being exploited by the right? It's not like in the USA the Democrats make a proposal and then Trump comes back with, "but you didn't go far enough! that's a compromise, you shouldn't propose anything until it's perfect". It's not like the purity tests are being instigated by Trump. They're all self inflicted.

I agree that Trump's super-power is inability to feel 'shame', at least not shame about the things his opponents want him to be ashamed of.

Australia and New Zealand are not necessarily CV success stories. NZ seems to have locked down so hard and early that now it can't re-open: witness the panic over the two arrivals who were infected but not stopped. Unless they intend to stay in quarantine forever they will eventually go through the same thing as the rest of the world - really they should have been doing it now, when it's summer (a far more likely explanation for why down under isn't really badly hit given the well known effects of sunlight and vitamin D on the virus).

In my view the only astonishing failure around coronavirus was the fact that society reacted at all. Deaths-wise it appears very similar to a regular flu season compressed in time somewhat, and with some more deaths added on top caused by the lockdown. Trump's response was essentially to go for federalisation and let the states do their own thing, this has worked out quite well in the sense that it makes clear the wide disparities in local leadership (and it's not like the USA could isolate itself forever either).
Or nose against the monitor
Has Zoom ever had their application(s) audited for security? Without an independent, external audit I don't know why they should be trusted that they've actually done e2e completely or correctly.
Which design choices made for OCaml do you think would be worthwhile to consider making in Go?
It didn't gain traction because the woman who brought it up was told to fuck off. It almost would have gained traction if just a few more people decided to agree with her, but the resistance was instantly discouraging.
Huh? This isn't a toggle to turn off political _speech_ on fb, just ads.

Or do you believe that Justice Louis Brandeis would have also demanded the societal remedy of "more ads"?
With how the web works, the degree of privacy the plaintiffs are asking for isn't technically feasible without also advertising that you're in incognito mode.
Or simply call https://forecast7.com/api/getUrl/ChIJawhoAASnyhQR0LABvJj-zOE
(with Origin: https://weatherwidget.io)

ChIJawhoAASnyhQR0LABvJj-zOE is google maps api placeID

returns something like:

41d0128d98/istanbul

PS: you can get placeID with https://forecast7.com/api/autocomplete/istanbul
Pretty sure everything has been marketed this way since the advertising boom or sooner. Go look at soap ads from 100 years ago.
How Diet Made Me a Better Software Developer
> The problem is if you turn off all ads, you won't see any alternative points.

That's ridiculous, it's not as though Facebook ads are the only source of political information in America. Even on facebook specifically that's not true; everybody's Facebook wall will still be packed to the brim with their friends, family and neighbors still talking about politics. We're talking about politics right now, despite there not being any paid promotional material present in this thread.

Advertisers simply do not fill the vital social role you seem to attribute to them.
As a US expat living in Joburg, I agree that there is a lot of corruption in SA. But damn if 2020 hasn't shown a spotlight on the shady business in the US as well.
Yeah, I was lax, "small subset of writing systems" is probably true, but that small subset is used by a very large portion of humanity, so I don't think that the idea that "case insensitivity" is a generally meaningful concept is a falsehood.

More precisely, I would probably agree that the concept of case is not so useful and we'd probably live well if it were only a graphical attribute (or not even that), without any uppercase (or lowercase) character in the character sets, but since the characters do exist as of now, are spread everywhere in text and in almost any case when a user of a bicameral * script (or at least the Latin one) wants to search normal text he wants a case-insensitive search, your software would better be able to perform it, and usually by default.

By the way, I refreshed my Unicode and it doesn't look like Unicode case-insensitive is that difficult, it would seem that you basically only have to perform the mappings listed in CaseFolding.txt (+ maybe the normalization steps).

* I'm ashamed to admit that I either just learned the term or had completely forgot about it
That's factually untrue, it's not "known".

To the contrary, you can pick the region for your servers, which presumably for 99% of people is precisely to avoid China:

https://blog.zoom.us/wordpress/2020/04/13/coming-april-18-co...
If it was only third parties, then maybe. But if google analytics actually tracks data from a logged in incognito session, then it's probably a completely different in the eyes of the law.

It becomes more like: The mask maker put the name tag on your shirt. The tag was also put on in the same booth where you bought the mask that promised anonymity, and it was also the mask maker who supplied the record of your tag number to a third party.
Would you apply this "hate speech" label to Yakub and such such ideas? I need to know how seriously to take you.
Phone could be able to test you for coronavirus in the future
The idea is not that the free market will always produce perfect results and perfect goods. The idea is that the free market will produce better results at a faster pace with less unintended consequences than government intervention.

Government intervention rarely happens proactively, just as major market changes rarely happen proactively. Supplier failure on a large scale makes it apparent that change is necessary, and only then do changes follow, either from the top down by government intervention, or from the bottom up by the market.
Wait, your point is that Zoom is evil because the founder is Chinese?
*main key
> That's exactly what "pass by reference" means

No, that's wrong. Pass-by-value with references as values, is not the same as pass-by-reference.

Plenty of people make the mistake of equating the two. They can get away with the misconception as long as they don't encounter a language like C# that features both reference types and optional pass-by-reference.

> According the SO definition, C is always pass by value

That's correct. C is always pass-by-value. You can get a similar effect to pass-by-reference, by passing a pointer.

> It pretty much applies to any language: ultimately you're passing a value from the caller to the callee.

That's incorrect. If the language has pass-by-reference semantics, then it does not copy the value, it passes the callee a reference to the variable. It's not true of pass-by-name, either, but don't know much about that strategy.

A good article on this topic is the documentation on C#'s ref keyword, which enables pass-by-reference. The article does a good job explaining the related concepts. [0]

The acid test for whether pass-by-reference is happening, rather than pass-by-value, is whether the asserts can fail in code along the lines of this Java code:

int myInt = 42;
doStuff(myInt);
assert(42 == myInt); // Ok

String myString = null;
doMoreStuff(myString);
assert(null == myString); // Ok

In Java, the asserts will never fail. The two methods called do not have access to either the myInt local or the myString local, they only have access to copies of the values held in the two locals. This is the reason Java would permit us to use the final modifier when declaring the two locals, without needing to know anything about either of the called methods.

On the other hand, C# permits pass-by-reference. Here we'll suppose that both doStuff and doMoreStuff declared their parameters using the ref keyword:

int myInt = 42;
doStuff(ref myInt); // If callee uses 'ref' keyword, caller must use it too
assert(42 == myInt); // May fail

string myString = null;
doMoreStuff(ref myString);
assert(null == myString); // May fail

In this case, either assert may fail, depending on the behaviour of doStuff and doMoreStuff. The callees are given references to our locals, and so they may mutate our locals (as well as reading their values of course).

Related to this, this is illegal in C#:

doStuff(ref 42); // Compile error. 42 is not a variable!

[0] https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
Give us your mobile number so we can hand it over to the PLA so they're able to launch targeted attacks at dissidents?
Makes me wonder about the jquery based interactive components like select2/chosen etc.
You have to be careful when purchasing a device intended for use with OpenWRT. Not all low end devices are appropriate (specifically Broadcom based devices, which require proprietary software only available from the vendor or somebody signing their NDA like DD-WRT).

The IPQ40xx devices tend to be well supported, though. Be sure to refer to the hardware list to see if a device is really supported before buying it.

https://openwrt.org/toh/views/toh_available_16128
So what you're saying is Apple cannot secure iOS to prevent this from happening? Like mandatory anti-malware built directly in the OS ?

Phone makers should not be able to sell their phones, only lease them, since there not yours in the first place.
What's with the downvotes? HN is turning into Slashdot or Reddit, and that's not a good thing.

I clearly stated my point. Maybe you disagree. However, the downvote button is not a "disagree" button. It's for posts that actively detract from the discussion.

We need some kind of meta-moderation to ensure frivolous downvoters lose their downvote privileges.
> like if Chrome attached a header to all outgoing requests that said incognito=1 or something

Which, by the way, would be a disaster. There's already enough otherwise-legitimate sites that exploit browser bugs to detect incognito mode and replace all of their content with a paywall.
I just think this is interesting. The following statement is true:

`(~~4.2 === 4) && (~~-3.5 === -3)`
My take on having used quite a variety of displays: 1440p with a high (120, 144 etc) refresh rate is the way to go.

With 4K you can lose a lot of performance especially since they are often paired with integrated graphics. Also what's the point of a higher pixel density when it's higher than you can resolve? Meaning if you have to zoom that's a sign that you get nothing more from increasing resolution. Also despite claims to the contrary, a lot of software is still not well suited for 4k resolutions.

High refresh rates are completely underrated as it's at the same time a meme but also a widespread false belief that human eyes have some kind of limit that is being satiated by your 60hz displays. Scrolling code on 144hz is smooth.

Bonus point that isn't mentioned in the article: HDR is a meme, don't buy into that crap.

Also: CRTs are criminally underrated and still unfairly judged. We lost something from that era. Colors, black levels, subjective image quality and input lag have still not recovered from the peak of display technology in the year 2000 or so.
AWS said it mitigated a 2.3 Tbps DDoS attack
I don't think they were, do you have any evidence for that assertion?

Reuters wire service reported an outbreak of an unknown pneumonia causing disease in Wuhan in December of 2019: https://www.cnbc.com/2019/12/31/reuters-america-chinese-offi...

So did AFP, which resulted in sites like Yahoo covering it.

The only two articles on Zero Hedge to reference pneumonia between Nov 1 2019 and Jan 1 2020 are a link about two people caught the plague (which was never eradicated) in Beijing (not Wuhan): https://www.zerohedge.com/health/fears-pneumonic-plague-outb...

And an unrelated article about superbugs, antibiotic resistant bacteria.
Also, nearly everywhere in Canada, the interac system really has it together up here.
HSM's properly implemented do not result in clearext backups of these highly important keys. You can do backups without that.
What surprises me is that you can extract the private key at all - I would expect it to be firmly inside a HSM, that only accepts signing requests and the key never leaves the module & the HSM wipes the key if it detects tampering (there is usually a battery inside to power the tampering detection even if the device is not plugged in).

So just exporting the private key so easily without some pretty involved hight-tech HSM key extraction sounds insane.
I feel like HN as a whole want blogs to come back, and part of that is well written exposition (the technical details) followed by near-outlandish opinions that tend to generate discussion. It's more fun, it leads to more conversation (here we are!), and clarifies our own values.

I think three monitors is distracting, but that whole community discussion gave me the opportunity to compare how I use a multi-monitor setup compared to others.

I generally dislike how fonts are rendered at floating-point scaling or lower resolutions, but I too just learned to live with it over years of ignoring it. Unfortunately, now I can't unsee it!
I use a sous vide machine to keep the yogurt at a consistent temperature. If you're working with non dairy milks, that extra time can help a lot.

If you're looking for another good fermentation, kimchi is a great one. There's nothing better than making kimchi fried rice or kimchijjigae with homemade kimchi.
Doesn't help if they close down your account for saying the wrong thing....
My favorite 19" 4x3 LG monitor is what is keeping me from getting cross-eyed.