skysight-inc/HackerNews huggingface dataset:
To take one of the classics of bad copy-past examples: "If the 'use-PHP-with-MySQL' example you copied is stupid, works, and also causes your production database to be hacked due to SQL-injection, it probably was stupid"

The problem is to tell the difference between "ugly stupid" and "dangerous stupid"
> This is where opinions will differ, I quite like go's ability to pull straight from a repository

Having the ability to do so does not mean it should be the easiest and simplest way to get from A to B.

Both pip and cargo can pull from repositories, but it's not the default and it's basically not covered in any tutorial. It's easy to do, but a developer is unlikely to find the information before they're actively looking for it.

> If a developer doesn't understand proper git and package versioning they will have a hard time in any language producing quality software.

I don't understand why you're using Go if your teaching methodology is to throw live chainsaws at people and berate them for not understanding proper power tool safety, why are you not just cutting out the middleman and using C++?
If you're implying that "import foo" always puts foo in scope, that's never been true -- the package name doesn't need to match the last element of the path. Granted, you can count on it being true in 90% of cases, but I think "/v2" will quickly become unsurprising, the same way we expect "import go-foo" to add the name foo, not go-foo.
Not Squeak[JS]
First result from DDG. https://blogs.msdn.microsoft.com/canberrapfe/2013/02/16/powe... the thing in that example is that a thing is not properly configured but good enough to get started with in development.

Second result: https://stackoverflow.com/questions/1475297/phps-white-scree... describes how to put debugging statements in the code which is good for local development but which shouldnt be kept for production.
That's pretty much anyone with a pension, decent insurance, and friends.

I guess everything's relative and you can define "wealthy" at whatever level you want, but Carter could be living in a mansion and flying private jets, and chose not to.
You still need jQuery for Bootstrap
When I felt like it was time for a change, I went to my linkedin inbox and replied to some of the recruiters who contacted me for the past 6 months, asking if the position was still open.
When I swim in the ocean I always tow a float behind me. It's mainly to be visible to boats, but if I get a cramp or something I can hold onto it and save myself from drowning.

https://www.dcrainmaker.com/2013/12/exclusive-branded-openwa...
Right but this change occurred during the industrial revolution and also is sanctioned by the court. So either the house was purchased pre industrial revolution (so part of a historical context) or more recently. If it was purchased more recently then OP did pay for the new version of the water rights not the old ones. Second OP seems to think that the courts would settle in his favor but the very court that would do this is also the court that has weakened the water rights down stream. My original comment is simply a recognition of the pattern in which Libertarians tend to naively see a future of property and civil suits as ending up with them in the favorable position. Have I addressed your response?
Not the OP but all Facebook had to do was put up a simple click through when posting a housing ad. Something like - "This listing must comply with Federal law, by posting you claim full responsibility." and a link to the law.

In your example if I was the billboard owner and someone wanted to display an ad that was federally regulated I would absolve my liability by making the customer sign off on the fact that their ad complies with federal law.

Just seems so simple. I guess the money blinded them. Seems the status quo for Facebook.
Got a contract job with a unicorn through one of the giant domestic body shops. Converted to permanent status after 3-4 months.

I don’t think I would have been hired through the front door.
Ah yes, the infamous Ratner effect. I learned about it due to the Elop effect (the nail in the coffin of good ol' Nokia's demise).
Sure, why not?!
One tangential issue I have, is that all NFC-payment apps seem to use Google Pay or some sort of API detecting custom roms or root, disabling NFC-payment features.
That link says nothing about targeted ads. It talks about the content of the advertisements.

Mind you, I do think that ads targeted only to e.g. certain races are crappy and probably violate the law, but that certainly isn't as obvious from the links people are providing.
> 4) perform a postmortem to identify the next steps

