• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:07
CET 00:07
KST 08:07
  • 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
ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
2026 KongFu Cup Announcement3BGE Stara Zagora 2026 cancelled11Blizzard Classic Cup - Tastosis announced as captains15Weekly Cups (March 2-8): ByuN overcomes PvT block4GSL CK - New online series18
StarCraft 2
General
Blizzard Classic Cup - Tastosis announced as captains BGE Stara Zagora 2026 cancelled BGE Stara Zagora 2026 announced ByuL: The Forgotten Master of ZvT Terran AddOns placement
Tourneys
RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament 2026 KongFu Cup Announcement [GSL CK] Team Maru vs. Team herO StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 516 Specter of Death Mutation # 515 Together Forever Mutation # 514 Ulnar New Year
Brood War
General
BSL 22 Map Contest — Submissions OPEN to March 10 ASL21 General Discussion BGH Auto Balance -> http://bghmmr.eu/ Are you ready for ASL 21? Hype VIDEO Gypsy to Korea
Tourneys
[Megathread] Daily Proleagues [BSL22] Open Qualifiers & Ladder Tours IPSL Spring 2026 is here! ASL Season 21 Qualifiers March 7-8
Strategy
Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Zealot bombing is no longer popular?
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread PC Games Sales Thread No Man's Sky (PS4 and PC)
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
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
Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Mexico's Drug War Russo-Ukrainian War Thread NASA and the Private Sector
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
Formula 1 Discussion 2024 - 2026 Football Thread General nutrition recommendations Cricket [SPORT] TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1541 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
Poland17692 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
Spain18233 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
Poland17692 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
Poland4742 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
Spain18233 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
Poland4742 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
Poland17692 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
Poland4742 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
Spain18233 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
Spain10139 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
20:00
S22 - Ladder Tour #1
ZZZero.O89
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 360
PiGStarcraft156
Nathanias 101
JuggernautJason60
Ketroc 53
ROOTCatZ 53
Nina 31
StarCraft: Brood War
Sea 11073
ZZZero.O 89
Aegong 84
Backho 55
Dota 2
monkeys_forever326
canceldota22
LuMiX2
Super Smash Bros
hungrybox704
Heroes of the Storm
Khaldor304
Other Games
summit1g9885
FrodaN5593
Grubby4319
KnowMe407
crisheroes250
mouzStarbuck182
ArmadaUGS111
ViBE33
Organizations
Other Games
gamesdonequick2262
ComeBackTV 224
BasetradeTV50
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• musti20045 44
• HeavenSC 41
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• Azhi_Dahaki13
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21399
League of Legends
• Doublelift4524
• Scarra835
Other Games
• imaqtpie1303
Upcoming Events
Sparkling Tuna Cup
10h 53m
RSL Revival
10h 53m
ByuN vs SHIN
Maru vs Krystianer
WardiTV Team League
12h 53m
Patches Events
17h 53m
BSL
20h 53m
Replay Cast
1d
Replay Cast
1d 9h
Wardi Open
1d 12h
Monday Night Weeklies
1d 17h
OSC
2 days
[ Show More ]
WardiTV Team League
2 days
GSL
3 days
The PondCast
4 days
KCM Race Survival
4 days
WardiTV Team League
4 days
Replay Cast
5 days
KCM Race Survival
5 days
WardiTV Team League
5 days
Korean StarCraft League
6 days
uThermal 2v2 Circuit
6 days
BSL
6 days
Liquipedia Results

Completed

Proleague 2026-03-13
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
BSL Season 22
RSL Revival: Season 4
Nations Cup 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

CSL Elite League 2026
ASL Season 21
Acropolis #4 - TS6
2026 Changsha Offline CUP
Acropolis #4
IPSL Spring 2026
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
NationLESS Cup
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 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.