• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:30
CEST 17:30
KST 00:30
  • 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
[ASL19] Finals Recap: Standing Tall4HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Retirement From ASL22Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? StarCraft Mass Recall: SC1 campaigns on SC2 thread How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29) WardiTV Mondays SOOPer7s Showmatches 2025 $200 Biweekly - StarCraft Evolution League #1
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Retirement From ASL Where did Hovz go? [ASL19] Finals Recap: Standing Tall BW General Discussion ASL20 Preliminary Maps
Tourneys
[Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine Stop Killing Games - European Citizens Initiative US Politics Mega-thread Trading/Investing Thread Russo-Ukrainian War Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 596 users

The Big Programming Thread - Page 939

Forum Index > General Forum
Post a Reply
Prev 1 937 938 939 940 941 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.
Silvanel
Profile Blog Joined March 2003
Poland4725 Posts
Last Edited: 2018-01-15 14:45:52
January 15 2018 14:44 GMT
#18761
Hey,

so can You guys help me construct XPATH (preferebly) search term that would help me find this element? I cant use absolute XPATH since this element is loaded as apart of list of elements which are in random order and thus last part of path changes at random.

this is what i know about the element:

<div style=''position: absolute; overflow: hidden; z-index: 3; text-decoration: inherit; text-overflow: inherit; text-align: left; color: rgb(255, 255, 255); white-space: nowrap; font: normal normal normal normal 11px Verdana, "Lucida Sans", Arial, Helvetica, sans-serif; left: 57px; top: 2px; width: 164px; height: auto;''>HU6</div>


most likely none of that is unique to this element. My best bet is the text "HU6" between div, but there for sure are elements on the page that starts with the same string ("HU6").
Pathetic Greta hater.
Manit0u
Profile Blog Joined August 2004
Poland17242 Posts
January 15 2018 14:48 GMT
#18762
On January 15 2018 23:44 Silvanel wrote:
Hey,

so can You guys help me construct XPATH (preferebly) search term that would help me find this element? I cant use absolute XPATH since this element is loaded as apart of list of elements which are in random order and thus last part of path changes at random.

this is what i know about the element:

<div style=''position: absolute; overflow: hidden; z-index: 3; text-decoration: inherit; text-overflow: inherit; text-align: left; color: rgb(255, 255, 255); white-space: nowrap; font: normal normal normal normal 11px Verdana, "Lucida Sans", Arial, Helvetica, sans-serif; left: 57px; top: 2px; width: 164px; height: auto;''>HU6</div>


most likely none of that is unique to this element. My best bet is the text "HU6" between div, but there for sure are elements on the page that starts with the same string ("HU6").



document.getElementsByTagName('div').filter(e => e.textContent === 'HU6')
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
January 15 2018 17:48 GMT
#18763
On January 15 2018 15:02 mahrgell wrote:
Other solution:

You write a function that reorders a circle, so that the lowest ID is first. (Also if you save nodes instead of edges, don't save the returning node twice...)
(6,7,8,5) -> (5,6,7,8)
(5,6,7,8) -> (5,6,7,8)

etc.
This means you have to store every circle only once.

If you need some quick access to know if there are circles starting at a given ID, make an additional map of lists/vectors of pointers, with the ID as mapkey, and the pointers pointing to all circles containing that ID. In case of the IDs used in circles being dense, make it an array of lists/vectors of pointers


fantastic, thank you.

There is some small extra overhead in doing this since to check prior existence of a cycle I will need to re-order it first, but this is nothing compared to how much time and space it can save overall.

I think what I will do is re-order the cycles per your suggestion, and then convert each one to tuple and store all of them in a single set.

Does this sound reasonable?
Neshapotamus
Profile Blog Joined May 2006
United States163 Posts
January 15 2018 18:52 GMT
#18764
On January 15 2018 09:58 travis wrote:
DIFFICULT QUESTION:

I am doing more graph stuff. I want to maintain a history of any traversed sub-cycles, of varying sizes. So if I have hit (5, 4, 7, 5) - I want to save it. If I've hit (1,2,3,4,5,9,11,317,1), I want to save it. If I have hit (8,9,8), I want to save it.

I believe that I cannot store this information in the form of individual points. If I do this, then for say, (5,6,7,8,5), I will also potentially need to create and store (6,7,8,5,6), (7,8,5,6,7), and (8,5,6,7,8). The situation becomes even worse for bigger and bigger subcycles.

So, I choose to store them as edges. This way, if I store ((5,6),(6,7),(7,8),(8,5)) it covers all of the situations in the last paragraph. But, only if it's stored in a way where order doesn't matter (a set?).

So then, I would have a set for every path. I don't really see a reasonable alternative to this, but if there is an alternative then please let me know.

Continuing on, how can I store my sets? I am using python, where afaik sets can only immutable objects, not other sets. So, I could use a list...
but then I run into other problems. Which are my primary questions

1.) Is there no more efficient alternative? I don't want to have to traverse a list to check every set in it.
2.) If I do use a list... how do I efficiently check if the current set I want to add is already in it.

thanks


Can you post the original question you are trying to solve? You might have gone down a rabbit hole and made your problem intractable.

WarSame
Profile Blog Joined February 2010
Canada1950 Posts
January 15 2018 23:51 GMT
#18765
On January 15 2018 06:10 Excludos wrote:
Show nested quote +
On January 15 2018 01:09 WarSame wrote:
There's a few reasons, though I'm not sure how valid they are. First, I was under the impression that only having 1 db adapter could simplify access to the DB. Second, it seemed pointless to have 2 classes that extend a third and only contain functions, with no values of their own. Third, it simplifies queries that want more than 1 table at once because I don't need to instantiate a db adapter for the other table. Instead I can just directly access it.

Those may be stupid reasons, or not worth the tradeoff, but that's why I did it.


