skysight-inc/HackerNews huggingface dataset:
>Doesn't it, though?

Theoretically, maybe. In practice, I don't think so. Mostly because code is much less prone to change than configs are. Like if you have some encapsulated set of behavior in code, it's often easy (and not particularly painful) to do something like

self.thing = x if self.other else default

This is (normally) fine. Sometimes this will expand to be 2-3 different things. So you might get

if self.other:
self.val = ...
elif self.different_situation:
self.val = ...
else:
self.val = default

And this avoids setting self.val in all of the child classes, it's "nice and DRY".

Because code-code doesn't change that much, this kind of weird gross encapsulated behavior is (usually) ok. It's still a code-smell, but you don't get burned by it. But when you are dealing with configs, they do change, and you want to be extra explicit, because (as you probably know), the number of exceptions and special cases will inevitably grow, and you'll end up with implicit leaf-level configuration hidden away in your so-called encapsulated stuff, but without end-user visibility into what is actually happening.

One solution to this is to completely ignore DRY and ensure consistency via unit tests or static analyzers or something, but that also sucks (possibly more) than doing some denormalization within your config-language itself.

My experience says the right way to do this is to restrict yourself to not using any conditionals other than perhaps get-with-default, and doing everything that would be done conditionally via inheritance or composition. Remains to be seen if I think I made the right decision 5 years from now.
You can't block YouTube ads by blocking DNS queries, since they are served from the YouTube domain itself. Basically, you can't block them without blocking the entire site.
The actual receipt usually has a timestamp, but IIRC credit card statements just list the date (not time).
It's not "they" or "the rich" that are doing this. It's your fellow man that you probably vote along side.

Support for the AMA, support for the insurance corporations, local regressive housing policies. This didn't come from some evil lizard overlord.

It came from your friends and neighbours who have arrayed themselves against you. If you don't want to draw battle lines with them, fine, but right now you're fighting shadows.
I moved to SF from Chicago and agree that the value for money is nuts there (I loved Chicago), but the extended winter, isolated nature, and the fact that it isn't really destination city for any industry puts pretty hard limits on how much people will pay.
Interesting read. I’ve never heard of Jumia before today. The wiki page says their headquarters is in Lagos, but I didn’t see that mentioned here. Does all that mean they have an office/headquarters in Lagos but everything else is outside of Africa?
"our colonized minds think foreign brands are better." The language of the modern left allows for such forceful and vague assertions. What a simultaneously vacuous and damaging sentence that is.

I take it antirez colonized us Americans into using Redis, right? Toyota has colonized our minds into buying their vehicles. No objectivity involved at all, just nationalistic power plays.

Think of the removal of agency being afforded to Africans by the author. Surely it's not possible that Africans are simply using products that best suit their needs, but instead must be parasitized, and are being subjected against their best interests to a malicious western ideology.
This is a biased article.

I do like that the article does some analysis to deduce that the NHTSA-FARS data is incorrect for Tesla and they make several well reasoned arguments why. Then using other data sources, they try to extrapolate what the correct data might be.

The problem is that the Tesla data in the NHTSA-FARS database is lower than expected. Yet they are comparing the "fixed" Tesla data with the rest of the data in the database that they take at face value.

It goes to reason if the NHTSA-FARS data for Tesla is easily proven to be underestimated (i.e. there are actually more fatal accidents than shown) that the data for other car manufacturers and models are also underestimated.
Automation and Restrictions: How do I manage work / university and side projects
Agreed. I don't think trains are really good at speed yet relative to costs. They are however good at comfort if given the chance. There is less of a space and weight premium. Noise and vibration can be much lower. And a medium speed train they can still go twice as fast as car.

