News for hackers. Stuff that matters.

muzster

Re:The Influence of Bell Labs on Saturday November 30, 2024 @08:18AM (#42281453)
I lament the decline also. Hopefully all of that lost energy has been put into good use on side projects.

On a tangent, but think it's related, the curiosity, exploration and research by the kids maybe stalling too.

Just a thought.

Re:Engineering Sleep on Saturday November 30, 2024 @07:55AM (#42281327)
not all hours sleep/awake hours are equal - for example, I may be more work productive late at night, a better listener/learner in the mornings and better sleeper post meals, in the bath tub, travelling (my kids used to love falling asleep in the car).

Wonder if we could engineer multiple sleep intervals through out the single day (e.g. power napping, siesta's). There is plenty of dead time for me during the day that could be swapped out for sleep.. the question is at what cost to the body & mind?

Just a thought.

Just tried to programatically take a picture on my MacBook Pro 2012. Managed to take a picture in sub second. The LED flashes briefly and you could easily miss it .

Would be good to keep that LED ON well after the Camera switches off (Not sure what that minimum would be without causing an inconvenience - but how about 15 minutes ? - Long enough to educate the users to worry about their privacy and perhaps take breaks between making video calls !) - Just a thought.

True - but that cost just halved with today's introduction of "GPT-4o". The other cost is time. IMHO - I think there is more to worry about than email scraping..
Agreed - it's a waste. GPT is not too bad at reading text from image and with the added bonus that you can reason with it.
Heavily guarded fortress would indicate something of value inside, and the big crooks may spend a little more effort. In the age of AI, this becomes even easier.

   {
     "model" : "gpt-4-turbo",
     "messages" : [ 
       {
         "role" : "system",
         "content" : [ {
          "type" : "text",
          "text" : "return a json array of all valid emails found in the image."
          } ] 
       }, 
       {
         "role" : "user",
         "content" : [ {
           "type" : "image_url",
           "image_url" : {
           "url" : "data:image/png;base64,{{ INSERT_BASE64_PNG_DATA }}"
         }
       } ]
     } ],
      "temperature" : 0.5,
      "max_tokens" : 2048,
      "top_p" : 1.0,
      "frequency_penalty" : 0.0,
      "presence_penalty" : 0.0
    }
Edit: Converting web page to an image is trivial.
Re:Polishing Cloth on Tuesday October 19, 2021 @03:18AM (#28915633)
I presume this Cloth is covered by AppleCare. Would be terrified to drop it.
Re:Sir Clive Sinclair has died on Thursday September 16, 2021 @06:09PM (#28558379)
Thank you Sir Clive.

I will wear my clashing outfits for the next 8 days.

Re:Why the world still loves Columbo on Saturday September 11, 2021 @02:04PM (#28494216)
Peter Falk really was a fallen angel. Wings of Desires https://www.youtube.com/watch?v=H2-26rb7S38
Re:Reasonable Person Principle (2009) on Tuesday August 31, 2021 @08:28AM (#28367076)
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man."

- George Bernard Shaw

Re:OpenAI's Codex sure knows a lot about HN [video] on Sunday August 15, 2021 @06:20PM (#28193076)
if you listen carefully you can hear the music...
is it fair to use line count alone ? maybe the character count should be used as well (excluding whitespace)
Re:The American diversity meat grinder on Thursday August 12, 2021 @04:59PM (#28161380)
It would be interesting to see how diverse each of the diversity groups are - for example, breakdown of Indians by caste.
Re:The Problem with Ethereum on Wednesday August 11, 2021 @02:23AM (#28138704)
Off Topic:

In case anyone is not familiar with the phrase : "I've got a bridge to sell you when you're ready"

(1) A con artist who sold a bridge. https://en.wikipedia.org/wiki/George_C._Parker

Not to be confused with :- (2) Rumoured that the wrong 'London' bridge was sold to Arizona (vs Tower Bridge) https://www.history.com/news/how-london-bridge-ended-up-in-a...

It could be argued that both apply - but I'm not getting into that argument !

Agreed. Though catching and handling that exception maybe more performant if majority of those indexes are within the bounds of the array.

>> I'm not sure why having the separate exception is better than letting the array access throw directly?

(1) The original String charAt method (Sun/Oracle) had to account for an offset and an index. The exception from the bounds check on the underlying char[] would be misleading/confusing... and therefore the birth of the seperate StringIndexOutOfBoundsException

Source: http://www.docjar.com/html/api/java/lang/String.java.html

(2) Because of the above and for backward compatibility, the OpenJDK is doing the same exception handling... sometimes it pays to review the original source code to get some context and rationale to the OpenJDK version.

the irony is that there is a bounds check already within the str.charAt() method...
Re:A bug related to handling of authenticated sessions on Tuesday March 09, 2021 @02:41AM (#26396388)
would be nice to see the git commit.
RIP: British Scientist John Yudkin - The man who tried to warn us about the perils of sugar.. Source(s) : http://www.telegraph.co.uk/lifestyle/wellbeing/diet/10634081...

https://en.wikipedia.org/wiki/John_Yudkin

Lest we not forget his arch-enemy Ancel Keys

Re:Java 1.0 Turns 25 on Saturday January 23, 2021 @05:36PM (#25886781)
0xcafebabe
Re:Ask HN: What Lived Up to the Hype? on Thursday December 24, 2020 @04:36PM (#25531664)
Breaking Bad. Refused to watch it for years due to the hype.
Re:Ask HN: What was a book that changed your life? on Thursday December 24, 2020 @04:32PM (#25531629)
Getting Started with Color Basic - TRS-80 Color Computer
Re:What If Linus Torvalds Gets Hit by a Bus? (2000) on Monday December 31, 2018 @01:36PM (#18796100)
Flight risk is another term one could use.
Re:Elf Hello World on Wednesday May 17, 2017 @12:17PM (#14359924)
Great article...

Makes you wonder how ELF's brother (PE) and daughter (WASM) are doing.

Re:I’m a freelance copywriter on Sunday April 02, 2017 @02:49AM (#14016192)
This is not a Cat Stevens song.

However, Cat Stevens/Yusuf Islam did write "Father & Son" - which brings tears to my eyes... when I think of my son and my dad.

Operation Rosebud
Re:Ask HN: Leave job right before app goes to production? on Thursday January 26, 2017 @08:48AM (#13491243)
>> How would you feel if a fellow developer left in the circumstances described?

I would feel happy for you and try my best to make sure we got a good handover. Your problem is with the management and not your fellow developers.

>> If you were a dev manager or hired this developer, how would you feel about them leaving in the circumstances described?

I would try and tap into your experience before it leaves the company. The boat needs steadying - there may be some obvious low lying fruit.

Bad experiences are just as valuable as good experiences.

Re:Show HN: Bitesnap – Deep Learning Meets Food Logging on Wednesday January 25, 2017 @02:21PM (#13484962)
Sounds like an amazing product - would love to try it here in the UK.

It might help to add a mail subscribing list to your website to capture early oversea adopters.

Does the app allow you to take a picture of the aftermath to account for the unconsumed left overs ?

If I have seen further than others, it is by standing upon the shoulders of giants.
Re:Work/Life Balance Will Make You a Better Software Engineer on Thursday November 10, 2016 @05:55PM (#12925359)
I have my very own anecdotes (based on my own definition of success) - The most unsuccessful people I know work a lot of hours. Don't get me started about my successful 4-hour week friends !
Re:Work/Life Balance Will Make You a Better Software Engineer on Thursday November 10, 2016 @03:27PM (#12924004)
>> The most successful people I know work a lot of hours.

That's also anecdotally untrue.

Older »