Please create an account to participate in the Slashdot moderation system

typodupeerror

## Comment Re:And what's wrong with such reasonable assumptio (Score 2, Informative)358

In some cases, because people in management justify their existence (and salaries) by the number of people that report to them. Add more employees, manager's importance goes up. That provides a strong incentive to have employees that don't do anything useful, but do report to you.

## Comment Re:Guess (Score 1)124

The estimated installed base of macOS machines is 80 million. 400 infections is a tiny proportion of this: 0.0005%, or one in 2,000. That's pretty weird for a virus: how do you manage to create something that is capable of spreading, but so bad at it that it only hits one in 2,000 machines?

## Comment Re:Get a cheap PC that 10 years old, add PFSense (Score 1)316

I'm not sure if your unit is correct... I am quite sure that you meant £1 per kWh (Kilo Watt Hour) per year.

£1 per Watt for one year. Rough estimate, but it's in the right ballpark. I pay 12p/kWh. That's £0.00012 for 1W for one hour. For one day, it costs £0.00288. For 365 days, it costs £1.0512, so an estimate of £1/Wyear is only 5% off. The unit of kWh per year wouldn't make sense: Watts are a unit of power (energy per unit time). 1kWh is one kW (1000W) for one hour. i.e. my price of £0.12/kWh means that it costs £0.12 to have something that draws 1kW on for one hour (or to have something that draws 100W on for ten hours, and so on). I probably should have written £1/Wyear for consistency with kWh or £1/(W/year), but I assumed that readers could figure it out and was lazy.

A 6 wH router would require 52.56 kW to operate in a year (24/7 and 365 days a year)... So, I don't get the part where you are talking about saving. :-?

What is a 6wH router? Even if you mean 6Wh, that doesn't make sense: how long does it take to consume 1Wh (a unit of energy, not of power)? If you mean a 6W router, then will consume 52.56Wh in one year (not 52.56kW, because that's a unit of power and when you divide by time [i.e. over a year] then you get energy, not power). In contrast, a 60W old PC will consume 525.6kWh. At £0.12/kWh, that works out at £6.3072 to operate the small router or £63.072 to operate the old PC for one year. These numbers are very close to my back-of-an-envelope estimate of £6 vs £60, but more accurately the saving is £56.7648/year, or £113.5296 over two years. If you spend £100 on a low-power embedded router board to replace a 60W old PC that you got for free then you will be £13.5296 better off after two years (assuming electricity prices don't go up and you're on the same-priced tariff as me). After four years, you'll be over £100 better off. The one that I bought lasted 5 years before it was too slow for the network, so that's a saving of £283.824 of electricity. The new version of the same board (three gigE ethernet adaptors and enough CPU power to happily handle line rate on all of them) costs £125, probably around £160 by the time that you've added a case and some flash storage. So over the lifetime of the device (assuming it only lasts five years - I'd actually be quite surprised if GigE is not fast enough in 5 years for most home users), the saving is around £120, more if electricity prices go up. The break-even point is just over two years. As an added bonus, you get a small form-factor device that's silent, so can be hidden in a corner in a room that you actually use, or stored in an under-stairs cupboard without overheating.

Using an old PC for this is likely to be a waste of money and be inconvenient. If you can get £20 for the old PC from someone who actually needs a machine capable of running a GUI, then you're even better off!

## Comment Re:Get a cheap PC that 10 years old, add PFSense (Score 1)316

Raven, read the post by PhunkySchtuff again. There is no mention of 87600 anywhere.

You might want to try again. He says:

At an optimistic 100W, that's 87600 kWh/year

Looks like it contains the number 87600 to me...

## Comment Re:Paintbrush for Windows (Score 1)378

Nope. Paintbrush, which shipped with Windows up until 3.11 was a bundled version of ZSoft Paintbrush, with a few features removed and Microsoft branding on top. MS Paint, introduced with Windows 95 (I think, possibly NT 3.x?), was a complete rewrite as a win32 app. The author of TFA doesn't know what he's talking about - it most certainly hasn't been part of Windows since 1985.

