• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 16:47
CET 22:47
KST 06:47
  • 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
SC2 All-Star Invitational: Tournament Preview3RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2
Community News
BSL Season 2025 - Full Overview and Conclusion5Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)16Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 105
StarCraft 2
General
SC2 All-Star Invitational: Tournament Preview Stellar Fest "01" Jersey Charity Auction Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
SC2 All-Star Invitational: Jan 17-18 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship SC2 AI Tournament 2026 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
BSL Season 2025 - Full Overview and Conclusion Fantasy's Q&A video [ASL21] Potential Map Candidates BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[BSL21] Non-Korean Championship - Starts Jan 10 Small VOD Thread 2.0 Azhi's Colosseum - Season 2 [Megathread] Daily Proleagues
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026! Nintendo Switch Thread Mechabellum
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Canadian Politics Mega-thread European Politico-economics QA Mega-thread
Fan Clubs
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1699 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
Poland17609 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
Spain18190 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
Poland17609 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
Poland4740 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
Spain18190 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
Poland4740 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
Poland17609 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
Poland4740 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
Spain18190 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
Spain10135 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
BSL 21
20:00
Non-Korean Championship - D3
Mihu vs eOnzErG
Dewalt vs Sziky
Bonyth vs DuGu
XuanXuan vs eOnzErG
Dewalt vs eOnzErG
ZZZero.O234
LiquipediaDiscussion
AI Arena Tournament
20:00
Swiss - Round 2
Laughngamez YouTube
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nathanias 110
StarCraft: Brood War
ZZZero.O 234
Shuttle 122
Dewaltoss 118
firebathero 118
NaDa 15
Dota 2
Pyrionflax257
capcasts107
LuMiX1
Counter-Strike
FalleN 3664
fl0m2309
minikerr30
Other Games
summit1g8508
tarik_tv4309
Grubby3733
FrodaN2776
crisheroes418
Liquid`Hasu304
ToD281
KnowMe115
XaKoH 113
ViBE45
Organizations
Other Games
gamesdonequick2404
StarCraft 2
WardiTV768
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 22 non-featured ]
StarCraft 2
• StrangeGG 62
• HeavenSC 37
• printf 35
• poizon28 16
• musti20045 1
• Kozan
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 10
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21108
• lizZardDota258
League of Legends
• Jankos2668
• TFBlade1486
Other Games
• imaqtpie2230
• Shiphtur133
Upcoming Events
All-Star Invitational
5h 13m
MMA vs DongRaeGu
herO vs Solar
Clem vs Reynor
Rogue vs Oliveira
Sparkling Tuna Cup
12h 13m
OSC
14h 13m
Shameless vs NightMare
YoungYakov vs MaNa
Nicoract vs Jumy
Gerald vs TBD
Creator vs TBD
BSL 21
22h 13m
Bonyth vs Sziky
Mihu vs QiaoGege
Sziky vs XuanXuan
eOnzErG vs QiaoGege
Mihu vs DuGu
Dewalt vs Bonyth
IPSL
22h 13m
Dewalt vs Sziky
Replay Cast
1d 11h
Wardi Open
1d 14h
Monday Night Weeklies
1d 19h
The PondCast
3 days
Replay Cast
5 days
[ Show More ]
Big Brain Bouts
5 days
Serral vs TBD
BSL 21
6 days
Liquipedia Results

Completed

Escore Tournament S1: W4
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
OSC Championship Season 13
SC2 All-Star Inv. 2025
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 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.