News for hackers. Stuff that matters.

fardinahsan146

Conversely, I'm a ML guy who has to do webdev to make ends meet. Tips for me?

Ask HN: What are your programming ergonomic hacks?

I usually place syntax commas in the begging of a line.For example:```sql select column1 ,column2 ,column2 from table ```Orfunction( arg1 ,arg2 ,arg3 )---Some people have a strong reaction to this. But I think its strictly superior in that I can comment out a line without having to add or remove any commas on the line above.This is quite obvious, but I do feel like I never put much...

( Read More... | 1 comment | on HN )
Re:Notebooks Are McDonalds of Code on Friday June 14, 2024 @08:56AM (#40680477)
Seriously, is this even a real problem?

I'm not even a programmer, I'm a data scientist 1 year out of college, and I still know that notebooks should never ever be deployed to production!

The right way to view notebooks is as.. notebooks. Text and visualizations that can run online code. They are for presenting!

You would need a tremendous amount of incompetence and a lack of any code reviews or tech leadership at all to end up deploying a notebook to production.

Re:Sora: Creating video from text on Thursday February 15, 2024 @01:47PM (#39386668)
Sorry no. If there was even the remotest possibility that everyone could be brought to the table, none of these would even exist.

Training a massive model like this is a risk, and no one is going to take that risk without some reward. You can complain OpenAI is going to too much of the value, but its value that would have otherwise never existed. It's value.

Re:Sora: Creating video from text on Thursday February 15, 2024 @01:44PM (#39386617)
This is insane.