skysight-inc/HackerNews huggingface dataset:
This article is wrong in suggesting the BRI is the reason behind the camps, that somehow everything is about economics. The real reason is the China sees Xinjiang as part of its territory and wants to limit Islamic influences.

Kevin Rudd, the former prime minister of Australia, has done a great analysis behind Xi Jinping's world view and interests. They are, in order of importance to him:

"1. The centrality of the party, keeping the party in power for the long term, as well as Xi's power within the party;

2. Consolidating the internal unity of the country;

3. Maintaining sustainable economic growth to ensure a continued increase in Chinese living standards, breaking though the "middle-income trap," while balancing now against a parallel requirement for environmental protection now demanded by China's urban elites;

4. Keeping China's 14 bordering countries in a benign, and preferably supine state;

5. On China's maritime periphery, projecting its regional naval and air power, politically fracturing U.S. alliances in Asia, and ultimately removing the United States from the immediate region militarily;

6.Leveraging its economic power across China's vast continental periphery, causing Eurasia, and in time the Middle East and Africa to become accommodating to China's economic, foreign policy, and security interests; and

7.Reforming parts, but by no means all, of the post-war international rules-based order over time to better suit its interests, and to better reflect China's domestic values rather than those of the post-war consensus."

Just apply this formula to China's actions and everything makes sense.
Google Books Ngram Viewer Dataset
Not sure if you are talking about use datomic or about NOT use ORM
That’s pretty exciting, especially the doubled field of view
This is a fine discussion of the culture of workism, but it’s not complete without a discussion of the economics. Keynes' prediction of shorter work weeks would have been much closer to the mark if the gains in productivity in the latter part of the century had been reflected in commensurately higher per-hour compensation.
I want to chime in a contrasting opinion here. I had an old Galago that I adored. Came with Ubuntu, swapped that to Arch then stayed happy with it for years! It was a plastic frame, but it was tough enough to shove in a backpack and take longboarding. After 3 years, the Ethernet port's spring clip finally snapped off (user error), but still worked. I also accidentally bent the audio jack, but it still worked. It finally "died" when my pup knocked it off the couch with the charger still plugged in. The charger plug, still in the port, hit the floor at just the right angle to snap the port's inner prong off making it impossible to charge. I didn't notice until the next day when the battery used it's last bits of juice then shut down.

Very happy with my System76 purchase. But! I've only ever used the one device.
Email is still the biggest single point of failure for almost every account, excluding things like Apple with 2FA and (good) banks, even without magic links being a thing.

I do agree that it's inconvenient to have to switch to another tab/window whenever you want to log in though, this is a problem solved with password manager browser extensions.
Why is this the top voted story barely 40 minutes after submission? Are people really excited for 20 links, most of which aren't even "lite" websites?

Every now and then there's an odd top story on HN which makes me wonder who actually reads this site. I guess I'm not hip enough!
I have a 2018 MacBook Pro, and reddit “lags” in safari unless I use the old version.
Revolt Against the Rich
I believe Yuval Harari in Sapiens once said all social movements start by saying "the world, as it is, is unnatural. At some point, we were moving in the right direction but then we took a detour. We need to get back on track for the world to be natural again."

You are correct that the sentiment of "things will get better, as long as we follow the way" is an empty appeal to the future. But "things use to be better, we've lost our way", that the systems around is are unnatural and therefore wrong, is a powerful drive for a complacent society. A catalyst for social change.

As the oft-repeated 1984 quote goes, "Control the present, control the past. Control the past, control the future."
Agreed, that was my experience buying a gazelle laptop a couple of years ago. I still use it daily and have never had an issue with the software. They also make it trivial to reinstall by providing all needed drivers in installable packages.

Now if they could just get the build quality where it needs to be it would really be a great experience. With mine, generally, the software was the high point and the hardware was the low point.
Show HN: Docker images wth Node.js nightly builds (updated daily)
> Guys, this works. It's literally how the world works.

That's a fairly generalized statement. So just because the world works in a certain way we shouldn't change it?

Have you or anyone else noticed that the way the world works is massively in favor of anyone that has money?

How many tenants got cheated out of $1000 deposit and didn't have legal knowledge or a support system to get the landlord to court?

How many people got fees from Wells Fargo, Sprint, Comcast, PG&E, fuck even Etsy because they had power to pull from their accounts at any time? How many of them got everything back due to them? Fairly and morally?

How many people that DON'T have a massive blogger platform, podcast and wherewithal to start an _effective_ campaign against a multi-national because they simply are not well spoken. They are still cheated by the big guy but no one cares because it's not retweeted by Ariana Grande.

