• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:21
CEST 13:21
KST 20:21
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Serral wins HomeStory Cup 2914Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
ZeroSpace Early Access is Now Live!19Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters2Balance hotfix patch 5.0.16b (July 16)87Reynor: GSL Loss Wasn't About Preparation Format16[IPSL] Spring 2026 Grand Finals - This Weekend!18
StarCraft 2
General
How would you feel about frequent/monthly balance patches for SC2? Balance hotfix patch 5.0.16b (July 16) Clem: "I don't have that much hope in Blizzard" Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters [D] Wireframe Casting Removed
Tourneys
IntoTheTV X SOOP SC2 League : Weekly & Monthly INu's Battles#18 - Cure, herO, Rogue & ByuN RSL Revival: Season 6 - Qualifiers and Main Event Master Swan Open (Global Bronze-Master 2) WardiTV Summer Cup 2026
Strategy
[G] Having the right mentality to improve
Custom Maps
[M] (2) Industrial Park New Map Maker - Looking for Advice - Love or Hate
External Content
Mutation # 535 Assembly of Vengeance The PondCast: SC2 News & Results Mutation # 534 Burning Evacuation Mutation # 533 Die Together
Brood War
General
Animated Gateway BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ HORROR STARCRAFT MOVIE How Famous was FlaSh before his Debut?
Tourneys
Escore Tournament - Season 3 [Megathread] Daily Proleagues [IPSL] Spring 2026 Grand Finals - This Weekend! Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers PvT advise for noobs Fighting Spirit mining rates Creating a full chart of Zerg builds
Other Games
General Games
ZeroSpace Early Access is Now Live! Nintendo Switch Thread Path of Exile General RTS Discussion Thread Diablo IV
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank NeO.D_StephenKing vs This Guy From 1 Million Dance TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Artificial Intelligence Thread Russo-Ukrainian War Thread US Politics Mega-thread How to buy a book - shipping from Korea to Europe The Games Industry And ATVI
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Anime Discussion Thread Series you have seen recently... Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023 McBoner: A hockey love story
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
Northern Ireland Global Starcraft The Automated Ban List
Blogs
How Games can Help with Majo…
TrAiDoS
Hello guys!
LIN1s
ASL S22 English Commentary…
namkraft
Poker (part 2)
Nebuchad
An Exploration of th…
waywardstrategy
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3780 users

The Big Programming Thread - Page 469

Forum Index > General Forum
Post a Reply
Prev 1 467 468 469 470 471 1032 Next
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.
netherh
Profile Blog Joined November 2011
United Kingdom333 Posts
April 17 2014 13:23 GMT
#9361
@Arevall - What exactly is the aim here? Maximising score per piece? How are you calculating the scores?

I think normally pentomino problems come under "exact cover", so you'd want to use Knuth's "dancing links" algorithm to solve them. With no collisions though, I think the way you solve it is almost entirely dependent on how the score system works.
Arevall
Profile Joined February 2010
Sweden1133 Posts
April 17 2014 13:41 GMT
#9362
On April 17 2014 22:23 netherh wrote:
@Arevall - What exactly is the aim here? Maximising score per piece? How are you calculating the scores?

I think normally pentomino problems come under "exact cover", so you'd want to use Knuth's "dancing links" algorithm to solve them. With no collisions though, I think the way you solve it is almost entirely dependent on how the score system works.


Thanks for the reply!

It will make the move that maximises the score for a piece (Score = weight a * score A + weight b * score B ...). When gameboard is filled the scoring would be number of pieces. So less is better.

Since I want a random order of pieces and not even the next piece is know beforehand it's not the "exact cover" cover problem, since there is a high possibility of a puzzle becoming unsolvable! Thats why I don't want collision btw.
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
Last Edited: 2014-04-17 22:49:11
April 17 2014 22:35 GMT
#9363
http://pastebin.com/KGCq4Dmf

10,000 digits of e encoded in binary

+ Show Spoiler [boring code] +


#include <stdio.h>
#include <gmp.h>
#include <string.h>


