skysight-inc/HackerNews huggingface dataset:
After following these steps, the browser says it's no longer logged in, BUT I still see my Google Account image on the top right of the browser. It's still doing some sort of syncing between my Google Account and my browser. This is too much of a breach of trust, I'm done with Chrome
Yeah, maybe some other example would be more convincing. I think this case would still be a good job for search and replace, you'll need to investigate the surrounding code to get the new data to pass to the function or modify the existing data to support the new format. It's unlikely that you add or remove an argument from a function and nothing else needs to change.
+1 on "premature generalization"

A similar issue I've seen a few times is people implementing an API and the use of that API in two separate changes, and as a result creating an over-generalized and harder-to-test API that tries to anticipate lots of use-cases, instead of a much simpler API that only exposes/tests what's actually needed.
On this topic, and as a co-maintainer (but not original author) of gorilla/securecookie, which is mentioned in this article:

- Setting Secure and HttpOnly attributes are exactly what I do by default in gorilla/csrf - you have to explicitly override these[1] - CSRF prevention without these is a losing battle. I'm positive many devs miss the docs though, wonder why the library isn't working on their local machine (without HTTPS), and move on to a library that doesn't have these safe defaults. This is a hard thing to fix: docs only go so far.

- securecookie just returns the authenticated, and optionally encrypted, cookie value. It's pretty minimal. I'm already looking at a v2 with some breaking API changes[2], including using an AEAD instead of the original authors' AES+CBC + HMAC construct. This could also be an opportunity to provide a convenience method - WriteCookie - that sets sane defaults for you, ala gorilla/csrf (which I wrote from scratch)

But as per the other comment: "all domains" is not correct. Cookies are still origin-scoped. HttpOnly is the real problem; followed by Secure. The SameSite attribute[3] is another lever to pull here: and, of course, for devs to learn & potentially disable.

[1]: https://godoc.org/github.com/gorilla/csrf#Secure
[2]: https://github.com/gorilla/securecookie/issues/43
[3]: https://github.com/gorilla/sessions/releases/tag/v1.1.2
I'm highly skeptical of general internet rationalization of rules if only because humans are really good at coming up with reasons.... and somehow everywhere else I work does just fine without those rules.

Nothing personal, just general policy on my part.

Also because that company gave no reasons other than the cafeteria thing I mentioned (and that was based in absurdity).
Exactly my point. I just was been sarcastic (sorry). We believe they will do the best for us. But all this things happen all the time under the table. What I meant is that we don't like this things happening but we wont probably do much to change it.
So, it should be about US$250 for the discrete components, plus $50 for the board.

I'd totally pay $300~400 for one.
Cars are an essential ingredient of drunk driving. You can't drive drunk if you don't have a car to drive.
Wow! It's like an honesty box, but without all the convenience.
I made a terrible oversight. Where I live there is no need for heating. Gas is only used for cooking. So my previous comment does not apply to a huge portion of the population. My bad.
Status has been important to humans since before humans were humans. It used to be a matter of life and death.

I believe the only thing that has changed is our perception about our place in the status hierarchy.

Mass media has the effect of making people aware of more high status individuals and this has been exploited by advertisement. But people on TV are easy to keep in a separate status box.

The recent phenomenon has been social media and the positively biased posting by peers giving a false impression of low relative personal status. There is also a bias to pay more attention to those of higher status, the more people you know the more individuals of higher status you’ll know. Both of these effects can be undone by understanding selection criteria biases.

I think the solution is to teach others of the effect of selection criteria biases.

There is also the solution of breaking down the hierarchy into smaller niche hierarchies so more people can be closer to the top of their smaller hierarchy. E.g. maybe I’m not the richest person alive but I have one of the rarest sneakers, or the best Magic The Gathering deck, or Furry costume etc.

I think there is a comercial drive towards niche activities that are now more viable with targeted advertising. So the disease may become the cure as there is money to be made in taking away a small subset of a bigger status hierarchy and creating a new one.

Consider this as opposed to a communist utopia where there is only one hierarchy.
Like I thought, you it does seem that you actually don't have have any interesting data to back up your statement so I guess we can draw a line under that discussion.
That only works in simple cases. Most cases are simple, but the ones that matter most are the ones that are not.

There is sometimes a great deal that can usefully said, about what a function is for, that is only apparent in the context of its use. If the purpose of a() is accomplished by calling a1(), a2() and a3(), it would not be unusual for the purpose of a2(), for example, to only be understandable in the way a1(), a2() and a3() work together to satisfy the purpose of a(). If the only words you are allowed to write are the names of the functions, there is nowhere to document this interaction (especially if the name of a() is supposed to say what it does, not how it works.)

The more you break down a solution into functions, the more the satisfaction of the purpose of the program becomes a consequence of how the functions interact.

