• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:58
CEST 08:58
KST 15:58
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL61Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event20Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Statistics for vetoed/disliked maps Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) [GSL 2025] Code S: Season 2 - Semi Finals & Finals
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL Player “Jedi” cheat on CSL ASL20 Preliminary Maps SC uni coach streams logging into betting site BGH Mineral Boosts Tutorial Video
Tourneys
[BSL20] Grand Finals - Sunday 20:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Trading/Investing Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 532 users

The Big Programming Thread - Page 733

Forum Index > General Forum
Post a Reply
Prev 1 731 732 733 734 735 1031 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.
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
June 02 2016 06:49 GMT
#14641
On June 02 2016 15:03 Morfildur wrote:
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?

5 km south of the danish border? You can hire from Denmark, I guess?
"windows bash is a steaming heap of shit" tofucake
zatic
Profile Blog Joined September 2007
Zurich15325 Posts
Last Edited: 2016-06-02 06:58:24
June 02 2016 06:58 GMT
#14642
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.
ModeratorI know Teamliquid is known as a massive building
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
June 02 2016 07:17 GMT
#14643
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


Well, our meetings contain sentences like "Can you open pornhub for a moment"

It's difficult though, the local programmers tend to be god awful at best, but non-free porn doesn't pay as much as it used to, so we can't really offer competent people the money they would earn in Hamburg or Hannover or such and so it's unlikely to convince anyone to move (though it's cheaper to live here, too). At least I now have influence over the wages, so I can make sure that experienced people are paid more than entry level wages, because in the end it still saves money to have a great programmer who finishes stuff in a week than a bad programmer that finishes stuff in a month and produces a mess while doing it.

We'll probably still have to settle with someone who doesn't know the difference between an abstract class and an interface, just to have enough manpower to finish the projects this year.
Khalum
Profile Joined September 2010
Austria831 Posts
Last Edited: 2016-06-02 07:33:19
June 02 2016 07:31 GMT
#14644
I live in Austria's 2nd biggest city (which of course isn't big at all) and it's actually impossible to find a c++ developer that has any idea of geometric algorithms and/or photogrammetry. So yeah, I know what you're talking about.

And I'd happily take someone from university but these people just want to code apps for smartphones.
zatic
Profile Blog Joined September 2007
Zurich15325 Posts
June 02 2016 08:38 GMT
#14645
On June 02 2016 16:17 Morfildur wrote:
Show nested quote +
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


Well, our meetings contain sentences like "Can you open pornhub for a moment"

It's difficult though, the local programmers tend to be god awful at best, but non-free porn doesn't pay as much as it used to, so we can't really offer competent people the money they would earn in Hamburg or Hannover or such and so it's unlikely to convince anyone to move (though it's cheaper to live here, too). At least I now have influence over the wages, so I can make sure that experienced people are paid more than entry level wages, because in the end it still saves money to have a great programmer who finishes stuff in a week than a bad programmer that finishes stuff in a month and produces a mess while doing it.

We'll probably still have to settle with someone who doesn't know the difference between an abstract class and an interface, just to have enough manpower to finish the projects this year.

Then the only option I see is to look locally for people that appear bright enough to be trained on the job. The reality simply is that excellent programmers can pick and choose where to work, and Porsche Research in Stuttgart sounds and pays a lot better than Internet porn in the most remote corner of Germany.
ModeratorI know Teamliquid is known as a massive building
Dav1oN
Profile Joined January 2012
Ukraine3164 Posts
June 02 2016 09:42 GMT
#14646
On June 02 2016 14:45 Djagulingu wrote:
Show nested quote +
On June 02 2016 02:16 Thaniri wrote:
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)".

Show nested quote +
On June 02 2016 02:14 cSc.Dav1oN wrote:
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?


Aiming on Win OS actually :D at least with current task. Won't handle JS honestly, but there is seems like an option to make in all simply with visualstudio?
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
Last Edited: 2016-06-02 11:28:48
June 02 2016 11:26 GMT
#14647
On June 02 2016 17:38 zatic wrote:
Show nested quote +
On June 02 2016 16:17 Morfildur wrote:
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


