skysight-inc/HackerNews huggingface dataset:
> That's how it happens: a tiny little change flings the door wide open. Someone solves their own local problem and misses the bigger picture.

Just in case anyone missed it: that's pretty much exactly the same thing that happened with the recent Log4Shell disaster.

Someone wanted to have a config value from JNDI in their logs and thought it would be cool to have log4j's string interpolation support that directly, found that it was easy to implement, and submitted a patch, which was accepted without any discussion.
You seem to be getting downvoted for being too vague, so I will post the solution:

The snippet breaks for paths starting with a minus, as mkdir will interpret those as another option.

The solution is:

subprocess.run(["mkdir", "-p", "--", path])
The fact that mandates and minimums exist suggests that this is not the case; if parking paid for itself, no mandates would be necessary and developers would already be incentivized to build it by the market. In jurisdictions that have relaxed parking requirements, however, developers generally build less parking after the rules change (and sometimes as little as none). This shouldn't be too surprising: in cities with decent transit, at least some residents don't drive and so don't need the parking, so a market exists for housing without it, and parking is expensive to build, especially if it's underground, which is typical for multifamily residential construction in dense urban areas. Underground parking in the US typically costs ~$50k per space to build.
Connectedness Between Proof of Work and Proof of Stake/Other Digital Coins
Ask HN: What Are My Options?
Hello HN. I'm early in my life, still living with my mother, finished vocational school with a basic degree in information technology, and I have type 1 narcolepsy.

I haven't done any programming after finishing the vocational school in 2018. I don't know if I'd even qualify as a script-kiddie anymore either since I've forgotten most of what I was taught.

I like fiddling with things (Rainmeter, ReShade, Addons and Plugins for games, previously set-up a pi-hole, have set-up YogaDNS w/ NextDNS, I've rigged and weightmapped models for VRChat, use GrapheneOS)

My only job experience is in physical IT support (printers, broken PCs, setting up new laptops, backing-up laptops to external drives or clonezilla over network) but I burnt myself out and had to recover for close to 8 months, and I already had super flex short hours..

What I guess I'm asking is what the hell can I do other than become my own employer and hope I can figure something out (3D printing service? Hosting??)

I am sorry if this is out of place somehow.
Yes and when the fire alarm goes off every family crushes into that tiny space and tries to get down one staircase. Not to mention countless other bad situations. There's qualitative reasons not to maximize this. Build up one more floor, problem solved.
The big 5 is often considered simplistic, given the complex nature of human personality.
It was called the “psychology of the stranger”.
What is going on here with the comment section? Seems like it's flooded with pro ccp activists
I didn’t realise he created QEMU too! Amazing talent!
50% is also used in jewelry.
Isn't that kinda the point of these materials in the first place? :)
32 minute launch window starting at 12:20 UTC (07:20 EST). When this comment's indicated age is ~30 minutes.

https://blogs.nasa.gov/webb/2021/12/21/james-webb-space-tele...
Once the alternatives does even a fraction of what Intellij provides out of the box..
Trade-Offs in Automatic Differentiation: TensorFlow, PyTorch, Jax, and Julia
MEMS Microspeakers Made from Silicon
Same here, my plan for today is JWST launch, junk food, video games (I got into Battle Brothers, it keeps kicking my ass) and possibly a video call with family later today. Enjoy your December 25th people!
The launch is in half an hour, at 12:20 UTC.

There are some alternative links (YouTube, French, Spanish) on https://www.esa.int/Science_Exploration/Space_Science/Webb/W...
I recommend reading https://www.usenix.org/sites/default/files/conference/protec...
No.

A) he's not law enforcement.

B) entrapment laws vary by jurisdiction, but I'm unaware of any where a private citizen sending in information about someone contacting them to commit a crime is problematic.
I once had a chat with my colleague about how the country he was born in has changed over the last 20 years. He expressed concerns about safety, gang crimes,etc. Yet he was the one consuming white powder that is responsible for majority of those crimes he's concerned about...
I don't have the same definition of significant. We are talking of a Ryzen CPU instead of an Intel Atom, a 12V battery using lithium chemistry, an upgraded honk speaker, an upgraded indoor camera, and rear double panel glass on the doors instead of single panel (like in front doors).

It's nice upgrades but I wouldn't sell my car to this website for these.
Also on NASA TV: https://www.youtube.com/watch?v=21X5lGlDOfg
Generally the obstacles to cheaper housing are political. For a building of a given footprint and height its normal for people to show up at planning meetings asking if they could maybe have fewer, larger apartments than they intended so that the new building causes less traffic. We have the technology to build buildings pretty high and the capital cost to do so is a small fraction of the reason housing prices are so high in major cities. I'm open to the idea that at the margin a little less safety for a little smaller cost might be a good or bad tradeoff but this isn't a decisive battle.
I picked relatively high number 1/10000 as a starting point to get a ballpark. NASA has never tested deployment in the zero gravity. It's unlikely that the probability is higher.

Ariane launch failure probability dominates if you add zeros.

0.00001 -> 4.8%
0.000001 -> 4.5%
JDK 11 would be fine, but why have such a bad default config for the JVM? They literally use a deprecated GC algorithm instead of the default and set a way too low max heap size (I guess so people don’t say that it uses too much RAM, but all it does is making the GC run constantly)
> India is the one that has been attacking neighbouring borders, especially since the fascists came to power.

Even calling the current government 'fascicists' can be excused, but not 'attacking neighbouring borders'. Oh wait, I think you meant 'attacking neighbouring borders on provocation', yeah, that's right. China is still trying to claim (rightfully and legally) Indian and Bhutanese territories, among other regions.
I have one: I self-publish science fiction on the side. Although it isn't consistently $500 per month yet. Sometimes it is a bit more, other times less. The income goes up as I build up my backlist, but usually it is a spurt in the month of release that then trickles down to a lower baseline. With each new release, that baseline gets a little higher.
Key Milestones After Liftoff
… and then posted virtue signaling comment
Number of staircases in my country is given by distance from furthest point (max 20m so you need to have 2 staircases if there is corridor longer then 20m). But when the distance is satisfied capacity can by met by dimensions of the particular staircase.
Cough Huawei Cough.
Countdown page https://jwst.nasa.gov/content/webbLaunch/countdown.html
Judging from your comment history, there are quite a bit of China comments there.
I wonder how this statistic would look if you'd stop counting Majorca and such as "international tourism" :)
Not by a large margin, but yes, yes you are, to some extent still.

I just wished you and Europe where as good as your PR, I really and genuinely do
Still use xv for image viewing and editing all the time. Great for using on remote / headless cloud instances. The power of X11 is to run app remotely and display locally.
Ah. An anecdote and an ad hominem. The perfectly balanced reasoning cocktail known to mankind. The best way to make policy universally.

Anyhow, funny story regarding dead people after a fire. He jumped out of a balcony. The fire was in his apartment. The firefighters were already at the door. It turns out the dude was off his meds. (Or never on them.) Because no one gives a shit about mental health. But maybe let's mandate bars on balconies so people can't jump out.
What's the significance of them being headquartered in NJ?
Sounds like a great plan! Any way we here could help you out with some books or something?
That's interesting. But let's say I am a nation state hell bent on intercepting everything or even a major ISP in the region, can't I remove Except-CT header from all outgoing HTTPS responses?
I think this whole christmas thing makes a lot of people feel alone and depressed. I hate that. Posts like these make me think this even more. I am alone, and I like it. I can play Warzone and code some stuff I wanted to finish. I can do things I like. I know this may sound stupid, but if you feel alone, don't. There is no reason to. It's just a day like many others. There is really nothing to it.

And we don't need "Christmas" for a virtual hug. We can do that every day of the year.
You are indeed entitled to privacy on your own equipment. Why should you be entitled to privacy on employer-owned equipment?
That quote sounds like the opinion of someone who wants to be bought off, rather than someone who wants the same kind of accountability that the rest of us are expected to have.
> US government

Why should I trust what they have to say as opposed to, say, China’s government? Or any government at all that I did not vote for?

I’m not a U.S. citizen nor on the payroll of CCP or whatnot.
Self hosting won't solve much because even self hosted setup would have to talk to the outside world.
Imperiums fall, such is the effect of time.

And in time others rise, sometimes in the same region.

China will fall too, at some point.

Memento mori, amor fati!
Supply and demand. It’s a mistake to look at only one side of the coin.

The demand for Bitcoin is 100% speculative. There’s still no economical application (if someone knows otherwise, I challenge you to prove me wrong). Put in another way: Bitcoin does not satisfy any sustainable need.
> like how Ukraine inherited all long range strategic missile bombers

Along with hundreds of T-60/72 and all the infantry and vehicle munitions.

But you can't bring Tu-160 to a local mafia dispute. You can bring a tank there if it's only a couple of hundred dollars and nobody /can/ stop you.

> how Transnistria inherited an army

Now imagine various small unaffiliated armies all the way to Ural.
The rules of HN do a good job of keeping topics on topic and informative, but sometimes sterilise it of genius like this. Oh well, some things are worth taking downvotes for.
xmelt was always a favorite before everyone locked their display down.
Are western media free from propaganda though?

Also when did UN called it a genocide? I googled it but found nothing specific. Mind sharing a link to the claim?
No, it seems like a meme that xi looks like winnie the pooh
Fortunately I have never been alone at Christmas, but plenty New Years Eves. I think I can relate but I think these events are quite different, one is mostly about family, and the other mostly about friends. Wish you a pleasant holiday no matter where you are.
Sorry, I trust BBC more than I trust you about what is not allowed in China's heavy controlled internet.

https://www.bbc.com/news/blogs-china-blog-40627855
I really love how we all have an impression of China as a country without access to global internet, but then there are things like "Most Chinese Steam users have historically been using the global service instead".

Really makes you want to visit and see how this actually works for yourself. The more I read about China, the more unbelievably contradictive it gets.
Does this actually work and in use?

I worked on a transparent MITM proxy, a proxy that is configured in the firewall not at the application; IE applications were unaware they were using a proxy.

Simply adding the proxies CA key to the system trust store was all that was needed to make all applications, including browsers, to trust the certificates we were manufacturing.

There was no indication besides inspecting the certificate that the certificate was ours. Definitely no calls go check certificate transparency that we could see.
"Job by distribution" was no secret and it is a well-known thing among people from post-soviet countries. Graduates were obliged to work at assigned place, usually for three years.
'Acquisitiveness' must be clearly defined as a category, given the colloquial definition of it being the "desire to get things" seems tautological. Otherwise Russel is failing to say anything more than, "humans are driven by four desires, one of which is the desire to have things".

Although, I think it's somewhat absurd to have power and things as separate categories given that 'ownership' is a social construct where we agree that certain people get to have power over certain objects, and can thus exert power over anyone else that wishes to use them.
Most (almost all) party people back them didn’t get anyone arrested, they just did their jobs in power plants, schools, and cheese factories, just like they would in the west. Same as googlers today.

Sure, some did evil things. Again, just like in the west it’s easy to make money by hurting others.

My point is, the perceived difference between those is really just the narrative, the way they are being described in popular media. West has much better PR.
UN fails to agree on ‘killer robot’ ban as nations pour billions into research
I get what you're saying, but I've been using JetBrains' products for about a decade (IDEA / Rider / CLion) and have run into my fair share of annoying bugs. A search inquiry into the the vast majority of them (by error messages or vague descriptions of the problem) usually finds an item in their bugtracker that's been sitting there from many months to many years without any obvious signs of activity (despite ACKs from the developers and multiple me-toos from the users).

I still prefer JetBrains' IDEs, but they are extremely glitchy. It's just a fact of life if you've spent any significant amount of time in them. They seem to just not care about performance and bugs the same way they care about churning out new features.
I have used gstreamer for the Dutch Railways, to stream the announcements to passengers in certain types of rolling stock.
The announcements are generated as text, go through a text-to-speech engine and are then streamed to the rolling stock.
As you'd expect, every manufacturer uses a different method to broadcast the announcement.
“Alan Delon doesn’t drink cologne” (as you probably know) is not random: drinking cologne was very much a thing, due to alcohol rationing meant to combat drinking (which also lead to people drinking methanol and going blind or even worse.) There are also references to other aspects of Soviet household life.
I'd honestly submit de-anonymized data to PHAC if asked

Sure, and that's your prerogative. But how come you get to decide that because you don't see a problem, that no one should see a problem? Privacy is not about secrecy, it is about agency. Regardless of how it's framed, usage of involuntarily collected data is a violation of agency.

I agree that this is a non-story as far as the Canadian Health Authority is concerned. But the data collection itself is not a non-story, so I'm willing to let the story stand because of that. Isn't it funny how "pro-business" (read: sociopathic) news outlets will defend the need for businesses to violate your agency at every turn, but scream bloody murder when a government institution uses that same commercially-harvested data in order to fulfill their function?
For most people that celebrate the holiday, it's a day to spend time with friends and family. I am not Christian, but I still celebrate the holiday with my family. It's the only time of year I see certain family members. It's a convenient time to do this because everyone else is taking time off to do the same.

If someone is used to do doing this and is unable to, it's not hard to see why they would feel lonely.

I chose not to visit with friends and family last year due to covid but I didn't feel lonely. I observed some of my usual traditions like preparing some fancier than usual food and drink, zoomed and played games online with friends and family and had a nice and relaxing day.
Paperspace (YC W15) is hiring engineers to build a next-gen cloud
Don't worry, the new performance budget will be eaten soon enough.
Since I'm focusing on the job market, I'm collecting resources to learn C++. From what I gathered the best beginner book is Bjarne Stroustrup's Programming: Principles and Practice Using C++, which I think it'll be good since it's a programming book that uses C++ and not a book solely about C++.

But I'm open to any advice.
Is it nice to read stuff from first-hand sources like a website designed when the thing happened :look: :D
Foreign ownership of media claiming to be domestic is always worth questioning. Especially when the politics of that other country are quite different than your own, but they’re close enough to meddle in yours. Doubly so when they're 10x bigger in terms of population and significantly more influential - and are also mutually each other's #1/#2 largest trading partners.

The old Trudeau (Sr.) quote comes to mind.

> "Living next to you is in some ways like sleeping with an elephant. No matter how friendly and even-tempered is the beast, if I can call it that, one is affected by every twitch and grunt," said the late Pierre Trudeau.

News sources are always a flashpoint for nationalism and I think, and American media has quite a reputation for sensationalism and the "24 hour news cycle." It's also not like the US is some disinterested party in Canadian politics; I wouldn't care so much if Postmedia were owned by say the Swiss or even the Qataris.
Even if one doesn't "celebrate" the year-end holidays, the vibes all around are alright, to be fair. The coffee, much like the air you breathe-in itself, feels very different when almost everyone is in a jolly good mood.
Ask HN: How can a non us resident living outside the US, build credit?
I've studied in the US and lived there for a while before moving back to my country. I have an SSN, a US bank account and spend considerable money in the US. I would assume this would contribute to some credit building, but I always new it didn't bc there are a limited number of ways to become credit visible, such as being grandfathered in, or paying your rent and bills, etc. Is there another way for a nomad to benefit from US credit?

I ask this because I just found https://extra.app and I don't know if it's legit or a $7/month scam.
Ooookkkkk. That's not even China's goal. China need the US and Europe to have strong economies to sell stuff to for the foreseeable future. China doesn't have a strong consumer sector, outside real estate, which is not a good driver for growth in the long term, and the demographics of China mean it's not likely to develop a strong consumer class before the work force ages out.
And how is running an electron instance better than running the JVM? Also, intellij does actually have a battery saver mode which provides less intelligent autocomplete.