It takes an effective management team to make this step work. If the postmortem isn't blameless, this stem becomes completely ineffective as employees (not unreasonably) prioritize their own careers over the health of the company.
I searched for "don't do this in production". This article was the first hit, and several blog posts with example code followed.
The amount of things we can do with drones seem to be quite extensive. I wonder if we could ever put pressure on the government to bring down trade barriers using by using near impossible to catch drones to smuggle goods in and out.
Since you seem to be knowledgable about this subject, I'm curious about one thing, the sublinked article mentioned this:

> Sasai, 52, was a corresponding author on one of the papers and a co-author of the other.

What is a 'corresponding author' and how much of a credibility contribution is this vs being a 'co-author'? I'm assuming studies include letters written by other scientists who remotely reviewed data but were not fully involved in the study? Which is a lesser tier contribution than being a full co-author but still essentially 'signing-off' on the study?
jQuery is a library of shortcuts. Everything you can do using jQuery you can do without jQuery, but that's like saying everything you can do in Excel you can do with just a Calculator app. Yes, it is possible, but why would you want to?

When you do things like drag & drop and interactive resize you have to query DOM to get position and sizes, and perform hit detection, and you have to manipulate DOM directly. jQuery is very convenient for these kinds of things.
TL;DR: only people with specific diseases should use UVB phototherapy lamps, and in those cases it would be prescribed by a doctor.

UVB exposure does cause cancer, that much is undisputed [1]. However, with very short exposures following a correct schedule given by a doctor, UVB phototherapy can be an efficient treatment for Vitamin D deficiency in people with certain specific illnesses like cystic fibrosis or inflammatory bowel disease that cause digestive malabsorption of vitamins. This can also be an effective treatment e.g. for psoriasis. The increase in risk seems to be negligible when used like this [2], but for people without these specific diseases a normal Vitamin D supplement is unequivocally safer.

[1] https://www.cancer.gov/publications/dictionaries/cancer-term...

[2] https://www.ncbi.nlm.nih.gov/m/pubmed/15869531/
Meanwhile I applied to 40-50, did interviews for 20 odd companies, 8 onsites and got only 2 offers.

It doesn’t matter as long as the company you got into was good lol (it wasn’t like that for me)
Based on recent research it appears that advice isn't always optimal. In some undertow (rip) currents the best technique is to tread water and wait for the circulating current to bring you back closer to shore.

https://www.outsideonline.com/2089696/everything-you-know-ab...
The problem is with defining "works". If your code "works" with ten test entries in a DB when you test the happy path, it doesn't mean that it really works in production, with real load and real attack attempts on it.
English is my 3rd language so please forgive some typos and inaccuracies like these. I understand that these are similar for some people as when I see people using "their" when they mean "they're".

I agree it looks less professional, so I'll try fixing those. Is there any other bit that sounds off?

Edit: That should be fixed! Also a couple of missing `css` => `CSS`, `umbrella` => `Umbrella`, etc.
But you don't want to be efficient lmfao
If you can't even read, why bother commenting?
It is worth noting that most ROMs are not FLOSS, and include binary blobs for GPU drivers, RIL services, and wireless drivers. The build process of lineageos involves copying select blobs from the factory firmware of a sample phone. The only true "FLOSS" ROM project is FSF's replicant, which is only available from phones that are old enough to have been reverse engineered.
I find it incredibly funny that a company in Switzerland has invented a way to store energy that basically uses the same mechanism as… a Swiss clock!
The tennis court at former President Jimmy Carter’s private home is swept twice a day, his pool is cleaned daily and his grass cut, his flower beds weeded and his windows washed on a regular basis — all at taxpayers’ expense

Relatively modest.
"works" is a nuanced word.

The saying can be wonderfully pithy or terribly destructive depending on people's understanding of the word.
Show HN: Plain Text News – Hacker News in Plain Text
Congrats. I generally understand that you made lemons from lemonade. But am confused about the machines problem. Was it a misunderstanding by the owner, who thought you wanted to run a gym? Was he trying to scam you? Does that mean you can't bring equipement into the building also? So you can never, say, replace an outdated treadmill with a newer treadmill?
Pipenv.
The most "celebrity" ex-president is definitely Obama. Netflix series, Beyonce concerts, you name it - that family eats it up.
I've seen it dozens of times, and dozens more read articles where they should have.

