• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:57
CEST 10:57
KST 17:57
  • 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
Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview8[ASL21] Finals Preview: Two Legacies21
Community News
ZeroSpace at Steam NextFest - Last free demo16Weekly Cups (June 8-14): Clem and Solar double, PTR tested0RSL: S6 Finals played at BlizzCon 202611Douyu Cup 2026: $20,000 Legends Event (June 26-28)10[BSL22] Non-Korean Championship from 13 to 28 June4
StarCraft 2
General
Force Vital (Honest Reviews)~2026 Force Vital: (We Tried It 365) My Honest Review! StarCraft II 5.0.16 PTR Patch Notes may 26th Daily SC2 Player Grid - feedback wanted Code S Season 2 (2026) - RO8 Preview
Tourneys
GSL CK #4 20-21th June Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Crank Gathers Season 4: BW vs SC2 Team League Douyu Cup 2026: $20,000 Legends Event (June 26-28)
Strategy
[G] Having the right mentality to improve
Custom Maps
Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
Mutation # 530 One For All The PondCast: SC2 News & Results Mutation # 529 Opportunities Unleashed Mutation # 528 Infection Detected
Brood War
General
STARCRAFT MOVIE - Last Night at the Command center BGH Auto Balance -> http://bghmmr.eu/ Battle cruiser feet vs Carrier fleet Fact based Zerg Upgrade Tier List vespene.gg — BW replays in browser
Tourneys
[Megathread] Daily Proleagues CSLAN 4 is Coming! Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers Relatively freeroll strategies Creating a full chart of Zerg builds Why doesn't anyone use restoration?
Other Games
General Games
Path of Exile ZeroSpace at Steam NextFest - Last free demo Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace 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
Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread [H]Internet/Gaming Cafe Tips and Tricks The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion
Sports
2024 - 2026 Football Thread McBoner: A hockey love story TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
How To Predict Tilt in Espor…
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
Why RTS gamers make better f…
gosubay
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8748 users

The Big Programming Thread - Page 1019

Forum Index > General Forum
Post a Reply
Prev 1 1017 1018 1019 1020 1021 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.
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
June 15 2020 14:16 GMT
#20361
I agree with Nesserev. I think the PC approach to get to these terms is a little silly, but I've always hated the use of the term master branch. Main branch is a much better name.

Same with master/slave. Manager/worker is better.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Manit0u
Profile Blog Joined August 2004
Poland17770 Posts
June 15 2020 15:01 GMT
#20362
On June 15 2020 23:16 WarSame wrote:
I agree with Nesserev. I think the PC approach to get to these terms is a little silly, but I've always hated the use of the term master branch. Main branch is a much better name.

Same with master/slave. Manager/worker is better.


While I agree with you I'm actually more concerned of where this will lead and when will it end. Sure, slave does sound bad no matter how you look at it but master can have many meanings that need not relate to slavery (soon they'll take away your master's degree in identity politics).

I'm really afraid though that if we start renaming things and will implement manager/worker instead of master/slave then it won't be long when a 3rd wave of communism strikes and will demand that it be changed because we should not use terms reserved for a working class etc. etc.

Another thing is that if we remove all slavery related words from our vocabularies we might actually forget that slavery even existed, but that's a talk for another topic
Time is precious. Waste it wisely.
Acrofales
Profile Joined August 2010
Spain18320 Posts
June 15 2020 15:06 GMT
#20363
On June 15 2020 23:16 WarSame wrote:
I agree with Nesserev. I think the PC approach to get to these terms is a little silly, but I've always hated the use of the term master branch. Main branch is a much better name.

Same with master/slave. Manager/worker is better.

Except that master/slave in the case of hdd has nothing to do with manager/worker. Primary/secondary would be a better description, but was already use with a different meaning. But slavery being bad for humans doesn't make slavery bad for hard disks. I don't see the problem at all. It's not as if we are oppressing that poor secondary drive (or DB).

Master git branch I agree doesn't make much sense. Even in the sense of master copy it doesn't make much sense, as the idea of a master copy is that it is immutable. And is the "original" from which copies are made, whereas the "master git branch" has that meaning, but is also where eventually changes are merged into. Master just doesn't make a lot of sense here, and main would better describe what it is.

