skysight-inc/HackerNews huggingface dataset:
>> Divest from China and diversify manufacturing sources

Who is this aimed at?

Major brands (apple, tesla, disney, etc.) are not going to divest from China. China is a big part of their future market, they hope. They're going to invest wherever their market is. Obviously they know that this comes with strings and risks attached. They will get sideswiped with rules, punitive or otherwise.

Authoritarian government action is just a risk, like any other risk. Apple might also lose their popularity. Disney might get There could be an economic downturn. These are all risks, and companies take risks. The reward is worth the risk, evidently.

On the manufacturing side... there probably aren't as many surprises in the cards. Whatever qualms are to be had were had decades ago.

On a side note, China is proof that 99% of chamber of commerce-ish "warnings" are nonsense. Investment goes wherever the market is, whatever the rules. The ccp could decree that all iphones must be red and starred as of next week. Apple would make red starred iphones, and Cook would make a public statement praising the wisdom of this regulation.
So you can't do that? I do it all the time when I fork something.
Am a firm believer that a billion dollar company (Saas, etc) can be run with very sane and simple stack:
- 1x web-server [$FOSS_or_COSS, iis] # COSS => commerical open source e.g caddy. nginx is both
- 1x application-server [.net, java, python, php, and all other langs. heck PERL too!]
- 1x database-server [$FOSS_or_COSS, sql-server, oracle, etc]
Virtualized or baremetal. Containers not necessary!
Increase it by 2 or 3 for HA if you so desire.

Engineering teams should aspire to advocate "We run this entire thing on these few resources vs our application runs on 26k nodes" The latter just means we've lost the plot and throwing money to solve a problem. Forgive my sarcasm here, but well done k8s&&containers!

Don't see any reason why FB can't run on the same comparative hardware as SO. I.e. replace the CCSS (commercial closed source software) bits with the FOSS/COSS ones. And when we take it in as a whole, this is much more greener/sustainable to work with.

Also, there is a legend out there that I heard of many moons ago :) ... THERE is a billion dollar company running on a single sql-server and single iis web-server
libav is a part of FFmpeg, and the heart of it. But FFmpeg isn't just a skeleton. Most decoders + protocols + demuxers / muxsers + filters + scaler + resampler are native components.

The most well-known 3rd party libs provide a few (albeit commonly used) video encoders. Of course, having interfaces for these external libs is what allows media operations to be consolidated into a single process workflow. As standalone tools, x264/x265 would be more cumbersome to integrate into a pipeline.
Thanks a billion! Probably you saved my Christmas holidays.
People with nice haircuts that produce nice looking documents and talk to the government for funding.

If the money funds technology that is still great!

But be very careful when a subculture becomes a platform for organizers who never did the actual work. Be it art or code or whatever.

