79388944

Date: 2025-01-26 17:12:46
Score: 6 🚩
Natty:
Report link

Thanks for the quick answer @Martin Honnen . I tried using Xerces for validation. Tried the versions 2.11.0 , 2.12.0 , 2.12.2. All of them throws the same error below. I found few threads related to the same error, but couldn't find the right solution. Looks like issue with the schema NS URI. Appreciate if you can throw some light. Thanks in advance.

Error: "java.lang.IllegalArgumentException: No SchemaFactory that implements the schema language specified by: http://www.w3.org/XML/XMLSchema/v1.1 could be loaded".

Other related threads: https://issues.apache.org/jira/browse/XERCESJ-1703

Example to validate a xml-File against an XSD v1.1 Schema in Java 1.8

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Martin
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Java Dev

79388940

Date: 2025-01-26 17:10:45
Score: 1
Natty:
Report link

It looks like you're building a Java version of the card game Skat, but the issue of "Diamonds Seven" repeating 32 times suggests a problem in your Card class. This happens because you’re using static variables for color and value, which means all cards are sharing the same properties. To fix this, make sure each Card instance has its own unique color and value fields instead of static ones. That way, your deck will properly represent all 32 unique cards.

Once you fix the deck, the cards should be distributed correctly to the players and the Skat pile as per the rules. If you're looking for inspiration or just want to try out other card games while working on this, you can check out Lucky 101 for a variety of card games to explore!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vaheed Aman

79388937

Date: 2025-01-26 17:08:45
Score: 3
Natty:
Report link

if you set the expendedRowKeysProperly you can render it with the record.task as the data . and then in the nested table you can get the data and turn it to a column

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Aviv

79388936

Date: 2025-01-26 17:07:44
Score: 0.5
Natty:
Report link

A: secerlemica_depilacija Depilacija šećernom pastom maree_13_ Marko Simic djordjetosic_ Đorđe Tošić vladimir_lukic_ Vladimir Lukic sanja_srebro_ Sanja Milić Jovanović nemanjatosicc Toške loki____00 Лончар Марко katarinajanic_ Katarina alexandros.040 bate_00 Lazar Batinic misoo.b_ Mišo todormilenkovic21 Milenkovic Todor july.sminka Makeup artist Julija Stanković miljana_nedeljkovic Miljana Nedeljković andro.995 Андреја Петаковић nikolic_mihajlo0 Mihajlo Nikolic petrovic_jelenaa ᴊᴇʟᴇɴᴀ ᴘᴇᴛʀᴏᴠɪᴄ sttojanovicc_k Stojanovic Kristijan n__djordjevic_ Nataša🖤 j_aca_ Aleksandar Jovanovic tijanaa_vasiljevic tijana huskic_veljko Veljko Huskic laza_pavloviccc Lazar Pavlovic vanjaa_simicc vanja ekonomskikg Ekonomski fakultet Kragujevac kristiina.bogicevic turski_jezik_kragujevac Kurs turskog jezika Kragujevac milicarafailovic1 pantovic_andrija Andrija Pantovic raadovic.m Milorad Radovic jovana_trajanovski Jovana Trajanovski filip_lukicc_ Filip Lukic vucko.vuckovic00 Vučković Vučko mcunami не каже се молим, него ааа aleksiccc_priv l.u.k.a.p.r.i.v.v adamovicc_priv bugarciiic Александар Бугарчић veljkoo01 Вељко Миловановић👮🏻‍♂️ nikollic.ana Ana Nikolić|🐉 mstf.saglam Mustafa SAĞLAM 〽️ hassaykan Hasan Saygıkan taner_kizilboga Taner Kızılboğa obradovics Стефан Обрадовић ipetrovic Irena Petrović ilija___l Ilija Lazarov mijat_petrovic Mijat Petrovic nikola_bojkovic Nikola Bojkovic djordje_grbo .DJORDJE. luka_radulovic mateja_trebjesanin theuniqueladylola Lola Veljović🦁 tianatodosijeviic тиана kockasta_loptica Александра Чебашек Нешковић t__amara_ Tamara Ninković s.tanaskovic Снежана ☃️ aleksiccuros Урош Алексић pantelic578 Nenad Pantelic pripitomiti11 Nevena Mirković lukanedeljkoviic Лука Недељковић ivaa_milutinovic Iva Milutinović maarkoo_02 Марко Кањевац vojin__a Vojin Adamovic natalijaprojovic natalija sofijavulovic Sofija Vulović a.petrovic 𝘼𝙡𝙚𝙠𝙨𝙖𝙣𝙙𝙖𝙧 m_lukaa Лука Миладиновић sofija.lazovic danijelzojic Danijel Žojić nenad__tasic Ненад Ташић laxrkc Лазар Ракић ksenijajevtic Ksenija Jevtic dusica2350 Dusica Milanovic nevenaradosavljevic djurdjina_djordjevic Đurđina Đorđević🌸 boban.simic.3158 Boban Simic laz4r Lazar Andrejic 24_novak Bogdan Novkovic mmilenails_ 💎 Milena Milosavljevic 💎 minazlatic Mina Zlatić baakmabana sakyyyyyy🦥 yeeelena__ jelena krstić milanzoricc dimiii8 Anđela Dimitrijević aleksandraantiiic Александра nikolaa_z Nikola Roki Zivanic m.milicca markovic_2 ⚡marko selena_jankovic01 𝐒𝐞𝐥𝐞𝐧𝐚 𝐉𝐚𝐧𝐤𝐨𝐯𝐢ć djurdjajankovic Đurđa Janković jovica_nikodijevic Јовица Никодијевић djurdjevic.001 Ivan Djurdjevic pavle_vukojicic28 Pavle Vukojičić nikolavranic Nikola Vranic stosic_anja Anja Stošić lena_radosavljevic_ ℒℯ𝓃𝒶 ℛ𝒶𝒹ℴ𝓈𝒶𝓋𝓁𝒿ℯ𝓋𝒾𝒸́ veljko_petroviccc 🎻 savic.nina Nina Savic djukaa_01 Djurdja Matovic 35nets Miloradovic Nemanja ognjenradisavljevic Ognjen Radisavljević matejic_sandraa 𝓢𝓪𝓷𝓭𝓻𝓪 𝓜𝓪𝓽𝓮𝓳𝓲𝓬 saraa.milutinovic SARA jelenailicx Jelena Ilić mihailo_boskovicc Михаило Бошковић iliicjelenaaa j.jjovana Jovana Janković lukicteodora teodora yaannaapart2 yana nikica.kojic m_djurkovic Miroslav Đurković marinkovicsara Sara Marinkovic anakonda Ana Vikic millojevicc M s_n_e_z_a_ sneza usef_kg USEF nikolina.zivanovic Nikolina Živanović damnjanovic_20 Петар Дамњановић boskovicmila_ Mila Bošković stefanpantiic Stefan Pantic milicaa_saviccc milica djordjevicteodora Теодора Ђорђевић novakoviiic.m Marija Novakovic lekicaaa__18 Aleksandra Jovanovic ignjatovic_miljan Miljan malovic_a Anđela Malović jankovic_jovann1 lepovicsara Sara Lepovic sljukicksenija Ksenija Šljukić dusica_makeup Dušica Živanović nemanja5498 Nemanja Zivanovic j_markoviccc Jovana Markovic emometalac ♱ 𝙸𝙻𝙸𝙹𝙰 ♱ jeremic_milicaa Милица Јеремић nikolija.lj nikolija teajevvtic Teodora Novaković nikola.kovacevic15 Nikola Kovačević popadic_dusan Dušan Popadić angelos__ Anđela Rajević louisillija Ана Нешић ilija2g Арсенијевић Илија dusica.zivanovic.33 Dusica Zivanovic jmarinkoviccc danijel_boskovic Danijel Boskovic todorovic.iv Ivana Todorović bojanapetkovicc Petković Bojana stepanovic33 🌹Kristina Stepanovic🌹 radosavljevicx 𝑫𝒂𝒋𝒂𝒏𝒂 𝑹𝒂𝒅𝒐𝒔𝒂𝒗𝒍𝒋𝒆𝒗𝒊𝒄 petkanaaa Петковић Ана mladen_jovic_ Младен Јовић nikolinamarkovic21 Николина Марковић cikic_jelena Јелена Чикић jovaan_blagojevic Jovan Blagojević milanl Milan Lukovic marica__radosevic 𝓜𝓪𝓻𝓲𝓬𝓪 𝓡𝓪𝓭𝓸𝓼𝓮𝓿𝓲𝓬 biske_dragan Dragan Biševac Biške rosurosurosurosurosurosu Uros Boskovic papovicjovana Papović Jovana saskastanojevic_ Saška Stanojević maja3o3 MARIJA PAVLOVIC marinkovic.o75 Olivera Marinkovic stevanceviicm Magdalena Stevancevic ana_simicmilosavljevic Ana Simic Milosavljevic nevenasimic Nevena Simić rajicicandjela mina_marinkovic Mina Marinković nikola_01_10 Nikola Nikolic ina_kikica_ KRISTINA IVANOVIC predojevic.milan00 Milan Predojevic spasickatarina_ Катарина Спасић sanjalica_m Sanja Milic Jovanovic m_mijailovic4 Милорад Мијаиловић toma_lukovic Toma Lukovic djokomino92 Djole Ibanjez Todorovic natasaajevtic Natasa Jevtic spasovskaat 𝐬𝐩𝐚𝐬𝐨𝐯𝐬𝐤𝐚 𝐭𝐚𝐧𝐣𝐚 aleksandraasimovic josipovicjelena_ Jelena Josipović ivana.milutinovicc Ivana Milutinović todorovictanja_ Tanja Todorović nata.spasojevic Наталија Спасојевић vukadinovic_kristina Kristina Vukadinovic tea_j28 Teodora Jovanović milica.marinkovic Milica Marinkovic jelena_krstic_ Jelena Krstić milaarnautovic25 Mila Arnautović aleksandra_c09 Aleksandra Pantic Ex Colic zmaja612 Maja Milicevic mmilosavljevic_ Milena Milosavljevic anjasimic 𝖆𝖓𝖏𝖆 vukicevic_z Željko Vukicevic stepanovic_katarinaa Katarina Stepanović tasica.dj sretenlukovic_17 jovana94 Jovana Pantić borisavljevic_ivan Ivan Borisavljevic maticfilip87 Filip Matic todorovic_marijanaa Тодоровић Маријана marjanmircetic Marjan Mircetic maggdalena_s Magdalena Stanojevic djurdjevic.01 Ivan Djurdjevic t.pajovic Пајовић Тамара bojana_aleksijevic Bojana Aleksijević aleksijevic7 Ivana Aleksijevic 🍩 jesicdjordje ana_prokic01 Ana Prokić jovana_marinkovic Јована Маринковић anxys__ Ана Савић kristiinamarkovic kristina teodora.31 pantiicsara sara jovanovic__katarina__ Katarina Jovanović jovanovicmatic.23 Kristina Jovanović Matić ingvar9221 filip_borisavljevic Filip Borisavljevic milenictamara tamaramilenić mamadevill Raketic Marina predragmilenic Pedja Milenic todorovickatarina Katarina Miletic markoviictijana Tijana Marković ogijevtic Ognjen Jevtic milicajevtic Milica Jevtić spasovskaa Ања Спасовска djurdjevic_ivana 🌸𝐈𝐯𝐚𝐧𝐚 𝐃𝐣𝐮𝐫𝐝𝐣𝐞𝐯𝐢𝐜́🌸 n_rakocevic16 Nemanja Rakocevic lukaaa_19 Luka Petrović