WarSame
Profile Blog Joined February 2010
Canada1950 Posts
June 15 2020 15:21 GMT
#20364
For master/slave I was thinking more of node clusters, where manager/worker makes sense. If HDD has a different term that works better than manager/worker then go for it!
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
June 15 2020 18:10 GMT
#20365
Imho people have to realize that words change meaning with context. A master branch is what it is. Would we stop using the word "race" for the sports event? Should we abolish the number 88?

I do think it's important to do something about racism, but trying to rename things that only relate to it because they share a word does not help. I get that this is an emotional time and that people are more sensitive about such words right now. But it only gives other people a reason to be annoyed with these movements.
If you have a good reason to disagree with the above, please tell me. Thank you.
Manit0u
Profile Blog Joined August 2004
Poland17770 Posts
June 17 2020 09:19 GMT
#20366
[image loading]

Made my day.
Time is precious. Waste it wisely.
JohnNelson
Profile Joined June 2020
3 Posts
June 22 2020 02:10 GMT
#20367
hmmm...

User was banned for this post.
necrosexy
Profile Joined March 2011
451 Posts
June 22 2020 15:28 GMT
#20368
any recommended .NET guides?
Silvanel
Profile Blog Joined March 2003
Poland4767 Posts
Last Edited: 2020-07-07 10:44:51
July 07 2020 10:41 GMT
#20369
So due to COVID the corporation i work for decided to make global wide salary cut of 10%. As a result of country specific regulations/circumstances in some countries (most importatnly in Germany/Poland) it turned out to be preferable to do this by cutting work time by 10%. So starting August i will be working 10% less for 10% salary. Fair enough.

However our project is already streteched and we often do overtime. No way we keep delivering working 10% time less. Everyone recognized that. As a result additional people will be hired to cover this missing 10%. Since it is huge project they will hire around 45 people to cover that missing time. Those people will need to be trained of course and it will take several months before they can contribute in a meaningful way to the project. It will also take someones time to train them. It would be cheaper to just let us work 100% time but hey, no exceptions!
Pathetic Greta hater.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
July 07 2020 11:20 GMT
#20370
--- Nuked ---
Acrofales
Profile Joined August 2010
Spain18320 Posts
July 07 2020 13:28 GMT
#20371
On July 07 2020 20:20 Nesserev wrote:
Show nested quote +
On July 07 2020 19:41 Silvanel wrote:
So due to COVID the corporation i work for decided to make global wide salary cut of 10%. As a result of country specific regulations/circumstances in some countries (most importatnly in Germany/Poland) it turned out to be preferable to do this by cutting work time by 10%. So starting August i will be working 10% less for 10% salary. Fair enough.

However our project is already streteched and we often do overtime. No way we keep delivering working 10% time less. Everyone recognized that. As a result additional people will be hired to cover this missing 10%. Since it is huge project they will hire around 45 people to cover that missing time. Those people will need to be trained of course and it will take several months before they can contribute in a meaningful way to the project. It will also take someones time to train them. It would be cheaper to just let us work 100% time but hey, no exceptions!

It has been known since the sixties that the "mongolian hordes approach" doesn't work. What a bunch of idiots.

To be fair to the company, this sounds like a fairly typical outcome of a negotiation between the company and a workers' union. The unions are generally super fearful of "exceptions" to this type of rule, as management (ab)uses it to exempt themselves, whereas the bottom of the foodchain laborers get hit without fail. So this type of "absolutely no exception" kinda thing is general a rule from the union, not a company thing. If it were up to the company, they'd probably improve that 10% efficiency by selectively furloughing 10% of the employees (or maybe not, but picking specific areas where people work considerably shorter). But while that would be efficient, it also isn't fair.

My company is in a similar spot, but they've allowed a few exceptions (particularly customer service, whose workload increased considerably due to covid), and in general, deadlines are simply pushed back to adapt to reduced working times.
Silvanel
Profile Blog Joined March 2003
Poland4767 Posts
July 07 2020 19:01 GMT
#20372
Anyway, few days ago we delivered SW to client and it was accepted by their R&D. Now it will go to their QA, we will get some tickets and fix them but still it is pretty huge milestone. We will have some small party now on Friday (small cause COVID) i am now deliberting whether to go or not. This SW will first go into new S-class, will post video when its costumer ready/available.
Pathetic Greta hater.
Pataracts
Profile Joined May 2012
Canada3 Posts
July 07 2020 20:40 GMT
#20373
On June 16 2020 00:01 Manit0u wrote:
While I agree with you I'm actually more concerned of where this will lead and when will it end. Sure, slave does sound bad no matter how you look at it but master can have many meanings that need not relate to slavery (soon they'll take away your master's degree in identity politics).

I'm really afraid though that if we start renaming things and will implement manager/worker instead of master/slave then it won't be long when a 3rd wave of communism strikes and will demand that it be changed because we should not use terms reserved for a working class etc. etc.

Another thing is that if we remove all slavery related words from our vocabularies we might actually forget that slavery even existed, but that's a talk for another topic


