• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:49
CET 20:49
KST 04:49
  • 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
Behind the Blue - Team Liquid History Book15Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8herO wins SC2 All-Star Invitational14
Community News
ACS replaced by "ASL Season Open" - Starts 21/0222LiuLi Cup: 2025 Grand Finals (Feb 10-16)36Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker10PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)14
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker Terran Scanner Sweep Behind the Blue - Team Liquid History Book Weekly Cups (Jan 12-18): herO, MaxPax, Solar win
Tourneys
LiuLi Cup: 2025 Grand Finals (Feb 10-16) Sparkling Tuna Cup - Weekly Open Tournament RSL Season 4 announced for March-April PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) RSL Revival: Season 4 Korea Qualifier (Feb 14)
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
Mutation # 513 Attrition Warfare The PondCast: SC2 News & Results Mutation # 512 Overclocked Mutation # 511 Temple of Rebirth
Brood War
General
Ladder maps - how we can make blizz update them? Which units you wish saw more use in the game? ACS replaced by "ASL Season Open" - Starts 21/02 StarCraft player reflex TE scores [ASL21] Potential Map Candidates
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Fighting Spirit mining rates Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta
Other Games
General Games
Path of Exile ZeroSpace Megathread Nintendo Switch Thread Diablo 2 thread Battle Aces/David Kim RTS Megathread
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
TL Mafia Community Thread Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Ask and answer stupid questions here! Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Search For Meaning in Vi…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2392 users

The Big Programming Thread - Page 155

Forum Index > General Forum
Post a Reply
Prev 1 153 154 155 156 157 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.
EscPlan9
Profile Blog Joined December 2006
United States2777 Posts
August 08 2012 15:10 GMT
#3081
On August 08 2012 21:17 tofucake wrote:
w2schools is awful
don't use it


What would you recommend for learning Javascript and jQuery? I already have a basic understanding of HTML and CSS - enough to make basic homepages from scratch.
Undefeated TL Tecmo Super Bowl League Champion
Gnosis
Profile Joined December 2008
Scotland912 Posts
August 08 2012 15:13 GMT
#3082
On August 09 2012 00:10 EscPlan9 wrote:
Show nested quote +
On August 08 2012 21:17 tofucake wrote:
w2schools is awful
don't use it


What would you recommend for learning Javascript and jQuery? I already have a basic understanding of HTML and CSS - enough to make basic homepages from scratch.


Code year is a decent enough introduction: http://codeyear.com/

Of course, one can always read through the tomes that are O'Reilly books / manuals.
"Reason is flawless, de jure, but reasoners are not, de facto." – Peter Kreeft
tofucake
Profile Blog Joined October 2009
Hyrule19192 Posts
Last Edited: 2012-08-08 15:18:16
August 08 2012 15:18 GMT
#3083
On August 09 2012 00:10 EscPlan9 wrote:
Show nested quote +
On August 08 2012 21:17 tofucake wrote:
w2schools is awful
don't use it


What would you recommend for learning Javascript and jQuery? I already have a basic understanding of HTML and CSS - enough to make basic homepages from scratch.

jQuery specifically, use jquery.com
JavaScript, very basically, http://www.cs.brown.edu/courses/bridge/1998/res/javascript/javascript-tutorial.html

StackOverflow is awesome for questions
Liquipediaasante sana squash banana
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
Last Edited: 2012-08-08 16:26:05
August 08 2012 16:24 GMT
#3084
On August 08 2012 13:35 weishime wrote:
Show nested quote +
On August 08 2012 11:13 ShoCkeyy wrote:
Anybody know anything about parallax scrolling and setting heights to certain "pages"?


If you mean web, yeah. There are a few libraries for that. A nice one is Stellar.js.