Ok I might have misunderstood, so let's clear things up. I agree that the last layer, aka whatever actually does the connection to the DB, should be only one class (Let's call that DbApi). Simply because it might be used a lot of places and it's easier to debug and fix one class than 10x copies of one class. However it should also be extremely simple. It shouldn't hold any preference as to what type of data it asks or sends. That's where you need adapters or controllers or whatever you want to call it. Ie: One class does the connections to DB, then you have a Eth adapter and a account adapter which actually tells it what to get. If you've done this, then you've done it correctly. If you find yourself realizing that you never ask for one type of data without simultaneously asking for the other, then it's acceptable to combine these two adapters. Is that what you're asking? If you so you can either not worry about a long class (I know some unwritten rules specify that you should never have long classes but..pff, I don't care), or split functions into static helper classes.

If you are worried about having too many singular database queries, and want to combine them, you should do that in the DbAPI class by having it collect queries and run them at a specific rate. I honestly wouldn't worry tho. At my work we have something like several hundred queries to the db every second and it doesn't affect performance at all. All done on regular run of the mill laptops.

No, I think you understood correctly.

I'm using SQLite Db Adapter on Android, which has a DatabaseHelper that provides a wrapper for using the DB.

I generally only request from one table or the other - only once or twice do I need both at once. I agree with you and will split back out to 2 classes. Thanks for the response!

I wasn't worried about the rate of queries, but that's good information to know, too.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
January 16 2018 05:04 GMT
#18766
I was attempting to implement Filters on my Infura instance in web3j but it turns out they explicitly mention in the documentation that you can not do that. I tried to get Geth working on Android, but the old documentation is deprecated, the new releases seem to have similar usage but no documentation, and when I try to actually run it under my app it just waits for a bit and then times out with "no suitable peers available".

It turns out it is quite difficult to develop for multiple intersecting systems when they're always changing rapidly, not well documented, and error-prone. :/
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Manit0u
Profile Blog Joined August 2004
Poland17242 Posts
January 16 2018 06:59 GMT
#18767
That's why you should use tried, true, stable and battle-tested releases if possible.
Time is precious. Waste it wisely.
dekibeki
Profile Joined June 2011
Australia34 Posts
Last Edited: 2018-01-16 09:38:15
January 16 2018 09:31 GMT
#18768
On January 15 2018 09:58 travis wrote:
DIFFICULT QUESTION:

I am doing more graph stuff. I want to maintain a history of any traversed sub-cycles, of varying sizes. So if I have hit (5, 4, 7, 5) - I want to save it. If I've hit (1,2,3,4,5,9,11,317,1), I want to save it. If I have hit (8,9,8), I want to save it.

I believe that I cannot store this information in the form of individual points. If I do this, then for say, (5,6,7,8,5), I will also potentially need to create and store (6,7,8,5,6), (7,8,5,6,7), and (8,5,6,7,8). The situation becomes even worse for bigger and bigger subcycles.

So, I choose to store them as edges. This way, if I store ((5,6),(6,7),(7,8),(8,5)) it covers all of the situations in the last paragraph. But, only if it's stored in a way where order doesn't matter (a set?).

So then, I would have a set for every path. I don't really see a reasonable alternative to this, but if there is an alternative then please let me know.

Continuing on, how can I store my sets? I am using python, where afaik sets can only immutable objects, not other sets. So, I could use a list...
but then I run into other problems. Which are my primary questions

1.) Is there no more efficient alternative? I don't want to have to traverse a list to check every set in it.
2.) If I do use a list... how do I efficiently check if the current set I want to add is already in it.

thanks


After you create your set, you don't change it. Doesn't that make it immutable? I'm not sure about python, but it could be done in [SuperiorLanguage]C++[/SuperiorLanguage].

Edit: Inserting of the path sets into the set of paths can be done*

You can compute the hashes for each set as you're constructing them. Insertion/search become O(n) where n is the length of the path.

On January 15 2018 15:02 mahrgell wrote:
Other solution:

You write a function that reorders a circle, so that the lowest ID is first. (Also if you save nodes instead of edges, don't save the returning node twice...)
(6,7,8,5) -> (5,6,7,8)
(5,6,7,8) -> (5,6,7,8)

etc.
This means you have to store every circle only once.

If you need some quick access to know if there are circles starting at a given ID, make an additional map of lists/vectors of pointers, with the ID as mapkey, and the pointers pointing to all circles containing that ID. In case of the IDs used in circles being dense, make it an array of lists/vectors of pointers

has order O(nlog(n)) as you need to sort them, and could be incorrect:

Given a figure 8 graph made of 7 vertices (two diamonds sharing a common vertex):
The path through the figure 8 that looks like the way the infinite symbol is usually drawn, passes through all vertices once.
The path through the figure 8 which looks like 2 number threes also passes through all vertices once.

These are different paths, but the sorting method makes the appear the same.
mahrgell
Profile Blog Joined December 2009
Germany3943 Posts
January 16 2018 09:37 GMT
#18769
On January 16 2018 18:31 dekibeki wrote:
Show nested quote +
On January 15 2018 09:58 travis wrote:
DIFFICULT QUESTION:

I am doing more graph stuff. I want to maintain a history of any traversed sub-cycles, of varying sizes. So if I have hit (5, 4, 7, 5) - I want to save it. If I've hit (1,2,3,4,5,9,11,317,1), I want to save it. If I have hit (8,9,8), I want to save it.

I believe that I cannot store this information in the form of individual points. If I do this, then for say, (5,6,7,8,5), I will also potentially need to create and store (6,7,8,5,6), (7,8,5,6,7), and (8,5,6,7,8). The situation becomes even worse for bigger and bigger subcycles.

So, I choose to store them as edges. This way, if I store ((5,6),(6,7),(7,8),(8,5)) it covers all of the situations in the last paragraph. But, only if it's stored in a way where order doesn't matter (a set?).

So then, I would have a set for every path. I don't really see a reasonable alternative to this, but if there is an alternative then please let me know.

Continuing on, how can I store my sets? I am using python, where afaik sets can only immutable objects, not other sets. So, I could use a list...
but then I run into other problems. Which are my primary questions

1.) Is there no more efficient alternative? I don't want to have to traverse a list to check every set in it.
2.) If I do use a list... how do I efficiently check if the current set I want to add is already in it.

