Follow Slashdot stories on Twitter


Forgot your password?
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: Courage (Score 1) 76 76

by PopeRatzo (#50015229) Attached to: My relationship to 4th of July noise:

I don't mind fireworks and I used to love setting them off (especially in model cars and school toilets). But now I've got a 15 year old border collie who hates those things. She'll face down pit bulls, coyotes and patiently lets kids crawl all over her, but when the fireworks start, she shrinks into the closet, shaking, and tries to dig her way through the rug hoping to create a hole big enough to hide in.

Plus, every year the Fourth of July seems to last longer. Now it starts somewhere around June 20th and runs through at least to the second week of July. And there will still be explosions going off way past midnight on the 4th (though given that this is Chicago, it might be gunfire - it was the home of Al Capone after all). Two years ago, I went out at about 10pm and coming down my street was a Mercedes full of what looked like wealthy frat boys with one having his arm out the window drunkenly firing an H&K into the air.

I am fond of the Fourth of July, but I'd rather watch a professional fireworks display from the relative safety of my porch (I can see the big Grant Park display from there).

Comment: chrome bookmark fiasco (Score 1) 132 132

by goombah99 (#50013503) Attached to: Chromecast Update Bringing Grief For Many Users

Related to chormeos autoupdates are chrome browser updates. A couple of months ago I woke oneday to find that all my bookmarks where gone in chrome when I was logged in as myself on google. Furthermore they did not just vanish but rather they were all merged into my wife's account. So basically both of us had wrecked user accounts in chrome. Considing I had many hundreds of book marks carefully curated for more than 15 years across browser changes and computer systems, this was a staggering loss. I was able to export her book marks so I didn't lose them and re-import them into Safari (that was the last day I used chrome forever.) but now they are all out of order, have lots of her book marks, and have many duplicates with my old safari bookmarks. I'm still slowly organizing it.

I'm still puzzled how that could have happened. The only clear link between these two accounts is that on at least one of 7 computers in the home, one of them we share. So obviously that must be the source. But how this mode of failure happened I'm puzzled. Without knowing that I will never use chrome again.

Comment: Re:Kids don't understand sparse arrays (Score 1) 111 111

What happens to your 'standard' linked lists solution when you have ten values scattered over an array which is 1000! (factorial 1000) in each dimension? For most genuinely sparse arrays, a hashmap is a better approximation of an efficient implementation. Of course, there will be corner cases where you want to do something different, but linked lists strike me as an extremely poor solution except in arrays where more than about 10% of cells have data.

Comment: Re:TRWTF: List is used instead of Map (Score 1) 111 111

I should have read the linked questions before replying...

Stupid, stupid, STUPID! Why have numRows and numCols in a sparse array? Things with unnecessary, arbitrary bounds annoy me. My implementation of Conway's Game of Life runs on a sparse array precisely because that allows the world to stretch arbitrarily in any direction a glider goes, limited only by the capacity of the bignum library and the total store available to the program.

And this is how we teach computer science?


Comment: Re:TRWTF: List is used instead of Map (Score 1) 111 111

Sparse array entries, in general, are not necessarily immutable, although they may be so in this case. Most spreadsheets are implemented as sparse arrays, for example. But your point about the benefit of a map is well made.

Comment: Re:Wrong idea: too much skin colors. (Score 1) 160 160

by 91degrees (#50009873) Attached to: Detecting Nudity With AI and OpenCV
Detecting nipples shouldn't be too hard. We could assign a probability based on relative location to the face, colour difference and size. Although a lot of "artistic" nude shots don't show that. The problem here is that they tend to hint at nakedness rather than explicitly show it.You can't detect everything that might be considered rude using a single algorithm.

Comment: I really hope its a bit smarter than that!` (Score 1) 160 160

by 91degrees (#50009837) Attached to: Detecting Nudity With AI and OpenCV
A women in a bikini - acceptable for all but the most puritanical of people - will have a lot of skin. A woman flashing her top will have a lot less skin than that.

The algorithm seems to do some stuff with "curves" - whether this looks for breasts or just female body shape is something I'll have to play with when I'm not at work.

Comment: Re:GUNS (Score 1) 242 242

by PopeRatzo (#50009207) Attached to: Ask Slashdot: For What Are You Using 3-D Printing?

Why can't he use them? Does he not have any high ranking federal government officials within reasonable traveling distances? :)

No, it's because a 3D printed gun is not anywhere near as good as a gun made by a gunsmith. I guess if he has a need for a gun that will pass a metal detector or something (though a 3D printed gun probably wouldn't) then I guess he would find some actual use for one, but 3D guns are still not practical. If you want to shoot reliably, would you choose a 3D printed gun over something made by a professional?

Think about the cost of a 3D printer. Now think about the cost of a serious handgun (or as he said, an "assault rifle", though I doubt he knows what that actually is, or what it's for).

Can you think of a legitimate application for which a 3D-printed gun would be superior to a weapon made by a real gunsmith?

The way to make a small fortune in the commodities market is to start with a large fortune.