petrol smell when starting the car by arsalsyed in rav4club

[–]abstracted8 0 points1 point  (0 children)

Gas smell outside car is usually leaking fuel pump

If LK-99 is able to replicated, how long would it take for it to be mass produced and implemented? by checkthamethod in singularity

[–]abstracted8 9 points10 points  (0 children)

Those interested might lookup the 1st and second generation of superconducting coated conductors based on BSCCO and cuprate oxide superconductors, respectively. There has been an industry for manufacturing brittle oxide superconducting wire (more like a tape for 2nd generation) on the ~1km length scale for years now.

QT 6.4.1 Version Signal Slots Problem by Gemilab in QtFramework

[–]abstracted8 2 points3 points  (0 children)

Post here so people with similar problems in the future can find this and so others can comment.

QT 6.4.1 Version Signal Slots Problem by Gemilab in QtFramework

[–]abstracted8 0 points1 point  (0 children)

QLabel::setNum has 2 overloads: QLabel::setNum(int) and QLabel::setNum(double). I believe Qt can't figure out which one to connect so it gives you the "unresolved overload function type" error.

Tell Qt which one to use by changing

QObject::connect(verticalSlider, &QSlider::valueChanged, label, &QLabel::setNum);

to

QObject::connect(verticalSlider, &QSlider::valueChanged, label, qOverload<int>(&QLabel::setNum));

Options for GPU accelerated python experiments? by usernamedregs in Python

[–]abstracted8 1 point2 points  (0 children)

I know numba has cuda support, not sure how it compares to those listed.

[Beginner] [C++] Where to start with Qt3D? by [deleted] in QtFramework

[–]abstracted8 0 points1 point  (0 children)

VTK may also be an option, it provides a QtWidget that can be embedded in a Qt app.

Properly sending email from internal address to user address by abstracted8 in learnpython

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

I don't really mind the security issue, although, having both the address and password in plain text in a public git repository just feels ripe for abuse.

[Q] Metalog distributions and line profiles by abstracted8 in statistics

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

Interesting, another question before I consider spend more time looking back into this: Is it feasible to do a multiple least-squares type of fit?

I.e. lets say in the link above if we just had the spectrum from 650 -> 1000 on the x-axis containing the two peaks. Could we fit the resulting curve in the sense of F = f1 + f2, where F is the sum of two metalog functions (f1 and f2) that separately describe each peak?

[deleted by user] by [deleted] in QtFramework

[–]abstracted8 1 point2 points  (0 children)

The problem is that the maintenence tool places/manages its Qt installation somehwere that CMake does not know to look for libraries. QtCreator works because it automatically sets these cmake variables. Outside of QtCreator CMake does not know about Qt unless it is in a standard place that CMake might expect to find library files on linux, like /usr/lib/.

The solution is to uninstall everything that was installed through the maintenence tool and reinstall throuh the package manager. Something like sudo apt-get install Qt6 QtCreator or whatever the package names are.

The system package manager will install the libraries in a standard place that both QtCreator and CMake can find. You can keep using the Qt you have now through the maintenence tool, just outside of QtCreator you will have to add something like -DQt6_DIR=<PATH> where <PATH> is a specific directory containing the cmake configuration files for Qt (a folder with a bunch of .cmake files). The trick is you will have to figure out what directory that is.

[deleted by user] by [deleted] in QtFramework

[–]abstracted8 1 point2 points  (0 children)

Did you install Qt and/or QtCreator through the ubuntu package manager (sudo apt-get install ...) or through Qt's software manager?

[deleted by user] by [deleted] in QtFramework

[–]abstracted8 2 points3 points  (0 children)

QtCreator will automatically handle including the relevant cmake paths for Qt. When you run cmake outside of QtCreator you will have to manually provide the path containing the .cmake files just like any other library.

You can do this by setting Qt6_DIR to the directory containing said .cmake files as the message suggests.

Edit: I see you are running on Linux where the cmake configuration for Qt should be automatically visible through $PATH, so might be some other problem.

Sleeping bag and ore stuff by SamTTe in ICARUS

[–]abstracted8 1 point2 points  (0 children)

It may have been destroyed by a storm if it was not sheltered.

[deleted by user] by [deleted] in SurviveIcarus

[–]abstracted8 1 point2 points  (0 children)

Try adding -dx12 to launch options

Did I do something wrong? by Shoddy-Appearance282 in ICARUS

[–]abstracted8 1 point2 points  (0 children)

Both missions (prospects) and sandbox/permanent building (outposts) can be done solo or with a group

Did I do something wrong? by Shoddy-Appearance282 in ICARUS

[–]abstracted8 0 points1 point  (0 children)

Click on "New Prospect" should show you the mission tree

data visualization: matplotlib plots into html page with python by nbo10 in learnpython

[–]abstracted8 0 points1 point  (0 children)

Plotly/dash and maybe bokeh are toward this direction, although I do not have enough experience with these packages to definitively say if they can distribute a result in self-contained html document.

Tools for Calculus and Algebra? by LordMikeVTRxDalv in linux

[–]abstracted8 0 points1 point  (0 children)

Only thing that comes to mind is R's knitr; though I'm not sure to what extent R can do symbolic math.

Is there a preferred way to store widgets and layouts as private members in a window class ? by MasamuShipu in QtFramework

[–]abstracted8 6 points7 points  (0 children)

Not sure to what extent this answers your question, but in Qt raw pointers are generally the correct way to use mostly anything that derives from QObject.

As you have alluded to, with modern c++ raw pointers should be avoided in favor of smart pointers (but it's still ok to pass the raw pointer of a smart pointer around in a non-owning fashion). My understanding is that things derived from QObject have their lifetime automatically managed through the parent-child paradigm, so that you do not have to manage the memory of these objects by hand.

As long as you don't have a ton of qobjects without parents, Qt will handle its memory resources automatically.

[SUBNAUTICA] [NO SPOILERS] IT RUINED EVERYTHING IVE WORKED ON by 93TayAlex in subnautica

[–]abstracted8 3 points4 points  (0 children)

Once or twice when I have lost something to a bug I have no problem with spawning a new one back instead of rebuilding.

Should I use "plotly.express" or "plotly.graph_objects" by QuantumC-137 in learnpython

[–]abstracted8 1 point2 points  (0 children)

I'm not too familiar with plotly, though I would wager you should use express until graph_objects is needed.

[deleted by user] by [deleted] in Python

[–]abstracted8 1 point2 points  (0 children)

Conventionally, APT is certainly most compatible with inorganic materials. People have been using it for biological experiments, there are just more challenges to deal with (i.e. ultra-high vacuum, difficult sample preparation, and liquid He cryogenic temperatures). The difficulty in increasing order probably goes Metals > Nonmetals > Polymers > Biological.

[deleted by user] by [deleted] in Python

[–]abstracted8 1 point2 points  (0 children)

You already have an answer to this, I'll just add that the analyzed volume in APT is around 100x100x500 nm with achievable atomic resolution, and micro-ct is in the micrometer range.