I wish someone would take the idea of a business or first class flight, without the luxuries and inflated cost, and put that on a modern medium speed train. Something similar to this seat layout: https://liveandletsfly.boardingarea.com/2018/02/08/swiss-777...
Biggest file is password protected, rumored to contain actual programs
Gwynne Shotwell is pretty amazing. But don't forget that Musk was smart enough to hire her, and she had enough confidence in him to take the job. A very large part of being a successful tech revolutionary is hiring the right people to work for you.
Here's a very real issue we had at work. I wrote a program (and it's configuration file) to process SIP messages. We installed it with using the default port of 5060. It kept failing. After much investigation, it was revealed that some piece of router gear was "helpfully" processing any SIP message it saw on port 5060 (and it couldn't be turned off because of a bug in the router).

The fix was easy enough---change to a nonstandard port. But sans comment, there's no indication why we were using a nonstandard port. With a comment, the ops guys know why we're using a nonstandard port, and even ask "is that still an issue?"

Edit: clarify why we did the workaround we did.
It seems "Africa’s largest e-commerce company" is not African at all. It always pains me to see this when I visit small countries. Jobs are one thing, but if small countries find that massive resources are leaving the country in the name of those jobs then what's the point - it can be considered some form of trade at best and in the worst case colonization.
So we need to remove likes from Facebook? It definitely was a different place prior to the feature.
I'm glad that you asked :)

I think that yes, a lack of economic growth (in some cases) and an increasing disparity in wealth (in others) makes people angry, and distrustful, on the long term. I also think that "oligarchies stole the money" is an incredibly simplistic explanation for the lack of growth- there are at least two factors, the competition from emerging countries and software, that have removed low skilled and low added value jobs from the West. But still the countries who kept up with their industry and education managed to thrive.

On the other hand, the people's anger doesn't come with an understanding of the issues and their causes; it's more of a general bad mood that disrupts everything, what is wrong and what is right in the same way. So that people fight against the problems and the solutions alike.

And yes, I think social media act as a multiplier of this unproductive anger, because they give a voice and an audience to those who lack the minimal educational standards that have been traditionally required to those who wrote for the public. It's classist? Fair. But it's true.

Information used to flow from an educated elite (think of the incredibly ponderous and boring articles of Marxist newspapers, if you want) to the masses, who tried to absorb and follow (with all the risks that this entailed, as well). In Italy the single voice of the communist party, through its press, could reach every peasant and set the line. While now the communication is horizontal and universal, and angry, uninformed opinions spread and reinforce each other. It's clear since a long time (think of tabloid covers) that indignation, outrage, scandal are extremely successful memes. They survive and spread replacing everything else. We need to learn how to deal with this, not with censorship, but culturally.
I was declared deceased three times and it destroyed my credit
They can make a lot of
Kimchi with all that fermentation.
Objective-C is also the Stackoverflow 2019 Developer Survey's most dreaded language.
If you need a library to do this, check out GeographicLib. It's written by C. F. F. Karney the same guy who developed an algorithm and wrote a scientific paper about improving Vincenty's formulae for performance and fixing issues at nearly antipodal points.

It has good implementations in C++, C# and Javascript.

https://geographiclib.sourceforge.io/html/
>It’s not clear to me what problem you’re trying to solve.

The original post lays out the problem and also the question for the solution I want.
- Scalability since you're a small shop, it doesn't seem a huge deal to have to setup networking and other scaffolding manually. But as your company grows and more teams join, will you provision these things for every team by hand? What if they want to experiment with different networking configurations?

- Disaster Recovery: Imagine for whatever reason your VPC is completely destroyed, all your VM's are gone. You still have data backed up (you do backups don't you? :)). Your company has to inevitably be down for some time, but how long would it take to restore everything? Terraform can reduce this from days/weeks to minutes; all configuration is there in code, is reproducible. Even if you don't/can't use terraform itself, you still have captured all your infra config information in code and not just in a Google Doc/Evernote/Post it notes.

