Follow Slashdot stories on Twitter


Forgot your password?

Comment: Re:$30/mo is a terrible price (Score 1) 34

by MightyYar (#48905739) Attached to: For New Yorkers, Cablevision Introduces a Wi-Fi-Centric VoiP Network

I've used it with CallCentric. It works, but as others have stated it really sucks down your battery life. Instead I now just have an Obi device plugged into regular cordless phones, and I have the unit ring my cell and work desk phone as well. The result is that I get away with using T-Mobile's $30/mo prepay plan that only includes 100 minutes, but has 5GB high speed/ unlimited Edge and unlimited texts.

Comment: Re:Insurance (Score 1) 189

the requirement that people in control of public health (which includes barbers) complete a half-day training on basic sanitation methods

Nope, not half a day. In California it is a full year of formal training, or two years as an apprentice barber. If you go the apprentice route, there is NO requirement for training on basic sanitation methods. Most other states have similar requirements.

Comment: Re:Discussion is outdated (Score 1) 383

by caseih (#48901327) Attached to: Ask Slashdot: Is Pascal Underrated?

Sounds like you're not aware of what Qt actually is. Qt is one of the oldest, most capable, most portable GUI libraries ever made. It's a little too C++-ish for my tastes, but it's certainly not hipster or craptastic or buggy. It's been around for over 20 years but still feels modern (Qt 5 QtQuick is a game changer), and forms the basis for more than a few large-scale commercial applications. In my mind, particularly if you use C++, it's the only game in town. The only downside is it's hampered by being written in C++. It's really hard to get good up-to-date bindings for other languages that aren't as popular, such as FreePascal, as you have to thunk between the object systems.

As for your Pascal arguments, I use Python for the same reasons. Use what works for you.

Comment: Re:Shame (Score 2) 64

by ShanghaiBill (#48901235) Attached to: SpaceX, US Air Force Settle Spy Sat Dispute

Spying is not inherently bad

Indeed, spying is generally good. When leaders are ignorant of their enemy's capability, they tend to overreact. A century ago, the world bumbled into a world war because of secret treaties, and severe misjudgements about the intentions and constraints on others. Better spying may have prevented that. The cold war was also a result of each side escalating out of precautions driven by ignorance. Looking back, the Soviet Union was never as strong as we feared, and was motivated more by paranoia than by aggressiveness.

Voluntary mutual transparency would be the best solution, but spying is still better than secrecy.

Comment: Re:Modula-3 FTW! (Score 4, Insightful) 383

by ShanghaiBill (#48900379) Attached to: Ask Slashdot: Is Pascal Underrated?

Is Pascal better suited to some tasks than those languages? That is what the OP is really asking.

That is also the question I was asking. I believe the answer is "no". Or at least close enough to "no" that it doesn't matter.

Where I work, we have code in C, C++, Java, Python, Perl, PHP, and JavaScript. All of those language incur a cost, and we would love to eventually pare down the list (Perl is the most likely to go). If you want to write code in yet another language you would need a VERY good justification. I just don't see any place for Pascal in a modern professional programming environment. The theoretical advantages are minimal to nonexistent, and the practical disadvantages, in tools, libraries, maintenance, integration, talent pool, etc. are substantial.

Comment: Re:Modula-3 FTW! (Score 1) 383

by ShanghaiBill (#48900123) Attached to: Ask Slashdot: Is Pascal Underrated?

You felt Pascal was less readable than C ?

Yes, for someone experienced in both languages, C is definitely more readable. It is less verbose. For instance, "++i" is a more immediately recognizable idiom than "i := i + 1". You don't have to slow down to notice that the same variable is being both referenced and changed. By using brackets instead of "begin ... end", the structure of the program is easier to read in C.

Pascal is easier to learn for someone with no previous programming experience, and it has fewer "gotchas" that trip up newbies. But those are separate issues from "readability". C would not be a good introductory language, but I certainly would not want to write a device driver in Pascal.

Comment: Re:By diving in it (Score 4, Informative) 71

by ShanghaiBill (#48900029) Attached to: Fish Found Living Half a Mile Under Antarctic Ice

Since the site only has scientific value because it has been sealed away for millennia ...

The site is connected to the open sea. It is not sealed. There are other bodies of water under the Antarctic ice, such as Lake Vostok, that really are isolated. Greater precautions are taken for those, and it would really be a surprise if anyone found fish living in Lake Vostok.

Comment: Re:Where Does He Stand On the Issues? (Score 2) 108

by ShanghaiBill (#48899945) Attached to: Fark's Drew Curtis Running For Governor of Kentucky

"No experiments. Leave people alone. And don't spend money that you don't have."

It seems to me that governments should do more experiments, gather data on whether programs are actually working, and base future policies on empirical evidence.

"Leave people alone" sounds great in theory, but where does he draw the line? If someone is robbing a gas station at gunpoint, should we leave them alone? What if they refuse to pay their taxes? What if they are dumping methyl mercury into a creek that flows into Louisville's water supply?

"Don't spend money that you don't have" is already the law in Kentucky. The state government is required to balance the budget every year.

Life would be so much easier if we could just look at the source code. -- Dave Olson