Most active questions

1 vote
4 answers
101 views

I'm a little confused. I have a Spring Boot application (Spring Boot version 4.0.1). There's a simple DDL: create table foo ( id serial not null primary key, dt timestamptz not null ); And an ...
Artyom's user avatar
  • 137
2 votes
1 answer
95 views

If I use a C++ object's property from QML like this: class Cpp { ... Q_PROPERTY(... aProperty READ getAProperty ... ... getAProperty() { // which engine called me?.. } }; // ...
Ivan's user avatar
  • 509
4 votes
1 answer
120 views

I decided to try a dual screen to display the square as a wireframe vs a colored in square: #include <GLAD/glad.h> #include <GLFW/glfw3.h> #include <iostream> void ...
Kelvin Ohaya's user avatar
-3 votes
1 answer
122 views

In an attempt to avoid switch /x for a complex regular expression, I tried to replace qr/string/ with the following expression: (map { qr/$_/ } ("a more" . "complex regex"))[0] As ...
U. Windl's user avatar
  • 4,804
1 vote
2 answers
96 views

I am working on an assignment that aims to reimplement the ping command. I need to have as a reference ping from inetutils-2.0, hence it is the one used in these examples. While making parsing tests I ...
Kiwuika's user avatar
  • 21
Advice
0 votes
7 replies
106 views

There are many Stack Overflow questions about fast logarithm calculation, but all of them presuppose that you want to calculate a logarithm using a specific base. Two, e, and 10 are popular bases. I ...
John Ladasky's user avatar
  • 1,083
3 votes
1 answer
92 views

I have the following entity: public class CPU { public int Id { get; set; } public int Article { get; set; } public int Garanty { get; set; } public int ServiceLife { get; set; } ...
McLaren's user avatar
  • 67
5 votes
1 answer
95 views

version symfony 7.4 symfony/object-mapper 7.4 api-platform/symfony 4.2 php 8.4 Describe the problem So I've been reading about the new recommandation for API Platform which is to use and map DTO ...
Vincent PHILIPPE's user avatar
1 vote
1 answer
92 views

I'm just learning WPF and using the MahApps.MetroWindow library. I need to have advanced Controls settings in my app. Here's the way I found to do this: right click on the Control => Edit template =...
Vasek's user avatar
  • 71
3 votes
2 answers
105 views

When I add more than one variable in a while loop condition, the loop behaves unexpectedly. cat script.sh #!/bin/bash string=Db6laokfKc echo $string klen=`echo -n "${string}" | wc -m` #10 ...
achille's user avatar
  • 345
4 votes
1 answer
143 views

This is my first time working with CUDA programs. So I just wrote a simple hello world program. #include <stdio.h> __global__ void hello(){ printf("Hello block: %u and thread: %u\n"...
Alvin Alex's user avatar
Best practices
0 votes
7 replies
94 views

Mainly pseudocode: return function(item) if function(item) != item[index] (I'm using Flask with session) With this function above, updated, (accelerated reworking following Tim Roberts suggestion): ...
pvt-Tron's user avatar
3 votes
2 answers
61 views

I'm using Swift5 and SwiftUI making an app that based on CloudKit. I've made the merge data from iCloud function and it looks work well. But I always get a warning like "Capture of '...
Qixiny's user avatar
  • 100
Best practices
1 vote
8 replies
144 views

I am currently coding a project with many if statements to check certain values. I feel like all those statements seem inefficient and time-consuming in my program. How can I optimize or manage this ...
ripe_onions's user avatar
2 votes
2 answers
91 views

My dataframe is called detections. One column is OBSERVER. That column contains the initials of 32 different people. Some of those observers are responsible for 1000+ observations (i.e. 1000+ lines ...
chill's user avatar
  • 143

15 30 50 per page
1 2 3
4
5
62