• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 07:12
CET 13:12
KST 21:12
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team Liquid Map Contest #2310[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11
Community News
Weekly Cups (Nov 9-15): Clem and herO take over4Dark completes military service, returns to SC217[BSL23] RO16 Group Stage20Weekly Cups (Nov 2-8): herO back on top?2Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win0
StarCraft 2
General
No more SC2 streamers on team liquid? Team Liquid Map Contest #23 PupBud Robot Puppy Germany Weekly Cups (Nov 9-15): Clem and herO take over Dark completes military service, returns to SC2
Tourneys
soO & FanTaSy return! SC2 Kevin Scrim 4v4 (Nov 16) Sparkling Tuna Cup - Weekly Open Tournament RSL goes to London! 2026 Offline Finals Nov 21-22 Sea Duckling Open (Global, Bronze-Diamond) Dark returns! GSL CK #7 4v4 Team Battle (Nov 19)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[G] How to playtest arcade maps Starcraft 2 Advance [D] the control group Simple Questions/Answers
External Content
Mutation # 552 Secret Storm The PondCast: SC2 News & Results Mutation # 551 Robotic Revival Mutation # 550 Graveyard Shift
Brood War
General
List of top players active on ShieldBattery BW General Discussion Light introduces ShieldBattery on his YouTube BGH Auto Balance -> http://bghmmr.eu/ NaDa's Body
Tourneys
SC1 Kevin Scrim hosted by SOOP (Nov 18-19) [Megathread] Daily Proleagues [BSL23] Ro16 Group D - Sunday 21:00 CET [BSL23] Ro16 Group B - Saturday 21:00 CET
Strategy
Pluto's TvP 5Marine 2Medic Push Simple Questions, Simple Answers Infested Terran strategies in 2026 Nuke strategy worked in K-League 2026-11-09
Other Games
General Games
Stormgate/Frost Giant Megathread Warcraft III: The Frozen Throne Nintendo Switch Thread Free Space RTS Game, optimised f. Phone/Tablet etc List of Game Threads
Dota 2
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Trading/Investing Thread Artificial Intelligence Thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine
Fan Clubs
Fan Club Resource Thread Reynor Fan Club The Flash Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The time I organised my…
AssyrianKing
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
Can Bots Beat Pros?? Starcr…
namkraft
James Bond movies ranking - pa…
Topin
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 17511 users

Official 'what is Dota anymore' discussion - Page 9196

Forum Index > Dota 2 General
Post a Reply
Prev 1 9194 9195 9196 9197 9198 10602 Next
Faruko
Profile Joined April 2013
Chile34173 Posts
December 16 2017 12:19 GMT
#183901
At the end Trump is going to hurt the Republicans IMO

Endure this time and Democrats might have their greatest chance to take control of the country and do the stuff they never could
Ross was right // "Jesus Christ nahaz is doing shots before my eyes" (Sn0_Man, 2018)
PassiveAce
Profile Blog Joined February 2011
United States18076 Posts
December 16 2017 12:27 GMT
#183902
Nope its the beginning of the end abandon ship before the suction pulls you under
Call me Marge Simpson cuz I love you homie
Faruko
Profile Joined April 2013
Chile34173 Posts
December 16 2017 12:47 GMT
#183903
Or that
Ross was right // "Jesus Christ nahaz is doing shots before my eyes" (Sn0_Man, 2018)
PhoenixVoid
Profile Blog Joined December 2011
Canada32761 Posts
December 16 2017 14:38 GMT
#183904
On the good side it looks like Trump's undying fanbase is gradually breaking ranks, problem is Congress and House really don't care and are still voting lockstep with him. I expect another depressing cycle of terrible Republican president gets overthrown in massive Democrat wave of fightback and most of their policies overturned, only for the Dems to get complacent and allow for another godawful Republican to take office once they get lazy or choose a poor candidate.
I'm afraid of demented knife-wielding escaped lunatic libertarian zombie mutants
andyrau
Profile Joined December 2010
13015 Posts
December 16 2017 18:26 GMT
#183905
no 2019 is going to be huge for dems
"Zai is legitimately not as good as bulba." | kaipi ti3 champions
eieio
Profile Blog Joined November 2009
United States14512 Posts
Last Edited: 2017-12-16 19:10:55
December 16 2017 19:03 GMT
#183906
edit: I massively misread phoenixvoid's post lmfao

