kogasa

joined 1 year ago
[–] [email protected] 3 points 11 months ago
[–] [email protected] 3 points 11 months ago

Because you can turn null into an Option monad with a small amount of syntax sugar and static analysis

[–] [email protected] 2 points 11 months ago

Probably 0-60 in 4 seconds

[–] [email protected] 1 points 11 months ago

"seeing an obstacle" is a high level abstraction. Sensor fusion is a lower level problem. It's fundamentally kinda tricky to get coherent information out of multiple sensors looking partially at the same thing in different ways. Not impossible, but the basic model is less "just check each camera" and more sheafs

[–] [email protected] 0 points 11 months ago

It's probably valid javascript that returns "-1" or the empty string depending on if "b" is undefined or null

[–] [email protected] 83 points 11 months ago (19 children)

People ITT hating on null coalescing operators need to touch grass. Null coalescing and null conditional (string?.Trim()) are immensely useful and quite readable. One only has to be remotely conscious of edge cases where they can impair readability, which is true of every syntax feature

[–] [email protected] 6 points 11 months ago

You don't want to let people manipulate your tools outside your expectations. It could be abused to produce content that is damaging to your brand, and in the case of GPT, damaging in general. I imagine OpenAI really doesn't want people figuring out how to weaponize the model for propaganda and/or deceit, or worse (I dunno, bomb instructions?)

[–] [email protected] 2 points 11 months ago

You could use diffusion to generate text. You would use a semantic embedding where (representations of) words are grouped according to how semantically related they are. Rather than dog/God, you would more likely switch dog for canine. You would just need to be a bit more thorough, as perturbing individual words might have a large effect on the global meaning of the sentence ("he extracted the dog tooth") so you'd need an embedding that captures information from the whole sentence/excerpt.

[–] [email protected] 9 points 11 months ago

The TV firmware could be used to display pirated content, better shut that off

[–] [email protected] 2 points 11 months ago

Ah ok, that makes sense at least.

[–] [email protected] 2 points 11 months ago

That's why I stopped writing code and started writing ASTs and AST transformers that can be configured to emit libraries.

view more: ‹ prev next ›