• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:15
CET 20:15
KST 04:15
  • 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
HomeStory Cup 28 - Info & Preview11Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational14SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8
Community News
Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)38
StarCraft 2
General
HomeStory Cup 28 - Info & Preview StarCraft 2 Not at the Esports World Cup 2026 Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win Oliveira Would Have Returned If EWC Continued herO wins SC2 All-Star Invitational
Tourneys
HomeStory Cup 28 KSL Week 85 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open!
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 510 Safety Violation Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained
Brood War
General
[ASL21] Potential Map Candidates BGH Auto Balance -> http://bghmmr.eu/ Bleak Future After Failed ProGaming Career BW General Discussion Potential ASL qualifier breakthroughs?
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 Azhi's Colosseum - Season 2 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Path of Exile Mobile Legends: Bang Bang Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Gold Bars & Gold Nuggets for sale+27 73 799 4524
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 Vanilla Mini Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Let's Get Creative–Video Gam…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1645 users

The Big Programming Thread - Page 733

Forum Index > General Forum
Post a Reply
Prev 1 731 732 733 734 735 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.
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
Zurich15361 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
Zurich15361 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
Zurich15361 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
Germany567 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 1032 Next
Please log in or register to reply.
Live Events Refresh
HomeStory Cup
12:00
Day 2
TaKeTV4286
ComeBackTV 1107
IndyStarCraft 491
SteadfastSC443
TaKeSeN 332
Rex104
CosmosSc2 86
3DClanTV 84
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
IndyStarCraft 491
SteadfastSC 443
ProTech115
Rex 104
CosmosSc2 86
BRAT_OK 62
JuggernautJason61
StarCraft: Brood War
Shuttle 300
Larva 273
Rock 30
Free 29
Shine 21
Sacsri 12
soO 11
ivOry 4
Dota 2
Gorgc4839
qojqva2516
Dendi589
420jenkins404
monkeys_forever10
Counter-Strike
fl0m4184
kRYSTAL_38
Heroes of the Storm
Liquid`Hasu483
Khaldor385
Trikslyr72
MindelVK11
Other Games
FrodaN7092
Grubby2969
Mlord620
crisheroes364
KnowMe97
ToD27
Organizations
Other Games
EGCTV1469
gamesdonequick1236
BasetradeTV31
StarCraft 2
angryscii 22
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• printf 23
• iHatsuTV 20
• Response 1
• Kozan
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• FirePhoenix33
• 80smullet 5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV468
League of Legends
• Jankos3087
• imaqtpie2038
Counter-Strike
• Shiphtur292
Upcoming Events
Replay Cast
4h 45m
HomeStory Cup
17h 45m
OSC
17h 45m
Replay Cast
1d 4h
Replay Cast
2 days
Wardi Open
2 days
WardiTV Invitational
3 days
The PondCast
4 days
WardiTV Invitational
4 days
Liquipedia Results

Completed

Escore Tournament S1: W6
OSC Championship Season 13
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Proleague 2026-01-31
Rongyi Cup S3
HSC XXVIII
Nations Cup 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W7
Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
LiuLi Cup: 2025 Grand Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 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.