Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Soundalikes... (Score 1) 478

Homophones were my first thought as well, especially given how many times I've seen misuses of:

  • their, there, they're
  • to, too (and two)
  • than, then
  • your, you're

For more words, see: multinyms. Therein are differently-spelled yet similarly-sounding words in groups of triplets up to and including septuplets!

Here are some potentially troublesome examples that came to mind; please reply with more!

  • you.are.here
  • yew.our.hear
  • have.whey.their
  • marry.merry.Mary
  • hale.seas.are
  • tolled.inn.vane
  • knot.holy.rued
  • won.hilt.wander

As a concept for monetizing something they don't even own, I think it's absolutely brilliant. I remember when "pet rocks" were all the rage, and then the "blank on board" signs. As a novelty item, they'll probably make a fortune. Of course, the natural name for their sequel would be: four.words.too.

Comment Complexity and Bugs (Score 1) 381

Q: What's wrong with complexity?

A: It hides bugs!!

Notwithstanding that some tasks are inherently complicated and there's just no simple way to express it I would posit that the problem with unnecessary complexity is that it hides bugs.

Bugs hide in the edges. They swarm in corners. They positively thrive in interfaces.

Simple (i.e. clean) code helps make the bugs stick out.

There is some business case or need behind each programming effort. That case/need has an underlying language, a grammar, that embodies what needs to be done and when and how. The challenge in software development is to find programming constructs which, inasmuch as is possible, clearly expresses the problem's solution.

Through hard-won experience we've discovered things that suggest where bugs like to hide; what are sometimes called "Code Smells." Massive, nested IF statements. GOTO statements. Global variables. Side effects.

But, these are only symptomatic. There are times when some of these ARE necessary to achieve maximum performance. In other words, not all cases are bad, but they suggest a long, hard look to ensure they are necessary.

Consider programming languages. We started with machine code. Then we wrote assemblers to make it easier to express what we wanted to do. Then came macros and functions. Still later we developed higher level languages. All of these steps allowed us to more easily express what we were trying to do.

Consider this continuum. Case 1: A single program with thousands of lines of code and no functions or subroutines. Case 2: The same application implemented with thousands of functions, each of which contain at most 5 lines of code.

There's probably a sweet spot in between those extremes. A point where the abstractions of what needs to be done closely mimics the problem domain. Where the inputs and outputs are clearly delineated and checked. Where each function is the "right size". As the lowest level functions are implemented and tested, they provide a framework, a language in which one can more easily express what is being done. It is clear what is attempted and how. And it is clear when things are amiss. It makes the bugs "stick out."

When we fail to do this, when we unnecessarily complicate the code, then problems arise. We struggle to grok the code. In this struggle, overwhelmed in trying to follow the "good" paths, we fail to see all its shortcomings. We provide hiding places for bugs. They blend in. They avoid observation. Or, when detected, resist eradication. For some samples, take a look here.

tl;dr. Given: Some problems are just plain complicated and defy any further simplification. Fine. Other problems are amenable to consistent abstractions. When we fail to do that, we introduce unnecessary complexity. We breed bugs.

Comment PDP/8 TSS8 ASR33 110baud dialup (Score 1) 623

Started in 1972 with 110 (?) baud dialup on an ASR-33 teletype from Junior High to the High School's DEC PDP-8 mini running TSS88. IIRC it had 8K 12-bit words of memory. Had to dial (yes, rotary dial) the phone number and put the handset into the Acoustical Coupler. Off line storage was to paper tape. Started with BASIC, then moved on to assembler and FOCAL. Then in High School they upgraded to a PDP-11 running RSTS/E. Wow -- was that thing FAST! <grin>

Typed in many, many basic programs from DECUS, and whatever other sources we could find. There were about 4-5 of us who would hang around the "computer room" and grab whatever unused half-hour time slots we could.

First computer I bought was an Ohio Scientific Challenger 4P. Later purchases included: Atari 800, Commodore 64, IBM Clone 286@10MHz.

Besides "Compute "magazine, I also subscribed to "Run", "Byte", and later "PC Magazine". Typing and debugging and trying new things. That was key. An insatiable curiosity as to how things worked and how could I make it do what I wanted it to do.