int main(int* argc, char** argv)
{
char input[100000],output[400000];
mpf_t e_float;
mp_exp_t e_exp;

mpf_init2(e_float, 100000);

scanf("%100000s",input);
mpf_set_str(e_float,input,10);

mpf_get_str(output, &e_exp,2, 400000, e_float);
printf("%s",output);

return 0;
}

https://gmplib.org
Any sufficiently advanced technology is indistinguishable from magic
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2014-04-17 23:27:29
April 17 2014 23:24 GMT
#9364
I have a problem with Java generics.

Sample code:
+ Show Spoiler +


public class DisplayClass<T> {
....
private ArrayList<T> list;
....

// constructor
public DisplayClass(ArrayList<T> list) {
this.list = list;
}
}



As you see, the ArrayList could be of any type. And now the problem is that I want to use two different ArrayLists, but one doesn't have all the methods of the other. So I want to do something like this:

+ Show Spoiler +


if (list == ArrayList<String>) {
list.add(new String("Test"));
}
else if (list == ArrayList<CustomClass>) {
CustomClass customInstance = new CustomClass();
list.add(customInstance);
}



Unfortunately, it doesn't seem to work due to ArrayList's generic type requirements. I've heard of reflection but I don't know how viable it is or how I can make this work.
berated-
Profile Blog Joined February 2007
United States1134 Posts
April 17 2014 23:52 GMT
#9365
On April 18 2014 08:24 darkness wrote:
I have a problem with Java generics.

Sample code:
+ Show Spoiler +


public class DisplayClass<T> {
....
private ArrayList<T> list;
....

// constructor
public DisplayClass(ArrayList<T> list) {
this.list = list;
}
}



As you see, the ArrayList could be of any type. And now the problem is that I want to use two different ArrayLists, but one doesn't have all the methods of the other. So I want to do something like this:

+ Show Spoiler +


if (list == ArrayList<String>) {
list.add(new String("Test"));
}
else if (list == ArrayList<CustomClass>) {
CustomClass customInstance = new CustomClass();
list.add(customInstance);
}



Unfortunately, it doesn't seem to work due to ArrayList's generic type requirements. I've heard of reflection but I don't know how viable it is or how I can make this work.


Yeah, thats not going to work due to type erasure, but tbh, I'm not really understanding the reason for that any way. It seems, weird, to try to come up with a generic design but then have specific type requirements.

If DisplayClass<T> had a method add(T obj) then you could just add it there, or if you had some sort of abstract method that was public T getObjectToAdd(some var) and then you had a concrete implementation for DisplayClass<String> and DispalyClass<CustomClass>, then you could generate your own object to get that way to add to the list or something.

I think the way you've described it feels very contradictory.
Manit0u
Profile Blog Joined August 2004
Poland17799 Posts
April 18 2014 00:25 GMT
#9366
On April 16 2014 15:19 darkness wrote:
Show nested quote +
On April 16 2014 03:16 windzor wrote:
On April 16 2014 02:47 darkness wrote:
On April 15 2014 13:33 obesechicken13 wrote:
On April 15 2014 11:47 Manit0u wrote:
On April 15 2014 09:54 tofucake wrote:
Doing math in functional languages is simpler.


Might be a reason why most operating systems run on C and not higher-level stuff.

I thought higher level stuff had performance issues and that was the reason. Doing math in C is horrible compared to in R or matlab.


Well, that's why Java still keeps primitive data types despite Integer/Boolean/etc being redundant.


Java keeps primitive types because its too much of a hassle to remove it from the language, even though the big Java guys wants to remove them.


I think this is a better to say it. http://stackoverflow.com/a/5199425/1091781


I wish that all languages used primitive types. It's way easier to make errors if you don't have them. Also, I wish that something like LPC's/Pike's #pragma strict_types would be a requirement for all languages:

"strict_types"

Enable warnings for all cases where the compiler isn't certain that the types are correct.


