Newest Questions
24,163,874 questions
Best practices
0
votes
0
replies
25
views
Best practices for transitioning from 2D CAD workflows to full BIM-based project delivery across disciplines?
At BIM365, we work with multiple AEC clients where projects still begin with 2D CAD drawings (architecture, structure, and MEP). A common workflow we observe is: design development in 2D, followed by ...
1
vote
2
answers
60
views
Why doesn't GHC automatically add injectivity annotation to closed type families (provided that insntances don't conflict with it)?
Since closed type families have all their clauses appearing together and therefore can't be extended with other clauses, and since GHC can detect violations of injectivity annotations anyway (even for ...
0
votes
1
answer
40
views
In a chrome extension, how to open a tab and modify it once it is loaded?
while toying with Chrome extension development, I made a very simple extension that contained a single button which, when clicking on it, should change the title on the Google home page.
I managed to ...
-3
votes
1
answer
26
views
How can I make icon visible for desktop entry in ubuntu [closed]
I'm trying to make a launcher for the krita appimage, but it's not showing.
this is my krita.desktop file that is in $HOME/.local/share/applications:
[Desktop Entry]
Name=Krita
StartupWMClass=Krita
...
2
votes
1
answer
46
views
Laravel deleting event prints wrong children titles in recursive tree delete
I have a self-referencing Laravel model for a category tree. Each node can have children, and I want to delete a node together with all of its descendants.
My relationship looks like this:
public ...
Tooling
53
votes
22
replies
6k
views
mgt.clearMarks is not a function
Are you getting this error in the copilot chat?
"mgt.clearMarks is not a function"
Do you know why it's happening and how to fix it? I've tried everything, even cleaning the VS Code team ...
-4
votes
0
answers
28
views
Profile page not updating in real-time (sidebar name + active highlight) and avatar not showing after upload in ReclaimX [closed]
I am working on ReclaimX, a full-stack campus lost & found platform (Final Year Project).
GitHub: https://github.com/SniperRavan/RECLAIMX
Problem
On the Profile page (pages/profile.html), after ...
-8
votes
0
answers
101
views
Why do I need extra commands for printing documents? [closed]
I'm supposed to be taking over a server application which is sending documents to a printer. It does the following:
if (OpenPrinter((LPTSTR)printer, &hPrinter, nullptr))
{
wchar_t ...
1
vote
0
answers
40
views
How to send an external HTTP request from proxyReq, proxyRes and proxyReqWs hooks
I am building a http proxy with websockets. I need to intercept an incoming request, call an external service to get some headers, add the additional headers to the incoming request and send it to the ...
-2
votes
0
answers
26
views
Google Custom Search JSON API returns 403 "project does not have access" with billing enabled [closed]
I have a Google Custom Search JSON API returning 403 error despite having billing enabled.
I have tried:
Created 2 different Google Cloud projects
Enabled Custom Search JSON API in both
Activated ...
-3
votes
0
answers
69
views
Given a dataset of human patients which includes their age, sex, and over 100 measured disease biomarkers, what type of statistical analysis is best? [closed]
I was given a dataset of close to 100 human participants. This dataset includes values for 100+ measured hypothesized biomarkers of neurodegeneration, their age, sex, disease state (clinically normal, ...
0
votes
0
answers
49
views
When to use a struct vs. a function? [closed]
I am trying to get a better understanding of when/how to use structs.
I have game scene struct like so:
struct GameScene: View {
@State var gsViewModel = GameSceneViewModel()
var body: ...
Advice
1
vote
3
replies
58
views
Can type bounds/constraints be stored in global variables and later used in generic function definitions with Python 3.14+?
With PEP 649 in Python 3.14+ annotations are lazily evaluated by default, and this led me to wonder if it's acceptable to store type bounds or constraints in a global variable at the module level and ...
1
vote
0
answers
24
views
Expo 55 / React Native: Floating button visibility based on scroll position not updating correctly
I have a screen with a scrollable lesson and two buttons:
A CTA button at the bottom of the content
A floating button that should:
be visible while scrolling
hide when the bottom CTA is visible
...
0
votes
1
answer
34
views
Merriweather Google Font doesn't work with font-stretch
On the Google Fonts page for Merriweather, it shows it has a variable width that you can test on the site. But when I have the font embedded in a site, there is no option:
<!DOCTYPE html>
<...