skysight-inc/HackerNews huggingface dataset:
Like that shiny new battery factory Tesla is building in Shanghai that will produce the number one US market advantage in EV cars?
What the best way to do bidirectional sync using rclone?
Unison has support for that on some platforms. On Linux, the option "-repeat watch" uses inotify to watch for changes and rerun unison each time there's a change. You can combine that with -auto and some of the options specifying policies for resolving conflicts (e.g. -prefer newer) to get a setup that works without user interaction.
Few random observations from my experience:

- The docs and the code should live at different abstraction levels. Docs add most value when they explain things which are not readily expressible in code.

- Docs are often written first, as a mental tool to fully understand the problem. In this context, if the docs and code differ, the bug is usually in the code.

- In rare, but highly valuable cases, docs can be non-textual. Database models (ER diagrams) are a prime example.

- With right tooling, docs become part of IDE experience. A popup shows not just the signature of the method under the cursor, but its doc comments as well. This means less jumping around and better "flow" when trying to comprehend somebody else's (or your own!) code.
That was sloppy, sorry. I should have added "perceived" as there, or scare quotes on 'better'; I meant it in the sense that this was the path that was collectively chosen, i.e. the one that "won".
??? What does that have anything to do with the comment you replied to?

> The reality is that there are plenty of people from all races that have made it to the top of society.

And yet the people at the "top of society" disproportionately come from a just a few of those groups. :thinking-emoji:

> ... what is currently happening in Qatar ...

Classic whataboutism. We can care about multiple things at the same time.

> while being broadcast on the very media they claim to have no representation in.

Minorities have much better access and representation in media today than they did in the past but it's still far from equal, particularly on the business side which has major influence over our media because that's where decisions are made about which projects get funded and which don't.
Being able to come up with a dollar a day isn't the same as being able to come up with a year's worth of lump sum at once.

Being poor changes how you think about money. Every time you save a few dollars, something happens - an unexpectedly high electricity bill, an unexpected doctor visit, losing your phone - and that minute bit of savings goes out the door. It's easy to get into the thought pattern that you might as well spend on something fun while you've got it.

As for cigarettes, being as addictive than heroin will do that to ya.
malware is defined as software that will cause damage. This doesn't appear to have caused any damage to the owner's phone.
whoa! amazing. out of box thinking
This x1000. You've basically described my dream lifestyle. It does seem indeed very hard to achieve without being retired, but I feel like for those making good money in tech it should be at least partially achievable, through a combination of proper money management, relocation to low cost of living area, and transitioning to freelance/consulting. Easier said than done but certainly not impossible .
Bored?

I don't think they only wanted to reinvent the wheel and I don't think trustability was one of the motivations of their design!
Absolutely. If nothing else, it helps the author realize what he doesn't know. I know of no better way to understand how well I understand something, than to try to document it.
The worst existential accusation that anyone could levy against the intellectual elite would be that they're engaging in the conspicuous consumption of brain time, especially so given all the fun that's made of "McMansions" and other forms of conspicuous consumption. It's probably not true of everybody, but I wonder how many people would care about whether or not they were philistines if you took away any chance of getting recognized for having good culture.
You are completely wrong. The brain doesn't hold any kind of address table to "lookup" neurons. The brain is a self organizing system.
I think it's very important to note the long-term crappy treatment of AT&T employees by management - most recently illustrated by the wholesale transfer of thousands of senior IT people to IBM (an even worse employer, doubtlessly for off-the-AT&T books elimination).

A good employer, and most are better than AT&T, has a certain level of loyalty as a defense. This bribe thing doesn't surprise me one tiny bit.
That’s because when technical debt kills a company, they attribute it to something irrelevant. Imagine Wikipedia, for example, and the great “Wikipedia has Cancer” post[1]. You might conclude, if Wikipedia fails, that it couldn’t secure enough funding, even if a significant amount of time and money was spent on dealing with operational issues that shouldn’t exist. In my experience with Mediawiki and scaling up a wiki, I feel that it suffers intolerably from technical debt, even being state of the art as far as wikis go.

