skysight-inc/HackerNews huggingface dataset:
> personally use Chrome extensions that fill in my passwords, help me read Japanese kanji, simplify the visual design of Gmail, let me highlight and annotate articles, save articles for later reading, play videos at 2x speed, and of course, block ads.

So, autofill, autotranslate, HTML-only mode in gmail, (?), literally just bookmark it, any html5 video player, and of course, block ads (which most browsers seem to be moving to do by default). These are all either offered by the browser by default, or will be (though firefox seems more interested in adblocking than chrome right now).

Obviously they may not do it the same, but as someone who is suggesting addons offer a lot of power, the writer is not actually using most of that power. I kind of agree with browser developers that more often than not, extensions just offer a new vector for malware and no one really understands what power they have so they make bad choices.
It's often about a third cheaper and some people get it as part of commuter bennifits in leiu of parking.
The issue there has nothing to do with generics. You need overloading for what you want (and, IMO, overloading is a bad idea). Don't write code that way. Since conversion is rarely a generic pattern anyways, you just pass a conversion function in.

func processStuff(type U, V)(a U, b V, convert func(U) V){
bleh(a, convert(b))
}

processStuff(123, "foo", strconv.Itoa)

Adding the parts needed to do generic conversion functions is not a great idea. That way lies madness and SFINAE.
I had to reload so many times. I emailed instead
I consider everything to be a matter of risk in terms for example of privacy. By installing an extension like uBlock, I am indeed taking the risk you mentioned. However, I consider that the risk will be much higher when installing an extension that is based only on a list of regular expressions for the reason I mentioned.
If uBlock did a bad thing, I'll know very quickly and all I'll have to do is install an alternative extension.

I am also a developer. I would like to continue to have the right to code such extensions for myself.
1. Racists don't agree with each other on who counts as what race.

2. Racists can't point to actual genetic variation to establish their ideas.

3. Racists can go fuck right off.
> Uber operates in 600+ international major markets.

Maybe it’s because I’m from a small country, but can a single country have more than one “major international market”?
Firing all your QA engineers because you can make your developers do QA is like firing all your operations people because you can make your developers do operations.

In either case, it's also like cutting off your left arm because you still have your right arm.
Is coincidence an acceptable answer here? I mean if you add one more power of two the whole thing is wrecked. Also if you remove one.
Youtube's copyright claims system is absolutely abysmal. I didn't know that TikTok is owned by a Chinese company, so I assume that they are much more resistant to copyright trolls?
the original comment said "you'll watch them rise further and futher in the company hierarchy while you're enjoying your "parallel track"", and the comment i replied to disagreed.

the question was about "parallel track", and i don't see how you can conclude that they're parallel: it seems to me that the IC path is circuitous and takes a lot longer to get anywhere on.

put another way: imagine that you had no preference over the work, were equally good as both IC and manager, and wanted to optimize for career progression. you would _always_ prefer management. and in fact even if you'd make a better IC than a manager, to a large extent you'd still profit more in management.

i agree that it isn't necessarily a promotion to move from IC to manager. but it also _isn't_ a parallel track: by moving, you've moved to a track which is much more direct.
Parents Giving Up Custody of Their Kids to Get Need-Based College Financial Aid
Optional Chaining Operator in JavaScript – Stage 3
India Steps Up Clean Energy Investments with Plans for Tesla-Style Gigafactories
More like being a dancer and a demolitionist at the same time.

Not only messy, but also quite deadly.
Was early modern writing paper expensive? (2018)
An argument can be made that this is what Test Driven Development is here to solve. State intent in the test, not the comment.

That said, I agree it can be a helpful contextual clue.
They are selling lots of rides at less than the cost to provide said rides. That's how they're losing money.

If the price of the rides were correct, they'd lose market share to competitors, and fewer people would be willing to pay them.
Any chance you could elaborate? How/why?
> "McDonalds" had never NOT been the #1 in one of the Freshman preference categories

The Beloit Mindset List annually captures the changing worldview of younger generations.

http://themindsetlist.com/2017/08/beloit-college-mindset-lis...
"Diamonds are forever. Coincidentally that's also the term of our sub-prime loan to get one."
4) You work for a Linux distribution. You have several global npm modules already installed that are safe and secure. You download source code of a killer app in order to package it. You check the source code itself and it is safe. However you didn't realize that there was a local node_modules directory in the git repo that contains package foo-1.2.3 with replaced code that does bad things. That package overrides your global one. You ship a compromised app.

The above scenario is impossible with maven, because there is no concept of local modules. Only the "global" ones will be used when you package an app. So if you check just the source code and it is safe then everything is fine.
Intel’s Xe Discrete Graphics Cards with Up to 512 Cores Spotted in GPU Drivers
"eliminating a provision that allowed..." doesn't seem like the same thing as "caused ... to be prohibited", necessarily.
The 35 (Key)Words You Need to Python
These photos beautifully capture Colombia's relentless spirit and unwavering passion for peace and justice in the face of its community leaders being slaughtered by the hundreds.
We don’t seem to have trouble producing any number of things that depreciate in value: cars, furniture, computer. The ROI is in the difference between the cost of the inputs and the cost of the finished product.