On December 16 2017 23:38 PhoenixVoid wrote:
On the good side it looks like Trump's undying fanbase is gradually breaking ranks, problem is Congress and House really don't care and are still voting lockstep with him. I expect another depressing cycle of terrible Republican president gets overthrown in massive Democrat wave of fightback and most of their policies overturned, only for the Dems to get complacent and allow for another godawful Republican to take office once they get lazy or choose a poor candidate.

i mean this is just objectively a bad take looking at polling at recent election results idk

dems taking the house/senate isn't a sure thing or something but the idea that they aren't gonna pick up seats in the house is pretty silly based on what we know right now


ok yeah we'll see politics is bad

can't believe I misread your post so hard that was rude of me loll
LiquidDota Staff
TL+ Member
teddyoojo
Profile Blog Joined June 2011
Germany22369 Posts
December 16 2017 19:04 GMT
#183907
think ursa graph guy directed that grandgrand short on bts stream
Esports historian since 2000. Creator of 'The Universe' and 'The best scrambled Eggs 2013'. Host of 'Star Wars Marathon 2015'. Thinker of 'teddyoojo's Thoughts'. Earths and Moons leading CS:GO expert. Lord of the Rings.
Nevuk
Profile Blog Joined March 2009
United States16280 Posts
Last Edited: 2017-12-16 20:34:15
December 16 2017 20:33 GMT
#183908
I got a programming question about my last java assignment (probably last programming assignment ever). I don't really "get" sets or trees or whatever (as far as I can tell it's just dynamic arrays?) which is what the assignment is about(learning sets), but my real issue is not knowing if my professor was confused when he wrote the question or not. He is about 25% of the time. It didn't sound like him so I googled it and found it online, so I'm guessing he got it from somewhere.

1) In this assignment, you will modify the Account class to implement the Comparable interface with a type specification such that Accounts and its subclasses can be sorted from lowest to highest balance using the Collections.sort(List ) method.


Does he mean the Comparable interface as written, or would Comparator make more sense?

(if you're curious the full question and the given code is at https://www.chegg.com/homework-help/questions-and-answers/start-file-accountjava-defines-account-object-see--assignment-modify-account-class-impleme-q25894723 . I wrote my own accounts file but it's pretty similar).


edit: after asking I immediately see examples of the comparable interface making use of Collections.sort).
eieio
Profile Blog Joined November 2009
United States14512 Posts
December 16 2017 20:42 GMT
#183909
On December 17 2017 05:33 Nevuk wrote:
I got a programming question about my last java assignment (probably last programming assignment ever). I don't really "get" sets or trees or whatever (as far as I can tell it's just dynamic arrays?) which is what the assignment is about(learning sets), but my real issue is not knowing if my professor was confused when he wrote the question or not. He is about 25% of the time. It didn't sound like him so I googled it and found it online, so I'm guessing he got it from somewhere.

Show nested quote +
1) In this assignment, you will modify the Account class to implement the Comparable interface with a type specification such that Accounts and its subclasses can be sorted from lowest to highest balance using the Collections.sort(List ) method.


Does he mean the Comparable interface as written, or would Comparator make more sense?

(if you're curious the full question and the given code is at https://www.chegg.com/homework-help/questions-and-answers/start-file-accountjava-defines-account-object-see--assignment-modify-account-class-impleme-q25894723 . I wrote my own accounts file but it's pretty similar).


edit: after asking I immediately see examples of the comparable interface making use of Collections.sort).

sets and trees are ways of structuring or storing data so that answering certain questions about the data is fast. It's a lot faster to check whether an item is in a set than it is to check whether an item is in an array (dynamic or not). It's a lot more efficient to use a tree for storage of key-value pairs than an array.

