skysight-inc/HackerNews huggingface dataset:
The era of code generators is likely to user-in an era of legal work surrounding them.

I was just thinking about this before reading the announcement. Part of our work is in aerospace; hardware and software being a part of that. All of it goes through layers-upon-layers of design, testing, verification and qualification for flight.

In my mind I saw this scenario where something happens and it ends-up in the courts. And then, in the process of ripping the code apart during the lawsuit, we come to a comment that changes it all. Something like this:

// Used Amazon CodeWhisperer to generate the framework of this state machine.
// Modified as needed. See comments.

That's when the courtroom goes quiet and one side thinks "Oh, shit!".

What does the jury think?

They are not experts. All they heard is you just used AI to write part of the code for this device that may have been responsible for a horrific accident. Are their minds, at that point, primed for the prosecution to grab onto that and build it up to such a level that the jury becomes convinced a guilty verdict is warranted?

Don't know.

Does this mean we have to be very careful about using these tools, even if the code works? Does this mean we have to ban the use of these tools out of concerns for legal liability?

Personal example:

A year or so ago I wrote a CRC calculation program in ARM assembler. It could calculate anything from CRC-8 to CRC-32. This was needed because we were dealing with critical high speed communications and there was a finite real-time window to compute the CRC checksum. The code was optimized using every trick in the books, from decades of doing such work. Fast, accurate, did exactly what it was supposed to do. In production. Working just fine.

I was curious. A couple of weeks ago I asked ChatGPT to write a CRC-32 calculation routine given some constraints (buffer size, polynomial, etc.). It took a few seconds for it to generate the code. I ran it through some tests. It seemed to work just fine.

That's when the question first occurred to me: Would it expose us to liability if that code were to be used in our system? I don't know. I have a feeling it would be unwise to use any of it at all.

Wouldn't it be funny, interesting and perhaps even tragic if we had to have "100% organically-coded" disclaimers on our work in the future?
The reductive take on why LOOP is liked in this post really speaks to the ability of LISP crowds to eat themselves. Holy crap at the amount of condescension that can be felt. To quote, "It seems to me that the principal advantages of the LOOP syntax are that some people are used to it
already and that some small number of people think that it is cute."

Cute? I think it is rather expressive and does a good job fencing off areas of the code that are likely to be expensive. Is it required? Of course not, but the downsides listed in this post are... no different than claiming something as "cute."

I can almost buy that reading non-LOOP is faster. The problem, of course, is that for a lot of places reading the LOOP /should/ be done slower. That or taken as a bit of a given in the larger code.

This is one of the things I loved about the FORMAT macro. Quoting https://gigamonkeys.com/book/a-few-format-recipes.html, "[moving to expressions] is not too bad, but anyone reading this code has to mentally parse it just to figure out that all it's doing is printing the contents of list to standard output. On the other hand, you can tell at a glance that the following expression is printing list, in some form, to standard output"

That is, yes, it can take more effort to figure out what the loop is doing. But often that is something that is going to take more effort anyway.

So, rather than build on familiarity of some in the crowd; the new folks shoulder their way to the table and tell everyone that what they are familiar with is bad. And they should feel childish for liking cute things... Congrats for killing your crowd.
You have to trust their clients, since they are not open source. I agree with that.

Still this project in particular seems nice. Why couldn't Signal deploy a similar thing, for instance?
I've seen multiple things be deprecated while at Google and I can say that the things I saw killed from the inside (because it was a product I worked on) in the past 5 years were either not being used by many users anymore or had an alternative that had similar features instead.

So if you depended on it, you could depend on something else. And if it was successful, it wasn't canceled.

I didn't work on Stadia but I imagine that it was a huge waste of money for the company for the relatively few users it had. If they could have offered a good subscription based service like Xbox Game Pass or Apple Arcade I'm sure it would have more users. But getting access to content would be very expensive. At least they refunded consumers' money for the games they purchased.
Crime - and SF crime specifically - frequently gets discussed on HN when crime-related stories make it to the front page. You're not paying attention if you think the site has a zero-tolerance policy for it.
Supabase Auth Engineer here, also happen to be one of the Python library maintainers. We're looking into a more general approach for "server-side" languages such as Python, Ruby, etc but at the moment the python library is still community supported.

Do you mind sharing more about what you're building and the features of Supabase which would be most important to you?
I think currently the only browser that supports JPEG-XL is PaleMoon - http://www.palemoon.org/ - a hard fork of Firefox.
iOS and Android allow apps to process push notifications before displaying them.
Your comment borders on defending violent crime and murder. As if stabbings are part of San Francisco's quirky, artsy past, and the people that live here should think of violent crime as character-building.
This is hilarious because Peterson explaining Bionicle lore is not that far removed from how he rambles on about mythology
>lab hours - but you can actually get that if you really want it

