Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

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:The way I see it (Score 1) 346

Note: I am not the GP poster.

It's personal experience, but every Power Computing and UMAX machine I ever had to deal with needed a new PSU within a year.

That's sounds far better than the majority of genuine Macs I've owned. I don't think I've had a single one that didn't have a "logic board failure", even right up to when I owned a Macbook Pro (which had so many other issues, including high pitch whistling, floppy wireless, graphics chip failing etc).

I'm not protecting the clones as such, but I am pointing out that Apple's hardware is not exactly the most reliable, especially in my experience. Unfortunately, the quality of their hardware hasn't changed that significantly either, in my opinion.

Of course, this data is somewhat anecdotal, but it's quite hard to make statistics when Apple silently delete these problems from, refuse to acknowledge problems until there is an overwhelming amount of people complaining and have a rather ravage fan base who will defend anything about Apple.

Comment Reliability: 100 TB (Score 2, Informative) 271

If the onboard flash is a cache, that means it will be used frequently do it will wear faster. Won't that mean you're more likely to corrupt your data, even if your HD is still good ?

NAND flash chips are generally guaranteed for at least 100,000 erases per block. As I understand this Braidwood chip, it's a non-volatile ring buffer for data writes. Ring buffers are the easiest thing to wear-level, meaning you can just multiply the cache capacity devoted to writes (let's say 2 GB) by the longevity guarantee to get 200 TB of buffered writes before any failure occurs. And not all blocks on a flash chip fail after the same number of writes; you'll just start to lose ring buffer capacity over time.

Comment Re:Scientifically meaningless? (Score 1) 652

They did... apparently women didn't fare any better or worse after chatting with a man/woman and retaking the memory test.

But when the task was repeated with a group of female volunteers, they did not get the same results. Memory scores stayed the same, whether they had chatted to a man or a woman.

Comment Re:How to do a much shorter article next time (Score 1, Flamebait) 171

That was easily one of the worst movies I have ever forced myself to sit down and watch. I still remember the twenty minute scene where the spaceship/rocket is landing on the moon or something. I kept waiting for it to explode or for something to go wrong. Pretty much anything to happen except for it to slowly, slowly, slowly descend and have a completely uneventful landing. It wasn't even like the landing sequence was complicated and interesting to watch.

Comment Re:On the bright side (Score 1) 447

It is often said that things will improve after high school, and that things do improve in university. Is this true?

That's kind of like asking if things will improve when you get out of prison. The bullying and isolation will stop, and college is NOTHING like high school. High school was like a gulag when I went, and it was even worse when my daughters were there.

I hated high school, hated the Air Force (but I loved being sent to Thailand), but loved college. I've had jobs I loved and jobs I hated.

As to the isolation, get a part time job if you can. When you reach drinking age, bars are a pretty good place to socialize, especially the ones that have live music.

Comment Re:Article title seems stupid to me (Score 1) 309

Wikipedia disagrees:

In biology, evolution is change in the genetic material of a population of organisms from one generation to the next. Though changes produced in any one generation are normally small, differences accumulate with each generation and can, over time, cause substantial changes in the population, a process that can culminate in the emergence of new species.

Genetic variation comes from random mutations that occur in the genomes of organisms. Mutations are changes in the DNA sequence of a cell's genome and are caused by radiation, viruses, transposons and mutagenic chemicals, as well as errors that occur during meiosis or DNA replication.

You may want to clarify your position.

Slashdot Top Deals

Chemist who falls in acid is absorbed in work.