• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:29
CET 12:29
KST 20:29
  • 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
ByuL: The Forgotten Master of ZvT1Behind the Blue - Team Liquid History Book16Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 9-15): herO doubles up0ACS replaced by "ASL Season Open" - Starts 21/0224LiuLi Cup: 2025 Grand Finals (Feb 10-16)44Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker14
StarCraft 2
General
ByuL: The Forgotten Master of ZvT Nexon's StarCraft game could be FPS, led by UMS maker Weekly Cups (Feb 9-15): herO doubles up How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? StarCraft 1 & 2 Added to Xbox Game Pass
Tourneys
LiuLi Cup: 2025 Grand Finals (Feb 10-16) WardiTV Team League Season 10 PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) $5,000 WardiTV Winter Championship 2026 StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
Mutation # 513 Attrition Warfare The PondCast: SC2 News & Results Mutation # 512 Overclocked Mutation # 511 Temple of Rebirth
Brood War
General
Gypsy to Korea Ladder maps - how we can make blizz update them? TvZ is the most complete match up Which units you wish saw more use in the game? BW General Discussion
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Fighting Spirit mining rates Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta
Other Games
General Games
What Game makes you happy and stress free? ZeroSpace Megathread Nintendo Switch Thread Diablo 2 thread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Best Refurbished Laptop Under 20K in India -EAZYPC Russo-Ukrainian War Thread Ask and answer stupid questions here! Things Aren’t Peaceful in Palestine
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Search For Meaning in Vi…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2065 users

The Big Programming Thread - Page 817

Forum Index > General Forum
Post a Reply
Prev 1 815 816 817 818 819 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.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2016-12-17 12:34:46
December 17 2016 01:41 GMT
#16321
Somehow I knew this would happen. 69.92% as my final grade in my calc 2 class. Need a 70% to pass. No idea what my professor will do. So exciting!


edit: oh shit I just saw the syllabus as 69% to 72% is a c-.

YESSSS

ok I guess I won't celebrate until I see the grade, though.


I guess this has nothing to do with programming. Well let's just say it means I get to take low level programming and discrete structures classes next semester

edit2: officially got my grade. with curve it looks like a got a C. never been so happy for a C before.
3FFA
Profile Blog Joined February 2010
United States3931 Posts
December 17 2016 18:25 GMT
#16322
Congrats travis!
"As long as it comes from a pure place and from a honest place, you know, you can write whatever you want."
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
December 17 2016 19:07 GMT
#16323
On December 17 2016 10:41 travis wrote:
Somehow I knew this would happen. 69.92% as my final grade in my calc 2 class. Need a 70% to pass. No idea what my professor will do. So exciting!


edit: oh shit I just saw the syllabus as 69% to 72% is a c-.

YESSSS

ok I guess I won't celebrate until I see the grade, though.


I guess this has nothing to do with programming. Well let's just say it means I get to take low level programming and discrete structures classes next semester

edit2: officially got my grade. with curve it looks like a got a C. never been so happy for a C before.

I once took a non-credit class. It had a single final exam for grading and nothing else. I bombed that aforementioned final exam and (needless to say) I failed the class. I didn't object to the final exam or the grade either.

Beginning of the next term, I was talking to my academic advisor, he asked me what I did the previous semester, I told him that I failed that non-credit class, he said "but this system says you passed that class". I checked the system and yes, I passed.

Moral of the story, sometimes you shouldn't celebrate even after seeing the grade and wait for the start of the next semester.
"windows bash is a steaming heap of shit" tofucake
mantequilla
Profile Blog Joined June 2012
Turkey781 Posts
December 17 2016 19:46 GMT
#16324
On December 17 2016 10:41 travis wrote:
Somehow I knew this would happen. 69.92% as my final grade in my calc 2 class. Need a 70% to pass. No idea what my professor will do. So exciting!


edit: oh shit I just saw the syllabus as 69% to 72% is a c-.

YESSSS

ok I guess I won't celebrate until I see the grade, though.


I guess this has nothing to do with programming. Well let's just say it means I get to take low level programming and discrete structures classes next semester

edit2: officially got my grade. with curve it looks like a got a C. never been so happy for a C before.


well you better get an a on programming with whole TL backing you
Age of Mythology forever!
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2016-12-18 02:08:03
December 17 2016 20:49 GMT
#16325
haha thats not gonna happen, I don't think I'll get higher than a B
it's a tough class a B is pretty good

