In a recent code review, a contributor is trying to enforce that all NULL checks on pointers be performed in the following manner: int * some_ptr; // ... if
2026-01-05 08:43:20AskHow do I read from stdin? Some code golf challenges require using stdin for input.
2026-01-01 17:01:12AskI was checking out an online game physics library today and came across the ~~ operator. I know a single ~ is a bitwise NOT, would that make ~~ a NOT of a NOT, which would give back
2025-12-10 14:22:09AskI have an html file that is processed using a bash script and want to remove empty tables. The file is generated from the sql statement but contains headers when no record is found. I want to delete the title for which no record was found. <tableborder="1"><caption>Tablewithdata</caption><tr><thalign="center">type<
2024-04-02 09:13:43AskI have the following path in my router {path:'/Page',component:async()=>{constisUserLogged=awaitgetUser()conststore=useStore()if(userLogged&&store.value1){returnimport('./pages/PublicPage/PublicPage .vue')}else{returni
2024-01-10 17:51:45AskI'm trying to optimize a SQL query but I'd like to know how to do it correctly. SELECTr0_.*FROMrider0_useindex(ride_booking_id_IDX)LEFTJOINbookingb1_ONr0_.booking_id=b1_.idLEFTJOINspots2_ONr0_.from_spot_id=s2_.idLEFTJOINspots3_ONr0_.to_spot_id=s3_.idWH
2023-09-08 00:38:24AskIn my Puppeteer script, I use File JS to execute before loading the page: constpreloadFile=fs.readFileSync('./file.js','utf8'); constid=awaitpage.evaluateOnNewDocument(preloadFile); file.js contains: consti=setInterval(()=>{if(window.turnstile){cle
2023-09-04 23:32:41AskThere is a scheduled task that is executed every 5 minutes when using upsertMany to insert a large amount of data. I found that the memory increases every time a task is executed and the GC cannot reclaim the memory. How can I solve this problem? Using nestjs, @mikro-orm/nestjsthis.emBi.upsertMany(SingleOrderSales,saveArry)
2023-08-15 23:04:41AskI have two different data coming from javascript and I want to display both data in the same cell in the same row
2023-07-22 16:17:09Ask



0
125
0