And just for your information, the JVM is the most power efficient managed language out there. With a somewhat saner heap size than the default the GC is very seldom run.
Simply don’t use your company owned computer for personal stuff, period. I’ve worked in 1st line support and had my share of people calling in asking for help to erase their browsing history from porn urls.
But the bottom line is, do you really want to be the one compromising the company you work for by visiting non-work related things? At least that’s the biggest reason for me to keep my work and private computers separate.

Edit: I just want to add that I however wouldn’t agree with or work for a company that monitors my work computer to make sure I’m always ”working” (taking screenshots, tracking mouse and keyboard etc).
a human being is a bio robot that is driven by a very complicated neural network that has the only 2 goals: 1) to survive 2) to reproduce itself.
Omg that website is ghastly. The art is nice tho. One thing: Your art is just numbered, which feels impersonal. I feel like maybe the pieces could be better named?
> I agree that this is a non-story as far as the Canadian Health Authority is concerned. But the data collection itself is not a non-story, so I'm willing to let the story stand because of that.

I think we can agree on that!
Standard practice anywhere you have Chinese people, most are perfectly reasonable but many are deeply indoctrinated nationalists.

Unfortunately the rest aren’t willing or able to do anything about the genocide cheerleader squad.
The longest train journey in the world in 2021
This article, on the other hand, argues that precisely ships are severely constrained by existing physical limits:

* maximal depth of many important ports,
* maximal width and depth of Panama and Suez channels.

It isn't as efficient to build an übergiant that must take longer routes around the globe and can only fit into a handful of ports.

In case of crude oil carriers, there is also the question of maximum environmental damage if they founder. I wouldn't like to see 5 million tons of crude spilt into the ocean. Even current sizes are pretty big.

Also, when you take a giant anything (ship, nuclear reactor) out of operation for repairs, which may be urgent and unplanned, you reduced your available fleet by a massive amount, thus disrupting normal operations.
Do you live in the same Australia that I'm living in? Because that's not what I've observed at all, at least in Victoria.

For better or worse, the vase majority of Australians have complied with whatever restrictions and mandates that governments have put in place. VIC and NSW, which have borne the brunt of cases and broadly mandated vaccination, have ~95% of people aged 16+ vaccinated. People have generally complied with lockdown restrictions and requirements to wear masks.

Despite the media attention they garner, the protests involve a small minority of people. Victoria didn't see any significant opposition to lockdowns until the later half of this year. Most people seem happy enough getting paid $700 a week to sit at home and play Xbox.

That said, I have noticed that increasingly people are not bothering with the more tedious requirements such as wearing masks and checking in. I wouldn't say anywhere close to "largely ignored" though. I get the impression (from people I know) that it's mostly due to fatigue and risk habituation, rather than alienation.
Sadly no, as Eclipse was an admirable project at the time. But IntelliJ has far outpaced them years ago. I used them side by side in maybe 2016 for a while, and it was just no comparison. Since then IntelliJ is still making leaps, and Eclipse is just hanging by a thread.
It’s not true that chinese don’t has “access to global internet”. Many sites are blocked (including most top sites), but still it’s a blacklist instead of a whitelist
> Compiling and working code" does not mean it's valid or acceptable code.

In safe Rust and Scala it means it is valid, modulo bugs in the compiler, which are rare. Also I'm really talking about code that is obviously ok - e.g. there exists a function on given type, yet idea fails to see it.

> do you actually have any concrete example?

In both of my Rust projects, which are pretty tiny (<5k loc) there are a few instances of good code red issues or fragments where the type inference gave up (no error flagged, but also no autocomplete). Will report those.

I reported plenty of such issues earlier to the Scala plugin, and got tired a bit.
A holiday is only as important as you make it. There are lots of people who don't give a damn about which holiday it is because it bears no meaning to them and still are perfectly chilled friends. There is nothing wrong with that
The Decision-Making Pendulum
Gilles Lipovetsky