Forgot your password?
typodupeerror

Comment Feasability and Readability (Score 1) 578

I think there are two key advantages to revTalk.

1) It enables people who are not full-time programmers to undertake projects they normally wouldn't consider doing otherwise. It's possibly true that someone who knows a more traditional language could write something that executes faster or more efficiently, but if you reduce a five-hour process down to 10 minutes, you're still getting a significant boost in productivity, even if "real" programmer could write code that did the process in 3 minutes.

2) It is definitely more readable, and often shorter. As an example, there was a "readbility challenge" for coding a while back. The task was to write a routine that would determine all possible two-word anagrams given a starting word and a word list. See http://selfexplanatorycode.blogspot.com/

I can't post the code of the winning entry; Slashdot reports "Filter error: Please use fewer 'junk' characters. But you can find it here: http://www.reddit.com/r/sdcc1/comments/6wru4/leonardo/

--------
And here is the code in revTalk:

constant alphabet = "abcdefghijklmnopqrstuvwxyz"
on mouseUp
  put "documenting" into sourceWord
  put url "http://someserver.com/wordlist.txt" into wordList
  repeat for each character c in alphabet
    if c is not in sourceWord then filter wordList without ("*" & c & "*")
  end repeat
  put sortWord(sourceWord) into sourceWord
  repeat for each line firstWord in wordList
    repeat for each line secondWord in wordList
      put firstWord & secondWord into testWord
      if the length of testWord is the length of sourceWord then
        if sortWord(testWord) is sourceWord then
          put firstWord && secondWord & return after anagramList
        end if
      end if
    end repeat
  end repeat
  put anagramList
end mouseUp

function sortWord theWord
  repeat for each character c in theWord
    put c & return after theSortedWord
  end repeat
  sort theSortedWord
  replace return with empty in theSortedWord
  return theSortedWord
end sortWord

It is shorter and (in my opinion) much more readable.

Comment Re:You'll still need a database for... (Score 1) 124

>I just think it's ridiculous to use the database for storing product descriptions and having to regenerate all that content every time someone looks at a page.

Actually, I was building ecommerce systems several years ago and we took it as dogma to hit the db a few times each page. Having the product descriptions in the db is the most important thing, for flexibility of display and back-end inventory and product maintenance.

But if you have less than 10 products, then no, you don't need any of this.

Learn cookies and make a shopping cart that puts everything into a cookie, sending it along from page to page as the user browses the store. The cookie is *basically* just a raw string of your own formatting, all you need is pairs of product_id and how many. When they are done, have the PHP script email you their order, or dump it into a plain text file, xml file or comma-delimited for importing into Excel.

Comment Re:Psystar f-ed it up (Score 1) 346

If I was a judge I would understand this as breach of copyright license if the license includes a mention in how you can only use the software in Apple hardware.

The label on my unopened Snow Leopard DVD box lists as a requirement "Mac computer with Intel processor". However according to at least one ruling by a federal judge software is sold not licensed. Normally that should work against Apple, however Pystar modifies OSX and mass copies it, both against copyright law. On top of that Pystar hasn't even proved they paid for OS X since they started selling their PCs with it.

Falcon

Comment Re:So let's just forget about a fair trial! (Score 1) 571

I wouldn't say unique, but surely it's unusual for someone to be tried in a country he's never even visited? It seems unnecessarily prejudicial to his case.

Note also that it is the UK government that I was originally criticising, so the fact that it signed the treaty in question doesn't exactly excuse it from responsibility for the consequences. :-)

Comment Re:Read TFA... (Score 1) 138

You also don't have the same drug crime problem saturating the prisons that we do, and the extent of the drug pyramid and drug-related gang problems. We've invaded whole countries to pursue drug lords to whom we previously provided CIA funds and intelligence. (Manuel Noriega, check out his history.) I suspect that profoundly reduces your need for such programs, for which I applaud you.

Comment Re:"Balkanization"? B.S. (Score 1) 253

Your experience highlights the premise that the only monopolies which can exist are those supported by government regulation. Your county did not anoint a single operator, so it did not create a monopoly. People should examine all of the existing regulations that apply to their area before commenting. Even a brief conversation with a telco worker can be educational, when you hear about all of the regulations they have already which impede progress in the name of consensus decision-making.

Comment Re:Electoral College explanation (Score 1) 205

That makes more sense (what you are saying, not the system:)), anyway I think the prison situation still holds as well: More than 1 in 100 American adults were incarcerated at the start of 2008 according to Wikipedia, still not to the extent I believed, otherwise your country would have more serious political issues than red vs blue :).

