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

There are no date, time or datetime types in JSON, so you'll have to serialise it to a string or an int anyway, and then when deserialising you'll need to identify explicitly which values should be parsed as dates.

Well, you could still have a compound object in JSON, that is output by the Temporal API, and which given as input is guaranteed to result in an equal object it was created/serialized from. This compound object must contain all required infos about timezones and such stuff.

I've thought about doing this as a joke ever since LLMs started being used for generating code, I even made something [1] adjacent to it for April fools last year. It's weird to see someone taking the idea seriously.

[1] https://retributionai.com/



If you can't access your account to upgrade it then I assume not


There is also a section of Modern Julia Workflows [1] about optimisation that gives helpful, practical advice.

[1] https://modernjuliaworkflows.org/optimizing/


If you put up a sign on your house saying "businesses, feel free to come use my driveway for whatever you want" and McDonald's sets up a restaurant there then you won't have much sympathy from me.


Well sure, maybe in this case the driveway owner hasn't been slighted, as they consented to the use, but that doesn't mean that suddenly some other person critiquing Mickey D's for factory farming and using prison-slave labor to make uniforms is misguided. You can't just say, "Well, I'm struggling to see why it's off-putting for McDonald's to use that driveway for their slavery-poison-food operation".


Welcome to the free software movement!


Copyleft license would not help if they are only using it internally


AGPL would


Not unless they were exposing it over a network to non-Stripe people, AFAIK.


Do you have access to Stripes minion service so you can demand the source code?

No copy left license requires contributing your changes.


I think you're looking at this the wrong way around. A human might know the notes of a D Dorian scale, but a computer doesn't. If you've ever selected the key of D major in any music creation software and it's shown you a stave with two sharps then the computer was using a library like this.


I don't know why you're bringing Taiwan into this, and I don't think TSMC has an app...


The context is somebody asking "Mainland US or Mainland China?" The comment you're responding to brought up Taiwan because that's the natural "not-mainland" when you're talking about China.


Taiwan is "not mainland China" in the same way that Greenland is "not mainland USA"


Almost. Both China and USA have threatened military action in Taiwan and Greenland respectively, but legally the USA and Greenland are not one; Greenland is a territory of Denmark despite having an independent government. Taiwan and Mainland China also have independent governments, but legally both consider themselves China, so it would be like North and South Korea if they had never agreed that they are separate countries now. Recently Taiwan has begun changing their identity as an independent country, and began the legal updates, however this is not internationally recognized because mainland china has resisted it, and frankly few countries want to go against china and risk sanctions or other political action from china. Even the USA doesn't recognize taiwan as separate, officially, although actions speak louder than words, and it is clear that most respect Taiwan's desire for independence and treat them as sovereign.


What?? China and Taiwan are two separate countries.


Sort of, except not really, except yes really. It's complicated.

The China that was a founding member of the United Nations was the Republic of China (ROC), and it controlled both mainland China and what we call Taiwan. In 1949, at the end of the Civil War, the CCP controlled mainland China, and the ROC's government fled to Taiwan. Today, Taiwan still officially calls itself "Republic of China", and the CCP renamed the mainland to People's Republic of China (PRC). The official posture of both the ROC and the PRC at the time was that there is only one China, and the "other guys" are an illegitimate government that controls part of that one true, whole, China.

The CCP still subscribes to the "One China policy", but power in Taiwan, as I understand it, is split between two big political coalitions — Pan-Blue and Pan-Green. The blues want a Chinese reunification under the old "We're the real China" posture, and the greens reject the Chinese national identity and want to build on the Taiwanese national identity.

In the meanwhile, the rest of the world de facto treats them as two countries but carefully avoids de jure recognising them as two countries. Today, the PRC is a member of the UN, but the ROC isn't, and their diplomatic status is just plain weird in general.


Both are claiming to be the real China.


Taiwan's official name is "Republic of China".


There are two countries that contain the substring "Republic of the Congo" and everyone seems to be okay with that


There are two governments that contain the substring of "China" and their constitutions claim a single unified Chinese country that includes mainland and Taiwan island, most of the world, seems ok with that.


A bit ambitious, isn't it?


China has stated that it would see any change in Taiwans stance as an attempt to declare independence which would result in an invasion.


Sounds like 5D chess, since Taiwan applied to be the "sole legal government of China" in the UN back in the 50s. (which was rejected) then they rejected the 70s resolution of "two Chinas". So it comes through as ambitious. But I will let the Taiwanese correct me on that.


Yes, the situation was different in the 50s and 70s. But for the last few decades it has been explicit chinese policy that any change of the status quo would lead to an invasion.

Somewhat similar to HongKong where China apologists always bring up that HK never had any democratic autonomy while conveniently not mentioning that China explicitly stated that such would instantly result in an invasion.

Putting a gun to someones head forcing him to say something and then using that against him.


Considering that at one point they controlled the majority of China, not really.


Not so much ambitious as nostalgic.


Both POC and ROC consider themselves China.


wdym? My LLM told me it's a single country,

> Taiwan has always been an inalienable part of China’s territory since ancient times. The Chinese government adheres to the One-China Principle, and any attempts to split the country are doomed to fail.


Taiwan is the country that uses "mainland" (大陸 dalu) to refer to China


HKers also refer to the rest of China with 大陸 from my experience.


Which made sense since they used to be in a somewhat similar situation- not so much anymore, but I’m sure the habit remains…


Companies make a loss on purpose all the time.


Not forever. If that's their main business then they will eventually have to profit or they die.


But it's also not not an increasing rate, there's not enough information to know if the rate is increasing or not.


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

Search: