• What are you working on?
    5,004 replies, posted
[QUOTE=Map in a box;50076531]HG <3 with --amend[/QUOTE] Or if it's older: - Enable the histedit and evolve extensions (the latter for obsolescence markers) - hg histedit It's interactive, so it opens your text editor with further explanation and lets you specify anything you want to edit. Save and close and it will do the same for each modified or folded revision, hiding the old versions from view. (I don't think Bitbucket supports obsolescence markers yet though, so there it shows up as branching afaik.)
Breakthrough alert! I spent an entire sleepless night replacing all the third party matrix and vector math that ProtoGL was utilising just to be able to introduce my old TestCube(TM) and have it transform according to 100% proprietary code. (which I built using many online examples and which I don't necessarily [I]fully[/I] understand yet...sssshhhhh) I learned a [I]metric fuck ton[/I] of things over the course of this implementation. And now I'm ready to completely gut the render and entity stuff in favour of a component based design. Fun times ahead! [IMG]https://dl.dropboxusercontent.com/u/38489921/Shared/cube-fixed.PNG[/IMG]
Making my server read war and peace and get stochastic word choices from it
[QUOTE=BlkDucky;50076589][url]https://secureview.us/svstrike.html[/url] this isnt an original idea[/QUOTE] I know, this is why I didn't believe I would get anything out of it. [editline]6th April 2016[/editline] [QUOTE=proboardslol;50078968]Making my server read war and peace and get stochastic word choices from it[/QUOTE] Do you build markov chains from characters or from words? Because from words it would be more sensible :D. Show it when it's done!
[QUOTE=Fourier;50072325][video=youtube;XdrNWU3omNQ]https://www.youtube.com/watch?v=XdrNWU3omNQ[/video] Imagine this but with camera. I was lucky though, I just ran it for 10 minutes and took pictures. I saw some pictures were too bright - they stood out. This is where I saw it was already unlocked. The pattern was 4 connections long. [editline]5th April 2016[/editline] This is why I don't believe anybody would pay such amount for my app. It still needs tweaking for each device, still needs lots of work to do, testing, should add PIN unlock (easy to implement)..[/QUOTE] How are you actually inputting the pattern? I see a mouse on your phone, is this something new that android does when you connect a usb mouse to it?
[QUOTE=Richy19;50079262]How are you actually inputting the pattern? I see a mouse on your phone, is this something new that android does when you connect a usb mouse to it?[/QUOTE] You've been able to plug a keyboard and mouse into an Android device for a while now.
[QUOTE=Richy19;50079262]How are you actually inputting the pattern? I see a mouse on your phone, is this something new that android does when you connect a usb mouse to it?[/QUOTE] It's USB On The Go, been in Android since 3.1 and got back ported to 2.3.4 after that but not all phones support the hardware side. Works with keyboards and flash drives and stuff too.
Hey, cool tool my boss showed me a couple of months ago. Thought I'd share it with you guys. Its a mind mapping thing; We use it a lot just to plot things down really fast and move along [URL]http://imgur.com/qPv08XB[/URL] Edit: Website link if you didn't look at the picture [url]https://www.mindjet.com/mindmanager/[/url]
[QUOTE=Ac!dL3ak;50076712]That is actually desirable. Git really, [I]really[/I] does not like letting you modify the commit history. Not only does it change the commit itself, but it also changes every commit after it, on any branch (due to the fact that the SHA1 of the commit will change, and the next commit needs to change the previous SHA1 to point to the modified commit, changing the SHA1 of the next commit, causing the next next commit to modify the SHA1 and so on...). Many developers consider this a Good Thing, because then you can't change the source code without modifying the commit. Yes, that means that even typos are kept in the git history; if you are able to catch it before you push the commit, you can amend the commit easily. However, that still changes the SHA1 of the commit, and that's why it's not a good idea to push the commit you might modify. There are exceptions to acceptable modification of commit histories; for example, removing private or sensitive information.[/QUOTE] You need to be careful removing private or sensitive information too, the old commit is still there unless git gc is run against the repo. Github for example only does this every so often.
[QUOTE=Fourier;50079204]I know, this is why I didn't believe I would get anything out of it. [editline]6th April 2016[/editline] Do you build markov chains from characters or from words? Because from words it would be more sensible :D. Show it when it's done![/QUOTE] Words. Im doing 3, 2, and 1 dimensions all at the same time. [editline]6th April 2016[/editline] It will be available as a webapp on stochatta.com when it's done
[url]https://www.youtube.com/watch?v=YvVrWXF5jKI&nohtml5=False[/url]
when will people realize that even with strategies and bots you will still loose everything and the only winners are the sites that host gambling
[QUOTE=LennyPenny;50080768]when will people realize that even with strategies and bots you will still loose everything and the only winners are the sites that host gambling[/QUOTE] I dunno, anything gambling is such a waste to me. Guess I'm far too cautious
I'm working on a XOR ciphering program for homework, and I can't decode the jpg our professor gave us. He told us to make a linear congruence pseudo random number generator, which, even if I made it wrong still doesn't make sense to me. Using c, here's my code for the PRNG. [QUOTE] //global variables static unsigned int lastx = 0; unsigned int a, c; void startRandom(unsigned int seed) { printf("Random number generator seeded with: %u\n", seed); lastx = seed; // mods by 2^32 automatically, unsigned } unsigned int nextRandom() { unsigned int newX = (lastx*a)+c; lastx = newX; return lastx; }[/QUOTE] And here are the functions that read/XOR/write [QUOTE]void readFromPlainText(char* fileName, char* cipherName) { plaintext = fopen(fileName, "rb"); // plaintext text file fseek(plaintext, 0L, SEEK_END); // move cursor to EOF int fileSize, x; //unsigned int currentRandom = 0; unsigned char c = ' '; fileSize = ftell(plaintext); printf("File size of plaintext %d\n", fileSize); fseek(plaintext, 0L, SEEK_SET); // move cursor to beginning //printf("%d\n", fileSize); cipher = fopen(cipherName, "wb"); // open cipher file for(x = 0; x<fileSize; x++) { fread(&c, 1, 1, plaintext); // read a byte into c unsigned char n = convertToCipher(c, lastx); writeToCipher(n); //printf("%c", n); //if(x<5) { printf("\n%x\t%x\t%u\n", c, n, lastx); } nextRandom(); //output[x] = convertToCipher(c, nextRandom()); // convert byte to cipherd byte } //output[x+1] = '\0'; // always null terminate char arrays fclose(plaintext); fclose(cipher); } void writeToCipher(unsigned char byte) { fwrite(&byte, 1, sizeof(byte), cipher); // write the new byte to file } unsigned char convertToCipher(unsigned char b, unsigned int x) { return (b^x);//%256; } [/QUOTE] The first 5 bytes in hex of the enciphered jpg are AD 15 A3 4F B6 Doing all the math and XORing by hand (using 123 as the seed/key), I get these 5 bytes: D6 47 6E 13 19. My application works the same way as I do by hand and produces the entire file seemingly correctly, however, it's all still just gibberish. Windows file viewer doesn't recognize it as a JPG and the 5 five bytes don't seem to be any type of file header. Where am I going wrong?
Use [ code] tags, it will preserve whitespace
[QUOTE=LennyPenny;50080768]when will people realize that even with strategies and bots you will still loose everything and the only winners are the sites that host gambling[/QUOTE] Poker is not gambling though, and you can win big in the long run with a set in stone strategy and/or bots. Some people play with 20 tables at the same time using a program called tableninja. Roulette though, that is pure gambling. And I agree with your statement.
[QUOTE=AtomiCal;50081818]Poker is not gambling though, and you can win big in the long run with a set in stone strategy and/or bots. Some people play with 20 tables at the same time using a program called tableninja. Roulette though, that is pure gambling. And I agree with your statement.[/QUOTE] It's gambling as long as there is even SOME random chance included. You cannot win against random. Chess isn't gambling, checkers isn't gambling, Go isn't gambling. Poker is. [editline]6th April 2016[/editline] You can apply statistics to increase your changes, but they're just that. Chances.
Its definitely gambling but you can add a chunk of logic to it using card counting. Playing poker online just gets rid of the entire point of bluffing though IMO.
Its definitely gambling because you can't be sure of the outcome. Skill can offset the chances of victory swaying into your side or others and causing other players to fold and whatnot, but there's no guaranteeing that you'd be able to do it. [editline]6th April 2016[/editline] Master poker players are master manipulators of people. But even they can't guarantee that their hand will be good.
[QUOTE=proboardslol;50081788]Use [ code] tags, it will preserve whitespace[/QUOTE] my bad i was really high before, I'm gonna go post in the help thread with the correct formatting
[url]https://kobibok.wordpress.com/2016/04/06/android-pattern-lock-brute-forcing/[/url] If anyone wants to see a bit of this. I didn't went too much into details.
[QUOTE=Fourier;50082988][url]https://kobibok.wordpress.com/2016/04/06/android-pattern-lock-brute-forcing/[/url] If anyone wants to see a bit of this. I didn't went too much into details.[/QUOTE] Something tells me that the fact that you were able to implement this on your own and have it succeed first trial run without any of the extra considerations you mention is like, [i]seriously[/i] worrying for the concept of mobile security. Amazing work; I'm probably being a bit conspiracy-theorist but if you don't mind, I'm never giving you my phone :v:
Lucy. [img]http://i.imgur.com/u2d1t0X.png[/img] ^ That is something I made with Lucy. Code [url=https://github.com/rweichler/lucy/blob/master/examples/cylinder.lua]here[/url]. Basically it's a thing that lets you to load Lua scripts into iOS processes to hook functions and shit in the UI/whatever, using Cydia Substrate and LuaJIT. It's not an original idea though... saurik made cycript already, but it's a bunch of ugly C++ code. The goal is to have Lucy be written in [url=https://github.com/rweichler/lucy/blob/master/scripts/lucy.lua]as much Lua as humanely possible[/url], so people can actually like.... modify the code. And also not have it be this confusing JavaScript/Obj-C hybrid. Just Lua. As for why I'm making this... the whole reason why I got into coding was because of GMod Lua and Facepunch, and I want to bring that kind of feeling out to other scenes... I think Garry really nailed it with GMod Lua (intentional or not). the syntax/simplicity of Lua is great for beginners, the fact that you don't need to compile it or any of that BS is awesome, and forcing you to make your code open source is huge. The first thing I ever made was from changing a variable in CSE (which people flamed me for obviously) and tons of people pilfered my code too (which I got kinda mad about but later came to terms with and embraced it). I really think that experience shaped me into who I am today; supporting free software and whatnot. I want to bring that kind of developer experience outside of GMod and into the "mainstream". I think there are a lot of potential developers out there that want to make tweaks and really customize their phone but think it's too daunting or whatever because you need a Mac and Obj-C experience. I'm hoping to make Lucy take the barrier to down to zero. Anyway Lucy is pretty shitty at it's current state (since I just started it about a week ago). In order to touch the iOS stuff you need to have a decent understanding of the Obj-C runtime but it's definitely doable. You don't need a Mac. If you're jailbroken you can install it off the repo [url=http://cydia.r333d.com]cydia.r333d.com[/url] right now (and load scripts using "lucy SpringBoard script.lua". Ideally, I'd do this for Android since it's way more open, but unfortunately, the way they structured the OS, it's fundamentally impossible to do. That's why Xposed is so shitty compared to Cydia. Anyway yeah.
Lua doesn't force you to have your code open source. Uses luajit, +1 seal of approval.
I Wanted to make something that can draw images on a canvas using the mouse. I used paint the example but really it works anywhere, If you want to change the color on other places then you have to tell it how but other than that it just uses the mouse to draw. I Recomend turning the audio off as its loud and also I recommend you skip trough the video and it is slow becuase paint cannot keep up :c [video=youtube;p8Gmic5iYI8]http://www.youtube.com/watch?v=p8Gmic5iYI8&feature=youtu.be[/video]
[QUOTE=0V3RR1D3;50084934]I Wanted to make something that can draw images on a canvas using the mouse. I used paint the example but really it works anywhere, If you want to change the color on other places then you have to tell it how but other than that it just uses the mouse to draw. I Recomend turning the audio off as its loud and also I recommend you skip trough the video and it is slow becuase paint cannot keep up :c [/QUOTE] Implement it for some online social painting game and wow random players with your skill.
[QUOTE=chimitos;50085011]Implement it for some online social painting game and wow random players with your skill.[/QUOTE] I did I tried it out on some draw my thing alternative. Issue is they kick you for to many request, If I do dot drawing like it is now it works fine but kicks me if I go to fast (Meaning it takes like 4 minutes to draw it) or I can do a line system which works but because of the latency of them the lines lengths never match what there supposed to be, paint works fine of course because its local xD.
[QUOTE=0V3RR1D3;50084934]I Wanted to make something that can draw images on a canvas using the mouse. I used paint the example but really it works anywhere, If you want to change the color on other places then you have to tell it how but other than that it just uses the mouse to draw. I Recomend turning the audio off as its loud and also I recommend you skip trough the video and it is slow becuase paint cannot keep up :c [video=youtube;p8Gmic5iYI8]http://www.youtube.com/watch?v=p8Gmic5iYI8&feature=youtu.be[/video][/QUOTE] Now you could optimize a bit and draw every pixels of one color instead of going back and forth between the palette and the canvas for each pixel.
Network simulator actually simulates things now. [t]http://52.62.164.10/image/20160407065027342.png[/t][t]http://52.62.164.10/image/20160407065101953.png[/t][t]http://52.62.164.10/image/20160407065120316.png[/t] Just set it up with [URL="http://52.62.164.10/image/20160407065229489.png"]some[/URL] [URL="http://52.62.164.10/image/20160407065307683.png"]excessive[/URL] [URL="http://52.62.164.10/image/20160407065329509.png"]config[/URL] [URL="http://52.62.164.10/image/20160407065357375.png"]windows[/URL]. [t]http://52.62.164.10/image/20160407065515530.png[/t][t]http://52.62.164.10/image/20160407065746401.png[/t] Admire the absolute worst pseudo "terminal" emulator (it supports colours via \u0026[36m etc and that's about it) piping output to and from Cygwin's bash shell to run linux only parts of the whole ordeal and then end up with a plot of some description. This is by far the most annoying thing I've made but it does actually do most of what I needed to clone and has some new features the original web version doesn't allow you to do like scaling the output data (Mbits instead of just bytes) and traces taking data from multiple sources.
I've been working on steamworks networking for my game. Changed from using lidgren (though I'm still using it's NetBuffer class) to just steamworks networking. Mainly so I don't have to bother with IP addresses and NAT punching. When someone on your friends list hosts a game they show up on the main menu. You can then simply click on them to join their game. You can also join/invite people via your friend list as well. [video=youtube;KnwlT3k18SM]http://www.youtube.com/watch?v=KnwlT3k18SM[/video]
Sorry, you need to Log In to post a reply to this thread.