thanks


After you create your set, you don't change it. Doesn't that make it immutable? I'm not sure about python, but it could be done in [SuperiorLanguage]C++[/SuperiorLanguage].

You can compute the hashes for each set as you're constructing them. Insertion/search become O(n) where n is the length of the path.

Show nested quote +
On January 15 2018 15:02 mahrgell wrote:
Other solution:

You write a function that reorders a circle, so that the lowest ID is first. (Also if you save nodes instead of edges, don't save the returning node twice...)
(6,7,8,5) -> (5,6,7,8)
(5,6,7,8) -> (5,6,7,8)

etc.
This means you have to store every circle only once.

If you need some quick access to know if there are circles starting at a given ID, make an additional map of lists/vectors of pointers, with the ID as mapkey, and the pointers pointing to all circles containing that ID. In case of the IDs used in circles being dense, make it an array of lists/vectors of pointers

has order O(nlog(n)) as you need to sort them, and could be incorrect:

Given a figure 8 graph made of 7 vertices (two diamonds sharing a common vertex):
The path through the figure 8 that looks like the way the infinite symbol is usually drawn, passes through all vertices once.
The path through the figure 8 which looks like 2 number threes also passes through all vertices once.

These are different paths, but the sorting method makes the appear the same.


You don't order all nodes by ID, but just put the lowest first. This doesn't equalize those graphs you described.
dekibeki
Profile Joined June 2011
Australia34 Posts
Last Edited: 2018-01-16 09:47:19
January 16 2018 09:44 GMT
#18770
On January 16 2018 18:37 mahrgell wrote:
Show nested quote +
On January 16 2018 18:31 dekibeki wrote:
On January 15 2018 09:58 travis wrote:
DIFFICULT QUESTION:

I am doing more graph stuff. I want to maintain a history of any traversed sub-cycles, of varying sizes. So if I have hit (5, 4, 7, 5) - I want to save it. If I've hit (1,2,3,4,5,9,11,317,1), I want to save it. If I have hit (8,9,8), I want to save it.

I believe that I cannot store this information in the form of individual points. If I do this, then for say, (5,6,7,8,5), I will also potentially need to create and store (6,7,8,5,6), (7,8,5,6,7), and (8,5,6,7,8). The situation becomes even worse for bigger and bigger subcycles.

So, I choose to store them as edges. This way, if I store ((5,6),(6,7),(7,8),(8,5)) it covers all of the situations in the last paragraph. But, only if it's stored in a way where order doesn't matter (a set?).

So then, I would have a set for every path. I don't really see a reasonable alternative to this, but if there is an alternative then please let me know.

Continuing on, how can I store my sets? I am using python, where afaik sets can only immutable objects, not other sets. So, I could use a list...
but then I run into other problems. Which are my primary questions

1.) Is there no more efficient alternative? I don't want to have to traverse a list to check every set in it.
2.) If I do use a list... how do I efficiently check if the current set I want to add is already in it.

thanks


After you create your set, you don't change it. Doesn't that make it immutable? I'm not sure about python, but it could be done in [SuperiorLanguage]C++[/SuperiorLanguage].

You can compute the hashes for each set as you're constructing them. Insertion/search become O(n) where n is the length of the path.

On January 15 2018 15:02 mahrgell wrote:
Other solution:

You write a function that reorders a circle, so that the lowest ID is first. (Also if you save nodes instead of edges, don't save the returning node twice...)
(6,7,8,5) -> (5,6,7,8)
(5,6,7,8) -> (5,6,7,8)

etc.
This means you have to store every circle only once.

If you need some quick access to know if there are circles starting at a given ID, make an additional map of lists/vectors of pointers, with the ID as mapkey, and the pointers pointing to all circles containing that ID. In case of the IDs used in circles being dense, make it an array of lists/vectors of pointers

has order O(nlog(n)) as you need to sort them, and could be incorrect:

Given a figure 8 graph made of 7 vertices (two diamonds sharing a common vertex):
The path through the figure 8 that looks like the way the infinite symbol is usually drawn, passes through all vertices once.
The path through the figure 8 which looks like 2 number threes also passes through all vertices once.

These are different paths, but the sorting method makes the appear the same.


You don't order all nodes by ID, but just put the lowest first. This doesn't equalize those graphs you described.


Apologies on not understanding your algorithm properly.

I believe the problem still stands:
Take the same kind of paths but over a figure 8 with 5 vertices (two triangles):
If the lowest ided vertex is not the shared vertex, with appropriate starting vertex, you won't know if the path went clockwise or counter clockwise around the loop.

Also irrelevant correction, you pass through every vertex once, bar the shared which you go through twice.

Edit: Or did I misunderstand it again, and you're rotating until the lowest id is first?
mahrgell
Profile Blog Joined December 2009
Germany3943 Posts
January 16 2018 09:51 GMT
#18771
On January 16 2018 18:44 dekibeki wrote:
Show nested quote +
On January 16 2018 18:37 mahrgell wrote:
On January 16 2018 18:31 dekibeki wrote:
On January 15 2018 09:58 travis wrote:
DIFFICULT QUESTION:

I am doing more graph stuff. I want to maintain a history of any traversed sub-cycles, of varying sizes. So if I have hit (5, 4, 7, 5) - I want to save it. If I've hit (1,2,3,4,5,9,11,317,1), I want to save it. If I have hit (8,9,8), I want to save it.

I believe that I cannot store this information in the form of individual points. If I do this, then for say, (5,6,7,8,5), I will also potentially need to create and store (6,7,8,5,6), (7,8,5,6,7), and (8,5,6,7,8). The situation becomes even worse for bigger and bigger subcycles.

So, I choose to store them as edges. This way, if I store ((5,6),(6,7),(7,8),(8,5)) it covers all of the situations in the last paragraph. But, only if it's stored in a way where order doesn't matter (a set?).

So then, I would have a set for every path. I don't really see a reasonable alternative to this, but if there is an alternative then please let me know.

Continuing on, how can I store my sets? I am using python, where afaik sets can only immutable objects, not other sets. So, I could use a list...
but then I run into other problems. Which are my primary questions

1.) Is there no more efficient alternative? I don't want to have to traverse a list to check every set in it.
2.) If I do use a list... how do I efficiently check if the current set I want to add is already in it.

