• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 03:02
CET 09:02
KST 17:02
  • 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
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) Sea Duckling Open (Global, Bronze-Diamond) $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
Foreign Brood War BW General Discussion MBCGame Torrents [ASL20] Ask the mapmakers — Drop your questions Which season is the best in ASL?
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile ZeroSpace Megathread The Perfect Game
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 TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine The Big Programming Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
I decided to write a webnov…
DjKniteX
Physical Exertion During Gam…
TrAiDoS
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1209 users

The Big Programming Thread - Page 732

Forum Index > General Forum
Post a Reply
Prev 1 730 731 732 733 734 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.
tofucake
Profile Blog Joined October 2009
Hyrule19174 Posts
May 31 2016 19:48 GMT
#14621
Is German a requirement?
Liquipediaasante sana squash banana
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
May 31 2016 20:05 GMT
#14622
On June 01 2016 04:32 Shield wrote:
Show nested quote +
On June 01 2016 03:33 zatic wrote:
Usually Berlin salaries are indeed a joke. Countless open positions for coders - only problem they pay 25k ... I am talking more in the range of 50-60k which let's you live very comfortably in a cheap place like Berlin.


Why is the capital city cheap? Usually capital cities are expensive.

Most of east Germany (former DDR) isn't doing so well economically. Berlin still is more expensive than the surrounding area, but cities like Frankfurt and Munich are a lot more expensive (though they apparently somewhat make up for it through higher salaries).
If you have a good reason to disagree with the above, please tell me. Thank you.
Manit0u
Profile Blog Joined August 2004
Poland17499 Posts
May 31 2016 22:05 GMT
#14623
I know it's old but still:

http://www.artima.com/weblogs/viewpost.jsp?thread=4639

What are your thoughts on the matter? Is the C++ auto a step towards dropping static typing altogether in modern languages?
Time is precious. Waste it wisely.
Ropid
Profile Joined March 2009
Germany3557 Posts
May 31 2016 23:11 GMT
#14624
The C++ "auto" is perhaps not related to dynamic languages. Do you know about the "Hindley-Milner" type system? There's an algorithm that can find the most general type that fits with what you've written. You can then write code that looks like it's a dynamic language because there's no types mentioned anywhere, but it's actually static typing with polymorphism and you still get compile time errors. The languages you could take a look at are F# (uses .NET), OCaml, Haskell, Purescript (this one uses Javascript). I'd think that's where the idea for C++ "auto" comes from.
"My goal is to replace my soul with coffee and become immortal."
Thaniri
Profile Blog Joined March 2011
1264 Posts
Last Edited: 2016-06-01 02:12:54
June 01 2016 01:51 GMT
#14625
+ Show Spoiler +
Has anyone here tried Angular? I'm taking a stab at it, but not understanding even the most simple stuff.

http://codepen.io/thaniri/full/Wxbpvm/


Can't figure out why my search works in a table, but not in a <ul>.

It seems that <li> items are treated as an array, because whenever a search term is entered only a single letter works, and when that letter is removed the <li> items are returned but separated with commas.


edit:

Scratch that. Why would angular have ng-bind="example" and also {{example}}. It appears to be that using ng-bind to do multiple values just breaks things.
alexpnd
Profile Blog Joined March 2009
Canada1857 Posts
June 01 2016 05:10 GMT
#14626
It also seems you have your filter on the ng-repeat in the first but not the second. In the second you have it in the ng-bind.

On June 01 2016 10:51 Thaniri wrote:
+ Show Spoiler +
Has anyone here tried Angular? I'm taking a stab at it, but not understanding even the most simple stuff.

http://codepen.io/thaniri/full/Wxbpvm/


Can't figure out why my search works in a table, but not in a <ul>.

It seems that <li> items are treated as an array, because whenever a search term is entered only a single letter works, and when that letter is removed the <li> items are returned but separated with commas.


edit:

Scratch that. Why would angular have ng-bind="example" and also {{example}}. It appears to be that using ng-bind to do multiple values just breaks things.

www.brainyweb.ca //web stuff!
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
June 01 2016 08:48 GMT
#14627
Today's lesson learned: If you're going to use javascript, you should embrace it or you will hate it all the way.
"windows bash is a steaming heap of shit" tofucake
tofucake
Profile Blog Joined October 2009
Hyrule19174 Posts
Last Edited: 2016-06-01 12:46:45
June 01 2016 12:46 GMT
#14628
You'll hate it regardless. It's got so much potential, but it's been designed by committee so it turned out to have a bunch of really nice features early on (closures!) but still does some tremendously dumb things ([] + [] = null string)
Liquipediaasante sana squash banana
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
June 01 2016 13:16 GMT
#14629
--- Nuked ---
tofucake
Profile Blog Joined October 2009
Hyrule19174 Posts
June 01 2016 13:35 GMT
#14630
It has potential because if it were a single organization sitting down and designing it, it would be so much better (like how php has been massively updated over the past couple of years). Instead every feature and change is debated for months and it just takes a loooooong time for the standard to be updated, and then there's a huge transition period where engines don't necessarily all support the new feature.