B: vukicevic_z Željko Vukicevic nevenasimic Nevena Simić saraa.milutinovic SARA anakonda Ana Vikic dusica.zivanovic.33 Dusica Zivanovic anjasimic 𝖆𝖓𝖏𝖆 millojevicc M lukanedeljkoviic Лука Недељковић yaannaapart2 yana mmilosavljevic Milena Milosavljevic bojana_aleksijevic Bojana Aleksijević baakmabana sakyyyyyy🦥 aleksijevic7 Ivana Aleksijevic 🍩 biske_dragan Dragan Biševac Biške m_mijailovic4 Милорад Мијаиловић vojin__a Vojin Adamovic maarkoo_02 Марко Кањевац borisavljevic_ivan Ivan Borisavljevic milicajevtic Milica Jevtić boskovicmila Mila Bošković stepanovic_katarinaa Katarina Stepanović dusica2350 Dusica Milanovic j_markoviccc Jovana Markovic pantovic_andrija Andrija Pantovic zmaja612 Maja Milicevic miljana_nedeljkovic Miljana Nedeljković ivaa_milutinovic Iva Milutinović milaarnautovic25 Mila Arnautović jelenailicx Jelena Ilić turski_jezik_kragujevac Kurs turskog jezika Kragujevac n_rakocevic16 Nemanja Rakocevic lukicteodora teodora mcunami не каже се молим, него ааа sofija.lazovic l.u.k.a.p.r.i.v.v jankovic_jovann1 ognjenradisavljevic Ognjen Radisavljević markovic_2 ⚡marko stevanceviicm Magdalena Stevancevic predragmilenic Pedja Milenic ana_simicmilosavljevic Ana Simic Milosavljevic todorovickatarina Katarina Miletic mmilenails 💎 Milena Milosavljevic 💎 milanzoricc ksenijajevtic Ksenija Jevtic todorovictanja Tanja Todorović mladen_jovic Младен Јовић ipetrovic Irena Petrović lukaaa_19 Luka Petrović lena_radosavljevic_ ℒℯ𝓃𝒶 ℛ𝒶𝒹ℴ𝓈𝒶𝓋𝓁𝒿ℯ𝓋𝒾𝒸́ j_aca_ Aleksandar Jovanovic ogijevtic Ognjen Jevtic milicaa_saviccc milica laxrkc Лазар Ракић t__amara__ Tamara Ninković danijelzojic Danijel Žojić vanjaa_simicc vanja milicarafailovic1 nenad__tasic Ненад Ташић aleksiccc_priv mina_marinkovic_ Mina Marinković nemanja5498 Nemanja Zivanovic pantiicsara sara tianatodosijeviic тиана m_djurkovic_ Miroslav Đurković selena_jankovic01 𝐒𝐞𝐥𝐞𝐧𝐚 𝐉𝐚𝐧𝐤𝐨𝐯𝐢ć petkanaaa Петковић Ана natasaajevtic Natasa Jevtic s.tanaskovic Снежана ☃️ maggdalena_s Magdalena Stanojevic huskic_veljko Veljko Huskic djurdjevic_ivana_ 🌸𝐈𝐯𝐚𝐧𝐚 𝐃𝐣𝐮𝐫𝐝𝐣𝐞𝐯𝐢𝐜́🌸 jovanovicmatic.23 Kristina Jovanović Matić minazlatic Mina Zlatić aleksiccuros Урош Алексић djordje_grbo .DJORDJE. pantelic578 Nenad Pantelic july.sminka Makeup artist Julija Stanković obradovics_ Стефан Обрадовић mijat_petrovic Mijat Petrovic s_n_e_z_a__ sneza jmarinkoviccc josipovicjelena_ Jelena Josipović jeremic_milicaa Милица Јеремић anxys__ Ана Савић tasica.dj hassaykan Hasan Saygıkan marinkovicsara_ Sara Marinkovic dusica_makeup__ Dušica Živanović rajicicandjela filip_borisavljevic Filip Borisavljevic markoviictijana Tijana Marković spasovskaa Ања Спасовска djokomino92 Djole Ibanjez Todorovic iliicjelenaaa teajevvtic Teodora Novaković mateja_trebjesanin mamadevill Raketic Marina popadic_dusan Dušan Popadić marinkovic.o75 Olivera Marinkovic todorovic_marijanaa Тодоровић Маријана nikolina.zivanovic Nikolina Živanović j.jjovana Jovana Janković taner_kizilboga Taner Kızılboğa angelos_ Anđela Rajević nikolinamarkovic21 Николина Марковић milanl Milan Lukovic ignjatovic_miljan Miljan djurdjevic.001 Ivan Djurdjevic ina_kikica KRISTINA IVANOVIC raadovic.m Milorad Radovic filip_lukicc_ Filip Lukic vucko.vuckovic00 Vučković Vučko alexandros.040 lepovicsara Sara Lepovic veljko_petroviccc 🎻 sljukicksenija Ksenija Šljukić toma_lukovic Toma Lukovic adamovicc_priv matejic_sandraa 𝓢𝓪𝓷𝓭𝓻𝓪 𝓜𝓪𝓽𝓮𝓳𝓲𝓬 nikica.kojic jovana94 Jovana Pantić mihailo_boskovicc Михаило Бошковић nata.spasojevic Наталија Спасојевић nikolic_mihajlo0 Mihajlo Nikolic teodora.31 saskastanojevic_ Saška Stanojević luka_radulovic katarinajanic Katarina bojanapetkovicc Petković Bojana aleksandraantiiic Александра nikola.kovacevic15 Nikola Kovačević a.petrovic 𝘼𝙡𝙚𝙠𝙨𝙖𝙣𝙙𝙖𝙧 kristiinamarkovic kristina petrovic_jelenaa ᴊᴇʟᴇɴᴀ ᴘᴇᴛʀᴏᴠɪᴄ t.pajovic Пајовић Тамара laz4r Lazar Andrejic lekicaaa__18 Aleksandra Jovanovic rosurosurosurosurosurosu Uros Boskovic marjanmircetic Marjan Mircetic usef_kg USEF louisillija Ана Нешић maticfilip87 Filip Matic damnjanovic_20 Петар Дамњановић sofijavulovic Sofija Vulović m_lukaa Лука Миладиновић sretenlukovic_17 jovanovic__katarina_ Katarina Jovanović ana_prokic01 Ana Prokić djurdjajankovic Đurđa Janković tijanaa_vasiljevic tijana malovic_a Anđela Malović jovica_nikodijevic Јовица Никодијевић ingvar9221 yeeelena__ jelena krstić bugarciiic Александар Бугарчић 24_novak Bogdan Novkovic kockasta_loptica Александра Чебашек Нешковић milica.marinkovic Milica Marinkovic nikola_01_10 Nikola Nikolic jesicdjordje nemanjatosicc Toške ilija2g Арсенијевић Илија djordjevicteodora Теодора Ђорђевић pavle_vukojicic28 Pavle Vukojičić milenictamara tamaramilenić andro.995 Андреја Петаковић djordjetosic Đorđe Tošić todorovic.iv Ivana Todorović n__djordjevic_ Nataša🖤 aleksandra_c09 Aleksandra Pantic Ex Colic danijel_boskovic Danijel Boskovic dimiii8 Anđela Dimitrijević stosic_anja_ Anja Stošić pripitomiti11 Nevena Mirković misoo.b_ Mišo nikolaa_z Nikola Roki Zivanic papovicjovana Papović Jovana tea_j28 Teodora Jovanović emometalac ♱ 𝙸𝙻𝙸𝙹𝙰 ♱ ilija___l Ilija Lazarov vladimir_lukic Vladimir Lukic sanjalica_m Sanja Milic Jovanovic marica__radosevic 𝓜𝓪𝓻𝓲𝓬𝓪 𝓡𝓪𝓭𝓸𝓼𝓮𝓿𝓲𝓬 sttojanovicc_k Stojanovic Kristijan nevenaradosavljevic vukadinovic_kristina Kristina Vukadinovic mstf.saglam Mustafa SAĞLAM 〽️ predojevic.milan00 Milan Predojevic radosavljevicx 𝑫𝒂𝒋𝒂𝒏𝒂 𝑹𝒂𝒅𝒐𝒔𝒂𝒗𝒍𝒋𝒆𝒗𝒊𝒄 todormilenkovic21 Milenkovic Todor jovana_trajanovski Jovana Trajanovski stepanovic33 🌹Kristina Stepanovic🌹 m.milicca ivana.milutinovicc Ivana Milutinović nikolavranic_ Nikola Vranic spasickatarina_ Катарина Спасић 35nets Miloradovic Nemanja bate_00 Lazar Batinic spasovskaat 𝐬𝐩𝐚𝐬𝐨𝐯𝐬𝐤𝐚 𝐭𝐚𝐧𝐣𝐚 veljkoo01 Вељко Миловановић👮🏻‍♂️ stefanpantiic Stefan Pantic laza_pavloviccc Lazar Pavlovic aleksandraasimovic novakoviiic.m Marija Novakovic nikolija.lj nikolija kristiina.bogicevic djukaa_01 Djurdja Matovic natalijaprojovic natalija theuniqueladylola Lola Veljović🦁 jovaan_blagojevic Jovan Blagojević savic.nina Nina Savic nikollic.ana Ana Nikolić|🐉 djurdjina_djordjevic Đurđina Đorđević🌸 maree_13 Marko Simic maja3o3 MARIJA PAVLOVIC jovana_marinkovic Јована Маринковић cikic_jelena Јелена Чикић nikola_bojkovic Nikola Bojkovic sanja_srebro_ Sanja Milić Jovanović djurdjevic.01 Ivan Djurdjevic ekonomskikg Ekonomski fakultet Kragujevac boban.simic.3158 Boban Simic jelena_krstic__ Jelena Krstić loki____00 Лончар Марко bojan__zivkovic.6 Bojan Zivkovic secerlemica_depilacija Depilacija šećernom pastom vipcast_bgd VipCast - prvi podcast o mobilnim telefonima u regionu📲 vipmobile_bgd 𝐏𝐑𝐎𝐃𝐀𝐉𝐀 𝐎𝐓𝐊𝐔𝐏 𝐒𝐄𝐑𝐕𝐈𝐒 𝐓𝐄𝐋𝐄𝐅𝐎𝐍𝐀