Well, our meetings contain sentences like "Can you open pornhub for a moment"

It's difficult though, the local programmers tend to be god awful at best, but non-free porn doesn't pay as much as it used to, so we can't really offer competent people the money they would earn in Hamburg or Hannover or such and so it's unlikely to convince anyone to move (though it's cheaper to live here, too). At least I now have influence over the wages, so I can make sure that experienced people are paid more than entry level wages, because in the end it still saves money to have a great programmer who finishes stuff in a week than a bad programmer that finishes stuff in a month and produces a mess while doing it.

We'll probably still have to settle with someone who doesn't know the difference between an abstract class and an interface, just to have enough manpower to finish the projects this year.

Then the only option I see is to look locally for people that appear bright enough to be trained on the job. The reality simply is that excellent programmers can pick and choose where to work, and Porsche Research in Stuttgart sounds and pays a lot better than Internet porn in the most remote corner of Germany.

Well, you can always hire from the rest of the world? Top talent in Germany might be too good to work for a porn company in the upper left corner (or wherever Denmark border is) of Germany, but that won't be the case for top talent in a country in the middle east, africa, SEA (taiwan, vietnam, indonesia, malaysia and such). Then the only issue is to teach them some German and you're all set. Check Times Higher Education, find some shitty countries with top 100/200/whatever universities, aim for their graduates on linkedin. Easy shit. In fact, if my job was to hire people for a software company in Germany (or any other country that can give an eu blue card), I would never ever face a difficulty.

Totally off topic, like absofuckinglutely off topic and shit: The difference between an abstract class and an interface is that an abstract class can contain variables, method implementations (like setters and getters for variables) while an interface can not.

On June 02 2016 18:42 cSc.Dav1oN wrote:
Show nested quote +
On June 02 2016 14:45 Djagulingu wrote:
On June 02 2016 02:16 Thaniri wrote:
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:
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?


Aiming on Win OS actually :D at least with current task. Won't handle JS honestly, but there is seems like an option to make in all simply with visualstudio?

I honestly have no idea about .net stuff
"windows bash is a steaming heap of shit" tofucake
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
June 02 2016 16:42 GMT
#14648
On June 02 2016 10:00 [X]Ken_D wrote:


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

Yay, Super Puyo Puyo (well same mechanics and looks anyways)!

If your board is of a similar size, you really shouldn't even care too much about that. Do it in a way that is easy to understand.
If you do anything that tracks connected pieces, you will have to put in extra work whenever some connected pieces get torn apart because one of them falls down. So to gain any sort of advantage, your alternate method probably would have to be very sophisticated. Likely not worth it.
If you have a good reason to disagree with the above, please tell me. Thank you.
Itsmedudeman
Profile Blog Joined March 2011
United States19229 Posts
Last Edited: 2016-06-03 09:41:12
June 03 2016 09:39 GMT
#14649
On June 02 2016 16:17 Morfildur wrote:
Show nested quote +
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


Well, our meetings contain sentences like "Can you open pornhub for a moment"

It's difficult though, the local programmers tend to be god awful at best, but non-free porn doesn't pay as much as it used to, so we can't really offer competent people the money they would earn in Hamburg or Hannover or such and so it's unlikely to convince anyone to move (though it's cheaper to live here, too). At least I now have influence over the wages, so I can make sure that experienced people are paid more than entry level wages, because in the end it still saves money to have a great programmer who finishes stuff in a week than a bad programmer that finishes stuff in a month and produces a mess while doing it.

We'll probably still have to settle with someone who doesn't know the difference between an abstract class and an interface, just to have enough manpower to finish the projects this year.

I'm pretty shocked you couldn't find someone from a university to fill your needs. What did you interview them on? Sounds like you just need a web developer with some database knowledge.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
Last Edited: 2016-06-03 10:20:15
June 03 2016 10:14 GMT
#14650
On June 03 2016 18:39 Itsmedudeman wrote:
Show nested quote +
On June 02 2016 16:17 Morfildur wrote:
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


Well, our meetings contain sentences like "Can you open pornhub for a moment"

It's difficult though, the local programmers tend to be god awful at best, but non-free porn doesn't pay as much as it used to, so we can't really offer competent people the money they would earn in Hamburg or Hannover or such and so it's unlikely to convince anyone to move (though it's cheaper to live here, too). At least I now have influence over the wages, so I can make sure that experienced people are paid more than entry level wages, because in the end it still saves money to have a great programmer who finishes stuff in a week than a bad programmer that finishes stuff in a month and produces a mess while doing it.

We'll probably still have to settle with someone who doesn't know the difference between an abstract class and an interface, just to have enough manpower to finish the projects this year.

I'm pretty shocked you couldn't find someone from a university to fill your needs. What did you interview them on? Sounds like you just need a web developer with some database knowledge.


We didn't get many applications to begin with despite posting on the university's official job board.

I think most students want to get away from this city as soon as they graduate since it's really at the end of nowhere and there are many cities with better wages, better entertainment and such and, since we're looking for something full time, we can't take people that haven't graduated yet for the open positions. The people that want to stay can take jobs across the border in Denmark where the pay is better due to less deductions for social services and stuff. The Danish companies near the border prefer German employees since those tend to be better qualified than the Danish counterparts in this region, so the demand is fairly high.
We only had one interview and that person was, well, not what we were looking for, to put it nicely.

We pretty much do only need an average web developer with some database knowledge, so I'm surprised by the lack of applications myself. However, I haven't actually seen the job offer myself, that was done by someone else, so I don't actually know what they wrote into that.
DickMcFanny
Profile Blog Joined September 2015
Ireland1076 Posts
June 03 2016 18:38 GMT
#14651
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


How high is the wage gap between Denmark and Germany?
| (• ◡•)|╯ ╰(❍ᴥ❍ʋ)
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
June 03 2016 19:38 GMT
#14652
On June 04 2016 03:38 DickMcFanny wrote:
Show nested quote +
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


How high is the wage gap between Denmark and Germany?


It's not really Germany in general, but rather the sparsely populated far northern part of Germany and the southern area of Denmark and the difference is often around 500-2000 Euro a month before taxes, which is also more after taxes if you work for a Danish company compared to a German company since Germany does have a lot of deductions on wages.
bangsholt
Profile Joined June 2011
Denmark138 Posts
June 03 2016 21:48 GMT
#14653
And the "issue" is that you have a bunch of large companies snapping up danish people in Sønderborg and on Als.

I suppose you're located in Flensburg, Morfildur?
teamamerica
Profile Blog Joined July 2010
United States958 Posts
June 04 2016 04:29 GMT
#14654

Totally off topic, like absofuckinglutely off topic and shit: The difference between an abstract class and an interface is that an abstract class can contain variables, method implementations (like setters and getters for variables) while an interface can not.


That's not a black and white question though. You have to ask what language interface are you talking about. Did you know Java 8 (which is pretty old at this point) can have default methods for the reason that having interfaces NOT have any method makes it very difficult to ever add a method to an interface, else you have to update every implementation of it.

Java 8 is pretty old by know so it's good to take a look and see what's changed in the language beyond the obvious stream interface and lambdas, and see what's coming in Java 9!

I guess it's still true in C#/php at least, not sure what other langauges have the idea of interfaces.
RIP GOMTV. RIP PROLEAGUE.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
June 04 2016 07:00 GMT
#14655
On June 04 2016 06:48 bangsholt wrote:
And the "issue" is that you have a bunch of large companies snapping up danish people in Sønderborg and on Als.

I suppose you're located in Flensburg, Morfildur?


That's correct.
zatic
Profile Blog Joined September 2007
Zurich15325 Posts
Last Edited: 2016-06-04 09:46:36
June 04 2016 09:46 GMT
#14656
On June 04 2016 04:38 Morfildur wrote:
Show nested quote +
On June 04 2016 03:38 DickMcFanny wrote:
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


How high is the wage gap between Denmark and Germany?


It's not really Germany in general, but rather the sparsely populated far northern part of Germany and the southern area of Denmark and the difference is often around 500-2000 Euro a month before taxes, which is also more after taxes if you work for a Danish company compared to a German company since Germany does have a lot of deductions on wages.

Actually Denmark has higher deduction from gross wage (I believe the highest in the world?), but average net income is still considerably higher in Denmark in general.
If anything you want to live in Germany and work in Denmark, not the other way around.

https://en.wikipedia.org/wiki/List_of_European_countries_by_average_wage
ModeratorI know Teamliquid is known as a massive building
Artesimo
Profile Joined February 2015
Germany546 Posts
Last Edited: 2016-06-04 15:05:58
June 04 2016 14:28 GMT
#14657
Once again i am struggeling with a most likely simple error that i just can't spot for some reason.


main:
std::mutex* myMutexIn = new std::mutex();
MessageQueue* myMessageQueueIn = new MessageQueue();
Server myServer(myMutexIn, myMessageQueueIn);
std::thread t2(myServer);
t2.join();

Server-construktor:
Server::Server(std::mutex* myMutexIn, MessageQueue* myMessageQueueIn)
{
this->myMutexIn = myMutexIn;
this->myMessageQueueIn = myMessageQueueIn;
}


For some reason, myMutexIn and myMessageQueueIn remain nullpointer and attempting to use lock() / unlock() results in a segmentation fault (according to netbeans). I don't delete or reasign myMutexIn anythwere else, I didnt even set it to a nullptr anywhere.

Before this, I made a small example on windows using visual studio that looks somewhat the same and works fine:

container* myContainer = new container();
std::mutex* myMutex = new std::mutex();
class1 c1(myMutex, myContainer);
class2 c2(myMutex, myContainer);

std::thread t1(c1);
std::thread t2(c2);
t1.join();
t2.join();


EDIT: It seems like the threads arent saving the attirbutes of the classes they execute. Also got another class without using std::thread which uses the same objects and can call lock()/unlock() just fine.

For the time being I will work with class attributes as a workaround since time is running out.
phar
Profile Joined August 2011
United States1080 Posts
Last Edited: 2016-06-04 17:55:15
June 04 2016 17:50 GMT
#14658
On June 03 2016 19:14 Morfildur wrote:
Show nested quote +
On June 03 2016 18:39 Itsmedudeman wrote:
On June 02 2016 16:17 Morfildur wrote:
On June 02 2016 15:58 zatic wrote:
I really don't think there is a better option than the local sources like the university. On a national level you have to ask: What does your company offer over another from say, Hanover, that a young professional will consider moving to literally the end of Germany. If you don't have a convincing answer I don't see much of a point to advertise nationally.

Hiring from Denmark is probably not an option because of the wage gap.


Well, our meetings contain sentences like "Can you open pornhub for a moment"

It's difficult though, the local programmers tend to be god awful at best, but non-free porn doesn't pay as much as it used to, so we can't really offer competent people the money they would earn in Hamburg or Hannover or such and so it's unlikely to convince anyone to move (though it's cheaper to live here, too). At least I now have influence over the wages, so I can make sure that experienced people are paid more than entry level wages, because in the end it still saves money to have a great programmer who finishes stuff in a week than a bad programmer that finishes stuff in a month and produces a mess while doing it.

We'll probably still have to settle with someone who doesn't know the difference between an abstract class and an interface, just to have enough manpower to finish the projects this year.

I'm pretty shocked you couldn't find someone from a university to fill your needs. What did you interview them on? Sounds like you just need a web developer with some database knowledge.


We didn't get many applications to begin with despite posting on the university's official job board.

I think most students want to get away from this city as soon as they graduate since it's really at the end of nowhere and there are many cities with better wages, better entertainment and such and, since we're looking for something full time, we can't take people that haven't graduated yet for the open positions. The people that want to stay can take jobs across the border in Denmark where the pay is better due to less deductions for social services and stuff. The Danish companies near the border prefer German employees since those tend to be better qualified than the Danish counterparts in this region, so the demand is fairly high.
We only had one interview and that person was, well, not what we were looking for, to put it nicely.

We pretty much do only need an average web developer with some database knowledge, so I'm surprised by the lack of applications myself. However, I haven't actually seen the job offer myself, that was done by someone else, so I don't actually know what they wrote into that.


Can you pay more then? That is one of the big deciding factors of a company's ability to attract/poach talent in my city...

Another option may be to up and move HQ to a different city, if finding people is such a problem.
Who after all is today speaking about the destruction of the Armenians?
DickMcFanny
Profile Blog Joined September 2015
Ireland1076 Posts
June 04 2016 19:10 GMT
#14659
Or hire me, I'll grow into it.
| (• ◡•)|╯ ╰(❍ᴥ❍ʋ)
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2016-06-04 21:17:41
June 04 2016 21:15 GMT
#14660
On June 04 2016 23:28 Artesimo wrote:
Once again i am struggeling with a most likely simple error that i just can't spot for some reason.


main:
std::mutex* myMutexIn = new std::mutex();
MessageQueue* myMessageQueueIn = new MessageQueue();
Server myServer(myMutexIn, myMessageQueueIn);
std::thread t2(myServer);
t2.join();

Server-construktor:
Server::Server(std::mutex* myMutexIn, MessageQueue* myMessageQueueIn)
{
this->myMutexIn = myMutexIn;
this->myMessageQueueIn = myMessageQueueIn;
}


For some reason, myMutexIn and myMessageQueueIn remain nullpointer and attempting to use lock() / unlock() results in a segmentation fault (according to netbeans). I don't delete or reasign myMutexIn anythwere else, I didnt even set it to a nullptr anywhere.

Before this, I made a small example on windows using visual studio that looks somewhat the same and works fine:

container* myContainer = new container();
std::mutex* myMutex = new std::mutex();
class1 c1(myMutex, myContainer);
class2 c2(myMutex, myContainer);

std::thread t1(c1);
std::thread t2(c2);
t1.join();
t2.join();


EDIT: It seems like the threads arent saving the attirbutes of the classes they execute. Also got another class without using std::thread which uses the same objects and can call lock()/unlock() just fine.

For the time being I will work with class attributes as a workaround since time is running out.


Was it your idea to allocate objects on the heap (new mutex, new container, etc)? If it's yours or your teacher's, you should know it's bad practice. Always prefer stack memory unless you have a reason not to. By avoiding heap memory, you are less likely to have memory leaks. Also, it's usually recommended that you use std::async over std::thread for asynchronous tasks.
Prev 1 731 732 733 734 735 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 3h 2m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 594
Larva 324
Barracks 53
Dota 2
XaKoH 608
League of Legends
JimRising 745
Counter-Strike
Stewie2K1027
Heroes of the Storm
Khaldor237
Other Games
WinterStarcraft650
SortOf103
kaitlyn77
ProTech53
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH367
• Hupsaiya 91
• Sammyuel 42
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• lizZardDota2175
League of Legends
• Lourlo1363
• masondota2816
• Stunt507
Upcoming Events
RSL Revival
3h 2m
Clem vs Classic
SHIN vs Cure
FEL
5h 2m
WardiTV European League
5h 2m
BSL: ProLeague
11h 2m
Dewalt vs Bonyth
Replay Cast
1d 17h
Sparkling Tuna Cup
2 days
WardiTV European League
2 days
The PondCast
3 days
Replay Cast
3 days
RSL Revival
4 days
[ Show More ]
Replay Cast
4 days
RSL Revival
5 days
FEL
5 days
RSL Revival
6 days
FEL
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.