For the record, I do like JS and use it all the time, but there's a whole lot of dumb shit it does which annoys me.
Liquipediaasante sana squash banana
Manit0u
Profile Blog Joined August 2004
Poland17499 Posts
June 01 2016 15:13 GMT
#14631
On June 01 2016 22:35 tofucake wrote:
It has potential because if it were a single organization sitting down and designing it, it would be so much better (like how php has been massively updated over the past couple of years). Instead every feature and change is debated for months and it just takes a loooooong time for the standard to be updated, and then there's a huge transition period where engines don't necessarily all support the new feature.

For the record, I do like JS and use it all the time, but there's a whole lot of dumb shit it does which annoys me.


PHP would be in a better place if said company wasn't Zend with their philosophy of "PHP is not a language for programmers so we'll keep a metric ton of bullshit in its core and allow people to do horrible things with it".

On another note, I'm fucking proud now. We managed to create a ZF1 project (requirement) that has status aware entities, allowing for softdeletable tables and other jazzy things, entities that perform automatic CUD on all related tables, services and data sources relying on DI to help with all of the above, reduce clutter and make it generally usable. On top of that we have full bootstrap3 layout, including zend forms (I fucking hate their dt, dd bullshit). All in all I would consider it a great achievement if not for the fact that we could've had all of the above, a lot more on top of that and all it working better with 2 days of working with something like Symfony or Laravel instead of 2 weeks of hacking in ZF1...
Time is precious. Waste it wisely.
Dav1oN
Profile Joined January 2012
Ukraine3164 Posts
Last Edited: 2016-06-01 16:31:31
June 01 2016 16:09 GMT
#14632
Hey guys, looking for advise and help

Got a task to make relativly simple "decision making system for personnel recruitment" (IT industry/company as an example)

Any suggestions how to actualize such task, or maybe some samples?
In memory of Geoff "iNcontroL" Robinson 11.09.1985 - 21.07.2019 A tribute to incredible man, embodiment of joy, esports titan, starcraft community pillar all in one. You will always be remembered!
emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
June 01 2016 16:29 GMT
#14633
On June 02 2016 01:09 cSc.Dav1oN wrote:
Hey guys, looking for advise and help

Got a task to make relativly simple "decision making system for personnel rectuitment" (IT industry/company as an example)

Any suggestions how to actualize such task, or maybe some samples?


Solve as some sort of optimization problem? Have some criteria with weights that you would pre-determine, then rank candidates, top X candidates get an interview.
TRUEESPORTS || your days as a respected member of team liquid are over
Dav1oN
Profile Joined January 2012
Ukraine3164 Posts
June 01 2016 16:35 GMT
#14634
On June 02 2016 01:29 emperorchampion wrote:
Show nested quote +
On June 02 2016 01:09 cSc.Dav1oN wrote:
Hey guys, looking for advise and help

Got a task to make relativly simple "decision making system for personnel rectuitment" (IT industry/company as an example)

Any suggestions how to actualize such task, or maybe some samples?


Solve as some sort of optimization problem? Have some criteria with weights that you would pre-determine, then rank candidates, top X candidates get an interview.


sounds similar as TOPSIS

in theory in must work with resume lists to find the best option to hire a new personnel, some kind of management tool or application if u say so
In memory of Geoff "iNcontroL" Robinson 11.09.1985 - 21.07.2019 A tribute to incredible man, embodiment of joy, esports titan, starcraft community pillar all in one. You will always be remembered!
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
June 01 2016 16:47 GMT
#14635
On June 02 2016 01:09 cSc.Dav1oN wrote:
Hey guys, looking for advise and help

Got a task to make relativly simple "decision making system for personnel rectuitment" (IT industry/company as an example)

Any suggestions how to actualize such task, or maybe some samples?

Take skills of personnel as input, give those skills some points (i.e. javascript is worth 5 points, html is worth 4 so on so forth), multiply that with sqrt of person's experience in the industry, let's call the result SPT.

1- Hire people with highest scores.
2- Let's say that the department is fully saturated and someone with an SPT of x applied and you have a worker with an SPT of y. If x > 1.3 * y and person with the SPT of x wants the same amount of salary as the person with the SPT of y gets, then fire the worker with y skill points and hire the worker with x skill points.

