The Big Programming Thread - Page 732
Forum Index > General Forum |
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
Hyrule18968 Posts
| ||
spinesheath
Germany8679 Posts
On June 01 2016 04:32 Shield wrote: 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). | ||
Manit0u
Poland17187 Posts
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? | ||
Ropid
Germany3557 Posts
| ||
Thaniri
1264 Posts
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
Canada1857 Posts
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. | ||
Djagulingu
Germany3605 Posts
| ||
![]()
tofucake
Hyrule18968 Posts
| ||
Nesserev
Belgium2760 Posts
| ||
![]()
tofucake
Hyrule18968 Posts
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. | ||
Manit0u
Poland17187 Posts
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... | ||
Dav1oN
Ukraine3164 Posts
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? | ||
emperorchampion
Canada9496 Posts
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. | ||
Dav1oN
Ukraine3164 Posts
On June 02 2016 01:29 emperorchampion wrote: 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 | ||
Djagulingu
Germany3605 Posts
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). | ||
Dav1oN
Ukraine3164 Posts
On June 02 2016 01:47 Djagulingu wrote: 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? | ||
Thaniri
1264 Posts
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
United States4650 Posts
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 | ||
Djagulingu
Germany3605 Posts
On June 02 2016 02:16 Thaniri wrote: 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: 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? | ||
Deleted User 101379
4849 Posts
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? | ||
| ||