The problem with housing is that efficient use of one of the inputs (land) is illegal. Fix this and housing will be available at a variety of price points, just like cars are.
In April on phys.org:

"The growing demand for minerals and metals to build the electric vehicles, solar arrays, wind turbines and other renewable energy infrastructure necessary to meet the ambitious goals of the Paris Climate Agreement could outstrip current production rates for key metals by as early as 2022, according to new research by the UTS Institute for Sustainable Futures.

The study, commissioned and funded by U.S. non-profit organisation EarthWorks, shows that as demand for minerals such as lithium and rare earths skyrockets, the already significant environmental and human impacts of hardrock mining are likely to rise steeply as well."

https://phys.org/news/2019-04-exposes-extent-mineral-demand-...

More renewable infrastructure = more mining. I don't know if this is an example of the laws of thermodynamics, but nothing comes for free. I think it's relevant when comparing turbine, solar array and tide capture equipment to nuclear. Also relevant to policy decisions about domestic mining - preventing mining doesn't mean demand drops, it means we source minerals from other nations that may or may not respect clean and responsible mining techniques.

Just because we do less fossil fuel extraction doesn't mean we get away from natural resource development. It's a question of which is preferable, why, and how to do it in the most responsible fashion; but acknowledging the link between messy, ground-dwelling resource extraction and our electronics is not one that captures much public attention today.

And so I think more and more about nuclear power.
It means cities/metro areas.
A lot of these "marketing" costs are clever ways of hiding costs of providing rides as separate line items.
if history were to teach us...

a good joke, anyway.
FYI there is a memorial outside Union Station for visitors to Washington DC.

https://parkplanning.nps.gov/projectHome.cfm?projectID=39537
Who are you to judge these great men? Go back to playing video games
How does one become an amateur gem faceter?
Don't. It's India not india.
>> I kind of like the romance of a stone which formed before the first man climbed down from the trees, but I don't begrudge anyone his scientific marvel either.

There's a lot of those out there that cost basically nothing and are not unethically mined, however. So, why diamonds?
Personal anecdote here, I have a Chrome extension with a few thousand users that has never been subject to this wait. That seems to be because I have a narrowly defined scope for my extension and therefore the permissions I request are relatively innocuous.

That exact article you linked was posted to HN a few months back. I remember someone dug into it and found the permissions it requested. The full list was rather broad and as a result the extension could have basically hijacked the entire browsing experience. A malicious extension with those permissions would have been a potential goldmine. I think it is perfectly reasonable for Google to want to review extensions like that.
nah, i choose to live in a city with 3 million people. sometimes there's noise. sometimes the noise is inconvenient to me personally.

that's life
>> Diamonds have an entire system around rating every aspect of them: the clarity, the cut, even the fluorescence.

I know where you're going with this and agree to some extent, but this ratings system is entirely fraudulent and propagates the myth that there is some secondary market for gems that backs the value of the jewelry - when there absolutely is not. Ask any pawn store broker.
Well. I didn't realize until now that oauth and saml are distinct things.
Microsoft wants to be like Facebook, where they can make each and every pixel on screen a part of an A/B test, and gather ineffable amounts of telemetry based on that information, which they can then magically turn into amounts of money that would embarrass even God.

They fail to understand that "Be Like Facebook" is not a positive aphorism or outcome.
www.heritage.org:

"The mission of The Heritage Foundation is to formulate and promote conservative public policies based on the principles of free enterprise, limited government, individual freedom, traditional American values, and a strong national defense."

OK, now I get it. Sorry, my mistake. Didn't check that before and wondered about downvotes and how they could – completely wrongly – state "The French have recycled fuel like this for 30 years without incident".
Two experiments getting a large variance in p-value for the same hypothesis says that (a least) one is either done wrong or an extreme statistical outlier in the space of potential tests of the hypothesis, but it doesn't tell you which is wrong. And the effect of sample size is already reflected in p-value, it doesn't tell you which of two studies with apparently inconsistent p-values is more likely to be the error or extreme outlier. To do that you either need specific evidence of error or more studies which provide at least probabilistic evidence of which study is an outlier.
someone's dog pulled out of their harness and attacked me because it didnt like the sound of my skateboard

it seems like people should be buying better harnesses
When people say "Don't roll your own encryption" or "Don't implement $ALGORITHM, just use libsodium", I think that also applies to web authentication (be it OAuth or SAML).

If you are the 'client' that wants to authenticate an incoming user, then I'd point you to an existing SP like Shibboleth or SimpleSAMLPHP or even CILogon (which bridges SAML and OAuth). If you are handing out authentications, then you are an IdP and I'd point you to something like Shibboleth or ADFS or Okta.

It is good to have the relevant RFCs to hand, but I would not make an implementation from scratch, unless there was a very good reason for it.
I think the issue with the argument of the article (just look at the event stream and write programs to tweak it into the stream you want) is threefold:

1. You can’t see the blocking in the event stream behaviour so your change might mysteriously fail to work. I wasn’t super clear on what the semantics were but I think the last change to not show ads to enterprise customers accidentally breaks the normal case and causes the program to lock up once it hits isValid. Normal program changes also suffer from accidentally breaking existing behaviour. Especially eg a change to a superclass breaking subclasses or accidentally mutating some global state or throwing an exception in the wrong place.

2. There are lots of possible event streams and it is hard to predict how well your change will behave under all of them. This is also a problem for any sufficiently large and modified program.

3. You can’t block a block, so it is hard to undo modified behaviour in some cases (this is what causes the atm to lock up after the last change (if I’m right in thinking it does))

However I don’t think this means that this is a pointless area of research. It may be that good ways of dealing with these things are eventually devised. And the idea of lots of small processes doing simple things coming together to make something which holistically behaves in a smart reliable and resilient way seems popular and reasonable (eg see copycat).

One good thing about this method would be testability. A test can be just another bthread (or more) running in the system followed by printing a trace of the events. That way one might easily know if some existing behaviour is broken because the printed trace would change.

Another similar idea (without necessarily requiring append-only programming) is one from eve and a talk I don’t remember the name of where one writes prolog-like rules to manipulate a set of known facts over time. This also suffers from difficulties with negation.

I suppose a general idea is that with these “bag of interacting rules” systems (which seem a good start for building complex systems which can be modified and tweaked reliably and resiliently) it is hard to have negatives (thus blocking) and in particular very hard to have reliable double negatives (blocking a block).

So what is the solution? Well I don’t know and it seems that any answer could be unsatisfactory. One possibility could be to allow for more probabilistic or otherwise weighted behaviour but this seems bad for reliability of results. Another idea is to disallow negation but this seems to make everything hard. Another idea might be to somehow make synchronisation points better.
I've lived in Europe and Asia and of course, it is much easier to get somewhere on public transit than it is in my hometown of Toronto.

However, driving my car in Toronto is so, so much nicer than even the best public transit I've experienced (Hong Kong or Tokyo). I felt a decent amount of friction going places because "ugggh, I have to take this line and switch lines there and then walk and oh, btw, it's raining and 33 degrees celsius outside".
We have plenty of people complaining that foods should be labeled GMO or non-GMO, which is the exact same debate. Except dumber, actually.
Lack of competition?
The Brain-Eating Amoeba Is a Nearly Perfect Killer
Yeah, I checked Moissanite again after the post and it actually has gotten pretty cheap. Maybe $400 for a pretty good 0.75ct. That's more like it, and yeah, probably is cheap enough that it's mostly the cut you're paying for.
Linux kernel is GPL.

Now try to get the right version sold with an Android phone.
They probably manage hundreds of thousands of marketing budget, in marketing campaigns that will stop or not be renewed when they are laid off. That's where the costs savings is.

They might also have a small amount of shares as part of their compensation. Paper money that will never leave the Uber accounting book now.
Huawei 5G, Diplomatic Design Presented to the U.S.
Oh that's good! Didn't realize it.

Doesn't quite solve the spam problem, but seems like a step in the right direction.
This thread is debating that premise. Your argument is ultimately circular: “the problem with leftpad was npm because the problem with leftpad is npm”. pcwalton may well be correct (we often disagree and frustratingly he’s probably right more often than me) but not because of this circular argument.
Is that really profitable though? Your article talks about how Pizza Hut is struggling as it switched to digital delivery.

Also according your statista link, delivery only accounts for 30% of revenue in the pizza industry.
Bill Gates: If you read one thing about climate change, make it this
A city full of mansions, with lobster, selling for $200-300K.
I guess for me the attention driving requires, the stress of other drivers trying to kill me, and vehicle costs, parking etc all outweigh the "on demand" nature of it for me. I found having public transport available actually increased my social interaction.
> To RMS, Unix was a good-enough system with a pre-existing userbase, not his ideal platform; the biggest concession to his roots he got was sneaking a real Lisp system (not mocklisp) inside of Emacs. ;)

There's also the info command, which appears to be a re-implementation of the online docs system from ITS. It's also an abomination... I have vague memories of a time around 2000 where it seemed like half the man pages for basic utilities were just stubs saying "refer to info" which drove me insane.
This is great info, thank you and i agree with your conclusion.
> They didn't know they went too far at the time, and it didn't become obvious for years.