For an example, look at the comments to the function checkListProperties in christophilus' SQLite example [1], and consider how you would convey the same information through function naming. Then look me in the eye and tell me that's the way you write code.

[1] https://www.sqlite.org/src/artifact/9711a7575036f0d3
I wish I could've avoided that terrible U2 album.
Firefox and related code is on Mercurial, self-hosted, and mirror on GitHub.
But Mozilla is a lot more than just Firefox, and tons of our applications, services, experiments and so on are hosted on GitHub.
Privacy, ethics, and data access: A case study of the Fragile Families Challenge
Have the individuals involved charged with auto theft and have the entire company seized under civil forfeiture since they are making money off of auto theft. Basically give the company the same treatment that a poor minority would get by the legal system if they tried the same.

Also allow the use of force in defense of property wrongfully seized.
Microsoft Acquires Lobe
Is it necessary to use the star one is orbiting around?

Why not use an array of smaller polarizers that can be modulated when they block the path of a bright but less adjacent star’s light to the recipient?
I'm actually arguing that we should not be focused on nitpicking the details, and instead appreciating the effort taken to think things through, and supporting the idea of using the article as a springboard for our own improvements.
The US is not unique here. I suspect you'd find that an even higher percentage of homes in the UK are connected to gas lines.

But these types of explosions are extremely rare, and most likely you'll find more accidents in less developed countries from people connecting the tanks incorrectly than you'll find from instances in the US, UK, or other countries of massive accidents like this one.
QuickDBD – create database diagrams by typing (online tool)
As I recall the biggest thing was that the pipelines are insufficient and so in the winter it has to be shipped by sea.
It shouldn't be. If anything, it should be treated as theft and the towing company treated accordingly.
Seeking for alien messages sent to nobody is silly, we have more chances to find extraterrestrial civilizations if we look for two points that seem talking to each other, I know, easier said than done.
You're talking about what the tech does. I'm talking about what it can do, with reasonable-sounding non-magical improvements to tech. Just because there are limitations now does not mean those limitations will still exist in ten years.
The German beer example is funny and seriously dates the article.

Turns out that "how to get rich" (as opposed to stay rich) in American beer making between 1999 and 2018 was 100% to copy the German model. Regional and microbreweries soared from ~4 bbls ~22 bbls between 2004 and 2017.

And that definitely wasn't the result of "government intervention". It was the result of people realizing they should be able to make and drink good beer without flying to Germany with empty suitcases...
I would ALSO like to run a Traefik instance which acts as a https-proxy for arbitrary domains,hosts and ports - without having to restart at all.
>> "If you could 3-D print a circuit that manipulates photons instead of electrons, that could pave the way for future applications in light-based computing".

This goes hand in hand with the post that made news on HN 3 days ago about "Researchers demonstrate the first single-photon transistor using a semiconductor"

source: https://news.ycombinator.com/item?id=17949622

Where can we learn more about "light-based computing"?
Ask HN: Can you recommend a cheap analog computer?
Preferably a relatively extensive and configurable computer suitable for modelling ODEs of order 5 or less.
It isn’t. Setups change. Stuff gets uninstalled and reinstalled. Old members leave, new ones join. Environments change. Fiddling with that shit isn’t worth the effort and it’s a complete waste of time when a perfect solution exists.
Sounds a bit like unums:

https://en.wikipedia.org/wiki/Unum_(number_format)
Oh. Well... if you have oil heating (or no heating) you probably have an electric stove. I don't think I've ever seen a house with a gas stove that didn't have gas heat.
You're comparing apples to oranges. Gas lines, electric lines, and telecom infrastructure is usually privately owned (or through a limited public utility), so your taxes don't fund maintenance for them.
Show HN: Athsee – Share your sporting journey
8 Keys to Keeping Up with Technology in Your Business
An uber car also killed someone and the emergency automatic braking system was disabled.
We are a team (of athletes) aiming to create a better connection between athletes and their friends, family and fans. Why? We are frustrated that it's difficult to follow an athletes journey through current social media because it doesn't have context that an athlete competes in events, has results, trains etc. We are aiming to improve this with the Athsee App by allowing athletes to share their sporting journey with people who wish to follow them - friends, family or fans!

Athsee is in it's early days but we have a few features already available for you to try:

- Create posts about your upcoming events to let your followers know when you are competing next

- GPS Live tracking including live photo/video sharing to share your event live and in real time with your followers

- Engagement through following, liking and commenting

The aim is to be a space for all athletes of all sports - currently though the app is optimised for runners and cyclists

Our future plans are to have a space where you can post not only your upcoming events but your results too. The live function will grow to include live posting of an event so that athletes can post commentary along the way.