Compare A and B

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jelena Simic

79388934

Date: 2025-01-26 17:06:44
Score: 3
Natty:
Report link

You could try and use WhitespaceData, by specifying time but no value.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Hung Tran

79388931

Date: 2025-01-26 17:04:44
Score: 3.5
Natty:
Report link

you could use the Attribute Evaluator and link it on verse

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Riky

79388924

Date: 2025-01-26 17:02:42
Score: 6.5
Natty: 7
Report link

What is the solution for Windows?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What is the solution for
  • Low reputation (1):
Posted by: Mohammad Mahidul Alam Araf

79388915

Date: 2025-01-26 16:57:41
Score: 2
Natty:
Report link

I recently had to count the number of unique subarrays in a 32-bit 2D integer array, so neither pandas.unique nor pandas.value_counts were an option for me.

I've found that the following solution was faster by about a factor of 3 for an array with 10e7 items and a fairly non-uniform distribution:

import collections
unique_counts = collections.Counter(zip(*sequences_array.T))

How to efficiently convert 2d numpy array into 1d numpy array of tuples?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Cosinux

79388906

Date: 2025-01-26 16:52:40
Score: 1
Natty:
Report link

Follow the steps of this page: https://exchange.tableau.com/products/303

That is, move the .jar file into the following directory:

Relaunch Tableau and connect using the Denodo JDBC connector.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Montecarlo

79388892

Date: 2025-01-26 16:43:36
Score: 7 🚩
Natty:
Report link

Thank you so much! @XWWu

I encountered the same problem, although I used the installation suggested by https://pytorch.org/

Your suggestion works well.

conda install pytorch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 pytorch-cuda=12.4 -c pytorch -c nvidia

Any idea why?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): why?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @XWWu
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: HappyFish

79388891

Date: 2025-01-26 16:42:35
Score: 4
Natty:
Report link

In angular component make standalone as false.

@Component({
standalone: false })

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Component
  • Low reputation (1):
Posted by: Engr Ebuka Orioha

79388890

Date: 2025-01-26 16:42:35
Score: 1.5
Natty:
Report link

Try to ensure that const reqUrl = ${api_url}/${Number(id)};

or
use API routes: Verify the server support like numeric routes (/items/:id).

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SAI BENDE

79388889

Date: 2025-01-26 16:41:35
Score: 3
Natty:
Report link

Ok, after a few hours wasted, I found the root cause. When an async code is tested by .toThrow() matcher, the exception being thrown must be extending Error. The relevant issue is here: https://github.com/jestjs/jest/issues/12024

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Антон Игоревич Злыгостев

79388888

Date: 2025-01-26 16:41:35
Score: 3.5
Natty:
Report link

Try find a gui tutorial because especially in this case, multiple ways can be used.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Filip

79388883

Date: 2025-01-26 16:38:34
Score: 3.5
Natty:
Report link

kraxor's answer is the best solution I could find.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: exeki

79388876

Date: 2025-01-26 16:33:33
Score: 1
Natty:
Report link

In my case, such a warning appeared:

[WARNING] useSystemClassLoader setting has no effect when not forking
[WARNING] The parameter forkCount should likely not be 0. Forking a JVM for tests improves test accuracy. Ensure to have a <forkCount> >= 1.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrzej Szeląg

79388873

Date: 2025-01-26 16:33:33
Score: 4.5
Natty: 6
Report link

I have a question that has come up. It is whether the FF explanations for each index have been scraped? Because the folder element needs to be clicked on, and sometimes this action does not work.

Reasons:
  • Blacklisted phrase (1.5): I have a question
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mostafa Kavand

79388867

Date: 2025-01-26 16:30:31
Score: 3
Natty:
Report link

This is 2024 and I found this: https://cloud.google.com/source-repositories/docs/adding-repositories-as-remotes

Is it still not safe to use google drive as GIT repository or it is changed? Though I mean respective to GIT reliability not google!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: NA MA