thanks


After you create your set, you don't change it. Doesn't that make it immutable? I'm not sure about python, but it could be done in [SuperiorLanguage]C++[/SuperiorLanguage].

You can compute the hashes for each set as you're constructing them. Insertion/search become O(n) where n is the length of the path.

On January 15 2018 15:02 mahrgell wrote:
Other solution:

You write a function that reorders a circle, so that the lowest ID is first. (Also if you save nodes instead of edges, don't save the returning node twice...)
(6,7,8,5) -> (5,6,7,8)
(5,6,7,8) -> (5,6,7,8)

etc.
This means you have to store every circle only once.

If you need some quick access to know if there are circles starting at a given ID, make an additional map of lists/vectors of pointers, with the ID as mapkey, and the pointers pointing to all circles containing that ID. In case of the IDs used in circles being dense, make it an array of lists/vectors of pointers

has order O(nlog(n)) as you need to sort them, and could be incorrect:

Given a figure 8 graph made of 7 vertices (two diamonds sharing a common vertex):
The path through the figure 8 that looks like the way the infinite symbol is usually drawn, passes through all vertices once.
The path through the figure 8 which looks like 2 number threes also passes through all vertices once.

These are different paths, but the sorting method makes the appear the same.


You don't order all nodes by ID, but just put the lowest first. This doesn't equalize those graphs you described.


Apologies on not understanding your algorithm properly.

I believe the problem still stands:
Take the same kind of paths but over a figure 8 with 5 vertices (two triangles):
If the lowest ided vertex is not the shared vertex, with appropriate starting vertex, you won't know if the path went clockwise or counter clockwise around the loop.

Also irrelevant correction, you pass through every vertex once, bar the shared which you go through twice.

Edit: Or did I misunderstand it again, and you're rotating until the lowest id is first?


Yes, I rotate until the lowest ID ist first.


If you allow IDs to appear multiple times in the same path, you have to choose the rotation (of those with lowest ID first) where the 2nd ID is lowest etc. But from what I understood, he didn't allow ID's to appear multiple times, so this isn't an issue.


dekibeki
Profile Joined June 2011
Australia34 Posts
January 16 2018 09:59 GMT
#18772
On January 16 2018 18:51 mahrgell wrote:
Show nested quote +
On January 16 2018 18:44 dekibeki wrote:
On January 16 2018 18:37 mahrgell wrote:
On January 16 2018 18:31 dekibeki wrote:
On January 15 2018 09:58 travis wrote:
DIFFICULT QUESTION:

I am doing more graph stuff. I want to maintain a history of any traversed sub-cycles, of varying sizes. So if I have hit (5, 4, 7, 5) - I want to save it. If I've hit (1,2,3,4,5,9,11,317,1), I want to save it. If I have hit (8,9,8), I want to save it.

I believe that I cannot store this information in the form of individual points. If I do this, then for say, (5,6,7,8,5), I will also potentially need to create and store (6,7,8,5,6), (7,8,5,6,7), and (8,5,6,7,8). The situation becomes even worse for bigger and bigger subcycles.

So, I choose to store them as edges. This way, if I store ((5,6),(6,7),(7,8),(8,5)) it covers all of the situations in the last paragraph. But, only if it's stored in a way where order doesn't matter (a set?).

So then, I would have a set for every path. I don't really see a reasonable alternative to this, but if there is an alternative then please let me know.

Continuing on, how can I store my sets? I am using python, where afaik sets can only immutable objects, not other sets. So, I could use a list...
but then I run into other problems. Which are my primary questions

1.) Is there no more efficient alternative? I don't want to have to traverse a list to check every set in it.
2.) If I do use a list... how do I efficiently check if the current set I want to add is already in it.

thanks


After you create your set, you don't change it. Doesn't that make it immutable? I'm not sure about python, but it could be done in [SuperiorLanguage]C++[/SuperiorLanguage].

You can compute the hashes for each set as you're constructing them. Insertion/search become O(n) where n is the length of the path.

On January 15 2018 15:02 mahrgell wrote:
Other solution:

