• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:05
CET 20:05
KST 04:05
  • 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
RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation12Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
Mech is the composition that needs teleportation t RotterdaM "Serral is the GOAT, and it's not close" RSL Season 3 - RO16 Groups C & D Preview [TLMC] Fall/Winter 2025 Ladder Map Rotation TL.net Map Contest #21: Winners
Tourneys
RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle What happened to TvZ on Retro? SnOw's ASL S20 Finals Review BW General Discussion Brood War web app to calculate unit interactions
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET
Strategy
PvZ map balance Current Meta Simple Questions, Simple Answers How to stay on top of macro?
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Clair Obscur - Expedition 33 Beyond All Reason
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 SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread US Politics Mega-thread Artificial Intelligence Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 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
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1987 users

The Big Programming Thread - Page 33

Forum Index > General Forum
Post a Reply
Prev 1 31 32 33 34 35 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.
Frigo
Profile Joined August 2009
Hungary1023 Posts
January 14 2011 04:58 GMT
#641
Yeah, your question is too broad. Anyway, here is the regex cheat sheet I usually use: http://www.erudil.com/preqr.pdf
http://www.fimfiction.net/user/Treasure_Chest
ChoboCop
Profile Joined July 2004
United States954 Posts
January 14 2011 05:08 GMT
#642
Regular expressions should start with ^ and end with $.
Critical thinking is the intellectually disciplined process of actively and skillfully conceptualizing, applying, analyzing, synthesizing, and/or evaluating information gathered.
ChoboCop
Profile Joined July 2004
United States954 Posts
January 14 2011 05:09 GMT
#643
I great tool for designing and testing regular expressions that is free is called Expresso.
Critical thinking is the intellectually disciplined process of actively and skillfully conceptualizing, applying, analyzing, synthesizing, and/or evaluating information gathered.
ChoboCop
Profile Joined July 2004
United States954 Posts
January 14 2011 05:11 GMT
#644
You can take the page object and use the css from the site to only scrape the section you want.
Critical thinking is the intellectually disciplined process of actively and skillfully conceptualizing, applying, analyzing, synthesizing, and/or evaluating information gathered.
KaiserJohan
Profile Joined May 2010
Sweden1808 Posts
Last Edited: 2011-01-19 20:32:24
January 19 2011 20:31 GMT
#645
I am trying to compile JRTPLIB in Visual Studio 2010 on windows 7. It's been a true nightmare... but I'm atleast narrowing down the problems.

This is left.

Error 3 error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in client.obj C:\Users\Johan-bar\Documents\Visual Studio 2010\Projects\client\client\jrtplib.lib(rtpsession.obj) client

I googled a ton and the cause seems to be one is compiled in debug mode while the other is compiled in release mode. Both ARE compiled in Release.

I am aiming to compile a Release executable because I want to test on different computers.

1) Which one is not in Release mode, JRTPLIB or client(mine, the one which is trying to compile)?

2) How does one change the ITERATOR_DEBUG_LEVEL? Both are using Runtime Library /MT and preprocessor definitions WIN32, _MT, along with the defaults I guess.

Cheers
England will fight to the last American
Pigsquirrel
Profile Joined August 2009
United States615 Posts
Last Edited: 2011-01-22 13:52:08
January 22 2011 13:47 GMT
#646
I have a C++ question.
I simply want to write a single byte of data to a comport in c++ (dev c++ to be specific)
How would I do this?
EDIT: If it would be possible to do this with a file stream, then I would prefer that method.
tofucake
Profile Blog Joined October 2009
Hyrule19152 Posts
January 22 2011 13:54 GMT
#647
On January 14 2011 14:08 ChoboCop wrote:
Regular expressions should start with ^ and end with $.

That's only if you're searching for a string that is exactly 1 line long and you know that. If you don't, or you're doing multiline search, you shouldn't (usually).
Liquipediaasante sana squash banana
Craton
Profile Blog Joined December 2009
United States17265 Posts
January 22 2011 14:06 GMT
#648
On January 07 2011 14:51 Bigpet wrote:
Also you could ask the guys resposible for the site if they'll maybe make a XML interface or a seperate simple website like teamliquid.net/streams.php to ease both your task and their netload.
Because parsing a full website when asking the programmers could spare you a lot of trouble is really silly.

They used to have an API, but it was scrapped.
twitch.tv/cratonz
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
January 22 2011 14:26 GMT
#649
On January 22 2011 23:06 Craton wrote:
Show nested quote +
On January 07 2011 14:51 Bigpet wrote:
Also you could ask the guys resposible for the site if they'll maybe make a XML interface or a seperate simple website like teamliquid.net/streams.php to ease both your task and their netload.
Because parsing a full website when asking the programmers could spare you a lot of trouble is really silly.