79388857

Date: 2025-01-26 16:21:29
Score: 3
Natty:
Report link

<link href="http://semantic-ui.com/dist/semantic.min.css" rel="stylesheet"/>
<script src="http://semantic-ui.com/dist/semantic.min.js"></script>
<div class="ui four cards">
            <a class="red card">
                <div class="image">
                    <img class="ui wireframe image" src="http://semantic-ui.com/images/wireframe/white-image.png">
                </div>
                <div class="ui bottom attached button">
                    <i class="fa fa-cloud-upload"></i><span class="little-space"></span>Deploy
                    
                </div           </a>
        </div>

মোঃ আকাশ সরকার পিতা নাম মোঃ রেজাউল মাতার নাম মোছা টুলু

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Rejaol Korim

79388847

Date: 2025-01-26 16:14:27
Score: 5
Natty:
Report link

Using Pending Intent and BroadcastReceiver solve the issue, Heres full answer: https://stackoverflow.com/a/79388836/10734372

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Godofsleepy

79388844

Date: 2025-01-26 16:13:27
Score: 1
Natty:
Report link

A rather new addition to step functions can easily solve the problem with a single state; however it would most probably require converting each of the states of your current step function from JSONPath to JSONata format.

"Arguments": {
       "foo": "{% $exists($states.context.Execution.Input.foo) ? $states.context.Execution.Input.foo : 'bar' %}"
}

For further reading:

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Equinox

79388840

Date: 2025-01-26 16:11:26
Score: 4.5
Natty:
Report link

Using Pending Intent and BroadcastReceiver solve the issue, Heres full answer: https://stackoverflow.com/a/79388836/10734372

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Godofsleepy

79388837

Date: 2025-01-26 16:10:24
Score: 7 🚩
Natty: 5.5
Report link

Unable to locate package mysql-community-server Help, please?

Reasons:
  • RegEx Blacklisted phrase (1.5): Help, please
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Allanxx

79388835

Date: 2025-01-26 16:10:24
Score: 2
Natty:
Report link

I also note avast listenning a lot of ports. I was concerned with contant cpu load of 34% and cpu fan always high. i just note avast port becouse of that, but i did not found the cause of the cpu load.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Thiago Souza

79388818

Date: 2025-01-26 16:03:22
Score: 0.5
Natty:
Report link

init command no longer works in Tailwind CSS v4. Downgrade to version 3.14.17, and then try again. It worked for me.

