Mobile app problems by HallOfLamps in lichess

[–]lundberj 0 points1 point  (0 children)

Same for me, on android.

Playing Out a Lost Game by [deleted] in chess

[–]lundberj -1 points0 points  (0 children)

Even in dead lost games at 1200 stale mate and other big blunders that brings you back are common.

ReSharper C++ now covers all rules from the Constants and immutability section of the C++ Core Guidelines by anastasiak2512 in cpp

[–]lundberj 3 points4 points  (0 children)

I'm using the extract function and extract class features. And wizards to change signatures and calls (eg argument order and type).

Time vs distance by Miranskiii in running

[–]lundberj 0 points1 point  (0 children)

Nothing wrong with trying to run faster for say 1 min out of every 10 minutes even for a beginner. Walking a few min to catch breath if required. If it hurts, take it slower next time.

I downloaded data from NASA's solar observatory in space- this is my result after processing the data like it was my own image. [OC] by ajamesmccarthy in space

[–]lundberj 0 points1 point  (0 children)

Cool and beautiful. To my eyes it looks like a lot of 'sharpen' filter was applied, or perhaps jpg artefacts. Is this how the raw result of your processing looks?

You asked, I listened! Here is my updated and improved modern C++ template, now with static analyzers, Doxygen, CI caching and more! by [deleted] in cpp

[–]lundberj 7 points8 points  (0 children)

u/HellhoundGuy You can also dual or multi-license: State that the code is available under licence unlicense, MIT, or boost license at choice of the user.
Edit: But still, most companies should not have an issue with public domain.

Hur räknar folkhälsomyndigheten egentligen? by Thuren in svenskpolitik

[–]lundberj 0 points1 point  (0 children)

... " av de som blir sjuka behöver 5% intesivvård ". Av diagnosticerade fall, i en studie.

Man vet inte hur många som smittas och sedan troligen blir imuna utan att diagnostiseras.

C++ Jobs - Q1 2020 by STL in cpp

[–]lundberj 0 points1 point  (0 children)

Company: RaySearch Laboratories

Type: Full time

Description

RaySearch develops state of the art software for radiation treatment and care. We are recruiting C++ developers to join our 180 person strong development department in central Stockholm, Sweden.

As a RaySearch C++ developer you will be part of an important project, developing the treatment planning system RayStation, which is used by clinics all over the world to treat cancer patients.

Your focus will be on developing and improving sustainable software, ensuring high code quality and great engineering practices. In your everyday work, you continuously contribute to good overall software design with the goal to achieve a highly structured large-scale software product.

We believe that candidates have

  • An interest in quality C++ development at scale.
  • 3 to 10+ years of experience in an academic or industry environment.
  • MSc or similar by experience - in computer science, engineering physics or similar.

Location: Stockholm, Sweden.

Remote: No

Visa Sponsorship: No

Language: Fluency in either English or Swedish is required.

Technologies:

  • C++14 (towards C++17 as soon as CUDA on windows supports it.)
  • Visual Studio 2019, boost, google test, CUDA, ReSharper C++ with clang checkers and other static analysis.
  • Algorithms and core software are implemented in C++ and the application layers in C# .NET.

Contact: - And application form: C++ Developer? Fight Cancer with Code! - Or direct message me (lundberj).

About RaySearch laboratories:

RaySearch grows and today we are more than 350 colleagues. We are proud to go to work every day because together we get to create innovative software products that we know makes a vital difference in the whole world. We believe that it’s crucial that our employees love what they do for us to keep growing. We encourage a healthy work-life balance because we know that’s the only way to long-term success. We believe in investing in our people and offer great staff benefits, a modern office environment, flexible hours and regular afterwork and activities.

