skysight-inc/HackerNews huggingface dataset:
The populist media on the right, let's not pretend that The Independent and similar aren't also populist media.
LG leaving Android isn't good for anyone – except LG
Tesla got a large amount of government subsidies and tax incentives, both federally and at the state level. Tesla would have gone bankrupt many years ago without the government.

https://www.latimes.com/business/la-fi-hy-musk-subsidies-201...
How about 10 average vs 1 great?
Not at all. I think politicians exploited the plight of workers.
This is mostly predictive - that 1-2 person households will become the norm. So the title is wrong to start with.

Then, they assert that most people don't live in houses, also wrong. 60% of Americans (and similar elsewhere) live in houses. Not apartments etc.

Then, the predictions. Why are 1-2 person households the trend? Is it because people don't want to live in a house and own a car? Are the so-called Millennials at the core of this? No. If they have the income, they buy houses and cars, exactly as people before them did.

So what is the supposed trend about? I imagine it's because of a lack of suburb development. Zoning, land use, distance to city centers. People don't live in suburbs, because for whatever reason they're not being built fast enough at a cost that is affordable.
A wordclock application in 60 lines of QML
... It is called "tree", so if we're going by graph theory and typical ADT form then being acyclic is to be expected.

While I agree that a checked mode would be useful, and would likely be the best compromise for a "one-off" use, if you're preserving the structure like this does, then I feel it's quite likely you'd want to do multiple passes. If so, then pre-processing to ensure that it's acyclic would be useful: rather than a checked mode, perhaps an is_acyclic() method, similar to their is_nested(), would be the better compromise? That would allow it to be a nicely optimised function for just that, rather than adding overhead for "nested structures" that are known to be acyclic.

Adding is_acyclic() also means you can handle "sanitising" it yourself. I say that because it may be non-trivial depending on what you're doing and so not best-handled by an passed-through lambda etc. that may need to modify the structure mid "iteration", which would be awkward. Also, you're then doing it up-front, rather than handling an exception, which may have interrupted side-effects, and then makes it awkward because how do you modify and resume without repeating work / side-effects?

As to whether it's pretty common error or not, we'd probably need a wider study to see whether this has caused errors -- after all, sometimes cyclic / self-referential structures are correct. So I don't feel that this is an aggressive compromise, though I do agree that doing something to help with this case (in case of cyclic structures being erroneous) would be the "correct" thing to do.

While is_acyclic() seems better to me, a checked mode would be good for one-shot uses of this library, but as this would be pointless overhead on known tree / tree-like structures (what I would expect to use personally) then as a kwarg I'd prefer check_acyclic=False by default... and we'd likely need multiple cycle detection options, since space/time tradeoffs can be important and what's optimal will likely vary depending on the actual structure used. Similar options for is_acyclic() would be needed by the same argument, of course.

My biggest issue with check_acyclic= would be that it's an additional kwarg to almost every single function in the library, which is a bigger change (I feel) than an independent function. Occam's razor / separation-of-concerns and the like means that I feel the compromise of a checked mode outweighs its benefits, whereas adding is_acyclic() only has the compromise of a new, independent function (and the costs associated with implementing it), and otherwise has the same benefits.
I had some experience with a commercial (restaurant sized) wine dispenser that used nitrogen
Baths can be had and also taken. Unfortunately “I took a bath in Bath.” is triply ambiguous in that it might mean that you stole plumbing, that you cleaned yourself via water immersion or that you lost a significant amount of money.
>why have we all not been remote for a long time, instead of squeezed into high cost locations?

Because it seemed impossible, until now.
I can't think of software licensing going in a worse direction. This is exactly the opposite of what makes permissive licenses successful, the ability to do what you want without answering to the original author.

An "ethical" license is unenforceable and ridiculous. What company has time to police how everyone uses software? Is this designed to enable a bunch of lawsuits? It's not going to help anyone write better code or run a better (even a more ethical) business.
> I suspect that the second option was more popular for the most important packages of the ecosystem

You're 100% wrong. The few packages which decided on option 2 early on (e.g. dateutil) ended up having to roll back to option 1 because it was such a pain in the ass, both for the maintainer and for downstream users. The migration only really started happening once 2.7 dropped, projects like Six[0] started appearing, and the community started ignoring 2to3 and building up experience with cross-version projects and idioms (e.g. [1], [2])

[0] whose entire point is to help with option 1

[1] https://eev.ee/blog/2016/07/31/python-faq-how-do-i-port-to-p...

[2] https://python-future.org/compatible_idioms.html
Have you considered a remailing service such as https://simplelogin.io/?

