Live data from Hacker News

Show HN: Figure out when you closed your MacBook lid

sleep.gordn.org

21–30 of 52 posts

Re: Show HN: Figure out when you closed your MacBook lid

#22
post #14

node.js? Seriously?

Sure, there are a lot of other languages to write this little app in, but why not?

There are plenty of other languages that are probably already installed on a given person's laptop (e.g.python, ruby, clang, swift now? etc. come built in) that also are better suited for an user-facing app with no web dependencies.

Not to mention webkit running a menu bar app is nauseous, though I would certainly hope 99% of the framework isn't involved.

Re: Show HN: Figure out when you closed your MacBook lid

#23
post #19

I find the technology choice here very interesting, a desktop applet programmed with what I look at as mainly web technologies (JavaScript, JSON, Node, Webkit). It's impossible to ignore how the landscape has changed in the past 5 years and how web-style programming is slowly bleeding into spaces dominated by native applications. When I first got into software development years ago with an eye for tools and games, I…

Microsoft was way ahead of their time with this. Windows has supported HTML Applications and JavaScript scripts for decades.

Re: Show HN: Figure out when you closed your MacBook lid

#24

"If you get an error saying that this app is from an unknown developer, that's because Apple doesn't trust you to make grown-up decisions yet about what applications you want to run. Just find Sleep app in your Applications folder, right click on it, and click Open." Yes, Apple doesn't trust you, and with good reason. I think we have properly demonstrated the average public has no sense at all when when it comes to r…

I don't think developers do either. Apple prompting you when you run an untrusted app for the first time is almost certainly a good thing (app replaced with a malicious one? you'll get an unexpected prompt), and it hurts nobody.

Re: Show HN: Figure out when you closed your MacBook lid

#28

"If you get an error saying that this app is from an unknown developer, that's because Apple doesn't trust you to make grown-up decisions yet about what applications you want to run. Just find Sleep app in your Applications folder, right click on it, and click Open." Yes, Apple doesn't trust you, and with good reason. I think we have properly demonstrated the average public has no sense at all when when it comes to r…

Agreed.

The setting to turn that off permanently is really only a couple of clicks away. "Grown-ups" know how to find it easily. Others are better off not being able to do it without understanding how it works.

Re: Show HN: Figure out when you closed your MacBook lid

#30

"If you get an error saying that this app is from an unknown developer, that's because Apple doesn't trust you to make grown-up decisions yet about what applications you want to run. Just find Sleep app in your Applications folder, right click on it, and click Open." Yes, Apple doesn't trust you, and with good reason. I think we have properly demonstrated the average public has no sense at all when when it comes to r…

I don't think developers do either. Apple prompting you when you run an untrusted app for the first time is almost certainly a good thing (app replaced with a malicious one? you'll get an unexpected prompt), and it hurts nobody.

If someone has the power to replace an installed app on my machine, it's already game over.
Post reply on HN