Yea, I know about those, but I wrote out a custom parallax scrolling script, only thing is, now I'm stuck. I need some help on a height issue, or more like a scrolling issue. Since parallax scrolling is all in one page with multiple "pages" (Divs), I'm trying to figure out how to set a height to one of the divs. I tried doing an overflow-y: scroll; with height at 100% (Only way it would scroll, tried sitting a height like 500px, but that doesn't work) and it scrolls, but it doesn't scroll the whole way because my container is set to a different height.

Also a cool place to learn is CodeAcademy. Very interactive learning for those starting.
Life?
nakam
Profile Joined April 2010
Sweden245 Posts
August 08 2012 16:41 GMT
#3085
On August 09 2012 00:18 tofucake wrote:
Show nested quote +
On August 09 2012 00:10 EscPlan9 wrote:
On August 08 2012 21:17 tofucake wrote:
w2schools is awful
don't use it


What would you recommend for learning Javascript and jQuery? I already have a basic understanding of HTML and CSS - enough to make basic homepages from scratch.

jQuery specifically, use jquery.com
JavaScript, very basically, http://www.cs.brown.edu/courses/bridge/1998/res/javascript/javascript-tutorial.html

StackOverflow is awesome for questions

Start with JavaScript and then just read the jQuery documentation. jQuery is not that hard if you know some JS and their documentation is among the best.
TL Local Timezone Script - http://www.teamliquid.net/forum/viewmessage.php?topic_id=277156
supereddie
Profile Joined March 2011
Netherlands151 Posts
August 08 2012 17:08 GMT
#3086
On August 06 2012 17:01 Craton wrote:
Another question using the same database from before.

In one of my views I'd like to have a column denoting "streaks," where a streak is defined consecutive wins or losses. What I'd like to do is basically take my list if games, sort it by MHID descending, and then have some kind of SQL that will say there have been X many of this result in a row.

MHID are entered in such a way that a higher number denotes a more recent game, but may not be consecutive.

My thought was that I could achieve this by some kind of CONNECT BY logic, but I can't figure it out (I seemingly keep getting infinite loops with the logic I've tried).

I also tried LEAD and LAG but couldn't quite get there.

End result would look something like this:

MHID -- RESULT -- STREAK
9 -- LOSS -- 1
8 -- WIN -- 3
6 -- WIN -- 2
1 -- WIN -- 1

I am unfamiliar with Oracle SQL, but from what I've read you may be able to do it with the MODEL-clause
"Do not try to make difficult things possible, but make simple things simple." - David Platt on Software Design
EscPlan9
Profile Blog Joined December 2006
United States2777 Posts
August 08 2012 19:47 GMT
#3087
On August 09 2012 00:13 Gnosis wrote:
Show nested quote +
On August 09 2012 00:10 EscPlan9 wrote:
On August 08 2012 21:17 tofucake wrote:
w2schools is awful
don't use it


What would you recommend for learning Javascript and jQuery? I already have a basic understanding of HTML and CSS - enough to make basic homepages from scratch.


Code year is a decent enough introduction: http://codeyear.com/

Of course, one can always read through the tomes that are O'Reilly books / manuals.


Codeyear looks really good for Javascript (and more)! Thanks! I really like how they have the lessons organized to build incrementally on past ones.
Undefeated TL Tecmo Super Bowl League Champion
Olsson
Profile Joined April 2011
Sweden931 Posts
August 08 2012 20:00 GMT
#3088
What programming languages are best to start with? I read abit about HTML and CSS but that's what I know abit of so far. Though I bet you could learn HTML within an hour, atleast what's on w3schools.
Naniwa <3
green.at
Profile Blog Joined January 2010
Austria1459 Posts
August 08 2012 20:10 GMT
#3089
On August 09 2012 05:00 Olsson wrote:
What programming languages are best to start with? I read abit about HTML and CSS but that's what I know abit of so far. Though I bet you could learn HTML within an hour, atleast what's on w3schools.


yeah, but that is not programming. C/C++ is generally a nice startingpoint. C#/Java if you like to see results a bit faster. I am no expert but these are quite common. (all personal oppinion, some people treat programming languages like religion)
Inputting special characters into chat should no longer cause the game to crash.
EscPlan9
Profile Blog Joined December 2006
United States2777 Posts
August 08 2012 20:30 GMT
#3090
On August 09 2012 05:00 Olsson wrote:
What programming languages are best to start with? I read abit about HTML and CSS but that's what I know abit of so far. Though I bet you could learn HTML within an hour, atleast what's on w3schools.


It depends what you want to get out of it. For simplicity and just getting the hang of the fundamentals of programming such as variables, scope, controls and loops, maybe start with C# or Python. I first learned with Java and that was okay. If you're okay with a much steeper learning curve, start with C then move to other languages. Check some of the quality posts mentioned in the OP that describes this recommendation - one firmly recommended starting with C since you'll then have no trouble moving onto other languages afterwards.
Undefeated TL Tecmo Super Bowl League Champion
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
August 08 2012 20:40 GMT
#3091
On August 09 2012 05:00 Olsson wrote:
What programming languages are best to start with? I read abit about HTML and CSS but that's what I know abit of so far. Though I bet you could learn HTML within an hour, atleast what's on w3schools.