Where, exactly, are you going to get wet lab experience without a degree
Point 11 surprised me. Not the “go” thing but the “where” syntax – I wish more languages had it!
Thanks for providing your translation. It's sadly ironic I found TFA basically useless given it was likely written by someone with "communications" in their job title.
First off-- Nima is a person of interest. It doesn't mean he's guilty of anything. Even if they were in a car together, argued and Bob left the car and walked it doesn't mean Nima killed the man.

I assume (and hope) the police have more solid evidence like a fingerprint on that knife or Nima's own blood/DNA at the scene or on the knife as is common with stabbings.
Yeah I really agree about MS Office + PDFs. I just want to find some online service:
1) where I can put the proposal (and where can the client download it from)
2) where the client can view the proposal without downloading (as I think it saves a lot of time)
3) and, may be, where the client can make some comments or leave some questions

I don't care about someone steals the proposal I just want to give my clients and my team the best way to communicate.
pretty sure the mentally ill and "poorest folks",as you say, have "colonized" every part of the city. this logic is a two way street.
The best complete prompt we have for that is the source code, so I think not.
You, sir or modem as the case may be, just made my day.
First, I think that calling attention to our tendency to avoid difficult things is a really good call. This mindset extends to almost everything in life, and can have serious consequences. Relinquishing this dislike of discomfort is at the center of many contemplative practices for good reason.

> And I am not sure the behaviors are so much collective + self-harming as they are individual + collective-harming.

I would argue that the behaviors are both. One gives rise to the other, and the other reinforces the former.

They are collective + self-harming because the collective behavior lulls the individual into a sense of "I don't need to think about this either". The end result is an action taken without an understanding of the consequences, even if those consequences may eventually kill me.

They are self-harming + collective because the individual who is aware of the impact but chooses to engage in it anyway is now doing so in spite of the knowledge. And that stance is also exported to the collective - "The people who have thought about this are still charging ahead anyway, so I might as well".

> we might not be meeting people where they are (which is probably important if we want to change their disposition)

Meeting people where they are is something that I care about, and I think it's a good mindset to apply to issues like this. With that said, it's not clear to me which aspects of the conversation here aren't meeting people where they are, and how the semantic distinction (if it exists) clears that up.

How can we repackage this more clearly to meet people where they are?
https://www.ksbw.com/article/alix-tichelman-indicted-for-2nd...
The issue is not that "it can't be both". I personally think SF does have a serious crime problem that is not being properly addressed.

But all the comments, tweets, etc immediately came out blaming SF government and SF's general crime problem specifically for Bob Lee's death. Like they couldn't just wait a teeny bit before forming an opinion after more facts were known? Especially from the crowd that prides itself on "logic" and "data driven" decisions.
So from what I've seen pinecone db can't handle more than 700 dimensions, but OpenAI's embeddings model has around 1500 dimensions. Are people expected to perform dimensionality reduction to use popular vector databases?
Better yet, use straightforward antitrust to go after the bundling of content hosting with software to display the content. Using "third party" independent clients to display user content from Youtube, Twitter, etc should be a widespread practice, at which point those independent clients can present the service's recommendations (while controlling exactly what data points are input to them), and/or create/display their own recommendations entirely.
I'm not sure what you mean. It's not unheard of.
Rogan is always the first one to be used as input/demo for this stuff.

I have a feeling it's going to remain the trend for every new AI tool.
I imagine SF feels probably fine coming from another American city. But if you moved here from Seoul, it would be terrifying
What are the use cases?
Lisp is good

"hellp world" being a 784k exe is bad
If talking to an ai is the cost of not being put on hold for 20 min for the simplest request so be it. Honestly I welcome ai customer service. Most of the time it's just something super simple i want to do.
There are other tts projects that run faster but if you want quality:

https://github.com/neonbjb/tortoise-tts

Follow the instructions for adding a new voice. Once your voices are added, have ChatGPT generate a conversation between the voices. It isn’t difficult at that point to generate a video displaying the current speaker synced with the audio.
Hard to prove if they use it anyway
I didn't ask you to throw anything away.
Honestly the current inequalities are already pretty striking.
Even within the rich western world.
> an unrecoverable bug should perhaps instead log and then terminate

For an application, sure that can be fine.

One needs to be careful in a library, because it is not always the case that what seems like an unrecoverable error to the library author is always unrecoverable for the application.

Consider a library designed to retrieve process information from "/proc". I could very easily see a library author concluding that if "/proc" does not exists that is an unrecoverable error worthy of termination. After all, in that case, the library is useless.

The application that wants to use the library may strongly disagree, and may be expecting that /proc might be unavailable in some locked down environment in which it sometimes runs, and has some fallback it can use in those environments.

If you return a error the application can easily fallback. Otherwise you are forcing the application to do something like check for /proc existing before even calling your library.