The entire Supercharged playlist on Chrome's Youtube channel does this, for instance.
I bet this blog post was about javascript :p

About your steps. The problem I often see around work is that A bug in prod doesn't get patched in the mainline then pushed all the way up ASAP so it can't accidentally promote up again as it exists somewhere in test or preprod as well.

I like the CI/CD approach of just having everything go down the same pipe as it seems to be a decent way to at address point 5.
I won't follow your script, but here's a nodejs implementation of SSS https://github.com/grempe/secrets.js

I've seen SSS used in Ethereum smart-contracts before. Grid+ https://blog.gridplus.io/simple-security-with-shamir-secret-... and Blockstack: https://github.com/blockstack/secret-sharing and uPort: https://github.com/uport-project/sss-wasm come to mind.
> It's hard for me to take this article seriously without even a single example -- I can't tell if this is a strawman or not.

I felt similarly: it just rang slightly false to me.

For one thing, a code review wouldn't be the first solution I'd reach for when diagnosing the kind of problems described (performance issues, memory leaks, random crashes). There's plenty of tooling available for most platforms that will generally get you to a solution more quickly and reliably (granted, the post mentions only spending half a day), and often highlight problems you might easily miss in a code review. I'm not saying code reviews aren't useful, but that measurement of real-life behaviour can be more useful in these circumstances.

Still, the point about not copy-pasting code directly from the internet is well made: been bitten enough times over the years that I've become extremely wary of it, even - and perhaps especially - when in a hurry.
The wiki for rip current starts with a pretty good gif. The gif explains why the people on the side hardly notice (sandbar location in the gif) while the people stuck in the rip nearly drown.

https://en.m.wikipedia.org/wiki/Rip_current

A second thought is that you might not know how many people are lousy swimmers. The beaches are filled with people who hardly can swim but go neck deep.
In popular cities with famous landmarks, there are many "tours" (and Airbnb "experiences") that consist of simply a photographer taking pictures of you in front of these famous landmarks, ostensibly for Instagram. They often differentiate themselves based on the Instagram cred of the photographer.
The Iranian hostages were released the day of Reagan’s inauguration. Reagan would have bombed Iran. Carter’s diplomacy were just about effective as Obama’s lines in the sand. Sometimes diplomacy through a gun barrel is needed.
Day to day task are anticipated to require 60 hours per week for 5+ year(s)
"Move fast and break stuff" is a decent philosophy if and only if the consequences of breaking stuff are survivable.

If breaking stuff means that your website looks weird, that's survivable.

If breaking stuff means that performance sucks for a while, that's survivable.

If breaking stuff causes unavailability during a critical period of end-user demand, a few incidents might be survivable.

If breaking stuff causes your company to have a terrible reputation for privacy, security, or competency, that might not be survivable.

If breaking stuff causes your company to divulge financial information, that might not be survivable.

If breaking stuff ends up costing your customers any significant amount of money, that probably will not be survivable.
Almost every civilian ship in the world is already tracked using AIS. Satellite surveillance helps to catch those few vessels who turn off their AIS transmitters to engage in criminal activity (piracy, illegal fishing, smuggling, violating trade sanctions).
No. Look closely. This is very shallow water. Some people are standing between waves. Im not sure we have the full story. She seems simply exhausted or hypothermic. A jetski also arrives almost immediately.

The first thing i noticed about her was that she was far to high in the water to be floating. He chest is visible above the surface. Nobody, even with help, can maintain that for more than a couple seconds. She is standing.

(Small waves breaking + murky water also means shallow.)
The "withdrawal" of them is bad too. You're essentially forced to create a new friend base because a lot of people just won't participate in a real meaningful friendship outside of Facebook. It's like you're not a person if you're not on some form of social media.