from what I remember of java I'd assume he'd want to have a class declaration along the lines of "class Account implements Comparable" which would let you sort a list of accounts.
LiquidDota Staff
TL+ Member
Nevuk
Profile Blog Joined March 2009
United States16280 Posts
December 16 2017 21:01 GMT
#183910
I was looking at the wrong chapter, explaining most of my confusion. (The assignment is focused on the chapter about Collections, not the one about hashsets which was throwing me)
eieio
Profile Blog Joined November 2009
United States14512 Posts
December 16 2017 21:24 GMT
#183911
On December 17 2017 06:01 Nevuk wrote:
I was looking at the wrong chapter, explaining most of my confusion. (The assignment is focused on the chapter about Collections, not the one about hashsets which was throwing me)

Good!

I still hope you don't end your class thinking sets and trees are just dynamic arrays!
LiquidDota Staff
TL+ Member
Nevuk
Profile Blog Joined March 2009
United States16280 Posts
December 16 2017 22:09 GMT
#183912
On December 17 2017 06:24 eieio wrote:
Show nested quote +
On December 17 2017 06:01 Nevuk wrote:
I was looking at the wrong chapter, explaining most of my confusion. (The assignment is focused on the chapter about Collections, not the one about hashsets which was throwing me)

Good!

I still hope you don't end your class thinking sets and trees are just dynamic arrays!

Sets/trees were our very last class. Kind of an extreme 16 week program, going through the first 800 pages of a programming textbook. I get how they're different, I'm just rarely going to ever use them.

I just made a kind of ridiculous mistake that took me like 20 minutes to figure out what the problem with this line of code was (it compiles and runs just fine... if you like infinite loops) :
while (checkingIterator.hasNext()) {
System.out.print(checkingIterator.hasNext() + " ");
}
Nevuk
Profile Blog Joined March 2009
United States16280 Posts
Last Edited: 2017-12-17 21:32:42
December 17 2017 00:26 GMT
#183913
I really do not understand iterators at all. I had
eieio
Profile Blog Joined November 2009
United States14512 Posts
Last Edited: 2017-12-17 01:26:24
December 17 2017 00:58 GMT
#183914
the idea of iterators is that they iterate through the thing once and then they're done. If you want to iterate through something multiple times you'll either need to rewind the iterator (there may be Prev method or something) or, more idiomatically, create a new iterator

Also I think you should be a little more generous to your professor! I'd be hesitant to call that a "bizarre lambda request"
some code/thoughts
+ Show Spoiler +

based on the comment "declare but don't initialize" I think what your professor wants is a declaration there (ie like this)

/** TODO
* declare an Iterator suitable for any of the account lists in this program
* but do not initialize it yet
*/
LinkedList<Object> linkedList = new LinkedList<>(mixedAccounts);


just that after the todo, and then before each of your while loops a line like this that actually initializes an iterator

ListIterator<Object> listIterator = linkedList.listIterator();

LiquidDota Staff
TL+ Member
Nevuk
Profile Blog Joined March 2009
United States16280 Posts
Last Edited: 2017-12-17 01:37:00
December 17 2017 01:25 GMT
#183915
On December 17 2017 09:58 eieio wrote:
the idea of iterators is that they iterate through the thing once and then they're done. If you want to iterate through something multiple times you'll either need to rewind the iterator (there may be Prev method or something) or, more idiomatically, create a new iterator

Also I think you should be a little more generous to your professor! I'd be hesitant to call that a "bizarre lambda request"

Well, it's only bizarre because he never told us how to use lambdas lol. Good professor, but it's really obvious that it's two classes mashed together and sped up a lot.

btw, there's not anything wrong with my comparator interface implementation is there? I think it might not be working but I'm not sure how to tell
eieio
Profile Blog Joined November 2009
United States14512 Posts
December 17 2017 01:42 GMT
#183916
On December 17 2017 10:25 Nevuk wrote:
btw, there's not anything wrong with my comparator interface implementation is there? I think it might not be working but I'm not sure how to tell