I'm having trouble understanding what you're afraid of, to be honest. Master might be just a word from your perspective, but to Black people (and others) it has a very specific meaning that has its roots in generations of dehumanizing slavery and trauma (that hasn't actually stopped and is still ongoing today). If we can all agree to move away from certain language so that everyone can feel safe and comfortable, why not do that?

As far as the red scare/communism stuff goes... I really don't think the slope is that slippery. What exactly is so bad about finding language that best fits what we're trying to communicate? What's so scary?
Pataracts
Profile Joined May 2012
Canada3 Posts
July 07 2020 20:43 GMT
#20374
Does anyone have any advice on how best to create android apps that are centered around privacy? Was thinking about "degooglfying" my phone and trying to find/create some replacement software for things that I can't find in F-Droid.
Manit0u
Profile Blog Joined August 2004
Poland17770 Posts
Last Edited: 2020-07-08 09:07:14
July 08 2020 07:58 GMT
#20375
On July 08 2020 05:43 Pataracts wrote:
Does anyone have any advice on how best to create android apps that are centered around privacy? Was thinking about "degooglfying" my phone and trying to find/create some replacement software for things that I can't find in F-Droid.


Android and privacy are antonyms



But seriously, it's hard to do any form of security on a smartphone without losing a bunch of features. You shouldn't really allow anything the location access, but then you can kiss maps and such goodbye. The same goes for camera, microphone, bluetooth and wi-fi.

Recently I've been thinking of going back to something like Nokia 3310. I don't really need most of the features of smartphones and the only thing I'd miss would be my bank app. 99% of the time my phone is just lying somewhere, being useless.
Time is precious. Waste it wisely.
Silvanel
Profile Blog Joined March 2003
Poland4767 Posts
Last Edited: 2020-07-13 13:25:10
July 13 2020 13:11 GMT
#20376
Ok, so here is a link to new Daimler video with presentation of new S class (mainly digital solutions) that i promised: https://media.mercedes-benz.com/player/3cf9cf47-17ae-4c80-9787-58e509fede88 Part of it is just spent talking but later on they show of some cool features (features start around 10:10)
Pathetic Greta hater.
Acrofales
Profile Joined August 2010
Spain18320 Posts
July 13 2020 13:21 GMT
#20377
On July 13 2020 22:11 Silvanel wrote:
Ok, so here is a link to new Daimler video with presentation of new S class (mainly digital solutions) that i promised: https://media.mercedes-benz.com/player/3cf9cf47-17ae-4c80-9787-58e509fede88 Part of it is just spent talking but later on they show of some cool features (starts around 10:10)

Very snazzy. Congrats!
Ujin19
Profile Joined July 2020
1 Post
July 14 2020 12:38 GMT
#20378
--- Nuked ---
Godwrath
Profile Joined August 2012
Spain10148 Posts
Last Edited: 2020-07-19 12:03:22
July 19 2020 12:03 GMT
#20379
I am sure this is trivial for most of you, so i apologize. I started to study programming, right now I am with java, sql, html, css, etc.

I have a doubt with an exercise and enums. Mostly about how it is the correct way to use it. I have a polymorphism exercise where I have three kinds of employees, sellers, secretaries and bosses.

I created an enum with the kind of job they do, and a field to contain such a job in employee, so secretary will have in that field, secretary from the enum.

+ Show Spoiler +
enum Jobs{Secretario,Vendedor,JefeZona};

protected Jobs job;


My problem comes how should i approach this, right now i have it in the constructor of each subclass of employee:

+ Show Spoiler +
public Secretario(String despacho, String fax, String nombre, String apellidos, String DNI,
String direccion, int anyos_antiguedad, String telefono, double salario, String supervisor) {
super(nombre, apellidos, DNI, direccion, anyos_antiguedad, telefono, salario, supervisor);
this.office = despacho;
this.fax = fax;
this.job = Jobs.Secretario;
}


But I don't know if this is correct, or if it will create some problems down the line. Can I assign a value in the constructor or should i always give it as a parameter? Are we allowed to do this ? The thing is, if i create an instance of secretary, its job will always be secretary, that's why i am assigning the job directly in the constructor, but i don't know if this is correct.

Thanks in advance guys.
Furikawari
Profile Joined February 2014
France2522 Posts
July 19 2020 12:23 GMT
#20380
Hmmm if it's about polymorphism enums is not the way to go. Probably what is expected is something along the line of an employee class and the 3 other ones inheriting from it.
Prev 1 1017 1018 1019 1020 1021 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 2h 3m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Mini 1433
Larva 294
EffOrt 118
actioN 98
Mind 87
GoRush 85
Sharp 39
yabsab 28
NotJumperer 28
Hm[arnc] 24
[ Show more ]
Bale 16
League of Legends
JimRising 569
Counter-Strike
Sick232
Other Games
Hui .229
KnowMe178
Pyrionflax94
RuFF_SC243
amsayoshi35
XlorD0
Organizations
Dota 2
PGL Dota 2 - Main Stream5726
PGL Dota 2 - Secondary Stream4741
Other Games
gamesdonequick804
StarCraft: Brood War
UltimateBattle 40
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH304
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt511
• HappyZerGling127
Upcoming Events
WardiTV Spring Champion…
2h 3m
GSL
3h 3m
Maru vs Reynor
Lambo vs Solar
IPSL
7h 3m
Hawk vs Julia
Patches Events
8h 3m
BSL22 NKC (BSL vs China)
10h 3m
Dewalt vs Messiah
Bonyth vs Mihu
TerrOr vs XuanXuan
eOnzErG vs Messiah
Jaystar vs Mihu
Dewalt vs XuanXuan
Bonyth vs TerrOr
Replay Cast
15h 3m
WardiTV Weekly
1d 2h
Monday Night Weeklies
1d 7h
Sparkling Tuna Cup
2 days
The PondCast
3 days
[ Show More ]
Douyu Cup 2020
3 days
Oliveira vs Trap
Jieshi vs XY
soO vs FanTaSy
TY vs Coffee
Douyu Cup 2020
4 days
Neeb vs Impact
MacSed vs Cyan
Scarlett vs Kelazhur
INnoVation vs Dear
Douyu Cup 2020
5 days
Maestros of the Game
6 days
herO vs Classic
Maru vs Serral
BSL22 NKC (BSL vs China)
6 days
Douyu Cup 2020
6 days
Liquipedia Results

Completed

Proleague 2026-06-19
uThermal 2v2 2026 Main Event
Heroes Pulsing #2

Ongoing

IPSL Spring 2026
Acropolis #4
CSCL: Masked Kings S4
YSL S3
BSL 22 Non-Korean Championship
CSL Season 21: Qualifier 1
SCTL 2026 Spring
Maestros of the Game 2
WardiTV Spring 2026
Murky Cup 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026

Upcoming

CSL Season 21: Qualifier 2
CSL 2026 Summer (S21)
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
Douyu Cup 2026
BCC 2026
Light HT
Heroes Pulsing #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 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.