[QUOTE=diwako;46066928]Problem is, that program needs to run there. Basically I wrote it for the whole lot reason for it to run on those machines to check out Project revisions and export those to Excel files.[/QUOTE]
AnyCPU should run on both x64 and x86, you'll only run into trouble when attempting to load something built for a different architecture
I'm trying to project a shadow map onto the world but for some reason when I move the camera the shadow moves slightly along with the camera.
[vid]http://dl.dropboxusercontent.com/u/244444/ShareX/2014-09/2014-09-25_03-40-51.webm[/vid]
please excuse the mess/temp code
[url]https://github.com/CapsAdmin/goluwa/blob/master/.base/lua/libraries/entities/components/light.lua#L151[/url]
I'm getting my moto g 2nd gen soon and I'm wondering of anyone has some good tutorials on how to make an apk and scripts on it
Where should I start if I want to reverse-engineer a client software to emulate a server?, I know some stuff, getting the packets and reading them for info and figure out what every piece of it means.
That pretty much is what you do.
You also analyse the client binary, looking at the functions that handle network I/O, and modify packets to see how the other side reacts (fuzzing).
[QUOTE=DrTaxi;46082278]That pretty much is what you do.
You also analyse the client binary, looking at the functions that handle network I/O, and modify packets to see how the other side reacts (fuzzing).[/QUOTE]
Well I know the theory, on practice i-m a bit lost.
That tends to happen, the only advice I can give in that regard is to be calm and start from the basics, and write down everything you find.
For binary analysis, I've found [url=http://www.youtube.com/watch?v=vb18UVF4a_o]this series[/url] to be quite helpful (and interesting). And really, if you don't have any clue as to the protocol, the client binary is where you'll wanna start (along with dynamic analysis, i.e. watching the program flow as it talks to the server). And if the traffic's encrypted, there's no way around it.
I'm not entirely sure if I should put this in Webdevelopment or Programming, either way, I'm looking for an ANSI formatting -> HTML converter written in Javascript. I found a few libraries but neither of these just take plain strings, they all require me to route stdout towards it or they are incomplete (don't have all 16 colors or don't support (either or all) bold, italic and underline).
In bash, how do I set it so my directories are underlined or at least a different color?
This is what I shamelessly stole from arch linux
[QUOTE]#PS1='[\u@\h \W]\$ ' # Default
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'[/QUOTE]
guys I think I'm using github wrongly
[IMG]http://puu.sh/bQbro/1d351484be.png[/IMG]
this is a solo project...
all the commands I use are:
[code]git add -A
git commit -m "bla bla"
git push[/code]
and sometimes
[code]
git commit --amend
[/code]
I think it's this that causes merge conflicts, why? I thought this just added your latest change to the last commit?
Project is [URL="https://github.com/PatronBernard/VertaalOefeningQT/"]here[/URL]
Edit:
[URL="http://stackoverflow.com/questions/253055/how-do-i-push-amended-commit-to-the-remote-git-repo"]I think it's because I amend after I push.[/URL]
Amending takes the latest commit out of the history, adds your changes, and puts the amended commit where the old one was. It's a destructive change, not an incremental one. So when you push to a remote that's already on your old state, you are not merely adding new information, you are trying to replace old information. That is indeed why this causes conflicts.
Anyone have a nice tutorial or something on how to correctly split a c++ project into files? I can't find anything good and when I try to figure it out myself everything goes wrong.
[QUOTE=galimatias;46091414]Anyone have a nice tutorial or something on how to correctly split a c++ project into files? I can't find anything good and when I try to figure it out myself everything goes wrong.[/QUOTE]
For me at least, a good rule of thumb is one class per file.
Bear in mind that is just a guideline, sometimes it makes sense to have multiple classes in one file or whatever, depends on the situation.
[url]https://gist.github.com/anonymous/a6b8da6dac3026b6c2c0[/url] is what I get from a compiled method and [url]https://gist.github.com/anonymous/37322befe4c77378335a[/url] is what I'm trying to emit, I however get told that the second call is invalid.
I have no clue, any ideas?
I'm having trouble implementing an interface in Eclipse. The interface file is PriorityQueue.java and my class is OrderedArrayPriorityQueue.java both files are in a data_stuctures package and I have package data_structures; in both files.
PriorityQueue.java has
[code]
public interface PriorityQueue<E> extends Iterable<E> { }
[/code]
OrderedArrayPriorityQueue.java has
[code]
public class OrderedArrayPriorityQueue<E> implements PriorityQueue<E> { }
[/code]
I'm getting an error that says "PriorityQueue cannot be resolved to a type"
I think it might be my laptop that's fucking up. I copied the exact code on my desktop and it works...
Eclipse is really difficult to work with sometimes.
[QUOTE=EMMERS!;46104561]Eclipse is really difficult to work with sometimes.[/QUOTE]
Use IntelliJ,
I came from Eclipse and I must say it's a huge step forward.
Better Code-Completion, cool Plugins (Web, Java EE etc.)
( Eclipse was always annoying for me )
I currently work at a company using various business solutions software for various things such as case management and incident management.
I have a background in programming and work with .net on a daily basis. How possible do you think it would be to get my own business software off of the ground?
[QUOTE=JakeAM;46106783]
I have a background in programming and work with .net on a daily basis. How possible do you think it would be to get my own business software off of the ground?[/QUOTE]
When i see the monstrosity accounting at my job uses (written in VB and crashes all the time) by a company that somehow seems to be staying in business, it can't be too difficult
[QUOTE=Goz3rr;46107522]When i see the monstrosity accounting at my job uses (written in VB and crashes all the time) by a company that somehow seems to be staying in business, it can't be too difficult[/QUOTE]
Tell me about it. There must just be no alternatives. They look so outdated too!
[QUOTE=JakeAM;46107548]Tell me about it. There must just be no alternatives. They look so outdated too![/QUOTE]
If you ever feel like attempting something together, shoot me a message on here or steam, assuming that by .net you meant C#
[QUOTE=Goz3rr;46107522]When i see the monstrosity accounting at my job uses (written in VB and crashes all the time) by a company that somehow seems to be staying in business, it can't be too difficult[/QUOTE]
I work at a top ten POS provider. You would be surprised at the shitty code base.... Single Thread... /wrists
Java question.
[code]
import java.util.Scanner;
public class arraysandstuff
{
public static void main(String [] args)
{
Scanner in = new Scanner(System.in);
double[] a1 = new double[5];
double[] a2 = new double[5];
for(int i = 0; i < 9; i++)
{
if(i >= 5 && i <= 9){
for(int f = 0; f < 4; f++){
System.out.println("Choose a random double to put in another array:");
String chosenDouble = in.next();
}
}
else{
System.out.println("Choose a random double to put in an array:");
String chosenDouble2 = in.next();
a1[i] = Double.parseDouble(chosenDouble2);
}
}
double[] a3 = new double[5];
for(int i = 0; i < 4; i++)
{
a3[i] = a1[i] * a2[i];
System.out.println(a3[i]);
}
}
}
[/code]
This program is asking for user input to put in data into 2 different arrays and then it gets to product of the corresponding items in both arrays and places them into a third array.
Unfortunately, the loop seems to go on forever for user input and I can't figure out why.
Someone help please? :(
The problem is that you are asking for too many numbers. Your inner loop is executed 4 times and it asks for input 4 times. The outer loop asks for input 5 times for a total of 21 calls to in.next(). You should use 2 for loops instead of 2 nested loops:
[code]for(int i=0;i<5;i++) {
//Get a double and put it in a1 (at index i)
}
for(int i=0;i<5;i++) {
//Get a double and put it in a2 (at index i)
}
//Another loop to multiply everything together[/code]
Also, Scanner has a nextDouble() method that you should use instead of using next() and parsing it yourself.
[QUOTE=Fredo;46108416]The problem is that you are asking for too many numbers. Your inner loop is executed 4 times and it asks for input 4 times. The outer loop asks for input 5 times for a total of 21 calls to in.next(). You should use 2 for loops instead of 2 nested loops:
[code]for(int i=0;i<5;i++) {
//Get a double and put it in a1 (at index i)
}
for(int i=0;i<5;i++) {
//Get a double and put it in a2 (at index i)
}
//Another loop to multiply everything together[/code]
Also, Scanner has a nextDouble() method that you should use instead of using next() and parsing it yourself.[/QUOTE]
Thanks!
Snip, ninja'd. I should really check for replies next time. :v:
Anyone has any idea for my final year project? Perhaps you wanted to make it once but then decided to drop it?
I know:
Android (Native/Java), Java, C#, JS, PHP, MySQL and then obviously html, css etc..
Have till May 2015 to make the project.
Would love to make some kind of medium/big app or piece of software that works across Android Phones, Windows and Web Browser at same time.
It's supposed to be a big project, others in my course are making apps on PhoneGap and simplistic websites but I need to stand out to get job offer in big company on project showcases next year so it must really really stand out compared to others.
My spec is: Networking and Mobile Tech. (I could have chosen Gaming but while it may be fun, it's hard to secure job in that area + they are teaching what I already know - 3Ds Max, Video Editing, Graphics, Unity etc..).
So ideally: Project that includes: Network, Mobile Tech, Web Dev.
I could perhaps make a project to cover all 4 specializations (Networking and Mobile Tech, Gaming, Cloud, Software Engineering) that would REALLY stand out but I am afraid it's not enough time.
Any tips?
P.S - just to indicate level of difficulty required to stand out:
Last year I made an Android App which allowed "parents" to track who their children call or text, every specific time interval (set by user) call/sms logs were sent from "childs" phone to online database, then "parent" was able to see logs either from their phone (same app) or on website, that gave me best result in class and lecturer was quite impressed, ended up getting 97% for project.
So something along those lines.
Chat app's are quite modern at the moment.
Lots of possibilities for Cross Platform, Push Notification and making it pretty.
[QUOTE=Nisd;46111136]Chat app's are quite modern at the moment.
Lots of possibilities for Cross Platform, Push Notification and making it pretty.[/QUOTE]
Yeah I was thinking of what, with following features:
*Customizable avatars.
*Perhaps use multiple servers to offer secure chatting that doesn't keep logs or etc.. (needs more think-through)
*Have a map showing if there are any other chat users currently around you.
*Cover all 3 platforms. (Android, Web and Win)
That would work pretty well I am sure.
Sorry, you need to Log In to post a reply to this thread.