I still type reddit.com into my browser just from muscle memory now 6-ish months after quitting.
Yeah but that’s 2-3 years of lost earnings and respect.
A big problem is MongoDB isn't schemaless, it is document oriented.

That is a really big schema choice imposed on developers and the root cause of for instance why it took years to be able to create good indexes on inner fields, and they still can't do it efficiently.

The same can be said for simple key value stores.

True schemaless databases are much rarer and provide developers orders of magnitude increases in terms of flexibility, expression and speed.

Unfortunately these kinds of databases are not readily available to a broad audience. It's also the case that for the majority of jobs and developers SQL based stores are still a very good choice unless you need to deal with huge amounts of data from disparate sources without bringing down the system.
I recall seeing it many times (and ... mostly sometimes heeding the admonition).

A lot of times you’ll see a solution snippet with inadequate exception handling or resource cleanup (file handles, dB handles, etc.).

I’ve also seen a lot of regex examples that show a principle but don’t handle edge cases. See as canonical... email validation.
"couple of hours each month" ... "make it pays all of the bills for my 4 person familly". So you are charging $250/hr and living in Zimbabwe?
Pytorch implementation of our method for high-resolution video-to-video
I think you have a very good point.

I do not feel much empathy, except to my children and pets.

I am still attached to people but tend to rationalize a lot of things. My wife was diagnosed with MS, zero reaction. I help her to go through that but do not feel any emotion. Her neurologist mentioned that a lot of relationships break out when MS is diagnosed. I can understand this, but cannot comprehend which emotions push people to run away (I know them, just do not understand how one can feel them).

My mother was diagnosed with cancer, zero reactions from me. I love her very much, in some weird rational way.

I was diagnosed with an auto-immune illness, zero reactions. In that case it was really "zero fucks given" because I did not need to externalize anything.

At the same time I like very much to spend time with people and it bringd me joy.

So yes, I think it is a matter of spectrum.
There are tiny alternatives to React that support JSX syntax. This library is better when you want to be "closer to the metal":
https://github.com/wisercoder/uibuilder
>Automating the crap out of everything is what enables them to exist.

If they're too big to be accountable then maybe they shouldn't exist.
We remember him in Panama for signing the treaty that gave us back the Canal and the surrounding military bases. He's the only US president I would shake hands with
Just recently, been looking for code samples on how to send APNS (old-style) push notifications in PHP. Every single blog post or SO answer had such a low quality that was barely usable at all, let alone in production. Ended up writing my own implementation that has been pretty reliable so far, but the learning curve and the distance I travelled from those code samples on the Net seems pretty big now. On warnings though, I vaguely remember some warnings in a few places, but others seemed confident that they had the production ready solution (they didn't).
jQuery is still very prevalent, especially on the legacy-web (those websites you rarely visit, but litter the web like a plague). Think e-commerce sites, Wordpress sites, spam blogs (splogs), e-book shops - they mostly use jQuery to sell you random crap you don't need, and jQuery was added on last minute to add some sheen to an otherwise plain site.
Also you will get scolded in a meaningful way if you screw up or say really dumb things with no evidence here.
As Theodore Roosevelt said, speak soft but make sure you carry a big stick.
Let's be honest with ourselves, we knew that from the date.

As the days roll on today, we're rapidly approaching a time when every word in the dictionary has an associated package on NPM. There's an epoch I look forward to that I call "peak js" when we have to start fracking for package names. NPM will change their community guidelines so people can reserve things like "HolocaustJS" (a templating engine for dockerizing existential dread about lives wasted naming things on npm, Fork me on github!) -- because everything less offensive will be taken.

Money will be spent reviving dead languages by sampling the acoustics encoded in the drying bricks of their temples so that we'll have new words to apply npm packages to. That's the kind of hellscape we're headed for, unless we act now to reduce, reuse and recycle.
> I think he had a bit of bad luck with the economy

That's pretty much the way it goes with every president, good or bad luck, even though very little is the result of a small four-year window - it started well before that.
One thing I see amongst many of developpers, is that they write code like it will work in production. OTOH, I tend to write code that will crash nicely : good error reporting, ability to continue after a crash, write code that handle only the data it needs, make sure queries address the smallest possible set of data, log a lot. Interestingly, that's a lot of code I have to write anyway because it helps me to write my programs (I mostly don't use debuggers).
Here's in HTML form: http://quotes.cat-v.org/programming/bumper-sticker-computer-...
It works because you are evaluating the limit at that point.