AKA your main point might hold up to 5 to 10% of disputes but hardly supports the notion that it "works". I think your statement should rather be "That's how the world currently operates" and that by no means rules out creating additional ways to operate in the world.
Women are majority of STEM grad students and earn majority of STEM bachelors
Wow, an employer dictating my diet is where I draw a HARD line of “get the ____ out of my life”. This seems discriminatory and unethical to say the least.
Easiset Way to Install Windows
For me the appeal is 3-fold

1) I can contribute to widely used packages like DataFrames and HypothesisTests. I had never made a git commit before this and my only "real" programming was CS 101 in Java. The fact that I could get up and running so easily contributing is a testament to the language's ease of use

2) I think its tough to predict your computational needs at the start of a project. Sure everything can be done in `lme` in R at the outset, but if you need some new bootstrapping procedure that a reviewer wants you might be left connecting some high performance code to an existing, large, R-based codebase. That's tough. I think Julia makes that "refactoring" (if you can call it that) easy.

3) Hopefully Julia will open a lot of doors for me in the future in my research career. I will be able to write interesting simulation procedures that are otherwise too unweildy for the comparison R or Stata economist.
I think you are close to falling into the "lump of labour" fallacy. Work is generally done to service consumer demand that scales with the number of people.
These images are updated daily through a Travis build.

Don't use them for production, but keep them somewhere in your test suites in order to know in advance what will break and better plan your migration budgets.

Also handy if you maintain packages and you don't want to slow down your users ability to update.
The regular CNN site isn't even usable in Lynx
> Eg: consider floors in a building. If you wish to index the horizontal surfaces separating the spaces, it's more natural to start with zero for the "ground level".

It depends. In the USA, 0-indexed floor numbers are the norm. Elsewhere (eg, Australia), 1-indexed floor numbers are the norm.
Does anybody know of a good browser extension to apply some default CSS to sites you visit? It took me just 4 lines to turn the CSS-free NPR site into something that I enjoy reading.

Before and after: https://imgur.com/a/EJympO9
What do you even need the app for? You can just use the browser extensions. I also just tried the desktop app and it's not too bad for an electron app, not particularly good either tho.
Don't forget the wierd dependency hell when it comes to writing Discord bots in Python. They require you use an older version of Python that is "fun" to work with.
Hand written parsers are actually pretty slow. And higher order parsers are still hand written parsers and usually perform almost exactly the same (except for languages where higher order programming is slow on itself).
Secret sauce was basically every element absolute positioned, with an event loop that was diffing a CSS transform tree each tick. Worked pretty well, but was basically a workaround for browser performance issues that ended up being fixed anyways. (Was hired by them to do their React component library long ago)
A lot of companies have proprietary programming languages. Goldman Sachs, for example.

So what? Are you a specialist, or can you specialize as needed?

But you can't focus an interview on a proprietary language that the interviewee is bound to not know.
On my netbooks I have been using the html only version of Gmail because it became faster than the modern web app.
> Unfortunately, engineering rarely changes the way someone feels about a product, marketing does.

I feel thats the main difference in philosophy between US and german car manufacturers. I guess theres is a place for both.
Yep, and there's ease of expansion, too; if I want another hundred square foot of space in real life, I either need to get a new place to live or start renting storage units which is a huge pain. If I wanted to add terabytes of storage to my digital existence, I would go to the store and spend like $200 for an absolutely massive amount of storage. And a mostly full house is a pain to live in, but a mostly full hard drive is at worse a modest inconvenience to search through (well, if you're really low on space I suppose writing is annoying).
Microsoft HoloLens 2: Are Holograms the Future of Work?
Hoping that this means there'll be a replacement at this form factor!
I recently started a subreddit with a similar goal: https://www.reddit.com/r/SpartanWeb/.compact

Explanation: http://beza1e1.tuxen.de/spartan_web.html
> Only 79 of the 128 bits of a long double are actually used

that one is notable
The examples on the page are still fundamentally bloated. Take a look at the source of any example and you will find the regular div soup albeit not burdened by 106 cookies and 46 tracking scripts.

The web has HTML5 elements and the CSS grid layout engine that can be made fully responsive with maintainable CSS variables to look excellent in evergreen browsers. However nobody is able to code up a page this way as there is so much technical debt in the way web development teams work and the hacks that can't be dispensed with overnight.

Recently I tried to make a CMS form look pretty. The forms needed have to have the simplest markup, e.g. label followed by input, label followed by input with those inputs having HTML5 niceties such as placeholders and the 'required fields' being styled with simple CSS that is based on 'required=true' being on the input boxes. However, the templates had two divs and spans around the labels and two more divs around the inputs with a container div holding it all together, everything decorated with untold class tags. To make this look good and responsive in CSS grid I needed to get rid of all of it apart from the inputs and labels. If I didn't have confidence in what I was doing I would have just added yet more CSS and yet more complexity.