It instructs the interpreter to require all functions to be strictly typed. I.e. the type of the function has to match the type of what is returned by the function, and the type of the variable recieving the function result has to match the function type as well. Consistent and frequent use of this pragma enhances both short-time code quality and improves maintainability immensly.
Time is precious. Waste it wisely.
zksa
Profile Blog Joined April 2014
11 Posts
April 21 2014 17:07 GMT
#9367
Does anyone here know of a good introduction tutorial for Java? I've been looking around but I can't seem to find anything. I have about 50 hours of experience programming in python. I just want to learn the syntax quickly and have some problems to work through.
Kambing
Profile Joined May 2010
United States1176 Posts
April 21 2014 18:01 GMT
#9368
On April 18 2014 09:25 Manit0u wrote:
Show nested quote +
On April 16 2014 15:19 darkness wrote:
On April 16 2014 03:16 windzor wrote:
On April 16 2014 02:47 darkness wrote:
On April 15 2014 13:33 obesechicken13 wrote:
On April 15 2014 11:47 Manit0u wrote:
On April 15 2014 09:54 tofucake wrote:
Doing math in functional languages is simpler.


Might be a reason why most operating systems run on C and not higher-level stuff.

I thought higher level stuff had performance issues and that was the reason. Doing math in C is horrible compared to in R or matlab.


Well, that's why Java still keeps primitive data types despite Integer/Boolean/etc being redundant.


Java keeps primitive types because its too much of a hassle to remove it from the language, even though the big Java guys wants to remove them.


I think this is a better to say it. http://stackoverflow.com/a/5199425/1091781


I wish that all languages used primitive types. It's way easier to make errors if you don't have them.


Primitives are a performance optimization in Java because Java doesn't give the programmer control over where values are allocated. In contrast, C++ allows you to allocate on the stack or heap at will:


int x1; // int allocated on the stack
int *x2 = new int(0); // int allocated on the heap


Furthermore, the abstraction facilities of C++ are rich enough that you can create datatypes that effectively function like primitives:


std::string s1; // std::string allocated on the stack
std::string *s2 = new std::string("hello world"); // std::string allocated on the heap


In the limit, you can write code that looks a lot like something you would write in a functional programming language, but have greater assurance about its performance characteristics.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
April 21 2014 18:27 GMT
#9369
^ oh gosh, i really like to way you phrase things :3 do you write blogs (so i can read more :3)
There is no one like you in the universe.
BlueRoyaL
Profile Blog Joined February 2006
United States2493 Posts
April 21 2014 18:45 GMT
#9370
Dear programming gurus,

