I have a question: in assembler NASM one word is 2 bytes and dword that means two words mean 4 bytes and we can create an array: number resw 10 that means that we created an array with length of 10 words (20 bytes) and we can go to the next element of it with command add esi, 4 where in esi we have current address of array and by this command we add 4 bytes so we skip two elements, but my programs work equal with number resw 10 and number resd 10 that means create an array with 10 double words (40 bytes) and logically add esi, 4 should work only with it. So, what is the difference and why it w
While quantum computing's biggest breakthroughs "are still likely to be years, if not decades, away," CNBC reports the technology is already being tested in energy applications, "from keeping power grids stable to finding better materials for solar cells and hydrogen production." Quantinuum, which was formed by the merger of Cambridge Quantum and Honeywell Quantum Solutions and listed on Nasdaq in June, is using the technology to model materials for hydrogen fuel cells for transportation. It is also working with partners on materials for carbon capture. Another U.K. player, ORCA Computing, a s
submitted by solidheron to asklemmy 4 points | 1 comments So I play an open source game called Cataclysm: dark days ahead , and I had my save get bricked over some jank. I used llms to unbrick my save (I compiled the code put my save in and I was able to continue). So I did fork request and disclosed that I used llms to generate the code just to be honest and respect the people that care about llms. So since I used an llm articulated solution for the problem and the community doesn’t allow llm content could that pull request be used an an excuse as a derivative source for the problem that bric
I have read both What characters are forbidden in Windows and Linux directory names? and Forbidden file/dir names in Linux Darwin and Windows_NT oses , but neither of them address the specific question of whether a trailing space is allowed even if it is only part of the base file name (before dot separator and extension) when the file name has an extension. Here's what https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file have to say on this: Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows she
submitted by Kacarott to technology 6 points | 0 comments https://officechai.com/ai/hours-after-alpoges-ai-assisted-riemann-hypothesis-proof-ams-president-ravi-vakil-rushes-out-a-rival-all-human-proof-by-alessandro-masullo/ I haven’t seen people talk about this at all, so thought I’d share this article about it. For those depressed that no one will actually understand the RH Proof: we have another, entirely human proof which means there are humans who understand it. It might have been overshadowed, but assuming it ends up working out (I have heard there have been some problems found, hopefully
I have some games and i run them through an iframe, each with its own `index.html` and <script tags> where load other files for the game's. <--- not type module. I was loading the games when ever i need them to play. Before i was using a new div and inside the div's innerHTML i was pushing the <iframe src= , scrolling= width=, height= etc></iframe> and all was ok. Previously, my script didn't use type="module" in my main index.html. I change my main index to `type="module"`, and i figure how to load the youtube iframe api, but now I can't load the games iframes (i think because each game has t
I have some games and i run them through an iframe, each with its own `index.html` and <script tags> where load other files for the game's. <--- not type module. I was loading the games when ever i need them to play. Before i was using a new div and inside the div's innerHTML i was pushing the <iframe src= , scrolling= width=, height= etc></iframe> and all was ok. Previously, my script didn't use type="module" in my main index.html. I change my main index to `type="module"`, and i figure how to load the youtube iframe api, but now I can't load the games iframes (i think because each game has t
While writing my own routing engine code, is it meaningful replacing int with size_t? Like in: struct Node{ int id; double longitude; double latitude; }; And what does " using terrrain::graph mean " for info? My terrain folder have graph subfolder but what if I not use it outside my struct or code block?
what is significant use of size_t inplace of int? while writing my own routing engine code , is it meaningful replacing int io size_t; like in struct Node{ int id; double longitude; double latitude; }; in it changing int to size_t and what does " using terrrain::graph mean " for info my terrain folder have graph subfolder but what if i not use it outside my struct or code block ?
submitted by JustaStatistic to asklemmy 0 points | 0 comments Now ig this is a typical relationship type of post I assume. But the last time this happened though it was a different type I posted it here 2+ years ago and it really helped you guys did. So basically the deal here is like years ago I befriended this girl we used to study in a coaching together. We were really close and kinda ignored the rest of the class because it was more of a library as the teach didnt care and we were the only ones who wanted to study. Now I will add some context here as I do not live in the west and our struc
Grand Theft Auto 6 sold 32.5 million copies before it was even released, reports Yahoo News, which is liveblogging all the videogame history happening after GTA 6's Thursday launch. Like how singer The Weeknd says he found his real-life mansion appearing in the game... How players found a glitch that apparently lets you override the game's third-person point of view to play in first-person. And apparently it's also possible to jack an old woman's mobility scooter. (Though it makes for a very slow getaway, it's reportedly the GTA 6 vehicle that's least likely to crash...) - The jet-skiing dog i
Might be a stupid question but the book Im using to learn C says its something about showing the code ran sucessfully but when I run it doesnt show any returned 0 or something I just started today so it might be a easy question and if it matters I use vs code and the terminal to run
In our application we have a Windows service running on a server PC to monitor print queues, and we have a web application (C#, React, HTML). User can manually open any type of file, and we use Windows print drivers [.SPL file & LPD command]. Notepad → File → Print When user clicks File => Print any file our Windows service takes a .spl file from the print queue and copies in hold job path folder (local in system folder), and saves the metadata in the database, and shows in application UI. This is the legacy print workflow: Application (Word/Excel/PDF) ↓ Windows Spooler ↓ .SPL + .SHD files ↓ Y
In our application we have a windows service run on server PC to monitor print queue and we have web application (C#, react, HTML). User manually open any type of file and we use Windows print drivers [.SPL file & LPD command ]. Notepad → File → Print When user click File=> Print any file our windows service take .spl file from print queue and copy in hold job path folder[local in system folder] and save meta data in database and show in application UI. This is legacy print workflow: Application (Word/Excel/PDF) ↓ Windows Spooler ↓ .SPL + .SHD files ↓ Your Service copies .SPL ↓ Store job ↓ Use
I run a small personal-style web app (https://stylelooklab.com/) where users upload selfies for color analysis and hairstyle previews. The photos are processed in the browser and then shown back to the user. I'm concerned about EXIF metadata (GPS location, camera model, timestamps) travelling with those uploads. What is a reliable way to strip EXIF data client-side in JavaScript before the image is used or displayed? I've looked at drawing the image to a canvas and re-exporting it with toBlob, which seems to drop metadata, but I'd like to know: whether canvas re-encoding reliably removes all E
submitted by wheresmylove to asklemmy 0 points | 1 comments My first several dates with a guy I met on a dating app were great, and we recently became exclusive after a month and a half, but now more issues and patterns are popping up - including previous infidelity incidents - and I’m really sad and feel trapped, unsure how to proceed with him from here. I would really appreciate any advice and help because I had so much hope for us and feel attached but also extremely conflicted. We agree how naturally we click and how effortlessly conversation flows. I’ve felt a magnetic pull, strong attrac
submitted by antonim to technology 1 points | 0 comments https://www.heise.de/en/news/Internet-Archive-employees-seek-to-form-a-union-11533621.html heise.de/…/Internet-Archive-employees-seek-to-for… Internet Archive employees want to form a union. More than 80 of the 124 eligible U.S. employees signed in favor. Internet Archive founder Brewster Kahle must now give his staff’s request the green light. If he isn’t willing to do so, employees could instead arrange an election through the National Labor Relations Board, a U.S. labor rights agency. Also at Wired, but paywalled.
I have urls coming in like this: mysite.com/analytics/*.php?id=10&uid=20 I need to redirect them to: * analytics.mysite.com/*.php?id=10&id=20 The problem is that the part after /analytics/ can be anything. It could be view.php or edit.php or whatever.php and the query string can also be anything. Not sure what is the cleanest way to write this in .htaccess Any thoughts?*
I have a HTML file that I want to use as a interface for my projects, and I want to know if its possible to execute or open a python file from HTML or Javascript. The python file is in the same folder as the HTML and there is nothing I need to pass to the python file, I've tried to look at possible solutions but they all pertain to running the python in the browser or passing data to and from it which is not something I need. I do not want to use nodejs or any other external software. I just need to run the file.