56 questions from the last 7 days
Advice
1
vote
15
replies
164
views
Which languages are the best ones to opt for if the final goal is full stack and perhaps a switch into the ML and AI world
I am looking for languages that serve as the best foundational languages I would need to step into full stack development, and use that base and experience to maybe switch to ML, AI, Data Science, ...
4
votes
3
answers
147
views
HTML date element has empty space when disabled
Problem:
I have an
<input type="date"/>
element, and it looks like this:
normal date selector
as you see there is a "calendar" icon which can be used to select a date.
but ...
Advice
2
votes
8
replies
115
views
Does V8 optimize curried functions like a typical functional programming language?
Functional programming languages like Haskell or OCaml go though some effort to make
curried functions have reasonable performance compared to uncurried functions. I am curious if V8 has any ...
Advice
0
votes
3
replies
99
views
Displaying information from php arrays in html
I have an apache webserver and a browser plugin. The Plugin does check form which website something is downloaded from and checks if it is downloaded from a specific domain. If so it fetches some data ...
Best practices
1
vote
8
replies
113
views
Might there be problems with using "get" to modify a the value of the property?
In an API I want a simple and easy way to set/unset a true/false property on an object. It occurred to me that I could use the get property instruction to modify the property like this:
class TEST{
...
1
vote
1
answer
104
views
Count the total number of certain items in some HTML
I receive posts as HTML via AJAX. I would like to display the number of posts in the front end each time the user click a category.
The issue is when I parse the data with let counter = data.length; ...
1
vote
1
answer
70
views
Moving div to a sibling div
I am struggling to move a span from a sibling div to the previous one - I think my syntax is not quite as it needs to be… it works in that it moves the span to the location I need, BUT - as I have ...
Best practices
1
vote
3
replies
68
views
Array methods simplification and best way of thorough understanding
What's the best and easiest way I can understand all the techniques in tackling problems in array method, both how to make two different arrays become one single array by adding or subtracting or ...
Advice
0
votes
2
replies
84
views
How to set timeouts for requests for static files in HTML?
So I have an HTML-file like this
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=...
Advice
0
votes
5
replies
77
views
How to format the backend of my climbing app?
I am trying to build an app for a climbing gym using JavaScript (along with some HTML and CSS). I am using Vue for the frontend and MongoDB for the backend.
For those not familiar with climbing gyms, ...
2
votes
1
answer
160
views
How to run JS code in Node that imports modules transpiled with other module/moduleResolution?
I'm using a monorepo with npm workspaces and ZenStack ORM. Code is in TypeScript everywhere. I have a data seeding app that is intended to be run at zenstack seed phase.
All my apps and packages build ...
Best practices
1
vote
3
replies
78
views
Tracking GTM real login/registration form conversion (not button click) - same GA4 ID on prod & preprod, AJAX form, no thank-you page
I'm working on a GTM implementation to track successful login and account
registration conversions on a client's customer peprod portal.
One important constraint I discovered after joining the project:...
Best practices
0
votes
2
replies
87
views
fetching from an API in react
so to fetch from an API in react we can either use the useEffect(), or a combination of useEffect() and useCallback(), but there is a very annoying problem that I see most of the time where we get ...
Advice
1
vote
0
replies
147
views
How do I make fully customisable home page for user
I am trying to make a fully customisable home page for the user. The idea is for it to be like OBS. You can add or remove windows to your home page, and you can resize them so each window takes up the ...
0
votes
1
answer
114
views
Regexp capturing only letters but excluding a specific letter [duplicate]
Is there a better way to define a regexp that captures only letters but not a given letter, for example not "S" or "s"?
[^Ss] -> this one does not limit the characters to ...