News for hackers. Stuff that matters.

Ives

Re:Show Me the Science – How to Wash Your Hands on Thursday February 06, 2020 @03:11PM (#22259808)
Second to last point:

> While some recommendations include using a paper towel to turn off the faucet after hands have been rinsed, this practice leads to increased use of water and paper towels, and there are no studies to show that it improves health.

Re:I2C in a Nutshell on Wednesday January 22, 2020 @02:25PM (#22121043)
Agreed, but most I2C busses only have 2 or 3 devices on them. There are some boards with 16 or so devices on the same bus, but much more than that and you'd better hope you can either program their addresses or order them with a specific address, or you might end up with 2 chips with the same address.
Re:I2C in a Nutshell on Wednesday January 22, 2020 @01:41PM (#22120566)
I really don't like I2C. Yes, in principle it's pretty simple, but if you consider NACKS, slaves holding SCK low, what happens if your master resets while the slave is trying to send a 0 bit (hint: power cycle!), etc, it's so easy for the peripheral to get stuck.

SPI is much easier to write correctly, and pretty much only has the extra wire (usually not a problem) and the phase polarity issues as a negative point.

An important part:

> This is an observational study, and as such, can’t establish cause. And the researchers caution that the number of included studies was small and their methods varied considerably, which may have influenced the results.

People who are sick or have other health issues will do very little running, so correlation and causation and all that.

You can still use the Uint32/Uint8/... types. While performance can vary from system to system, the range should be the same on all reasonable platforms.
Re:Show HN: A dbg(...) macro for C++ on Saturday September 21, 2019 @12:45PM (#21036346)
Not really, the C++ macro provides information about which source file the statement was generated from, as well as color coding.
Re:Show HN: LaTeX Search – Quickly Lookup LaTeX Notation on Sunday September 15, 2019 @02:39PM (#20978747)
Not all of the Greek letters seem to be in the database: a search for "Psi" doesn't reveal ... \psi ...
Re:XLOOKUP for Excel on Saturday August 31, 2019 @01:31PM (#20847635)
I was thinking about that too. Although any form of delivering automatically executing code is just another attack vector. It's macro's all over again.
Re:XLOOKUP for Excel on Saturday August 31, 2019 @12:46PM (#20847384)
I wonder when we can start using this function without running the risk that our bosses/clients Excel doesn't support this function. Lots of people still use Office 2007 and 2010, so It'll be a while I guess.
Re:Why we ground electrical systems (2015) on Friday August 02, 2019 @02:58PM (#20595611)
The details of this also vary based on where you're at. In the US, neutral is bonded to earth at every house I think. In Europe, neutral is only bonded to earth at a local power station.
€1.3 per litre, so that's $5.53 per gallon.
Electricity is still cheaper than gas, but electricity in many European countries these days is at least 30 cents per kWh (and rising every year), instead of the 15 cents you mention.
Re:Things Engineers Do to Move to the US on Monday April 27, 2015 @10:52AM (#9446650)
As a general indication, the average software developer in the UK earns about 45k$, while the average in the US is more like 60k$ (source: payscale). The averages for London and Silicon Valley will both be higher than that of course.

Healthcare insurance is more expensive in the US, but this is compensated by much lower taxes.

You're definitely right about holidays and vacation days, you'll have more of these in the UK. At the same time, even when you value a vacation day at 300$ (much more than either average UK or US dev earns in a day) and suppose our average UK dev has 20 more vacation days a year (he probably doesn't), that's still only 6k out of a 15k difference.

I agree that being near your family and friends can be worth a lot more than 15k$.

Re:Things Engineers Do to Move to the US on Monday April 27, 2015 @10:07AM (#9446358)
How about the fact that a software developer in Silicon Valley earns much more, up to twice as much as one in London? Before taxes that is.
Re:Tmux 1.9 released on Friday February 21, 2014 @03:19PM (#7279164)
That's strange. The patch that allows it to work has only existed for less than a year. Tmux apparently passes file descriptors over unix domain sockets, which isn't supported by Cygwin.
Re:Streetpong [video] on Monday February 03, 2014 @07:53AM (#7170349)
Nothing at all.

It's a concept created using VFX[1].

http://www.autoblog.com/2012/09/10/german-crosswalk-lets-opp...

Re:Two years after quitting my job: 2013 in review on Tuesday December 31, 2013 @06:10AM (#6989969)
You'll definitely pay much less in taxes than you would in Belgium.
Re:Snapchat's Evan Spiegel: Saying no to $3B, and feeling lucky on Saturday November 30, 2013 @05:25PM (#6824943)
There's a simple SecureContent (or something like that) flag that can be set by developers; this disables the screen recording.
Re:Steps to install tmux in Cygwin on Friday November 15, 2013 @02:51AM (#6738231)
You were right until very recently. If I recall correctly, tmux used to send file descriptors over sockets, something which isn't supported by cygwin. Pretty recently someone made a patch to tmux that allowed it to work without the unsupported behaviour.
Re:The First Car You Can Build Yourself in an Hour [video] on Monday November 11, 2013 @07:36AM (#6711272)
To be fair, the engine doesn't look particularly big or heavy, a person will probably do fine as an engine hoist.
Re:A Vital Measure: Your Surgeon’s Skill on Sunday November 03, 2013 @12:17PM (#6664008)
Looks like a gastric bypass.
Re:Nexus 5 on Thursday October 31, 2013 @04:31PM (#6649612)
You are of course right, but I'm not sure if people in the US ordering over the internet actually pay sales tax on devices ordered from the google play store. It might depend on what state they're in though.
Re:Devops Horror Stories on Thursday October 31, 2013 @04:28PM (#6649585)
I did something similar. I moved some files around between a university computer and an SFTP mount (mounted through the ubuntu UI). When I leave those computers, I always execute "rm -rf ~" because they are restored to some image every time they boot anyway and I'd rather not leave anything personal behind. It was only when I started seeing "access denied" in my terminal that I realised that ubuntu had mounted the entire server on the other end in some hidden directory in my home folder, and that I was deleting every file on it for which I had write permissions. Luckily a quick CTRL+C saved my own files but I'm not sure the same could be said about a few students who were unlucky and had "loose" permissions in their home directories.
Re:Nexus 5 on Thursday October 31, 2013 @02:57PM (#6649008)
On the Play store probably, which doesn't sell physical devices here.
Re:Nexus 5 on Thursday October 31, 2013 @02:43PM (#6648885)
700€ for the 5S and 600€ for the 5C.
Re:Nexus 5 on Thursday October 31, 2013 @02:28PM (#6648733)
It's quite depressing that a 350$ phone will probably translate to 460€ in Belgium and the Netherlands. That's 626$ if you use the official exchange course between euro's and dollars.

We don't have phones on Google Play.

EDIT: Strike that, it's dropped to 399€, that's still 543$.

Re:The PC is not dead, we just don't need new ones on Friday October 25, 2013 @02:52AM (#6610163)
You know you're allowed to use your own thermal paste right? Intel won't mind.

If you plan on overclocking your CPU it's probably a good idea to get a slightly better CPU cooler than the standard one anyway.

Re:My Friends and I Bought an Island on Monday September 16, 2013 @06:14PM (#6396265)
Exactly, which means 2k8 is actually 2800, and not 2008.
Re:Microsoft to acquire Nokia on Tuesday September 03, 2013 @07:36AM (#6320298)
Yeah, it used to be much more than that. It is $19 a year though.
Re:Microsoft to acquire Nokia on Tuesday September 03, 2013 @06:08AM (#6320023)
I bought a Lumia 800 as my first smartphone and I'm not quite happy with it.

- It lost at least 60% of its value in less than a year (price for a new one dropped by that much)

- MS wants me to pay them if I want to build an app to use on my own phone

- And after I've paid them I can only put three apps that aren't published on there. If I publish them in the app store and would like to use them myself I have to buy my own apps. So basically just give them money.

- No significant software updates

All in all, it's a good dumb phone, but it's not a great smartphone.

Older »