Anyone can make stuff complex, making stuff simple and concise is an entirely different skill. None of the examples on this list have fully grasped what a modern web page should be like. It is as if nobody has taken the time to learn how to write content with the correct elements and then style it up for the evergreen browsers people actually use with modern CSS.
Was there ever a time when a human being could subsist at any level of decency except through labor?

Why then would you expect humans to be adapted to such a situation?
Also selling it to the military to "increase lethality".

https://www.theverge.com/2019/2/22/18236116/microsoft-holole...
You sir are the man!
I have 808 passwords, all unique. All stored encrypted in KeePass with an easily remembered but complex password as well as a 1K key file to access. The key file was copied via sneakernet from desktop to laptop, phone, and tablet. The password database is as well (which does add some security for some inconvenience), though I may switch it to a cloud drive at some point as I have setup for others.

This setup is free and more secure than a cloud-hosted service. It also never goes 'down'.
Is using electron/chromium an actual problem? Assuming it works, would you say the same thing if it was made in winforms on .net framework 3.5, or something as old as Qt 3?
If I were them, I wouldn't publish the fact that they're running outline very widely considering the dirty tricks that service employs, i.e. to show wsj articles to non-subscribers etc. I like the fact that someone finally has the guts, but if I were them, I wouldn't reveal myself that easily.
Not a new idea. See "Stakhanovite_movement".[1] Capitalism does it better than Communism did, by pushing competitiveness down to the individual. The destruction of unions made this possible.

It's so much more cost effective than slavery. Slavery doesn't provide a just in time workforce. Slaves are a capital expense and an ongoing operating cost. Capitalist workers are disposable.

[1] https://en.wikipedia.org/wiki/Stakhanovite_movement
> Technological progress cannot create more land

The Netherlands did reclaim land from the sea.
> But I’ve seen reports and articles where it’s possible to fire the Mac camera and shut it off quickly before the LED has time to kick on.

It should be trivial to delay LED's 'off' if it happens too soon after the 'on' signal.

There are many possible solutions if designers actually care about users' privacy.
Social Entrepreneur News
> The build quality is such rubbish, and you begin to feel it almost immediately.

I would really like to buy another System76 laptop, except for the build quality.

PRO: Linux worked out of the box, the price/performance was much better than a MacBook, and the customer support was great.

CON: IIRC went through 4 keyboards and multiple other part replacements.

Afterwards, I bought a ~2015 MacBook Pro, installed Ubuntu, and it stills runs great.
There is Stylus for Firefox and Chrome:

Firefox: https://addons.mozilla.org/en-US/firefox/addon/styl-us/

Chrome: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpe...
If that's the definition of CS we're using then my original post is a very egregious misnomer. I feel like that definition is way too restrictive though. CS can be formalized and informal, but both are still CS IMO.
Typeable – A long journey to type-safe dynamic type representation (Part 1)
From what I understand there are a few studies that point towards people only really accomplishing a few hours of work a day no matter how many hours they’re “at work”.
Ask as many questions as your 15 minute time window permits.

Yeah. When I was having my big health crisis and having about two medical appointments per week, I came to hate the 15 minute appointment vastly more than anything else about modern medicine.
Lives would also be lost in the ensuing confusion if US were to switch to the metric system.
Chinese trade with Europe goes through the ocean, which is dominated by the US navy. BRI is a way to find a land route.
Have any Node.js/websocket implementations scaled on this order of magnitude? Would like to do a read-up of any challenges faced.
I think it was this site where I remember Context from: https://www.mangaupdates.com/
Back then in my school years I remember not being able to find anything about this language. Mystery solved now. Thank you.
The purpose of city government is collection of taxes from one set of people and expenditures of revenue to another set of people, in an effort to serve the greater good of the community.

The economics which determine where the “line” is, is set by the market of people/companies willing to move into and invest in the city, the services and infrastructure and regulation and talent pool they require to be able to function effectively in the city, and the tax burden they are willing and able to shoulder relative to other available tax/service/infra/talent bundles available elsewhere and their own profit margins.

And all that is a calculation companies perform within and between municipalities when selecting where to grow and invest.

And also a similar calculation made by the residents who move into and out of a city based on the services, infrastructure, tax rate, and companies that are present.

Some economicist must have modeled all this and drawn all the supply/demand curves, and the equations which show how certain curves shift in response to taxes or stimulus or investment in any of the various areas.

The short answer is at the bottom of the letter — a 10:1 return on investment would have been a massive win for any development agency.

Maybe there is a way to model the breakeven point accounting for all the various future cash flows. Maybe we can make a list of all the similar projects and their expected ROI and rank them, e.g. as a dollars per job created number, or a ratio of tax dollars forgiven versus tax dollars collected.

