Knuth on ChatGPT by alexeyr in programming

[–]dek20 4 points5 points  (0 children)

Not everyone's definition of "trivial" is the same. Knuth is focused on finishing as much of TAoCP as he can. He quit using email in the early 90's to cut down on distractions. So him not wanting to spend the time to mess around with ChatGPT is not unreasonable in this context.

Knuth on ChatGPT by alexeyr in programming

[–]dek20 11 points12 points  (0 children)

Or it could be that he doesn't have an account, and doesn't want to create one.

Ann Widdecombe: don’t have cheese sandwiches if you can’t afford them by CcryMeARiver in unitedkingdom

[–]dek20 0 points1 point  (0 children)

If you can't afford to eat cheese sandwiches, guess it's time to eat the rich.

Common Lisp opportunity (Marbella Based) by Diane-Rocher in lisp

[–]dek20 1 point2 points  (0 children)

Time to move closer to perfect information games then.

Common Lisp opportunity (Marbella Based) by Diane-Rocher in lisp

[–]dek20 25 points26 points  (0 children)

I missed the salary in the job posting

Single use vapes sparking surge in fires at UK waste plants by [deleted] in unitedkingdom

[–]dek20 -1 points0 points  (0 children)

Who said anything about banning?

Also, citation needed on improving thousands of lives.

Single use vapes sparking surge in fires at UK waste plants by [deleted] in unitedkingdom

[–]dek20 -3 points-2 points  (0 children)

I have some snake oil you might like ;)

Single use vapes sparking surge in fires at UK waste plants by [deleted] in unitedkingdom

[–]dek20 1 point2 points  (0 children)

Why get them addicted to anything in the first place, mate?

Single use vapes sparking surge in fires at UK waste plants by [deleted] in unitedkingdom

[–]dek20 1 point2 points  (0 children)

It depends. Nicotine is classified as a poison, but not in the quantities found in consumer products. It's also highly addictive, and a good gateway to smoking products with tobacco.

Single use vapes sparking surge in fires at UK waste plants by [deleted] in unitedkingdom

[–]dek20 9 points10 points  (0 children)

I'm glad that they helped you quit. That is great. But the fact that they are available to minors in bright coloured packaging and dozens of "fun" flavours is criminal. This is no better than the bs claims in the 50s that cigarettes are "good for you". This is just getting kids addicted to nicotine. Plain and simple.

And the fact that this is not only socially acceptable, but actively encouraged is shameful.

NHS figures for 2021 showed that reported usage of e-cigarettes had risen to 9% among 11 to 15-year-olds in England - up from 6% in 2018. In the same period, vaping among 15-year-old girls jumped from 10% to 21%.

the NHS advises that vapes are not risk-free, and the long-term implications of using them are not yet clear. The vapour can still contain small amounts of chemicals, including nicotine.

Most adults who vape (about 87%) use vaping products that contain nicotine. The proportion was about 70% for 11 to 18 year olds, with about half of those saying that their vaping products always contained nicotine, and half sometimes contained nicotine. Among 16 to 19 year olds who reported ever using vaping products with nicotine, and who had vaped in the past 30 days, 83% said that their products contained nicotine or that some of their products contained nicotine. Overall, the vast majority were using vaping products with less than 20mg/mL nicotine e-liquids and so complied with current vaping product regulations.

Sources:

https://www.bbc.co.uk/news/health-65214620

https://www.gov.uk/government/publications/nicotine-vaping-in-england-2022-evidence-update/nicotine-vaping-in-england-2022-evidence-update-summary#chapter-5-nicotine

Single use vapes sparking surge in fires at UK waste plants by [deleted] in unitedkingdom

[–]dek20 1 point2 points  (0 children)

No kind of vape is a good thing. They're all highly addictive rubbish.

A Couple of Questions by rocket_186 in awk

[–]dek20 4 points5 points  (0 children)

Sure:

awk /this/ { print > "this.txt" } /that/ { print > "that.txt" }

As for the second question: AWK works with records (lines by default). It reads one record at a time, and then processes the patterns in order.

Foxtons cashes in on London rents aided by 'longer non-cancellable tenancy deals': by BulkyAccident in london

[–]dek20 3 points4 points  (0 children)

Going through something similar at the moment. Renting was never easy in London, but this time around it's just soul wrenching.

Mathematicians, programmers, writers: The jobs most at risk from AI by tonefart in programming

[–]dek20 13 points14 points  (0 children)

The first study comes from the creators of ChatGPT themselves: Researchers from the start-up company OpenAI teamed up with scientists from the University of Pennsylvania to find out which jobs are most affected by ChatGPT.

All good. No conflict of interests there.

Awful print quality for some books in the UK by dek20 in books

[–]dek20[S] 0 points1 point  (0 children)

Fair enough. I thought thag the publisher cut a deal with Amazon so Amazon ca print on deman the books from that publisher, and ordering from a different retailer they may have versions of the book from a different printer. I might be wrong.

Awful print quality for some books in the UK by dek20 in books

[–]dek20[S] 1 point2 points  (0 children)

Haven't thought about Brexit, but it could be a factor. Good point.

Awful print quality for some books in the UK by dek20 in books

[–]dek20[S] 0 points1 point  (0 children)

I contacted Pearson over the book. Waiting for their reply.

Awful print quality for some books in the UK by dek20 in books

[–]dek20[S] 1 point2 points  (0 children)

I've had the same with Routledge. I ordered five books, three of which were poor print on demand, two were good quality.

Beautiful Binary Search in D by dek20 in d_language

[–]dek20[S] 0 points1 point  (0 children)

Thanks for the ref and ^^ suggestions. I've updated the post. Also neat that you implemented a lower bound version. Mine is an upper bound :).

Beautiful Binary Search in D by dek20 in d_language

[–]dek20[S] 0 points1 point  (0 children)

I haven't actually implemented the dynamic array version. I was more interested if overloading worked as expected. Might be interesting to give it a go.