• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 23:40
CEST 05:40
KST 12:40
  • 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
[ASL21] Ro8 Preview Pt2: Progenitors4Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists22
Community News
RSL Revival: Season 5 - Qualifiers and Main Event10Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15
StarCraft 2
General
Code S Season 1 (2026) - RO12 Results Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Team Liquid Map Contest #22 - The Finalists Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool MaNa leaves Team Liquid
Tourneys
StarCraft Evolution League (SC Evo Biweekly) $1,400 SEL Season 3 Ladder Invitational RSL Revival: Season 5 - Qualifiers and Main Event GSL Code S Season 1 (2026) SC2 INu's Battles#15 <BO.9 2Matches>
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
[ASL21] Ro8 Preview Pt2: Progenitors Why there arent any 256x256 pro maps? BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ ASL21 General Discussion
Tourneys
[ASL21] Ro8 Day 3 [ASL21] Ro8 Day 2 [Megathread] Daily Proleagues Escore Tournament StarCraft Season 2
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread Daigo vs Menard Best of 10 Diablo IV
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Movie Stars In Video Games: …
TrAiDoS
ramps on octagon
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1376 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
Poland17743 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
Spain18285 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
Poland17743 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
Poland4751 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
Spain18285 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
Poland4751 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
Poland17743 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
Poland4751 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
Spain18285 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
Spain10142 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
Patches Events
00:00
The 5.4k Patch Clash #17
CranKy Ducklings132
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech134
StarCraft: Brood War
GuemChi 6428
Mind 267
910 57
Nal_rA 45
NaDa 35
Noble 25
Leta 15
Dota 2
NeuroSwarm108
League of Legends
JimRising 830
Counter-Strike
tarik_tv4994
taco 947
m0e_tv1
Super Smash Bros
hungrybox1431
Mew2King65
Other Games
summit1g10042
C9.Mang0732
monkeys_forever557
WinterStarcraft454
Maynarde108
ViBE97
Organizations
Other Games
gamesdonequick780
BasetradeTV434
Dota 2
PGL Dota 2 - Main Stream45
StarCraft: Brood War
UltimateBattle 19
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• CranKy Ducklings SOOP38
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RayReign 31
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo735
• Rush708
Upcoming Events
Replay Cast
5h 20m
Afreeca Starleague
6h 20m
Jaedong vs Light
Wardi Open
7h 20m
Monday Night Weeklies
12h 20m
Replay Cast
20h 20m
Sparkling Tuna Cup
1d 6h
Afreeca Starleague
1d 6h
Snow vs Flash
WardiTV Invitational
1d 7h
SHIN vs Nicoract
Solar vs Nice
GSL
2 days
Classic vs Cure
Maru vs Rogue
GSL
3 days
SHIN vs Zoun
ByuN vs herO
[ Show More ]
OSC
3 days
OSC
3 days
Replay Cast
3 days
Escore
4 days
The PondCast
4 days
WardiTV Invitational
4 days
Zoun vs Ryung
Lambo vs ShoWTimE
Replay Cast
4 days
CranKy Ducklings
5 days
RSL Revival
5 days
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
5 days
Krystianer vs TriGGeR
Cure vs Rogue
uThermal 2v2 Circuit
5 days
BSL
5 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
6 days
BSL
6 days
Liquipedia Results

Completed

Proleague 2026-05-02
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

YSL S3
Escore Tournament S2: W6
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 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.