But very subjectively a good deal is one that leaves the community better off in the long run. There’s no way to know this a priori, but all the evidence points to this deal being a truly massive loss for this community.

Amazon can do things for a locale that no amount of simple tax revenue can do. Because they can profitably employs tens of thousands of people. It’s actually the most important function of a city, to enable profitable sustainable jobs for its residents. It’s not, in fact, simply all about the Benjamins.
I'd guess there's high correlation between people who want this and people who use emacs, which is a non-trivial portion of HN readers.
That API says that the camera cannot be accessed when the app is not active (in the background). Like when you receive a call, etc.
I'm not sure we read the same thread here. I only brought up the casualties in response to the statement that if you aren't focused on the shipping delay here, you're callous and don't care about the disabled. Being not particularly well off on that front myself, I found that to be an unreasonable and selfish comment, one that attempted to hijack a tragedy to further someone's unrelated agenda. I would fully accept that I could have read into it something that was not there, had it not been for the followup "ableism" comment immediately afterward.

If they had approached from a different angle, something like "Remember that this can have knock on effects, my sister is waiting on her insulin delivery and after a particularly rough week a missed delivery could be fatal" it wouldn't have ruffled feathers. Instead it was phrased such that anyone who hadn't considered that concept was morally deficient. You claim to be upset by my "sanctimonious" behavior and yet view the post I responded to as just "sharing a personal experience"?
This is cool! I would appreciate pull-requests to add these to the repository

Otherwise I will take a look at them later on myself
Deer and pig populations are indeed out of control in many places due to a lack of predators. More hunters are needed. An intriguing example of pest control was a series of videos of wild hog hunting in the most Texan way possible: from a helicopter. Exterminating 80-100 hogs per flight! Hopefully something is being done with all of that pork, but I do imagine regulation makes it very very hard to sell.
This is the most important point when making microservices. There's lots of talk about bounded contexts but very little about how to draw the boundaries. Most are superficial and repeat bad examples like OrderService (order is both a verb and boun, OrderingService sounds ok). Using two part service names (ContentComposition, MessageDelivery) usually works out well.

As to the shared db aspect, while spitting a miniservice into micro ones I had this situation. All the code was split first and the db changes being the most difficult to was done last as a point.of we don't expect to revert this.choice. We weren't at a performance limit so that was fine, any schema changes had to be clearly communicated and coordinated. In all not too bad. I don't think I'd want to leave it in that state as a normal state. The point of micro is Independence and isolation of changes and sharing a db leaves a sensitive area. Don't let that stop you if it's only a temporary state. Just get commitment as to how temporary that is, since in absolute terms everything's temporary.
Dupe https://news.ycombinator.com/item?id=19190472
App to Train CoreML Object Detection Models
That’s really funny actually, I used to work as a developer for the FDA for their researchers. But since we were just publishing meaningless papers, I was probably safe.
Perhaps you could interpret it as untapped demand for lightweight websites?
Git v2.21.0
2x field of view (or possibly area of view, description could be read either way). Eye tracking. MEMS display. High grade low latency hand tracking. Improved set of default gesture recognizers. Spatial Anchors service for cross platform localizing (see same AR in same location on HoloLens, ARKit, AR Core). Some sort of geometry streaming service. Support for hardware customization (hardhats, etc). Also showed a separate stand-alone IoT Kinect + CPU/GPU hardware device.
What rubbish. Germans are fiercely protective of their work/life balance.
> monolithic architectures have a known lifetime while MSA’s tend to mitigate long term coderot

I'd say it's exactly the other way around: the programming languages and technologies change every five years or so, but the data stays forever, so why couple the data with the technology du jour? I'd rather have my data managed in one place so I can adapt the technology layers that sit on top whenever requirements change, rather than writing joins and transactions in my application code. I'd rather not bother with all the complexity and keep it simple as long as I don't need an Amazon or Netflix scale.
We've been transitioning to be more supportive of remote work. We're a small company (~30), and have never had much an official policy. Generally, it's - you're adults, get your work done. But the culture was such that it was basically expected you'd be in the office most of the time, and whenever someone worked remotely they seemed to feel a need to explain why.

There were even times in the past where my boss talked to me about wanting me to be physically in the office more. These days I often only go in twice a week for less than half a day for meetings. Recently our boss worked remotely for a month from the other side of the globe. Our head of sales is considering moving 1000 miles away while staying on remotely.

We're tight knit and small enough that it hasn't been difficult to accommodate more remote work.
I don't like that this conflates bloat with JS.

I have a minimal chat application that heavily relies websockets and JS, that said, it strives to be data minimal. The heaviest part is the initial load of emoji images which get cached. Other than that there are no third party scripts or data transfer.

I get that JS can suck and be abused, but I don't really understand the complete allergy to it. A websocket implementation is going to have a lot less overhead than page loads for everything.