but you guys are certainly very helpful


edit: I got a B+. I did very well on the final. Good stuff.
Aerisky
Profile Blog Joined May 2012
United States12129 Posts
Last Edited: 2016-12-18 04:30:21
December 18 2016 04:29 GMT
#16326
Congrats! I wish I had your attitude of curiosity and patience when I started out. To this day I really regret it, and it really messed up my mentality throughout college and made things an enormous struggle such that I'm still catching up.

I think you have a fantastic attitude of just learning, actively asking questions, and persevering. Keep it up dude
Jim while Johnny had had had had had had had; had had had had the better effect on the teacher.
Wrath
Profile Blog Joined July 2014
3174 Posts
December 18 2016 07:47 GMT
#16327
On December 18 2016 04:46 mantequilla wrote:
Show nested quote +
On December 17 2016 10:41 travis wrote:
Somehow I knew this would happen. 69.92% as my final grade in my calc 2 class. Need a 70% to pass. No idea what my professor will do. So exciting!


edit: oh shit I just saw the syllabus as 69% to 72% is a c-.

YESSSS

ok I guess I won't celebrate until I see the grade, though.


I guess this has nothing to do with programming. Well let's just say it means I get to take low level programming and discrete structures classes next semester

edit2: officially got my grade. with curve it looks like a got a C. never been so happy for a C before.


well you better get an a on programming with whole TL backing you


If only I knew TL when I was in colleague...
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2016-12-18 21:09:03
December 18 2016 21:05 GMT
#16328
On December 17 2016 03:13 mantequilla wrote:
in android, who takes care of the screens flow?

like a screen closes after an operation and another screen opens. I tried to do the flow in service, passing views as parameters to service methods to let the service decide when will the screen close and started new activities from services to decide which screen will be displayed next in what case etc.

But sometimes the screen needs to be closed without user interaction, so there's no calling a service method, in that case I used broadcasts from service, and activities as broadcast listeners.

I guess the norm is handling flow in activities but doesn't that give a lot of responsibility to them? They are both aware of the layout components and app flow logic. In that case, when I need to reuse a screen, should I only reuse the layout.xml file with a different activity?


I wrote some android in school but that was only to save the day, so whatever worked I didn't mess with.


I think you're being a bit deliberately vague about screens. There's no such thing as a screen in Android unless you're using your own view framework, so whether you're talking about a Fragment, custom View, or even a Activity changes how you would approach the problem because they all host a "screen" in a different way. It also depends on how your application is laid out, a single Activity application which manages custom Views, the more out-of-date multi-Activity multi-Fragment approach, a single Activity multi-Fragment approach, some combination of them all. As I ranted about randomly in the last ~100 pages Android has way too many ways to do the same thing and the community standards evolve faster than you can really keep up with because in general you're kind of solving problems, not looking for Android best practices and mixing up the two makes things super slow.

Anyways I think your navigation is unnecessarily complicated. In Android as long as you have the current context you can force navigation at any point in time by calling `context.startActivity(new Intent(...));`. So at any point in your workflow you can just push a new screen - no need to retransmit to receivers. Your presentation logic should be in the ViewModel or Presenter anyways, so your Services shouldn't need to know what View is presented. If you're waiting for a transaction to complete before closing a view, you should just be using a callback, in whatever way you want to implement callbacks.

In general the activity is basically both a view and a view model/presenter - it's aware of and can manage the view and services - also why Android is kinda shitty. When the Activity gets too large, you can push view logic to a custom view, and push presentation logic to a custom presenter, and attach the two abstractly in the activity. However, I don't think it's generally necessary in small projects.

In general reusing a layout is a bad idea because you introduce a dependency on a separate feature when you're modifying another. You can make the case for view/edit views but even then it's arguable. Instead of reusing layouts you can move the common layout elements to a separate view and include the view in both layouts.

I've been in the middle of learning the new RxAndroid stuff as well as learning React Native so like, what even is Android anymore...
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17663 Posts
December 19 2016 04:10 GMT
#16329
Why not just go with something like Electron?
Time is precious. Waste it wisely.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
December 19 2016 04:29 GMT
#16330
On December 19 2016 13:10 Manit0u wrote:
Why not just go with something like Electron?


I think you have platforms crossed. Electron can't build for mobile, can it?

