Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment: Re:PDFLib (Score 2) 132

by DJ Jones (#47625341) Attached to: Ask Slashdot: Best PDF Handling Library?
TCPDF Open-source PDF-reader built in PHP
FPDF Combine with TCPDF above to create a PDF-writer using PHP
SetAssign Not open-source but this company offers both free and paid libraries that combine with the libraries above to allow PDF encryption / decryption using PHP.- The paid versions support more complex ciphers and I swear by them personally


Not sure if you meant desktop software or...

Comment: Either Ben or Stapleton is missing something (Score 3, Insightful) 51

by DJ Jones (#47247877) Attached to: Book Review: Security Without Obscurity
"To date, no known flaws have been found against DES" : Er, differential calculus? Why do you think we created Triple-DES? Because we like things in threes? Supposedly the NSA made it more difficult to use differential calculus against DES by changing the S-Box permutations but it is still possible.

There was a time when the NSA had integrity....

Comment: Re:Flight recorder (Score 1) 491

by DJ Jones (#46569363) Attached to: How Satellite Company Inmarsat Tracked Down MH370
You realize that up until roughly two years ago (in the US at least) the majority of people who identified themselves as "libertarians" were left-wing hippies from Vermont who embraced social contracts but wanted the government out of their personal affairs, pot gardens and gun racks? It wasn't until the "Tea Party" under right-wing funding and Carl Rove style propaganda was the term "libertarian" bastardized to enable right-wing nut jobs to hide under the guise of a small government agenda. I am a libertarian and I vote Democrat; not because they are equal but because if you go by historical facts and numbers, the Democrats have consistently been the party of fiscal responsibility since the 1960's. You're not crazy, the two groups are far more agreeable than you think. Is it off topic? I blame Microsoft.

Comment: Re:Flight recorder (Score 1) 491

by DJ Jones (#46569353) Attached to: How Satellite Company Inmarsat Tracked Down MH370
You realize that up until roughly two years ago (in the US at least) the majority of people who identified themselves as "libertarians" were left-wing hippies from Vermont who embraced social contracts but wanted the government out of their personal affairs, pot gardens and gun racks? It wasn't until the "Tea Party" under right-wing funding and Carl Rove style propaganda was the term "libertarian" bastardized to enable right-wing nut jobs to hide under the guise of a small government agenda. I am a libertarian and I vote Democrat; not because they are equal but because if you go by historical facts and numbers, the Democrats have consistently been the party of fiscal responsibility since the 1960's.

You're not crazy, the two groups are far more agreeable than you think.

Is it off topic? I blame Microsoft.

Comment: Re:Print to PDF (Score 5, Interesting) 238

by DJ Jones (#44314453) Attached to: Ask Slashdot: How Do You Automatically Sanitize PDF Email Attachments?
Sadly a lot of PDF printers will retain javascript code even if you print it and re-assemble it back into a PDF. The problem lies in the fact that Adobe allows javascript to be embedded inside image objects and compressed blocks of PDF binary. It's not as simple as opening the file and stripping out anything that starts with <script>. Code can be fired on almost any user event and it can be attached to almost any high-level object. It's not impossible to create a scrubber but it's a lot more complicated than you might think.

I spent the better part of a week attempting to create a PDF scrubber at my office for this same reason. We had become victim to highly targeted attacks from PDF sources. I wrote a scrubber in PHP using an open-source PDF parser and a series of regular expressions to strip out any javascript. At the end of the day, I came very close to a working solution but I ran into issues with encrypted PDF's.

The project was shelved in favor of making users open all external PDF's on a virtual server that was hardened and re-imaged every evening to prevent any malicious code from running rampant. That's the simplest solution.

Comment: Re:depends on what you're going into (Score 1) 656

by DJ Jones (#43875337) Attached to: Ask Slashdot: How Important Is Advanced Math In a CS Degree?
Agreed. You may not always need a math background depending on what you decide to do. I have a CS and Applied math degree and I worked in finance for 5 years where the math background was an invaluable tool that helped me excel where my coworkers without it did not. For other jobs I've had developing apps and UI's for start-ups, it rarely came up; however, whether you use the math or not on the job there will always be fundamental math quizzes during technical job interviews and having a higher understanding of mathematics will always help you in that regard.

Also if you ever develop a large-scale database or system, mathematical optimization will always come into play in ways you never thought it would.

Comment: Re:I won't be buying one... (Score 5, Insightful) 632

by DJ Jones (#43582507) Attached to: New Smart Gun Company Hopes To Begin Production This Summer

"We've dedicated well over 10 years to come up with this solution. We have a lot of people in this company who've put a lot of blood sweat and tears into it and never gotten a penny out of it. If we were in it for the money, we would have been out of it a long time ago. "Our motto is ... if we save the life of one child, it's a miracle to that child and everyone that child touches."

If they were true to their motto they should have dropped the project and donated their funding to a children's hospital 10 years ago.

If imprinted foil seal under cap is broken or missing when purchased, do not use.

Working...