skysight-inc/HackerNews huggingface dataset:
It worked. Time and material was fine for me.

Charge more than you think is right, market rates are exorbitant. Invest in your spare time. Invest in professional society time. Invest in your training. Communicate explicitly and often to set and define expectations.

Have a sales pipeline. Don't be a one client consultant. Abundance mentality.
First, China is still a relatively cheap country

Second, developed countries offer China subsidies as an undeveloped country on postage rates. Postage stamp for international mail is in between 50 to 90 cents. Prepaid envelopes go for 1 to 2 USD.

Third, E-commerce companies are eligible for Chinese own postal subsidies on top of that, and they get some volume discounts. Subsidised price for prepaid envelopes was around 40 cents last time I checked, so it is probably closing on 20 cents in wholesale volumes.

Fourth, China still has a lot of people in abject poverty. You may be surprised, but a lot of these 1 dollar goods sellers are working out of small towns or villages. For them, earning even 10 dollars a day selling abroad may look more attractive than trying to sell to Chinese domestic market where they have no chances.

Edit: they actually got a website in English http://english.chinapost.com.cn/html1/report/1208/204-1.htm

Interestingly, even small air parcels that are not considered postal correspondence get crazy low rates http://english.chinapost.com.cn/html1/report/1208/188-1.htm
When is overconfidence useful (if ever)?
The Most Anxious Generation Goes to Work
But that picture... doesn't have any container ships in it!
That's hilarious, if not sad.
> there isn't much US government managed health care that is worth a damn, just ask veterans

This seems to be incorrect. The VA has problems that should be addressed, but it's still preferable to most veterans than any alternative, which is why they pushed back against Medicare for All's initial proposal to replace the VA with Medicare. Now it retains the VA. We've been in a bunch of silly wars for 18 years now producing a constant flow of new veterans, the VA needs beefing up to deal with that.

https://www.washingtonpost.com/outlook/five-myths/five-myths...

> when people outside the country keep lamenting the US doesn't have government provided healthcare they need to realize the examples we have are both horrible and many doubt that they have the capacity to not inflict the same shoddy care on the current system.

Most people are "lamenting" that the USA has, what is it now, 30 million people without access to health care? And has 30-40k deaths every year due to lack of access. The expectation is for universal coverage. Not coverage based on circumstance or wealth.

Most people on Medicare defend it regardless of where they sit on the political spectrum. It should be noted that Medicare isn't "government managed health care" it's a payer to private health care providers. The health care providers are still private and privately run, there's no government hospital and doctors don't work for the government. At the moment the popular opinion in the US is not asking for the government to take over all health care management in that way, but instead to provide everybody with access to healthcare by expanding the popular Medicare program to everyone.
> Never do a fixed bid.