Ah, good times.

Biotech

Submission + - Most popular human cell in science gets sequenced (nature.com)

ananyo writes: "The research world’s most famous human cell has had its genome decoded, and it’s a mess. German researchers this week report the genome sequence of the HeLa cell line, which originates from a deadly cervical tumor taken from a patient named Henrietta Lacks (Slashdot has previously noted a film made about the cells and there's a recent mutli-award winning book on Lacks). Established the same year that Lacks died in 1951, HeLa cells were the first human cells to grow well in the laboratory. The cells have contributed to more than 60,000 research papers, the development of a polio vaccine in the 1950s and, most recently, an international effort to characterize the genome, known as ENCODE. The team's work shows that HeLa cells contain one extra version of most chromosomes, with up to five copies of some, and raises further questions over the widespread use of HeLa cells as models for human cell biology."

Submission + - Is it worth trying to go back to work for an ex-employer

tw3ak writes: I used to a work for a global company for about 4 years as a Senior Support Analyst right after graduating from college. Amazing job, amazing people, great environment. Unfortunantely my boss and I did not see eye to eye on somethings and we decided it was best to part ways and move along. Well its been 10 years and lots of experience later and personal changes have occured to make me a different person than I was at that point ( learned to see the big picture).... I would love to apply back to this company however I am concerned that my past might create an issue. Now the company I worked for at the time was purchased by another company so I am not sure if that would play into things at all.. Looking for some advice from the slashdot community.

Comment practical applications? (Score 1) 180

FWIW, as requested: 120 digits (was 200 at one time, in competition with a dormmate in college. Hi Rob!)

That experience lead me to question how many digits are useful? Of course, that depends on how you define useful. Computer burn-in testing, theory of algorithms and optimizations thereof notwithstanding, I was thinking more along the lines of physical applications.

Question:What is the largest circular body that I could conceivable try to calculate the circumference of, and what is the finest measurable precision with which I could imagine measuring that with?

Circular body: observable universe : approximately 8.8x10^26m in diameter.

Minimal length: Planck Length : approximately 1.616x10^-35m.

Answer: Let's ask Wolfram Alpha to compute and confirm that for us using: http://www.wolframalpha.com/input/?i=convert+diameter+of+the+observable+universe+to+planck+lengths which produces a result of: 5.4x10^61.

Conclusion: *IF* we could measure the diameter of the universe to within +/- one Planck length, then, within significant digits of accuracy, we would need no more than 61 digits of Pi to compute its circumference.

If you've followed this far, I now have a question for you: what is the largest actual number of digits of i you have actually seen needed and in what context?

Intel

Submission + - Apple and Intel discussing partnership regarding A-series processor production (networkworld.com)

An anonymous reader writes: Apple has for a while now been in a thorny predicament given its relationship with Samsung. On one hand, Samsung supplies all of the processors that power Apple's wildly profitable lineup of iOS devices. And yet, on the other hand, Samsung has quickly emerged as Apple's chief competitor in the smartphone space. What's more, Apple has accused Samsung of "slavishly copying" Apple's own products and innovations instead of coming up with its own. Consequently, the two companies are currently engaged in a slew of intellectual property lawsuits across the globe.

That said, it's no secret that Apple is actively seeking to lessen its reliance on Samsung. It's been rumored for a while that Apple is hoping to move its AX processor production to TSMC sometime in the near future. And now comes a report that Apple has also engaged in discussions with Intel whereby they would become a significant supplier of Apple's A-series processors.

Security

Submission + - Twitter OAuth API Keys Leaked (threatpost.com)

msm1267 writes: The OAuth keys and secrets that official Twitter applications use to access users’ Twitter accounts have been leaked in a post to Github this morning. The consumer keys and secrets, which function similarly to a username and password, were posted for Twitter for iPhone, Android, iPad, Mac, Windows Phone and TweetDeck. Unapproved third-party applications can now use these secrets to impersonate legitimate third-party apps and circumvent any access control measures Twitter has in place for unofficial apps.

Comment All your secret are belong to us (Score 1) 131