You write a function that reorders a circle, so that the lowest ID is first. (Also if you save nodes instead of edges, don't save the returning node twice...)
(6,7,8,5) -> (5,6,7,8)
(5,6,7,8) -> (5,6,7,8)

etc.
This means you have to store every circle only once.

If you need some quick access to know if there are circles starting at a given ID, make an additional map of lists/vectors of pointers, with the ID as mapkey, and the pointers pointing to all circles containing that ID. In case of the IDs used in circles being dense, make it an array of lists/vectors of pointers

has order O(nlog(n)) as you need to sort them, and could be incorrect:

Given a figure 8 graph made of 7 vertices (two diamonds sharing a common vertex):
The path through the figure 8 that looks like the way the infinite symbol is usually drawn, passes through all vertices once.
The path through the figure 8 which looks like 2 number threes also passes through all vertices once.

These are different paths, but the sorting method makes the appear the same.


You don't order all nodes by ID, but just put the lowest first. This doesn't equalize those graphs you described.


Apologies on not understanding your algorithm properly.

I believe the problem still stands:
Take the same kind of paths but over a figure 8 with 5 vertices (two triangles):
If the lowest ided vertex is not the shared vertex, with appropriate starting vertex, you won't know if the path went clockwise or counter clockwise around the loop.

Also irrelevant correction, you pass through every vertex once, bar the shared which you go through twice.

Edit: Or did I misunderstand it again, and you're rotating until the lowest id is first?


Yes, I rotate until the lowest ID ist first.


If you allow IDs to appear multiple times in the same path, you have to choose the rotation (of those with lowest ID first) where the 2nd ID is lowest etc. But from what I understood, he didn't allow ID's to appear multiple times, so this isn't an issue.




Yeah, my mistake again. I like it
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2018-01-17 01:18:36
January 16 2018 23:36 GMT
#18773
On January 16 2018 03:52 Neshapotamus wrote:
Show nested quote +
On January 15 2018 09:58 travis wrote:
DIFFICULT QUESTION:

I am doing more graph stuff. I want to maintain a history of any traversed sub-cycles, of varying sizes. So if I have hit (5, 4, 7, 5) - I want to save it. If I've hit (1,2,3,4,5,9,11,317,1), I want to save it. If I have hit (8,9,8), I want to save it.

I believe that I cannot store this information in the form of individual points. If I do this, then for say, (5,6,7,8,5), I will also potentially need to create and store (6,7,8,5,6), (7,8,5,6,7), and (8,5,6,7,8). The situation becomes even worse for bigger and bigger subcycles.

So, I choose to store them as edges. This way, if I store ((5,6),(6,7),(7,8),(8,5)) it covers all of the situations in the last paragraph. But, only if it's stored in a way where order doesn't matter (a set?).

So then, I would have a set for every path. I don't really see a reasonable alternative to this, but if there is an alternative then please let me know.

Continuing on, how can I store my sets? I am using python, where afaik sets can only immutable objects, not other sets. So, I could use a list...
but then I run into other problems. Which are my primary questions

1.) Is there no more efficient alternative? I don't want to have to traverse a list to check every set in it.
2.) If I do use a list... how do I efficiently check if the current set I want to add is already in it.

thanks


Can you post the original question you are trying to solve? You might have gone down a rabbit hole and made your problem intractable.



I am doing TSP stuff. Anyways I've moved on past that question because mahrgell's solution worked great.


But now I have a much more difficult question. Any of you who found the last question easy may be challenged by this one.

Problem description:

+ Show Spoiler +

I think this is a fairly difficult question. So thank you ahead of time for any help.

I have a graph I am traversing, creating different paths, one at a time. I have a set of edges I "must" use, each is stored as a tuple of (to, from). I am avoiding repeat nodes, so we only go to each "to" once, and to each "from" once. I also don't want to create a cycle in the combination.

I want to create all combinations (where order matters) of edges. To be specific, I want all combinations of all valid sizes of tuples.

Some examples for clarity:

Valid combinations of edges:
((5,7))
((3,9),(9,11),(21,18))
((1,2),(2,3),(3,4),(4,5))

Invalid combinations:
((9,8),(9,6))
((2,5),(11,3),(8,5))
((1,2),(2,3),(3,4),(4,1))

So, one thing we can see, is that to make all combinations, we will make combinations of size 1, then of size 2, then of 3, ... 4....n

Don't worry, it's not quite this insane. The amount of edges I am creating combinations with is typically not that many. But it is variable, and who knows, maybe I could end up creating some combinations of size n.

So, I was thinking about using itertools to generate the combinations. I could put itertools.combinations in a loop, and increment the size of the combinations of each pass.

But then I realized, that it is likely that the majority of combinations will actually end up invalid, and if I use itertools I don't think I can check their validity until the entire combination has been generated. This seems incredibly inefficient.

So, my thinking then went to using an adjacency list, where any edge (to, from) I want to force is stored in indices [to][from]. This allows me to iterate the adjacency list such that I avoid getting duplicate "to"s or duplicate "froms".

However, I still can't conceptualize how I can actually write a function that generates all of the combinations I want through traversal of the adjacency list.

Any Ideas?

Note: For now, I don't mind if anyone chooses to ignore the challenge of avoiding closed cycles, ie: 1,2,3,4,1



Edit: I was provided a solution on stackoverflow. It's not a completely suitable answer for my question, but it can be altered to suit my needs and was something I hadn't seen before.

+ Show Spoiler +


from collections import defaultdict

# preprocess for better performance
edges = [(1,2),(2,1),(2,3),(3,4),(4,5),(5,7), (3,9),(9,11),(11,18)]
graph = defaultdict(set)
for f, t in edges:
graph[f].add(t)

def paths(graph, l, fr=None, avoid=None):
avoid = avoid or set() # avoid previous nodes
if l == 0: # base case: empty path
yield ()
from_nodes = [fr] if fr else graph.keys()
for f in from_nodes:
new_avoid = avoid | set([f]) # set union
for t in graph[f]: # for every adjacent node t...
if t not in avoid: # unless it has been seen
# take all paths starting at t with length l-1
for path in paths(graph, l-1, fr=t, avoid=new_avoid):
# and prepend the current edge
yield ((f, t),) + path



edit2, my edits:

+ Show Spoiler +


def paths(graph, l, fr=None, avoidfrom=None, avoidto=None):
avoidfrom = avoidfrom or set()
avoidto = avoidto or set()
if l == 0:
yield ()
from_nodes = [fr] if fr else graph.keys()
for f in from_nodes:
if f not in avoidfrom:
new_avoid_from = avoidfrom | set([f])
for t in graph[f]:
if (t not in avoidto) and (f < t):
new_avoid_to = avoidto | set([t])
for path in paths(graph, l-1, fr=None, avoidfrom=new_avoid_from, avoidto=new_avoid_to):
yield ((f, t),) + path

WarSame
Profile Blog Joined February 2010
Canada1950 Posts
January 17 2018 04:18 GMT
#18774
On January 16 2018 15:59 Manit0u wrote:
That's why you should use tried, true, stable and battle-tested releases if possible.

