• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:01
CEST 03:01
KST 10:01
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Serral wins HomeStory Cup 2914Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
Balance hotfix patch 5.0.16b (July 16)36Reynor: GSL Loss Wasn't About Preparation Format16[IPSL] Spring 2026 Grand Finals - This Weekend!5Weekly Cups (July 6 - 12): Protoss strike back12BSL Season 22 Full Overview & Conclusion8
StarCraft 2
General
Balance hotfix patch 5.0.16b (July 16) [D] Wireframe Casting Removed Clem: "I don't have that much hope in Blizzard" Reynor: GSL Loss Wasn't About Preparation Format Is the larve respawn broken?
Tourneys
Master Swan Open (Global Bronze-Master 2) WardiTV Summer Cup 2026 GSL CK #5 Race War RSL Revival: Season 6 - Qualifiers and Main Event HomeStory Cup 29
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 534 Burning Evacuation Mutation # 533 Die Together Mutation # 532 Nuclear Family
Brood War
General
Etiquete rules in Asl? BW General Discussion Recent recommended BW games Recommended FPV games (post-KeSPA) Pros Debate: Zerg Unfairly Nerfed? (ASL S22 map)
Tourneys
Escore Tournament - Season 3 Small VOD Thread 2.0 [IPSL] Spring 2026 Grand Finals - This Weekend! [Megathread] Daily Proleagues
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Creating a full chart of Zerg builds Relatively freeroll strategies
Other Games
General Games
General RTS Discussion Thread Path of Exile Nintendo Switch Thread Beyond All Reason Stormgate/Frost Giant Megathread
Dota 2
Looking for a Dota Mentor 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
TL Mafia
TL Mafia Power Rank NeO.D_StephenKing vs This Guy From 1 Million Dance TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread UK Politics Mega-thread YouTube Thread
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Series you have seen recently...
Sports
2024 - 2026 Football Thread MLB/Baseball 2023 McBoner: A hockey love story Tennis[sport] Formula 1 Discussion
World Cup 2022
Tech Support
Simple Questions Simple Answers FPS when play League Of Legend on laptop How to clean a TTe Thermaltake keyboard?
TL Community
Northern Ireland Global Starcraft The Automated Ban List
Blogs
Poker (part 2)
Nebuchad
The Experiences We Want and …
TrAiDoS
An Exploration of th…
waywardstrategy
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Evil Gacha Games and the…
ffswowsucks
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6208 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
Poland17794 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
Poland17794 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
Replay Cast
00:00
Crank Gathers S4: Group Stage
CranKy Ducklings69
LiquipediaDiscussion
PSISTORM Gaming Misc
23:00
FSL playoffsTeamLeague STvsASH
Freeedom25
Liquipedia
The PiG Daily
22:00
Best Games of SC
ByuN vs Clem
MaxPax vs TBD
Serral vs ByuN
GgMaChine vs Bunny
PiGStarcraft614
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft614
ViBE242
SpeCial 137
FoxeR 1
StarCraft: Brood War
Leta 812
Dota 2
NeuroSwarm148
Counter-Strike
summit1g7025
taco 15
Super Smash Bros
hungrybox463
Mew2King156
Heroes of the Storm
Trikslyr71
Other Games
gofns10588
tarik_tv4905
shahzam890
ToD129
XaKoH 129
PPMD22
Organizations
Other Games
gamesdonequick1731
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• davetesta29
• Hupsaiya 28
• RyuSc2 28
• OhrlRock 1
• IndyKCrew
• sooper7s
• intothetv
• Kozan
• AfreecaTV YouTube
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Pr0nogo 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Other Games
• Shiphtur657
Upcoming Events
RSL Revival
7h 59m
Clem vs Lambo
Scarlett vs Cure
CranKy Ducklings
8h 59m
Epic.LAN
11h 59m
IPSL
14h 59m
Dragon vs Hawk
RSL Revival
1d 7h
Classic vs Trap
herO vs SHIN
Sparkling Tuna Cup
1d 8h
OSC
1d 11h
IPSL
1d 14h
Bonyth vs Ret
WardiTV Weekly
2 days
Monday Night Weeklies
2 days
[ Show More ]
PiGosaur Cup
3 days
The PondCast
4 days
Replay Cast
5 days
CrankTV Team League
5 days
Replay Cast
5 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Escore Tournament S3: W3
HSC XXIX
Eternal Conflict S2 E2

Ongoing

IPSL Spring 2026
Acropolis #4
YSL S3
CSL 2026 Summer (S21)
KCM Race Survival 2026 Season 3
ASL S22 SEASON OPEN Day 1
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
SCTL 2026 Spring
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026

Upcoming

Escore Tournament S3: W4
ASL S22 SEASON OPEN Day 2
Escore Tournament S3: W5
CSLAN 4
Blizzard Classic Cup 2026
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
Light Tournament 2026
Eternal Conflict S2 Finale
Eternal Conflict S2 E3
Logitech G Connect 2026
StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
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.