`

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muzaffar Hassan

79388800

Date: 2025-01-26 15:51:20
Score: 5.5
Natty:
Report link

I face the same problem it's maybe because you are sending the query as a string not as an object so if you are sending a string it won't be sanitized

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I face the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Osama Assi

79388798

Date: 2025-01-26 15:49:19
Score: 5
Natty: 4.5
Report link

"Main()" Этот синтекс чаще всего используется в puthon для тех кто не знает между скобок не долго не чего быть.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Саня

79388797

Date: 2025-01-26 15:48:18
Score: 1.5
Natty:
Report link

Azure only supports logging in with UPN or Email Address.

The Entra ID login Process is independent of the NameID claim config. It is not allowed to Login with Attributes like employeeId.

You can keep your claim config, Users have to login with their UPN and you have to ensure the Service Provider in configured correctly to match the NameID

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Erik

79388795

Date: 2025-01-26 15:47:18
Score: 1.5
Natty:
Report link

For me, it was a Firebase issue... I had not correctly added Firebase dependencies to the Podfile.

I also received: Xcode build is missing expected TARGET_BUILD_DIR build setting. Xcode Build Failure

Once I did, then I did a flutter clean and flutter run and it worked.

Add the Firebase pods for the products you want to use

pod 'FirebaseAnalytics' pod 'FirebaseAuth' pod 'FirebaseFirestore'

To the Podfile in the ios folder.

Podfile Update

Reasons:
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Roscoe - ROSCODE

79388790

Date: 2025-01-26 15:42:17
Score: 1
Natty:
Report link

The most secure way make a login for the software then make a login encrypted hash to make sure they are logged in from their ip address, password, time, etc on the website or server side

Then you can add all the encrypted software code, all the parts you want to hide on the website or server side what you don't want decompiled. You can also control versions and installs, subscriptions, etc. You can do this with the login hash then use php to check the login hash before giving all the parts of the encrypted software code

Thay may still captur the packets for decrypting them to see the code or Thay may edit the software with their login info then decompile the software. So there is no full way to stop the decompile of the software

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: witch

79388789

Date: 2025-01-26 15:42:17
Score: 2.5
Natty:
Report link

Accessing secrets from a pipeline is for some reason woefully under-documented. It is possible to access secrets very dynamically (including inserts) using this library: https://www.nuget.org/packages/Azure.Security.KeyVault.Secrets.

Here is a good video of the correct approach, (however this video stops short of actual pipeline use): https://www.youtube.com/watch?v=lGMIuIf3psA

Before or after watching the video, understand these things:

Screenshot of Secret, tenantID and clientID in a pipeline

Here are some links demonstrating App registrations:

Step 1: Register an Application in Azure AD a.Navigate to Azure Active Directory: ·Go to the Azure portal (https://portal.azure.com). ·Navigate to Microsoft Entra ID b.Register a New Application: ·In the Azure AD menu, select App registrations. ·Click New registration. From the “Overview” menu item, click the “Add” button. This will give you a menu item called “Add Registration.” ·Enter a name for the application (e.g., KeyVaultAccessApp). ·Click Register. 4.Get the Application (Client) ID: ·After registration, you will be redirected to the application's overview page. ·Copy the Application (client) ID. This is your AZURE_CLIENT_ID.

Step 2: Create a Client Secret 5.Create a Client Secret: ·In the application's menu, select Certificates & secrets. ·Under Client secrets, click New client secret. ·Add a description and set an expiration period. ·Click Add. ·Copy the value of the client secret. This is your AZURE_CLIENT_SECRET.

Step 3: Get the Tenant ID 6.Get the Directory (Tenant) ID: ·In the Azure portal, navigate back to Azure Active Directory. Microsoft Entra ·Copy the Directory (tenant) ID from the Azure AD overview page. This is your AZURE_TENANT_ID.

Step 4: Assign Permissions to the Application

7.Assign Key Vault Access Policies: ly think which allows an active “Access Policies” tab. ·Navigate to your Key Vault in the Azure portal. ·In the Key Vault menu, select Access policies. ·Click Add Access Policy. ·Configure the permissions (e.g., Get, List for secrets). ·Under Select principal, search for and select the application you registered. ·Click Add and then Save.

Step 5: Configure Azure DevOps Pipeline 8.Set Environment Variables in Azure DevOps: ·Go to your Azure DevOps project. ·Navigate to Pipelines > Library. ·Click + Variable group. ·Add variables AZURE_CLIENT_ID, AZURE_TENANT_ID, and AZURE_CLIENT_SECRET with their respective values.

I realize this answer is not long enough. To document it for my team I had to use 10 screenshots.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (0.5): medium.com
  • Blacklisted phrase (1): this video
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Charlesdwm

79388786

Date: 2025-01-26 15:40:17
Score: 2
Natty:
Report link

To run your code when it says "ModuleNotFoundError":

Right-click, go down to run python file, and click on "run python file in terminal".

I was stuck on this for hours. Every source just told me I didn't have "module" installed which I clearly did.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brin Carry

79388782

Date: 2025-01-26 15:38:16
Score: 3
Natty:
Report link

Perhaps it's the number of args in the hook, though i doubt it. Still you only have 1 argument in your function.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vasilis

79388781

Date: 2025-01-26 15:37:16
Score: 0.5
Natty:
Report link

Without testing your approach, I imagine the issue with it, as you have already guessed, is that you are re-rendering the whole calendar everytime a new day is hovered, which causes the flickering.

To avoid this, we need to use vanilla js, as in the suggestion made by @user25539973. I have done something similar to him, but it should be more reliable, see below.

One caviat though is that you'll need to modify the Calendar component of the primereact library so that the date cells contain the information of their day, month and year. Alternatively, you could implement some logic to find them out based on the header of the month view and on the week of the date cell. I have just created a PR for this information to be available in the next primereact versions: https://github.com/primefaces/primereact/pull/7650. Hopefully, it will be merged soon.

export default function DateRangeSelector() {
  const [selectedDates, setSelectedDates] = useState<(Date | null)[]>([]);
  const [rangeStart, setRangeStart] = useState<Date | null>(null);
  const calendarRef = useRef<Calendar>(null); // Ref to the Calendar DOM

  const handleDateSelect = (selectedDates: (Date | null)[]) => {
    setSelectedDates(selectedDates); // Finalize the range

    if (!rangeStart) {
      setRangeStart(selectedDates[0]); // Set the start date
    } else {
      setRangeStart(null); // Reset start date
    }
  };

  const handleDateHover = (event: React.MouseEvent<HTMLTableCellElement>) => {
    if (!calendarRef.current) return
    if (!rangeStart || selectedDates[1]) return

    if (!(event.target instanceof HTMLTableCellElement)) return

    const hoveredDay = event.target.getAttribute('data-p-day');
    const hoveredMonth = event.target.getAttribute('data-p-month');
    const hoveredYear = event.target.getAttribute('data-p-year');

    if (hoveredDay === null || hoveredMonth === null || hoveredYear === null) return;

    const hoveredDate = new Date(parseInt(hoveredYear), parseInt(hoveredMonth), parseInt(hoveredDay));

    const minDate = rangeStart < hoveredDate ? rangeStart : hoveredDate;
    const maxDate = rangeStart > hoveredDate ? rangeStart : hoveredDate;

    // Remove existing highlights
    const element = calendarRef.current.getOverlay()
    const allCells = element.querySelectorAll('.p-datepicker-calendar td');
    allCells.forEach((cell) => cell.firstElementChild?.classList.remove('p-highlight'));

    // Highlight dates in the range
    allCells.forEach((cell) => {
      const day = cell.getAttribute('data-p-day');
      const month = cell.getAttribute('data-p-month');
      const year = cell.getAttribute('data-p-year');

      if (day === null || month === null || year === null) return;

      const cellDate = new Date(parseInt(year), parseInt(month), parseInt(day));

      if (cellDate >= minDate && cellDate <= maxDate) cell.firstElementChild?.classList.add('p-highlight');
    });
  };

  return (
    <div>
      <h3>Select Date Range</h3>
      <Calendar
        ref={calendarRef} // Attach ref to access DOM
        value={selectedDates}
        onChange={(e) => { if (e.value) handleDateSelect(e.value) }}
        selectionMode="range" numberOfMonths={2}
        readOnlyInput
        pt={{day: { onMouseEnter: (event  ) => handleDateHover(event) }}}
      />
    </div>
  );
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @user25539973
  • Low reputation (1):
Posted by: Acc

79388777

Date: 2025-01-26 15:36:15
Score: 5.5
Natty: 6.5
Report link

what is shopify_optionValues set to ?

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): what is
  • Low reputation (1):
Posted by: Ben Weber

79388776

Date: 2025-01-26 15:34:14
Score: 1.5
Natty:
Report link

Late to the game but I have spent hours trying to fix this issue. Turned out it was a c# issue picking up the system date format. The system had been set to show the day of the week as in "Sunday 01/26/2025" in the task bar. When this was uploaded to SQL as part of some C# upload service it was causing SQL to throw this error. Setting the date format on the server to not include the day was the quick simple fix. Long term c# code needs updating to not take the system format which I assume must be the default.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shawn

79388774

Date: 2025-01-26 15:34:14
Score: 2.5
Natty:
Report link

This seems to be exactly what’s happening, Apple does not consider the original version as the commercial version. I can imagine that it takes the build uploaded to TestFlight (not even the one shown in Xcode) enter image description here

In the Xcode console, when retrieving the current version, it prints the build number.

enter image description here

The issue with this is that for each version of the app, I have uploaded 3-4 or even 10 builds, and all of these (users who paid for the app) must be able to download it as premium. Because of this, I assume that there are users with an original version between 1 and 10, so this value is not useful for me.

enter image description here

Don't you think OriginalPurchaseDate could be a solution?

func fetchActiveTransactions() async {
    let cohortDateComponents = DateComponents(year: 2025, month: 1, day: 24, hour: 0, minute: 0, second: 0)
    let cohortDate = Calendar.current.date(from: cohortDateComponents)!

    let shared = try? await AppTransaction.shared
    print(shared as Any)
    
    if case .verified(let appTransaction) = shared {
        print("Verified \(appTransaction)")
        
        let originalPurchaseDate =  appTransaction.originalPurchaseDate
        print("Original Purchase Date: \(originalPurchaseDate)")
        
        if originalPurchaseDate < cohortDate {

            print("\(originalPurchaseDate) is before to \(cohortDate). Is premium.")
            await MainActor.run {
                print("User is premium because \(originalPurchaseDate) is before to \(cohortDate).")
                self.isPremium = true
                self.isLegacyPremium = true
                self.purchaseDate = appTransaction.originalPurchaseDate
            }
            return
        } else {
 
            print("\(originalPurchaseDate) is after \(cohortDate). You need to validate it in RevenueCat.")
            do {
                print("Checking premium status in RevenueCat...")
                let customerInfo = try await Purchases.shared.customerInfo()
                self.isPremium = customerInfo.entitlements["premium"]?.isActive == true
                print("Premium State: \(self.isPremium)")
            } catch {
                print("Error obtaining customer info from RevenueCat: \(error.localizedDescription)")
            }
        }
    } else {
        print("Cannot fetch  transactions.")
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: GMarkoslansvka

79388767

Date: 2025-01-26 15:31:13
Score: 0.5
Natty:
Report link

createNodeIterator seems to be a way to go.

But I want to add a note and a fix to another answers here.

Recursion way:
The difference from answer https://stackoverflow.com/a/42678415/3273963
is, this will also process Nodes, which don't have children.

function filterNodeRecursively(node) {

    // FILTER_FUNCTION(node) OR STATEMENTS

    for (const childNode of node.childNodes) {
         filterNodeRecursively(node);
    }
}

And also an important note:

childNodes property ... returns a live NodeList (https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)

If a DOM is changed while iterating it with this function. It's not a problem for additions/deletions done ahead of the current position - index, but when a node is added or removed on an index lower than current, next iteration of childNodes will repeat already processed node, or skip node which was not yet selected.

If it's expected that the DOM might change,

to process all nodes in current state, if they don't need to be edited, use cloneNode() before calling this function.

to process all nodes including those added after the filterNodeRecursively() started, and avoid duplicate processing,
Use MutationObserver and also insert/check data-my-mod-done attribute to key nodes.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: papo

79388765

Date: 2025-01-26 15:30:12
Score: 6 🚩
Natty:
Report link

I shifted from VS code to Android Studio, and facing the same issue from previous 1 week. cmd shows java version of 17 but android studio shows java sdk version of 21. How we can handle it?

In cmd, java jdk version(17): java jdk version in cmd

In android studio, java jdk version(21): enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Abdullah khan kakar

79388761

Date: 2025-01-26 15:26:11
Score: 0.5
Natty:
Report link

"everything before last number in that text" I guess you mean including those numbers.

Try:

=TEXTBEFORE(A1,TEXTAFTER(A1,{0,1,2,3,4,5,6,7,8,9},-1),-1)

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: user11222393

79388754

Date: 2025-01-26 15:21:11
Score: 0.5
Natty:
Report link
  1. Install JDK on your machine.

  2. In JDK files navigate to bin folder and copy it's path. ex: C:\Program Files\Java\jdk-17\bin

  3. Open command prompt window.

  4. run the command :

    cd C:\Program Files\Java\jdk-17\bin

  5. run the command :

    keytool -export -rfc -keystore D:\Users\Documents\AppAndriod\app\keystore\certificate.jks -alias my_alias -file D:\Users\Documents\AppAndriod\app\keystore\certificate.pem

  6. Enter your key's password in the command prompt.

  7. Your .pem key will be generated successfully.

Note that :

  1. D:\Users\Documents\AppAndriod\app\keystore\certificate.jks is the path of your current .jks key that you want to convert to .pem
  2. my_alias is the alias name of your key.
  3. D:\Users\Documents\AppAndriod\app\keystore\certificate.pem is the path and file name of the new .pem key to be created after you run the command
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Michael

79388752

Date: 2025-01-26 15:20:10
Score: 0.5
Natty:
Report link

A single ordered set is not distributed across cluster nodes.

A single ordered set is stored in same instance/node. Multiple ordered sets could be distributed across nodes.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: sazzad

79388751

Date: 2025-01-26 15:19:10
Score: 2
Natty:
Report link

I managed to fix this issue by upgrading Pillow to Pillow==9.3.0 Also by creating a runtime.txt file and using python version python-3.11

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: George Bealby

79388746

Date: 2025-01-26 15:15:09
Score: 2.5
Natty:
Report link

I think you have an issue with your token since the error occurs already in line 1. Where are you getting it from? I'm a big fan of Graph, but in this case, it might be easier to use the Exchange Online module...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Erik

79388745

Date: 2025-01-26 15:15:09
Score: 5
Natty:
Report link

Here is the video that show the new update of tailwindcss that how to install it's easy if you just read doc of tailwind

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dhruv 726

79388738

Date: 2025-01-26 15:12:07
Score: 5
Natty:
Report link

I'm also facing the same issue. Don't create a folder using the project name while creating Vite. Add "." in the project name, which makes all the files of npm install in that folder only.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm also facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dev-Pranav

79388728

Date: 2025-01-26 15:07:06
Score: 3
Natty:
Report link

Implementați o clasă abstractă BIBLIOTECA cu următorul conținut: tip (ex: virtuala, fizica). Derivați apoi clasa CARTE din aceasta. Clasa CARTE va avea următorul conținut: titlu și autor. Creați o clasă IT_COMPUTERE cu următorul conținut: descriere, pret, nr exemplare. Această clasă va conține un obiect de tipul clasei CARTE, utilizându-se astfel conceptul de compunere a obiectelor. Realizați următoarele:  Implementați constructorii pentru toate clasele  Pentru accesarea și setarea datelor folosiți funcții de acces, respectiv funcții de setare  Implementați o aplicație independentă în care să instanțiați câte două obiecte de tipul IT_COMPUTERE și afișați la consolă datele acestora  Pentru fiecare obiect instanțiat, folosiți cel puțin două funcții de acces pentru modificarea datelor, apoi reafișați informațiile acestora. poate rezolva cineva aplicatia aceasta?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mihorianu Emanuela 10A

79388723

Date: 2025-01-26 15:05:05
Score: 1
Natty:
Report link

This is not supported yet. I believe that functionality is hardcoded to Whatsapp and not through Whatsapp Business API.

As of now, the only way to implement feedback mechanism is through regular buttons.

What I don't like is that even for the buttons, you can't set them to be Emojis. You will have to write some text.

enter image description here

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Aymane Shuichi

79388722

Date: 2025-01-26 15:03:05
Score: 1
Natty:
Report link

Instead of just minimizing the window, you need to minimize the application:

  //WindowState := wsMinimized; <- wrong
  //ShowWindow(Handle, SW_MINIMIZE); <- wrong
  ShowWindow(Application.Handle, SW_MINIMIZE); // <- 👍
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Felix Murzsa

79388717

Date: 2025-01-26 15:00:04
Score: 2
Natty:
Report link

I had a very similar issue. I had accidentally downloaded and installed the Mac (64-bit) version instead of Mac (64-bit, ARM). It did say it in the error message to be fair, but I missed it at first.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user2956284

79388712

Date: 2025-01-26 14:56:03
Score: 1.5
Natty:
Report link

To securely handle passwords in your test code:

Environment Variables: Store passwords in environment variables and access them in the code.

GitHub Secrets: Use GitHub Secrets for securely managing passwords in repositories.

Config Files : Use a .env file and add it to .gitignore to prevent it from being committed.

Try practicing interview questions at https://www.hireview.net. It could be helpful

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: SM K

79388709

Date: 2025-01-26 14:53:02
Score: 7.5
Natty: 7.5
Report link

Same problem here: My Chrome Browser is: Version 132.0.6834.111 (Official Build) (64-bit) The latest version of chromdriver.exe available is: Version 132.0.6834.110 (Official Build) (64-bit)

But this one crashes, saying I am using the wrong version. I got the 110 from https://googlechromelabs.github.io/chrome-for-testing/#stable Looking through, releases, I can't see how to find : Chrome Version 132.0.6834.110 OR cromedriver.exe Version 132.0.6834.111

Can anyone help?

Reasons:
  • RegEx Blacklisted phrase (3): Can anyone help
  • RegEx Blacklisted phrase (1): Same problem
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tommie Berry

79388697

Date: 2025-01-26 14:48:00
Score: 1.5
Natty:
Report link

In the yourproject.vbproj file there is a line to delete :

<EmbeddedResource Include="My Project\licenses.licx" />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paraglider

79388696

Date: 2025-01-26 14:47:00
Score: 2
Natty:
Report link

in .env config add line

ASSET_URL=https://yourdomain.com

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kim Ming Jun

79388693

Date: 2025-01-26 14:46:00
Score: 1.5
Natty:
Report link

u may use like

for(int i1=0; i1<n1;i1++) ....

because array is from 0 to n-1 and n can be a problem in your case ...

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Анна Луцик

79388686

Date: 2025-01-26 14:40:59
Score: 3
Natty:
Report link

is it the root cause that high concurrency or too much requests at same time that makes memory leak?

If yes I had used K6 as the loading test tool, I think it should help u to reproduce the issue.

And for tracing performence to check memory issue, I think dotTrace is useful.

Hope these help u...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is it the
  • Low reputation (1):
Posted by: user22957407

79388681

Date: 2025-01-26 14:36:58
Score: 2
Natty:
Report link

I was looking for similar solutions for creating MERN application from Swagger. Basically in my case, We have legacy application in old angular 1.4 and very old node.js that we need to migrate to latest ReactJs and NodeJs with TypeScript. For that I created the full stack MERN application via https://fabbuilder.com/blogs/swagger-to-mern/

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ishaan Puniani

79388680

Date: 2025-01-26 14:35:58
Score: 1
Natty:
Report link

It took me a while. I have this worked out. I define the sender. I also define the main recipient + 3 cc recipients.

set the_subject to "Update"
set the_body to "Hi, Luciano. 

All set:
… on the server.

thx. 

-lucca."

tell application "Mail"


set new_message to make new outgoing message ¬
    with properties {sender:"MyName  <[email protected]>", 
subject:the_subject, content:the_body, visible:true}


tell new_message
    -- Add the recipients:
    make new to recipient ¬
        at end of to recipients ¬
        with properties {address:"[email protected]"}
    make new cc recipient ¬
        at end of cc recipients ¬
        with properties {address:"[email protected]"}
    make new cc recipient ¬
        at end of cc recipients ¬
        with properties {address:"[email protected]"}
    make new cc recipient ¬
        at end of cc recipients ¬
        with properties {address:"[email protected]"}
    
    end tell
    end tell
Reasons:
  • Blacklisted phrase (1): thx
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Paul

79388676

Date: 2025-01-26 14:31:56
Score: 5
Natty:
Report link

FIXED!!!

The issue was that in my poopengine class I was calling poopengine itself instead of this. There was nothing wrong with my eval however I am now using Function instead. Thanks for the help. 😁

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): poop
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: pui4

79388675

Date: 2025-01-26 14:28:55
Score: 2.5
Natty:
Report link

Actually, the user interaction can still be slow because of slow internet connection due to client connectivity such as 3g on phone.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Libert Piou Piou

79388657

Date: 2025-01-26 14:16:53
Score: 1
Natty:
Report link

And after 8 years of waiting.. Ta-da!! Just stumbled upon this problem, but found fast :D (Be care, this code affects ListStyle for all elements, who use it)

list.getStyle().selection.setBottomHeight(36);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Olehandro

79388646

Date: 2025-01-26 14:11:52
Score: 1.5
Natty:
Report link

A JAR can either be executable or used as a dynamic link library that's loaded by the JVM at runtime. The JDBC driver JAR is an example of the latter.

No, you don't run the JDBC JAR in this case. You have to package it with your application that accesses Tableau. You need to add that JAR to the application CLASSPATH or package it with your client app.

How do you tell Tableau where to find the JAR and how to configure it? Consult your Tableau docs.

Reasons:
  • Blacklisted phrase (1): How do you
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: duffymo

79388644

Date: 2025-01-26 14:09:51
Score: 1
Natty:
Report link
  1. node -v checks the globally installed Node.js version. This command directly runs node.js binary installed on system

  2. npx node -v might use a locally installed version of Node.js. This command runs actually from npm packages

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anush

79388636

Date: 2025-01-26 14:03:50
Score: 1
Natty:
Report link

First, Make sure that the solution has its dependency correctly and that it is rebuilding locally on Visual Studio by rebuilding the complete solution, not separate projects

Second, Make sure that you have one .sln file in your repos as it may be their other sln file with missing project

Third Make sure that all dependent projects have the same version

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: mohamed saeed

79388621

Date: 2025-01-26 13:52:48
Score: 0.5
Natty:
Report link

If your port is different from 3000, you need to update the config

import NextAuth from "next-auth";
import GoogleProvider from "next-auth/providers/google";

const handler = NextAuth({
  providers: [
    GoogleProvider({
      clientId: process.env.GOOGLE_CLIENT_ID!,
      clientSecret: process.env.GOOGLE_CLIENT_SECRET!,
      authorization: {
        params: {
          response_type: "code",
          redirect_uri: "http://localhost:5000/api/auth/callback/google",
          scope: "https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email"
        }
      }
    })
  ]
});

export { handler as GET, handler as POST }

Update .env

NEXTAUTH_URL="http://localhost:3001"
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Aathi

79388609

Date: 2025-01-26 13:42:46
Score: 2
Natty:
Report link

I finally managed to resolve the issue. I was implementing the IMiddleware interface wrongly. Need not inject any RequestDelegate in the constructor of the custom middleware class. When implementing the InvokeAsync method, simply use RequestDelegate directly in the method signature to process incoming requests.

I have updated the code block for GlobalExceptionHandlingMiddleware in the question I posted. Also have updated the code block for Startup.cs with the correct and functional code block. No need to add services for ILogger explicitly. Everything working like a charm!

For detailed understanding pl see these two links, everything will be clear:

  1. https://www.youtube.com/watch?v=H3EbflpXVmo
  2. https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/extensibility?view=aspnetcore-9.0
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Prabir Choudhury

79388605

Date: 2025-01-26 13:38:44
Score: 6.5 🚩
Natty: 6.5
Report link

What workaround did you use to get accurate frames reliably? thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Petar Jovanovic

79388589

Date: 2025-01-26 13:27:41
Score: 1
Natty:
Report link
    int switches (int bulbs[]{
        int n = bulbs.length; 
        int c = 0;
        for(int i=0; i<n; i++){
           if(bulbs[i] == c%2){
                c=c+1;
           }
        }
        return c;
   }
        
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arjun Bhosale

79388588

Date: 2025-01-26 13:25:41
Score: 2
Natty:
Report link

Both app development and web development has equal demand in market. As I'm doing both web and mobile dev since 2020. Yes, there are many ups and downs but have to continue with your will to conqueror it.

For Web dev I suggest go with MERN Stack, For App dev go with React Native.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anush

79388584

Date: 2025-01-26 13:25:41
Score: 3
Natty:
Report link

I found a solution by switching to use the dart_openai package, which returns Hebrew as Hebrew characters.

Thanks for your responses.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Colin G

79388574

Date: 2025-01-26 13:15:39
Score: 1
Natty:
Report link

switching windows with <leader>ww also works for me, it puts the cursor on the floating diagnostic that is currently open.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Francisko de Moraes Rezende

79388573

Date: 2025-01-26 13:15:39
Score: 2.5
Natty:
Report link
atOptions = { 'key' : 'bade75af9d35ad6e68e4897475f99110', 'format' : 'iframe', 'height' : 50, 'width' : 320, 'params' : {} };
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md Shahin

79388569

Date: 2025-01-26 13:09:38
Score: 1.5
Natty:
Report link

Hola en mi caso funciono esto

en mi pc ya tenia instalado en la carpeta C:\Program Files\dotnet el dotnet, entonces seguramente estaba fallando.

Fui a la pagina oficial https://dotnet.microsoft.com/es-es/download/dotnet/8.0 y descargue la versión de x64, y al instalarla de nuevo se corrigió el error.

aca deben tener cuidado en la consola de VSC dice la descripción del problema en mi caso me dijo, no encuentro correctamente la ruta para la arquitectura x64, esa fue la pista para pensar que

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Udalbert Rodriguez

79388563

Date: 2025-01-26 13:04:37
Score: 2.5
Natty:
Report link

I have a bunch of random utilities in this codebase odds.rand you could use.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chris

79388561

Date: 2025-01-26 13:03:36
Score: 1
Natty:
Report link

you can use index_col Parameter

like this:

import pandas as pd

df = pd.read_csv('yours_file.csv', index_col=0, usecols=[0])

index = df.index print(index)

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Acourages

79388554

Date: 2025-01-26 13:01:36
Score: 3.5
Natty:
Report link

I lost $79 worth bitcoin via online, gladly i’ve been able to retrieve it back their the help of Gmail: maciofonespyrix at dotcome

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lisa Connie

79388550

Date: 2025-01-26 12:59:35
Score: 0.5
Natty:
Report link

pycrypto is deprecated pycryptodome is the valid one, although they both using the same namepace Crypto

First un-install:

pip uninstall pycrypto -y
pip uninstall crypto -y

Second install:

pip install pycryptodome --force-reinstall
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adel Alaa

79388543

Date: 2025-01-26 12:54:34
Score: 3
Natty:
Report link

So I came up with renaming almost all columns in the very beginning manually to have them with names without surpraises, and it all (dropping, combining, etc.) went well after : )

Here is my "perfect" df

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: march_1

79388540

Date: 2025-01-26 12:50:33
Score: 1.5
Natty:
Report link

After some more debugging, I think the issue in Code 2 is with the WHERE clause:

idx NOT IN (SELECT idx FROM cte)

Code 2 works if I change the WHERE clause to:

idx > (SELECT MAX(idx) FROM cte)

I think this answers the intent of the original question, though I'm somewhat unsatisfied with this because I would expect both WHERE clauses to work equivalently in this case.

Additionally, it seems that Code 2 is slower than Code 1. This is also counter intuitive to me because Code 1 will have a recursive iteration for each row on the ref table, whereas Code 2 should have a recursive iteration for each sequence of rows filtered to have a cumulative sum of val greater than or equal to 30.

The original ref dataset is so small that the speed difference is irrelevant, you can replace ref:

ref <- data.table(
  idx=1:10000
  ,val=sample(1:32,10000,replace=T)
)

Given the above, I suppose there are 3 questions I have now.

  1. Why does idx NOT IN (SELECT idx FROM cte) not work?
  2. What makes the Code 2 approach slower than the Code 1 approach?
  3. Is there a faster way to implemented this in SQL DuckDB?

Thank you kindly!

P.S. G. Grothendieck - thank you for your response. I agree that it is much faster in R than in SQL. I was looking for a DuckDB specific solution, though I think your solution would be helpful for other looking for a more general solution. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ohwaitwhatohok

79388536

Date: 2025-01-26 12:48:32
Score: 2
Natty:
Report link

After setting Application.ScreenUpdating = True before sheet.activate also do the following if multiple windows opened in the same workbook, close other windows , save the workbook , close and re open , and run the macro again

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shabeen Hussain

79388534

Date: 2025-01-26 12:46:32
Score: 2.5
Natty:
Report link

PHP extension has full Laravel Blade support including @json completion and parameters IntelliSense.

PHP Tools Extension

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Jakub Míšek

79388533

Date: 2025-01-26 12:46:32
Score: 2
Natty:
Report link

CTRL+b &: Kill a window. CTRL+b x: Kill a pane. If there’s only one pane (i.e., the window isn’t split into multiple panes), CTRL+b x will kill the entire window.

(Note: By default, the prefix is CTRL+b, so for simplicity, we can just refer to it as CTRL+b for beginner instructions!)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vahid Panahi

79388532

Date: 2025-01-26 12:45:31
Score: 2
Natty:
Report link

Friend, idea to connect gaming smartphone from connector with ethernet fantastic. When I looking information how connect livox mid 370 to Raspberry pi 4 or 5 I see how many things need to buy. If will be possible to connect livox mid 360 to Android smartphone or Tab throw converter it will be grade and fantastic and more cheaper then other solutions.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Денис и Аня Ж.

79388525

Date: 2025-01-26 12:32:28
Score: 5
Natty:
Report link

This happens to me too sometimes on my MacBook if I have lots of Junk files or my RAM is near full, or just when my computer is heavy in general. Try deleting junk files in VS and VSCode, or clean up your computer in general.

Really, I'm just a noob so I don't know how exactly it works, but a quick rampage of clearing cache and junk files usually does the trick. Quite annoying though.

I hope this helps.

(This is my first time answering a question. Please give me feedback for improving if I did anything stupid and forgive me. For those who might think this should be a comment, remember: I don't have enough Reputation.)

Reasons:
  • Blacklisted phrase (1): this should be a comment
  • Whitelisted phrase (-1): hope this helps
  • RegEx Blacklisted phrase (2.5): Please give me
  • RegEx Blacklisted phrase (1.5): I don't have enough Reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tigerbookworm

79388513

Date: 2025-01-26 12:27:27
Score: 1.5
Natty:
Report link

6 years later and this solved my issue... thanks!!!

Although there is a syntext error which ive corrected below.

<Directory "/var/www/html/wordpress">
    Options FollowSymLinks
    AllowOverride All
</Directory>
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: GKILLA Gaming Entertainment

79388509

Date: 2025-01-26 12:24:27
Score: 2.5
Natty:
Report link

Actually, the output of Get-Package is a extended list of the installed program. The difference between it and module is, a package is a program, while a module is a internal/external component of PowerShell where .NET commands, data types and functions (block made by some other components of a module). For details, compare the results of Get-Module with Get-Package

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Proshanto

79388505

Date: 2025-01-26 12:22:26
Score: 3
Natty:
Report link

Isusb etc/udev/rules.d/[rules file]. In my case, I would add: × Jamesha 7854146847 don't turn off the settings and leave all settings supported

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jamesha Stewart

79388497

Date: 2025-01-26 12:17:25
Score: 3
Natty:
Report link

149.0,150.0,151.0,152.0,153.0,154.0,155.0,156.0,157.0,158.0,159.0,160.0,161.0,162.0,163.0,164.0,165.0,166.0,167.0,168.0,169.0,170.0,171.0,172.0,173.0,174.0,175.0,176.0,177.0,178.0,179.0,180.0,181.0,182.0,183.0,184.0,185.0,186.0,187.0,188.0,189.0,190.0,191.0

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abhay Singh

79388493

Date: 2025-01-26 12:14:24
Score: 2
Natty:
Report link

I talked to the owner of the flutter_background_service package. There is no way to do this.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vishnubly

79388482

Date: 2025-01-26 12:06:22
Score: 4
Natty: 4.5
Report link

To anyone still facing this issue, can refer this: https://github.com/proyecto26/react-native-inappbrowser/issues/451#issuecomment-2275538714

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vishnubly

79388480

Date: 2025-01-26 12:05:22
Score: 1.5
Natty:
Report link

to complement the answer https://stackoverflow.com/a/79301018/17570148:

If you only change the values ​​of the id "com.android.application" version "8.1.0" apply false, and update grladle to 8.3, you may have some problem related to incompatibility between the target JVM versions configured for the Java compiler (in my case; 1.8) and the Kotlin compiler (in my case; 17).

enter image description here enter image description here

To solve this inconsistency, it is necessary to align the target JVM versions for both compilers. In the android/app/build.gradle file:

android { 
    ... 
    
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_17 // change the version here (VERSION_17 is my case)
        targetCompatibility JavaVersion.VERSION_17 // change the version here (VERSION_17 is my case)
    }

    // if your file doesn't have this line, you need to add it to ensure that the Kotlin compiler uses the same JVM version as the Java compiler:
    kotlinOptions {
        jvmTarget = "17" // 17 in my case
    }
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aurelio Fernam

79388471

Date: 2025-01-26 12:01:21
Score: 1.5
Natty:
Report link

write clear in the terminal the above answers also work but then the powershell cursor is confused when you type the next command

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: applepie

79388457

Date: 2025-01-26 11:50:19
Score: 2
Natty:
Report link

There is currently a known issue for this: https://github.com/tauri-apps/tauri/issues/11823

It currently doesn't seem to be possible to properly add resource files on Android. I haven't found any workaround yet, but I asked in the linked GH issue above.

My Android App just crashed and it took me some time to figure out that this is related to file reading.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marco

79388451

Date: 2025-01-26 11:47:18
Score: 2.5
Natty:
Report link

I installed Debian 10 and php version 7.3.

This seems to work.

Php 8 allows brackets around table name but this does not.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user29366735

79388447

Date: 2025-01-26 11:46:18
Score: 1
Natty:
Report link

Thanks to these comments, I could figure out what are going on under this issue.

While looking into this issue, I could find more pelicuralities.

  1. Performing SetRenameInformationFile within an exe as a standard user(without elevation) without a manifest specifiying requestedExecutionLevel in trustinfo(which handles execution level) triggers this issue.
  2. This issue occurs when trying to rename ADS under os drive(which is typically C:), while it does not occur in additional drives.

Difference between c++ and go program.

This is indeed related to the manifest file and the UAC virtualization as it is documented that

Specifying requestedExecutionLevel node will disable file and registry virtualization.

And this happens only in 32-bit program as UAC virtualization is only supported for 32-bit apps(as it is for pre-vista apps compatiblity, in which 64-bit was not popular and not used widely). When using g++ for compiling exe file, it embeds default manifest using pre-generated object file located in {mingw-root}/lib/default-manifest.o, which contains manifest file such as

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker"/>
      </requestedPrivileges>
   </security>
  </trustInfo>
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!--The ID below indicates application support for Windows Vista -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <!--The ID below indicates application support for Windows 7 -->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
      <!--The ID below indicates application support for Windows 8 -->
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
      <!--The ID below indicates application support for Windows 8.1 -->
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      <!--The ID below indicates application support for Windows 10 -->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
    </application>
  </compatibility>
</assembly>

which is mostly embed into exe file by default for several compilers(Visual Studio, mingw-64-gcc, rust, ...). However, golang does not embed or provide manifest for exe files by itself as they decided to make it a developer's responsibility to do that by themselves. 😢

Return value of ERROR_INVALID_NAME from SetFileInformationByHandle

As noted in the question, the error value ERROR_INVALID_NAME which is translated from STATUS_OBJECT_NAME_INVALID comes from luafv which stands for Least authorized User Account File Virtualization Filter Driver, which is used for UAC virtualization. From luafv!LuafvPerformRename the part where STATUS_OBJECT_NAME_INVALID(0xc0000033) comes into the scene it does something like

iterVal = 0;
if (uNameLen != 0) {
    do {
        if ((*(short *)(namePtr + iterVal * 2) == 0x5c) || (*(short *)(namePtr + iterVal * 2) == 0x3a)) 
        {
          esi = 0xc0000033;
          goto EXIT;
        }
        iterVal = iterVal + 1;
      } while (iterVal < uNameLen);
    }
  }

// ...

EXIT:
// release allocated objects...

return;

which reads through WCHAR(uint16) values from the name buffer to be used for renaming, if there is any backslash \(0x5c) or colon :(0x3a), it will set a register(particulary ESI) to 0xc0000033 then skip the actual call to FltSetInformationFile then do the releasing of the allocated resources. As every name used for renaming ADS starts with : according to the document, it is obvious that luafv cannot be used to rename ADS. So, it looks like renaming ADS does not work with UAC virtualization.

As, go currently supports Windows versions later than Windows 10, go compiled programs should not need compatibility for pre-vista Windows. Currently, to make 32-bit go compiled programs work without issue, manually embedding manifest file from the above(to also fix some potential issues) is the solution.

Remaining question

While trying to figure out why renaming ADS fails for files under os drive, I have checked that the directories I used for testing has ACL that allow the runner of the process to rename streams. As I was not using directories under C:\Windows, C:\Program Files which required administrator rights to access files inside them, I think that such issue should not happen for unrestricted directories. I wonder if Windows has drive-specific security setting for each drive but I could not find any reference about it.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): :(
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Snshadow

79388444

Date: 2025-01-26 11:45:18
Score: 1
Natty:
Report link

As pointed out by @jokuskay, my code was using the incorrect BuildConfig class. For some reason, I was importing Google's Firebase BuildConfig into my activity with the line of code import com.google.firebase.BuildConfig. That was a mistake and simply deleting this line fixed the issue.

Thanks @jokuskay!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jokuskay
  • User mentioned (0): @jokuskay
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: FTM

79388439

Date: 2025-01-26 11:40:17
Score: 1.5
Natty:
Report link

You can just use the GradientExplainer.

explainer = shap.GradientExplainer(fusion_model, [background_images,background_tabular])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hithesh Jay

79388438

Date: 2025-01-26 11:40:16
Score: 6 🚩
Natty: 5
Report link

I need help with this, om being attacked for no reason and these people are just embedding malware unto my phone and disrupting the whole system

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2.5): I need help
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rascal_Str13tlife_ Meza

79388435

Date: 2025-01-26 11:38:14
Score: 5
Natty: 6.5
Report link

I am using Python for the Delft3D FM model and also met that problem. I would like to know if you find a solution to that or not. Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1.5): I would like to know
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LongTrinhVN

79388434

Date: 2025-01-26 11:38:14
Score: 0.5
Natty:
Report link

I've this class "Vettore" and I need to read an input file with a function (i dont know how to adapt a "ReadfromFile" funcion to classes) and and store them to objects of a class Vettore. I also need to order the content of the class with selection sort

enter code here
class Vettore{

public: 
 

Vettore(); 
Vettore(int N); 


~Vettore();

//copy constructor 
Vettore(const Vettore&); 

//assignement operator 

Vettore& operator=(const Vettore&);


unsigned int GetN() const {return m_N;};
void SetComponent(int, double);
double GetComponent(int) const;
double& operator[](int); 

void Scambia(int, int);

private: 

int m_N; 
double * m_v; 

};
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aurora Pavanello