Well worth it in my opinion.
If you're working with PHP I really suggest you learn at least the basics of Linux. Stuff like git and composer can make deploying your websites a breeze.
Forum Index > General Forum |
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. | ||
Manit0u
Poland17187 Posts
November 28 2015 14:23 GMT
#13661
Well worth it in my opinion. If you're working with PHP I really suggest you learn at least the basics of Linux. Stuff like git and composer can make deploying your websites a breeze. | ||
![]()
tofucake
Hyrule18969 Posts
November 28 2015 14:34 GMT
#13662
If your computer is powerful enough, you can also setup a VM for development and use vagrant. That's super handy. | ||
Manit0u
Poland17187 Posts
November 28 2015 15:50 GMT
#13663
I guess you could simply roll with this one, which is part of PHP core package: http://php.net/manual/en/function.openssl-public-encrypt.php | ||
phantomfive
Korea (South)404 Posts
November 28 2015 18:42 GMT
#13664
| ||
Manit0u
Poland17187 Posts
November 28 2015 19:31 GMT
#13665
On November 29 2015 03:42 phantomfive wrote: The biggest problem I have making a website is the artwork :/ That's why you hire an artist to make all the logos, favicons and other important pictures for you. You also tell them to design proper font, link and button colors for you. All is left for you is simply overriding several variables in Twitter's bootstrap and your page looks amazing. Also, let me share with you this awesome resource that helped me a lot when I was doing some front-end work: https://www.google.com/design/spec/material-design/introduction.html# Really good for anyone interested in UI design. Also helps you realize what stuff you need to think about before designing how the user-facing part of your application is going to look like. | ||
Soap
Brazil1546 Posts
November 28 2015 21:20 GMT
#13666
| ||
WarSame
Canada1950 Posts
November 28 2015 22:24 GMT
#13667
| ||
Acrofales
Spain17842 Posts
November 29 2015 01:11 GMT
#13668
On November 29 2015 07:24 WarSame wrote: You could use a Raspberry Pi for a very cheap/weak server nowadays. Or an AWS instance. Pi is 100% fine for what most people want to host.you can install raspian and lamp and you're set. Or what we have running: mysql and node. We had couchdb at one point too. Runs like a charm and we do more intensive stuff than most people who aren't already looking at cloud solutions. | ||
Draconicfire
Canada2562 Posts
November 29 2015 12:44 GMT
#13669
Does anyone have any ideas on how to improve this? I'm not too familiar with colour spaces so I'm at a bit of a loss here. | ||
Acrofales
Spain17842 Posts
November 29 2015 13:30 GMT
#13670
On November 29 2015 21:44 Draconicfire wrote: Hey guys, so I'm trying to write an algorithm to search an image for a specific colour. I have a colour in RGB values that I'm looking for and I can extract pixel values from the image in RGB as well. Initially I just used these and calculated the Euclidean distance but the results weren't too accurate. So I read online that converting RGB into Lab colour space is more accurate as it accounts for human perception a bit better, so I did the conversion but it still doesn't really seem that accurate. Does anyone have any ideas on how to improve this? I'm not too familiar with colour spaces so I'm at a bit of a loss here. Try the last response to this thread: http://stackoverflow.com/questions/6242114/how-much-worse-is-srgb-than-lab-when-computing-the-eucleidan-distance-between | ||
WarSame
Canada1950 Posts
November 29 2015 19:19 GMT
#13671
EDIT: Also, about AWS, we got so lucky with it this year. My group for a project was trying to make a video of a Mandelbox which is very intense. We tried to do it on our computers but they couldn't handle it, so we though to try a free AWS instance. At 7 or 8 in the morning after an all nighter. Turns out that we selected the wrong instance and ran up $200 in usage. We explained it in an email about the bill and they let us off free. ![]() | ||
Acrofales
Spain17842 Posts
November 29 2015 20:47 GMT
#13672
On November 30 2015 04:19 WarSame wrote: Where do all of you go for code review? I'm writing a lot of code in my free time right now, but there's definitely improvements to be made, even if just stylistically. Are there any communities with good, clear feedback on code? EDIT: Also, about AWS, we got so lucky with it this year. My group for a project was trying to make a video of a Mandelbox which is very intense. We tried to do it on our computers but they couldn't handle it, so we though to try a free AWS instance. At 7 or 8 in the morning after an all nighter. Turns out that we selected the wrong instance and ran up $200 in usage. We explained it in an email about the bill and they let us off free. ![]() For anything coding related, your first goto option should almost always be stackexchange... http://codereview.stackexchange.com/ That reminds me a bit of that guy who was here a few months back with his (somewhat disastrous) university homework project. I wonder if he got let off the hook too. We never heard the end of that story... | ||
WarSame
Canada1950 Posts
November 29 2015 21:41 GMT
#13673
| ||
Soap
Brazil1546 Posts
November 29 2015 22:49 GMT
#13674
On July 14 2015 18:48 FFGenerations wrote: so like 2 months after i tried to host my project on amazon for like 2 hours just trying to see if it would work they bill me $76 with an additional $10 usage last month and $40 forecast usage for this month i have no fucking clue what is going on | ||
WarSame
Canada1950 Posts
November 30 2015 22:38 GMT
#13675
| ||
Birdie
New Zealand4438 Posts
November 30 2015 23:29 GMT
#13676
On December 01 2015 07:38 WarSame wrote: Just got that job offer from the interview I was talking about earlier. $60k and benefits. It starts in a month and a bit(they hire in waves). Boy, am I excited! Nice job fam! Out of interest, is this a graduate position? | ||
WarSame
Canada1950 Posts
November 30 2015 23:32 GMT
#13677
| ||
Birdie
New Zealand4438 Posts
November 30 2015 23:33 GMT
#13678
On December 01 2015 08:32 WarSame wrote: Depends what you mean by a graduate position. It's a career job, and offers 6 weeks of training before getting placed. Is that what a graduate position is? I mean, did you just graduate from university/is it your first programming job. | ||
WarSame
Canada1950 Posts
November 30 2015 23:53 GMT
#13679
| ||
WarSame
Canada1950 Posts
December 02 2015 20:16 GMT
#13680
I'm creating a generic stack Stack<T extends StackNode<E>, E>, with StackNode<E>. However, I can't declare a new StackNode in my Stack properly. Using T node = new T(data);throws an error on the T, saying it can't be instantiated. Google results say this is due to erasure, but not really how to get around it. This seems to be the best answer, but I can't figure out how to apply it to my specific case. Where do I place the function mentioned? Where do I call it from? How do you call it? The comments tried to clear it up but I can't understand those well enough, either. My current attempt in Stack looks like:
and in StackNode:
However, Stack has 2 errors - it can't find CreateContents and it says that T.class is an illegal literal. Further, the "constructor" is only able to call the empty constructor. I think that can be handled by calling another function that sets the value of data, although I'm not sure how to get the value where it needs to be. If anyone can give me advice on how to do this or tell me a better way to do this I'm all ears. Thanks! | ||
| ||
![]() StarCraft 2 StarCraft: Brood War Dota 2 Counter-Strike Super Smash Bros Heroes of the Storm Other Games Organizations
StarCraft 2 • Berry_CruncH263 StarCraft: Brood War• IndyKCrew ![]() • sooper7s • intothetv ![]() • Kozan • AfreecaTV YouTube • LaughNgamezSOOP • Laughngamez YouTube • Migwel ![]() League of Legends |
PiG Sty Festival
MaxPax vs Classic
Dark vs Maru
SC Evo Complete
[BSL 2025] Weekly
Online Event
Replay Cast
SOOP Global
ByuN vs Zoun
Rogue vs Bunny
PiG Sty Festival
herO vs Rogue
ByuN vs SKillous
Sparkling Tuna Cup
BSL Nation Wars 2
Online Event
[ Show More ] Replay Cast
The PondCast
|
|