We are looking for athletes to start using the app and to help us make Athsee everything an athlete wants. We are encouraging feedback - questions, suggestions and anything else to help us make something that you want to use.
What I always ask is, why use classes at all? I love that newer language docs like the ones for Kotlin and Swift are telling people to use structs and bare functions.
A lot of those criticisms seem like a not seeing the forest for the trees argument. Yes, not every Spanish mission was successful, but those that lasted are important. Yes, not all diseases come from domestic animals, but those that do can be an important difference with diseases between the natives and colonizers.

Diamond is making some _very_ broad claims to describe the general trend of human history. With a topic so broad there are always going to be exceptions. I'm always disappointed that the criticisms focus on the details exceptions rather than dealing with the broader ideas.
Yeah.

I guess I've tended to shy away from subkeys because I figure losing the primary is a function of time. Basically at some point a virus, or improperly secured backup, is going to get my key.

Though I suppose the pro way of doing this would be to set up some kind of air gaped PC, generate the subkey, then display it as a QR code or something.
Show HN: Blood Donation Database with Google Sheets and PHLO
PixLab – Machine Vision Cloud APIs
Thanks, yeah, the ideal situation would be part time at one company so I wouldn't have to hunt down work but freelance might be a more realistic way to go. My skills aren't particularly esoteric but are pretty varied (node, PHP, WP, AWS, React Native, React, etc.).
I swear the clipboard folks at that company did nothing productive ever.

At another place I had some sit next to me for a while due to construction at the company ... it was months of nothing productive, just nothing. I was a little shocked, I mean I assumed, but when you see it, it is amazing.
I'm not convinced that has something to do with why floats are so confusing. The same could be said about integers but people are fine with 1000/16 as it matches how they naturally think about integers even though in the computer it's done in binary.

To me it seems much more likely the simple explanation that 2^E+1.M for some number of bits is unnatural to people used to n*10^E with an unlimited number of digits.

To drive this home I don't think I ever heard anyone be confused why 2 fixed point numbers resulted in a certain value after being told what a fixed point number was.
Then perhaps make the charge per block of reports?

How large a block should be could be a difficult thing to judge. Perhaps a bock could just be all the reports made in one day. Perhaps let the reporter chose: if anything in a given block of reports is rejected then they all are and need reporting again, this would make the reporter group the definite infringements together but be more cautious with the more spurious/speculative reports. Though a concern with any system like that is implementation and UI/API complexities.
Nineteen Eighty Four- George Orwell

