Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Submission + - File compression format Seminar reports/paper presentations/ ppt- free download (itpathshala.com)

An anonymous reader writes: The original Lempel Ziv approach to data compression was first published in in 1977, followed by an alternate approach in 1978. Terry Welch's refinements to the 1978 algorithm were published in 1984. The algorithm is surprisingly simple. In a nutshell, LZW compression replaces strings of characters with single codes. It does not do any analysis of the incoming text. Instead, it just adds every new string of characters it sees to a table of strings. Compression occurs when a single code is output instead of a string of characters.
The code that the LZW algorithm outputs can be of any arbitrary length, but it must have more bits in it than a single character. The first 256 codes (when using eight bit characters) are by default assigned to the standard character set. The remaining codes are assigned to strings as the algorithm proceeds. The sample program runs as shown with 12 bit codes. This means codes 0-255 refer to individual bytes, while codes 256-4095 refer to substrings.
Compression
The LZW compression algorithm in its simplest form is shown in Figure 1. A quick examination of the algorithm shows that LZW is always trying to output codes for strings that are already known. And each time a new code is output, a new string is added to the string table.

Submission + - Computer Programs to solve Killer Sudoku puzzles and other interesting puzzles

surendra jain writes: Dear Fellow Geeks,

    I have written Fortran 90 codes to solve Killer Sudoku puzzles (http://en.wikipedia.org/wiki/Killer_sudoku). You can get Killer Sudoku puzzles at : http://krazydad.com/killersudoku/. I also have written codes to solve Sudoku, Towers of Hanoi and to find solution to 8 queens in a chess board without crossing each other. The programs are written using Recursive subroutines and are very elegant. I have uploaded the code in the following website : https://sites.google.com/site/skjgeek/. I request you people to have a look at it and send me comments if there are any issues.

Submission + - Global Warming Is Thawing Out the Frozen Corpses of a Forgotten WWI Battle (vice.com)

Daniel_Stuckey writes: In what is quite possibly the most bizarre result of global warming yet, a melting glacier in the Northern-Italian Alps is slowly revealing the corpses of soldiers who died in the First World War. After nearly a century, the frozen bodies appear to be perfectly mummified from the ice. With the remains also comes the story of the highest battle in history—‘The White War’.

The year is May 1915. The newly unified Italy decides to join the Allied Forces in the First World War, which by then is 10 months underway. Italy, eager to expand its borders, decides to wage war against Austria in an effort to annex the mountain areas of Trentino and Southern Tirol. The conflict results in what is now known as ‘The White War’: a cold, four-year-long standoff between Italian mountain troops, named ‘the Alpini’, and their Austrian opponents, ‘the Kaiserschützen’. The battle was fought at high altitude, with special weapons and infrastructure like ice-trenches and cable transports. Often the sides would use mortar fire to try and incur avalanches—‘the white death’—on each other’s camps, claiming thousands of lives.

Submission + - Encrypted messaging startup Wickr offers $100K bug bounty (networkworld.com)

alphadogg writes: Two-year-old startup Wickr is offering a reward of up to $100,000 to anyone who can find a serious vulnerability in its mobile encrypted messaging application, which is designed to thwart spying by hackers and governments. The reward puts the small company in the same league as Google, Facebook and Microsoft, all of which offer substantial payouts to security researchers for finding dangerous bugs that could compromise their users' data. Wickr has already closely vetted its application so the challenge could be tough. Veracode, an application security testing company, and Stroz Friedberg, a computer forensics firm, have reviewed the software, in addition to independent security researchers.

Comment Re:Not a fanboi, but (Score 1) 511

Although I did buy a used Samsung S2, so I can play around with Android programming and have a real phone to test it on... but, it doesn't actually have a SIM card in it (although I can internet browse via my wireless router). I could pop the SIM from my Nokia in it (tried it, works fine), but I don't really *want* a "smart" phone ( funny, most of the people I know with "smart" phones spend most of their day stupidly staring into the phone, texting, etc, rather than actually experiencing the real world around them ).

*chuckle* That seems to be the general consensus.

I got a refurb samsung as a music player to replace an aging Sansa. Unfortunately, I probably still have to get a Sansa.

  • If you accidentally leave wi-fi on --- even if the device is in limbo - on/screen off - hasn't been used in hours... the battery dies in 12 hours or less.

Whereas an actual MP3 player will last months on a single charge if its only used sparingly. (Or 30-50 hrs continuous play.)

Comment Robert J.Sawyer Trilogy (Score 1) 732

Robert J. Sawyer had a series 10+ years back now:
The trilogy's volumes are titled Hominids (published 2002), Humans (2003), and Hybrids (2003).

Very interesting take on what the modern world would likely consider "socialist". Some of the "tasks" people (neanderthals) had was to be an exhibitionist. They would wander around interesting places and be akin to a talk-show host as such - given that their "job" was basically exhibitionist, their live-monitor-feed was always on 100%.

Comment Re:Cable versus Broadcast (Score 1) 383

That's how it was in Canada at least back before broadband was the necessary choice. Even in the "little" towns there were dozens of Dial-Up providers. All of those were bought-out or went tits-up as we headed into the early/mid 2000's. I imagine it was similiar in the States in the 90's, whereas in the mid/late 80's you pretty much needed to have a university account to access outside of the BBS-scene.

Comment Re:Exactly why I stopped buying Apple (Score 1) 380

Not correct, we have an iMac that's about 6 years old, and a MacPro Core2Duo (x64) from early 2007.
Neither can upgrade past Lion. And if we upgrade those machines past Snow Leopard, all the Adobe software needs to be repurchased - architechture change - will not run on Lion or beyond.

Now compare that to my PC-Desktop/Workstation, since 2005 (it's original build) I've changed the CPU and Motherboard once (plus replacements of the mobo upgrade due to failures), added Ram twice: switched to 8GB (2x4GB) for ~$80, then added 16GB on a crazy tiger-direct sale last year ~$90 (delivery took 4 weeks).

Original cost of the first 2005 build, including monitor, ~$800. Plus upgrades (including newer HD's) $500.

My PC started with Win2K in 2005, Win7 in 2011-2012, and Win8 for $30 last year.

Year-in-year-out the non-Mac PC can be kept up to date for linux or Windows with minimal upgrades that really don't cost that much. Whereas Mac propositions are almost always replacing the machine completely at a nearly unreasonable cost.

Comment Re:Google+ is supremely annoying (Score 1) 339

I was trying to do a "Hangout" with my mother, as it allows screen-sharing and the ability to take control of the other user's machine -- which has allowed me to move forward with our weekly computer training sessions.

Likewise google didn't like my name -- real name only... I was able to finally push my registration of Google+ through with the "name" Crash N. Burn :-)

Comment Re:Belkin, eh? (Score 1) 310

Then there's those of us that have had a Belkin router for years with no issue. After Cisco acquired Linksys what was there available for the home market - that didn't suck... D-Link?
Maybe, but you couldn't with confidence buy a D-Link router and know that it would be relatively trouble-free.

Netgear for instance, might be a decent model or might be complete trash. I've had fairly good runs with a few different TP-Link models and Belkin - compared to all of the non-WR54G Linksys models and D-Links that have just crapped out entirely shortly after the warranty expired. Or when we had 2 routers D-link/Linksys that had to alternately be used as they would both overheat and stop routing.

Comment Re:I know the government loves to lie to us... (Score 3, Interesting) 490

Obama has been targetting smokers since the beginning. He is an "ex"-smoker, you see so everyone should quit.

When I moved to the states a few years back now, I smoked Djarum. Two months before I moved, Obama + Phillip Morris (Marlboro I believe) Lobbied to ban "flavoured" cigarettes, well except for menthol. The legislation isn't supposed to make sense, it's just supposed to make money.

Phillip Morris with Obama's assistance got all flavoured cigarettes banned in the states. Then Phillip Morris after basically killing the market for many companies in the states (Clove cigarettes, etc) began selling "clove" Marlboro's to indonesia and other Indo-European countries.

Not that Canada is all that much better, they tax cigarettes about 200%. But at least you can still buy them if you feel like it.


Now if you've seen Djarum or other "flavoured" brands in the last 3+ years. They got around the ban by renaming them "Cigarello's" using cigar paper (thicker) and increasing the diameter by about an 1/8 of an inch or so.

Comment Re:He has a point, no? (Score 1) 231

The interesting thing with Windows --- change under the hood (non-forward facing core changes) has almost always been improvements; minus the f-up in Vista with file-copy priority scheduling. Whereas forward facing (GUI/interface) has mostly been superfluous. E.g. it looks different but functions about the same or better.

Microsoft threw that idea out with Windows 8: core changes were good, but the forward facing GUI/Interface was a drastic change that looks different and functions about the same or WORSE. It's likely this started to creep in with Vista onwards, along with the Ribbon-mentality.

The other problem(s) are most noticeable when you do a jump like I did, from Win2000 to Win7, Office2000 to Office2013, etc. Compared to a "normal" customizable toolbar, Ribbons are less flexible, take up more real-estate and usually require more clicks to get the same task accomplished than before.

Where things haven't really changed, it's business as usual --- yet where it has changed, it's almost always worse. Every time I need to uninstall a program my brain does a disconnect trying to locate the "Uninstall" button in "Programs and Features" ... not a button anymore just a piece of unadorned text above the 'file-list'. Same thing with NewFolder in Explorer or the Open/Save dialog.

Slashdot Top Deals

No man is an island if he's on at least one mailing list.

Working...