• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:09
CEST 02:09
KST 09:09
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence9Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris SC4ALL $6,000 Open LAN in Philadelphia Sparkling Tuna Cup - Weekly Open Tournament WardiTV TL Team Map Contest #5 Tournaments RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
BW General Discussion [ASL20] Ro16 Preview Pt2: Turbulence ASL20 General Discussion Diplomacy, Cosmonarchy Edition BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Borderlands 3
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1266 users

The Big Programming Thread - Page 304

Forum Index > General Forum
Post a Reply
Prev 1 302 303 304 305 306 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.
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
Portugal3241 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
Hyrule19086 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 1031 Next
Please log in or register to reply.
Live Events Refresh
PiGosaur Monday
00:00
#49
davetesta55
Liquipedia
OSC
23:00
OSC Elite Rising Star #16
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 124
trigger 26
StarCraft: Brood War
Artosis 754
Backho 135
NaDa 14
Dota 2
monkeys_forever413
Counter-Strike
fl0m831
kRYSTAL_40
Super Smash Bros
C9.Mang0266
Mew2King10
Heroes of the Storm
NeuroSwarm127
Other Games
summit1g8349
Grubby3546
shahzam754
Day[9].tv651
ToD228
Sick159
Maynarde122
Trikslyr61
XaKoH 55
ViBE50
Organizations
Other Games
gamesdonequick627
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota22121
Other Games
• Scarra1178
• imaqtpie865
• Day9tv651
Upcoming Events
LiuLi Cup
10h 51m
OSC
18h 51m
RSL Revival
1d 9h
Maru vs Reynor
Cure vs TriGGeR
The PondCast
1d 12h
RSL Revival
2 days
Zoun vs Classic
Korean StarCraft League
3 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
BSL Open LAN 2025 - War…
4 days
RSL Revival
4 days
[ Show More ]
Online Event
4 days
Wardi Open
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 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.