• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:06
CEST 00:06
KST 07:06
  • 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
Serral wins HomeStory Cup 2914Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
IntoTheTV X SOOP SC2 League : Weekly & Monthly4Clem: "I don't have that much hope in Blizzard"7ZeroSpace Early Access is Now Live!35Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters2Balance hotfix patch 5.0.16b (July 16)104
StarCraft 2
General
Looking for NASL Season 1 VODs Clem: "I don't have that much hope in Blizzard" Balance hotfix patch 5.0.16b (July 16) Terran or Protoss How would you feel about frequent/monthly balance patches for SC2?
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament PIG STY FESTIVAL 8.0! (13 - 23 August) RSL Revival: Season 6 - Qualifiers and Main Event IntoTheTV X SOOP SC2 League : Weekly & Monthly INu's Battles#18 - Cure, herO, Rogue & ByuN
Strategy
[G] Having the right mentality to improve
Custom Maps
[M] (2) Industrial Park New Map Maker - Looking for Advice - Love or Hate
External Content
Mutation # 536 Railroad Switch The PondCast: SC2 News & Results Mutation # 535 Assembly of Vengeance Mutation # 534 Burning Evacuation
Brood War
General
BW General Discussion ASL22 General Discussion BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games screpdb: new Starcraft reporting tool
Tourneys
2v2v2v2 Tournament Star Con San Diego 2026 Escore Tournament - Season 3 [Megathread] Daily Proleagues
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers PvT advise for noobs
Other Games
General Games
ZeroSpace Early Access is Now Live! Path of Exile Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
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
Russo-Ukrainian War Thread US Politics Mega-thread Artificial Intelligence Thread European Politico-economics QA Mega-thread How to buy a book - shipping from Korea to Europe
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread Series you have seen recently... [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread 2026-27 Football Thread placeholder TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
Northern Ireland Global Starcraft The Automated Ban List
Blogs
Games, Hormones, and "Dark" …
TrAiDoS
Hello guys!
LIN1s
ASL S22 English Commentary…
namkraft
Poker (part 2)
Nebuchad
An Exploration of th…
waywardstrategy
Customize Sidebar...

Website Feedback

Closed Threads



Active: 13997 users

The Big Programming Thread - Page 838

Forum Index > General Forum
Post a Reply
Prev 1 836 837 838 839 840 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.
Manit0u
Profile Blog Joined August 2004
Poland17800 Posts
February 08 2017 07:23 GMT
#16741
On February 08 2017 14:36 plasmidghost wrote:
Show nested quote +
On February 08 2017 14:33 WolfintheSheep wrote:
struct Test //creates a structure
{
char name[10]; //a 10-character array
int num1; //the first integer
int num2; //the second integer
int sum; //the result of the subtraction of num2 from num1
}
inst; //instance of the struct

...

inst.sum = &inst.num1 - &inst.num2;
printf("The result is: %d\n", &inst.sum);


So first question is, why you are using ampersands here? Which should tell you the exact answer about why this isn't working.

+ Show Spoiler +
Hint: 134615508 is a memory address.

Wow, okay, that fix was actually incredibly simple. Whenever I executed it before, I got the error "Segmentation fault (core dumped)" and I saw someone say that putting an ampersand fixed it
Now that everything's working fine, I do have a question about this statement:

printf("Enter a name (up to 10 characters): ");
fgets(inst.name, 11, stdin);

It currently will work correctly if the user hits the enter key with 10 characters or less inputted, but if they input 11 or more characters and hit Enter, the rest of the code immediately executes, meaning the user can't put in any numbers. Is there a way to fix that? I tried doing a for loop to accept 10 characters, 1 at a time, but it had the problem that if you inputted 4 characters, you had to press enter 6 times to get to the next part of the code, as well as it would take more than 10 characters if you inputted them all at once


Wait a moment here...


&inst.num1 - &inst.num2


Are those pointers to the struct members or struct itself? I don't remember much of my C but I'm almost sure that if you work on a pointer to the structure then you need this syntax:


&struct->member
Time is precious. Waste it wisely.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2017-02-08 08:00:49
February 08 2017 07:32 GMT
#16742
On February 08 2017 14:36 plasmidghost wrote:
Show nested quote +
On February 08 2017 14:33 WolfintheSheep wrote:
struct Test //creates a structure
{
char name[10]; //a 10-character array
int num1; //the first integer
int num2; //the second integer
int sum; //the result of the subtraction of num2 from num1
}
inst; //instance of the struct

...

inst.sum = &inst.num1 - &inst.num2;
printf("The result is: %d\n", &inst.sum);


So first question is, why you are using ampersands here? Which should tell you the exact answer about why this isn't working.

+ Show Spoiler +
Hint: 134615508 is a memory address.

Wow, okay, that fix was actually incredibly simple. Whenever I executed it before, I got the error "Segmentation fault (core dumped)" and I saw someone say that putting an ampersand fixed it
Now that everything's working fine, I do have a question about this statement:

printf("Enter a name (up to 10 characters): ");
fgets(inst.name, 11, stdin);

It currently will work correctly if the user hits the enter key with 10 characters or less inputted, but if they input 11 or more characters and hit Enter, the rest of the code immediately executes, meaning the user can't put in any numbers. Is there a way to fix that? I tried doing a for loop to accept 10 characters, 1 at a time, but it had the problem that if you inputted 4 characters, you had to press enter 6 times to get to the next part of the code, as well as it would take more than 10 characters if you inputted them all at once


The inst.name char array needs to be size 11, otherwise fgets with 11 writes over the end of the array, meaning the null terminator is written into adjacent memory, which is lucky this time because it will likely be written into struct padding.


For your problem, if you use fgets(11, stdin) and enter more than 10 characters, only 10 characters are taken from stdin and put into the specified char array, plus a \0 at the 11th position. The remaining characters stay in the stdin buffer, so the next time you try to get from stdin it automatically reads from the remaining characters.

If you want to clear the input buffer, you can use this after fgets.

http://c-faq.com/stdio/stdinflush2.html

Otherwise, the proper way to do input with correct error handling is to only use getchar() and manually read one by one into buffers. If the user overflows the buffer you know they're doing the wrong things. While you're filling the buffer you enforce your rules, such as <10 characters to read.

You have the correct idea with the for loop, but your implementation should also handle all the error cases. This is all proper input sanitation and an important thing to try for yourself and learn.
There is no one like you in the universe.
TheEmulator
Profile Blog Joined July 2010
28100 Posts
February 08 2017 07:36 GMT
#16743
Speaking of C, is the K&R book still the go to? I haven't done c or c++ since I took the two intro courses as electives from my uni 3 years ago lol. Kind of want to pick up C again and maybe learn some more about how low level stuff works (and appreciate how magical Python is).
Administrator
Acrofales
Profile Joined August 2010
Spain18394 Posts
Last Edited: 2017-02-08 08:25:02
February 08 2017 08:06 GMT
#16744
On February 08 2017 09:54 travis wrote:
if i have a function


int whatever() {
while(1) {
//do some stuff
if(some condition is met) {
return (some int);
}
}
}


is this oversimplified example an easy way to create a loop in a function that needs to meet some criteria before stopping?
since this will just loop and then when it meets the criteria you can just return whatever it is you want to return ?

or are loops typically done this way?



int whatever() {
while(condition is not met) {
//do stuff
}

return(some int);

}



I guess this is a dumb question. It probably just depends on what's better for what you are trying to do. But really I am trying to make sure that nothing breaks in the first one.


Write your condition in the while clause. Don't write while(true) unless you are waiting for something outside of your program's control (such as a button being pressed) and even then, most programming languages have better control structures than while(true) loops, and at the very least you're going to need threading, and you always want to avoid busy waits.

I guess if your condition is really hard to write as a single clause you can consider it, but then your code probably needs refactoring in any case...

If you need the code to execute at least once, regardless of whether your condition holds or not, use a do.. while loop.

Regarding blisse's comment: I personally don't mind returning from different spots: I don't think debugging this form is inherently harder than debugging the same, but written with breaks.
Acrofales
Profile Joined August 2010
Spain18394 Posts
Last Edited: 2017-02-08 08:26:02
February 08 2017 08:22 GMT
#16745
On February 08 2017 12:45 Neshapotamus wrote:
After seeing travis post his simple question.

I have seen people write this code in every which way (code at bottom)

I listed several of them at the bottom.

Anyone have any preference to which version they write?

More recently, I prefer to write "fun1" way as this is the easiest to reason about meaning it maps directly into math. You also get other benefits as its easier to parallelize. However, you need a TCO language to execute the statement.

The second most intuitive is fun2.

Anyone who writes fun5, I just avoid...



void fun1(){

void fun(int a, int b) {
if (a > b){
return
}
else fun(a, b+1)
}

a = <init>
b = <init>
fun(a,b)
}



void fun2(){
a = <init>
for(int b = <init>; a > b; b++){
}
}

void fun3(){
a = <init>
b = <init>
while(true){
if (a > b){
break;
}
b += 1
}
}

void fun4(){
a = <init>
b = <init>
while(a > b){
b += 1
}
}

void fun5(){
start:
if (a > b){
b += 1
goto start
}
}



Honestly, why not

int a = init;
int b = a;


And that's the problem with such a simplistic example, because it doesn't show the (dis)advantages of each approach. For a more complex example, any one of fun1, fun2 or fun4 are OK for me, depending on what exactly you need to do. Fun3 is almost always bad (see my response to travis, one post up), and fun5 is only acceptable if you got stuck in the 70s...

In general, if you're incrementing a counter, a for loop is by far the most intuitive way of writing that in imperative languages. If you have a boolean condition, use a while loop. And for some things, recursion is simply easier. For example, tree traversal.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2017-02-08 10:46:07
February 08 2017 08:28 GMT
#16746
--- Nuked ---
Manit0u
Profile Blog Joined August 2004
Poland17800 Posts
February 08 2017 11:06 GMT
#16747
On February 08 2017 16:36 TheEmulator wrote:
Speaking of C, is the K&R book still the go to? I haven't done c or c++ since I took the two intro courses as electives from my uni 3 years ago lol. Kind of want to pick up C again and maybe learn some more about how low level stuff works (and appreciate how magical Python is).


K&R is da bomb.

Unrelated, but cracked me up really good:
Time is precious. Waste it wisely.
mantequilla
Profile Blog Joined June 2012
Turkey781 Posts
February 08 2017 17:38 GMT
#16748
do you guys have an idea what kind of technical knowledge is required to work in defense industry as a programmer? I assume they are not writing web apps with angular

disclaimer: I don't know c or c++.
Age of Mythology forever!
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2017-02-08 18:43:33
February 08 2017 18:36 GMT
#16749
On February 09 2017 02:38 mantequilla wrote:
do you guys have an idea what kind of technical knowledge is required to work in defense industry as a programmer? I assume they are not writing web apps with angular

disclaimer: I don't know c or c++.


I don't know about your question, but just a reminder that you might need security clearance for that thing.

Edit: I also remember hearing about MISRA, but I don't know how widely used it is.

On February 08 2017 16:36 TheEmulator wrote:
Speaking of C, is the K&R book still the go to? I haven't done c or c++ since I took the two intro courses as electives from my uni 3 years ago lol. Kind of want to pick up C again and maybe learn some more about how low level stuff works (and appreciate how magical Python is).


Why do you want to pick C up? Why do you want to limit yourself to C only? Use C++ so you can use C and C++ if you want. C++ is better than ever though. It's much harder to end up with memory leaks in C++11/14, too.
Artesimo
Profile Joined February 2015
Germany601 Posts
Last Edited: 2017-02-08 21:05:23
February 08 2017 20:39 GMT
#16750
Quick question as I am currently preparing for my (really basic) JPQL / databases exam:

What consitencyproblems could occour with the following code(see comments)
EDIT: Slow down Manit0u, I only have to know what consitencyproblems can occour here, not how to fix them

em.getTransaction().begin();
Player playerA = (Player) em.find(Player.class, newLong(30)); //Player is now in persistence context
em.getTransaction().commit();
playerA.setFirstName("Alex");//changing players name, however since it is outside of the transactionscope, it is not yet in the DB
em.getTransaction().begin();//new transaction context
em.getTransaction().commit();//transaction context closed, name is now 'Alex' in DB, if this fails, playerA.name=Alex, but in the DB the old name remains
TheEmulator
Profile Blog Joined July 2010
28100 Posts
Last Edited: 2017-02-08 20:49:02
February 08 2017 20:48 GMT
#16751
Some of you might appreciate the genius here.

Administrator
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2017-02-08 20:58:40
February 08 2017 20:55 GMT
#16752
On February 09 2017 05:39 Artesimo wrote:
Quick question as I am currently preparing for my databases exam:

What consitencyproblems could occour with the following code(see comments)

em.getTransaction().begin();
Player playerA = (Player) em.find(Player.class, newLong(30)); //Player is now in persistence context
em.getTransaction().commit();
playerA.setFirstName("Alex");//changing players name, however since it is outside of the transactionscope, it is not yet in the DB
em.getTransaction().begin();//new transaction context
em.getTransaction().commit();//transaction context closed, name is now 'Alex' in DB, if this fails, playerA.name=Alex, but in the DB the old name remains


This looks like a silly example to me, so here are a few comments first:
1. Why commit() when you only find a player (read only query)? There's no change. Maybe your lecturer is trying to confuse you, but it's still dumb.
2. Name is changed to Alex before you create a new transaction, so when you attempt to read/synchronise names, you might end up with the old name. However, as I said, this is silly and it looks more like implementation detail of this data context than actual databases.

Note: I was never good at databases.
Manit0u
Profile Blog Joined August 2004
Poland17800 Posts
Last Edited: 2017-02-08 21:06:31
February 08 2017 20:58 GMT
#16753
On February 09 2017 03:36 Shield wrote:
Show nested quote +
On February 08 2017 16:36 TheEmulator wrote:
Speaking of C, is the K&R book still the go to? I haven't done c or c++ since I took the two intro courses as electives from my uni 3 years ago lol. Kind of want to pick up C again and maybe learn some more about how low level stuff works (and appreciate how magical Python is).


Why do you want to pick C up? Why do you want to limit yourself to C only? Use C++ so you can use C and C++ if you want. C++ is better than ever though. It's much harder to end up with memory leaks in C++11/14, too.


There's nothing wrong in C. It's relatively easy to learn (not a big language), but very hard to master. It's arguably more useful than C++, depending on what you're interested in - if you want to supplement your other languages by learning something more low level, how some of the libraries for your language of choice are implemented or just dabble in the OS internals for example.

K&R C is 272 pages (and it's really all you need), while it's C++ equivalent is 1368 pages long and you'd probably need to read on STL, boost and other bullshit, which weigh in at similar info level.

Besides, Rust seems to be gaining a ton of traction now, with many libraries being ported to it and some big companies (Mozilla primarily) picking it up for their production line.

But you don't have to heed my warnings. For me, C++ is just above Java on the list of programming languages I find fun to work with and into which I'd like to dive in (hint: Java is at the very bottom of my list).

On February 09 2017 05:39 Artesimo wrote:
Quick question as I am currently preparing for my databases exam:

What consitencyproblems could occour with the following code(see comments)

em.getTransaction().begin();
Player playerA = (Player) em.find(Player.class, newLong(30)); //Player is now in persistence context
em.getTransaction().commit();
playerA.setFirstName("Alex");//changing players name, however since it is outside of the transactionscope, it is not yet in the DB
em.getTransaction().begin();//new transaction context
em.getTransaction().commit();//transaction context closed, name is now 'Alex' in DB, if this fails, playerA.name=Alex, but in the DB the old name remains


Why do it in such a convoluted way?

If you really want to ensure the consistency, you should do something like:


open_transaction()

try {
fetch_player_data()
change_player_data()
commit()
} catch Errors {
rollback()
} finally {
close_transaction()
}


This way, your intent is clear, it's easy to debug and modify and much less prone to errors.
Time is precious. Waste it wisely.
Artesimo
Profile Joined February 2015
Germany601 Posts
February 08 2017 21:04 GMT
#16754
On February 09 2017 05:58 Manit0u wrote:
Why do it in such a convoluted way?

If you really want to ensure the consistency, you should do something like:


open_transaction()

try {
fetch_player_data()
change_player_data()
commit()
} catch Errors {
rollback()
} finally {
close_transaction()
}


Thank you for the detailed answer, unfortunately it is for the wrong problem. I am not tasked to fix this, I only need to point out every thing that could go wrong.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2017-02-08 21:09:34
February 08 2017 21:06 GMT
#16755
^ There's nothing wrong in C? Yeah, repeating yourself because you don't have templates is surely nothing wrong. Dealing with heap memory more often than you need to is nothing wrong in C. Not being able to tell who deletes what because your stuff cannot be wrapped via an RAII class (to put it simply, destructor deallocates stuff for you so you never leak memory) is nothing wrong. Learning low level stuff? Yeah, right. As if you can't #include <windows.h> or the appropriate *nix header from C++. C++ can do everything C can *and* more by definition because C is a subset of C++. This isn't a flame war, it is the facts.
TheEmulator
Profile Blog Joined July 2010
28100 Posts
Last Edited: 2017-02-08 21:20:21
February 08 2017 21:17 GMT
#16756
To be clear I'm fully aware of the differences between the languages since I've studied both. I'm not intending to work with either language professionally, if I was I would probably focus on both TBH. This is purely just a side thing that I'm interested in studying since I have more time now that I'm done University, and I chose C simply because "I wanted to"

I appreciate your concern though. No harm in that.
Administrator
raNazUra
Profile Joined December 2012
United States10 Posts
February 08 2017 21:19 GMT
#16757
Quick git question: I've cloned a project from github, and messed around with it some. Now I want to upload it as a completely fresh project, and am not 100% sure how to. I'm not even really sure what keywords I should be Googling for, so if anyone even just wants to drop some of those I'm happy to figure it out on my own from there.
Speak the truth, even if your voice shakes
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2017-02-08 21:40:41
February 08 2017 21:35 GMT
#16758
On February 09 2017 06:19 raNazUra wrote:
Quick git question: I've cloned a project from github, and messed around with it some. Now I want to upload it as a completely fresh project, and am not 100% sure how to. I'm not even really sure what keywords I should be Googling for, so if anyone even just wants to drop some of those I'm happy to figure it out on my own from there.


Any reason why you aren't forking the project and continuing on your fork? Missing lots of context for better solutions to this. What do you mean by "completely fresh project"? Did you clone a project or did you fork it?


Otherwise easiest way to blow away all the git history (fresh project) is:

Delete the .git folder in the root directory
Create a new git project in the root directory
Add all the files to a new commit
Push to your git server or github
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17800 Posts
Last Edited: 2017-02-08 22:50:34
February 08 2017 22:45 GMT
#16759
On February 09 2017 06:35 Blisse wrote:
Show nested quote +
On February 09 2017 06:19 raNazUra wrote:
Quick git question: I've cloned a project from github, and messed around with it some. Now I want to upload it as a completely fresh project, and am not 100% sure how to. I'm not even really sure what keywords I should be Googling for, so if anyone even just wants to drop some of those I'm happy to figure it out on my own from there.


Any reason why you aren't forking the project and continuing on your fork? Missing lots of context for better solutions to this. What do you mean by "completely fresh project"? Did you clone a project or did you fork it?


Otherwise easiest way to blow away all the git history (fresh project) is:

Delete the .git folder in the root directory
Create a new git project in the root directory
Add all the files to a new commit
Push to your git server or github


That's the solution if you want to lose all of history and such. Another choice would be changing the upstream address to your own repo.

https://help.github.com/articles/changing-a-remote-s-url/

On February 09 2017 06:04 Artesimo wrote:
Show nested quote +
On February 09 2017 05:58 Manit0u wrote:
Why do it in such a convoluted way?

If you really want to ensure the consistency, you should do something like:


open_transaction()

try {
fetch_player_data()
change_player_data()
commit()
} catch Errors {
rollback()
} finally {
close_transaction()
}


Thank you for the detailed answer, unfortunately it is for the wrong problem. I am not tasked to fix this, I only need to point out every thing that could go wrong.


Just compare the code. In your example plenty of things could go wrong. You could go out of transaction scope unexpectedly, you make two commits for a single change operation, etc.

Bonus question: What would happen to the original code if no object was fetched from the db?

I'm not entirely sure why they're assigning you such questions. I would personally use a hatchet on anyone trying to push code like that.
Time is precious. Waste it wisely.
Artesimo
Profile Joined February 2015
Germany601 Posts
February 08 2017 23:07 GMT
#16760
On February 09 2017 07:45 Manit0u wrote:
Just compare the code. In your example plenty of things could go wrong. You could go out of transaction scope unexpectedly, you make two commits for a single change operation, etc.

Bonus question: What would happen to the original code if no object was fetched from the db?

I'm not entirely sure why they're assigning you such questions. I would personally use a hatchet on anyone trying to push code like that.


Yeah, which is why I was asking in here... I am not really sure what exactly the point of the question is. I am pretty sure they are looking for one/two very specific answers but I am just not sure...

About the bonus question: I assume since there hasn't been fetched an actual object from the DB, the entity is empty and you would get some kind of error since you are calling a non static function (setName) in a static enviroment?
Prev 1 836 837 838 839 840 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 11h 54m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ByuN 664
ZombieGrub129
ProTech78
StarCraft: Brood War
Artosis 86
NaDa 31
yabsab 9
Dota 2
NeuroSwarm61
League of Legends
Doublelift4595
Counter-Strike
summit1g3657
Super Smash Bros
PPMD64
Other Games
Grubby3651
shahzam606
ToD528
Mlord475
C9.Mang0206
Pyrionflax169
Liquid`Hasu165
JuggernautJason141
Livibee127
UpATreeSC90
SteadfastSC82
Mew2King44
Trikslyr35
Organizations
Other Games
BasetradeTV67
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• RyuSc2 10
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Eskiya23 21
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2590
• masondota21995
League of Legends
• TFBlade460
Other Games
• Shiphtur780
Upcoming Events
Sparkling Tuna Cup
11h 54m
INu's Battles
12h 54m
Cure vs herO
ByuN vs Rogue
PiGosaur Cup
1d 1h
The PondCast
1d 11h
Kung Fu Cup
1d 12h
Patches Events
1d 17h
Replay Cast
2 days
CrankTV Team League
2 days
OSC
2 days
Replay Cast
3 days
[ Show More ]
Escore
3 days
CrankTV Team League
3 days
Replay Cast
4 days
Afreeca Starleague
4 days
RSL Revival
4 days
ByuN vs SHIN
Solar vs Lambo
WardiTV Summer Champion…
4 days
Afreeca Starleague
5 days
RSL Revival
5 days
Clem vs Serral
herO vs Rogue
WardiTV Summer Champion…
5 days
WardiTV Weekly
6 days
Liquipedia Results

Completed

Acropolis #4
SCTL 2026 Spring
Eternal Conflict S2 Finale

Ongoing

CSL 2026 Summer (S21)
KCM Race Survival 2026 Season 3
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026

Upcoming

Escore Tournament S3: W5
ASL Season 22: Qualifier #1
ASL Season 22: Qualifier #2
Acropolis #5
CSLAN 4
ASL Season 22
Acropolis #5 - TRS
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
PiG Sty Festival 8.0
Light Tournament 2026
ESL Pro League Season 24
Stake Ranked Episode 4
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 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.