True! Unfortunately, very not possible in the world of blockchain.

I realize this is an extremely off-chance, but does anyone know how to Filter Ethereum events on Android? Infura is the only client I can get working on Android and it explicitly doesn't allow for Filters. As I mentioned earlier the other clients seem to be in an unsupported/not working state. Though I am going to try running geth light on my computer itself before entirely writing it off.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
dsyxelic
Profile Joined May 2010
United States1417 Posts
Last Edited: 2018-01-17 05:28:10
January 17 2018 05:26 GMT
#18775
to those working in a particular field and/or have your mind set on a particular field, how did you get to that spot? (ex. frontend/backend/fullstack web, mobile, devops, systems, etc.)

trying everything else and see which one you liked best? and to what extent (coursework? projects? internship?)

got exposed to one thing and kept following it since it seemed decent?

etc?

I'm curious how people got to where they are as I feel like I should start specializing in something. For the most part I've done a bit of coursework and/or minor projects in a bunch of areas but not sure if I should commit harder when exploring or if I should look even broader. The only thing I know for sure is that I don't like systems programming or anything very low level.

I also welcome anyone sharing why they like their area of choice to me since your reasons for choosing your respective area might resonate with me.
TL/SKT
Neshapotamus
Profile Blog Joined May 2006
United States163 Posts
January 17 2018 06:07 GMT
#18776
On January 17 2018 08:36 travis wrote:
Show nested quote +
On January 16 2018 03:52 Neshapotamus wrote:
On January 15 2018 09:58 travis wrote:
DIFFICULT QUESTION:

I am doing more graph stuff. I want to maintain a history of any traversed sub-cycles, of varying sizes. So if I have hit (5, 4, 7, 5) - I want to save it. If I've hit (1,2,3,4,5,9,11,317,1), I want to save it. If I have hit (8,9,8), I want to save it.

I believe that I cannot store this information in the form of individual points. If I do this, then for say, (5,6,7,8,5), I will also potentially need to create and store (6,7,8,5,6), (7,8,5,6,7), and (8,5,6,7,8). The situation becomes even worse for bigger and bigger subcycles.

So, I choose to store them as edges. This way, if I store ((5,6),(6,7),(7,8),(8,5)) it covers all of the situations in the last paragraph. But, only if it's stored in a way where order doesn't matter (a set?).

So then, I would have a set for every path. I don't really see a reasonable alternative to this, but if there is an alternative then please let me know.

Continuing on, how can I store my sets? I am using python, where afaik sets can only immutable objects, not other sets. So, I could use a list...
but then I run into other problems. Which are my primary questions

1.) Is there no more efficient alternative? I don't want to have to traverse a list to check every set in it.
2.) If I do use a list... how do I efficiently check if the current set I want to add is already in it.

thanks


Can you post the original question you are trying to solve? You might have gone down a rabbit hole and made your problem intractable.



I am doing TSP stuff. Anyways I've moved on past that question because mahrgell's solution worked great.


But now I have a much more difficult question. Any of you who found the last question easy may be challenged by this one.

Problem description:

+ Show Spoiler +

I think this is a fairly difficult question. So thank you ahead of time for any help.

I have a graph I am traversing, creating different paths, one at a time. I have a set of edges I "must" use, each is stored as a tuple of (to, from). I am avoiding repeat nodes, so we only go to each "to" once, and to each "from" once. I also don't want to create a cycle in the combination.

I want to create all combinations (where order matters) of edges. To be specific, I want all combinations of all valid sizes of tuples.

Some examples for clarity:

Valid combinations of edges:
((5,7))
((3,9),(9,11),(21,18))
((1,2),(2,3),(3,4),(4,5))

Invalid combinations:
((9,8),(9,6))
((2,5),(11,3),(8,5))
((1,2),(2,3),(3,4),(4,1))

So, one thing we can see, is that to make all combinations, we will make combinations of size 1, then of size 2, then of 3, ... 4....n

Don't worry, it's not quite this insane. The amount of edges I am creating combinations with is typically not that many. But it is variable, and who knows, maybe I could end up creating some combinations of size n.

So, I was thinking about using itertools to generate the combinations. I could put itertools.combinations in a loop, and increment the size of the combinations of each pass.

But then I realized, that it is likely that the majority of combinations will actually end up invalid, and if I use itertools I don't think I can check their validity until the entire combination has been generated. This seems incredibly inefficient.

So, my thinking then went to using an adjacency list, where any edge (to, from) I want to force is stored in indices [to][from]. This allows me to iterate the adjacency list such that I avoid getting duplicate "to"s or duplicate "froms".

However, I still can't conceptualize how I can actually write a function that generates all of the combinations I want through traversal of the adjacency list.

Any Ideas?

Note: For now, I don't mind if anyone chooses to ignore the challenge of avoiding closed cycles, ie: 1,2,3,4,1



Edit: I was provided a solution on stackoverflow. It's not a completely suitable answer for my question, but it can be altered to suit my needs and was something I hadn't seen before.

+ Show Spoiler +


from collections import defaultdict

# preprocess for better performance
edges = [(1,2),(2,1),(2,3),(3,4),(4,5),(5,7), (3,9),(9,11),(11,18)]
graph = defaultdict(set)
for f, t in edges:
graph[f].add(t)

