• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:43
CEST 17:43
KST 00:43
  • 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
[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists16[ASL21] Ro16 Preview Pt1: Fresh Flow9[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0
Community News
2026 GSL Season 1 Qualifiers13Maestros of the Game 2 announced82026 GSL Tour plans announced14Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid24
StarCraft 2
General
Maestros of the Game 2 announced Team Liquid Map Contest #22 - The Finalists MaNa leaves Team Liquid 2026 GSL Tour plans announced Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament 2026 GSL Season 1 Qualifiers GSL CK: More events planned pending crowdfunding RSL Revival: Season 5 - Qualifiers and Main Event Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 522 Flip My Base The PondCast: SC2 News & Results Mutation # 521 Memorable Boss Mutation # 520 Moving Fees
Brood War
General
ASL21 General Discussion Any progamer "explanation" videos like this one? Data needed BGH Auto Balance -> http://bghmmr.eu/ ASL21 Strategy, Pimpest Plays Discussions
Tourneys
[ASL21] Ro16 Group D [Megathread] Daily Proleagues [ASL21] Ro16 Group C [ASL21] Ro16 Group B
Strategy
Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend? Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread Dawn of War IV Starcraft Tabletop Miniature Game General RTS Discussion Thread Battle Aces/David Kim RTS Megathread
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story Cricket [SPORT]
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2099 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
Poland17731 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
Poland17731 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 8h 17m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 185
ProTech108
Railgan 49
StarCraft: Brood War
Britney 51796
Calm 5884
Horang2 2158
Jaedong 1990
Mini 419
BeSt 338
ggaemo 310
Soma 304
Hyuk 272
firebathero 271
[ Show more ]
Rush 216
Light 206
actioN 178
Dewaltoss 86
Soulkey 77
Backho 63
Sharp 58
Hyun 58
ToSsGirL 49
sSak 41
Killer 38
Movie 34
soO 29
Hm[arnc] 26
IntoTheRainbow 24
Rock 24
HiyA 22
Sacsri 18
scan(afreeca) 17
GoRush 12
NotJumperer 10
Terrorterran 7
Dota 2
Gorgc6631
qojqva1826
Counter-Strike
olofmeister2232
ScreaM1671
fl0m1452
byalli597
zeus212
edward99
Super Smash Bros
Mew2King112
Other Games
FalleN 2999
singsing1717
hiko719
FrodaN711
B2W.Neo646
Mlord515
Trikslyr139
KnowMe127
QueenE89
ArmadaUGS85
Organizations
Dota 2
PGL Dota 2 - Main Stream14284
Other Games
BasetradeTV205
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• LUISG 30
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis2857
• TFBlade1871
• Jankos1524
Other Games
• WagamamaTV166
• Shiphtur112
Upcoming Events
Replay Cast
8h 17m
The PondCast
18h 17m
KCM Race Survival
18h 17m
WardiTV Map Contest Tou…
19h 17m
Gerald vs herO
Clem vs Cure
ByuN vs Solar
Rogue vs MaxPax
ShoWTimE vs TBD
OSC
23h 17m
CranKy Ducklings
1d 8h
Escore
1d 18h
RSL Revival
2 days
Replay Cast
2 days
WardiTV Map Contest Tou…
2 days
[ Show More ]
Universe Titan Cup
2 days
Rogue vs Percival
Ladder Legends
2 days
uThermal 2v2 Circuit
2 days
BSL
3 days
Sparkling Tuna Cup
3 days
WardiTV Map Contest Tou…
3 days
Ladder Legends
3 days
BSL
4 days
Replay Cast
4 days
Replay Cast
4 days
Wardi Open
4 days
Afreeca Starleague
4 days
Soma vs TBD
Monday Night Weeklies
5 days
Replay Cast
5 days
Afreeca Starleague
5 days
TBD vs YSC
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-04-20
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
StarCraft2 Community Team League 2026 Spring
WardiTV TLMC #16
Nations Cup 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026

Upcoming

Escore Tournament S2: W4
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
2026 GSL S1
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 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.