it's fine, but since you have two numbers to compare there's a trick that you could use to do it in one line instead
LiquidDota Staff
TL+ Member
cecek
Profile Blog Joined August 2011
Czech Republic18921 Posts
December 17 2017 01:58 GMT
#183917
Just hit legend for the first time in Hearthtone. Maybe my father will be proud of me now.
super gg
intotheheart
Profile Blog Joined January 2011
Canada33091 Posts
December 17 2017 01:58 GMT
#183918
The only way to know is to ask.
kiss kiss fall in love
tehh4ck3r
Profile Joined August 2013
Magrathea7087 Posts
December 17 2017 06:28 GMT
#183919
On December 17 2017 10:58 cecek wrote:
Just hit legend for the first time in Hearthtone. Maybe my father will be proud of me now.


Yeah but wild legend doesn’t count
AdministratorIn those days, spirits were brave, the stakes were high, men were real men, women were real women, and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri.
eieio
Profile Blog Joined November 2009
United States14512 Posts
December 17 2017 06:54 GMT
#183920
man, just remembered Kingdom of Loathing and spent like 30 minutes logged into the game lost in nostalgia n shit
LiquidDota Staff
TL+ Member
Prev 1 9194 9195 9196 9197 9198 10602 Next
Please log in or register to reply.
Live Events Refresh
GSL
20:30
GSL CK 7
IntoTheiNu 689
Maru 104
SHIN 91
Zoun (SOOP) 82
ByuN (SOOP) 56
Classic 52
CranKy Ducklings SOOP51
Solar (SOOP)42
Rex17
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
OGKoka 226
ProTech144
Maru 104
SHIN 91
Zoun (SOOP) 82
ByuN (SOOP) 56
Classic 52
Solar (SOOP) 42
Rex 17
StarCraft: Brood War
Britney 30311
Calm 7029
Horang2 6872
Shuttle 1106
BeSt 568
Soulkey 398
Larva 329
EffOrt 323
Light 200
Mini 176
[ Show more ]
Rush 170
Stork 167
Hyuk 165
FanTaSy 150
Last 148
Zeus 127
Mind 117
Snow 112
Leta 110
ggaemo 109
Pusan 92
Barracks 66
ZerO 57
Sharp 54
hero 52
ToSsGirL 40
Killer 28
sorry 27
sSak 26
Movie 18
Free 17
910 15
ajuk12(nOOB) 14
zelot 13
Sacsri 12
Hm[arnc] 11
Terrorterran 0
Dota 2
XcaliburYe290
XaKoH 242
Dendi155
BananaSlamJamma15
Gorgc0
League of Legends
Reynor69
Counter-Strike
x6flipin205
Heroes of the Storm
Trikslyr35
Other Games
summit1g10174
singsing4538
B2W.Neo679
olofmeister568
Lowko305
crisheroes193
Fuzer 104
ZerO(Twitch)9
Organizations
Other Games
gamesdonequick535
[ Show 10 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• iopq 11
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV698
Upcoming Events
Patches Events
1h 48m
OSC
3h 48m
Replay Cast
10h 48m
KCM Race Survival
21h 48m
Ultimate Battle
23h 48m
ZerO vs Bisu
RSL Revival
1d 22h
BSL
2 days
eOnzErG vs StRyKeR
Cross vs JDConan
RSL Revival
2 days
IPSL
3 days
Ret vs ggnore13
nOmaD vs Aether
BSL
3 days
Bonyth vs Doodle
Kyrie vs Jimin
[ Show More ]
Replay Cast
3 days
WardiTV Weekly
3 days
Kung Fu Cup
4 days
Solar vs Classic
ByuN vs SHIN
PiGosaur Cup
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-11-17
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
IPSL Winter 2026-27
Calamity Cup Div. A Season 8
Underdog Cup 2026 Div 2-3
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026

Upcoming

Sector 591
YSL S4
SC4ALL II: Brood War
NBSL 2026 Xiamen LAN
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
StarCraft2 Weekly Open Tournament 2026 Grand Finals
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
IEM Kraków 2027
PGL Bucharest 2027
BLAST Bounty Winter 2027
PGL Major Singapore 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.