def paths(graph, l, fr=None, avoid=None):
avoid = avoid or set() # avoid previous nodes
if l == 0: # base case: empty path
yield ()
from_nodes = [fr] if fr else graph.keys()
for f in from_nodes:
new_avoid = avoid | set([f] # set union
for t in graph[f]: # for every adjacent node t...
if t not in avoid: # unless it has been seen
# take all paths starting at t with length l-1
for path in paths(graph, l-1, fr=t, avoid=new_avoid):
# and prepend the current edge
yield ((f, t),) + path



edit2, my edits:

+ Show Spoiler +


def paths(graph, l, fr=None, avoidfrom=None, avoidto=None):
avoidfrom = avoidfrom or set()
avoidto = avoidto or set()
if l == 0:
yield ()
from_nodes = [fr] if fr else graph.keys()
for f in from_nodes:
if f not in avoidfrom:
new_avoid_from = avoidfrom | set([f]
for t in graph[f]:
if (t not in avoidto) and (f < t):
new_avoid_to = avoidto | set([t]
for path in paths(graph, l-1, fr=None, avoidfrom=new_avoid_from, avoidto=new_avoid_to):
yield ((f, t),) + path




The algorithm you are trying to ask about it called Search Tree/Graph Search. As you traverse the tree, you make the list of paths. In graph search, you don't explore already explored tree paths and you need a goal/stop condition. This algorithm starts a source node that you have to specify. The list of paths can be made in linear time to the number of nodes visited using a cons list (fyi).


ex:
1 -> 2 -> 3 -> 4

[1], [1,2] , [1,2,3], [1,2,3,4]


Manit0u
Profile Blog Joined August 2004
Poland17242 Posts
January 17 2018 07:26 GMT
#18777
On January 17 2018 14:26 dsyxelic wrote:
to those working in a particular field and/or have your mind set on a particular field, how did you get to that spot? (ex. frontend/backend/fullstack web, mobile, devops, systems, etc.)

trying everything else and see which one you liked best? and to what extent (coursework? projects? internship?)

got exposed to one thing and kept following it since it seemed decent?

etc?

I'm curious how people got to where they are as I feel like I should start specializing in something. For the most part I've done a bit of coursework and/or minor projects in a bunch of areas but not sure if I should commit harder when exploring or if I should look even broader. The only thing I know for sure is that I don't like systems programming or anything very low level.

I also welcome anyone sharing why they like their area of choice to me since your reasons for choosing your respective area might resonate with me.


Before I knew what I wanted, I wanted to do front-end. Started with full-stack web and gradually moved to the back-end pretty much exclusively (front-end is fucking boring).
Time is precious. Waste it wisely.
dsyxelic
Profile Joined May 2010
United States1417 Posts
January 17 2018 07:58 GMT
#18778
On January 17 2018 16:26 Manit0u wrote:
Show nested quote +
On January 17 2018 14:26 dsyxelic wrote:
to those working in a particular field and/or have your mind set on a particular field, how did you get to that spot? (ex. frontend/backend/fullstack web, mobile, devops, systems, etc.)

trying everything else and see which one you liked best? and to what extent (coursework? projects? internship?)

got exposed to one thing and kept following it since it seemed decent?

etc?

I'm curious how people got to where they are as I feel like I should start specializing in something. For the most part I've done a bit of coursework and/or minor projects in a bunch of areas but not sure if I should commit harder when exploring or if I should look even broader. The only thing I know for sure is that I don't like systems programming or anything very low level.

I also welcome anyone sharing why they like their area of choice to me since your reasons for choosing your respective area might resonate with me.


Before I knew what I wanted, I wanted to do front-end. Started with full-stack web and gradually moved to the back-end pretty much exclusively (front-end is fucking boring).


How did you decide on wanting to do front-end? And did you look for a full-stack job or did it just happen that you got a full stack job and/or your skillset naturally fit it so you ended up there?

For me at the moment my skillset is so broad (or in a negative way, lacking) and unfocused and so are my interests. I guess that is because I'm only a student, but at the same time I feel like most of my peers have an idea of what field they want to go into and even intern listings seem to be more focused. It is mostly at large companies where there are more generalized roles but even there there are tons of specialist roles that it seems like I should aim to specialize soon. I've done at least one small project + a course in a bunch of fields but nothing really seemed to click. If I had to attempt to explain what was the most fun for me in the past, I'd say something that automates large tedious tasks. For ex. a program that constantly checks multiple sites for the latest news on a specific person/thing.
Basically anything that takes something super large and turns it into something small.
TL/SKT
Excludos
Profile Blog Joined April 2010
Norway8042 Posts
January 17 2018 08:14 GMT
#18779
On January 17 2018 16:58 dsyxelic wrote:
Show nested quote +
On January 17 2018 16:26 Manit0u wrote:
On January 17 2018 14:26 dsyxelic wrote:
to those working in a particular field and/or have your mind set on a particular field, how did you get to that spot? (ex. frontend/backend/fullstack web, mobile, devops, systems, etc.)

trying everything else and see which one you liked best? and to what extent (coursework? projects? internship?)

got exposed to one thing and kept following it since it seemed decent?

etc?

I'm curious how people got to where they are as I feel like I should start specializing in something. For the most part I've done a bit of coursework and/or minor projects in a bunch of areas but not sure if I should commit harder when exploring or if I should look even broader. The only thing I know for sure is that I don't like systems programming or anything very low level.

I also welcome anyone sharing why they like their area of choice to me since your reasons for choosing your respective area might resonate with me.


Before I knew what I wanted, I wanted to do front-end. Started with full-stack web and gradually moved to the back-end pretty much exclusively (front-end is fucking boring).

For me at the moment my skillset is so broad (or in a negative way, lacking) and unfocused and so are my interests. I guess that is because I'm only a student, but at the same time I feel like most of my peers have an idea of what field they want to go into and even intern listings seem to be more focused. It is mostly at large companies where there are more generalized roles but even there there are tons of specialist roles that it seems like I should aim to specialize soon. I've done at least one small project + a course in a bunch of fields but nothing really seemed to click. If I had to attempt to explain what was the most fun for me in the past, I'd say something that automates large tedious tasks. For ex. a program that constantly checks multiple sites for the latest news on a specific person/thing.
Basically anything that takes something super large and turns it into something small.


This is pretty normal. Some few knows exactly what they want to do all along, but most have no clue, and end up specializing in whatever they get a job for. For me, that ended up being fullstack simply because thats what I did on my thesis, and my first job required I do literally all of the software. But my web/html/javascript skills are pretty much completely gone, and I would find myself a hard time changing over to do anything on that (Which, imo, is a shame simply because of its usefulness).

Honestly, while I'm writing this, I just realized I should probably pick up a couple of courses on web development. You're never truly "locked" on anything in the computer world, and neither can you be simply because it keeps changing. If you specialize too much you could end up having trouble finding jobs in an area no longer desirable after 20-30 years.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2018-01-17 11:43:44
January 17 2018 11:31 GMT
#18780
On January 17 2018 14:26 dsyxelic wrote:
to those working in a particular field and/or have your mind set on a particular field, how did you get to that spot? (ex. frontend/backend/fullstack web, mobile, devops, systems, etc.)

trying everything else and see which one you liked best? and to what extent (coursework? projects? internship?)

got exposed to one thing and kept following it since it seemed decent?

etc?

I'm curious how people got to where they are as I feel like I should start specializing in something. For the most part I've done a bit of coursework and/or minor projects in a bunch of areas but not sure if I should commit harder when exploring or if I should look even broader. The only thing I know for sure is that I don't like systems programming or anything very low level.

I also welcome anyone sharing why they like their area of choice to me since your reasons for choosing your respective area might resonate with me.


My first internship was a QA position at a local startup that hired lots of interns. I did very well, so they asked me to come back for a random dev internship. I did. I started learning Windows dev because I had a Windows Phone. I lucked into a really good mobile internship position because I _missed_ the deadline, so my application competed with much weaker intern candidates. I got the job without any technical interviews. Because I worked on Windows, I got an interview with Microsoft, got lucky with a technical question when I was super excited to find the solution, and got a Microsoft internship doing mobile. I did okay, but they gave me a return offer, and I asked to intern on a Windows team doing C++, which went great! I wanted to do more Windows mobile dev, but realized the platform was dying, so I switched over to Android. I interviewed at a local start-up doing Android, and they gave me the position without a technical interview because I already had many internships. I took a year off, but I'm now working on Android at Square because I recalled the start-up using lots of Square libraries in the app.

I have one of the most varied intern work history compared to almost all my classmates and friends. I had no clue what I wanted to do, and honestly at the time I didn't care and didn't plan it in any way. I just tried to find the best, most interesting opportunities to me at whatever point in time. I got an offer to return to Microsoft on Windows, but I declined because I felt it was in my best interest to diversify, but maybe someone else wouldn't feel the same way. My capstone project ended the same manner, jumping projects, from helping a teacher to writing a research paper to programming a technical solution, over a year and a half of project time. Our professor uses our capstone as an example of not being afraid to _not_ commit until it feels right.

I took courses that I felt were interesting: distributed systems, computation, security, real-time operating systems, UI, criminal law, geology. I dropped courses that didn't seem interesting after a few classes (b/c of teachers, coursework). I attended some of my friend's lectures, like etymology, genetics, music in film. Some were useful, some were fun, I feel better about expanding my horizons in this way, finding out all the things I liked, disliked or found interesting. This style fit closer to the type of person I am.


Go for the opportunities that you feel will bring you the best outcomes. Paul Graham calls this upwind. Read the whole post.

Instead of working back from a goal, work forward from promising situations. This is what most successful people actually do anyway.

In the graduation-speech approach, you decide where you want to be in twenty years, and then ask: what should I do now to get there? I propose instead that you don't commit to anything in the future, but just look at the options available now, and choose those that will give you the most promising range of options afterward.

It's not so important what you work on, so long as you're not wasting your time. Work on things that interest you and increase your options, and worry later about which you'll take.
There is no one like you in the universe.
Prev 1 937 938 939 940 941 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 30m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 429
mouzHeroMarine 386
StarCraft: Brood War
Rain 4555
EffOrt 1356
Larva 1304
Stork 410
Mini 368
BeSt 275
ZerO 240
Light 179
Rush 133
Snow 132
[ Show more ]
hero 120
Hyun 109
Mind 77
Zeus 58
Sharp 56
Shinee 46
Barracks 41
JYJ39
Movie 39
Aegong 29
Terrorterran 17
Rock 15
ajuk12(nOOB) 14
Noble 13
scan(afreeca) 12
IntoTheRainbow 10
SilentControl 10
zelot 9
HiyA 8
Hm[arnc] 7
Shine 7
Dota 2
Gorgc10806
qojqva2859
febbydoto10
League of Legends
singsing2532
Counter-Strike
markeloff130
Super Smash Bros
Mew2King139
amsayoshi31
Heroes of the Storm
Khaldor151
Other Games
hiko1326
FrodaN1120
B2W.Neo432
RotterdaM352
Liquid`VortiX315
Happy298
crisheroes212
ArmadaUGS96
Trikslyr47
QueenE36
ZerO(Twitch)21
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• poizon28 26
• iHatsuTV 12
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2810
• WagamamaTV377
League of Legends
• TFBlade873
Upcoming Events
uThermal 2v2 Circuit
30m
OSC
3h 30m
SHIN vs Bunny
Cham vs MaNa
SKillous vs TBD
PAPI vs Jumy
Gerald vs Moja
ArT vs TBD
Replay Cast
8h 30m
The PondCast
18h 30m
RSL Revival
18h 30m
ByuN vs Classic
Clem vs Cham
WardiTV European League
1d
Replay Cast
1d 8h
RSL Revival
1d 18h
herO vs SHIN
Reynor vs Cure
WardiTV European League
2 days
FEL
2 days
[ Show More ]
Korean StarCraft League
2 days
CranKy Ducklings
2 days
RSL Revival
2 days
FEL
3 days
Sparkling Tuna Cup
3 days
RSL Revival
3 days
FEL
3 days
BSL: ProLeague
4 days
Dewalt vs Bonyth
Replay Cast
5 days
Replay Cast
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
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
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.