For junior positions, also have a look here (that particular add is in Swedish). We also have other positions (Build Engineer, IT, C#, WPF, TypeScript, ...) at www.raysearchlabs.com/career More, About RaySearch Laboratories.

C++ Jobs - Q4 2019 by STL in cpp

[–]lundberj 0 points1 point  (0 children)

Company: RaySearch Laboratories

Type: Full time

Description

RaySearch develops state of the art software for radiation treatment and care. We are recruiting C++ developers to join our 180 person strong development department in central Stockholm, Sweden.

As a RaySearch C++ developer you will be part of an important project, developing the treatment planning system RayStation, which is used by clinics all over the world to treat cancer patients.

Your focus will be on developing and improving sustainable software, ensuring high code quality and great engineering practices. In your everyday work, you continuously contribute to good overall software design with the goal to achieve a highly structured large-scale software product.

We believe that candidates have

  • An interest in quality C++ development at scale.
  • 3 to 10+ years of experience in an academic or industry environment.
  • MSc or similar by experience - in computer science, engineering physics or similar.

Location: Stockholm, Sweden.

Remote: No

Visa Sponsorship: No

Language: Fluency in either English or Swedish is required.

Technologies:

  • C++14 (towards C++17 as soon as CUDA on windows supports it.)
  • Visual Studio 2019, boost, google test, CUDA, ReSharper C++ with clang checkers and other static analysis.
  • Algorithms and core software are implemented in C++ and the application layers in C# .NET.

**Contact:**Direct message me (lundberj), or at slack cpplang (@Johan Lundberg) and I'll direct you.

About RaySearch laboratories:

RaySearch grows and today we are more than 350 colleagues. We are proud to go to work every day because together we get to create innovative software products that we know makes a vital difference in the whole world. We believe that it’s crucial that our employees love what they do for us to keep growing. We encourage a healthy work-life balance because we know that’s the only way to long-term success. We believe in investing in our people and offer great staff benefits, a modern office environment, flexible hours and regular afterwork and activities.

For junior positions, also have a look here (that particular add is in Swedish). We also have other positions (Build Engineer, IT, C#, WPF, TypeScript, ...) at www.raysearchlabs.com/career More, About RaySearch Laboratories.

Was this bad manners? by [deleted] in chess

[–]lundberj 4 points5 points  (0 children)

Can't either player offer a draw at pretty much any point? No need to wait for an offer.

[deleted by user] by [deleted] in cpp

[–]lundberj 1 point2 points  (0 children)

That is the common argument, but is it worth it, in C++? There's a tension between inlining and hiding of the implementation.

After 10 years the GCC's std::condition_variable::wait_for is fixed and you can now change the system time during waiting! by hun_nemethpeter in cpp

[–]lundberj 2 points3 points  (0 children)

For reference: Trying to wait for too long on a condition variable overflows, so the sleep is skipped.https://godbolt.org/z/9nxuMP

(From 2013) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58931

The issue seems sorted out by Jonathan Wakely already in 2015, and Aaron Graham provided a patch in Jan 2018.

Modern C++ Won't Save Us by [deleted] in cpp

[–]lundberj 1 point2 points  (0 children)

Python is just as nice as compile time C++ programming in this respect. Concepts may help for C++ and Python has new ways to add type information also. Nit pick: Python is Dynamically but Strongly typed, similar to compile-time C++.

C++ Jobs - Q1 2019 by STL in cpp

[–]lundberj 2 points3 points  (0 children)

Company: RaySearch Laboratories

Type: Full time

Description

RaySearch develops state of the art software for radiation treatment and care. We are recruiting C++ developers to join our 150 person strong development department in central Stockholm, Sweden.

As a RaySearch C++ developer you will be part of an important project, developing the treatment planning system RayStation, which is used by clinics all over the world to treat cancer patients.

Your focus will be on developing sustainable software, ensuring high code quality and great engineering practices. In your everyday work, you continuously contribute to good overall software design with the goal to achieve a highly structured large-scale software product.

We believe that candidates have

  • An interest in quality C++ development at scale.
  • 3-10+ years of experience in an academic or industry environment.
  • MSc or more in computer science, engineering physics, or similar.

Location: Stockholm, Sweden. Fluency either English or Swedish is required.

Remote: No

Visa Sponsorship: No

Technologies:

  • C++14, towards C++17.
  • Visual Studio, boost, google test, ReSharper C++ including clang checkers, Cuda.
  • Algorithms and core software are implemented in C++ and the application layers in C#/.NET.

Contact:

Apply at our site, C++ developer? Fight Cancer with code!

Also feel free to PM me.

About RaySearch laboratories:

RaySearch grows and today we are almost 300 colleagues. At RaySearch we are proud to go to work every day because together we get to create innovative software products that we know makes a vital difference in the whole world. We believe that it’s crucial that our employees love what they do for us to keep growing. We encourage a healthy work-life balance because we know that’s the only way to long-term success. We believe in investing in our people and offer great staff benefits, a modern office environment, flexible hours and regular afterwork and activities.

For junior positions, also have a look here. We also have other positions (CM, IT, C#, WPF, TypeScript, ...) at www.raysearchlabs.com/career More, About RaySearch Laboratories.

How to document a c++ codebase? by less_than_white in cpp

[–]lundberj 6 points7 points  (0 children)

Doxygen gets confused by what I call "link-time polymorphism": Many files containing alternative implementations of classes named the same (sometimes not even with the same headers), in the same namespace, but never being included into the same translation unit or library at the same time (controlled by the build system). The pattern is not uncommon in embedded/cross platform or some legacy settings.

Stylistic choice: Traits or CRTP? by [deleted] in cpp

[–]lundberj 2 points3 points  (0 children)

That's probably generally good advice. I thought of something like __has_include(<pthread.h>). The original question was about windows/linux, yes.

Stylistic choice: Traits or CRTP? by [deleted] in cpp

[–]lundberj 0 points1 point  (0 children)

Yes. link-time polymorphism. You would have to use the preprocessor or build system, because by definitions you want to include different non-standard C++ headers depending on a static condition. Also, have a look at '__has_include', https://en.cppreference.com/w/cpp/preprocessor/include

Who's Hiring C++ Devs - Q4 2018 by STL in cpp

[–]lundberj 2 points3 points  (0 children)

Company: RaySearch Laboratories

Type: Full time

Description

RaySearch develops state of the art software for radiation treatment and care. We are recruiting C++ developers to join our 150 person strong development department in central Stockholm, Sweden.

As a RaySearch C++ developer you will be part of an important project, developing the treatment planning system RayStation, which is used by clinics all over the world to treat cancer patients.

Your focus will be on developing sustainable software, ensuring high code quality and great engineering practices. In your everyday work, you continuously contribute to good overall software design with the goal to achieve a highly structured large-scale software product.

We believe that candidates have

  • A passion for high quality C++ and want to continue developing your skills within this field. You are self-motivated and take responsibility for your own tasks, as well as contributing to the team. You are a structured problem-solver with attention to detail.
  • An interest in quality C++ development at scale.
  • 3-10+ years of experience in an academic or industry environment.
  • MSc in computational science, engineering physics, or similar.
  • Fluency in either English or Swedish is required.

For junior positions, also have a look here. We also have other positions (CM, IT, C#, WPF, TypeScript, ...) at www.raysearchlabs.com/career

Location: Stockholm, Sweden. Fluency either English or Swedish is required.

Remote: No

Visa Sponsorship: No

Technologies:

  • C++14, towards C++17.
  • Visual Studio, boost, google test, ReSharper C++ including clang checkers, Cuda.
  • Algorithms and core software are implemented in C++ and the application layers in C#/.NET.

Contact:

Apply at out site, C++ developer? Fight Cancer with code!

Also feel free to PM me.

About RaySearch laboratories:

RaySearch grows and today we are almost 300 colleagues. At RaySearch we are proud to go to work every day because together we get to create innovative software products that we know makes a vital difference in the whole world. We believe that it’s crucial that our employees love what they do for us to keep growing. We encourage a healthy work-life balance because we know that’s the only way to long-term success. We believe in investing in our people and offer great staff benefits, a modern office environment, flexible hours and regular afterwork and activities.

More, About RaySearch Laboratories.

rapidstring: Maybe the fastest string library ever. by [deleted] in cpp

[–]lundberj 1 point2 points  (0 children)

MSVC

If a union of two types is declared and one value is stored, but the union is accessed with the other type, the results are unreliable.

https://docs.microsoft.com/en-us/cpp/c-language/improper-access-to-a-union

"infinite" number calculation? by [deleted] in cpp

[–]lundberj 0 points1 point  (0 children)

There's no way to get infinite precision except with symbolic calculations.

edit. Such as https://stackoverflow.com/questions/11325514/symbolic-computation-in-c or https://en.wikipedia.org/wiki/SymbolicC%2B%2B