- Audit Trail: You want to empower developers to make changes to infrastructure without opening a ticket and asking you to do it. But if they don't open a ticket, it might make your compliance story much harder. If they do open a ticket, you now have a huge ticket backlog so you hire more engineers .... kinda relates to the point about scalability. Using Terraform, and enforcing infra changes through terraform, you have a super simple audit story, and will know exactly who made the changes, when they were made, for what reason etc.

- Infra Convergence: Its a fact of life that you need to make temporary infra changes for fixing fires, hotfixes, super important custom customer request etc. If you allow your infrastructure to be cluttered with these one off changes, it will be messy, developers won't give a shit when making new changes, and often everyone will have permissions over everything. Using terraform, every time you make changes to infra, you discover these manual changes and either revert them (if they're one offs) or commit them to code (if they're meant to be permanant)

I'm a new user to terraform, and it certainly has its problems (its still 0.* for chrissake). But... it has been a very useful tool when used correctly and with discipline.
> Most of the popular vacation places in the world are historic/old sites.

No, they're the remains of historic/old sites that were left after people of yore tore down everything else to build anew.

You don't have to preserve 100% of the "old city" to get a glimpse into an era, just like you don't have to preserve 100% of the city wall just to show that once upon a time, city walls were a thing.

> If we tear down everything old to put up cheaper, more efficient buildings are we necessarily better off?

You don't have to tear down everything in San Francisco, but most of it has little to no "historic value".
Jumia was set up by Rocket Internet.

https://www.reuters.com/article/us-rocket-internet-jumia-ipo...

https://en.wikipedia.org/wiki/Rocket_Internet
Once something is designated as historic, it's exactly as easy or hard to undo as the future generations want it - you're not binding their hands; you're binding hands of this generation so that the next ones can make the choice whether to continue preserving that particular thing or not.

Once something is destroyed, though, that is impossible to undo, no matter what the future generations would want.
So now they have recovered the fairings? SpaceX just keeps getting farther and farther ahead of everyone else.
Ask HN: How much delta-v is saved with Stratolaunch?
Wouldn't you still have to wake up the radio to perform the (pi-holed) DNS lookup, though? Just curious because I would love to use a similar kind of system, but I am concerned about battery life.
If you are a chinese in China, you mostly aren’t consuming overseas media. Whatever “our media” is reporting is irrelevant.

The Chinese government likes to make examples of overseas companies on privacy issues, sometimes they’ll even make an example of a domestic company, if they are feeling particularly daring they’ll single out a corrupt official in some obscure local government, but that is the extent of it.
The answer is obvious: deregulate. Indian surgeons already perform more heart bypasses more often for a tenth the cost with better outcomes.

Down with the AMA. Probably the organization with the most blood on its hands in peacetime America.
End-to-end encrypted chat on JavaScript via kbpgp.js by Keybase
dig is not a resolv.conf diagnostic tool, it's a DNS lookup utility. I don't think it even parses the full syntax of resolv.conf. Heck, it doesn't even consider multiple nameserver statements.
The title says 'a digital colonization thread' - so foreign ownership or control of companies is colonization? Does that apply to, for example, US-owned companies in Europe? Or Chinese-owned companies in the US?
> he absolutely has the right to pursue it for remedy if he chooses.

How do these cases usually work out? If he was held on a reasonable suspicion, is there any possibility of legal remedy?
Why are they over-withholding?
Not exactly. For example, if you have a picker machine harvesting 80% of crop, and manual work ain't cheap (it's Norway), you'd probably throw 20%. But you can't "ungrow" it in any meaningful sense. Agriculture is complex.
When there is live traffic or data in the infrastructure you’re modifying, the procedure matter a great deal.

Just as in databases, you end up playing lots of “read the query plan, restate the query to try and get a better one” games.
https://arxiv.org/pdf/1611.04135v2.pdf
Appreciating in the sense that they become more valuable, in utility, with time. Appreciating like software, not like a stock.
It's hard to believe json standardized without comment section and everything json5 fixes.

