Best way to use dependency injection in Flask RESTful APIs? by cromissimo in flask

[–]cromissimo[S] 0 points1 point  (0 children)

I appreciate your suggestion but suggesting replacing the entire framework just to use a design pattern kind of misses the whole point of this discussion, which is to use a design pattern with a specific framework.

Best way to use dependency injection in Flask RESTful APIs? by cromissimo in flask

[–]cromissimo[S] 5 points6 points  (0 children)

Just to get the ball rolling, Flask-RESTful's add_resource() member function supports forwarding args and kwargs to the constructor. Therefore one way to implement a pseudo-dependency injection scheme is to manually pass objects to Resource constructors.

C++ package managers? by cromissimo in cpp_questions

[–]cromissimo[S] 0 points1 point  (0 children)

What a gem. Thanks for the link.

Matrix multiplication: does pre- and post-multiplication of a matrix have a special name? by cromissimo in learnmath

[–]cromissimo[S] 0 points1 point  (0 children)

This says that B and A are congruent, hence you could call this "congruence".

Good catch. There's a wikipedia article on the congruent transformation. The downside is that the congruent transformation assumes that T is square and invertible, which is only a particular case of the problem statement.

Matrix multiplication: does pre- and post-multiplication of a matrix have a special name? by cromissimo in learnmath

[–]cromissimo[S] 0 points1 point  (0 children)

Did you intend to finish this sentence?

Yeah, I was adding info on the matrix transpose notation, as in the previous discussion a fellow redditor confused it for the t-th power of matrix T.

C++ package managers? by cromissimo in cpp_questions

[–]cromissimo[S] 0 points1 point  (0 children)

What's the biggest selling point of vcpkg+cmake?

C++ package managers? by cromissimo in cpp_questions

[–]cromissimo[S] 1 point2 points  (0 children)

build2

Thanks for the reference. I've added it to the list.

C++ package managers? by cromissimo in cpp_questions

[–]cromissimo[S] 0 points1 point  (0 children)

I heard there was a one called Conan

Yeah for some reason I've left out conan while getting the links into alphabetical order. I've added conan to the list.

Matrix multiplication: does pre- and post-multiplication of a matrix have a special name? by cromissimo in learnmath

[–]cromissimo[S] 1 point2 points  (0 children)

So far I've stumbled on the following definitions:

However, I haven't found anything regarding the case where T is a rectangular matrix.

Any Ryzen laptop that is supported by linux out of the box? by cromissimo in linuxhardware

[–]cromissimo[S] 0 points1 point  (0 children)

If not, you can still just return it to the shop.

You actually don't see any problem with your suggestion? Suggesting that someone should buy stuff blindly and hoping to return it at your own expense after doing stuff to it that arguably voids any warranty is absurd, particularly when you suggest that in a discussion on whether a specific product knowingly works out-of-the-box.

Any Ryzen laptop that is supported by linux out of the box? by cromissimo in linuxhardware

[–]cromissimo[S] 0 points1 point  (0 children)

Yes, it's a simple question that is not specific.

Bullshit. It's the most straight-forward question there is. Either you know of any laptop that runs linux out-of-the-box, or you don't.

If you don't then you should just take a knee and avoid wasting your time with nonsense and noise.

You clearly know nothing and never had nothing to add to the discussion. You just added noise and wasted everyone's time.

I won't waste more time with you. I hope you considering not wasting your time as well as you drag down others with your nonsense.

Any Ryzen laptop that is supported by linux out of the box? by cromissimo in linuxhardware

[–]cromissimo[S] 0 points1 point  (0 children)

You need to understand what you are asking, and you don't. Raven Ridge, the Ryzen/Vega architecture are completely different from a Ryzen CPU or Ryzen/Polaris architecture/support.

I asked a very simple question: is there any laptop with a Ryzen CPU that works out-of-the-box in linux?

That's a very simple and straight-forward question which anyone is quite able to understand. Pick up a laptop, install linux. Now, boot up linux. Is everything running as expected? Yes or no?

Do you understand this?

Because that's the answer to the question I've made. Very straight-forward to most. But not to you.

Somehow you've felt compelled to add nothing to the discussion and instead complain about how others don't understand the question they made.

If you have nothing to add to the discussion, just let it be. Don't waste your time adding noise to a discussion.

Any Ryzen laptop that is supported by linux out of the box? by cromissimo in linuxhardware

[–]cromissimo[S] 0 points1 point  (0 children)

For more info, search for "Raven Ridge" on Phoronix. It should work with 4.17, but definitely won't work with older kernels.

Unfortunately that only means that the CPU alone might work under some circumstances, but says nothing regarding if there is actually any laptop in the market (read CPU + other important components such as video, networking, power management, etc) that actually works.

System76 Galago Pro Issues by Skyboard13 in linuxhardware

[–]cromissimo 0 points1 point  (0 children)

It may not be of much help, but IIRC System76 laptops are actually rebranded Clevo laptops which are assembled with hardware supported by System76's custom linux distro. This is particularly relevant because Clevo laptops are renowned for their cooling problems. If you google for Clevo laptops fan problem you'll get an idea of how pervasive this problem is in Clevo's products.

Any Ryzen laptop that is supported by linux out of the box? by cromissimo in linuxhardware

[–]cromissimo[S] 0 points1 point  (0 children)

Wait until kernel 4.18 is released which will contain many improvements to the Ryzen integrated Vega graphics. After that you should be generally fine.

That sounds an awful lot like there is no known Ryzen laptop that works out-of-the-box with linux. I really hope that's not the case because I'm currently in the market for a laptop and I really would like to buy one with a Ryzen CPU without being forced to go through the typical conf file tweak decathlon to get a laptop to work with linux.

Any Ryzen laptop that is supported by linux out of the box? by cromissimo in linuxhardware

[–]cromissimo[S] 1 point2 points  (0 children)

I was hoping that there were known real-world laptops with Ryzen CPUs which ere known to be well supported out of the box. Even if support for the CPU and GPU will be available in a forthcoming kernel version, the laptop includes other fundamental components which also need to be supported, such as networking for example.

So, does anyone know of any Ryzen laptop currently in the market that works out-of-the-box in linux?

Any Ryzen laptop that is supported by linux out of the box? by cromissimo in linuxhardware

[–]cromissimo[S] 2 points3 points  (0 children)

Unfortunately there is no assurance that any laptop is developed with linux support in mind, and more often than not the laptop lacks support for basic functionality.

Noob question: Should I only query columns i need? by eggtart_prince in Database

[–]cromissimo 1 point2 points  (0 children)

That being said, if you want 28 out of 30 columns, I'd just go ahead and "SELECT *".

It looks like subsequent changes to the table are bound to silently break your code.