Maybe this could be a good enough solution for your use case (i.e. avoiding potential spam).
I think the simplest explanation is that the authors themselves never considered the other options or were even aware of them -- they simply are sharing some historical knowledge they had. Very kind and good behavior! But I would imagine it's something rote and probably just a shortcoming in collective knowledge.

In short, I think ignorance is the simpler answer ;)
PHP had, never heard of php6?
Anyone knows how to have the same functionality using X window system?
I think some people are assuming here that everyone in the university are in the same age and life moment? I went to the university in Germany too and I had some colleagues with kids already and others way over their 30s, that they loved when they could just learn remotely.
But suburbanisation properly became a thing with policies of destroying public transport, and redlining that while invented in 1934, started to get massively applied around 1947. Destruction of public transport made living in inner cities more difficult and in suburbs, relatively easier - and redlining made people feel compelled to move out out inner cities.
Works the same as an additional monitor- which is what it is. The Dummy Plug creates the second monitor thru native support in the OS. Deskreen connects your additional device to it via a web browser. I installed it on Ubuntu and had it working in two minutes, using my iPad Pro 12.9” as a second monitor ;-) Looks and works good and decent latency.
Variables can only be declared at the beginning of a block in C89. In my opinion that's the main difference between strict C89 and C99.

MSVC is very strict about that and there's no workaround to allow it.
It would be, but the question is whether the law is being enforced?

As far as I know, you can't directly sue over a breach of the GDPR, and the regulators who are supposed to enforce it on your behalf are unwilling to do so.
"racists from David Duke to Charles Murray"

I disagree that the absence of a word to link these two ideologically is a fault of the English language.
One off examples don't set the trend. For example, holacracy seems to be working out for Valve but that's about it.
Example?

I used dd a lot to burn images on USB. And that command is simple as expected.
Scottish environment agency still struggling against cyber-attack
For certain types of large transactions, identity verification still sometimes makes it easier to go into an office if doing so is convenient enough.

That said, I had a large transaction I needed to do fairly early in the pandemic. I'd gone into an office to do an earlier iteration on this but I really didn't want to do so in April. I was able to do it over the phone. I remarked to a friend of mine who is regularly involved in such things that "A lot of orgs are discovering they don't actually need to do their traditional processes" and she fully agreed that a lot of people are discovering they don't actually need to do everything they thought they did.
My remote Set up as a Shopify developer and Freelancer (Hardware and software)
Learn HTML Canvas while coding a game in JavaScript
But does China have an alternative to ARM CPUs and NVIDIA GPUs?

They tried blocking Github in the past and it did not actually work well.

I imagine something like blocking the production lines of multiple factories would just ensure that these are relocated elsewhere.
requires a dummy hdmi dongle, but far cheaper than DUET
https://www.youtube.com/watch?v=rmg5tZ4iSx8&feature=emb_titl...
> People don't live in suburbs, because for whatever reason they're not being built fast enough at a cost that is affordable.

Is it possible that it’s due to people feeling like they do not have the economic security to purchase homes and start families?

There are cheap suburbs all over the US. The question is can people afford them, including factoring in the volatility of income over the next few decades of your life.
You have to take the entire phrase “forever chemicals” together. It’s a subset of chemicals that don’t break down / take a long time to break down and can’t be processed by the human body. At that point, it becomes a well defined phrase no matter what your opinion on the word chemical by itself means or implies.
NVIDIA has significant board design and assembly work in China. Plus they would not want to be locked out of a large economy. A good chink of ARM's revenue is probably already coming from China and sanctions could hurt that as well
Wow, who could have possibly foreseen that saying a big "fuck you" to our largest trading partners could have possibly resulted in unfavourable trading conditions for the smaller party... Not me that's for sure... But at least we all get blue passports.
Not only that, the fact that some of these people don't have jobs is directly related to the things that were removed by Brexit and that "fuck with people just trying to get on". For example, the top comment on the other Brexit-related article on the HN front page right now is about how logistics companies are pulling out of the UK because it's just too much hassle and gave this as one reason:

"For those who believe the market will fix it: Well paid drivers no longer exist. The last time he has seen a local work as truck driver was in mid-2000 and meanwhile salaries have dropped to ~€700 and less therefore only some Eastern Europeans can justify that working as a driver still makes sense for them. There is not much wiggle room left in terms of just paying better salaries - even smaller freight-forwarders are asking themselves whether it continues to go there (at least for now)."

Think about that. A job which used to pay enough for British people to live on had its pay driven down so much by EU rules that the only people who can afford to do it are Eastern Europeans living in countries with much lower cost of living. (More specifically, by the requirement that people living in those low-CoL states and with licenses issued by them be able to compete freely with local drivers for deliveries.) In this case, the Brexit-related change that's fucking with businesses is literally the removal of the direct, casual reason why some people are unemployed in Britain - and the response has been to insist that it didn't happen, that those people were just brainwashed into thinking the EU was the reason they didn't have work.

