• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:37
CEST 09:37
KST 16:37
  • 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
[ASL22] Ro16 Preview: Rough Waters8[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 244
Community News
Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism0Official StarCraft website teases new content ahead of BlizzCon?104Stellar Fest TWO the Moon (Dec 16-20)9Weekly Cups (August 24-30): Patches' balance mod takes over3New 3v3 BGH Ladder (and more) on ShieldBattery!46
StarCraft 2
General
Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game Balance hotfix patch 5.0.16b (July 16) SC4ALL: II Winner Will Earn a Spot at HSC 30! Weekly Cups (August 24-30): Patches' balance mod takes over
Tourneys
2026 GSTL Announcement Sparkling Tuna Cup - Weekly Open Tournament Stellar Fest TWO the Moon (Dec 16-20) IntoTheTV X SOOP SC2 League : Weekly & Monthly SC2 INu's Battles#20 [BO.9]
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 542 The Ascended Mutation # 541 Binary Choice The PondCast: SC2 News & Results Mutation # 540 Dodge This
Brood War
General
Official StarCraft website teases new content ahead of BlizzCon? New 3v3 BGH Ladder (and more) on ShieldBattery! ASL22 General Discussion BGH Auto Balance -> http://bghmmr.eu/ Pros React To: Calm's Big Brain Play Vs Mini
Tourneys
[ASL22] Ro16 Group B [ASL22] Ro16 Group A [ASL22] Ro24 Group F [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers Odyssey Mineral Stack Saturation Replay Review Process - What do you do? Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread Diablo IV EVE Corporation [Maplestory Hardcore] Let's Play~!! General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish 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 TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread UK Politics Mega-thread Russo-Ukrainian War Thread Artificial Intelligence Thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
F* the Children and Get Off …
TrAiDoS
Dreaming of BW patches (mod…
c3rberUs
Regacy Esports: The Bh…
regacyesports
LOCKPICKING NOOB
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 7892 users

The Big Programming Thread - Page 304

Forum Index > General Forum
Post a Reply
Prev 1 302 303 304 305 306 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.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
May 20 2013 23:04 GMT
#6061
I need to know some svn stuff for the exam. E.g. svn revert/propset/checkout/branches/working copy/roll back of revision. Basic stuff like that. I know some theory, but I want to apply what I've learnt. Do you know any good svn provider? It'd be nice if I can use both svn command line & TortoiseSVN. I've tried https://www.assembla.com, but I don't find it so nice for some reason.
ThatGuy
Profile Blog Joined April 2008
Canada695 Posts
May 21 2013 02:07 GMT
#6062
On May 21 2013 08:04 darkness wrote:
I need to know some svn stuff for the exam. E.g. svn revert/propset/checkout/branches/working copy/roll back of revision. Basic stuff like that. I know some theory, but I want to apply what I've learnt. Do you know any good svn provider? It'd be nice if I can use both svn command line & TortoiseSVN. I've tried https://www.assembla.com, but I don't find it so nice for some reason.


Google Code is pretty useful for this: https://code.google.com/
misirlou
Profile Joined June 2010
Portugal3316 Posts
Last Edited: 2013-05-21 12:31:32
May 21 2013 12:31 GMT
#6063
On May 21 2013 08:04 darkness wrote:
I need to know some svn stuff for the exam. E.g. svn revert/propset/checkout/branches/working copy/roll back of revision. Basic stuff like that. I know some theory, but I want to apply what I've learnt. Do you know any good svn provider? It'd be nice if I can use both svn command line & TortoiseSVN. I've tried https://www.assembla.com, but I don't find it so nice for some reason.


Sorry cant help you, dont touch svn ever since I started using git, however I use Assembla for my private git repos and I have no problems with it
Tobberoth
Profile Joined August 2010
Sweden6375 Posts
May 21 2013 16:26 GMT
#6064
On May 21 2013 08:04 darkness wrote:
I need to know some svn stuff for the exam. E.g. svn revert/propset/checkout/branches/working copy/roll back of revision. Basic stuff like that. I know some theory, but I want to apply what I've learnt. Do you know any good svn provider? It'd be nice if I can use both svn command line & TortoiseSVN. I've tried https://www.assembla.com, but I don't find it so nice for some reason.

You could just get VisualSVN Server up and running on your own computer and use that. It's free and easy to set up.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2013-05-21 18:04:22
May 21 2013 17:59 GMT
#6065
Question on database design: What's the consensus on unique ids on many-to-many join tables? Do you think they're redundant or necessary?

As an example, suppose I have two tables: tblObject, and tblAttribute. Suppose any one object can have any set of attributes, and likewise any one attribute can apply to any set of objects. So I would create a join table called tblObjectToAttribute that would have both the objectId and the attributeId. Is it necessary to create an incremental unique id in the join table, something like objectToAttributeId, even though the combination of objectId and attributeId is already unique? In practice, I've never found that I've needed it, but habitually I've always created it. Even if I were to join that join table to some other table, you could still just use the combination of the object and attribute ids.
waxypants
Profile Blog Joined September 2009
United States479 Posts
May 21 2013 23:00 GMT
#6066
On May 22 2013 02:59 enigmaticcam wrote:
Question on database design: What's the consensus on unique ids on many-to-many join tables? Do you think they're redundant or necessary?

As an example, suppose I have two tables: tblObject, and tblAttribute. Suppose any one object can have any set of attributes, and likewise any one attribute can apply to any set of objects. So I would create a join table called tblObjectToAttribute that would have both the objectId and the attributeId. Is it necessary to create an incremental unique id in the join table, something like objectToAttributeId, even though the combination of objectId and attributeId is already unique? In practice, I've never found that I've needed it, but habitually I've always created it. Even if I were to join that join table to some other table, you could still just use the combination of the object and attribute ids.


I would have just those two fields and have them form the primary key. It seems a lot cleaner. I don't really deal with this crap much though, so maybe there are some good reasons to to have a unique id.
Toboe
Profile Blog Joined February 2010
United States276 Posts
May 21 2013 23:17 GMT
#6067
On May 22 2013 02:59 enigmaticcam wrote:
+ Show Spoiler +
Question on database design: What's the consensus on unique ids on many-to-many join tables? Do you think they're redundant or necessary?

As an example, suppose I have two tables: tblObject, and tblAttribute. Suppose any one object can have any set of attributes, and likewise any one attribute can apply to any set of objects. So I would create a join table called tblObjectToAttribute that would have both the objectId and the attributeId. Is it necessary to create an incremental unique id in the join table, something like objectToAttributeId, even though the combination of objectId and attributeId is already unique? In practice, I've never found that I've needed it, but habitually I've always created it. Even if I were to join that join table to some other table, you could still just use the combination of the object and attribute ids.


Some replication pipelines will work faster if you have a separate primary key column (not clustered) on the join table for each relation, which will quickly come into play when you scale up to replicating the data to dozens of servers and have real time replication going instead of scheduled. The only other reason I can think of off the top of my head is the naive conception of tracking information about each relation. Specifically tracking the history/origin of each relation when you are providing support to someone using your application and need to know how they screwed up their data to reproduce an issue in a complex system. There may be some edge cases where this does need to be done per relation, but almost every application has a smarter point of tracking history, usually at key points in the object's lifecycle (creation, modification, copying, merging, deleting, etc), where you can track groups of changes to the relations and keep that in a separate table so that it doesn't impede normal object use.
Immortals are your friend, you can tell by the way they waddle at you
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2013-05-21 23:29:10
May 21 2013 23:28 GMT
#6068
On May 21 2013 11:07 ThatGuy wrote:
Show nested quote +
On May 21 2013 08:04 darkness wrote:
I need to know some svn stuff for the exam. E.g. svn revert/propset/checkout/branches/working copy/roll back of revision. Basic stuff like that. I know some theory, but I want to apply what I've learnt. Do you know any good svn provider? It'd be nice if I can use both svn command line & TortoiseSVN. I've tried https://www.assembla.com, but I don't find it so nice for some reason.


Google Code is pretty useful for this: https://code.google.com/


All right, cheers. I think Assembla isn't too bad, it was just my lack of practice with svn's way. By the way, does an ant build need file always need to import junit? E.g.


<path id="class.path">
<pathelement location="junit.jar"/>
<!-- where classes go :P -->
<pathelement location="bin"/>
</path>
3FFA
Profile Blog Joined February 2010
United States3931 Posts
May 22 2013 01:36 GMT
#6069
On May 19 2013 22:40 3FFA wrote:
I've learned quite a bit about Objective C. and have learned how to make some basic iOS apps. Any good online courses I could take to expand my knowledge of what I can actually do with the iOS?

edit: For example, I have made a basic + - * / calculator, a small war-like card game, and a guessing game app in my High School's programming class. I am hoping to take a class to expand upon this knowledge in the Summer.


No one?
"As long as it comes from a pure place and from a honest place, you know, you can write whatever you want."
tofucake
Profile Blog Joined October 2009
Hyrule19252 Posts
May 22 2013 01:59 GMT
#6070
Apple doesn't let you develop for iOS unless you buy a Mac and I really don't care that much so I've never bothered learning anything about iOS development. Sorry.
Liquipediaasante sana squash banana
vvSiegvv
Profile Joined March 2010
United States364 Posts
May 22 2013 02:03 GMT
#6071
On May 22 2013 10:36 3FFA wrote:
Show nested quote +
On May 19 2013 22:40 3FFA wrote:
I've learned quite a bit about Objective C. and have learned how to make some basic iOS apps. Any good online courses I could take to expand my knowledge of what I can actually do with the iOS?

edit: For example, I have made a basic + - * / calculator, a small war-like card game, and a guessing game app in my High School's programming class. I am hoping to take a class to expand upon this knowledge in the Summer.


No one?


I'd highly recommend CS:193p taught via ItunesU with Paul Hegarty. All of the lectures you can get for free I believe off of Itunes, and it was a really well taught lecture series that my university incorporated into our own iOS development class. Hope this helps!
3FFA
Profile Blog Joined February 2010
United States3931 Posts
May 22 2013 02:05 GMT
#6072
On May 22 2013 11:03 vvSiegvv wrote:
Show nested quote +
On May 22 2013 10:36 3FFA wrote:
On May 19 2013 22:40 3FFA wrote:
I've learned quite a bit about Objective C. and have learned how to make some basic iOS apps. Any good online courses I could take to expand my knowledge of what I can actually do with the iOS?

edit: For example, I have made a basic + - * / calculator, a small war-like card game, and a guessing game app in my High School's programming class. I am hoping to take a class to expand upon this knowledge in the Summer.


No one?


I'd highly recommend CS:193p taught via ItunesU with Paul Hegarty. All of the lectures you can get for free I believe off of Itunes, and it was a really well taught lecture series that my university incorporated into our own iOS development class. Hope this helps!

Ooooo I'll look into it! Thanks

Of course, I would like other ideas too.

@Tofu thanks for the thought at least
"As long as it comes from a pure place and from a honest place, you know, you can write whatever you want."
dartoo
Profile Joined May 2010
India2889 Posts
May 22 2013 02:51 GMT
#6073
On May 22 2013 10:36 3FFA wrote:
Show nested quote +
On May 19 2013 22:40 3FFA wrote:
I've learned quite a bit about Objective C. and have learned how to make some basic iOS apps. Any good online courses I could take to expand my knowledge of what I can actually do with the iOS?

edit: For example, I have made a basic + - * / calculator, a small war-like card game, and a guessing game app in my High School's programming class. I am hoping to take a class to expand upon this knowledge in the Summer.


No one?



If you dont own an ios system, or have a virtual one, it will be very hard. If it's a game, you could do the whole game in c++ and use an objective-c layer just to communicate with the device, minimizing the time needed to use a mac. but the best way is to get an ios device and program on it.
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2013-05-22 05:36:55
May 22 2013 05:35 GMT
#6074
On May 22 2013 10:36 3FFA wrote:
Show nested quote +
On May 19 2013 22:40 3FFA wrote:
I've learned quite a bit about Objective C. and have learned how to make some basic iOS apps. Any good online courses I could take to expand my knowledge of what I can actually do with the iOS?

edit: For example, I have made a basic + - * / calculator, a small war-like card game, and a guessing game app in my High School's programming class. I am hoping to take a class to expand upon this knowledge in the Summer.


No one?

If you're wanting to do more advanced iOS stuff, I'd definitely look into Core Data. Not sure if there's any online classes though. I personally just ordered a book on Amazon.

Edit: Thanks for the info on join tables, waxypants and Toboe. I'll keep doing it the way I usually do.
CatNzHat
Profile Blog Joined February 2011
United States1599 Posts
May 22 2013 06:24 GMT
#6075
On May 19 2013 22:40 3FFA wrote:
I've learned quite a bit about Objective C. and have learned how to make some basic iOS apps. Any good online courses I could take to expand my knowledge of what I can actually do with the iOS?

edit: For example, I have made a basic + - * / calculator, a small war-like card game, and a guessing game app in my High School's programming class. I am hoping to take a class to expand upon this knowledge in the Summer.

Data structures and algorithms if it's offered by your local junior college.
Tobberoth
Profile Joined August 2010
Sweden6375 Posts
May 22 2013 06:40 GMT
#6076
On May 22 2013 02:59 enigmaticcam wrote:
Question on database design: What's the consensus on unique ids on many-to-many join tables? Do you think they're redundant or necessary?

As an example, suppose I have two tables: tblObject, and tblAttribute. Suppose any one object can have any set of attributes, and likewise any one attribute can apply to any set of objects. So I would create a join table called tblObjectToAttribute that would have both the objectId and the attributeId. Is it necessary to create an incremental unique id in the join table, something like objectToAttributeId, even though the combination of objectId and attributeId is already unique? In practice, I've never found that I've needed it, but habitually I've always created it. Even if I were to join that join table to some other table, you could still just use the combination of the object and attribute ids.

I would not include an ID column in a ManyToMany table, as least not if it's exlusively objectid and attributeid. If there are more columns to save data about the relations, it might be more relevant. However, I usually do include ID columns otherwise, simply because composite primary keys are more annoying to work with when writing longer queries and it's easier to fuck up joins without it.
3FFA
Profile Blog Joined February 2010
United States3931 Posts
Last Edited: 2013-05-23 01:03:03
May 23 2013 01:02 GMT
#6077
On May 22 2013 11:51 dartoo wrote:
Show nested quote +
On May 22 2013 10:36 3FFA wrote:
On May 19 2013 22:40 3FFA wrote:
I've learned quite a bit about Objective C. and have learned how to make some basic iOS apps. Any good online courses I could take to expand my knowledge of what I can actually do with the iOS?

edit: For example, I have made a basic + - * / calculator, a small war-like card game, and a guessing game app in my High School's programming class. I am hoping to take a class to expand upon this knowledge in the Summer.


No one?



If you dont own an ios system, or have a virtual one, it will be very hard. If it's a game, you could do the whole game in c++ and use an objective-c layer just to communicate with the device, minimizing the time needed to use a mac. but the best way is to get an ios device and program on it.


I have the XCode simulator which is what we've been using for the whole class. We touched a bit on apps and were able to make some basic working ones that I outlined above, but I want to expand on this knowledge..

However, why would I program on an iOS device instead of a Mac? o.O
"As long as it comes from a pure place and from a honest place, you know, you can write whatever you want."
dartoo
Profile Joined May 2010
India2889 Posts
May 23 2013 06:01 GMT
#6078
On May 23 2013 10:02 3FFA wrote:
Show nested quote +
On May 22 2013 11:51 dartoo wrote:
On May 22 2013 10:36 3FFA wrote:
On May 19 2013 22:40 3FFA wrote:
I've learned quite a bit about Objective C. and have learned how to make some basic iOS apps. Any good online courses I could take to expand my knowledge of what I can actually do with the iOS?

edit: For example, I have made a basic + - * / calculator, a small war-like card game, and a guessing game app in my High School's programming class. I am hoping to take a class to expand upon this knowledge in the Summer.


No one?



If you dont own an ios system, or have a virtual one, it will be very hard. If it's a game, you could do the whole game in c++ and use an objective-c layer just to communicate with the device, minimizing the time needed to use a mac. but the best way is to get an ios device and program on it.


I have the XCode simulator which is what we've been using for the whole class. We touched a bit on apps and were able to make some basic working ones that I outlined above, but I want to expand on this knowledge..

However, why would I program on an iOS device instead of a Mac? o.O



Ah sorry,I meant a mac..was in a hurry when I typed that post (ladder match was found :p).
mcc
Profile Joined October 2010
Czech Republic4646 Posts
May 23 2013 12:38 GMT
#6079
On May 22 2013 02:59 enigmaticcam wrote:
Question on database design: What's the consensus on unique ids on many-to-many join tables? Do you think they're redundant or necessary?

As an example, suppose I have two tables: tblObject, and tblAttribute. Suppose any one object can have any set of attributes, and likewise any one attribute can apply to any set of objects. So I would create a join table called tblObjectToAttribute that would have both the objectId and the attributeId. Is it necessary to create an incremental unique id in the join table, something like objectToAttributeId, even though the combination of objectId and attributeId is already unique? In practice, I've never found that I've needed it, but habitually I've always created it. Even if I were to join that join table to some other table, you could still just use the combination of the object and attribute ids.

I would not add artificial Id column in this case unless some overriding reason was there. In general I do not use artificial Id's if there is logical primary key, of course there are exceptions, but it is a nice general rule for me. I dislike the tendency of some ORMs (NHibernate for example) to try to force you to use them.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2013-05-23 16:25:05
May 23 2013 16:19 GMT
#6080
So I'll have a project next year to implement one of the following games.

Sudoku: http://en.wikipedia.org/wiki/Sudoku
Futoshiki: en.wikipedia.org/wiki/Futoshiki
Strimko: http://www.strimko.com
GridWorks: http://www.puzzles.com/projects/GridWorksPrevious.htm

I've been advised to read about Java GUI, datastractures and information about game playing "in a standard Artificial Intelligence text".

Could any experience programmer advise me anything that may be useful? I'm not forced to use Java, but I think I'm more comfortable with OOP and Java.

Edit: Sudoku may be easier, so I'm currently considering it as a choice.
Prev 1 302 303 304 305 306 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 2h 23m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft616
StarCraft: Brood War
actioN 251
soO 89
Hm[arnc] 71
Larva 69
Bale 42
ZergMaN 23
League of Legends
JimRising 708
Counter-Strike
shoxiejesuss342
Other Games
ceh9598
XaKoH 366
Happy314
NeuroSwarm101
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• iopq 5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2300
League of Legends
• Rush1486
Upcoming Events
Afreeca Starleague
2h 23m
Leta vs ggaemo
Jaedong vs Queen
GSL
3h 23m
PiGosaur Cup
16h 23m
Kung Fu Cup
1d 3h
Replay Cast
1d 16h
The PondCast
2 days
KCM Race Survival
2 days
Escore
3 days
IntoTheTV X SOOP
3 days
CranKy Ducklings
4 days
[ Show More ]
Sparkling Tuna Cup
5 days
Shopify Rebellion Sundays
5 days
Spirit vs Mixu
Clem vs TBD
RSL Revival
5 days
Replay Cast
5 days
Afreeca Starleague
6 days
WardiTV Weekly
6 days
Liquipedia Results

Completed

Proleague 2026-09-02
PiG Sty Festival 8.0
Big Dog Cup 2026 Div 1

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
Acropolis #5 - TRS
RSL Revival: Season 6
Calamity Invitational
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026

Upcoming

Escore Tournament S3: King of Kings
Acropolis #5 - GSA
Blizzard Classic Cup 2026
Acropolis #5 - GSB
Acropolis #5 - GSC
SC4ALL II: Brood War
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 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.