• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:55
CEST 17:55
KST 00:55
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80Weekly Cups (Sept 29-Oct 5): MaxPax triples up3
StarCraft 2
General
The New Patch Killed Mech! Team Liquid Map Contest #21 - Presented by Monster Energy herO joins T1 Weekly Cups (Oct 13-19): Clem Goes for Four TL.net Map Contest #21: Voting
Tourneys
SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $1,200 WardiTV October (Oct 21st-31st)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
BSL Season 21 BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BW caster Sayle BSL Team A vs Koreans - Sat-Sun 16:00 CET
Tourneys
[ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Current Meta BW - ajfirecracker Strategy & Training Relatively freeroll strategies Siegecraft - a new perspective
Other Games
General Games
Nintendo Switch Thread Path of Exile Stormgate/Frost Giant Megathread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1686 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 States17255 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 States17255 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
Portugal3241 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
Portugal3241 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 States17255 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
Next event in 5m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 381
StarCraft: Brood War
Britney 42363
Calm 6390
Hyuk 4759
Sea 2976
Bisu 2700
GuemChi 1978
Horang2 1751
Flash 1388
Jaedong 1128
Larva 614
[ Show more ]
EffOrt 539
Soma 477
Light 393
Mong 335
Mini 234
actioN 232
Snow 202
Soulkey 179
hero 164
Hyun 160
TY 83
ggaemo 65
JYJ63
Barracks 46
Mind 41
sorry 39
Killer 37
Rush 34
Terrorterran 33
Aegong 26
Rock 17
soO 16
scan(afreeca) 15
Movie 15
Sacsri 15
SilentControl 14
Bale 10
Shine 9
yabsab 9
HiyA 5
Dota 2
Gorgc6967
qojqva4283
Dendi1213
420jenkins464
BananaSlamJamma169
canceldota56
Counter-Strike
byalli638
fl0m353
markeloff211
edward53
FunKaTv 37
Heroes of the Storm
Khaldor194
Other Games
singsing2427
hiko1235
B2W.Neo1105
FrodaN636
ceh9395
Sick358
Lowko355
Liquid`VortiX236
ArmadaUGS101
C9.Mang074
KnowMe72
XcaliburYe57
Mew2King51
Trikslyr43
Organizations
Counter-Strike
PGL560
StarCraft 2
WardiTV104
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• poizon28 40
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 3353
Other Games
• Shiphtur92
Upcoming Events
Monday Night Weeklies
5m
Replay Cast
7h 5m
WardiTV Invitational
19h 5m
WardiTV Invitational
22h 35m
PiGosaur Monday
1d 8h
Replay Cast
1d 18h
Tenacious Turtle Tussle
2 days
The PondCast
2 days
OSC
2 days
WardiTV Invitational
3 days
[ Show More ]
Online Event
4 days
RSL Revival
4 days
RSL Revival
4 days
WardiTV Invitational
4 days
Afreeca Starleague
5 days
Snow vs Soma
Sparkling Tuna Cup
5 days
WardiTV Invitational
5 days
CrankTV Team League
5 days
RSL Revival
6 days
Wardi Open
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
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.