The real question is...would it correctly translate to and from "All your base are belong to us"?

What is "correctly" in this case?

All your secret are belong to us?

DISCLAIMER: I have NOT read any of the EULA for their service, and this may be covered therein.

<hat style="tinfoil"> An exaggeration, I know. Still, the cynic in me can't help but imagine that someone else has come up with the idea of using, say, a keyword list and filtering certain "interesting" communications aside for further scrutiny. They have the source and destination telephone numbers, too. Since they ARE a phone company, it would be easy enough to pre-populate a filter with phone numbers. Of course, they'd need to be circumspect about it, because if word got out, it might dry up business. Sure, there's also Google's translate service as well as Apple's Siri, and a host of others (email, voice mail, etc.)</hat>

IOW, Is it a wiretap when both parties voluntarily go through your service?

Comment Re:book covers and bar codes (Score 1) 230

Hey now. I once wrote a 1200 line c program just to display "hello, worlf!

"yes, "worlf".

LOL! (Wipes coffee from screen)

Nice try at Klingon, but I think you misspelled the commander's name?!

If someone could look at that code and figure out what it does in 5 minutes, I would consider them a guru.

Sounds like fun! Can you provide a link so we can see? I'm struggling to imagine how in the world it could take 1200 lines! Long ago, I stumbled upon a huge hello world program that used "standard" code for arg parsing internationalization, localization, etc. but I don't recall it being anywhere near THAT large!

Thanks again for the laugh!

Comment book covers and bar codes (Score 2) 230

I would go with good ol` fashion "bunch o` lines" bar codes. Easy to make yourself, should be easy to attach to a book (or not, maybe just have it loose between the cover and first page), lots of cheap readers and most just emulate a keyboard so easy to interface with. From there I'd probably throw together a little home brew. What you are asking for does not really sound complicated, the software side sounds like a weekend project for just the basic requirements. Even if you just do it as a basic web app. Be sure to add a title based search for if the barcode gets lost, so the bar code just becomes a convenience and not a requirement to use,

Good suggestions!

For those books which lack a bar code on the jacket, make a book cover and apply the bar code to THAT. (Was a rite of passage every school year as a child that we'd make book covers for all our books. By ten-years-old, I was doing all my books unassisted. We just used paper grocery bags, but you could certainly use some kind of low-acid paper if you'd prefer.)

As for constructing a bar code, there's free bar-code software out there (I've used pbmupc). The basic format is a 1-digit type, a 5-digit manufacturer code, a 5-digit product code, and a check digit. Create a manufacturer code that's reserved for your non-UPC'd books (31337 would be cool, but I think it might already be taken), and then just use a sequence number to identify the individual books.

Lastly, have fun! It's certainly a more interesting project than writing a "hello world" program!

Comment Collaboration, yes, AND Concentration! (Score 3, Insightful) 71

The article suggests that ad hoc collaboration was important for their success.

Not especially noted, though, and far more important in my mind, is that workers had their own "huts" where they could customize their work space to their liking and which provided isolation from distractions. This, to my mind, facilitates concentration.

There are times when I want to bounce a problem off someone and get a fresh perspective. More frequently, though, I just want a few hours without interruption or distraction. A 2-minute question from a coworker can require me to take 20-30 minutes to get back into the zone and get my mind back around all the details that I am trying to sort out.

Providing separate spaces for concentration and for collaboration is the key.

Comment Re:drop in the bucket (Score 1) 152

so the 100,000 tons, times 2000 pounds per ton, divided by 13 (as per article only half the yield of dry corns 26 lbs. per gallon ethanol), gives 15 million gallons of ethanol. the USA uses 380 million gallons of gasoline per day.

If the yield is half that of corn, and you need 26 lbs. of corn for one gallon of ethanol, then you'd need 52 lbs. of this waste for one gallon of ethanol. So, divide by 52 instead of 13. This would reduce the yield you calculated by 4.

This could still (pun intended) be used by the vintner to potentially reduce their operating costs, and maybe produce a surplus. Depends on cost of the equipment, efficiency, etc.

Slashdot Top Deals

Wishing without work is like fishing without bait. -- Frank Tyger

Working...