Anyways I'm still a total JavaScript noob so I kind of hate all JavaScript-ness. I like the structure in C-like languages. Maybe if I ever do real work with JS.
There is no one like you in the universe.
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
December 19 2016 05:22 GMT
#16331
On December 18 2016 13:29 Aerisky wrote:
Congrats! I wish I had your attitude of curiosity and patience when I started out. To this day I really regret it, and it really messed up my mentality throughout college and made things an enormous struggle such that I'm still catching up.

I think you have a fantastic attitude of just learning, actively asking questions, and persevering. Keep it up dude

I love how everyone in here knows so much about programming and software, and manages to stay positive. A lot of programming spaces are very elitist, or dickish, but we don't have much of that here.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
3FFA
Profile Blog Joined February 2010
United States3931 Posts
December 19 2016 06:37 GMT
#16332
On December 19 2016 14:22 WarSame wrote:
Show nested quote +
On December 18 2016 13:29 Aerisky wrote:
Congrats! I wish I had your attitude of curiosity and patience when I started out. To this day I really regret it, and it really messed up my mentality throughout college and made things an enormous struggle such that I'm still catching up.

I think you have a fantastic attitude of just learning, actively asking questions, and persevering. Keep it up dude

I love how everyone in here knows so much about programming and software, and manages to stay positive. A lot of programming spaces are very elitist, or dickish, but we don't have much of that here.

On that note, how do you guys stay positive and motivated?
"As long as it comes from a pure place and from a honest place, you know, you can write whatever you want."
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
December 19 2016 09:46 GMT
#16333
On December 19 2016 15:37 3FFA wrote:
Show nested quote +
On December 19 2016 14:22 WarSame wrote:
On December 18 2016 13:29 Aerisky wrote:
Congrats! I wish I had your attitude of curiosity and patience when I started out. To this day I really regret it, and it really messed up my mentality throughout college and made things an enormous struggle such that I'm still catching up.

I think you have a fantastic attitude of just learning, actively asking questions, and persevering. Keep it up dude

I love how everyone in here knows so much about programming and software, and manages to stay positive. A lot of programming spaces are very elitist, or dickish, but we don't have much of that here.

On that note, how do you guys stay positive and motivated?

Blaming others always helps.

Our external development contractor is awful, the Magento codebase ist a mess and I can't properly develop anyways, because we don't get local admin on our PCs and after the first skirmishes with the admins I think we probably won't ever get it, so I don't feel pressured to even try to work half as hard as I could, which is very relaxing and positive. True, it's not very motivated, but, hey, I'm having lots of ideas for private projects that I could do instead
Khalum
Profile Joined September 2010
Austria831 Posts
December 19 2016 11:16 GMT
#16334
Why would you not give developers local admin rights..? O.o
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2016-12-19 11:40:42
December 19 2016 11:32 GMT
#16335
On December 19 2016 20:16 Khalum wrote:
Why would you not give developers local admin rights..? O.o


"Security"

Actually, the Story ist even funnier:
Another development team (Lotus Notes Plugin development) in the company had local admin. I then asked whether my fledgeling team could get local admin, too.

Head admin: "I didn't know anyone still had local admin" - and then he took the permissions away from them.

After one of the admins asked me what git was I don't have a high opinion of their competence.
Manit0u
Profile Blog Joined August 2004
Poland17663 Posts
December 19 2016 13:24 GMT
#16336
On December 19 2016 13:29 Blisse wrote:
Show nested quote +
On December 19 2016 13:10 Manit0u wrote:
Why not just go with something like Electron?


I think you have platforms crossed. Electron can't build for mobile, can it?

Anyways I'm still a total JavaScript noob so I kind of hate all JavaScript-ness. I like the structure in C-like languages. Maybe if I ever do real work with JS.


Yeah, my bad
Time is precious. Waste it wisely.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
December 19 2016 16:14 GMT
#16337
--- Nuked ---
phar
Profile Joined August 2011
United States1080 Posts
December 19 2016 17:22 GMT
#16338
On December 19 2016 15:37 3FFA wrote:
Show nested quote +
On December 19 2016 14:22 WarSame wrote:
On December 18 2016 13:29 Aerisky wrote:
Congrats! I wish I had your attitude of curiosity and patience when I started out. To this day I really regret it, and it really messed up my mentality throughout college and made things an enormous struggle such that I'm still catching up.

I think you have a fantastic attitude of just learning, actively asking questions, and persevering. Keep it up dude

I love how everyone in here knows so much about programming and software, and manages to stay positive. A lot of programming spaces are very elitist, or dickish, but we don't have much of that here.

