• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:36
CEST 08:36
KST 15:36
  • 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
HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6Code S RO8 Preview: herO, Zoun, Bunny, Classic7
Community News
Weekly Cups (June 23-29): Reynor in world title form?6FEL Cracov 2025 (July 27) - $8000 live event13Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1Weekly Cups (June 9-15): herO doubles on GSL week4
StarCraft 2
General
StarCraft Mass Recall: SC1 campaigns on SC2 thread The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
HomeStory Cup 27 (June 27-29) WardiTV Mondays SOOPer7s Showmatches 2025 FEL Cracov 2025 (July 27) - $8000 live event $200 Biweekly - StarCraft Evolution League #1
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers [G] Darkgrid Layout
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest ASL20 Preliminary Maps Unit and Spell Similarities
Tourneys
[BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [Megathread] Daily Proleagues [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Effective Commercial Building Cost Assessment Tips Trading/Investing Thread US Politics Mega-thread Stop Killing Games - European Citizens Initiative Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 566 users

The Big Programming Thread - Page 308

Forum Index > General Forum
Post a Reply
Prev 1 306 307 308 309 310 1031 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.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
May 29 2013 21:41 GMT
#6141
On May 30 2013 06:10 3FFA wrote:
I did. Just ran it.... says it can't load the simulator because of the version for some reason. =/

I sent you a PM. We'll get this sorted out
Holy_AT
Profile Joined July 2010
Austria978 Posts
Last Edited: 2013-05-29 21:46:12
May 29 2013 21:45 GMT
#6142
@klo8
Meh, people nowadays are all about their tools and auto debugging to tell them what their program does.
If the problem does not lie in the libraries you are using and it is in your code, the most likely result of your problem is that you are not disposing some of your objects or freeing memory.
I do not know how you have implemented your solution but I hope you have a separation between the model and the view, at least you can determine if your memory problems result from your model and the algorithms performed in there or the visual representation the view, by just running your program without the view(s) attached to it.
Abductedonut
Profile Blog Joined December 2010
United States324 Posts
May 30 2013 02:09 GMT
#6143
Okay guys - I totally need help but it's not a specific coding question.

I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.

First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?

Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated.
Chairman Ray
Profile Blog Joined December 2009
United States11903 Posts
May 30 2013 02:14 GMT
#6144
On May 30 2013 11:09 Abductedonut wrote:
Okay guys - I totally need help but it's not a specific coding question.

I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.

First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?

Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated.


There aren't any specific dress codes for an interview. What looks the best will give the best impression. Software companies are a bit more lenient on dress codes since they usually work in tshirt and jeans type of dress. I don't know if this is the case for your job though. If you would like to post some pictures, we can tell you if you look great or if you need to dress up/down a bit.
BoxingKangaroo
Profile Blog Joined December 2011
Japan955 Posts
May 30 2013 03:09 GMT
#6145
On May 30 2013 11:09 Abductedonut wrote:
Okay guys - I totally need help but it's not a specific coding question.

I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.

First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?

Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated.


It's an interview, wear a suit in my opinion. What you will wear at the job, and what you wear in the interview should not necessarily be the same. If it's an interview for an office job, wear a suit. No one ever got passed over for over dressing.
Craton
Profile Blog Joined December 2009
United States17246 Posts
May 30 2013 04:09 GMT
#6146
Always better to be overdressed than under-dressed.

I wore a full suit to my interview.
twitch.tv/cratonz
phar
Profile Joined August 2011
United States1080 Posts
Last Edited: 2013-05-30 04:19:49
May 30 2013 04:14 GMT
#6147
On May 30 2013 12:09 BoxingKangaroo wrote:
Show nested quote +
On May 30 2013 11:09 Abductedonut wrote:
Okay guys - I totally need help but it's not a specific coding question.

I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.

First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?

Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated.


It's an interview, wear a suit in my opinion. What you will wear at the job, and what you wear in the interview should not necessarily be the same. If it's an interview for an office job, wear a suit. No one ever got passed over for over dressing.

Woah, really depends on the company. Coming to an interview in a suit at a lot of companies is gonna be viewed as kinda strange. For example, a significant percentage of the devs at my place don't even wear shoes...

Go with whatever the recruiter said. If they said collared shirt, do that (no tie imo). It is better to be overdressed than underdressed, but it's not better to be overdressed than dressed-exactly-the-way-the-recruiter-said.
Who after all is today speaking about the destruction of the Armenians?
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
May 30 2013 04:36 GMT
#6148
Sigh, I guess I'm going to be underdressed tomorrow (today). Business casual with an emphasis on the casual x_x
There is no one like you in the universe.
Craton
Profile Blog Joined December 2009
United States17246 Posts
May 30 2013 04:37 GMT
#6149
I've never interviewed for anything, including a shitty stocking job at a grocery store, with less than a dress shirt and tie. Take that how you will.
twitch.tv/cratonz
Abductedonut
Profile Blog Joined December 2010
United States324 Posts
May 30 2013 04:55 GMT
#6150
I've elected to go with everything you'd wear with a suit just without the suit jacket. I've tried to color code it so that I look really nice but not overdressed. Anyway, hopefully they'll focus more on my ability to program rather than what I'm wearing!

Thanks for the help, guys!
tec27
Profile Blog Joined June 2004
United States3696 Posts
May 30 2013 07:46 GMT
#6151
On May 30 2013 13:14 phar wrote:
Show nested quote +
On May 30 2013 12:09 BoxingKangaroo wrote:
On May 30 2013 11:09 Abductedonut wrote:
Okay guys - I totally need help but it's not a specific coding question.

I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.

First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?

Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated.


It's an interview, wear a suit in my opinion. What you will wear at the job, and what you wear in the interview should not necessarily be the same. If it's an interview for an office job, wear a suit. No one ever got passed over for over dressing.

Woah, really depends on the company. Coming to an interview in a suit at a lot of companies is gonna be viewed as kinda strange. For example, a significant percentage of the devs at my place don't even wear shoes...

Go with whatever the recruiter said. If they said collared shirt, do that (no tie imo). It is better to be overdressed than underdressed, but it's not better to be overdressed than dressed-exactly-the-way-the-recruiter-said.

Yes, being overdressed is only fine to a certain extent. If they're expecting you to wear jeans and a t-shirt and you come in a suit, I can't imagine your interview is going to go very well Just wear something you're comfortable in and don't worry too much about it; the content of the interview is more important.
Can you jam with the console cowboys in cyberspace?
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
May 30 2013 09:47 GMT
#6152
Would you say picking a 'Formal Methods' module at university is a good idea? Is studying SPARQL/RDF/OWL also good to know? I can give you links for more details:

Formal Methods: https://www.csc.liv.ac.uk/teaching/modules/module.php?code=COMP313
Advanced Web Technologies: https://www.csc.liv.ac.uk/teaching/modules/module.php?code=COMP318

I've also picked a robot module for the lack of a better module.

https://www.csc.liv.ac.uk/teaching/modules/module.php?code=COMP329
klo8
Profile Joined August 2010
Austria1960 Posts
May 30 2013 10:20 GMT
#6153
On May 30 2013 06:45 Holy_AT wrote:
@klo8
Meh, people nowadays are all about their tools and auto debugging to tell them what their program does.
If the problem does not lie in the libraries you are using and it is in your code, the most likely result of your problem is that you are not disposing some of your objects or freeing memory.
I do not know how you have implemented your solution but I hope you have a separation between the model and the view, at least you can determine if your memory problems result from your model and the algorithms performed in there or the visual representation the view, by just running your program without the view(s) attached to it.

As a programmer coming from C# and Java, I don't really have a lot of experience managing memory on my own (except for about 6 months of C programming that I did for a systems programming class). I've so far allocated all objects on the stack and did not use any pointers to objects or the new-operator, so using delete was not necessary so far. I followed your advice, and just doing the backend calculations does not seem to take up a lot of memory, the usage is around 2MB when I just run the backend. (creating the L-Systems, creating the vertex arrays for drawing) As soon as I create a SFML-RenderWindow, the usage jumps to 27 MB, so it seems to be out of my hand, at least in that regard. As for what happens when I increase the size of the curves, I'll have to check some more I guess.
This post is clearly not a hurr, as you can see from the graph, the durr never intersects with the derp.
Ashakyre
Profile Joined October 2011
United States99 Posts
May 30 2013 10:39 GMT
#6154
Birthday Ban Please!!!
misirlou
Profile Joined June 2010
Portugal3237 Posts
Last Edited: 2013-05-30 12:01:32
May 30 2013 10:45 GMT
#6155
On May 30 2013 19:20 klo8 wrote:
Show nested quote +
On May 30 2013 06:45 Holy_AT wrote:
@klo8
Meh, people nowadays are all about their tools and auto debugging to tell them what their program does.
If the problem does not lie in the libraries you are using and it is in your code, the most likely result of your problem is that you are not disposing some of your objects or freeing memory.
I do not know how you have implemented your solution but I hope you have a separation between the model and the view, at least you can determine if your memory problems result from your model and the algorithms performed in there or the visual representation the view, by just running your program without the view(s) attached to it.

As a programmer coming from C# and Java, I don't really have a lot of experience managing memory on my own (except for about 6 months of C programming that I did for a systems programming class). I've so far allocated all objects on the stack and did not use any pointers to objects or the new-operator, so using delete was not necessary so far. I followed your advice, and just doing the backend calculations does not seem to take up a lot of memory, the usage is around 2MB when I just run the backend. (creating the L-Systems, creating the vertex arrays for drawing) As soon as I create a SFML-RenderWindow, the usage jumps to 27 MB, so it seems to be out of my hand, at least in that regard. As for what happens when I increase the size of the curves, I'll have to check some more I guess.


New operator doesn't exist in C. The closest is type *pointer=(type*) malloc(sizeof(type)*elements) , and using free(pointer) after you don't need the memory. I will have a look at your code to understand what you mean by "allocated all objects on the stack" and edit this post.

Edit: NVM you are using c++. Im not sure how VS handles STL containers on the garbage collection but it might be that you are allocating memory for them every time you call CreateLSystems and not clearing them after you use them on the lsystems.push_back(LSystem(...)); call.
klo8
Profile Joined August 2010
Austria1960 Posts
May 30 2013 13:57 GMT
#6156
On May 30 2013 19:45 misirlou wrote:
Show nested quote +
On May 30 2013 19:20 klo8 wrote:
On May 30 2013 06:45 Holy_AT wrote:
@klo8
Meh, people nowadays are all about their tools and auto debugging to tell them what their program does.
If the problem does not lie in the libraries you are using and it is in your code, the most likely result of your problem is that you are not disposing some of your objects or freeing memory.
I do not know how you have implemented your solution but I hope you have a separation between the model and the view, at least you can determine if your memory problems result from your model and the algorithms performed in there or the visual representation the view, by just running your program without the view(s) attached to it.

As a programmer coming from C# and Java, I don't really have a lot of experience managing memory on my own (except for about 6 months of C programming that I did for a systems programming class). I've so far allocated all objects on the stack and did not use any pointers to objects or the new-operator, so using delete was not necessary so far. I followed your advice, and just doing the backend calculations does not seem to take up a lot of memory, the usage is around 2MB when I just run the backend. (creating the L-Systems, creating the vertex arrays for drawing) As soon as I create a SFML-RenderWindow, the usage jumps to 27 MB, so it seems to be out of my hand, at least in that regard. As for what happens when I increase the size of the curves, I'll have to check some more I guess.


New operator doesn't exist in C. The closest is type *pointer=(type*) malloc(sizeof(type)*elements) , and using free(pointer) after you don't need the memory. I will have a look at your code to understand what you mean by "allocated all objects on the stack" and edit this post.

Edit: NVM you are using c++. Im not sure how VS handles STL containers on the garbage collection but it might be that you are allocating memory for them every time you call CreateLSystems and not clearing them after you use them on the lsystems.push_back(LSystem(...)); call.

Thanks for the quick answer. I only call CreateLSystems() once, at the start of the application.
This post is clearly not a hurr, as you can see from the graph, the durr never intersects with the derp.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2013-05-31 20:29:55
May 31 2013 20:17 GMT
#6157
Ok, I got a question.

I'm looking to develop a simple data warehouse solution with a SQL backend. It will be dynamic in the sense that it will support any need to house data in any format. Each set of data will be autonomous, so no need to futz around with foreign key relationships. There will be an independent business tier that will do its own data aggregation against the warehouse, but that's irrelevant for this discussion.

Think of it like when you're working in SQL, defining tables to hold data, except my solution does that job for you but uses SQL as its data store.

I can think of two ways to do this, but I'm not entirely sold on either one:
1. Have the solution actually create and manage tables for each autonomous set of data I want to add to the data warehouse. This has the benefit of visually seeing the tables in SQL and ease of management in the software solution. The problem is that tables are harder to manipulate when they change, and it requires an extra layer to bind it to the business tier for analyzing.

2. Break the data out into a stagnant set of tables that hold each autonomous set of data in parts. You would have a "Table" table that identifies each logical table, a "TableKeys" table that represents each field in each table, and a "TableRows" table that breaks down the data into rows, and for each row matches a value to a field, or "key". This has the benefit of being very dynamic. It also makes it easier to tie back to the business tier for analyzing. The problem is that as the data warehouse grows, this table will get very large and might slow down the system.

What do you guys think? I started building it as option 2, but now I'm leaning towards option 1.
misirlou
Profile Joined June 2010
Portugal3237 Posts
May 31 2013 20:39 GMT
#6158
On June 01 2013 05:17 enigmaticcam wrote:
Ok, I got a question.

I'm looking to develop a simple data warehouse solution with a SQL backend. It will be dynamic in the sense that it will support any need to house data in any format. Each set of data will be autonomous, so no need to futz around with foreign key relationships. There will be an independent business tier that will do its own data aggregation against the warehouse, but that's irrelevant for this discussion.

Think of it like when you're working in SQL, defining tables to hold data, except my solution does that job for you but uses SQL as its data store.

I can think of two ways to do this, but I'm not entirely sold on either one:
1. Have the solution actually create and manage tables for each autonomous set of data I want to add to the data warehouse. This has the benefit of visually seeing the tables in SQL and ease of management in the software solution. The problem is that tables are harder to manipulate when they change.

2. Break the data out into a stagnant set of tables that hold each autonomous set of data in parts. You would have a "Table" table that identifies each logical table, a "TableKeys" table that represents each field in each table, and a "TableRows" table that breaks down the data into rows, and for each row matches a value to a field, or "key". This has the benefit of being very dynamic. The problem is that as the data warehouse grows, this table will get very large and might slow down the system.

What do you guys think? I started building it as option 2, but now I'm leaning towards option 1.


I can't see the drawback on 1. Since you don't use foreign keys there are no constraints when altering/deleting a table. Just alter table -> drop column or add column + insert default value.
I think the second approach complicates things.
supereddie
Profile Joined March 2011
Netherlands151 Posts
May 31 2013 20:43 GMT
#6159
Uuhmm... look up datawarehouse (on wikipedia for example) and see why what you want to do should not be done.
"Do not try to make difficult things possible, but make simple things simple." - David Platt on Software Design
Craton
Profile Blog Joined December 2009
United States17246 Posts
May 31 2013 22:10 GMT
#6160
I'm not really seeing why you need to physically separate the data just because it's autonomous.
twitch.tv/cratonz
Prev 1 306 307 308 309 310 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 4h 24m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft410
mcanning 131
StarCraft: Brood War
Larva 655
TY 453
Snow 144
Noble 18
Hm[arnc] 6
Bale 5
Britney 0
Dota 2
febbydoto37
League of Legends
JimRising 641
Counter-Strike
summit1g7775
Stewie2K623
Other Games
shahzam1030
KnowMe144
NeuroSwarm54
Mew2King41
Organizations
Other Games
gamesdonequick832
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1589
• Stunt544
Upcoming Events
Wardi Open
4h 24m
PiGosaur Monday
17h 24m
The PondCast
1d 3h
Replay Cast
1d 17h
RSL Revival
2 days
ByuN vs Classic
Clem vs Cham
WardiTV European League
2 days
Replay Cast
2 days
RSL Revival
3 days
herO vs SHIN
Reynor vs Cure
WardiTV European League
3 days
FEL
3 days
[ Show More ]
Korean StarCraft League
3 days
CranKy Ducklings
4 days
RSL Revival
4 days
FEL
4 days
Sparkling Tuna Cup
5 days
RSL Revival
5 days
FEL
5 days
BSL: ProLeague
5 days
Dewalt vs Bonyth
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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 © 2025 TLnet. All Rights Reserved.