## Comment Re:Get a cheap PC that 10 years old, add PFSense (Score 3, Informative)316

You can't do arithmetic: 24 * 365 * 100 = 876000. 24 * 365 * 100 / 1000 = 876. Your 87600 is neither of these numbers and I have no idea how you calculated it. The rough rule of thumb is \$1/W/year, with your price estimate it's \$1.0512, which is close enough. With 18 cents/kWh, it's \$1.5768, but for most of the US \$1-2 is the right ballpark. For Germany, it's \$3. That doesn't actually detract too much from your main point. You're paying \$300/year for power for the 100W machine. A 6W machine that costs \$200 will save you over \$90 in the first year.

## Comment Re:Get a cheap PC that 10 years old, add PFSense (Score 4, Informative)316

Power here costs about £1/W/year. If you're expecting to keep your router for 2 years, it's worth spending up to £20 to reduce the power consumption by 10W. A typical old desktop will draw around 60W, an embedded router board will draw around 6W. That works out at a saving of £108 over two years, which is about the total cost of the embedded router board (PC-Engines or Soekris). After three years, even if you got the old PC for free, it's still more expensive. I used a PC-Engines WRAP board as my home router for around 5 years before needing to upgrade.

## Comment Re:If you want a career in programming (Score 1)370

I've seen this from a few ACs, and I have to ask: what are you doing to try to get a job? Are you just sitting at home waiting for recruiters to call (actually, even that seems not to be sufficient to avoid job offers, maybe you've disconnected your phone as well)?

## Comment Re:Another bubble. (Score 1)370

I can't speak for Facebook, as I don't work with them, but most of the people I collaborate with at Google, Microsoft and Apple are over 40, many over 50. And a few of them have been headhunted by these companies very recently (quite a few are former HP or Sun folk). All of these companies are very happy to hire competent older people. They're not; however, happy to keep increasing a salary for someone who has managed to gain age without gaining experience.

## Comment Re:Which courses are seeing a drop? (Score 1)370

Right now this is attractive because it gives you a potential path to work at big names like Google and facebook.

Which is fairly depressing: come and do CS, you can use your experience to increase the efficiency of advertisements by 0.01%!

## Comment Re:Ugh. (Score 1)370

So, by using a high-level language, I can get the same sorts of bugs and need the same sorts of work-arounds to avoid them that I used to have to deal with in C, ten years ago before compilers started spotting them automatically and warning me?

## Comment Re:What does this do that Java does not? (Score 1)370

The article you link to is about introspection, which is a subset of reflection. With introspection, you can do things like ask what methods an object implements or what fields it has. With reflection, you can do things like replace the implementation of a method at run time. Languages that actually support reflection often integrate it in core ways with the core frameworks. For example, one of the common design patterns in Cocoa is Key-Value Observing, where you register to receive events when a property of an object changes. If you are assigning to instance variables of an object directly, then you need to call some helpers to make this work, but if you use the normal accessors then the framework makes it automatic, by replacing the accessor with an implementation that fires the will-change notification, then calls the original implementation, and then fires the did-change notification. From the page that you linked to, I don't believe that you could implement this in Pascal.

## Comment Re:I tried Python (Score 4, Informative)370

There are a couple of reasons 0-based indexing makes sense. The first only really matters in low-level languages: the indexes represent the offset from the array. The address of array X and index 0 into array X are the same. The second relates to concatenating arrays. The place that you insert into the first array is the length of the array. This idiom crops up sufficiently often that zero-based indexing saves a surprising number of +1 calculations in a program - it's very common for programmers to accidentally clobber the last element in an array in languages that index from 1. Mathematics understands that cardinals and ordinals are different, but programmers often forget...

# Slashdot Top Deals

What is mind? No matter. What is matter? Never mind. -- Thomas Hewitt Key, 1799-1875

Working...