On that note, how do you guys stay positive and motivated?

Part of it is just enjoying solving problems with code. Getting paid to do that is a plus. Also helps that my company explicitly tries to screen out assholes with superiority complexes, so there's at least fewer of them around.
Who after all is today speaking about the destruction of the Armenians?
Birdie
Profile Blog Joined August 2007
New Zealand4438 Posts
December 19 2016 20:59 GMT
#16339
There is actually a Youtube loop toggle now, if you rightclick the video there's an option.
Red classic | A butterfly dreamed he was Zhuangzi | 4.5k, heading to 5k as support!
BluzMan
Profile Blog Joined April 2006
Russian Federation4235 Posts
December 19 2016 21:07 GMT
#16340
On December 19 2016 15:37 3FFA wrote:
Show nested quote +
On December 19 2016 14:22 WarSame wrote:
On December 18 2016 13:29 Aerisky wrote:
Congrats! I wish I had your attitude of curiosity and patience when I started out. To this day I really regret it, and it really messed up my mentality throughout college and made things an enormous struggle such that I'm still catching up.

I think you have a fantastic attitude of just learning, actively asking questions, and persevering. Keep it up dude

I love how everyone in here knows so much about programming and software, and manages to stay positive. A lot of programming spaces are very elitist, or dickish, but we don't have much of that here.

On that note, how do you guys stay positive and motivated?

There's a fine line which separates healthy competition from toxic workspace atmosphere. It's hard to keep it in check at times, but I'm trying. Programming is kinda special in this regard since you can win a lot of talks just by being objectively right, but that very thing makes people a little bit unforgiving at those times when you're objectively wrong about something. I just try to remember that the guy who seems outright aggressive really wants the same thing as me: to make better software, so we can have really heated discussions in code review sessions, but still stay friendly at the coffee point later on.

This post seems quite clumsy, but I guess I'll just leave it that way.
You want 20 good men, but you need a bad pussy.
Prev 1 815 816 817 818 819 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 31m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Britney 20017
Sea 2463
GuemChi 2074
Bisu 1643
Horang2 1392
Larva 433
actioN 319
Mini 236
ggaemo 192
sorry 136
[ Show more ]
Pusan 106
Backho 86
Mong 82
ToSsGirL 70
Shuttle 64
NaDa 43
scan(afreeca) 25
[sc1f]eonzerg 22
Noble 20
soO 20
Sacsri 15
Dota 2
Gorgc1012
XcaliburYe57
League of Legends
JimRising 419
Counter-Strike
olofmeister3290
shoxiejesuss953
byalli438
x6flipin78
kRYSTAL_42
edward29
Other Games
summit1g10293
B2W.Neo269
crisheroes194
Fuzer 156
Trikslyr31
Organizations
Counter-Strike
PGL16586
StarCraft: Brood War
UltimateBattle 108
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH209
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota240
League of Legends
• Nemesis2204
• Lourlo1173
Upcoming Events
WardiTV Winter Champion…
31m
PiGosaur Cup
13h 31m
Replay Cast
21h 31m
WardiTV Winter Champion…
1d
Replay Cast
1d 12h
PiG Sty Festival
1d 21h
Maru vs Bunny
Classic vs SHIN
The PondCast
1d 22h
KCM Race Survival
1d 22h
WardiTV Winter Champion…
2 days
OSC
2 days
[ Show More ]
Replay Cast
2 days
PiG Sty Festival
2 days
Clem vs Percival
Zoun vs Solar
Epic.LAN
3 days
Replay Cast
3 days
PiG Sty Festival
3 days
herO vs NightMare
Reynor vs Cure
CranKy Ducklings
3 days
Epic.LAN
4 days
Replay Cast
4 days
PiG Sty Festival
4 days
Serral vs YoungYakov
ByuN vs ShoWTimE
Sparkling Tuna Cup
4 days
Replay Cast
5 days
Replay Cast
5 days
Wardi Open
6 days
Replay Cast
6 days
Liquipedia Results

Completed

C-League Week 31
LiuLi Cup: 2025 Grand Finals
Underdog Cup #3

Ongoing

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

Upcoming

Escore Tournament S1: King of Kings
[S:21] ASL SEASON OPEN 1st Round
[S:21] ASL SEASON OPEN 1st Round Qualifier
Spring Cup 2026: China & Korea Invitational
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
Acropolis #4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
PiG Sty Festival 7.0
WardiTV Winter 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.