Comment Ugly? (Score 1) 3

I'm ugly. I have no doubt about it.

But my demeanor and personality outweigh my superficial looks. I'm currently dating (openly and with full knowledge of all parties involved) 5 different women who range from attractive to ridiculously beautiful. None of them have an issue with my looks, and most actually find me sexy as hell.

Don't worry about PlentyOfFish -- get out there and get numbers. How did I get to date 5 good looking women, openly? I had to get about 50+ phone numbers. I was shot down over 100 times. It's a numbers game. Once you get over the denial stage, the rest comes easily.

Comment Re:Totally Retarded (Score 1) 147

I agree. Facilitating my Fair Use would place an undue financial burden upon Sony as the replacement medium and shipping is not free.

However, the real point is that when I am willing to absorb the costs of replacement, or the costs of preventative measures, Sony wrongly attempts to obstruct my Fair Use protected behavior.

It goes both ways. DRM and hardware based copyright protection exist because of an enormous inequity between the consumer and mega corporations like Sony. It is a clear case of corruption and the power of lobbyists that such a repugnant set of laws were passed that make it legal to obstruct behavior that previous courts have always upheld to be lawful and not cases of infringement.

Those laws are wrong and I am performing civil disobedience by continuing my behavior. That does not change the fact, cannot change the fact, should not change the fact, that my actions are those of Fair Use and not those of a pirate.

Comment Re:Headline could have been phrased better (Score 4, Insightful) 92

"Compatible" arguably means different things by context.

As you say, "iPhone compatible headphones" does not imply "headphones that can run stuff from the app store". This is because headphones never run applications(pedants may argue that the DSP baked in to high end noise cancellation headphones counts; but not really) and nobody expects them to. By contrast "IBM compatible PC" is (when the vendor wasn't lying) precisely a statement about a device's ability to run a particular class of software; because the context, that of computers, implies that that is what "compatible" means.

Given that the use of phones to run applications enjoys a higher profile than the use of phones as remote controls(and, even in those cases where they are used as remotes, this is generally done through an application), it isn't wildly unreasonable to assume that "compatible" means "software compatible, at least in some sense".

Given history, I suspect that the headline could be more accurately rewritten to say "Sony-Ericcson releases high-end dumbphone defined by a couple of genuinely interesting features and a lot of mediocrity(just like all the other times they've done that), also functions as a bluetooth remote for one specific home theatre device".

Comment Costly? (Score 1) 550

21 Billion... 294,000 homes... is $71,428.58 per home

google Calc: http://www.google.com/search?sourceid=navclient&ie=UTF-8&rlz=1T4GGLC_enUS312US312&q=21+billion+%2F+294000

Now, $71,428.58 Per home / 20 years = $3,741.43 PER YEAR COST OF SPACE ENERGY!

YIKES! REALLY!! PASS...

20 Years life expectancy of solar cells guessed at because of various googles and the chance of an astroid taking the whole thing out... and then you'd have to reinvest the next $21Billion for the next batch..

If it went longer than 20 years, it would lower costs, but not it is really too much of an outlay for 294,000 homes. quick lookup gives me around $600-700/yr... So that is like 5 times what I pay for normal ohio electric (mostly coal...)

Don't know how much to build Nuclear and how many homes... Anyone? We could burn the waste in the next generation reactors if we get a bunch up and running now...

Comment Re:How about just normal cell-phone use? (Score 1) 620

Cell phone usage while driving is not illegal in Utah.

You didn't read the footnote, which clearly states that using a cell phone while driving is classified as careless driving, and is thus illegal. From your link:

Utah's law defines careless driving as committing a moving violation (other than speeding) while distracted by use of a handheld cellphone or other activities not related to driving.

This law has been in effect since 2007 and included cell phone usage at that time, so yes, Utah does have a law against cell phone usage while driving.

Comment Re:I'd rather have... (Score 1) 92

Yeah! Sony's wasting their time with this stuff when they should instead allow the PSP to play PS1 games!

Oh wait, the PSP has been able to play PS1 games for years now, and can even move saved games between the PS3 and PSP... and if you put a PS1 disc into the PS3, you can use the same Remote Play program to play the PS1 game, or you can just buy it again as a digital download from the Playstation Store...

You'd think someone would look to see if their suggestion had already been taken care of years ago before making it...

Slashdot Top Deals

"Mr. Spock succumbs to a powerful mating urge and nearly kills Captain Kirk." -- TV Guide, describing the Star Trek episode _Amok_Time_

Working...