A little more nuanced view of this: if you know the client, their business and their systems well, there can be nothing more profitable than fixed bids. I have quadrupled my normal rate this way and ended up with happy clients. If you don't know them well, then, yes, fixed bids can be very, very risky unless you figure out a way to corner the risk.
Is there any best practice on implementing an ID field that starts at 1 for each repository (in GH's example)?
I'm not talking about SMS. What you need is U2F not 2FA.
https://github.com/microg/android_packages_apps_GmsCore/issu...
Not yet for sale. No announced availability date.
You can register on Taobao from overseas without any problem, few vendors ship overseas though, but the number is far from zero.
I think that someone wishing to exploit immigrants and keeping wages down would actually vote for Brexit.

With Brexit, a "race to the bottom" and bonfire of EU work regulations is more likely.
I read this:

"The advantage...is that the content inside portals can be pre-loaded while the user scrolls through a page, and be ready to expand into a new page without having the user wait for it to load."

My brain translated it to this:

"The advantage...is that advertisements can be pre-loaded while the user scrolls through a page, and be ready to add to Google's revenue without having the user to wait for it to load."
2FA is just another password(albeit temporary). What you need is U2F
In 10 years of consulting, I've yet to see a client buy this line of thinking. Clients want an accurate forecast for cost and key assumptions being made to formulate that cost. At the end of the day, it's in their best interest to get a good price.

This doesn't mean you can't over-forecast the hours needed in a week to deliver x, it can be an iterative/incremental process. But don't think for a second a client won't want to see how you came up with your pricing model before signing an SOW.
I recently bought a Parmak electric fence charger (horses, pigs, etc.) and when it came down to it I used Parmak's own site. I knew that it would take 3-7 days to get it but I wanted to make sure it was actually from Parmak and not a knockoff. Lightning strikes and a 3 year warranty. This may not be typical but anecdotally our family is purchasing most things directly from the company or going to an authorized dealer. It's just not worth the long tail hassle dealing with Amazon any longer...for us.
Home Assistant can interface with many different services. I use it with Z-Wave and the (undocumented) cloud API for my A/C, as well as pulling some data from weather services etc.

There are a lot of different Z-Wave devices for controlling lights, motors, heat, as well as sensors for motion, smoke, luminosity etc. Zigbee is another standard which can also be used with Home Assistant, which is mostly for lighting AFAIK.

The way Home Assistant is written it's relatively easy to write a new service which exposes devices that can control or sense. Sensor readings and control is unified, so you can mix multiple platforms in your automation. You could have a Z-Wave motion sensor trigger a Philips Hue (Zigbee) light if the weather service (HTTP) tells you it's past sunset.

You can check out the supported components here: https://www.home-assistant.io/components/
He wanted to calculate and predict the movement of celestial bodies. The mathematical knowledge he had wasn't capable of expressioning the relations, but he saw patterns. Then he worked out the mathematical language to express these patterns.
> Amazon in China was actually beginning to do quite well in the last year when they found their niche in second tier cities.

Maybe they got caught up in the stupid VC mindset that unless you're the dominant player with exponential growth, you've failed.
If mobile app store revenues can be used as a metric for revenues on the web generally, iOS users are a valuable demographic to target, even if they are the minority. If your website doesn't work in Safari, you're going to lose revenue.

<portal> doesn't feel like something that will ever be supported in Safari.
Also the way that politics works, there tends to be self-selection by those of little integrity. Those who desire power are frequently those least suited to it. It is unlikely that those who demur with 'nolo episcopari' attain positions of importance in a representative democracy.
According to Wikipedia Cat5e became the common ethernet cable around 2001, it's still in common use and capable of carrying gigabit, or over short distances even 10Gbit ethernet. Today at least in my bubble I see Cat6 and Cat7 deployed instead for 10Gbit and beyond.

I think everyone is getting at least 20 years out of their Ethernet connections, likely more. That's not as durable as electical cables but good enough for most cases (plenty of things need updates after 20 years in a building).
Lighting hardwired to a stuck system and touching physical controllers (phone or otherwise) as you describe is one possible setup. On the contrary, I just have some table/floor lamps with smart outlets between their plugs and the outlets that can be quickly removed in case of failure, and touching my phone is only in case of voice (Google Home Mini) failure. Neither of which fail often, like much less than once a year. The convenience when half asleep is great.
Lead in particular is nasty and still in use for aviation fuel:

>the most commonly used grades of avgas still contain tetraethyllead (TEL), a toxic substance used to prevent engine knocking (detonation), with ongoing experiments aimed at eventually reducing or eliminating the use of TEL in aviation gasoline
No, tariffs are waived on packages <$800 so Chinese merchants can skate by while US importers are penalized.

Packages whose declared value is under $800... will generally be cleared without any additional paperwork prepared by CBP.

https://www.cbp.gov/trade/basic-import-export/internet-purch...
You might like AdaNet that doe’s architecture search in one TensorFlow session and seems efficient (at least my use of it).
It depends on if you like features and configuration options or not. If you don't like features and don't want to be able to set any configuration options, go for Gnome. Otherwise, KDE.
It's odd that no one looks at housing services as a huge export opportunity: https://slate.com/business/2013/05/exporting-housing-service..., which they are. We ought to build a lot more of this good.
If you want customization(do not like the default) is safer to use KDE, with Gnome you need extensions and if you check the Gnome reddits and forums you will notice that latest updates broke the popular extensions again.

Also for accessibility reasons, AFAIK Gnome does not show the font size in the default settings app, this is the first thing that i need when I want to install Linux, I put the LiveCD in and then go and enable the zoom and large fonts.
No Itch to Scratch
Something I've found frustrating as of late is when a merchant isn't transparent about as much.

Case in point, I ordered an urgently needed textbook off Amazon and was disappointed to learn that the package ended up delayed at customs for numerous weeks. I felt somewhat violated.
I had to double-check that it's not an article form 1999 or something, when everyone was building "portals", with a very similar premise of having everything in one place [1].

It took mere ~25 years in the industry to see things making rounds and old ideas coming back as new, unironically. X Terminal and "network computers" → browser, JVM → WASM, CGI → serverless, Modula/Oberon → Go; now <iframe> → <portal> and the whole idea around it.

[1]: https://en.wikipedia.org/wiki/Web_portal
Smart, and this should be the default.
sure, go ahead. The type information is there.
Landing cable in an area where the largest waves in the world are routinely seen is very 'challenging'.
Prices in central Madrid are vastly inflated because they are buying left and right, sometimes paying more than market price.

More likely, central Madrid enacts zoning policies that prevent supply from rising to meet demand, thus resulting in price increases: https://www.vox.com/policy-and-politics/2018/9/24/17896482/b...
It's not legal for landlords to enter rented homes as they please, even in America.
> Specifically, is there any good evidence to believe that convenience is making humanity weaker? [...] Do we even have a clear definition of "strong" or "weak"?

This, exactly. Unless we're talking about how much weight a person can lift, there's no objective definition of "strong" or "weak" person. "Strength" in this context isn't a property of a person at all, in my opinion, but of how other people perceive that person behavior - and that perception is so dependent on observers' life experiences, culture, religion, education and many other factors that it's practically meaningless. As such, the very notion of "strong person" is exploited in all kind of propaganda - with a concept this fuzzy it's easy to bend it to mean whatever you want it to mean.

"Convenience is making us weak" or "hardships make people strong" are examples of such propaganda in action. There's no meaning to them other than what the person talking wants them to mean (and, possibly, what the audience wants to hear). You could reformulate the statements to be easier to prove or falsify, but then the entirety of modern psychology and cognitive science would be against you, which is why nobody attempts to do this.

Well, that's how thought-terminating cliches generally are, so no surprise here. What's amazing to me, though, is that we're this deep into the thread and we still talk about them...
You think personal experience is self-parody?

I literally use autopilot features on a daily basis, so I know exactly how far along it is.

I've also seen how much it has evolved in the last 2-3 years.
Honestly when this happened my thought was Chelsea should just testify. I know it was stupid because it was all previous testimony and they didn't need it. But she's done and suffered enough, forget principals, give the vindictive bastards their testimony whenever they want it and try to enjoy your life in between.
Por que no los dos? Why not have perfectly functional on their own devices that can also be software addressed? Got that in my house and I'm a happy camper, when I have renters they don't even notice/have to use the smart features!
My girlfriend bought a dress off Amazon that was shipped direct from a Chinese vendor. It took a week to get there even though it was advertised as Prime. And she had to pay the $70.00 to ship it back when she returned it. And when it arrived at the address on the seller's pre-supplied shipping label, it then bounced and spent 2 months slowly making its way back to her because the seller was no longer at that location.
How is this different than cheap, low quality material already sold at Walmart and similar establishments (or even Amazon marketplace) at a first world markup?

You can have a lot of garbage come from Aliexpress and still come out ahead.
When Lyft was doing their road show there were a few analysts who had price targets of $45 as Lyfts fair value at IPO with an acknowledgement that the amount of shares available would double, and possibly triple when all shares were off restriction, meaning that the $45 price target was a best case and we would probably see far lower once people can sell.

This is a company that has maybe 33 million shares outstanding now with about 27 million of them being sold short. So they have an enormous short bet against them. We see borrow rates as high as 30% for borrowing shares to short with no real stable borrow available.

However, due to the enormous amount of those short shares being rehypothicated(relent), Lyft is vulnerable to a quick upwards price run if those long sellers ask for their shares back. That would cause a run on those shares as they may be lent out multiple times by the same bank.

So whenever someone ask why you don't short an individual stock its always valid to answer that you believe you are right in the long term but the short term could wipe you out if you shorted.

As a quick edit, uber is now indicating its opening at a range of 45.50-46.50, given that the IPO price was $45, it looks like the underwriters will have some work to do and will almost certainly exercise their green shoe option.

So maybe wallstreet is wising up to money losing companies or Uber learned from Lyft that a slow and steady approach to their share price would be better long term for them?
Yes, I find HA a bit clunky to use as well. Mostly because the scripting is quite tedious and relies on templating yaml files.

I'll have to give Node-RED a go once I find some spare time to tinker.
Writing your web services in C sounds like a great idea.
> It's just not a problem which I think people have, but somehow the consumer industry has convinced so many fools to buy cheaply fabricated, badly secured, even worse programmed and often not long supported smart home devices which add absolutely no benefit to anyone's everyday life and cause lots of problems.

This. Every time I hear a friend or someone on a podcast talking about their smart home they talk about how now they just need to find a new smart hub/lightswitch/integration service and everything will come together and nirvana will be achieved. Life's too short to spend that kind of time and energy on turning lights on and off.
Smart homes are indeed mostly build out of supporting laziness, but there are ways to avoid some of these problems.

If you've already sold your soul and have a home device with speech control, it's actually pretty easy to go and get a smart outlet device to control some lights. A single phrase without any screen or authentication and you're controlling your lights. If it breaks or gets outdated, you can always take it out in 10 seconds. Basically, if you do go for a smart home, keep it dumb and overridable.
Could be nice to add a message on desktop saying the site only works on mobile! I was confused at first asking for feedback when there was nothing to click on the desktop site.
The Challenge of Building a Self-Driving Car
I love this approach. Well done. And patio11 wrote a ton of stuff on the subject, e.g. [0].

[0]: https://training.kalzumeus.com/newsletters/archive/consultin...
It's also not legal for landlords to enter other people's homes at will simply because they own it.
Thanks a lot for sharing this. Just this month I'm hitting one year anniversary of my consulting and your advice hit really close to home. Thank you!
There's home assistant: https://www.home-assistant.io/

And mozilla web things: https://iot.mozilla.org/

Plenty of options these days. I have high hopes for web things to become the "app store" that you mention.
That's a strange argument to make. These money-laundering fueled asset bubbles are caused because money-laundering is illegal? So if we make money laundering legal, then the dirty money will be spread out across all economies rather than concentrated where oversight is weakest?

The whole point of money laundering laws is that you make it difficult for criminals to use the profits from crime. If you remove that barrier, you've instantly made it far more lucrative to commit the underlying crimes. Secondly, tracking the money is how a lot of organized crime is uncovered in the first place. Removing financial controls would make it far more difficult to catch corruption, fraud, terrorism, human-trafficking, etc. committed by international criminal organizations.

It may be a game of whack-a-mole trying to prevent loopholes where criminals can launder their ill-gotten gains. But to do nothing would be far worse.
> if you decide to use slugs for URLs

I agree that using slugs alone is probably not a good idea (simply because they are not stable). They are there to make the URLs friendlier to search engines, but are strictly redundant (and therefore safe to ignore during URL request routing).

> any identifier other than the Primary Key

Well, an index can be covering, for the price of more storage and more expensive index maintenance.

But even if the index is not covering, the additional ROWID lookup (or clustered index seek) is likely to be so fast as to be drowned-out by other factors.

> OTOH, storage for binary UUID representation is just 16 bytes.

Times number of rows in that table and every other table that references it, which may or may not be significant.
This is a fantastic idea for so many reasons. Selling a recycled phone is great for the planet. And installing a non-Google OS is a huge help to people who don't want to fiddle with all that.

Kudos to you!
Unit testing makes sense when there are some units for which you can define correct behavior. E.g. you may not know all the requirements yet but if you can isolate some components that you're going to definitely need, then you can write unit tests for them. While you're still iterating about what that unit is going to do (and whether you'll have that unit at all) unit tests make little sense.

However, in quite a lot of common scenarios, e.g. a simple user-facing CRUD webapp, none of the custom content functionality is expected to be stable enough, it's all still in flux (and thus any unit tests would have to change at every iteration); and all the components where from the beginning it's clear how they should work (e.g. user authentication, sending of email notifications, etc) aren't really custom, so they're already written and tested, you're going to simply use them from your framework or standard libraries.
Reimplemented generics are all over any C codebase you might lion at.. I mean just look at the Linux kernel
This article reinforces my suspicion that the British, even the ones who
supported the Remain vote in the referendum, simply have no idea what the EU
is about. For the author, for example, it is a matter of "identity". For the
Remain campaign, the argument was that Brexit would be bad for business and
industry.

The British can just not comprehend the need for a united Europe in the modern
world, where European countries are beset on all sides by many times more
powerful rivals (Russia, China and now even the US is turning against us). To
think that the little nation-states of Europe can survive and prosper on their
own like they did back in the days of Napoleon and Queen Victoria ignores
reality for the warm fuzzy feeling of epic fantasy.

The EU's goal is to promote peace an the well-being of its people (Treaty of
the European Union, article 3, par. 1). The British either ignore this, or, if
they know it, they don't believe it. Therefore, the public conversation about
the EU revolves either around irrelevancies, like bendy bananas and fast-track
airport lanes, or around issues that most people cannot really connnect with,
like the benefits to industry (as if there is anyone left in the UK who
believes that what is good for industry is good for everyone).

No wonder the Leave side carried the referendum vote. Their message was simple
and to the point: "us versus them" (all of them - the EU, those krauts and
frogs and those PIGS countires, Poles, Romanians... everyone). You cannot
argue against nationalistic slogans and battle buses with "Brexit is bad for
business". Nor with "I want my kids to be able to travel to the EU cheaply and
without a visa". A powerful message is needed and it needs to make it clear to
everyone what awaits us if we divide up and withdraw each in our little
borders.

But, nobody has done that for the British- so, it's all identity, bendy
bananas and travel privileges.
I mostly agree. Why do I need WIFI on my lights, coffee maker, or dishwasher?

A thermostat is my personal exception though. Being able to program it on my phone is a huge UI improvement over prior thermostats. Also, being able to change it without getting out of bed in the middle of the night is a bonus.
Will Virtual Reality Classes Be Available in Schools This Year?
Yeah, it's a survey to gauge demand. And props to them for doing this.
Everything is fine if you expect garbage. If you don’t expect garbage, you will be disappointed.
"Smart people don't buy home devices"

Yikes. I mean sure, your points on why you don't see their value are valid. But calling people not smart because they enjoy being able to automate their homes is a leap and a half.
Depending on your definition of freedom.

Regarding the case of home schooling, the German position is that the state is required legally to ensure equal opportunity education for everyone. Parents therefore are legally required to send their kids to (public/approved/registered) schools.

While debatable, I‘d vote that‘s a good thing, as it ensures a minimum level of education for every kids.
What's an online store that doesn't allow chinese knock off today? Amazon used to be good, a stamp of "This is quality" but now it's a numbers game and the quality is a dice roll.