The majority of people might have the best intentions.
The fear though is that we have here a nice breeding ground for sociopathic behavior in the open source space (for a narrow definition of sociopathic: https://meaningness.com/geeks-mops-sociopaths).
"Ethiopia's the most wonderful, misunderstood country."

It is still in the middle of a civil war right now, so not the best time to visit.
If there is a contamination then the risk is up to what contaminated them, but if they are just dried then the psilocin(1) breaks down eventually leaving you with just the psilocybin.

https://en.m.wikipedia.org/wiki/Psilocin
I don't know how you could oveethink this that badly.

It's about reading instructions all the way through if you're going to follow them.

If you throw out the instructions that's cool too, but sometimes reading all the instructions instead of discovering them as you go will help things go easier.

You might catch intent behind previous instructions that makes them easier to follow.
> Cars are designed to intentionally accelerate you to speeds that easily kill you

It's not the speed that kills you, it's the impact. Multifloor buildings are designed to help you live and work at a height that can kill you, and to prevent air entering and escaping which can kill you.

If you can assume that the risk of fire or collapse isn't worth mitigating against, why not assume that a car will never hit anything?
Is that so? Have you noticed which country is the source of this war against evil communist dictatorship? The US.

Now, let's take a step back and consider some facts

1. China has not attacked any country in a long time.

2. The champions of free speech and democracy have destroyed millions just this last 20 years.

Seems to me the villains are the ones screaming the loudest against their economic rival.

You really think any of this has anything to do with human rights?

You only hear the arguments of one side. At least acknowledge this simple fact, then go from there
Why is this being published by a press release company? Sightings of her plane, found whatever, pop up almost every year. This article is a bit light on substance, feels more like a slow news day.
or what if the revolution is lead by Robespierre?
Thank you Matt - your insight on thinking about yourself as a failure while being alone hit me quite hard, but also provided a piece of self reflection I did not have until now.

As for this experience being an opportunity and a challenge - I totally agree, even though it does not seem so ATM.

Let us both embrace this challenging-but-worthwile part of it, I guess, while also acknowledging the hard ones. Wish you love and peace as well along your journey!
Doubtful, Xi Jing Ping is hellbent on destroying the Chinese tech industry right now
Cross plateform make directory is trivial?
> Instead a lot of pol-sci majors that want to “manage” / claim developments they themselves would not have the skills to build

Very few geeks have the skills (or even the desire) to build a financially sustainable open source project. The projects that are financially sustainable, are often tied to corporate ownership, often one of the FAANG. Still, the work to build the financial and community framework for such a project is often valued at close to, or even less than zero - as your comment shows. There's a lot of talk in the open source world about funding, or rather the lack thereof. Still, comments such as yours downtalk every effort people invest as profiteering of open source work. Wonder why no one wants to do that work - it's thankless, hard, undervalued and underappreciated, even by the ones that would profit of it - the people doing the coding. Your comment is doing all efforts to provide funding for open source projects a disservice.
From what I read, the way mobile data roaming is designed is basically like a VPN that connects you to your own home provider. Thus if you're roaming in China you don't get the renowned GFW hospitality. That's why some local people use foreign / HongKong sim cards for GFW-less mobile data.
Any work, no matter how trivial, is eligible for copyright as long as it is an original artifact with a distinct identity.
“ Overcrowding during emergency evacuation can cause crowd stampede and trampling that will lead to serious injuries or fatalities. ”

https://www.sciencedirect.com/science/article/abs/pii/S09600...
Lines of code != difficulty.

There's tons and tons of different possible <20 line implementations for creating a directory + parents, many of which likely have subtle (or not-so-subtle) bugs.
If you're making a program today, you should be using some higher level framework or API than raw X11. If you program for Gtk or Qt, or make an OpenGL or Vulkan program, you mostly don't care about X11 or Wayland because i.e. Qt supports both.

You could use Xlib to program a client in pure X11, but that approach would have been outdated even 15 years ago. There's no good reason to do so today, even embedded systems often use Qt and there's good support for building embedded/Qt in Yocto. Most embedded devices that have any UI at all are likely powerful enough to run Qt, so I suspect there aren't many cases these days where you need to limit yourself to Xlib because of performance.
Per kilometer, yes.

But people living in the city in apartments within walking distance of their workplace go far fewer kilometers per day.

I spent a couple unfortunate years commuting some 160 km per day (by car). No one walks or bikes that far every day.
AS much as anyone, yes. Your total energy expenditure is reduced lose to the equator. And having un-inhabited/-developed area below the dangerous early stages of launch is a bonus.
A Concurrency Model for JavaScript with Cooperative Cancellation [pdf]
I think, in general, attempting to shape websites through search ranking has deleterious effects on search results. The ones most likely to comply are the worst, spammiest websites. The result is that you filter out websites made by people (who don't necessarily care about search ranking), and what you promote is the sort of content mills that do care a lot about search ranking.

For example, only about 25% of the sites I index use HTTPS. If you, like Google say "I want to promote HTTPS adoption by only indexing HTTPS sites", you are throwing an awful number of babies out with that bathwater.
Genuine question - is OBS set up so that all contributions show up there? Or is this the equivalent of a Patreon or something, where a large corporation doing large corporate things would instead write a check (or do a wire transfer) completely unrelated to this website?
I don't believe in an Abrahamic creator-God but I think the reading of Genesis on Apollo 8 is extremely moving. I don't interpret it as being particularly religious or Abrahamic. "Let there be light" is, IMHO, a universal notion of our strange existence in the cosmos. Maybe it means creation to some, the big bang to others. It's 3-4000 year old poetry (likely long predating the old testament in oral tradition).
This so much!

Plus there seems to be some serious interpersonal issues. Most well-functional organizations have enough "adults in the room" to anticipate and address this kind of stuff. That's what made companies like HP work so well, pre-2000. There was a meta-awareness and self-awareness built into executive management for that.
so take them to court.
Hard to tell, but it was consistently losing to the Soviet Union by most space-dick measurement metrics. Please don't see me as defending the USSR in any way, it's a widely accepted fact that the USSR was 0.5-2 years ahead in most milestones.

My comment was more in line to contradict the statement of "this country invented everything!" when obviously the Soviets had a strong know how that certainly didn't come from the US [0].

The man on the moon is what it is: an incredibly impressive feat with an objectively terrible risk/benefit ratio, but pulling it off makes it great for propaganda purposes. Once the US did that, the crewed moon landing programs in the USSR, which already had problems, were instantaneously de-funded, as the value of being the first was gone.

It's not casual that since the space race ended, rational thinking kicked in and 100% of surface exploration and analysis has been done with unmanned rovers and sample return missions. And in my opinion, unmanned missions are more impressive from a technical standpoint, but that's another topic.

This is an article on the subject that covers well the main reason why the USSR failed at what they seemed to be winning. [1]

[0] https://www.youtube.com/watch?v=TjDEsGZLbio

[1] https://www.forbes.com/sites/startswithabang/2019/07/11/this...
One can add their copyrights, relicense in some cases, but absolutely cannot remove existing copyrights. I don't think any FOSS license (save for the "public domain" ones) allow for that.
https://www.birgun.net/haber/erdogan-dogruladi-katar-emiri-n...

https://tr.euronews.com/2019/02/09/erdogan-tank-palet-fabrik...

https://www.cumhuriyet.com.tr/haber/turk-telekomun-satisini-...

https://www.aykiri.com.tr/aselsan-satildi-mi-aselsan-satildi...
Stairs can be made a lot safer for elderly people. One way is to put in landings every 3-4 stairs and change the direction 90 degrees each time. This way if you fall it’s not very far. You can also have very firm, easy to grasp handrails and thick padded carpet on the stairs and landings to soften them. Finally, for very frail elderly people you can install a chair lift so they can ride up and down instead of climbing the stairs.
You were allowed to remark on it here, you just didn't.
Bits is a rather poot analogy. Response to a transmitter is not a 1:1 relationship of input:output. In reality, the relationship is one on a sliding scale depending on protein expression and post translational modifications
I work in this field and I dislike takes like this, where individuals think they can speak for a whole group.

Also this “Having sensory processing issues doesn’t make you “a little autistic.” It makes you someone with sensory processing problems. Autistic people will understand your struggles and welcome you as a fellow neurodivergent cousin, but that’s it.

But in order for a person to be considered autistic, they must have difficulty in multiple categories spanning the spectrum.”

If someone says that they are ‘a little autistic’ they aren’t saying that they ‘are autistic’, they are just attempting to emphasize. Don’t destroy that by getting into a semantic debate.
Contrary to stereotypes, many men seem quite capable of both deep, loving devotion...and of enjoying various sorts of commercialized sex (strip clubs, "dirty" magazines, etc., etc.).

It makes for a lot of miscommunication and drama.
Yeah. I love that my car doesn’t do that when I remotely lock it. They thought it all through.
Depending on your database, perhaps a materialized view is in order?
You could read it as "either process all of these elements, or otherwise do this other thing". If we break, we're not processing all of the elements (the normal case), so we do the "else" part instead.

Edit: This is wrong. See replies.
You can do it! Most coding is algebra, algebra 2, maybe trigonometry. Focus on those and you will do wonderfully.

In game programming you would need linear algebra, but you can go a long way with just vectors, cross products, and dot products.
> Major brands (apple, tesla, disney, etc.) are not going to divest from China

Diversification is already happening - 20,000 foreign companies have left China in the last 4 years. Samsung, LG, GoPro, etc.

https://www.youtube.com/watch?v=lk6lkW4A7Ec

> China is a big part of their future market

The Unemployed and semi-unemployed might reach 300M+ people in China. Chinese consumer market is slowing down big time - Lost decades just like Japan

https://www.youtube.com/watch?v=lk6lkW4A7Ec
I hope that you do not count what happened in most Eastern European countries as communist or liberation revolutions.

There the communists were installed to power by the invading Russian army, even if false revolutionary and liberation histories were made up after the facts.

The few places where there were indeed communists fighting for liberation, i.e. Tito in Yugoslavia or Enver Hoxha in Albania, so they had some legitimacy, were precisely the places which later escaped from being under strict Russian control.

For Yugoslavia and Albania, what you say seems to apply.
Don't worry, we are. But it does seem slow compared to other tech industries
Best practices that get published/advocated are like gym memberships. works for some but not everyone. What does work though is knowing a team's culture (strengths/weaknesses) and tweaking that. It goes without saying that a best practice in one team at e.g Google will, with a high degree of certainty, fail at Amazon. Why you ask, simple ... tribalism.
I worked in Beijing at Microsoft Research in 2008 and at the time they had a fiber link to Japan that was completely uncensored and the fastest internet I had ever used at the time. Perhaps this is no longer allowed but it certainly used to exist.
Yes, very strong vibes of Daniel Suarez’s Daemon to this story.
I can recommend Tectonic (https://tectonic-typesetting.github.io/en-US/) as an alternative to directly invoking the LaTeX (or in this case XeTeX) compiler.

The build experience is magnitudes better than LaTeX or latexmk.
What's the advantage over the following?:

for i in range(n):
if search(i) == val:
break
raise KeyError("not found")
found_index = i
Not really at all the lesson IMO?

You could replace the call to `mkdir` with a `psql` call and have the same security hole. The primary issue is with using a shell/subprocess.

Maybe you could make the case that "there tend to be better in-language libs for dealing with databases than filesystems". Not sure that's true, even if it is it's sort of a secondary lesson.
She is missing the point of "a gradient". I.e. to know how much help or space someone needs without going into 7 dimensions of traits. Everyone can't be psychiatrists ...
> If, instead, we would build stuff in orbit it would be much cheaper and faster as you don't need origami like folding, high Gs resistance, and a malfunctioning piece can be replaced easily.

Are you sure it would be cheaper? Building orbital build facility would be so expensive. Housing staff to build in the orbit or investing in robotics isn't cheap (or possible) either. So it's cheaper to include hardening against high-G launches than build orbital facility for the amount of launches that need this kind of preparations.
> Meanwhile, the tragic loss of respect for scientific authority around the world

Governments and their figurehead „scientists“ like Fauci have rightfully lost all our trust by contradicting the nonsense and lies they spew and moving the goalposts every other day, under the weak guise of „developing/new knowledge“.
Interesting that it is almost certainly some kind of scam, yet they chose not to stay low key. Rather, they went with press releases, contract signing events, etc.

Maybe just a purposefully faked PR buzz "let's go viral" thing?

Edit: Ahh, so "pump and dump" seems to be the prevailing guess.
> want you to die.

I don’t know if you literally wish another persons life would end because they inconvenienced you in a purchase, but nether the less I wish this kind of language wasn’t used to trivially.
> As always, you have to balance the risk of a crazy trap-setting knifeman attack with the (opportunity) cost of building additional escape routes.

A "crazy trap-setting knifeman attack" is not the only scenario that results in a blocked exit trapping people inside the building in a life-threatening situation. Think about it for a second. Imagine, for instance, that a fire breaks out for any reason. Is this unthinkable? And how do you factor in emergency response personnel trying to go up the same stairs that are the only way out of people trapped in the building?

We should not forget past lessons for no reason.
>If, instead, we would build stuff in orbit it would be much cheaper and faster as you don't need origami like folding, high Gs resistance, and a malfunctioning piece can be replaced easily.

I am expecting still is much more cheaper to create bigger rockets then move the factories,the workers and everything they need in orbit.
Reminds me of this channel 4 [0] interview with writer Benjamin Zephaniah. Tbh I find his reasoning, go there and see for yourself, much more convincing than your reasoning.

Particularly this;

> when you're not willing to risk your life to understand and uncover the parts the government doesn't want you to see

Just reads like FUD, it's not China that locks up people at the highest rate on the planet. That "feat" is reserved to a country were nobody would say "don't visit there you might die!" even tho the chance for that to happen there is much more likely than in China or NK, where most police don't even carry guns.

[0] https://youtu.be/zowOkv0Cuhk
Copyright laws vary wildly across countries and jurisdictions
It doesn’t matter that it was an accident; it’s still a serious issue that needs to be corrected and deserves an upvote. It’s also quite curious, and I appreciate hearing about the incident.

Incidents don’t need to be malicious to be newsworthy or intriguing.
Possibly, but the problem with dichotomies is that they're dichotomous.

To the extent that they have teeth, anti-china nationalism, jingoism & anti-authoritarianism are very hard to distinguish. It has to do with motivations, and motivations are opaque, even to the first person.

I do think that the current anti-authoritarianism/jingoism is, currently, a stabilizing factor for the CCP. Most moderately pro-democracy person will get a whiff of the jingoism embedded within the anti-authoritarian "movement," and determine that these people are not their friends. Better to stick with the CCP than a faction where anti-chinese jingoism is indistinguishable from anti-ccp democracy motives.

China was authoritarian previously.
Some fields are insanely hard to get caught up that simply and quickly. There's such an immense amount of detail in biochemistry that it can quickly become overwhelming to sort through information to find what's really pertinent. I'm not saying it's impossible, but it is definitely a huge challenge
Agreed. I wonder about the bad things that didn't happen to me because I read about them on erowid instead, and recall fondly the ones that did happen to me because I read about them on erowid first.

Friendly reminder that they're community/donation supported.
I wouldn't say this is a "startup stage" scenario - once you have things as well documented as described you have either: 1) a late stage, nearly non-startup, or 2) you aren't really addressing anything innovative - you are just like any other existent company doing a project; the "startup" appellation isn't valid in the traditional Silicon Valley Tech Startup sense but you are no different than Starbucks opening a new location.
Well, LastPass is zero-knowledge, even if the databases are leaked, you are safe.

Companies are using these for their convenience (AD based access to passwords, without even knowing the actual pswds). Individuals can also have great benefits as they can shuffle their pswds, get notified about weak pswds, or breaches.
Does anybody know why reader mode on Safari shows only two divs towards the end of the article? For all the cool features the iPhone brings, I wish they focused more on getting this right.
Correct. You don’t own the code just because you forked it. The original copyright holders retain ownership, and you must abide by their license. You can’t swap out the license unless they explicitly allow you to do so.
Default values for keywords are saved as part of the function signature itself, at function definition time.

Without this it’s not clear how you’d introspect the default kwarg values of a function? Would they be computed every time the function is inspected? If they are lazy then what if the default value is expensive to compute or has side effects?

So I would not say it’s a horrendous decision, it’s a clear trade off that IMO fits quite well in the Python ethos - everything is an object, and everything can be introspected.
Well done, you completely ignored the actual argument in order to resort to ad hominem, while ignoring the fact that the first source doesn't use the US as the major comparison point, while also making evidence-free statements such as "westerners spreading lies". Exactly as I would expect from you.
https://archive.ph/wVtJO
It's so not criminal that plenty of hi-rises in the UK still have flammable cladding. If it were criminal, the people who put it on there would be in prison.