HTML & CSS are a lot more complex than people give it credit for. I have a colleague that writes websites for our company since 15 years and he still doesn't understand it.


As for starting languages, it really depends on what you want to do.

Websites: PHP or Server Side Javascript (node.js). PHP is one hell of a messy language but it's the current standard and in the industry there isn't really a widespread alternative.
Applications: C# or Java (i prefer C#)
Games: Huge topic and any language will work, though i would just recommend starting with some 2D C# Framework and go from there.

I wouldn't recommend starting with C/C++ since while the memory management and such are important to learn at some point, at the beginning they just distract from the goal of having fun while learning.
Leafty
Profile Joined July 2012
France84 Posts
August 08 2012 21:05 GMT
#3092
On August 09 2012 05:40 Morfildur wrote:
Show nested quote +
On August 09 2012 05:00 Olsson wrote:
What programming languages are best to start with? I read abit about HTML and CSS but that's what I know abit of so far. Though I bet you could learn HTML within an hour, atleast what's on w3schools.


HTML & CSS are a lot more complex than people give it credit for. I have a colleague that writes websites for our company since 15 years and he still doesn't understand it.


As for starting languages, it really depends on what you want to do.

Websites: PHP or Server Side Javascript (node.js). PHP is one hell of a messy language but it's the current standard and in the industry there isn't really a widespread alternative.
Applications: C# or Java (i prefer C#)
Games: Huge topic and any language will work, though i would just recommend starting with some 2D C# Framework and go from there.

I wouldn't recommend starting with C/C++ since while the memory management and such are important to learn at some point, at the beginning they just distract from the goal of having fun while learning.


I wouldn't recommend starting with node.js, the design of I/O operations requires you to have some experience with I/O in other languages, synchronicity and asynchronicity, threading (as a more intuitive way of doing multiple things at the same time), etc. Sure programming with node.js is really fun but I don't think you can do it properly without some programming background.
thedz
Profile Blog Joined March 2011
United States217 Posts
August 08 2012 22:34 GMT
#3093
Websites: PHP or Server Side Javascript (node.js). PHP is one hell of a messy language but it's the current standard and in the industry there isn't really a widespread alternative.


Wait, what? Python and Ruby are both pretty widespread in the web dev industry, along with Java in more enterprisey companies.
tofucake
Profile Blog Joined October 2009
Hyrule19192 Posts
August 08 2012 22:35 GMT
#3094
mmhhhmmm

but both combined aren't anywhere near as pervasive as PHP
Liquipediaasante sana squash banana
thedz
Profile Blog Joined March 2011
United States217 Posts
August 08 2012 23:38 GMT
#3095
On August 09 2012 07:35 tofucake wrote:
mmhhhmmm

but both combined aren't anywhere near as pervasive as PHP


Non PHP positions are pervasive enough that adoption rate of PHP Is not a significant factor, IMO.

In the web dev segment I'm most familiar with (startups, bay area tech companies, and beltway federal contracting), PHP isn't really a requirement or anywhere near standard.

