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

Only in the case of open source code

Lies are not protected by the 1A.

Yes they are. There is case law about this.

You may be thinking of defamation or fraud, both of which require more than lying.


lmao what's going on? hn cucking to meta pressure?

Most of the components are from Western countries. Seems like a lot of leverage.

Where do you see issues enforcing license terms?

The fact that they've hosted it on GitHub means they've agreed to GitHub's terms, which allows them (via OpenAI) to train on the code.

Also it's pretty hilarious to vibe-code a library that clones another library that someone has spent decades of work on, and then try to prohibit people from using that LLM output as training data for an LLM.


> I was reading earlier today about the mess they made of booleans

Can you elaborate on that?


It's not entirely fair.

Prior to 2.3 Python didn't have booleans, just "truthiness". In 2.3 they added the Boolean class as a subclass of int (because of patterns of development it was a pragmatic choice). True and False were introduced, but they were able to be reassigned which could cause all manner of fun. 3.x made them keywords which put a stop to that but the int aspect remained.


He did - booleans are integers:

  >>> isinstance(False, int)
  True
A related screw-up is implicitly casting everything to bool. A lot of languages made that mistake.

Overall I'd say they didn't do an awful job though. The main problems with Python are the absolutely abysmal tooling (which thankfully uv fixes), the abysmal performance (which sometimes isn't an issue, but it usually becomes an issue eventually), and the community's attitude to type checking.

Actually type checking code you've written yourself with Pyright in strict mode is quite a pleasant experience. But woe betide you if you want to import any third party libraries. There's at least a 50% chance they have no type annotations at all, and often it's deliberate. Typescript used to have a similar problem but the Javascript community realised a lot quicker than the Python community that type hints are a no-brainer.


Because Python decided that (for the usual New Jersey reason, simplicity of implementation) bool should just be an integer type the Liskov criterion comes into play. If we can X an integer and we've agreed bool is an integer => we can X a bool. That's not what booleans are but hey, it's sorta close and this was easier to implement.

So, can we add two bools together? Adding booleans together is nonsense, but we've said these are a kind of integer so sure, I guess True + True = 2 ? And this cascades into nonsense like ~True being a valid operation in Python and its result is true...


Out of curiosity, I tried running `~True` in a Python 3.14.2 repl and got this output (the -2 is part of the output):

>>> ~True

<python-input-1>:1: DeprecationWarning: Bitwise inversion '~' on bool is deprecated and will be removed in Python 3.16. This returns the bitwise inversion of the underlying int object and is usually not what you expect from negating a bool. Use the 'not' operator for boolean negation or ~int(x) if you really want the bitwise inversion of the underlying int.

-2


Yes, the article I was reading was about proposals to er, undeprecate this feature. Reasoning that well, sure it's obviously a footgun - but it works for integers and we've said bools are integers so...

This is actually useful in pandas. It enables asking questions like "what percent of cars get greater than 40mph?"

> So, can we add two bools together? Adding booleans together is nonsense, but we've said these are a kind of integer so sure, I guess True + True = 2 ? And this cascades into nonsense like ~True being a valid operation in Python and its result is true...

The bitwise negation is indeed janky and inaccurate, but True + True = 2 is absolutely a valid thing to say in boolean algebra. Addition mean "or", and multiplication means "and."


> True + True = 2 is absolutely a valid thing to say in boolean algebra

Nope. The Boolean algebra only has two values, and it lacks the addition operation entirely.


I always remember learning that 2 was a legit enough way to represent the result of 1 + 1, but the internet seems to agree with you mostly. Though I contend that 1 + 1 = 2 is unambiguous, so is fine.

But multiplication and addition do work just fine for boolean arithmetic: https://en.wikipedia.org/wiki/Two-element_Boolean_algebra


Huh, I learn something new, I was not aware of "Two element Boolean algebra" nor just how deep this particular rabbit hole goes.

It's fine that 1 + 1 = 2. That's just integer arithmetic. The problem is that the booleans are not "just integers" and so Python's choice to implement them as "just integers" while convenient for them has consequences that are... undesirable.


Vibe coding was a mistake...

Link to the Netflix threats?

https://truthsocial.com/@realDonaldTrump/posts/1161110738408...

You're probably thinking, that's not so bad. He didn't even threaten to invade an ally or call this overqualified black woman "low-IQ" like he often does but to any time traveller flung forward from just a decade ago, this is indistinguishable from Idiocracy.


I hope something really comical happens, that cannot be explained away by a bully, like Texas turning blue.

I just voted blue in Texas today, so we'll see. But, probably keep your expectations low(ish).

Early vote turnout in Texas outpacing past elections, fueled by Democratic primary voters - Texas Tribune https://www.texastribune.org/2026/02/25/texas-early-voting-t...


Would it be the Senate seat that would be jaw dropping? Or what exactly should I follow?

James Tallerico is seen by many as a bit of a bellwether for how Trumps coalition with the religious right will hold. He's a Presbyterian minister who makes quite a big deal out of opposing Christian nationalism. If he can win Texas it would signal a lot of trouble for MAGA and Republicans in general.

Can you elaborate what you mean?


He means that he agrees just to bait a new, better deal.

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

Search: