News for hackers. Stuff that matters.

chrisl99

Re:Camera Repair Course (2019) on Friday July 09, 2021 @12:27PM (#27785417)
I had a 3-LCD projector go wrong in two different ways. Thankfully it was easy to fix, but this information was deeply buried in a forum for home theatre enthusiasts. The manufacturer would tell customers to buy a new one.

(Are the panels out of alignment? There’s a secret service menu to fix it easily! Do you have discoloration creeping in at the top & bottom? Remove the cover and just push down on the little plastic thing next to the lamp!)

That is correct, it is just opening Chrome's password manager:

  await navigator.credentials.get({password:true})
https://developers.google.com/web/fundamentals/security/cred...

I do think it is odd that this API will present the UI without any user interaction first. (Doesn't require a tap/click to open.)

Re:Night Shift compared to f.lux on Thursday March 30, 2017 @08:58AM (#13994922)
No offence taken. we want the same thing - for Chrome to allow fine grain permissions.

Although when I think about it, even a style sheet could be malicious to a degree (e.g. hiding important warnings, or adding misleading text)

Re:Night Shift compared to f.lux on Wednesday March 29, 2017 @03:18PM (#13989651)
Hello, I'm the author of the extension. It's ok if you don't trust it. I couldn't find any way to ask for a smaller set of permissions. To my knowledge there is no way to specify this in the manifest. (I can't ask for permission to insert a stylesheet without also having permission to inject JavaScript, even though I don't have any JavaScript.)
Re:ECMAScript 2016+ in Firefox on Wednesday February 22, 2017 @10:44AM (#13706321)
JS modules are working in Safari Technology Preview today - so it should be available to everyone soon enough. Pretty simple too, you load your entry point like this -

<script type="module" src="main.js">

And then main.js runs in strict mode, can use "import", etc.

The only reason I can think of, is you can use a USB-C-to-Lightning cable and use it as a fast charger for iPad Pro.
Re:Heroku app to browse every animated GIF on Wikipedia on Monday December 10, 2012 @06:11PM (#4902126)
Careful browsing this at work. I saw something that cannot be unseen.
Re:Monkeypatching For Humans on Sunday July 13, 2008 @10:23AM (#245114)
Does Hacker News have to re-post everything Jeff Atwood writes? Sorry for my ranting.
One thing I should point out, is that although the 1st edition does have a fair bit of talk about the Internet, (even predicting things like VoIP), Gates uses the phrase "information highway" because he thought the Internet would be supplanted by something better:

"...we stand at the brink of another revolution. This one will involve unprecedentedly inexpensive communication; all the computers will join together to communicate with us and for us. Interconnected globally, they will form a network, which is being called the information highway. A direct precursor is the present Internet..."

I have a copy of the first edition of The Road Ahead. Here is the index entry for Internet:

Internet, 3-4, 91-100, 91 activities on, 93-97 addresses on, 94 cost of use of, 97-99, 125 e-mail on, 96-97, 124-25 expectations for, 125 foundation of, 97 growth and evolution of, 91, 95-96 and information highway, 3-4, 89, 95, 100, 230, 246 and publication, 95, 123-25 real-time content on, 99 regulation of, 161-63, 204 revenue from, 125 and security, 95, 96, 145 software on, 100 and standards, 96 and telephone system, 99 and Windows, 64 and WWW, 94, 95, 193, 201

Look at Wordpress (wordpress.org). Their code makes me want to throw up, yet it presents itself quite nicely to the end user.
Re:Ask YC: How is the iPhone SDK? on Tuesday June 10, 2008 @03:09PM (#214171)
The iPhone OS is very, very similar to Mac OS X. The UI is the biggest difference but most of your non-UI code will be similar or identical to OS X code. If you are one of the thousands of devs who aren't accepted in the $99 program, you can't run your code on the real device. You can still mess around with the simulator.