TOML is fine.
You do have socialised healthcare - it is called Medicare, Medicaid and VA. You are of course 100% correct that the problem is the cost of USA healthcare, followed closely by its complexity.
This is a very interesting exploration. If more folks explored dialogue in this type of setting, new forms of communication could possibly emerge.

Also might be relevant here https://hoursofidleconversation.wordpress.com/essays/interru...
The easiest way to achieve this is just don't watch live.

I honestly don't remember the last time I watched actual live TV. I just recorded it and watch it later, then fast forward through all the ads.

Even if I'm watching it the same night, I'll just sit down to watch it slightly late, so I've got enough of a buffer to skip the ads, and catch back up to live by the end of the show.
>"just fathom the authoritarian mindset that would lead a citizen -- and especially a "journalist" -- to react with anger that these things have been revealed; to insist that these facts should have been kept concealed and it'd be better if we didn't know"

You mean, like, releasing some leaks, but not releasing other leaks? Yeah, that would really suck.
About that luminance-correct grayscale: https://entropymine.com/imageworsener/grayscale/
> What if you have an issue in prod and need to fix something quick?

Just fix it quick somewhere that’s not prod. Snowflaking has not been a good practice for a long time now, so arguing that a certain tool makes it easier is a bit of a moot point.
If you’re looking exclusively at happiness, ignorance truly is bliss. The less you know the better.
Anyone who's done anything sufficiently advanced with computer vision, AI, and cars knows that Musk is full of shit. The things he is promising are at least a decade away. Not 1 year. To put it another way, we're in "staging." We haven't hit production yet. If there's ever enough Tesla's on the road, you're going to start seeing a lot of problems with Tesla's "autopilot." Honestly the cars are fantastic enough without people overstating what autopilot can do.

Furthermore he's been funny with his companies' finances. Between Tesla, Solar City (remember when Tesla bought Solar City, because I do), and the fact that SpaceX needed NASA to bail them out with the falcon heavy should tell you all you need to know about how solid his companies' finances are. Tesla as a company, the forefront of Musk's empire (arguably), is showing signs of business turbulence. Layoffs, benefit slashing, etc.

Now, I don't think he's really tried to scam to anyone, sincerely. He's a businessman who's bit off a bit more than he can chew in the science department in my opinion.
Build your own router with an appliance you can find on eBay. Lots sold on their for you to load your own pfsense install on.

The parent company (Netgate) has price their hardware higher than I believe the market supports.
I'd accept the claim that autopilot is dangerous if it had brought a car into a state that an alert/situational-aware and normally skilled driver could not recover from. That's not what happened. These people have died because they thought they had got better things to do than monitoring the traffic.
And the conclusion was, at least for me, is that this doesn't require Pi Hole if your router software supports ad-blocking (OpenWRT, pfSense do), and that DNS-level blocking cannot replace wide-spectrum content type blocking such as in browser addons like uMatrix.
> 78% of American workers live pay cheque to pay cheque

This is not true. 78% of _American_ workers live paycheck to paycheck.
"Apple is following the laws of a country they do business in. Full stop. They are not censoring anything. The Chinese government is censoring."

This is not a reasonable argument when the basis of the issue is the nature of the governments filtering.

What's 'naive and childish' is making morally relative arguments as though US and China regulations are merely different on a few things and that's that.
I once tried to use YAML as my format of choice. Then I read the spec. YAML: Not even once.
> When I see a stone church that has stood for 200 years in a city, I think it's priceless.

Meh. When I see it, I see a monumental squandering of human labor.
There are other ways of blocking YouTube ads that works great but needs an install on each device.
Sorting trash maybe useful but sorting Legos is where it’s at!