Think of it as multiplying both sides by (x-1) and then applying the limit as x->1 to both sides.

When you do that, you are going to end with an equality, 1 = C.
Yeah, the uncanny valley effect is very damaging to people with invisible disabilities or psychological differences. If you look normal but don't 'act' in a way that's expected, it seems to creep out a lot of people.

And unfortunately, I believe this may be why to some degree, having the difference being physical/visible may make someone with a disability more sympathetic/liked. Disability itself has an uncanny valley setup ranging from 'can pass as completely normal' (certain high functioning psychopaths)to 'is visibly different and accepted'.

I also wonder if fiction may have had an effect here too. The average fictional psychopath/sociopath/whatever may look more like someone on the autistic spectrum than a genuine psychopath or sociopath.
This is pretty cool. Extra liquid nitro cool because you’ve found a way to make a living from open source.
>>In the United States, redlining is the systematic denial of various services to residents of specific, often racially associated, neighborhoods or communities, either directly or through the selective raising of prices.
This.

So many people seem to be entirely blind to this dynamic.

You can look at a business person and point out "You know browser fingerprinting is a bit like a salesman walking into a User's house and taking a bunch of metrics to send back to base before making a sales pitch right?"

Then they look at you horrified by the mental image and say "But it decreases fraud!"

The cognitive dissonance is delicious, but our obsession with the Market mediating the worthiness of anything to the point where ethical and moral violations are encouraged as long as they can be hidden is a blight on our society at large.
Thanks! I appreciate the thoughtful reply.

Honestly, I don't even thing they have to be pulling an intentional fraud, although clearly given Uber's corporate ethics it wouldn't be beyond plausibility. I think they just have to be selling the dream of future profits. "Sure, unit economics aren't in the black now, because like every startup we're working to capture market share. But once things settle down and we are the dominant player we'll be able to raise prices well above costs. Then we'll be minting money like Google or Apple."

If that's their line, then extraordinary losses are just more proof of how big they'll be in the end. Transportation is a big market, so they'll have to spend big to become the dominant player. Then throw in a lot of waffle about how cars as assets are underutilized, the shift to a service model is inevitable, and robot cars are the future that Uber will also own, but with no pesky drivers to pay.
Then you should post a blog or site to correct these mistakes and share your hobby with the world.
> This is a very well known piece of history.

In a company where you have people defacing "black lives matter" posters why is it surprising that they know fuck all about black history?
Good intentions do result in success

Then all it needs is people believing it will work so it can work, like magic ! Or Universal Basic Income

Therefore trust in government

How citizen trust in government and government employees having good intentions are related ?
Unsexy Startups Disrupting Trillion Dollar Industries – Tekraze
Windows 10 Screen Sketch App Renamed to Snip &amp; Sketch in Insider Builds
These ads don't indicate any preference though. They are targeted based on a preference (which is not surfaced to the viewers of the ad), but don't actually indicate any preference.
I started an open source project, quit my job and coded alone in my apartment until it became useful enough to be sponsored by a large enterprise.

https://micro.mu
Completely agree. One of the first problems I found was that the server wasn't running via a process manager, so when it crashed it never rebooted. Simple enough to solve, but non-obvious if you've never run into it before. It's a checkmark for anyone who has hosted any application before, but it's one of many important ones.