A library with global state may assume that if some invariant of that global state fails to hold (and this got detected) that this should be treated as unrecoverable. And well this one can also vary. Sometimes having the process die here can be the right approach, especially for certain development scenarios, since this means there is either a code bug, nasty undefined behavior, or possibly a compiler bug going on.

But depending on the nature of the library it might be possible that there is a sensible way to reset things without bad side effects, in which case, it could potentially make sense to return an error indication that the application could potentially handle by unwinding to a state where resetting your library is sensible, and then resetting it.
I am not surprised at a rural area where babies are rare.

The thing is opportunity is generally far greater in the cities. People who aren't failures will generally move to the cities, the rural areas have few people of an age to be reproducing.
PureScript also has the huge advantage that it's trivial to build "something". When teaching Haskell, I'm never sure what to build as an example. CLI tools aren't attractive, making a webserver is complex, and so is making a native UI.
Of course you can use GHCJS, but at that point, why not just teach PureScript in the first place?
It's not all "AI generated music", which would be kinda cool if it were any good. It's the opposite of that: it's AI generated remixes of existing songs, designed to piggyback off the popularity of another artist.

It would be awesome if AI were capable of doing away with singers, songwriters, producers, musicians, etc. by creating its own innately popular music from scratch. That doesn't seem impossible to me.

I know that a lot of HN readers would love to do away with "imaginary property". And it seems to me the best way to achieve that would be to make it truly zero cost to generate. Making paste-ups of somebody else's work isn't really zero cost; it's just taking advantage of somebody else's work.

So I'd think the best way to end the dominance of the *AAs is to cut them out entirely. Let the AI generate music. For real.
Personally I love this new AI voice content booms. My favorite is the AI presidents discussing/playing/rating stuff [1], Attenborough narrating warhammer [2].

While slightly silly, I think in future people might start to take internet way less serious when you can literally make things up. Which I think is a good trend. People getting depressed or so consumed by the internet culture that they loose all interest in the real world have been a trend I've disliked. We might be just going back to the time of early, anonymous internet forums time where most people used to it just didn't take it too seriously, and a lot of communities were closed /invite only.

[1] https://youtu.be/IkaAZE_UGMo

https://youtu.be/q6ra0KDgVbg

https://youtu.be/iAq-yg72GWw

[2] https://youtu.be/X6RCLJ4pDaw
Yep, command queues are basically how drivers have been for decades now anyway. It just happens to be more widely exposed in user-facing APIs now. If you can call them user-facing APIs. They are hard to use and get right, and nobody writes directly against them. Instead it's best done through a higher level API (eg. an asynchronous system call API) or even higher level through not even knowing about it (eg. modern game engines).

Modern caches are heavily pipelined in order to saturate links and well, as you probably know, games are 1-2 frames behind but do tens of thousands of GPU operations per frame. I guess we can even add modern CPUs to the list? Eg. certain operations cause a pipeline flush just like some rendering operations can cause the same thing, under certain circumstances.

I just found this article about the graphics pipeline from 2011: https://fgiesen.wordpress.com/2011/07/02/a-trip-through-the-...
Not quite the same thing but I've heard of people putting "A Duck" in their designs, which is a superfluous design element that is included solely for the purpose of letting a micromanaging superior remove it so that they can feel like they contributed to the design.
https://blog.codinghorror.com/new-programming-jargon/

But whether it's a duck, anchor, strawman, whatever you call it -- the risk with proposing an obviously bad solution to make the good solutions look better is that every once in a while they'll pick the bad solution. I think it was a talk by Mike Monteiro where he explicitly cautioned against using this approach because it tends to backfire hilariously at the worst possible moment.
Here is another one: https://www.youtube.com/watch?v=xbxE_qODnKA
Why wouldn't a homeless guy take his wallet?
If you live in the Bay Area it is easy to conclude from local observations that this is a wet winter but not exceptional. However, in the southern part of the state it has been a record wet season. See for example https://cdec.water.ca.gov/cgi-progs/products/PLOT_ESI.pdf vs https://cdec.water.ca.gov/cgi-progs/products/PLOT_TSI.pdf
> I do have the expectation that levels of exposure would not be that much worse than today

I would expect that in 2023 everyone would know how to search for "literacy rate in 1900" in Google (or Bing if you will) instead of asserting your flawed expectations and wasting everyone's time.
Learning to Stop Pretending That I’m Okay (Or, Finding Relief in Acceptance)
Gravity is a force that attracts two massive objects. While that statement is true, it is completely irrelevant to the Bob Lee case. People using this tragedy as an excuse to flog their favorite scapegoat is disappointing.
I don't think you ever been shot at, had you? I had, and being in shock first thing I did when called 911 was shouting the name of perpetrator for close to a minute, before I realized they already know who may have killed me, and now its actually time to tell them what's happening with me.

