• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 07:54
CET 13:54
KST 21:54
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA12
StarCraft 2
General
RSL Season 3: RO16 results & RO8 bracket SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
Data analysis on 70 million replays A cwal.gg Extension - Easily keep track of anyone soO on: FanTaSy's Potential Return to StarCraft [ASL20] Ask the mapmakers — Drop your questions FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Clair Obscur - Expedition 33 Stormgate/Frost Giant Megathread EVE Corporation Path of Exile [Game] Osu!
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
Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
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
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2235 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
Poland17450 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
Spain18131 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
Poland17450 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
Poland4733 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
Spain18131 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
Poland4733 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
Poland17450 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
Poland4733 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
Spain18131 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
Spain10132 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
SC Evo League
12:30
#16
SteadfastSC5
LiquipediaDiscussion
WardiTV Korean Royale
12:00
Group B
WardiTV1110
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko168
Rex 161
SortOf 143
MindelVK 30
trigger 20
SteadfastSC 5
StarCraft: Brood War
Britney 49484
Rain 2954
Larva 629
firebathero 475
PianO 459
Mini 384
Last 284
Killer 213
Rush 139
sorry 80
[ Show more ]
Aegong 68
Backho 42
zelot 35
soO 32
Movie 28
ToSsGirL 26
HiyA 25
yabsab 25
Oya187 21
Hm[arnc] 14
Purpose 13
ivOry 7
Terrorterran 7
Icarus 7
Dota 2
Gorgc3983
Dendi782
XcaliburYe321
League of Legends
JimRising 352
Reynor107
Counter-Strike
ScreaM1517
zeus937
oskar124
edward29
Super Smash Bros
Chillindude12
Heroes of the Storm
Khaldor214
Other Games
B2W.Neo1609
crisheroes370
Fuzer 101
Trikslyr29
Organizations
Dota 2
PGL Dota 2 - Main Stream25264
StarCraft 2
ComeBackTV 854
Other Games
gamesdonequick549
StarCraft: Brood War
lovetv 5
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota240
League of Legends
• Stunt848
Upcoming Events
IPSL
4h 6m
Julia vs Artosis
JDConan vs DragOn
OSC
4h 6m
BSL 21
7h 6m
TerrOr vs Aeternum
HBO vs Kyrie
RSL Revival
18h 36m
Wardi Open
1d 1h
IPSL
1d 7h
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
1d 7h
StRyKeR vs Artosis
OyAji vs KameZerg
OSC
1d 10h
OSC
1d 20h
Monday Night Weeklies
2 days
[ Show More ]
OSC
2 days
Wardi Open
2 days
Replay Cast
3 days
Wardi Open
3 days
Tenacious Turtle Tussle
4 days
The PondCast
4 days
Replay Cast
5 days
LAN Event
6 days
Replay Cast
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-16
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
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
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

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
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.