If the system is going to be really simple, then implementing first 2 will make the cut for it. If not:

3- Get past experiences and schools graduated for each people.
4- Get quarterly performance reviews of each people.
5- If an employee performs poorly for 3 quarters and has low SPT and you can have a replacement of at least equal amount of the SPT of the said person, fire the person and hire the replacement.
6- If an employee performs poorly for 4 quarters and you can have a replacement of at least 1.05 times the SPT of the said person, fire the person, hire the replacement.
7- Good performance review increases weight of prior companies and schools graduated of each employee with a factor of 0.015.
8- Bad performance review decreases weight of prior companies and schools graduated of each employee with a factor of 0.015.
9- Change hiring and firing criteria so that, instead of SPT, they now use WSPT, which is SPT * (1 + factors of prior).
"windows bash is a steaming heap of shit" tofucake
Dav1oN
Profile Joined January 2012
Ukraine3164 Posts
Last Edited: 2016-06-01 17:21:38
June 01 2016 17:14 GMT
#14636
On June 02 2016 01:47 Djagulingu wrote:
Show nested quote +
On June 02 2016 01:09 cSc.Dav1oN wrote:
Hey guys, looking for advise and help

Got a task to make relativly simple "decision making system for personnel rectuitment" (IT industry/company as an example)

Any suggestions how to actualize such task, or maybe some samples?

Take skills of personnel as input, give those skills some points (i.e. javascript is worth 5 points, html is worth 4 so on so forth), multiply that with sqrt of person's experience in the industry, let's call the result SPT.

1- Hire people with highest scores.
2- Let's say that the department is fully saturated and someone with an SPT of x applied and you have a worker with an SPT of y. If x > 1.3 * y and person with the SPT of x wants the same amount of salary as the person with the SPT of y gets, then fire the worker with y skill points and hire the worker with x skill points.

If the system is going to be really simple, then implementing first 2 will make the cut for it. If not:

3- Get past experiences and schools graduated for each people.
4- Get quarterly performance reviews of each people.
5- If an employee performs poorly for 3 quarters and has low SPT and you can have a replacement of at least equal amount of the SPT of the said person, fire the person and hire the replacement.
6- If an employee performs poorly for 4 quarters and you can have a replacement of at least 1.05 times the SPT of the said person, fire the person, hire the replacement.
7- Good performance review increases weight of prior companies and schools graduated of each employee with a factor of 0.015.
8- Bad performance review decreases weight of prior companies and schools graduated of each employee with a factor of 0.015.
9- Change hiring and firing criteria so that, instead of SPT, they now use WSPT, which is SPT * (1 + factors of prior).


thanks, the idea with points is pretty clear

what about UI? maybe WPF + some Webservices?
In memory of Geoff "iNcontroL" Robinson 11.09.1985 - 21.07.2019 A tribute to incredible man, embodiment of joy, esports titan, starcraft community pillar all in one. You will always be remembered!
Thaniri
Profile Blog Joined March 2011
1264 Posts
June 01 2016 17:16 GMT
#14637
On June 02 2016 01:09 cSc.Dav1oN wrote:
2- Let's say that the department is fully saturated and someone with an SPT of x applied and you have a worker with an SPT of y. If x > 1.3 * y and person with the SPT of x wants the same amount of salary as the person with the SPT of y gets, then fire the worker with y skill points and hire the worker with x skill points.


Is there nothing to be said for worker y who has been working longer and would therefore has a greater understanding of the business logic?
[X]Ken_D
Profile Blog Joined May 2005
United States4650 Posts
Last Edited: 2016-06-02 01:01:43
June 02 2016 01:00 GMT
#14638


I'm working on a game similar to this.

If there is a match of 4 connected, it pops then the pieces fall down. If the pieces that fall down then another 4 is connected that pops, repeat.

If I implement the chain reaction, what's the best datatype/method to do it? I thought about a 2D matrix to represent the board, but check each x-y value in the 2D matrix. If an x-y value contains a piece, I check each neighbor then recursive call check the neighbor of that neighbor until 4 pieces are connected. That's the less thinking way to do it. Can anyone suggest something better? Maybe implementation in graphs, adjacency list, trees, etc
[X]Domain - I just do the website. Nothing more.
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
June 02 2016 05:45 GMT
#14639
On June 02 2016 02:16 Thaniri wrote:
Show nested quote +
On June 02 2016 01:09 cSc.Dav1oN wrote:
2- Let's say that the department is fully saturated and someone with an SPT of x applied and you have a worker with an SPT of y. If x > 1.3 * y and person with the SPT of x wants the same amount of salary as the person with the SPT of y gets, then fire the worker with y skill points and hire the worker with x skill points.


