|
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. |
On June 03 2014 06:06 Blitzkrieg0 wrote:Show nested quote +On June 03 2014 05:09 Blisse wrote: Math seems a lot more hardcore (fourier series t-t) but if the math guy doesn't have the comp sci experience i don't see how you could justify hiring him for a dev position. Teaching the physicist how to python is a lot easier than teaching a python guy advanced physics. Well yeah. That much seems obvious. If you want a candidate to do advanced physics and basic programming, then get a physicist. If you want a candidate to do advanced programming and have a basic knowledge of physics, you should probably get a computer scientist. If you are simply looking to fill a development job though, I don't know why you would consider a physicist.
|
On June 03 2014 06:11 Vorenius wrote:Show nested quote +On June 03 2014 06:06 Blitzkrieg0 wrote:On June 03 2014 05:09 Blisse wrote: Math seems a lot more hardcore (fourier series t-t) but if the math guy doesn't have the comp sci experience i don't see how you could justify hiring him for a dev position. Teaching the physicist how to python is a lot easier than teaching a python guy advanced physics. Well yeah. That much seems obvious. If you want a candidate to do advanced physics and basic programming, then get a physicist. If you want a candidate to do advanced programming and have a basic knowledge of physics, you should probably get a computer scientist. If you are simply looking to fill a development job though, I don't know why you would consider a physicist.
I was going for advanced physics and advanced programming. You make it too simple.
|
I am learning Java, what is a good companion available for free online?
|
When should you use aliases for your modules in python? Just when there are conflicts or always for obscure modules?
import pandas as pan
On June 03 2014 07:48 2primenumbers wrote: I am learning Java, what is a good companion available for free online? I've heard great things about headfirst java.
|
On June 03 2014 06:16 Blitzkrieg0 wrote:Show nested quote +On June 03 2014 06:11 Vorenius wrote:On June 03 2014 06:06 Blitzkrieg0 wrote:On June 03 2014 05:09 Blisse wrote: Math seems a lot more hardcore (fourier series t-t) but if the math guy doesn't have the comp sci experience i don't see how you could justify hiring him for a dev position. Teaching the physicist how to python is a lot easier than teaching a python guy advanced physics. Well yeah. That much seems obvious. If you want a candidate to do advanced physics and basic programming, then get a physicist. If you want a candidate to do advanced programming and have a basic knowledge of physics, you should probably get a computer scientist. If you are simply looking to fill a development job though, I don't know why you would consider a physicist. I was going for advanced physics and advanced programming. You make it too simple. Yea that's a very small subset of overall software jobs, but in those cases you are correct.
|
On June 03 2014 07:48 2primenumbers wrote: I am learning Java, what is a good companion available for free online? http://math.hws.edu/eck/cs124/javanotes6/
Straightforward, somewhat narrow scope but you can read the javadocs online
|
|
|
HeadFirst Java was one of the first books when I first began learning Java, and I liked it. It's not the only book you'll ever need, but it'll get you started pretty well. I would warmly recommend it for anyone who is beginning to learn java that doesn't mind some non-conventional teaching approach with plenty of pictures.
|
On June 03 2014 12:43 Nesserev wrote:Show nested quote +On June 03 2014 07:50 obesechicken13 wrote:When should you use aliases for your modules in python? Just when there are conflicts or always for obscure modules? import pandas as pan On June 03 2014 07:48 2primenumbers wrote: I am learning Java, what is a good companion available for free online? I've heard great things about headfirst java. Well, aliases help you keep your code maintainable and convenient. - 'from module import *' as you know, is easy, but should almost never be used, it's ugly, clutters the current 'namespace', etc. - 'import module' allows you to keep namespaces 'separated' (so namespace conflicts are highly unlikely), but you need to put 'module.' in front of imported methods/classes If you change the other module's name, or use a different module with the same interface, you would have to change every 'module.' to 'module2.'. Now, aliases allow you to keep your code 'clean', and 'maintainable' at the same time. With aliases, you only have to change the module in the import-statement. You can also use aliases for functions/methods, etc. So, my recommendation: always use aliases. When it comes to head first... You either love or hate 'head first' books. They all have a rather similar distinct style, and I once lend a couple of 'head first' books from a friend that owned them, after an assistent recommended it... every page in those books made my eyes bleed, and my brain vomit. But some people really seem to like it... Thanks.
Another question: I'm ok at Excel but I was wondering if anyone knew of any sites that would do time series predictions of data for you. You just put in your data in a csv or txt file and then get time series predictions on what it might look like in the future.
Maybe instead of time series, it could use neural networks to make predictions given input. Basically a site that uses algorithms that don't make use of many assumptions on the data they're given. I think it'd be interesting to make one that could track things like the price of trading cards, number of players in a certain game, dashboards of publicly available movie trend data, social network growth, and government public records.
I know there are many large data analytics companies like pentaho and appdynamics. They offer software and dashboards to see data and you can even connect data sources so they update automatically daily, but they don't really do time analysis or neural networks.
|
PHP/Twig question:
I for through an array as key, value. I'm trying to pass the key to another function but it doesn't seem to work...
Example:
{% for key, value in array %} {% myfunc({ key:'somestring' }) %} {{ key }} {% endfor %}
I do the var_dump from myfunc and I get:
'key':'somestring' (as in, literal word "key" in there) while the output of {{ key }} is the actual key (like "productId"). I'm baffled...
Edit: Nevermind, it's the simplest things that get you (as usual). The trick to make it work was to do (key) instead of key when passing the variable to the function...
|
Hi guys, I'm looking into a new PC for my boss. I've posted in the tech forum but the question involves virtual machines on windows which might be more your thing.
My boss runs 4 virtual machines on a computer which each run several instances of internet explorer. The computer seems pretty strong but he thinks its not strong enough. This is his original email:
+ Show Spoiler + I run 4 Virtual PC’s using Windows 7 64 bit OS which in turn sit on a Windows 7 64 bit host. At present I use 4 off the shelf desktops with an i5 processor and 8mb of memory (16 Virtual Pc’s). However I am pushing these a bit and I suspect that with 24/7 operation these will eventually fail.
At present they run at about 70% of memory and during operation about 70% Cpu with peaks of 90% - although 100% when each VPC boots up (in a TIMED sequence).
What I am looking for are two more desktops with more CPU power (has to be Intel – for the Virtual PC’s), more memory, better cooling, any graphics card that will support the usage (quality isn’t a priority), a 500Gb HDD is more than sufficient, DVD reader, audio not used and runs on Windows 7 Home premium OS. They will all be accessed remotely through a VNC server.
He is looking at this: http://www.novatech.co.uk/products/servers/sr-0103.html
Novatech Tower Server - Xeon E3-1220V3 Processor - 2X 1TB Hard Drives - 16GB 1600Mhz DDR3 Memory - DVD Drive SuperMicro Socket 1150 motherboard £744.98 inc vat
Except he is interested in upgrading that motherboard/RAM to 32g,
This all sounds pretty overkill to me but what do i know? I took a screenshot of one of the PCs in action to display its general resource useage.... http://i.imgur.com/hJA1hXc.jpg
I need to find out what PC components are important to running virtual machines on a computer. I also need to confirm that virtual machines can actually utilise 32g of ram in their setup...
I'll be googling around today but anyone experienced with running virtual machines have an idea here already? Is it purely CPU? Does he need 32g ram (he says hes using 16g ram at the moment)? Could it be something wrong with his initial setup? Does graphics card help with running vms with several internet explorer instances on them?
Thankyou for reading
|
On June 02 2014 04:32 3FFA wrote:Show nested quote +On June 01 2014 15:30 spinesheath wrote:On June 01 2014 05:35 3FFA wrote:On May 31 2014 17:16 spinesheath wrote:On May 31 2014 09:23 FFGenerations wrote: its fucking BRILLIANT tutorial Make sure you don't read this one tutorial and then think you know everything. Learn from multiple sources and critically question each one. Internet tutorials are not something you should blindly depend upon. Neither is any other single source. What about college/university? Judging from my own experience with those, only good for getting a piece of paper that says you were there. You might have better luck with it. Certainly not trustworthy as a single source. Well what else do you guys recommend to do along with University? So far in HS I've been following along tutorials for how to do things. Go to GOOD university and then get a good job on ideally large project. In the meantime learn what you find interesting.
|
On June 03 2014 14:51 Manit0u wrote:PHP/Twig question: I for through an array as key, value. I'm trying to pass the key to another function but it doesn't seem to work... Example: {% for key, value in array %} {% myfunc({ key:'somestring' }) %} {{ key }} {% endfor %}
I do the var_dump from myfunc and I get: 'key':'somestring' (as in, literal word "key" in there) while the output of {{ key }} is the actual key (like "productId"). I'm baffled...
You need to use parenthesis around the variable to use it as a hash key in Twig:
{% for key, value in array %} {% myfunc({ (key):'somestring' }) %} {{ key }} {% endfor %}
StackOverflow Twig documentation
|
On June 04 2014 03:26 BByte wrote:Show nested quote +On June 03 2014 14:51 Manit0u wrote:PHP/Twig question: I for through an array as key, value. I'm trying to pass the key to another function but it doesn't seem to work... Example: {% for key, value in array %} {% myfunc({ key:'somestring' }) %} {{ key }} {% endfor %}
I do the var_dump from myfunc and I get: 'key':'somestring' (as in, literal word "key" in there) while the output of {{ key }} is the actual key (like "productId"). I'm baffled... You need to use parenthesis around the variable to use it as a hash key in Twig: {% for key, value in array %} {% myfunc({ (key):'somestring' }) %} {{ key }} {% endfor %}
StackOverflowTwig documentation
I kind of mentioned it earlier. Thanks anyway.
|
Does anyone have experience with ResourceBundle and non-Latin internationalisation? Using 'native2ascii' seems like some ugly solution.
|
|
|
Anyone familiar with Drupal Commerce here? First time using this module, but current project requires it.
Basically what I need is a rather simple site which contains one page for the product - the page should have the product image (some kind of presentation), an order form and a order button together with "accept the terms" thing. So far I'm not sure how to put the form already on the product page. I installed Express Checkout, but after that I'm at loss. Considering different options, but maybe someone here have experience with this.
|
Is JTable the only class that can display data in table format?
|
On June 06 2014 07:32 darkness wrote: Is JTable the only class that can display data in table format?
No.
|
Thank you. Also will keep an eye out for HeadFirst stuff.
|
|
|
|
|
|