• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 09:29
CET 15:29
KST 23:29
  • 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
SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2
Community News
BSL Season 2025 - Full Overview and Conclusion6Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)16Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 105
StarCraft 2
General
Stellar Fest "01" Jersey Charity Auction SC2 All-Star Invitational: Tournament Preview Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament SC2 AI Tournament 2026 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion BSL Season 2025 - Full Overview and Conclusion Video Footage from 2005: The Birth of G2 in Spain [ASL21] Potential Map Candidates
Tourneys
[BSL21] Grand Finals - Sunday 21:00 CET [Megathread] Daily Proleagues [BSL21] Non-Korean Championship - Starts Jan 10 Small VOD Thread 2.0
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026! Nintendo Switch Thread Mechabellum
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Canadian Politics Mega-thread European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1625 users

The Big Programming Thread - Page 308

Forum Index > General Forum
Post a Reply
Prev 1 306 307 308 309 310 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.
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 States17274 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 States17274 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 States3702 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
Portugal3242 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
Portugal3242 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 States17274 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 1032 Next
Please log in or register to reply.
Live Events Refresh
OSC
12:00
Season 13 World Championship
Nicoract vs JumyLIVE!
Gerald vs MaNa
Creator vs TBD
WardiTV1159
LiquipediaDiscussion
Sparkling Tuna Cup
10:00
Weekly #117
ByuN vs CreatorLIVE!
CranKy Ducklings219
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Rain 5953
Calm 5802
Shuttle 1709
Soma 1061
Larva 908
Stork 696
EffOrt 642
BeSt 565
Hm[arnc] 442
ggaemo 428
[ Show more ]
Light 418
Rush 266
Mini 181
NaDa 139
Sharp 120
Hyun 104
Aegong 100
yabsab 86
Last 66
JulyZerg 65
Leta 59
Movie 51
Nal_rA 48
910 36
GoRush 34
Sexy 31
HiyA 18
Terrorterran 18
Sacsri 17
ivOry 15
Noble 12
SilentControl 6
Dota 2
Gorgc5494
singsing3001
qojqva2016
syndereN265
XcaliburYe226
Counter-Strike
x6flipin728
Heroes of the Storm
Khaldor320
Other Games
B2W.Neo1582
Liquid`RaSZi1461
byalli474
crisheroes391
DeMusliM312
Hui .278
Fuzer 187
Happy159
White-Ra85
KnowMe70
Mew2King45
Organizations
Other Games
gamesdonequick2519
StarCraft 2
ComeBackTV 705
StarCraft: Brood War
Kim Chul Min (afreeca) 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 74
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Laughngamez YouTube
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2413
League of Legends
• Jankos3409
Upcoming Events
BSL 21
5h 31m
Bonyth vs Sziky
Mihu vs QiaoGege
Sziky vs XuanXuan
eOnzErG vs QiaoGege
Mihu vs DuGu
Dewalt vs Bonyth
IPSL
5h 31m
Dewalt vs Sziky
Replay Cast
18h 31m
Wardi Open
21h 31m
Monday Night Weeklies
1d 2h
The PondCast
2 days
Big Brain Bouts
5 days
Serral vs TBD
BSL 21
6 days
Liquipedia Results

Completed

Escore Tournament S1: W4
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 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.