https://jacquesmattheij.com/sorting-two-metric-tons-of-lego/
I’ll add a link to a few blocklists when I get to my laptop. My understanding (I’m sure someone here knows more) is that the ads are served from dynamically generated urls so you can add them to url block lists based on url structure for some platforms.
How does uBlock do it then? I always assumed it did blocking based on domain.
How do you tell if a file is json or json5? Feels better to forget about json for config and go with the obvious TOML that has single file extension with single standard.
We don’t see university students as full adults. So when a student is harmed we see the university as having partial fault and a role in resolving the situation.
Didn't D. Lenat's 'Automated Mathematician' ('AM') software (from the 'Eurisko' line) perform similarly (let's say 'learning new heuristics by discovery, through training') when it won at a championship built upon a game named 'Classic Traveller', in 1981 and 1982?

I can't find any occurrence of the words 'eurisko' nor 'lenat' in the openai.com website.

It OpenAI's software ran autonomously, starting with a completely generic version (not taylored for games, especially for Dota) then interacting with humans exclusively through the Dota game (no source code nor parameters modification) it may be a breakthrough.

https://aliciapatterson.org/stories/eurisko-computer-mind-it...

http://users.cs.northwestern.edu/~mek802/papers/not-mine/Len...

https://www.lesswrong.com/posts/Myr7PLikhzYgPFhuy/replicatin...
That's the "hasty counterexample" fallacy.
Elon should be executed before he kills more people with his stupidity. This would also set a good example for the other morons with the audacity to think they can force the rest of us to share the road with dysfunctional inhuman drivers that don’t fear death. If I ever see a Tesla on autopilot, I will not hesitate to run it off the road on principle.
The Chinese government does not give companies a list of things to censor, they rely on “censor the right things or else” so that companies involved actually have to be proactive about what might offend the government.

It gets worse because the censorship law is incredibly vague and China practices rule by law rather than rule of law.

I do agree that Apple isn’t necessarily the party to go after here, but their predicament isn’t a simple matter of following the law.
While I think you're right in principle (it makes more sense conceptually to deduct fed tax from the state tax) I think the practice is that most of the high state tax states pay in far more to the government than they receive and the other ones are usually moochers.
No standard = deal breaker.

Comments might work for a parser but not on another. What's the point when you can do better with TOML?
The co-pay was $10 for me in 1989. I had outpatient arthroscopic knee surgery in 1993 and it cost me nothing including X-Rays/MRI/CAT scan (the ortho was having trouble diagnosing it). All the pricing stories I hear today scare the heck out of me.
This is such a contrived example, they take html and show the equivalent conversion in json with the same schema. The point is in a configuration file you can remove nearly all the cruft of xml, instead of having <input “key”=key “value”=value> you don’t need any brackets or extra info. You just type { key:value } and you’re done. As many times as you want. I’ve had to hand edit complex msbuild configurations (xml based) in past projects and I can tell you lists and maps are hell. We’ve since converted them to yaml (another discussion), but the point is xml is terrible for human editing.
Can ‘slow journalism’ work? Delayed Gratification is finding out (2016)
I have been able to correlate cross platform and even cross usernames:

https://twitter.com/austingwalters/status/104189476543920128...

I don’t make that available and personally think that’s a bit too intrusive
> Anyone who's done anything sufficiently advanced with computer vision, AI, and cars knows that Musk is full of shit. The things he is promising are at least a decade away.

Citation needed.
Why not just grant financial instruments that incentivize everyone to increase its value (Stock or RSU's) and make compensation data public, revealing who gets paid what?

Maybe I'm being an idealistic hippie or whatever. I kinda feel that opaqueness around compensation is meant to keep employees under-compensated for as long as a company can afford to do so. Solution: compensate everyone well, and if you can't afford it, don't be in that business anymore.
> - iMessage, one of the only end-to-end encrypted messaging systems widely available in China.

And those encryption keys are stored in China because the Chinese government demanded it be so [1].

I believe it's also more subtle than that too. For example, if you (a non-Chinese iMessage user) send a message to a Chinese iMessage user the key to that exchange is now stored in China.

[1] https://www.reuters.com/article/us-china-apple-icloud-insigh...
The days on market is a public number and would deter such behavior.