(The Eastern European countries with lower cost of living don't seem to be doing all that well in many ways either after joining the EU, which is probably partly why they continue to have such low cost of living in the first place.)
On this day in 1984: Steve Jobs unveils the Macintosh
Cool, from a cyber security perspective... can I access it from another network?

and does it communicate over TLS?
I feel the same way, it's very rare they add any value. especially the ones who aren't hands on, that's kind of highly paid secretary.
NFS for sharing uploads folder? shift the media to a CDN when it’s uploaded and serve it from there. There are multiple plugins that do this.
let's consider an example. Better to do this experiment on popular social media platforms for US audience.

Consider gun related crimes in Australia before gun buy backs ("bad rate") and gun related crimes in post. You would have a solid number of averted deaths and injuries.

Now let's wait for thoughtful opinions from US users regarding the topic of gun regulation :)
I have been talking trash about Biden to Alexa all week. Just waiting to see what happens in the new communist state.
Some of these problems might disappear if Google would introduce a payment scheme for Chrome extension developers. Then authors might not be tempted to sell them to scammers.
Don't get me wrong, Bojo is a turd and Corbyn at least had his heart in the right place (though that was was about 1952).

He did clearly and repeatedly say he wanted to massively reduce financial services (where I work) and get people like me into factories to make stuff (I like a cushie office thanks, I don't want to work on a production line) though.

I'd go further than you: the state won't interfere in the free market UNLESS they have a private interests (wealthy donors, personal fortunes etc) to protect. Its survival of the fittest for most of us.

I'm jot quite sure what you mean by your last sentence? Donation? Sorry if I'm being thick.
Is Mathematics Real? (2020)
I've worked at a half dozen companies and I've never worked in an office that wasn't inferior to my home office. Even when I was poor and my home office was my bedroom shared with my wife, that sure beat the interruption farms of big tech office buildings. Nowadays I have a private room where I can keep it quieter than a library or blast music on speakers that beat any headphones and I've got a nicer monitor setup and chair than any company would've given me too. Of course I like commuting to a shared office space for certain kinds of meetings, but most interactions are fine over chat or video call. Needing to be in person is by far the exceptional day, not the rule. I've been cheering the slow normalization of remote work over the past decade and the way the pandemic tipped it over the edge has been a big silver lining to me.
Blue passports, made by the French.
The horror!

Sarcasm aside, I doubt you'll elicit any sympathy from the working class Brexit voters because elite artists are inconvenienced. Those I know are happy with the outcome even knowing the current disruptions.
I was more impressed by the number of significant figures. If I had to guess, I'd say I have 2 or 3 bottles around just now. I can't even manage one sig fig, and it isn't because I started with over 4,000 bottles.
There are two major problems with this: partitions/device-mapper and backwards compatibility. First, partitions inherently overlap the parent block device. You would need to carefully track exactly which portions of the device are in use, or your solution is useless (it doesn't protect /dev/sda when /dev/sda1 is in use) or blocks the vast majority of use cases (/dev/sda2 cannot be used when /dev/sda1 is in use). The same applies for device-mapper, but worse. Secondly, the Linux kernel has a very strong backwards compatibility guarantee. Any change that would break valid (or even invalid) uses will be loudly rejected by Linus. With your idea, many disk management programs will be broken.
Not to say that this is no problem, but I have a question:

If PFASs are "forever" chemicals i.e. chemically stable, how do they cause harm in humans? Won't they just pass right on through?

What's the mechanism that causes harm?
Hands-On MongoDB: Part-1
> The lack of red tape would also allow the UK...

The irony being that red tape has gone way up due to Brexit, not down, and this was obviously going to happen to anyone with even small amounts of experience with international trade.

Things have become so much more expensive and difficult that some businesses are shutting down due to non-viability, some EU businesses have decided they can no longer ship to the UK (not worth the hassle), and UK businesses have decided they can no longer ship to EU countries.

There was one company I saw recently that now ships products to every country in the world except the UK, because the UK is currently more difficult to deal with than random third countries.
Hence the ecosystem became usable around 2015 ;)

It takes time between the initial release and enough fixes/additions to become usable, and the documentation/stackoverflow to cover it.
But... But... But... They're blue...
Snap! I feel the same seeing people use docker for dependency management. Now you have two problems.
Without further context, people will gravitate towards the commonly used meaning, so it would typically be interpreted as “cleaned yourself via water immersion”.
What Bay Leaves Taste Like and When to Use Them
I mostly agree with this, but startups also benefit from people willing to take a lower salary in exchange for equity (or maybe just lower salary in general), and willing to work very long hours. That will always favor young people without families.
> outside the US, almost no one grew up in a big house.

Neither suburbs nor detached houses nor private houses are specific to the US.

In France, primary housing is 57% individual house, 43% collective (apartments). But that's not all: if you consider families (with children), which is what matters when is "where did you grow up?", individual houses rise to 70%!

In UK, flats are a tiny minority, the form that rules there is of course the semi-detached house. But even there, there are still more detached houses than flats.

In the whole EU, the ratio is similar to France: flats are a minority with 46% of housing, and amongst the remaining 54%, 2 third are fully detached houses.

Another angle. If we take ze city, where almost everything is apartments: Paris. There were 25% *less* inhabitants in 1990 (when a present 30-year old was born) than there were in 1920! People have fled to the suburbs there as well (which doesn't mean 100% individual house, admittedly, but anyway a much much greater proportion than inside Paris).

> I grew up in an apartment.

It doesn't make a statistic :-)
Well people can easily get burned out and depressed by commutes or by petty office politics, which you have more of when everyone is physically in the office. Is there any evidence suggesting remote is a net negative over a net positive?
Yep,

When Western Digital acquired HGST, the corporation was 'obliged' to hold off full integration for 2 years due to the requirements of the Chinese government:

https://www.theregister.com/2015/10/19/mofcom_says_yes_wd_hg...
All companies had the incentives, only Tesla delivered so completely.

Government, and Elon, and our whole system were needed to make it happen. Seems like “both” arguments are mostly right, but overlook key information
Does this add any sort of touch capacity to the OS if the input device has touch screen?

In other words, can I use this app to draw from a tablet to something like Gimp on my main computer?
Will China Keep Winning?
> without the checks and balances that would exist in a republic.

As we've seen in the past 4 years, these checks and balances in a republic like the US can be completely invalidated without the relevant laws in place. Things like senate majority leader having the final say on what gets debated, or how a criminal trial is conducted (e.g. during Trump's impeachment).

Neither our current system works properly, nor does the US system, and I'm willing to bet this two party system is the bigger issue rather than having a monarch whose power is mostly ceremonial.

I will say, I was unaware of the what was layed out in the guardian article. I'd be curious how much this had happened since 2013.
Obsidian (https://obsidian.md/) might help you with that.
It uses Markdown and you can tag your coding snippets and make a knowledge graph (https://en.wikipedia.org/wiki/Knowledge_graph) out of it.
> 90% – maybe 93% – of project managers, could probably disappear tomorrow to either no effect or a net gain in efficiency.

True especially when you get a project manager with no CS/IT background at all (pretty common in consulting for some reason). Then the project is really doomed from minute one.
So, why aren't these high paying trucking jobs reappearing now that Brexit happened? And if this were somehow a EU problem, why aren't the trucking firms making bank off of all that cheap Eastern European labor?
I'm pretty sure I could have become actual friends with many colleagues if we weren't colleagues, but I see that meeting them after hours always gravitates to talking about work.
Some people are fine with that, to me it's depressing to have to think about work on my weekend.
is it just me or is this article completely devoid of information? I just woke up and all but it feels like I just read the same paragraph or two repeatedly reworded
> Comparing a crap office to remote […] isn't really fair.

It's fair for the majority of people who can only get a crap office.
can that second monitor be controlled with the mouse and keyboard from the device where the browser is running?
Amazing accomplishment. Does anyone know if it works on Kindle Fires?
Or when emotional politicians decide that wrapping your mostly unused park with CAUTION tape is a good idea (it stops the virus, and my dance starts the rain).
Oxford pledged to donate rights to their Covid Vaccine, then sold them to pharma
>> background-position and border-spacing (all 2-axis properties) should take vertical first, to match with the 4-direction properties like margin.

I disagree. We are inherently used to 2D coordinate systems being X, then Y.

I would instead have made the directional properties go “left, top, right, bottom” instead.
I didn't get it. Can you please explain?
The main things for pro use are usually setting the block size (to like 1 MB for most devices) for performance and retry to not abort if possible.
When I read there are over 55,000 plugins available, someone on reddit manage to find 16,000+ plugins, the rest could be outdated?
I'm pretty sure an overarching focus on task realism fixes most interviewing woes, including this one.

There's a cultural obsession in this industry with testing things that supposedly correlate (usually poorly) with ability to do the tasks we actually want people to do and not the actual task itself.

I think it's probably rooted in goocargle culting.
I don't think that the point is that HMG haven't thought of "planning" and "not leaving business out in the cold". I think the point is that HMG's execution hasn't been very good.
https://yougov.co.uk/topics/politics/articles-reports/2016/0...

A majority, sure. But that’s still 29% (or 27% with your source) of 18-24 year olds. That is certainly what I’d call "plenty"