Here’s a good example. Many modern websites have task queues to perform background tasks. So, too, does Mediawiki. You may assume it uses RabbitMQ or another queueing software, but nope, it stores the queue in MySQL (acceptable) and by default it runs cronjobs at the end of requests (less acceptable.) As your wiki grows, these jobs take longer and longer and happen more and more. Suddenly you are wondering why pages hang and you always run out of PHP FPM workers.

Then you look at the stack traces and it makes more sense... so you go to configure cronjobs. Except, there’s not really a great fix. You can tune the parameters so that the queue effectively never progresses, but then you have to run the jobs manually - which is fine, but there’s no task running daemon or anything. Actual cronjobs work but are catastrophic for responsiveness. So... one of the recommended solutions is a shell script that loops and runs the runJobs.php file repeatedly. This solution works, but from an operations standpoint it’s not a wonderful solution. You probably want at least some visibility into what’s going on, and bash scripting is hardly the best platform for that kind of thing.

Of course, this is just one microcosm of Mediawiki, you can run into one technical debt related issue per day and you’d not run out for years.

[1]: https://en.m.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost...
There is still no link between video games and violence
>Adding the dot to the end of the domain name makes it an absolute fully-qualified domain name instead of just a regular fully-qualified domain name, and most browsers treat absolute domain names as being a different domain from the equivalent regular domain name (I'm not sure why they do this though).

This is because it technically could be a different site. The computer's local domain is used first.

Pretend you have a company intranet, with the TLD of "company.". You can access http://intranet.payroll.company. Because your computer is set up with "domain: company", you can just put "http://intranet.payroll" into your web browser and it'll navigate to "http://intranet.payroll.company" just fine.

Now some new fancy TLDs come out, and someone registers ".payroll". You type "http://intranet.payroll" into your browser -- did you mean "intranet.payroll." or "intranet.payroll.company."? That's a subjective decision made by your web browser... but if you include the latter "." at the end of the domain, you're telling the browser "this is an absolute domain, do not auto-append my local domain or search domain or anything else".
The trick I've found with Comcast is to go to their offices. The in-person support people have always been able to deal with whatever I was there for quickly and satisfactorily.
I think it's meaningful to draw another line between the kind of casual value enforcement you see in day to day life (which, in my experience, is generally reasonable and mild) and the enforcement you see by zealot communities online (which is then amplified by 24/7 digital publishers and social media aggregators responding to evident market demand for divisive content). This model certainly applies to the left, but there are pretty obvious parallels on the right as well.

Anyway, the "policing to madness" phenomenon can be more clearly understood as highly reactive online behavior by true believers who tie their entire identity to promoting their belief system. For the most part, I haven't seen this kind of behavior permeate daily life. The exceptions to that rule are generally violent and depressing, but they aren't the norm.

Which is to say, I live right in the center of lefty-values America and see behavior every day that would get people cancelled on Twitter. But in the real world people have their feelings, talk it out, and try to move on. People get to screw up, get to be hurt, get to have really different opinions about heavy topics, and get to work through it together. And it more or less just works. Most people don't want to fight with the people around them so they figure out how to get along.

Like everyone else, I'm worried about the jungle rules of online engagement becoming part of meatspace culture, but I don't believe we're going that direction. And while I have serious problems with the "public sacrifice" model of social good the digital jungle has embraced, I don't believe that's Coming To An HR Department Near You™️ either.
It doesn't apply if you're only occasionally processing personal data or not doing so on a large scale.

If you're regularly processing personal data of EU citizens on a large scale then you damn better be doing so securely and in compliance with EU law.
Firefox hides the http:// scheme in the address bar, but will include it if you copy the URL. You can test with http://example.com/ and https://example.com/.
For what it’s worth, there is plenty “to do” in those places too. I’m not sure what you mean by “stuck” — maybe your interests are different, but for those who like fishing after work, hiking a remote mountain, playing fetch with the dogs in a big field, or swimming in uncrowded streams — it’s a pretty awesome life. Sure it requires a car. At least to me it’s totally worth it.
Florida boy calls 911 to order pizza, gets lesson and a pie
Yes, it’s hard; it will probably require greater mobilization than WWII and the Apollo program combined, but the longer the world waits, the harder it’s going to be and the faster that mobilization will need to occur.

http://folk.uio.no/roberan/t/global_mitigation_curves.shtml
(BTW those scenarios are now extremely optimistic based on leaked drafts of the upcoming IPCC report)

But people should understand that this degree of mobilization is mostly necessary because we insist on subjecting ourselves to a capitalist mode of production based on endless growth.
A much easier alternative is simply to shutdown large parts of the economy and transition the lost jobs into land conservation/stewardship and geoengineering, while providing a basic income for everyone else working only a couple of days per week. (See Degrowth.) No, this will not create “profit”. Yes, this will require a mass redistribution of wealth. The sooner people acknowledge that The Party is Over, the sooner they can move on to real solutions.
> Is there a way to make my arrangement more robust so that I can sync files through and USB drive, without needing to use the same numeric user id in all my computers?

$ chown -Rf ufo.users /media/usbdrive && unison
https://outline.com/ExnMdm
> A contract was violated when these phones were unlocked.

That doesn't make it wrong. Fun fact, contracts are violated all the time, and not just between individuals and huge telecom companies, but also between large companies. If you have an issue with it you sue for breach of contract.

Violating a contract isn't a crime for a reason.
I think the issue the upper poster is referring to are things like when chrome deprecated ancient certificate features, which enterprise-solutions still happen to use by default 15 years after they were deprecated.

(One such issue were certificates with a common name and no subject alt name.)
Greenland's Disappearing Ice Sheet
If you set finder to always show extensions, it will always show them in the save box too.
I like the approach Seth Godin talks about in his book This is Marketing. He uses a 4 quadrant chart to plot two qualities of a product. Then plots where competitors fall on those two qualities. For instance cost and durability. Some competitors could be positioned differently say expensive and durable and perhaps there is no competitor that fills the cheap part of the graph. Its a nice way to visualize potential opportunities
You'll see a similar thing in branding and advertising. For all the new yorkers on here, have you all seen the consumer brand ads on the subway? Almost every brand looks the same.

I'm imagining it has to do with the way designers work. They generally have stakeholders moodboard (basically creating a pinterest board with inspiration from different brands), and then they create a similar "feeling".

As humans, we're kind of evolved to recognize patterns, so when we start seeing the same branding art direction it stands out to us and we may try to conflate some deeper meaning to it. But in reality, it's just a few brands that share the same branding art direction probably because some execs liked the way it looked and felt and asked their designers to do something similar.
So basically, the big companies own the government in their county.
Really? What retaliatory action did the US take on behalf of its tech companies following their blocking in China?
Ummm...

She was great at what she did, and in all certainty, a literary giant. But "one of the most revered writers in human history" ?

Nope.
Then China will steal their IP from the factory in China and kick Tesla out of China so China's own EV Battery facilities can reap what Tesla sowed.
Would the factory be in Shanghai if it wasn't for Chinese protectionism? Or is that why they built it there?
When followed correctly it is my believe that checklists can raise the floor of the worst case outcomes. Said another way, actually following the checklist eliminates the low-hanging fruit of preventable mistakes.
Why are so many of the links self-links?
This style of web design is super in at the moment. Not sure it has a specific name, but I believe the previous Intercom site started it. Possibly Wealthfront as well. A lot of companies seem to be using it to take more risks with their aesthetic, particularly Dropbox and Mailchimp.
It looks like there have been 113 individuals that have won a Nobel Prize in Literature. While I'm sure it's an impressive accomplishment I don't think that necessarily means "everyone should know about this person or they are uncultured swine!"

It looks like she's mostly known because 4 of her works were featured by Oprah's book club. I generally don't base my reading list off of the recommendation of day time talk show hosts that have an intended audience of middle-aged women, largely house wives/stay at home mothers.
If they have won why do they not power most of the grid?
> Emails from years ago might describe how to set up a dev environment or deploy code

In some kind of bizarro world that might be encapsulated in a script in version control of some kind instead of a word document in a document management system. Imagine that!
This has bit me a couple of times and is currently an issue between my Linux and Mac systems. Annoying but it works so well that I build it locally.
I have the opposite complaint: when I highlight a portion of the url in chrome, it prepends the http:// anyway. If I have the whole thing selected it would make sense to prepend the http://
I thought that was pretty low - but it certainly enough for some impressive shots!

[0] Video from article: https://www.youtube.com/watch?v=-gMy8k4nHtw
Thanks for your work!
At the moment I'm running unison on Gentoo, Fedora and even FreeBSD hosts.
There is even a ppc64le host running Fedora.

On Fedora I'm using unison251-text from the croadfeldt/Unison COPR.
On Gentoo it's net-misc/unison-2.51.2, on FreeBSD it's unison-nox11-2.51.2 from pkg.
"I can't praise Unison enough. I've been using it every day for over 10 years and is easily one of the most useful pieces of software I've ever come across."

Unison was the first backup binary that we built into the rsync.net platform - breaking our original design goal of only offering client agnostic SSH and the tools that would run over that.

Shortly afterward we also added rdiff-backup. Both of these tools were quite popular and we saw a lot of interest back in 2005 - 2010 but we see very little use or interest in them now.

All of the interest in backup clients is now in rclone[1], restic[2] and borg[3].

restic was easy - you can point it at any SFTP capable host.

borg and rclone, on the other hand, we had to (like unison and rdiff-backup) build and maintain on the rsync.net server side.

All of these (save rclone, which is a binary executable) are python scripts. But we don't have a python interpreter (or any interpreter) in our very locked down platform. Can anyone guess how we do that ?

[1] https://github.com/rclone/rclone/issues/3254

[2] https://www.rsync.net/products/restic.html

[3] https://www.stavros.io/posts/holy-grail-backups/
The one thing better than a good defense is not needing to use it.

Signed, someone else in your industry.
http://archive.is/aneSO
Japan's FTC investigating Apple over pressure on parts makers: Mainichi
Why? What is wrong about having a product dedicated to elitists? Not everything have to be accessible to everyone and it's a good thing. :)
Yes the original purchaser is still on the hook for the payments. However in America today there are absolutely tons of people who are on the hook for payments that they simply do not make. In the tech world people are generally financially well off that they don't realize this. There are people that will just shrug at the fact they owe money to a company.

At least if the phone is locked the carrier can just cut off service as an attempt to hopefully get payment as the phone is rendered useless without payment. However with unlocked phones theres no way for them to get the money they are owed. It's insanely expensive for them to go after each and every subcriber legally that doesnt pay.

Remember, they are loaning these devices to subscribers who cannot pay the entire cost upfront with the hope they will pay them back over the course of the contract. Unlocking the phone gets rid of the one collateral they have. Thats the reason your account must be in good standing to unlock early with every major carrier and why some do credit checks.
When you find issues like this, is it a manual detection process? Or do you have a set of tools? A set of tools that could be distributed to the public? (= You could save the world! Ha.
> This is a great view on history of seL4. Is there a list of use cases where seL4 is being used outside academia?

"Can you build actual systems with it?" https://www.youtube.com/watch?v=lRndE7rSXiI&t=22m

The whole talk is well worth a watch.
I also wonder how much of an effect the prior conditions have... if a hospital is already doing a good job of following procedures without a checklist, it might not make as much a difference as for a place that wasn't doing so well before.
> Of course, i don't have any illusions about how democratic EU is, we just saw it how democratically EC president elected (through a closed auction).

The EC is elected by a voting by your elected representatives in the European Parliament. In a representative democracy (which is basically how it works every democratic nation in the planet) you are not supposed to vote for every decision taken, you vote for a representative and those representatives then pass resolutions observing a majority. This is why it is called a "representative democracy".

https://en.wikipedia.org/wiki/Representative_democracy

> reactionary silence about the massive human rights violations in EU

Well, that the EU is engaging in a "massive human rights violations" is clearly a position held by the reactionary left, that is not shared by the majority of the population.
Chrome on Android already hides the "google.com/amp" URL prefix for AMP URLs: https://blog.amp.dev/2018/01/09/improving-urls-for-amp-pages...
This is not that hard to figure out: 12.5B tons is about 12.5e9 m3 of water. Earth's diameter is 12700 km. The area of a sphere (Earth is a geoid, sure!) of that diameter is 5e8 km2. 70% of the Earth's surface is water, so only about 3.5e8 km2. If we add 12.5e9 m3, or 12.5 km3, of water to the oceans, that 12.5 km3 will cover a depth of 12.5 km3 / 3.5e8 km2, or roughly 3.8e-8 km, or 3.8e-5 m, or 38 microns, or basically nothing to worry about. It won't add up to one meter until it happens every day for about 2.5e4 days, or about 65 years. I expect glacial melting to mess things up through other means than brute oceanic depth increase. Things like albedo increase, current modification.

This is a stream-of-consciousness Fermi estimate level of precision, so don't expect it to be correct beyond order of magnitude.
Indeed, it looks like she's only semi-famous because Oprah featured 4 of her works in her book club. Which is why I don't have any idea who she is or what she wrote, given I've never watched Oprah.
Which companies were blocked by China from operating?
> Is it really a stranglehold

> but I have the resources available to make that choice
Apple Maps are frustratingly locked to the Yelp app. If it’s not installed, you simply can’t see more than the 3 excerpted reviews in maps app. To see the full Yelp listing (or full text of one of teased reviews) you have to go to yelp.com and search again for the establishment.
I think that's the Blockbuster model. I'm unsure but I think Blockbuster net profit during it's existence was roughly zero.
Not China but google Boeing, Canada and Bombardier.
To me, saying someone is “basic” is another way of saying they’re living the unexamined life. It’s an epithet that probably doesn’t apply to anyone 100% and probably everyone at least a little bit
C-mera – Lisp syntax with C semantics
this guy is awesome
I wonder if that could get registered for this purpose somehow?
I remember the quote from the RoboCop movie of the 80s when the CEO of OCP said: "We practically are the government".

That movie was ahead of its time.
Agreed, but unfortunately not how a lot of sites work (especially Google's properties) - they'll sniff a Mobile Safari user agent and say "Here's the gimpy phone edition with half the options missing!"

13" iPad Pro? Gimped version. 12" MacBook with a smaller screen and worse CPU/GPU performance? Full version!

I would've thought that it'd be simpler to have one codebase and make some UI modifications so that it works on touch devices. But it's been years and they didn't. Maybe cost savings by giving phone users low resolution streams and no way to change it?

I don't use Google Docs, but I gather being able to use the real web version on an iPad now beats out their official iOS apps.
Wow. I've been using Unison for ages and had no idea Craig had had a hand in it.
Bootstrapping a non-touch device for touch isn't really a novel idea though. There were, historically, lots of attempts, especially after the iPhone/iPad release. Here's a more recent (commercialized) one: https://air.bar/pc and here's one from 2008: https://web.archive.org/web/20080709071620/http://www.magict... ... Here's a 2012 hands-on preview of a product from Leap Motion: https://www.theverge.com/2012/6/26/3118592/leap-motion-gestu... . Here's a product using Kinect to add multi-touch functionality to a radiology viewer:https://www.gestsure.com/

It's all been done before.

Again, fun DIY project, limited commercial value.
I'm wondering why areas along the Mississippi River and near the Great Lakes are considered stressed.