Hacker Newsnew | past | comments | ask | show | jobs | submit | more jacknews's commentslogin

"What the US needs from China: Some legacy manufacturing (toys, furniture, textiles—annoying but replaceable over 5-10 years)"

Is this some Trumpist unreality propaganda? Hello solar panels, just for a start.


Does china even do much textile manufacturing these days? I thought that moved to poorer countries


> I thought that moved to poorer countries

garments yes, a lot, but not all by any means.

textiles (weaving, etc), less so.


magnetohydrodynamics (MHD)?


skibidi toilet anyone?

then, as they say, gumball, but also adventure time, gravity falls, spongebob, courage the dog, bare bears, teen titans, ..., there's plenty of engaging content if one let's kids explore and watch what their friends are watching instead of only parent-approved safeware.


"When handling large CASE WHEN statements, it is better to create a dimension table or view, ideally sourced from the landed table where the original status column is populated."

Is this code for 'use a lookup table' or am I falling behind on the terminology? The modern term should be 'sum table' or something similar surely.


"Dimension table" is the name for lookup tables in a star or snowflake schema.


TIL, Thanks.

'Landed table'? Is that the 'fact table', the one that contains the codes that need to be looked-up?


I'm pretty sure the landed table refers to the local copy of the original source. In an ETL* pipeline, the place where source data is stored for further processing is usually called the landing zone. Fact and Dimension tables are outputs of the process, whereas the landing tables are the inputs.

* in whatever order they're used


but sometimes large case statements cant be turned into a simple dimension table/lookup table because it's not a simple key-value transformation.

if your case statement is just a series of straighahead "WHEN x=this THEN that", you're very lucky.

the nasty case statements are the ones were the when expression sometimes uses different pieces of data and/or the ordering of the statements is important.


What I read is they hacked wallets that had the 'Milk Sad' vulnerability (predictable private key), but I'm skeptical as that's an old CVE, IMHO it's more likely an infrastructure or communications hack or a wrench attack - the suspect is now 'missing'.


A bit conspiratorial to think the DoJ "wrenched" the keys out of the suspect, especially since the suspect is now missing


Of course it is, OTOH the nature of this 'enterprise' has been visible for quite a while now, and I'm sure, investigated quite intensively (by more than DoJ), and 'missing' only means that the general public doesn't know where he is.


My 16yo son did exactly this over the last week as part of his Rust minecraft mod manager, using http range requests to get the file length, then the directory, then individual file data.

I'll dig up a link.


No, some Cambodians are seeing a very sizeable benefit, probably the standard 20% that the leading family cream off of any major investment in the country.

And BTW it is not just the Chinese, there are innumerable other operators, including a whole bunch of smaller 'startups'.

They operate because Cambodia openly accepts it, and takes a cut, not because they are somehow so clever as to disguise the real business being conducted in closed-up apartment blocks.


And this isn't the only one.

The ruling family in Cambodia is a big part of it, via their ownership in HuiOne (now renamed), which is essentially the clearing house for the 'industry'.

In fact the Thai-Cambodia border conflict is due to this industry, and a breakdown in the relationship between Thai and Cambodian leaders over it, with the wiley cambodian leader yet again provoking the sensitive border issue for political gain.


No, it was a "Russia invading Ukraine" sized miscalculation. The "wily" Cambodian leader's military got their asses handed to them by the Thai army, and Cambodia is suffering a lot more from the still ongoing border closure than Thailand is. Remittances, tourism, trade, you name it, it's all in the doldrums. (Good time to visit Angkor Wat if you can swing it, though.)


I'm living in Thailand and been following scam centers for years now. It's 100% the scam center fallout mixed with regional politics.

Cambodia is fully commited to scam centers and Thailand doesn't like that and even reached out to Xi directly for cooperation here. Not even a year later the conflict broke.

Finally, cambodia is not suffering at all and if anything the current dictator has become significantly stronger and the country has been on a huge nationalist rise as the dictators control the scam centers and easily repurpose them for online propaganda.


Cambodian people are suffering, no doubt about it, but what you say about the surge in nationalism and entrenching his position is certainly true; the 'leadership' has only gotten stronger.

It's surreal how Cambodians are blindly, even passionately, following the government narrative of evil rapacious Thailand invading innocent peace-loving Cambodia, when there is strong evidence showing it was Cambodia provoking the issue to meddle in Thai politics, but there is such deep-seated pride (on both sides I think) that truth is disregarded.


The history here is very clear. Hunsen (the current dictator) jumped ship during pol pots cleanse and came back with Vietnamese and got installed as a savior dictator. Cambodia never had freedom of press or education since then and Thailand "stole our culture" has been thought in school curriculum ever since. It's hard to feel anything but pitty towards Cambodians as resisting this amount of authoritarian brain wash is almost impossible.

What is making things worse is rest of the world abandoning Cambodia which justifies scam centers profits as there no other source of income. Cambodia is right next to relatively rich Thailand but has nothing to show - its easy to see how nationalism explodes in such conditions.


Partly true, but let's be clear about who is being indoctrinated about culture.

Khmer culture is basically an offshoot of the original Hindu, and then Buddhist culture from India. The language is the 'latin' of the region and based off sanskrit, and all the temples in the region are modeled on Hindu temples (representations of mount Meru).

Tai people came from SW China and colonized, if not assumed, this extant culture, and also of course intermingled and whatever.

So both populations share a deep and long history and are closely related.


Well said, I actually live on the border province Trat as an expat from Europe and Thai-Cambodian relationship in the real world is actually quite nice. We work and party together and share many aspects of cultural identity going way back as you correctly pointed out.

The bad blood is completely manufactured here and as someone who works in IT the power of information control has never been as apparent as it is today.


Militarily you are right, but remember war is politics by other means.

Thailand's Thaksin is now in jail and his daughter, basically his avatar, has been removed from government. Mission accomplished.

And to get a sense of how powerful this scam industry is in the country, the latest news is of a young Korean murdered after being kidnapped by a scam gang. Korea has responded forcefully, calling out the danger, yet the Cambodian press is now full of accusations that Korea is defaming Cambodia, that they are just as guilty of human-trafficking Cambodian brides, that some Koreans who were 'rescued' from a scam center don't actually want to go home, that the international press are unfairly treating Cambodia ... you know the story by now.


>> that they are just as guilty of human-trafficking Cambodian brides, that some Koreans who were 'rescued' from a scam center don't actually want to go home

They don't want to go home because they fear the Chinese criminal gangs would follow them home in South Korea where they were recruited in the first place by Korean-speaking Chinese for debts they accrued while they were held captive. Others also fear they could also be held liable for participating in their fraud -- even if they were forced -- not because they love getting beaten.


Yes of course, but this claim is a response to Korea's claim that they are 'missing', presumed trafficked to scam compounds.

Cambodia is claiming they are 'detained' by immigration, and refuse to leave, making it sound like the Koreans themselves are the problem, trying to deflect from the real issue.


It's one product, sure.

Arguably more important is standard time.

Before the railways towns ran on local-noon time, so the railways and their timetables required time to be synchronized across regions.


The most important product a train system offers is getting you from A to B.


The GP is referring to the very early days of railway - only in 1840, the railway emergence led to standardized time [1] to make drafting timetables and schedules easier.

The benefits and downsides are something that we still experience two centuries later, all thanks to the railways.

[1] https://en.wikipedia.org/wiki/Railway_time


And yet, the most important product provided by the railways is getting you (or stuff) from A to B.


maybe code should be stored with no formatting, only the required whitespace, and the editors/viewers are responsible for applying formatting. Then formatting will never cause confusion in diffs.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: