• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:55
CET 14:55
KST 22:55
  • 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
TL.net Map Contest #21: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation4Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
[TLMC] Fall/Winter 2025 Ladder Map Rotation Mech is the composition that needs teleportation t Weekly Cups (Nov 3-9): Clem Conquers in Canada Craziest Micro Moments Of All Time? SC: Evo Complete - Ranked Ladder OPEN ALPHA
Tourneys
Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle Terran 1:35 12 Gas Optimization BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET [ASL20] Grand Finals [Megathread] Daily Proleagues
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile Dawn of War IV
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 SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread The Games Industry And ATVI
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1347 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
Turkey779 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
Poland17429 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
Poland17429 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
Kung Fu Cup
12:00
2025 Monthly #3: Day 1
Reynor vs GuMihoLIVE!
ByuN vs ShoWTimE
RotterdaM523
TKL 182
Rex146
IntoTheiNu 103
SteadfastSC88
Liquipedia
OSC
11:30
Mid Season Playoffs
Cure vs SpiritLIVE!
Krystianer vs Percival
WardiTV446
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 523
Reynor 227
TKL 182
Rex 146
SteadfastSC 88
StarCraft: Brood War
Calm 4495
Rain 2923
Bisu 2701
Hyuk 2015
Horang2 1304
Flash 797
Soma 464
Backho 369
Stork 340
Rush 261
[ Show more ]
Pusan 197
Last 133
Soulkey 115
JulyZerg 104
Barracks 79
hero 58
sSak 33
zelot 31
Aegong 28
sas.Sziky 24
Killer 23
Terrorterran 11
Noble 9
Hm[arnc] 7
Dota 2
Gorgc2155
qojqva1591
Dendi1136
XcaliburYe181
BananaSlamJamma86
Counter-Strike
olofmeister911
allub158
Super Smash Bros
Mew2King127
Other Games
B2W.Neo990
hiko295
DeMusliM285
Pyrionflax260
Sick170
Fuzer 164
Hui .86
QueenE46
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Adnapsc2 9
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1641
• WagamamaTV400
League of Legends
• Nemesis1689
• TFBlade702
Upcoming Events
Tenacious Turtle Tussle
9h 5m
The PondCast
20h 5m
RSL Revival
20h 5m
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
22h 5m
WardiTV Korean Royale
22h 5m
PiGosaur Monday
1d 11h
RSL Revival
1d 20h
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
1d 22h
CranKy Ducklings
2 days
RSL Revival
2 days
herO vs Gerald
ByuN vs SHIN
[ Show More ]
Kung Fu Cup
2 days
IPSL
3 days
ZZZero vs rasowy
Napoleon vs KameZerg
BSL 21
3 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
3 days
RSL Revival
3 days
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
3 days
WardiTV Korean Royale
3 days
BSL 21
4 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
4 days
Dewalt vs WolFix
eOnzErG vs Bonyth
Wardi Open
4 days
Monday Night Weeklies
5 days
WardiTV Korean Royale
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
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.