• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:18
CEST 09:18
KST 16:18
  • 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
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Weekly Cups (June 30 - July 6): Classic Doubles4[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66Weekly Cups (June 23-29): Reynor in world title form?14FEL Cracov 2025 (July 27) - $8000 live event22
StarCraft 2
General
The GOAT ranking of GOAT rankings How Esports Is Reshaping the Future of Competitive Weekly Cups (June 30 - July 6): Classic Doubles The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form?
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
i aint gon lie to u bruh... BGH Auto Balance -> http://bghmmr.eu/ ASL20 Preliminary Maps [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile What do you want from future RTS games? Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025! US Politics Mega-thread Russo-Ukrainian War Thread Summer Games Done Quick 2024!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
momentary artworks from des…
tankgirl
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 661 users

The Big Programming Thread - Page 817

Forum Index > General Forum
Post a Reply
Prev 1 815 816 817 818 819 1031 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
Poland17244 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
Poland17244 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 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 2h 42m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
GuemChi 1256
actioN 1009
Tasteless 243
Leta 234
PianO 232
Soma 123
Dewaltoss 71
Movie 36
Sacsri 32
EffOrt 31
[ Show more ]
Free 27
yabsab 26
Bale 18
Dota 2
ODPixel304
XcaliburYe257
League of Legends
JimRising 640
Counter-Strike
Stewie2K1778
shoxiejesuss22
Other Games
summit1g9494
SortOf117
Mew2King89
Liquid`RaSZi56
Organizations
Other Games
gamesdonequick12603
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH366
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2114
League of Legends
• Rush1431
• Lourlo1188
• HappyZerGling136
Upcoming Events
Sparkling Tuna Cup
2h 42m
WardiTV European League
8h 42m
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
16h 42m
The PondCast
1d 2h
WardiTV European League
1d 4h
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
1d 8h
Replay Cast
1d 16h
RSL Revival
2 days
ByuN vs SHIN
Clem vs Reynor
Replay Cast
2 days
RSL Revival
3 days
Classic vs Cure
[ Show More ]
FEL
3 days
RSL Revival
4 days
FEL
4 days
FEL
4 days
CSO Cup
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
5 days
RSL Revival
5 days
FEL
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Liquipedia Results

Completed

BSL Season 20
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.