Is there nothing to be said for worker y who has been working longer and would therefore has a greater understanding of the business logic?

Hence the multiplier. 1.3x might be lower than what it should be, but we're trying to hire the best people in the market. Also, the multiplier shouldn't be constant anyway, it must be "something plus k*(years of experience in our company)".

On June 02 2016 02:14 cSc.Dav1oN wrote:
Show nested quote +
On June 02 2016 01:47 Djagulingu wrote:
On June 02 2016 01:09 cSc.Dav1oN wrote:
Hey guys, looking for advise and help

Got a task to make relativly simple "decision making system for personnel rectuitment" (IT industry/company as an example)

Any suggestions how to actualize such task, or maybe some samples?

Take skills of personnel as input, give those skills some points (i.e. javascript is worth 5 points, html is worth 4 so on so forth), multiply that with sqrt of person's experience in the industry, let's call the result SPT.

1- Hire people with highest scores.
2- Let's say that the department is fully saturated and someone with an SPT of x applied and you have a worker with an SPT of y. If x > 1.3 * y and person with the SPT of x wants the same amount of salary as the person with the SPT of y gets, then fire the worker with y skill points and hire the worker with x skill points.

If the system is going to be really simple, then implementing first 2 will make the cut for it. If not:

3- Get past experiences and schools graduated for each people.
4- Get quarterly performance reviews of each people.
5- If an employee performs poorly for 3 quarters and has low SPT and you can have a replacement of at least equal amount of the SPT of the said person, fire the person and hire the replacement.
6- If an employee performs poorly for 4 quarters and you can have a replacement of at least 1.05 times the SPT of the said person, fire the person, hire the replacement.
7- Good performance review increases weight of prior companies and schools graduated of each employee with a factor of 0.015.
8- Bad performance review decreases weight of prior companies and schools graduated of each employee with a factor of 0.015.
9- Change hiring and firing criteria so that, instead of SPT, they now use WSPT, which is SPT * (1 + factors of prior).


thanks, the idea with points is pretty clear

what about UI? maybe WPF + some Webservices?

Just go with react + bootstrap native. Can't go wrong. Javascript has everything there is to it. Plus, you would like your system to work on an OS whose name is not windows, wouldn't you?
"windows bash is a steaming heap of shit" tofucake
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
June 02 2016 06:03 GMT
#14640
Speaking of hiring, does anyone have any experience with job advertisements?

We need to hire a programmer as replacement for me since I moved to project management after the previous PM left, but since we're pretty far away from any major population centers - office is 5km south of the danish border - it's pretty difficult finding competent programmers. The few "programmers" we found so far weren't really qualified for any programming job at all.

The local university and news papers didn't work out, neither did the employment office, so are there any job websites or such that worked well for your company?
Prev 1 730 731 732 733 734 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 58m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 144
ProTech91
StarCraft: Brood War
Larva 560
Stork 445
Leta 374
Killer 217
PianO 195
910 193
Zeus 131
EffOrt 102
Rush 46
Light 41
[ Show more ]
ZergMaN 38
NotJumperer 32
soO 31
sorry 30
Noble 11
Hm[arnc] 9
Sacsri 7
Dota 2
singsing2558
NeuroSwarm87
League of Legends
JimRising 573
Super Smash Bros
C9.Mang0497
hungrybox398
Mew2King79
Other Games
summit1g10213
WinterStarcraft542
trigger9
Organizations
Other Games
gamesdonequick1030
StarCraft: Brood War
UltimateBattle 66
lovetv 16
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH203
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1250
• HappyZerGling123
Upcoming Events
CranKy Ducklings
1h 58m
WardiTV 2025
3h 58m
SC Evo League
4h 28m
IPSL
8h 58m
Dewalt vs ZZZero
BSL 21
11h 58m
Sziky vs OyAji
Gypsy vs eOnzErG
OSC
13h 58m
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
Sparkling Tuna Cup
1d 1h
WardiTV 2025
1d 3h
OSC
1d 6h
IPSL
1d 8h
Bonyth vs KameZerg
[ Show More ]
BSL 21
1d 11h
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
2 days
Wardi Open
2 days
StarCraft2.fi
2 days
Monday Night Weeklies
2 days
Replay Cast
2 days
WardiTV 2025
3 days
StarCraft2.fi
3 days
PiGosaur Monday
3 days
StarCraft2.fi
4 days
Tenacious Turtle Tussle
4 days
The PondCast
5 days
WardiTV 2025
5 days
StarCraft2.fi
5 days
WardiTV 2025
6 days
Liquipedia Results

Completed

Proleague 2025-11-30
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
WardiTV 2025
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
RSL Offline Finals
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 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.