Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~17.8K People Reached
Interests
Linux, Java, C++, Networking, fishing
Favorite Tags

19 Posted Topics

Member Avatar for <M/>

1. Norwegian: My main language 2. Swedish: Very similar to Norwegian, so most norwegians understand it. My mother is also Swedish, so I have grown up with it. 3. Danish: Don't really speak danish, but understand it. The Norwegian written language (bokmaal) is derived from the Danish language, as we …

Member Avatar for iamthwee
0
499
Member Avatar for rob.sigmon.1

You could use an array, matrix (multidimensional array), Vector, List, ArrayList, Collection, Map... In my opinion, then simplest would probably be to use `List<InventoryItem> inventory = new ArrayList<>();`

Member Avatar for pookie47
0
568
Member Avatar for filipgothic

Have you tried opening your browser (on the computer with IP 192.168.1.4), typing in http://192.168.1.4 to see what happens? You should also try http://localhost. If the latter works, but not the 192.168.1.4 address, then the apache server most probably have been configured to listen only to the localhost interface. This …

Member Avatar for filipgothic
0
3K
Member Avatar for tjeckley

Try out [this toolkit](http://kb.sandisk.com/app/answers/detail/a_id/9328/~/ssd-toolkit-support-information), and see if you can get some SMART info from your disk. I've never experienced those kind of issues with any of my SSD disks, but I have with "normal" drives. So although I wouldn't exclude a virus being the issue, I would further explore disk-failure …

Member Avatar for RobertHDD
0
423
Member Avatar for Kunai9292

Would this solve it? int min_year = 2012-122; int max_year = 2012+122; for (int age = 1; i <= 123; i++) { if ((i*i >= min_year) && (i*i <= max_year)) { int age = i; int year = i*i; int birth = (i*i)-i; System.out.println("A person borne in "+birth+" would be …

Member Avatar for TylerD75
0
9K
Member Avatar for javaCONFUSEDDD

Know this might be too late, but as I understand the task: for (int i = 1; i <= MAX; i++) { System.out.println("Age: " + i + " squared: " + i*i); } Would give you all neccessary values, like: Age : 44 squared = 1936 Age : 45 squared …

Member Avatar for TylerD75
0
727
Member Avatar for vivekH

@cgeier: I wrote this to test it out (as I was curious): public int countdown() { int i = Integer.MAX_VALUE; while (i > 2) { i -= 2; } return i; } It took less than a second to return 1...

Member Avatar for vivekH
0
276
Member Avatar for Neha_11

Is it Code::Blocks that gives you this error? When you're try to start it? Are you trying to compile it? Or are you trying to compile something from Code::Blocks? Think you need to provide some more info for anyone to help you.

Member Avatar for Moschops
0
215
Member Avatar for Trle94

C# isn't my language, but why are you trying to count from 8.635.408 to 8.635.415? Why not just count from 0 to 7... Not sure how many bytes go into an integer in C#, or how you actually feed a hexadecimal value into it, but I'm gonna guess that you …

Member Avatar for JOSheaIV
0
195
Member Avatar for aluhnev

1. What are you trying to test with `if(1)`? An if could test two values (ex.) to see if they are equal (or not)... So `if(1)` won't do much for you (it will always be true). But something like `if (box[i])` will test your box if it contains true or …

Member Avatar for Lerner
0
729
Member Avatar for piet.paaltjens.792

Best bet is to buy an Icy Box (or similar) for plugging a HD in an USB docking station. If your HD is not completely dead, you could be able to access your drive. Martin

Member Avatar for TylerD75
0
140
Member Avatar for Jonathan_7

Define you Price variable like this instead: double price = 0.0; The problem is that `double price;` sets the value to null, or at the very least; your IDE thinks it does. By setting a default value manually, you'll prevent the warning from being displayed. I should have read all …

Member Avatar for JamesCherrill
0
164
Member Avatar for atul rohilla

But you can see BIOS info when booting? So monitor or GPU is not fried? What OS are you running? Linux? Windows? Are you using a proper HDMI cable?

Member Avatar for rubberman
0
212
Member Avatar for RikTelner

The problem with this request is the main problem with Linux in general (in my opinion); too many standards. I.e. Firefox handles protocols internally (from what I understand), so you need to setup a magnet protocol handler there. I don't know how, a I mainly use Chromium. Many application (like …

Member Avatar for TylerD75
0
454
Member Avatar for DawnofanewEra

I'm always storing time as a String in text files, here's my static method for getting it: public static String calcDate(long millisecs) { // long millisecs = System.currentTimeMillis(); SimpleDateFormat date_format = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss"); Date resultdate = new Date(millisecs); return date_format.format(resultdate); } Hope this gives you an idea of how …

Member Avatar for TylerD75
1
214
Member Avatar for thewalrus

Looks to me as if it should work if you start the Receiver first like this: java -jar Example1Receiver.jar 4444 Then you should start the client (use the IP of the server instead of 192.168.0.2): java -jar Example1Sender.jar 192.168.0.2 4444 "Hello World" (Could be you have to type "192.168.0.2"). Martin

Member Avatar for TylerD75
0
370
Member Avatar for jpreem

Edit: Oops, this was already solved it seems... Try this: for file in ( ls *.fa ) do newfile=$(echo $file | sed 's/ehed/ehedp/') ...etc... done Could work ;) Martin

Member Avatar for TylerD75
0
302
Member Avatar for Vincentas

As rubberman indicated, the default Gentoo operation is to NOT mount the /boot partition (if it is a separate partition). You can choose to change this in /etc/fstab, or you can mount it manually when you need to.

Member Avatar for TylerD75
0
169
Member Avatar for RickCJ7

I believe you don't have to make it browsable=no, as Windows shares with $-signs at the end are not browsable by windows, but you can still find them with other OS's. I made a share like //server/folder$ on my Samba installation, which I was unable to see from windows, but …

Member Avatar for TylerD75
0
577

The End.