They used to have an API, but it was scrapped.


Actually I believe there is the API still, but you have to ask (to R1CH perhaps?) permission to use it, or something along these lines.

I'm not sure though.
"When the geyser died, a probe came out" - SirJolt
Craton
Profile Blog Joined December 2009
United States17265 Posts
January 22 2011 14:36 GMT
#650
This was from zatic:
Problem is that I am not really involved in coding anymore and the crew decided to shut down the entire API thing as it wasn't used so far by anyone :-( I wasn't aware of that and they forgot to update the /api page.
twitch.tv/cratonz
tofucake
Profile Blog Joined October 2009
Hyrule19152 Posts
January 22 2011 14:43 GMT
#651
On January 07 2011 10:47 MarwanBaki wrote:
Guys, ive finally caved and ive come here. Im trying to develop something, AND ITS FOR TEAM LIQUID yay!!! But alas i hit a pylon wall and i need major help with RegExp(Regular Expressions). I believe PERL RegExp.

If this makes ANY sense to you than you are probably the person i need

RegExp="(?siU)Featured Streams.*(.*)Live Streams"

Anyone familiar with this type of Regular expressions, i need a gosu. I can understand this, but i need to basically write a way more complex Regular Expression.

Are you just trying to pull a list of live featured streams? Because there isn't a "Featured Streams" label, they just show up while non-featured are hidden.
Liquipediaasante sana squash banana
KaiserJohan
Profile Joined May 2010
Sweden1808 Posts
Last Edited: 2011-01-26 22:20:47
January 26 2011 22:15 GMT
#652
1) Going to do my degree work in a company in a month. They seem really talented and experienced and I want to work there afterwards. Is there anything I should think about extra or prepare myself with? For example, they work alot with c++ (unsure if its win32/MFC/CLR yet) and some C#. What typically is there that new employees screw up with, mainly in c++? I think I'm pretty sure of most stuff, but feel free to list anything that comes to mind just to make sure :D
I am mainly talking about code design and such; for example, if you are iterating over an array, using an std::iterator instead of looping while i < array.length.
Also avoiding globals and such.

It's pretty broad subject, but feel free to vent anything!



2) the company uses agile methods like SCRUM. I've read up on it and seen tutorials, but is there anything special you should know? I don't want to start and get dragging behind just learning it.
England will fight to the last American
berated-
Profile Blog Joined February 2007
United States1134 Posts
February 04 2011 03:12 GMT
#653
On January 27 2011 07:15 KaiserJohan wrote:
1) Going to do my degree work in a company in a month. They seem really talented and experienced and I want to work there afterwards. Is there anything I should think about extra or prepare myself with? For example, they work alot with c++ (unsure if its win32/MFC/CLR yet) and some C#. What typically is there that new employees screw up with, mainly in c++? I think I'm pretty sure of most stuff, but feel free to list anything that comes to mind just to make sure :D
I am mainly talking about code design and such; for example, if you are iterating over an array, using an std::iterator instead of looping while i < array.length.
Also avoiding globals and such.

It's pretty broad subject, but feel free to vent anything!



2) the company uses agile methods like SCRUM. I've read up on it and seen tutorials, but is there anything special you should know? I don't want to start and get dragging behind just learning it.


My company uses a modified version of scrum so I don't know if I'm 100% correct for all versions of agile and scrum but, I don't think you should get too worked up over it. I haven't really been involved much in waterfall type development or incremental or w/e, but agile/scrum is a developer's best friend in my opinion.

As you've probably already read, agile focuses on the fact that requirements change, and change often. So there isn't as much of this I just worked on something for 6 months and poof its gone because of changing requirements. A sprint is started and during that sprint - which can be anywhere from a week to a month - requirements aren't allowed to change.

For our scrum meetings, its pretty simple -- what have i done since yesterday, what will i do by tomorrow, and what impeded me from accomplishing my work - and this seems to be a pretty common scenario.

If you have a good scrum master then things should go well. Scrum will quickly point out who in the group is struggling and where impediments need to be removed. It really does make things easier, as long as you can remember what all you did since last scrum
Deleted User 61629
Profile Blog Joined March 2010
1664 Posts
February 06 2011 21:02 GMT
#654
--- Nuked ---
windzor
Profile Joined October 2010
Denmark1013 Posts
February 06 2011 21:10 GMT
#655
On January 22 2011 22:47 Pigsquirrel wrote:
I have a C++ question.
I simply want to write a single byte of data to a comport in c++ (dev c++ to be specific)
How would I do this?
EDIT: If it would be possible to do this with a file stream, then I would prefer that method.


I guest it's in windows. Use the following documentation:

http://www.robbayer.com/files/serial-win.pdf
Yeah
Rxxrrxr
Profile Joined February 2011
United States6 Posts
February 06 2011 21:19 GMT
#656
I'm currently working on an assignment for a JAVA class regarding exception handling, I need help, can anyone offer assistance?
heishe
Profile Blog Joined June 2009
Germany2284 Posts
February 06 2011 21:24 GMT
#657
On February 07 2011 06:19 Rxxrrxr wrote:
I'm currently working on an assignment for a JAVA class regarding exception handling, I need help, can anyone offer assistance?


Well... meta questions are not really good. What's your problem precisely?
If you value your soul, never look into the eye of a horse. Your soul will forever be lost in the void of the horse.
Rxxrrxr
Profile Joined February 2011
United States6 Posts
February 06 2011 21:34 GMT
#658
On February 07 2011 06:24 heishe wrote:
Show nested quote +
On February 07 2011 06:19 Rxxrrxr wrote:
I'm currently working on an assignment for a JAVA class regarding exception handling, I need help, can anyone offer assistance?


Well... meta questions are not really good. What's your problem precisely?


You know, dude, while I was describing my problem in my reply to you, I actually think I figured out the problem.
heishe
Profile Blog Joined June 2009
Germany2284 Posts
Last Edited: 2011-02-06 22:01:51
February 06 2011 22:01 GMT
#659
On February 07 2011 06:34 Rxxrrxr wrote:
Show nested quote +
On February 07 2011 06:24 heishe wrote:
On February 07 2011 06:19 Rxxrrxr wrote:
I'm currently working on an assignment for a JAVA class regarding exception handling, I need help, can anyone offer assistance?


Well... meta questions are not really good. What's your problem precisely?


You know, dude, while I was describing my problem in my reply to you, I actually think I figured out the problem.


Glad I was able to help you
If you value your soul, never look into the eye of a horse. Your soul will forever be lost in the void of the horse.
Rxxrrxr
Profile Joined February 2011
United States6 Posts
February 06 2011 22:52 GMT
#660
On February 07 2011 07:01 heishe wrote:
Show nested quote +
On February 07 2011 06:34 Rxxrrxr wrote:
On February 07 2011 06:24 heishe wrote:
On February 07 2011 06:19 Rxxrrxr wrote:
I'm currently working on an assignment for a JAVA class regarding exception handling, I need help, can anyone offer assistance?


Well... meta questions are not really good. What's your problem precisely?


You know, dude, while I was describing my problem in my reply to you, I actually think I figured out the problem.


Glad I was able to help you

Much appreciated, it seems that sometimes the best way to solve a problem is to write it out.
Prev 1 31 32 33 34 35 1032 Next
Please log in or register to reply.
Live Events Refresh
OSC
19:00
Masters Cup #150: Group B
davetesta28
Liquipedia
IPSL
17:00
Ro16 Group D
ZZZero vs rasowy
Napoleon vs KameZerg
Liquipedia
PSISTORM Gaming Misc
15:55
FSL teamleague CNvsASH, ASHvRR
Freeedom43
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Railgan 177
IndyStarCraft 124
BRAT_OK 50
MindelVK 33
EmSc Tv 12
StarCraft: Brood War
Britney 20672
Calm 2244
Shuttle 809
Dewaltoss 128
Rock 52
Shine 40
NaDa 12
Dota 2
Gorgc5065
qojqva1662
Dendi976
League of Legends
rGuardiaN39
Counter-Strike
ScreaM1188
byalli487
Heroes of the Storm
Khaldor521
Other Games
tarik_tv5004
gofns2159
Beastyqt556
DeMusliM332
Grubby254
Lowko200
Fuzer 200
Organizations
Dota 2
PGL Dota 2 - Main Stream7478
Other Games
EGCTV796
gamesdonequick575
StarCraft 2
EmSc Tv 12
EmSc2Tv 12
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• printf 39
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• Airneanach44
• HerbMon 15
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3173
• WagamamaTV394
• Ler87
League of Legends
• Nemesis3842
Other Games
• imaqtpie1387
• Shiphtur301
Upcoming Events
BSL 21
55m
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
14h 55m
RSL Revival
14h 55m
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
16h 55m
Cure vs herO
Reynor vs TBD
WardiTV Korean Royale
16h 55m
BSL 21
1d
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
1d
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
1d 3h
Wardi Open
1d 16h
Monday Night Weeklies
1d 21h
[ Show More ]
WardiTV Korean Royale
2 days
BSL: GosuLeague
3 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
BSL: GosuLeague
5 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
WardiTV Korean Royale
6 days
IPSL
6 days
Julia vs Artosis
JDConan vs DragOn
Liquipedia Results

Completed

Proleague 2025-11-14
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 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.