I read this in high-school, and I can see very clearly how it has influenced my thinking up to the current day (and I'm 45 now). I would definitely say this book was a big part of influencing my to my strongly anti-state / anti-government position. I was so angry at the end of that book, and that still resonates with me today.

Orwell might not have been a libertarian himself, but his book helped make at least one, whether that's what he intended or not. :-)
Most of the time we use json+http, we need an RPC mechanism, but are afraid to say it because the web people were duped into thinking REST is good.
If you have some time and curiosity as all these things version become an interesting list of things to learn.

There's tons of value in doing things yourself
Yes.

https://docs.aws.amazon.com/cli/latest/reference/events/put-...

The data you attach will be included in the SNS message or the data that gets sent to the lambda handler.

You can put static JSON as an event from either the AWS Console, the CLI, or CloudFormation.
It would help to be able to sue someone in small claims court for free, and through the mail or entirely online. Having to take time off from work that you can't take and pay money you don't have, in order to get $200 back, are just enough little barriers to prevent people from using the legal system that their taxes pay for.
Can you explain this further? What are positive benefits of ADHD on creativity? Ive never heard of this.
Yes, I could have been more clear about meaning “current generation”. The implication being the phones that will have a long life of support and relevance. When the SE came out it was using Apple’s latest iPhone processor. You can still buy a new SE but it will be deprecated by Apple and run newer software for a lot fewer years than the current-gen X phones. Likewise a couple years from now when the 7 and 8 are out of software support the only options will be large phones if Apple doesn’t reintroduce a smaller phone.
> And yet you can't drive from SF to San Jose without seeing a human driver screw up.

I don't think anyone is debating that in perfect conditions the computer cars can sometimes out perform the worst drivers.

If your concern is terrible drivers killing themselves and others, what you should be arguing for is much stricter standards for obtaining a driver's license. Probably removing 'full coverage' insurance and only allowing liability would go a long way as well. Can't keep wrecking your vehicle if nobody's buying you a new one.
This reminds me of Jackbox Party games. Those work almost flawlessly and include the phone as more than just a controller
I'll agree with that.

Nobody will talk to you on the subway. Everybody will be very interested on whether your replacement garage door "fits the character of the neighborhood" though. If your kid gets off the bus and lets themselves into the house before you show up from work you are going to get really familiar with the local cops.

My favorite two anecdotes:

I once drove ~1/2mi home after getting a flat (in the tires' defense, it was older than me), mid-morning on a weekday. Less than 5min later, while I was in the middle of "screw these used pieces of shit, I'm ordering all new Firestones on Amazon" the cops, knocked on my door. Turns out someone had followed me home and then called me in to the cops as a possible drunk driver, on a weekday morning. And the cops were happy to oblige. They had no problem showing up and playing the questions game with me over a call they would have ignored in NH or ME.

Back when I was in middle school (decades ago) my parents got lectured by the school about how they were raising me because I kept getting in trouble for using pads of sticky notes to make short animations of car crashes, explosions, and other typical action movie stuff.

If those aren't hallmarks of a society that think's it's perfectly fine to get unnecessarily involved in someone else's problems then I don't know what is.
There's a spectrum of how 'local' a variable is though. There's a big difference between a local variable whose uses span ~5 lines vs. ~30 lines. You're making a trade-off between repeating information (what the variable is) and forcing the reader to keep in their own (human) memory what each variable is for (or else forcing them to constantly go back and re-discover what the variable is for).

Go sometimes gets a lot of flak for its style here (partially because it's sometimes misapplied) but I think it works pretty well: it's fine to use a short non-descript variable name like `a` if its uses only span a few (~5-10) lines (or other certain special cases like `i`, `j` for loop indexes), otherwise use longer descriptive names.
Distractions Cause Bad Code
Doesn't the downside kind of outweigh the upside?
Definitely not what I said. Your comment also doesn't seem to make much sense and I don't see what personal responsibility has to do with corporate taxes. You can also criticise all you want, that's never been the topic of discussion in this thread.
Show HN: Some awesome eCommerce personalization strategies
Take a look at some proven ecommerce personalization strategies to help with conversions, and specific tips and tools to personalize your site. https://bit.ly/2xbwSfG
Surviving Climate Change in Italy
"I think the solution is to teach others of the effect of selection criteria biases."

Oops, I think we are done for.
It is incredibly awkward and reads like marketing was an afterthought, but I'm pretty sure this is just a bad translation.
For most folks who already have an account, it's just a matter of clicking the "edit" icon on the top right of a file, making the change, then saving it. GitHub does everything else under the hood, and creates a fork and pull request programmatically.

We can debate the value of centralized web interfaces to vcs systems all day long, but the fact that they immensely simplify contributing to open source software cannot be understated.
Experts supposedly could tell expensive wines from table wines... this doesn't pass muster for me anymore either.

<rant>I'm getting to the crotchety old man stance of - drop copyrights, drop patents, everyone gets paid for [a live performance|first sale of a physical object] and screw all this secondary income bullshit. None of it makes sense and it leaves too many openings for pirates/scumbags/greed to suck money out of the public. </rant>
REST is good, we were duped into thinking that the Twitter API is an example of a REST API that is worth following.
> I don't think so, on any long time scale. We just think it's in perfect harmonious balance because we've only been observing it for a the blink of a gnat's eye

I didn't say it was perfect, on the contrary all of the models used to describe ecological systems exhibit some degree of chaos, but the important part is they are periodic, they all oscillate in some way and eventually recover one way or another - I suppose you could argue humans just haven't reached some tipping point yet, we haven't completed "one period", but unlike other species we keep inventing ways to escape that. This is the difference I'm pointing out, I thought it was pretty obvious.

> The view that nature is somehow wise and benevolent is only possible for us at all because we've won the game so thoroughly that nature, almost never happens /to/ us.

I realise that by mentioning tribes and forests I seem to have tripped some "save the world" alarms, to clarify that is what I intended to imply - i'm not an environmentalist. Your statement is not my view, I don't think nature is benevolent, nature is nature its neutral and of course we are part of it, but it's not exactly hard to argue that humans stick out like a sore thumb from the rest, we are in the position of resource depletion in classic models but we really take it up a few orders of magnitude in severity because we have so many tricks to exploit the system.
> The lure of a market of a billion people is an illusion. The game is very much rigged.

They know they won't be allowed first place, but they're willing to compromise themselves for a second place finish.

We really need to start incentivizing executives to pursue more than just raw numbers.
> These are literally the least difficult issues around self driving cars.

You are either young, or extremely naive (or both) if you don't think these are going to be challenging problems.

> so we should stop trying?

Not sure why you thought that this begged that question. What I am saying is we should stop making arguments that compare driverless car habits, problems, and safety to the current habits, problems, and safety of human drivers. They are generally bad arguments. They won't bear any fruit. Statistics aren't people. Trying to sell a generation on driverless cars on some unproven projection that "they will be X times safer!" will fall on deaf ears to drivers who have made it a lifetime of safe driving.
"Gotta" (got to), is imperative, and vernacular. "Can you" is weak, and enquiring. Very different.
Are you aware that apps and webpages can use the camera and a library to read QR codes?