That's just bad engineering. You should know how many pipes and pumps you have of what kind and where, and from that know how many residents it can support. Then you can predict when the infrastructure will become insufficient and start the upgrade in time to finish it before that happens. With enough margin of safety that you're still in the clear even if your estimates are off within the typical range that estimates have been off for similar past projects.

It's no surprise that some places get that wrong from time to time, but the solution is to do better next time. If you're at the point that you have to halt housing construction because your infrastructure can't keep up with it, the point where you screwed up was several years in the past.
I'm a said millennial parent, although my son really took to programming mostly on his own after I gave him some scratch lessons. He made a simple social network in php and became pretty popular in his 6th grade class for it. He's taught himself Java and loves working on games. While I'm encouraged at his career prospects, I understand the world may change around us and the role of a developer is certain to not look the same in 10-15 year's time. I think its a wonderful hobby that is teaching him to be logical, creative, and resourceful at problem-solving. What's wrong with that?
Cell growth isn't necessarily damaging though, is it?

At least, unless it is cancer cell growth.

Oops.
Wildfires Engulf Siberia
> Maybe I'm misunderstanding though.

As I read it, while you can't do:

func Bar(type B setter, S stringer)(box B, item S) {...}

directly, you accomplish the same thing via

contract SetterStringer(B, S) {
setter(B)
stringer(S)
}
func Bar(type B, S SetterStringer)(box B, item S) {...}

so in practice it's basically the same thing, you just have to explicitly specify the contract the function conforms to via a composition of the two other contracts.
An interview with J. Michael Straczynski (Babylon 5, Sense8) about autobiography
Well, imagine trying to convince someone of the existence of radio waves a few hundred years ago.
That’s securities fraud
So much for "states-as-laboratories" [1]. There may be some usefulness in that concept, but without eventually harmonization of best practices, it can also be incredibly wasteful and create harmful barriers to entry.

[1] https://scholar.valpo.edu/cgi/viewcontent.cgi?article=1888&c...
May I blow your mind? Have a look at https://cilogon.org — that is a service which takes a SAML Assertion, and returns to you either a client certificate or an OAuth authentication.

The link I posted above shows the client-certificate flow. If you want to see the OAuth flow, go here: https://demo.cilogon.org

CILogon is used alot in the Research & Education space. But if you don't have an institutional logon, that's OK, just select 'Google' from the list of providers.
That is what the internet is for.
Diamonds are industrially useful but calling them "precious stones" or "permanent" has always seemed silly to me. They literally burn up if you heat them in an oxygen atmosphere. Most rocks don't do that.
Humans seem to have a strong desire to see magic. At the same time, scientifically educated people feel ashamed for this desire. The solution for them is to find magic that isn't obviously magic, so they can pretend it is something else.

The popular solution is to use something scientifically sounding, but out of original context. These days "quantum physics" is popular; hundred years ago it would be "magnetism"; and of course "energy" never goes out of fashion.
I am seriously considering learning emacs. As a lazy IDE guy, it feels like yak shaving and a lot of work, but I can sort of see how having that much control over your environment would be great, and setting up some cool workflows to make stuff quick and easy in the long run.
Timothy Leary phrased the same thing better a few decades ago as "Any reality is an opinion".
> UAVs make the world a lot safer.

Sweet Jesus, no.

The next world war will be started with drones. Without a bodycount, many politicians are ok with initiating conflict.

After all, who's gonna complain? No press, no moms, no VA patients - at first.

Until there's a loser, who gets "The Terminator", but for real.

Another scenario where drones are destabilizing is for surprise attacks. The most successful aerial attacks have been against bases (Pearl Harbor, Taranto, Egypt.) Drones would make planning first strikes even easier with real-time ground truth.
Do you have a cite for that? I'm skeptical that there are a lot of "I don't know you, have some free drugs" organized loss-leader operations happening.

I suspect this is actually mostly propaganda and exaggeration, and that the actual practice—to the extent it exists—is more like offering a small sample to a well-known existing customer.
Voatz.

Voatz.

Yes, let's trust a bunch of people who think "Voatz" is a good, adult name for a tool for a crucial part of the process of democracy.
A small centralized team will have a challenge trying to coordinate billboard, radio, and online ad campaigns in dozens of cities in dozens of countries. There will be different language, culture, legal, and logistical issues in every market.
I think they value their millions and billions more than either. And they made a fair number of those millions and billions through their relationship with mainland China and the CCP. If it looks like the mainland CCP is going to cost them their millions and billions, though...
Isn’t there specific wording for the press?

> Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances.

It clearly distinguishes the press as different from speech, but teaching someone certainly seems like it would fall under normal speech.
I fail to see the point if the mass has to be launched from Earth.
You can't build a scientific career on unknowable unknowns and people like arguments that support their limited ability/view or need to agree and work on arguments of their superiors to survive.