• What Are You Working On? - August 2014
    1,181 replies, posted
[QUOTE=Dr. Evilcop;45755044]Oh god it's worse than I thought. The class that's a prerequisite to my CSC classes isn't just an intro to Office, it's an intro to computers in general. The instructor took a considerable amount of time explaining to everyone that Macs can't run Windows software and vice versa.[/QUOTE] Test out of it if you can, talk to counselors before it's too late to switch classes!
[QUOTE=Tamschi;45756762]Is that for Europe or the US? Over here streets usually aren't much aligned at all since the cities grew organically since the middle ages. The only pattern there is is some tendency for them to go in parallel, but that's already present in the unaligned case it seems.[/QUOTE] Good point, I am aiming for a more American feel. When you say over here I assume Europe because of the whole middle ages thing.
[QUOTE=WTF Nuke;45759204]Good point, I am aiming for a more American feel. When you say over here I assume Europe because of the whole middle ages thing.[/QUOTE] Yes, also I'm from [img]http://facepunch.com/fp/flags/de.png[/img].
[QUOTE=ben1066;45751856][video=youtube;Xsa1n2LDcQ4]http://www.youtube.com/watch?v=Xsa1n2LDcQ4[/video] Apologies for the poor quality, my Nexus 4 doesn't have a fantastic camera. Despite the awful looking Verilog I have made something that works as designed, so that's good at least. My previous question still applies, how the hell do you make Verilog into something that can not be awful code. Where do you go from [url]https://gist.github.com/anonymous/254d346b3066a58d670f[/url][/QUOTE] Cool tubes and clocks, but something just bothers me.. why is that everytime I see something FPGA related, I see developing boards on steroids and some really simple thing beside it that even Arduino could do it.. is developing for FPGA really that super hard? Also I really never understood Verilog
Maze in my virtual machine; [img]http://i.imgur.com/bcbVUoz.png[/img]
[QUOTE=Tamschi;45759256]Yes, also I'm from [img]http://facepunch.com/fp/flags/de.png[/img].[/QUOTE] Sometimes I forget we have those little flags.
[QUOTE=Fourier;45759335]Cool tubes and clocks, but something just bothers me.. why is that everytime I see something FPGA related, I see developing boards on steroids and some really simple thing beside it that even Arduino could do it.. is developing for FPGA really that super hard? Also I really never understood Verilog[/QUOTE] I am totally aware that I could achieve this on a microcontroller that probably costs 1/10th the price or less than the FPGA I'm using there. I just wanted to do something different. In addition, I do plan on using a VFD that requires multiplexing which will at least be some what more suited to an FPGA than driving some 7 segment displays. I don't like Verilog either. I wouldn't say FPGAs are outright difficult, they are just very different to how you think from programming for a microcontroller say.
[QUOTE=cra0kalo;45751056]reminds me of GRID2's loading screen[/QUOTE] ...which is nice, but loses its charm after the 10th infinite load :pwn:
[QUOTE=Fourier;45759335]Cool tubes and clocks, but something just bothers me.. why is that everytime I see something FPGA related, I see developing boards on steroids and some really simple thing beside it that even Arduino could do it.. is developing for FPGA really that super hard? Also I really never understood Verilog[/QUOTE] You do get simpler dev boards, e.g. the Papilio One: [IMG]http://papilio.cc/uploads/Papilio/pone.jpg[/IMG] All the magic happens in the chip in the middle (the FPGA), the rest of the stuff is just the USB interface top-right, the voltage regulators to generate the different voltages that the FPGA uses (top left), and an EEPROM to store the FPGA's "program" (configuration image) at the bottom left. FPGA development is not [I]too[/I] complicated, I prefer VHDL to Verilog; I used [URL="http://www.freerangefactory.org/dl/free_range_vhdl.pdf"]this book[/URL]. It's pretty great fun.
Made my offer to study Artificial Intelligence and CompSci last week, and Iv'e learned that the course is taught in Java. I feel i'm reasonably proficient with C# (my language of choice). Is it worthwhile 'getting into' the java way of things before I start do you feel? or just go from scratch. If so, what would people say some things to look out for are in the language, any quirks / tidbits. What else I was wondering is what IDE would you use (I'm a [I]big[/I] fan of Visual Studio but..)?
[QUOTE=Lemmingz95;45760883]Made my offer to study Artificial Intelligence and CompSci last week, and Iv'e learned that the course is taught in Java. I feel i'm reasonably proficient with C# (my language of choice). Is it worthwhile 'getting into' the java way of things before I start do you feel? or just go from scratch. If so, what would people say some things to look out for are in the language, any quirks / tidbits. What else I was wondering is what IDE would you use (I'm a [I]big[/I] fan of Visual Studio but..)?[/QUOTE] Go with it and roll with the punches as you do. IntelliJ IDEA is a great IDE for Java development. The alternatives (Eclipse and Netbeans) are ruddy, horrible things in my experience. Best of luck with your AI course!
[QUOTE=Naelstrom;45759152]Test out of it if you can, talk to counselors before it's too late to switch classes![/QUOTE] Gotta take it :( On that note, one of my terribly expensive textbooks came with an eBook version. It uses some proprietary DRM bullshit preventing me from putting it on my Kindle where it'd actually be useful. However, it allows you to print ten pages at a time. I wrote an incredibly specific Java program to print out all the pages to pdf for me :v: [code]package com.venatustech.vbkrip; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.InputEvent; import java.awt.event.KeyEvent; public class Main { private Robot robot; private Boolean firstRun; public Main() throws AWTException { robot = new Robot(); int numPages = 717; int latestPage = 1; firstRun = true; while (latestPage < numPages) { clickAt(17, 36); clickAt(104, 163); clickAt(1078, 433); type(latestPage + ""); clickAt(1160, 433); //if (!firstRun) //{ type((latestPage+9)+""); } //firstRun = false; clickAt(1080, 695); clickAt(1050, 555); clickAt(315, 370); type(latestPage+"-"+(latestPage+9)+".pdf"); clickAt(520, 370); latestPage += 10; waitFor(10000); } } public void clickAt(int xLoc, int yLoc) { robot.mouseMove(xLoc, yLoc); robot.mousePress(InputEvent.BUTTON1_DOWN_MASK); robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK); waitFor(200); } public void type(String text) { for (int i = 0; i < 5; i++) { robot.keyPress(KeyEvent.VK_BACK_SPACE); waitFor(10); } for (int i = 0; i < text.length(); i++) { robot.keyPress(KeyEvent.getExtendedKeyCodeForChar(text.charAt(i))); robot.keyRelease(KeyEvent.getExtendedKeyCodeForChar(text.charAt(i))); waitFor(10); } waitFor(50); } public void waitFor(long time) { try { Thread.sleep(time); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } public static void main(String[]args) { try { new Main(); } catch (AWTException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }[/code]
PDF DRM is without a doubt not possible to remove. Don't even try to attempt it. It is incredible how they made the impossible to break DRM. [url=http://arstechnica.com/information-technology/2010/07/court-breaking-drm-for-a-fair-use-is-legal/]It is totally not legal to [/url][url=http://gizmodo.com/5596571/federal-judge-ok-to-break-drm-for-fair-use]remove PDF DRM [/url][url=http://www.courthousenews.com/2010/07/23/29099.htm]for personal use.[/url]
I don't understand how PDF DRM could possibly work. What is its purpose? To stop someone from modifying a PDF? The reader has to be able to read the content of the PDF, and after that it can just...export...it?
PDF drm prevents you from printing it and a few other tiny limitations. It's a flag in the PDF file that's impossible to unset because the file data is impenetrable and under 500 proxies.
So it's entirely dependent upon the reader?
Yeah. I'm pretty sure the KDE PDF reader ignores the flag. It's been awhile since I've read up on it so it might of changed, but I doubt it
[QUOTE=Map in a box;45761977]Yeah. I'm pretty sure the KDE PDF reader ignores the flag. It's been awhile since I've read up on it so it might of changed, but I doubt it[/QUOTE] How absolutely fucking stupid.
I've been having too much fine in Go Reading bytes from a file as hex (Doesn't work 'properly', it sometimes gives the wrong hex value) [IMG]http://i.imgur.com/iOjeWsC.png[/IMG] Generating random names [IMG]http://i.imgur.com/NQAdTNt.png[/IMG]
[QUOTE=Map in a box;45761481]PDF DRM is without a doubt not possible to remove. Don't even try to attempt it. It is incredible how they made the impossible to break DRM. [url=http://arstechnica.com/information-technology/2010/07/court-breaking-drm-for-a-fair-use-is-legal/]It is totally not legal to [/url][url=http://gizmodo.com/5596571/federal-judge-ok-to-break-drm-for-fair-use]remove PDF DRM [/url][url=http://www.courthousenews.com/2010/07/23/29099.htm]for personal use.[/url][/QUOTE] It doesn't come in PDF format. It comes in some proprietary format. I was converting it to PDF by exploiting its print-ten-pages-at-a-time feature.
[QUOTE=geel9;45762041]How absolutely fucking stupid.[/QUOTE] On the other hand you cant do much to put DRM on stuff like that.
My UI is just about done, while I finish polishing it up would some folks mind stress testing it? Let me know if there's anything you'd like added, etc. Is it intuitive/pleasing/etc? Once I'm happy with it I'll start writing the image processing backend. [url]http://a.pomf.se/ezhztz.zip[/url] Known bugs/features: * About button doesn't do anything. * Will have Rename Folder menu item soon. * Just FYI, Shift + Right Click on a file/thumbnail opens the shell menu for the selected file(s). * Currently does not track deleted files, but should track renamed ones. Still gotta write some code there ;)
Two way communication with a web-based SQL database: Working!
[QUOTE=Map in a box;45762364]On the other hand you cant do much to put DRM on stuff like that.[/QUOTE] Then don't sell it.
[QUOTE=Dr. Evilcop;45762301]It doesn't come in PDF format. It comes in some proprietary format. I was converting it to PDF by exploiting its print-ten-pages-at-a-time feature.[/QUOTE] You can also convert it to a comic book that's easily readable on the Kindle (if you have the paperwhite which, in my experience, is crash prone with PDFs): [URL="http://www.bullzip.com/products/pdf/info.php"]Bullzip PDF Printer[/URL] can output images and [URL="https://github.com/ciromattia/kcc"]Kindle Comic Converter[/URL] turns them into high-quality files that you can seek in with preview.
Someone found a dumb exploit on a korean business website, so i wrote this. [img]http://i.imgur.com/vnK81Jl.png[/img]
[QUOTE=MatheusMCardoso;45765498]Someone found a dumb exploit on a korean business website, so i wrote this. [img]http://i.imgur.com/vnK81Jl.png[/img][/QUOTE] Nice, but why would you check a Korean business website for exploits in the first place?
[QUOTE=Tamschi;45765569]Nice, but why would you check a Korean business website for exploits in the first place?[/QUOTE] Because of that exact mindset.
[QUOTE=geel9;45761929]So it's entirely dependent upon the reader?[/QUOTE] I don't remember which PDF reader it was but there was one that actually had a setting called "Obey DRM limitations"
[QUOTE=horsedrowner;45766069]I don't remember which PDF reader it was but there was one that actually had a setting called "Obey DRM limitations"[/QUOTE] I really want to know if that was checked or unchecked by default.
Sorry, you need to Log In to post a reply to this thread.