-
Posts
210 -
Joined
-
Last visited
Reputation Activity
-
zahlio got a reaction from Sonefiler in Canada’s former Minister of Defense discloses UFO information
Are you kidding? How would the identification of aliens not be tech news? Think about what science they could revolutionize us with?
-
zahlio got a reaction from WanderingFool in Java Question: Need Help
Please use the
code tag Also, cleaning up your code might help (or make it more easy to find the error)
public boolean isPoor(double housingCost, double foodCost){ return ((housingCost + (foodCost * size)) > (income / 2));} Also to find the error, using:
System.out.println(someValue); helps alot.
The problem with your define boolean isPoor; but also it in a method (public boolean isPoor()), simply call isPoor(par1, par2) when you want the result.
-
-
zahlio got a reaction from LukeTim in unity 2d game with Java
Use c#, the syntax isn't really that different.
-
zahlio got a reaction from alpenwasser in Website UI suggestions
First of all, your CSS is awefull, might want to clean it up. Also its impossible to load the page here in Denmark. Also on some of the big websites i have coded on, the general rule was to avoid big .png files.
Some other stuff i caught at first glance:
- DON'T use:
<center></center> as its not supported in HTML5.
- Avoid using a loading script. Do it in the background.
- It's good practice to keep all CSS in .css files.
- Use jQuery from their CDN:
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script><script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> -
zahlio got a reaction from Levis95l in 240hz monitors a thing?
The thing here that i think is awesome is not the 240 hz, but the fact that its a VA panel.
120 hz (or simulated 240 hz) with great colors.. Make 1440p one and i buy it
-
zahlio reacted to slayer in WD, HTC, and 900D Giveaway Winner List!!
wildturtle the pro league of legends player?
-
zahlio reacted to arkon in Challange: Ad block disable ads for certain channels
Annoyingly, AdBlock for Chrome seems to manipulate the page right after it's loaded. Disabling it after the page has loaded has no effect, you need to refresh to see the ads again.
-
zahlio got a reaction from bigmichaelful in Challange: Ad block disable ads for certain channels
Okay i looked into this, there are some issues.
First of all, detecting and getting the channel name is the easy part, any one with basic javascript can do that.
However the difficult part is disabling the ad block.
Currently the Chrome API does not allow you to actively disable another extension (security issue, think if NORTON scan was disabled... thats not good).
There should be something called:
chrome.experimental.managementBut i cant find documentation for it + its experimental.Another thing you could do was to "hack" the JSON file in the Prefenreces (C:\Users\[uSERNAME]\AppData\Local\Google\Chrome\User Data\Default), i dont know if this is allowed so if anyone wish to do so please research before doing so!
But the thing you could do was something like:
To enabled/disabled an extension there is a "state" key for each extension, with 1 for enabled and 0 for disabled.
You can edit this, however i don't know if it works while Chrome is running, as i haven't tried it.
A total another way is to "hack" the Ad Block and directly disable it that way, which if you tingle with their code, could be done easy. (also im not sure if this is allowed so check before doing so)
Read more here: http://stackoverflow.com/questions/6287030/how-do-i-enable-disable-google-chrome-extensions-via-console
Currently i'm off this, as it is just way to time consuming. However if someone would send a little cash my way i could code it in a jiffy! ;)
-
zahlio reacted to Jonny in php script for download
if you want a nice user interface etc download this
Ajaxplorer 5
-
zahlio reacted to Darren in Visual basic GUI Scientific Calculator BODMAS
Order of precedence in vb.net
-
zahlio got a reaction from bigmichaelful in Visual basic GUI Scientific Calculator BODMAS
<p>Make it so you have a textbox where your values are entered to.</p>
<p> </p>
<p>So if you press a button it will look something like:</p>
<pre class="_prettyXprint _lang- _linenums:1">
Private Sub cmd_x_Click()
'Put the value x into the txtNUMBER text box
txtNUMBER = txtNUMBER + "x"
End Sub
</pre>
<p>Then you just add your functions (*,-,+, tan etc.)</p>
<p>And the user can again (if needed) enter another number.</p>
<p> </p>
<p>Source: <a href="http://www.dreamincode.net/forums/topic/50628-create-a-calculator/">http://www.dreamincode.net/forums/topic/50628-create-a-calculator/</a></p>
<p> </p>
<p>As for the BODMAS, i think that the math in VB.NET takes care of that, but i am not sure.</p>
-
zahlio got a reaction from bigmichaelful in Visual basic GUI Scientific Calculator BODMAS
There is a:
code Please use it, it will make it more easy to help you :)
-
zahlio got a reaction from mvitkun in ozone strike
Tech News and Reviews is properly not the correct section for this.
Try to post it here: http://linustechtips.com/main/forum/25-member-reviews/ im sure these guys are much better at helping you!
-
zahlio reacted to Minasune in PS4 and Xbox One GPU Specs Officially Released
Can anyone compare the GPUs to regular AMD and Nvidia cards? I'd like to know.
It would be nice if Linus adds this to the Friday stream~
-
zahlio reacted to grimFandingo in Java Variables
Doesn't matter, I used an array and found the answer
-
zahlio got a reaction from vanwazltoff in Canada’s former Minister of Defense discloses UFO information
Are you kidding? How would the identification of aliens not be tech news? Think about what science they could revolutionize us with?
-
zahlio got a reaction from Kuzma in PhysX vs OpenCL
CUDA is usually used for physics calculations in science and enterprise solutions (calculating waterflow, stability etc.) while PhysX is a "light weight" solution that is designed for video games.
CUDA is more used in situations where you want to utilize the GPU to make faster calculations and simulations.
-
zahlio reacted to Kuzma in PhysX vs OpenCL
CUDA programming is different to PhysX , CUDA programming is programming done using the CUDA cores so I could program my own physics engine using CUDA programming but it wouldn't be called PhysX because it's not, it would be similar but not the same thing and that's what Just Cause 2 did.
-
zahlio reacted to joelthezombie15 in Auto Refresh Program For Chrome
Never mind I found one after a few pages of google. https://chrome.google.com/webstore/detail/auto-reload/ofojbjgaaddibdfpmmjeonahgbacejid?hl=en
-
zahlio got a reaction from Covalent in Canada’s former Minister of Defense discloses UFO information
Are you kidding? How would the identification of aliens not be tech news? Think about what science they could revolutionize us with?
-
zahlio got a reaction from AraSarkisyan in Torrent promising huge amounts of leaked data is now live
Well if you have been in the hacker community, you will know that these guys are the real deal.
The files are legit, but whether it is boring documentation only for devs or top secret roadmaps, i dont know.
What i know is that this kid is known for over exaggerating :) so it might just be source code (which can be nice) but it can also be boring documentation :) cant wait for someone to check the files :)
-
zahlio got a reaction from mvitkun in Torrent promising huge amounts of leaked data is now live
Well if you have been in the hacker community, you will know that these guys are the real deal.
The files are legit, but whether it is boring documentation only for devs or top secret roadmaps, i dont know.
What i know is that this kid is known for over exaggerating :) so it might just be source code (which can be nice) but it can also be boring documentation :) cant wait for someone to check the files :)
-
zahlio got a reaction from everything count to life in Torrent promising huge amounts of leaked data is now live
Well if you have been in the hacker community, you will know that these guys are the real deal.
The files are legit, but whether it is boring documentation only for devs or top secret roadmaps, i dont know.
What i know is that this kid is known for over exaggerating :) so it might just be source code (which can be nice) but it can also be boring documentation :) cant wait for someone to check the files :)
-