Again, it doesn't seem normal to say "someone shot me", if you know WHO shot you.
> "working on yourself" is left unclearly defined

The things people have been talking about in this thread. Get in shape. Consider improvements to other aspects of your appearance like hair, skincare, and clothing. Work on your personality by developing hobbies that get you around the kind of people you want to meet, make conscious effort to improve social skills.

> the assumption that you have to "work on yourself" before you can get in front of other people (apologies if that wasn't what you were insinuating but I've been given this advice by others)

Sometimes getting in front of other people is all that is needed. But if your current practices aren’t seeing the results you expect after the passage of time, then it’s worth considering whether an adjustment is needed.

> Addressing the first the most obvious way that society deems "working on yourself" if I had to guess is going to therapy. Well I have troubles going to therapy because evidently some part of my brain related to forming any sort of human relationship (romantic friendly business or therapeutic) is stunted.

Not necessarily but in many cases therapists can point you in the right direction! Also, if you’ve had a go with therapy a few times with no results, it’s possible that garden variety therapy practices aren’t for you and you need more specialized expertise. You might want to check out any university medical centers in your area that offer psychotherapy. The intake can take longer and there’s more bureaucracy but the quality can be a lot higher.

> Addressing the second, I think that would contribute to more alone time for someone seeking self help, whereas experience by doing is better for learning. Though, by now Ive learned the hard way that dragging my clearance-shelf mind into someone elses good time feels like it would be selfish to them and unfulfilling for me, but thats me personally

IDK where you live, but living on the West Coast I know exactly what you mean, the “positive vibes only” culture can be incredibly draining. I would say two things.

1. Not everywhere is like this, and if you can move, you might find the social environment in another place more to your liking. Midwesterners and New Yorkers famously love to complain.

2. There’s also an element where you have to learn to suppress negativity around new people. As your friendship becomes deeper - it doesn’t have to be all that deep - you can drop the mask and reveal how you really think. You will likely find that more people think like you than you might imagine, they’re just more practiced at masking.
Most (but not all) things in life are technically reversible. But some things are so difficult or expensive to reverse that they are effectively irreversible nonetheless.
Well this comment has aged well. I bought into the narrative. Hope to learn from this.

Though I supposed my concerns were misplaced, but not totally incorrect? Shrug.
Ishtar. Gender. Murica.
Sweden is in the middle of a gang crisis with people murdered every week... still, the murder rate over the last several years has always been below 1.23 (the highest value, in 2020).

https://www.macrotrends.net/countries/SWE/sweden/murder-homi...

According to this[1], Sweden had 116 murders in 2022, less than the peak in 2020, which was 124. Basic maths tells me that' around 1.104 murders per 100K people (current population is 10.5 million).

[1] https://www.statista.com/statistics/533917/sweden-number-of-...

Puts thing into perspective.
Just curious: why is your comment written like that? TTS?
Your assumption is wrong. He assumed he was going to live, not die.
What is the widely shared, high conviction 'right' future vision that Europe has?

Europe is like a criticism of it's former self as culture. Incoherent, no future.
During a gold rush, sell shovels. Especially if the shovels have an actively renewable license.
> How many people would like to see more resources for community resources (parks, recreation, often simple maintenance)

Every taxpayer would. Which is why this idea is entirely untenable. Hmmm, would you like your taxes to go to a community park, or to the janitorial supplies budget for a municipal building annex?
I think what gives it away is when answering questions, chat GPT first repeats the question.
For example the question is:
"If you were to be found in a small blue room with your favorite food, what would you do?".

The answer would start with:
"if I were found in a small blue room with my favorite food I would..."

Normal people don't usually talk like that.
Sometimes I feel like I live in an entirely different universe from other HN users and posts like this reinforce that view.
1. Your choice to encrypt metadata can in fact make it more difficult to identify criminal correspondents. Your choice to use Tor similarly makes it more difficult to track criminals' web usage. Both of these help criminals to engage in certain nefarious actions.

To generalize, every user of a privacy protocol increases the protocol's anonymity set, and thus its utility to all users.

In other words, Tornado Cash shares this property with every other privacy protocol.

2. The guy who wrote the Tornado Cash code operated no aspect of the Tornado Cash smart contract. That operates entirely autonomously. It's code, deployed to a massively distributed blockchain, that any one can use to encrypt their transaction.
Please don't create accounts to break HN's rules with.

https://news.ycombinator.com/newsguidelines.html
Primary suspect is a techie: https://www.sfchronicle.com/sf/article/bob-lee-san-francisco...
This is such a pointless discussion that I can't even begin to countenance it.

Go to a zoo.

Are bears walking around with humans in cages?
Yeah, not pasting in my personal access token into a random website.
Assuming the comments in the video are correct, it does sound like they would oppress certain groups of people if they had the power.
https://www.elevenlabs.io/