I'm looking for some good ideas for a web programming project. I'm semi-new to programming (I've taken a few introductory courses at my university but majored in something entirely different). My IT job as a fair amount of free time, so I've been studying and practicing programming. I've been learning C# (easy transition due to a bit of java experience in the past) and using visual studio, but I've decided that for now, I'll be programming without an IDE to really learn the nitty gritty details on how things are used.

I've googled a bunch but I haven't found something that I liked yet. I'm looking for something that will help me learn and test my skills in a variety of things such as using various classes, interfaces/delegation, possibly networking, databases or other forms of data I/O, and something I can try to implement good design patterns into.

My programming background: learning C#, I know enough to be able to dig through APIs and documentation online (thank god for stackoverflow, MSDN, etc) to be able to figure out stuff and apply them. Web wise, I've done a fair share of html, css, JS (jquery and a bit of angular), and a tiny amount of SQL stuff.

Does anyone have any suggestions here? Even if you think it may be too complicated for me, I'd love to hear your ideas or even better, the kinds of projects you've tackled in the past. Even if I can't take on the projects as of yet, it'd be nice to get an idea of what kind of projects are marketable and maybe I can break them down into smaller chunks, focusing on getting those right (while learning things along the way) and eventually do the whole thing.

Thanks for any ideas, insight, and tips!
WHAT'S HAPPENIN
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
April 21 2014 19:06 GMT
#9371
On April 22 2014 03:45 BlueRoyaL wrote:
Dear programming gurus,

I'm looking for some good ideas for a web programming project. I'm semi-new to programming (I've taken a few introductory courses at my university but majored in something entirely different). My IT job as a fair amount of free time, so I've been studying and practicing programming. I've been learning C# (easy transition due to a bit of java experience in the past) and using visual studio, but I've decided that for now, I'll be programming without an IDE to really learn the nitty gritty details on how things are used.

I've googled a bunch but I haven't found something that I liked yet. I'm looking for something that will help me learn and test my skills in a variety of things such as using various classes, interfaces/delegation, possibly networking, databases or other forms of data I/O, and something I can try to implement good design patterns into.

My programming background: learning C#, I know enough to be able to dig through APIs and documentation online (thank god for stackoverflow, MSDN, etc) to be able to figure out stuff and apply them. Web wise, I've done a fair share of html, css, JS (jquery and a bit of angular), and a tiny amount of SQL stuff.

Does anyone have any suggestions here? Even if you think it may be too complicated for me, I'd love to hear your ideas or even better, the kinds of projects you've tackled in the past. Even if I can't take on the projects as of yet, it'd be nice to get an idea of what kind of projects are marketable and maybe I can break them down into smaller chunks, focusing on getting those right (while learning things along the way) and eventually do the whole thing.

Thanks for any ideas, insight, and tips!


Pick something that facebook or another big site does but you dislike how it works. Rebuild just that feature on a new site. http://blog.codinghorror.com/dont-reinvent-the-wheel-unless-you-plan-on-learning-more-about-wheels/

You'll find that something as simple as a twitter clone has a lot of moving parts, and you'll almost immediately hit a road block that you don't know how to get around. This is why it's good advice to reinvent something that you use a lot.

I've been toying with building a new website based totally on a forum (TeamLiquid style), and it's been a lot of fun.
Any sufficiently advanced technology is indistinguishable from magic
Release
Profile Blog Joined October 2010
United States4397 Posts
April 21 2014 21:06 GMT
#9372
On April 22 2014 02:07 zksa wrote:
Does anyone here know of a good introduction tutorial for Java? I've been looking around but I can't seem to find anything. I have about 50 hours of experience programming in python. I just want to learn the syntax quickly and have some problems to work through.

http://math.hws.edu/eck/cs124/javanotes6/ Chapter 5 and 7.1 if you just want syntax.
☺
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2014-04-22 03:39:18
April 22 2014 02:18 GMT
#9373
On April 22 2014 03:45 BlueRoyaL wrote:
Dear programming gurus,

I'm looking for some good ideas for a web programming project. I'm semi-new to programming (I've taken a few introductory courses at my university but majored in something entirely different). My IT job as a fair amount of free time, so I've been studying and practicing programming. I've been learning C# (easy transition due to a bit of java experience in the past) and using visual studio, but I've decided that for now, I'll be programming without an IDE to really learn the nitty gritty details on how things are used.

I've googled a bunch but I haven't found something that I liked yet. I'm looking for something that will help me learn and test my skills in a variety of things such as using various classes, interfaces/delegation, possibly networking, databases or other forms of data I/O, and something I can try to implement good design patterns into.

My programming background: learning C#, I know enough to be able to dig through APIs and documentation online (thank god for stackoverflow, MSDN, etc) to be able to figure out stuff and apply them. Web wise, I've done a fair share of html, css, JS (jquery and a bit of angular), and a tiny amount of SQL stuff.

Does anyone have any suggestions here? Even if you think it may be too complicated for me, I'd love to hear your ideas or even better, the kinds of projects you've tackled in the past. Even if I can't take on the projects as of yet, it'd be nice to get an idea of what kind of projects are marketable and maybe I can break them down into smaller chunks, focusing on getting those right (while learning things along the way) and eventually do the whole thing.

Thanks for any ideas, insight, and tips!


I enjoy stuff like UI/UX so it would be cool if you would build an C# application on top of TeamLiquid that did GET requests to acquire content and POST requests to log in, comment and etc. that also managed cookies. :3 There's a lot of original content that can be done. I'm going to grab an Arduino and an RPi sometime soon so I can do some hardware stuff. I also want to find a service that can manage my 200gb media library safely, and also that I could access and upload content remotely (area of research). I build apps for Windows, I want to make some simple games, I want to build a physics engine, I want to help people build websites, etc.

The most important part of hobby programming is actually solving problems that you have. It is definitely not as interesting being told to do something than it is to think about interesting applications that you would want to have, and then making it!

I have friends that randomly learned simple integration with Google App Engine and Facebook OAUTH for the sole purpose of sharing Steam screenshots directly to Facebook because he loves taking them. I have friends that built operating systems for their dedicated home servers because they loved the idea, and it's actually impressive. Other friends have built link shorteners (easy weekend project) for their websites. I have a friend that built an application to show the weather status in the taskbar on his mac because he found it useful.

There are ideas that other people have, but you'll have a lot more fun finding and solving your own. And even if you don't solve it, it's no biggie. You've done research and thought about it and thinking about the idea abstractly and doing independent research is a very good skill to improve on. It's a good idea to find like-minded people who also want to learn and make cool stuff because it gives you lots of new ideas. Hackathons are a great place for stuff like this. I'm definitely not a guru or even remotely close but this is the kind of perception I've gained from being around people like this. They like building things because they like building things; coding is one way of expressing that desire.
There is no one like you in the universe.
Fawkes
Profile Blog Joined May 2010
Canada1935 Posts
Last Edited: 2014-04-22 03:27:47
April 22 2014 03:26 GMT
#9374
Looking to get into open source projects, but it seems so intimidating. I feel like the first major hurdle I can't get over is finding something I want to be part of. It might not be that everything doesn't interest me, but I am not looking at the right places. Many projects are oriented around libraries, I personally feel like I need an idea on what to use the library for to get into those. Then finding projects concerning the right platform.

Of course, I'm not looking to dive in and code. I would need to get familiar with the code, probably work on documentation or bugtracking for a little while and then try to contribute in the long run. Looking at some of these projects, I'm just like..."What do I do with this? How can I use this?", but for the projects that usually have documentations on how to setup and a well written introduction, are quite complex and I have no idea what is going on. Stuff that seems simple usually don't have the documentation to back it up so I have no idea what is going on as well.

Anybody follow interesting projects or have advice on where I can get started?

+ Show Spoiler [why I have weird questions] +
I graduated from Software Engineering 2 years ago. Why do I sound so noob? Lack of confidence in anything I do. Unemployed for so long, probably only person in my graduating class not working. Lack of self confidence pushed into a downward spiral. Finally managed to start my climb back up, need a place to improve my skillset. Didn't have much experience in development via co-op in school as other people in my class. I just judge myself so hard. My class full of people working at Microsoft, Google, Amazon, Mozilla, Facebook, Twitter...and then there's me.

Just trying to improve my skillset and experience, so I can finally get a job =\ It's been too long....


Sigh...probably just a problem with me.
Taeyeon ~ Jennie ~ Seulgi ~ Irene @Fawkes711
Cyx.
Profile Joined November 2010
Canada806 Posts
April 22 2014 05:23 GMT
#9375
On April 22 2014 12:26 Fawkes wrote:
Looking to get into open source projects, but it seems so intimidating. I feel like the first major hurdle I can't get over is finding something I want to be part of. It might not be that everything doesn't interest me, but I am not looking at the right places. Many projects are oriented around libraries, I personally feel like I need an idea on what to use the library for to get into those. Then finding projects concerning the right platform.

Of course, I'm not looking to dive in and code. I would need to get familiar with the code, probably work on documentation or bugtracking for a little while and then try to contribute in the long run. Looking at some of these projects, I'm just like..."What do I do with this? How can I use this?", but for the projects that usually have documentations on how to setup and a well written introduction, are quite complex and I have no idea what is going on. Stuff that seems simple usually don't have the documentation to back it up so I have no idea what is going on as well.

Anybody follow interesting projects or have advice on where I can get started?

+ Show Spoiler [why I have weird questions] +
I graduated from Software Engineering 2 years ago. Why do I sound so noob? Lack of confidence in anything I do. Unemployed for so long, probably only person in my graduating class not working. Lack of self confidence pushed into a downward spiral. Finally managed to start my climb back up, need a place to improve my skillset. Didn't have much experience in development via co-op in school as other people in my class. I just judge myself so hard. My class full of people working at Microsoft, Google, Amazon, Mozilla, Facebook, Twitter...and then there's me.

Just trying to improve my skillset and experience, so I can finally get a job =\ It's been too long....


Sigh...probably just a problem with me.


Well, I don't have a whole lot of experience, but I'm working on my first bigger-than-two-line patch for Blender right now which is totally awesome =D if you've never heard of it, it's a 3D modeling program that's free and open source with a really good community of devs around it. It's been going for a long time now so it's pretty complicated (and 3D modeling and rendering is pretty complex in and of itself, not to mention the game engine and other things that are involved) - but you're not going to get any open source experience that's worthwhile if it's not pretty complicated. The reason those companies like open source is because it teaches you to work in a big team of developers - if you look for 'simpler' open source projects I think you're kind of defeating the point.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2014-04-22 06:44:39
April 22 2014 05:51 GMT
#9376
On April 22 2014 12:26 Fawkes wrote:
Looking to get into open source projects, but it seems so intimidating. I feel like the first major hurdle I can't get over is finding something I want to be part of. It might not be that everything doesn't interest me, but I am not looking at the right places. Many projects are oriented around libraries, I personally feel like I need an idea on what to use the library for to get into those. Then finding projects concerning the right platform.

Of course, I'm not looking to dive in and code. I would need to get familiar with the code, probably work on documentation or bugtracking for a little while and then try to contribute in the long run. Looking at some of these projects, I'm just like..."What do I do with this? How can I use this?", but for the projects that usually have documentations on how to setup and a well written introduction, are quite complex and I have no idea what is going on. Stuff that seems simple usually don't have the documentation to back it up so I have no idea what is going on as well.

Anybody follow interesting projects or have advice on where I can get started?

+ Show Spoiler [why I have weird questions] +
I graduated from Software Engineering 2 years ago. Why do I sound so noob? Lack of confidence in anything I do. Unemployed for so long, probably only person in my graduating class not working. Lack of self confidence pushed into a downward spiral. Finally managed to start my climb back up, need a place to improve my skillset. Didn't have much experience in development via co-op in school as other people in my class. I just judge myself so hard. My class full of people working at Microsoft, Google, Amazon, Mozilla, Facebook, Twitter...and then there's me.

Just trying to improve my skillset and experience, so I can finally get a job =\ It's been too long....


Sigh...probably just a problem with me.



Yay Software Engineering :3 I see co-op so was it Waterloo?


I like to refer to this book + 1star reviews on Amazon because the 3rd 1star review is quite good.

+ Show Spoiler +
http://www.amazon.com/Before-Happiness-Achieving-Spreading-Sustaining/product-reviews/0770436730/ref=cm_cr_pr_hist_1?ie=UTF8&filterBy=addOneStar&showViewpoints=0&sortBy=bySubmissionDateDescending


There are a lot of similar books that present similar ideas but this one resonated with me better. Plus I really like his other book.

+ Show Spoiler [long reply] +

The idea I want to point out is that you seem to be spending more time thinking about what could go wrong and placing mental blocks on doing things rather than thinking about what could go right and what you can do.

Yes, you're going to be underqualified for a lot of things, but so will a huge number of people. So why get so hung up over it? You've graduated an arguably extremely difficult degree and acquired at least some set of skills that allowed you to overcome challenges in school. Deep diving into huge projects should not be a problem for you, and should not be scary. How hard could it be compared to a 15 hour algorithms assignment?

You also seem to like finding ways that prevent you from actually doing work - it's too hard to setup, it's too complex, I need to start small. This is a self-defeating attitude that doesn't help if you keep dwelling on it. If you're interested in it, who cares whether it's hard or not? If it takes 3 hours to setup then so it takes 3 hours to setup. I've spent days troubleshooting stupid things gone wrong with my laptop, and days troubleshooting silly errors that completely kill a feature I'm working on, banging my head until something works. If there's a tutorial or guide about setting up something you're interested in, there's absolutely no reason why you can't spend some time figuring out how to get it to work, because that's a huge leg up already on googling everything you need to do yourself. Think about it this way, if you give up so easily on something as little as even setting up a project or deep diving into it, why would a large software engineering company want someone like that? And if someone 20 years ago could do something as complex as Linux without the benefit of Google, why make excuses about things being too hard? Have a goal and go for it. Set your role model as someone who does do those things. People don't get good at them overnight. They work at it and it becomes second nature. And they still learn new things all the time.


Yes, you definitely lack experience compared to your friends with software jobs, but you have your own inherent advantages as well. You have a degree, and you've suffered through however many years of school, something that I'm not even done with yet. You have the opportunity to jump and learn and become a master at what you enjoy whereas people in school or still at work are not going to have the amount of time or energy to pursue any extraneous hobbies as much as you will have. I tried to advocate to a lot of younger years that there is absolutely nothing separating them from being a good programmer other than themselves, and nothing separating them from being as good as some really good programmers other than time, commitment and attitude. And the entire time I'm in awe of a lot of them who do have a lot more experience and years of programming under their belt than me. But even so I know that by the end of the day, not only are we all equals, we all have inherent advantages and disadvantages and skills based on our own upbringing that makes it so it doesn't really matter whether anyone has more experience. It's about what you use your experience for.

You have to learn to not only not compare yourselves to others, but to accept the reality of your situation, and look for what positive changes you can do now. There's no point in dwelling on what you could have done. I really wish I started programming 7 years ago like some of my classmates. I only started 2 years ago instead, but I'm doing fine I guess.


As for the having a goal part, there's two options. You might have something you really love or ideas about what you want to do. So I assume you love gaming. Go make a game! There are a lot of things such as 1 HTML5 game a day for 100 days or game engines like Unity or you can do something in Lua's LOVE or hundreds of other things. Go read people's blogs, go Google or Bing or DuckDuckGo for a couple hours just absorbing the huge amount of content that is available to consume (Googling skills required). Or you have no clue. Then ask friends. It's almost impossible to graduate without making at least a couple friends, maybe some good. Swallow your pride and ask them for help, for inspiration, if they have anything that they wanted to make but don't have time but could offload to you to make for them, if your family wants a website made. And then do it and use their expectation of you doing it to fire yourself up to completely the task and overcoming hurdles like, the build system is too complex. Stop putting up barriers between yourself and the task you want to get done. Break it down into chunks, compartmentalize, and work hard at it. Nothing good comes easy.


I've found a large part of doing all of this is developing, or being aware of, not the right attitude, but a better attitude for approaching problems.

Reading self-help books help immensely, as does the normal work out, feel better about yourself, get more confident, energetic, etc., and then just go and do it. Some days you'll be off. Some days you'll be on fire. I find good+ programmers view programming like some writer's view writing: do it daily whether you want to or not, don't make excuses, set reachable goals and reach them and you can't help but progress and get better. When you stagnate, when you don't try to improve, then you're going to fall behind people who do try. The good thing is, you have a lot more free time to improve than your peers and any upcoming peers.

This is my list of programming/life stuff that I keep track of and enjoy reading from time to time, and something that I've had multiple people mention they enjoy reading some of too. http://pastebin.com/CVhbrqRv. This link at the bottom was one of my first inspirations: http://www.rdegges.com/how-i-learned-to-program/.
There is no one like you in the universe.
Fawkes
Profile Blog Joined May 2010
Canada1935 Posts
April 22 2014 22:41 GMT
#9377
Yeah Blisse, it was. I'm just so disappointed in myself, barely can even bring it up to people T.T It really sucks right now.

Graphics and modelling just ain't up my aisle. I took a course on graphics in Uni, barely passed it. I just can't visualize the transforms and fancy math that goes on behind it. I found many people writing little libraries here and there for Android related things, but I haven't really looked into Android development...maybe I could a little bit. The only real thing I know about it is that people usually choose Java for it.
Taeyeon ~ Jennie ~ Seulgi ~ Irene @Fawkes711
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2014-04-22 22:49:41
April 22 2014 22:47 GMT
#9378
If it makes you feel better, I'm applying for jobs and all job tests but one have so far asked me nothing about programming. It's all IQ, induction & deduction reasoning. Whenever I ask people about it in my home country, they're surprised, maybe it's not that common compared to the UK. If it's the same in Canada, don't focus just on programming but on some reasoning as well.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
April 22 2014 22:59 GMT
#9379
--- Nuked ---
Cyx.
Profile Joined November 2010
Canada806 Posts
April 23 2014 00:21 GMT
#9380
On April 23 2014 07:59 Nesserev wrote:
Show nested quote +
On April 23 2014 07:41 Fawkes wrote:
Yeah Blisse, it was. I'm just so disappointed in myself, barely can even bring it up to people T.T It really sucks right now.

Graphics and modelling just ain't up my aisle. I took a course on graphics in Uni, barely passed it. I just can't visualize the transforms and fancy math that goes on behind it. I found many people writing little libraries here and there for Android related things, but I haven't really looked into Android development...maybe I could a little bit. The only real thing I know about it is that people usually choose Java for it.

Haha, I'm the same... I genuinely don't get why some people like graphics so much.

hehe... I love it but I can totally see why it's not exactly some people's cup of tea, I'm a weird kid when it comes to math like that =/ but that shit gets hairy sometimes lol
Prev 1 467 468 469 470 471 1032 Next
Please log in or register to reply.
Live Events Refresh
CrankTV Team League
11:00
Crank Gathers S4: Playoffs
LiquipediaDiscussion
KCM Race Survival
10:00
2026 Season 3 Week 3
Kim Chul Min (afreeca) 1293
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko272
RotterdaM 1
StarCraft: Brood War
Rain 4932
Calm 4597
BeSt 1995
Bisu 909
Zeus 858
Jaedong 733
Horang2 638
firebathero 573
Mini 466
EffOrt 272
[ Show more ]
Soma 229
Snow 218
Soulkey 205
Stork 185
Light 175
actioN 136
Mong 106
Last 106
Hyun 103
Mind 102
Larva 101
Dewaltoss 82
Pusan 78
ToSsGirL 45
Rush 44
ggaemo 42
sorry 31
[sc1f]eonzerg 31
hero 31
Shine 30
yabsab 27
Sharp 24
Sexy 23
Movie 23
Bale 22
Sacsri 22
Sea.KH 18
JYJ 16
JulyZerg 16
Barracks 14
Yoon 12
HiyA 11
ajuk12(nOOB) 11
Terrorterran 8
Noble 7
Dota 2
Dendi283
XcaliburYe31
Counter-Strike
shoxiejesuss808
markeloff52
Other Games
gofns10532
FrodaN2037
singsing2024
B2W.Neo294
crisheroes263
Sick149
Liquid`LucifroN53
CosmosSc2 16
Trikslyr13
Organizations
StarCraft: Brood War
UltimateBattle 33
StarCraft 2
angryscii 22
StarCraft: Brood War
lovetv 11
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH331
• StrangeGG 79
• intothetv
• IndyKCrew
• AfreecaTV YouTube
• sooper7s
• Migwel
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1538
• WagamamaTV246
• lizZardDota2144
League of Legends
• Jankos1861
• TFBlade408
Upcoming Events
WardiTV Summer Champion…
40m
Replay Cast
12h 40m
Escore
22h 40m
CrankTV Team League
23h 40m
Big Brain Bouts
1d 4h
Soulspirit vs goblin
TriGGeR vs Bunny
Korean StarCraft League
1d 15h
Afreeca Starleague
1d 16h
RSL Revival
1d 21h
Serral vs SHIN
herO vs Solar
Online Event
2 days
Replay Cast
2 days
[ Show More ]
RSL Revival
2 days
Clem vs ByuN
Rogue vs Lambo
OSC
3 days
WardiTV Weekly
3 days
Sparkling Tuna Cup
4 days
INu's Battles
4 days
Cure vs herO
ByuN vs Rogue
PiGosaur Cup
5 days
The PondCast
5 days
Kung Fu Cup
5 days
Patches Events
6 days
Replay Cast
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Proleague 2026-07-22
HSC XXIX
Eternal Conflict S2 E3

Ongoing

CSL 2026 Summer (S21)
KCM Race Survival 2026 Season 3
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
SCTL 2026 Spring
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026

Upcoming

Escore Tournament S3: W4
ASL S22 SEASON OPEN Day 2
Escore Tournament S3: W5
ASL Season 22: Qualifier #1
ASL Season 22: Qualifier #2
CSLAN 4
ASL Season 22
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
Light Tournament 2026
Eternal Conflict S2 Finale
ESL Pro League Season 24
Stake Ranked Episode 4
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.