Plus, as a language, PHP is a pretty lackluster learning tool. Python or Ruby makes learning PHP easier. I can't say the same the other way around.
tofucake
Profile Blog Joined October 2009
Hyrule19192 Posts
August 09 2012 00:23 GMT
#3096
Not saying PHP is easy to learn (it's not), just that it's
1. Very pervasive
2. Very forgiving to beginners
Liquipediaasante sana squash banana
CecilSunkure
Profile Blog Joined May 2010
United States2829 Posts
August 09 2012 00:31 GMT
#3097
On August 09 2012 05:00 Olsson wrote:
What programming languages are best to start with? I read abit about HTML and CSS but that's what I know abit of so far. Though I bet you could learn HTML within an hour, atleast what's on w3schools.

What do you want to do. Web programming?
thedz
Profile Blog Joined March 2011
United States217 Posts
August 09 2012 02:49 GMT
#3098
On August 09 2012 09:23 tofucake wrote:
Not saying PHP is easy to learn (it's not), just that it's
1. Very pervasive
2. Very forgiving to beginners


I agree that its pervasive and forgiving, but for a first language, I think it tends to set some very bad habits. Not because of the language itself (its possible to write good, easily maintainable PHP code), but because most example of PHP you see in the wild are pretty horrible. Its similar to why I don't recommend Perl as a first language if someone has a choice. Obviously, if you need to learn PHP right this second, then you need to learn it and it doesn't matter.

But if there's a chance to choose which language to learn first, I gravitate towards Python (and Ruby in a slightly lesser degree). Python as a language is relatively simple to understand, with a minimalistic syntax and a culture where idiomatic Python eschews complicated code. It has most of the concepts that one will need to understand other languages, and is not completely divorced from web development (which I think the original poster was leaning towards with the mention of HTML and CSS) like other good first languages.
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
August 09 2012 04:36 GMT
#3099
HTML/CSS is pretty crazy. It's probably easy to learn, but to actually understand it, it's really difficult, I've been doing Web Development for over eight years already and I still mess up on my HTML/CSS if I decide to do complicated things such as my parallax scrolling T_T. I still haven't figured out a answer to my problem. :\
Life?
weishime
Profile Joined August 2011
65 Posts
August 09 2012 08:21 GMT
#3100
On August 09 2012 01:24 ShoCkeyy wrote:
Show nested quote +
On August 08 2012 13:35 weishime wrote:
On August 08 2012 11:13 ShoCkeyy wrote:
Anybody know anything about parallax scrolling and setting heights to certain "pages"?


If you mean web, yeah. There are a few libraries for that. A nice one is Stellar.js.


Yea, I know about those, but I wrote out a custom parallax scrolling script, only thing is, now I'm stuck. I need some help on a height issue, or more like a scrolling issue. Since parallax scrolling is all in one page with multiple "pages" (Divs), I'm trying to figure out how to set a height to one of the divs. I tried doing an overflow-y: scroll; with height at 100% (Only way it would scroll, tried sitting a height like 500px, but that doesn't work) and it scrolls, but it doesn't scroll the whole way because my container is set to a different height.

Also a cool place to learn is CodeAcademy. Very interactive learning for those starting.


Don't really understand the problem you're descibing.

Give this a look, I know it features a library you don't want to use but it is a good example to compare against and see how you are doing things differently.

http://webdesign.tutsplus.com/tutorials/complete-websites/create-a-parallax-scrolling-website-using-stellar-js/
Prev 1 153 154 155 156 157 1032 Next
Please log in or register to reply.
Live Events Refresh
Ladder Legends
18:00
Open Showdown #2
SteadfastSC185
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 222
SteadfastSC 185
StarCraft: Brood War
Britney 16356
Bonyth 126
IntoTheRainbow 26
soO 24
Dota 2
Gorgc5983
singsing2704
febbydoto18
LuMiX1
Counter-Strike
shoxiejesuss3944
fl0m2104
Super Smash Bros
Mew2King53
Heroes of the Storm
Liquid`Hasu494
Khaldor486
MindelVK12
Other Games
gofns32781
tarik_tv13908
FrodaN5307
Grubby3293
summit1g1892
Liquid`RaSZi1882
B2W.Neo855
Mlord803
mouzStarbuck296
Livibee79
ROOTCatZ41
Organizations
Counter-Strike
PGL46585
Other Games
EGCTV1616
gamesdonequick1069
StarCraft 2
angryscii 30
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 22 non-featured ]
StarCraft 2
• StrangeGG 76
• Shameless 41
• HeavenSC 40
• davetesta14
• Adnapsc2 11
• Reevou 7
• Kozan
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• blackmanpl 27
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis9271
• TFBlade1535
• Shiphtur682
Other Games
• imaqtpie1862
• tFFMrPink 20
Upcoming Events
Replay Cast
4h 11m
Replay Cast
13h 11m
Wardi Open
16h 11m
Monday Night Weeklies
21h 11m
OSC
1d 4h
WardiTV Winter Champion…
1d 16h
PiGosaur Cup
2 days
Replay Cast
2 days
WardiTV Winter Champion…
2 days
Replay Cast
3 days
[ Show More ]
PiG Sty Festival
3 days
The PondCast
3 days
KCM Race Survival
3 days
WardiTV Winter Champion…
3 days
Replay Cast
4 days
PiG Sty Festival
4 days
Epic.LAN
4 days
Replay Cast
5 days
PiG Sty Festival
5 days
CranKy Ducklings
5 days
Epic.LAN
5 days
Replay Cast
6 days
PiG Sty Festival
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2026-02-14
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025

Upcoming

Escore Tournament S1: King of Kings
[S:21] ASL SEASON OPEN 1st Round
[S:21] ASL SEASON OPEN 1st Round Qualifier
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
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.