79665321

Date: 2025-06-13 20:02:46
Score: 0.5
Natty:
Report link

Passing a pointer to a function (even a const pointer), opens up the opportunity to change the data in the memory the pointer points to.

Therefore an auto conversion to const char* opens up the possibility of directly modifying the string buffer of the std::string object instance, without updating the metadata variable of the object instance. Bad. std::string has an API, including some nice convenient operators that tie into it to perform functions on the data it contains.

It is basically a std::vector for char data, with extras for common string work. A pointer is a blind address container, just an unsigned integer. You can get string::data() as a char pointer, even so. With that you can read or change the characters (but not the size of the buffer!).

(Note: c++98 string::data() returns a non-null_terminated char array pointer, C++11 and newer do return a null-terminated array.)

So what then if you mess up and assign the char pointer to some other char array inside the function? Not much, but it does not affect the std::string object outside the function, or its internal char buffer.

So they made that conversion to a "lower form" of string explicit, because it is too easy to make a mistake that might not be caught at compile time, and probably would be hard to debug at runtime.

Additionally, a pointer to an empty string instance buffer, is not a NULL pointer, and there is no way to know if the data in the string buffer is initialized to good values beforehand. const char* is a legacy form of string, but is just too convenient not to use and so on.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Chris Reid

79665311

Date: 2025-06-13 19:52:44
Score: 1.5
Natty:
Report link

([[This file was protected with MoonSec V3]]):gsub('.+', (function(a) _zFYIzCSXTMyC = a; end)); return(function(y,...)local a;local h;local n;local r;local _;local m;local e=24915;local t=0;local f={};while t<420 do t=t+1;while t<0x3ce and e%0x224c<0x1126 do t=t+1 e=(e*491)%27860 local d=t+e if(e%0x3454)<0x1a2a then e=(e+0x1b0)%0xace6 while t<0x118 and e%0x4344<0x21a2 do t=t+1 e=(e*509)%26894 local n=t+e if(e%0x2712)>0x1389 then e=(e-0x2d7)%0x1180 local e=52293 if not f[e]then f[e]=0x1 _=string;end elseif e%2~=0 then e=(e*0x2c9)%0x8d27 local e=67479 if not f[e]then f[e]=0x1 r=(not r)and _ENV or r;end else e=(e*0x66)%0x32c5 t=t+1 local e=11050 if not f[e]then f[e]=0x1 r=getfenv and getfenv();end end end elseif e%2~=0 then e=(e+0x38f)%0x4ab4 while t<0xe3 and e%0xb2a<0x595 do t=t+1 e=(e+535)%8880 local r=t+e if(e%0x4534)<=0x229a then e=(e+0x354)%0x40f0 local e=73701 if not f[e]then f[e]=0x1 a=tonumber;end elseif e%2~=0 then e=(e+0x16b)%0xb31d local e=34667 if not f[e]then f[e]=0x1 end else e=(e-0x310)%0x4162 t=t+1 local e=17686 if not f[e]then f[e]=0x1 end end end else e=(e-0x20d)%0xa5ad t=t+1 while t<0x192 and e%0x1f58<0xfac do t=t+1 e=(e*306)%13321 local d=t+e if(e%0x29a6)<=0x14d3 then e=(e*0x3a5)%0x2386 local e=82783 if not f[e]then f[e]=0x1 h={};end elseif e%2~=0 then e=(e*0xe5)%0x2aa1 local e=2040 if not f[e]then f[e]=0x1 n=function(f)local e=0x01 local function t(t)e=e+t return f:sub(e-t,e-0x01)end while true do local f=t(0x01)if(f=="\5")then break end local e=_.byte(t(0x01))local e=t(e)if f=="\2"then e=h.Vm_hhhCP(e)elseif f=="\3"then e=e~="\0"elseif f=="\6"then r[e]=function(t,e)return y(8,nil,y,e,t)end elseif f=="\4"then e=r[e]elseif f=="\0"then e=r[e][t(_.byte(t(0x01)))];end local t=t(0x08)h[t]=e end end end else e=(e+0xda)%0x4842 t=t+1 local e=55070 if not f[e]then f[e]=0x1 m="\4\8\116\111\110\117\109\98\101\114\86\109\95\104\104\104\67\80\0\6\115\116\114\105\110\103\4\99\104\97\114\120\71\120\99\89\80\83\115\0\6\115\116\114\105\110\103\3\115\117\98\72\87\103\83\76\80\110\106\0\6\115\116\114\105\110\103\4\98\121\116\101\112\75\72\118\100\112\70\67\0\5\116\97\98\108\101\6\99\111\110\99\97\116\81\69\111\84\83\118\100\105\0\5\116\97\98\108\101\6\105\110\115\101\114\116\68\73\79\69\117\69\90\116\5";end end end end end e=(e-723)%42161 end n(m);local e={};for t=0x0,0xff do local f=h.xGxcYPSs(t);e[t]=f;e[f]=t;end local function d(t)return e[t];end local d=(function(m,_)local y,f=0x01,0x10 local t={{},{},{}}local r=-0x01 local e=0x01 local n=m while true do t[0x03][h.HWgSLPnj(_,e,(function()e=y+e return e-0x01 end)())]=(function()r=r+0x01 return r end)()if r==(0x0f)then r=""f=0x000 break end end local r=#_ while e<r+0x01 do t[0x02][f]=h.HWgSLPnj(_,e,(function()e=y+e return e-0x01 end)())f=f+0x01 if f%0x02==0x00 then f=0x00 h.DIOEuEZt(t[0x01],(d((((t[0x03][t[0x02][0x00]]or 0x00)*0x10)+(t[0x03][t[0x02][0x01]]or 0x00)+n)%0x100)));n=m+n;end end return h.QEoTSvdi(t[0x01])end);n(d(64,"(>V%apvxScP_2Ok#2VSpxV%>#v_axxaV>p2S_pvP>P#>_vCV2>_.ScvpdS#cPSp#R2#caVR>#>#xSaxx>P2c_cxp>>SVa%%%#p_cS>vSuS#xP>xv>%O>aV3V#x_Vcaa%%cO%POv>V#kxaVqp#V_vxV%v#S2S_Sa>Vp2PS#xSVvSVa%%a#>_S_Sa2>vk%PkpS%v#vaVC%#V_LxcvOTO2>SxvkV_2xPPoV2%_Sx%%c>%OaPvvkV>2VS2xS2VSpx%%%#c_SxVppTVO%S>pcj#k#Pc)V2%_Vx%%SVV2xP>vp%c2__vp%2VS%xV%%#pOp_Vvk>%2SP2vv>xSVap%V#%_vxa%SV>#pPPa#VSOcS>xS2VS%xx%>#V#>_%avFxkPS%pVVSSVa%%%#p_v_PvkVxO#c>vcV>k2aV9%#>_Sx aS%v2PSpxS%P2VScCV2p_>xS%}#p_>S>v%Vpk%S>aPC2kkaVe%#V_;x>xa>SkpS#vO>Pk>P>eV2p_ax%%>#x_%ScacVxkx_xaOlSODaV.a#>_axR%v!%Op_xpaVpOpPcxc2VS%xx%U#%kS_av%%vkVPSa2%vSVa%%%#v_>PVvO*_2%SapxVV2paVIa#x_axF%>Vvka_%vOVxkxc%ac2VS%xV%a#v#>SSp%VO2PP_p.H>SVaa%S#p_ZxVp%>v2OP>a>>P#LP>!V2%_pxS%V3VkOc>x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sBx{ns{Bcc5hsts2sB3.:n:Bt{tt2V.{s/n.{c3t/%:nBns=c:A%Ac3/s.:xsBt%.n===3=n=%x2:c:{xn=)2xHt:22c{:tG{x/:2%/h.vt{chsts23/B.Bn.=x3hhs22xB:n%2n.:{%3.snsx.t.2sx=:t.hnqB{3{t.=3{ctcCc2{cx./s=k53%{/):c_/2%=ny:{32h%Bx.Bth=n3cc2"));llUfzboIvmxWdbK=function(e)e((-h.BUHujZqv+(function()local f,t=h.IeHyh_Ly,h.wDwZIyuQ;(function(r,f,t,e)r(e(f,e,t,t),e(e,t,f and e,e),f(r and e,e,r,r),f(t,r and t,f and f,t))end)(function(e,n,_,r)if f>h.AhHwavSQ then return _ end f=f+h.wDwZIyuQ t=(t*h.TCySmaog)%h.HxAeJOxf if(t%h.xLVcnXvv)<=h.mMAGnkGj then t=(t*h.STfnaBLx)%h.UBSAYOoi return n else return r(r(r,e and r,e,e),e(n,_,n,r),n(r,e,e,e and e),r(_,r,n,n))end return e(e(e,e,n,_),n(_ and e,n,e,_),r(_,_,_,r),r(_,r,n,e))end,function(r,n,_,e)if f>h.bGaeyKvS then return e end f=f+h.wDwZIyuQ t=(t+h.UrnSHlfW)%h.aujOhYAx if(t%h.qsFGjCRh)>=h.zng_Qial then t=(t*h.HvJExzBI)%h.AcecAJLn return r else return e(r(n,e and e,_,n and r),r(e,e,n,r),_(r,r,e,_)and e(_,r,e,e and _),e(e,e,n,e and e))end return e(n(e and n,_,_,e),_(e,r,r and _,n),r(n,_,e,e),n(n,n,r,e))end,function(_,n,r,e)if f>h.mMAGnkGj then return r end f=f+h.wDwZIyuQ t=(t+h.tXeOmZaa)%h.IIggwMHP if(t%h.CUwTeUiy)>h.htcvbhLv then t=(t+h.bmKCDWbE)%h.fdsmggSI return _ else return e(_(e,r,e and e,e),_(n,_,r,r),n(n,r,e,_),e(e,_,r,e))end return n(r(e,n,n,n),r(_,n,e,r),n(n,_,r,_),e(n,r,_,r))end,function(n,_,e,r)if f>h.qHSmJkPA then return e end f=f+h.wDwZIyuQ t=(t*h.xLVcnXvv)%h.SVMaAZpa if(t%h.BmQvrqMS)<h.xjOZshMx then return r(_(e,e,n,r),_(_,e,r,e),e(r and _,n,r,r and _)and r(n,e,e,r),e(n,n,n,e and e))else return _ end return e end)return t;end)()))end;KbdWxmvIobzfUll={h.beezCPLw,h.BgA_acEn};local e=(-h.eKiuaEPt+(function()local r,t=h.IeHyh_Ly,h.wDwZIyuQ;(function(f,e,t)t(f(t and f,t and e,e)and e(e,e,t),e(e,e and f,t)and f(e,t,f),f(t,e,f))end)(function(n,f,e)if r>h.anPUtomL then return f end r=r+h.wDwZIyuQ t=(t+h.xDWecQtO)%h.kVBORfIx if(t%h.tAuPSYai)>h._LHmIifw then t=(t+h.FzhgGnEd)%h.ZaJwPxZc return f else return n(f(e,e,n),e(e,f,e)and n(n,f and n,e),f(e,n and e,e and e))end return e(n(f,e,f),e(n,f and n,e),e(f,f and e,f))end,function(n,f,e)if r>h.zzwmBmeE then return e end r=r+h.wDwZIyuQ t=(t*h.RdhtWKUf)%h.QpUTmBvx if(t%h.RETtKUQt)<=h.sCCSilRI then return e(e(e and f,n,n),f(e,n,e),f(f,n,e))else return e end return f end,function(f,e,n)if r>h.dGLKtDeO then return n end r=r+h.wDwZIyuQ t=(t+h.vFDLoEtZ)%h.hIaygbQM if(t%h.BcPFTMhl)<=h.xeIrCLWd then t=(t-h.kAzDJdAx)%h.oICCCKFC return n else return n(e(e,e and f,n),n(n and e,f,e),f(f,f,e and f))end return e(f(f,n,e),f(f,n,e),n(e,e,f))end)return t;end)())local l=h._FyvYCTh or h.aFfkHMxR;local _e=(getfenv)or(function()return _ENV end);local r=h.zELtAOlK;local n=h.qtlkRbuq;local ne=h.wDwZIyuQ;local m=h.BorbiEJI;local function re(o,...)local s=d(e,"xrEw^fqmJy#t_0*XJ_yqqrE_Xy_0J0fJEw*_*y0y#qmq^P0y_my^fywr#ymJw0aJ0wy_#ffX^Xr*#*qEwtXq_rJ_ff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0_yyJfX^rXf_pJtmqEt*_ttJEfrrJK8#*yyqrnX0*#fm^wtDy0rt_qywELr_Jymf*E#X^0Xr^ffE^*tt#JrfJrmX^qtmJ^ya*X^#^qXw#{f*mytq#wrHE_my^f0

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adrian Cardim

79665302

Date: 2025-06-13 19:47:42
Score: 1.5
Natty:
Report link

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/fromBase64#decoding_a_base64_string

const uint8Array = Uint8Array.fromBase64("PGI+ TURO PC9i Ph");
console.log(uint8Array); // Uint8Array(10) [60, 98, 62, 77, 68, 78, 60, 47, 98, 62]

https://caniuse.com/mdn-javascript_builtins_uint8array_frombase64

https://github.com/zloirock/core-js#uint8array-to--from-base64-and-hex

https://www.npmjs.com/package/es-arraybuffer-base64

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

79665301

Date: 2025-06-13 19:46:42
Score: 1
Natty:
Report link

Based on WWDC's presentation there should be a .clear variant for .glassEffect(). Weirdly it's not available yet in the current Xcode build, only the .regular variant is available now. I'm expecting that to be available in future release.

The clear variant is currently not yet available in SwiftUI documentation.
https://developer.apple.com/documentation/swiftui/glass

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

79665300

Date: 2025-06-13 19:43:41
Score: 1
Natty:
Report link

New in iOS 26

There is new modifier property you can adopt to natively hide

.navigationLinkIndicatorVisibility(.hidden)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ayelvs

79665289

Date: 2025-06-13 19:29:38
Score: 4
Natty: 4.5
Report link

There seems to be a github action (created by databricks) to achieve this.

https://github.com/marketplace/actions/upload-dbfs-temp#usage

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nithish Reddy

79665287

Date: 2025-06-13 19:25:37
Score: 3
Natty:
Report link

it happened to me and the problem was a conflict of version. Make sure that the R version that you are using is the same of the installed package 4.3.3.

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

79665282

Date: 2025-06-13 19:18:34
Score: 1
Natty:
Report link

The explanation

"Conditions are used to signal that a resource is available. Whomever was waiting for the condition, can use that resource until they are done with it."

from Martijn Pieters' answer is a bit wrong and misleading (granted similarly so as in the linked threading-related question). Conditions are more concerned with halting execution, when the resource is not in a proper state (giving access back to other tasks, i.e. making the lock conditional) and grouping tasks into sets, that should be awakened together in case of certain events.

The "async for"-block using the condition as the context manager (or rather the embedded lock) actually already ensures exclusive access to the shared resource throughout the block (via implicit require/release-calls). We are supposed to use the condition here as shown in Martijn's Python-example or the Python documentation, but really the embedded lock gets used for this, which makes more sense as it provides or represents the mutually excl. access functionality for the resource. Also we can use various conditions based on the same underlying lock within this block, so the block is not bound to a certain condition, but rather a certain lock/shared resource.

If we only need the excl. access though, when some condition is met, then we might want to free the resource and suspend ourselves until that condition/event occurs again. So conditions are certain states or events in regards to the shared resource, that are necessary for us to proceed with our operations on that resource.

E.g. we can only proceed with adding a value to a shared queue, when there is space left in the underlying buffer. So when the queue is full we wait for a condition called "notFull", that gets controlled/triggered by the code taking values off the queue.

See this BoundedBuffer/Queue example in Java making good use of Conditions for that use case.

It is very comparable to how Conditions work in Python, but it showcases how the common lock is used to create the critical sections and how multiple conditions can be used within those. We don't even need to wait for a condition, when we notice ourselves, that the condition is already met (here e.g.: the queue has still space left or is not yet full).

Also the conditions we use for waiting are often only meant for rough, possible or necessary (but not sufficient) conditions and we still will have to check, if the state is indeed as expected or what we're looking for. Maybe another task got notified before us and already changed the state. That's also why "Condition.wait_for(predicate)" exists, to make that a combined and more compact affair without an explicit while-loop as in the Java-example. We might even get notified, even though the condition is actually NOT met!

The Java-documentation also states that conditions are used to group tasks/threads into sets, that should be awakened, when some common event occurs. So the Event-part is mainly concerned with collecting tasks, that are waiting on a same or similar thing and awakening/notifying them together as needed.

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: e.d.n.a

79665272

Date: 2025-06-13 19:03:30
Score: 1
Natty:
Report link

What worked for me (Mac + MCP Server is in Python + using uv):

npx @modelcontextprotocol/inspector /opt/homebrew/bin/uv --directory /Users/my_home_directory/src/tutorials/mcp/weather run weather.py

One of the messages printed on the console during the Inspector's startup was:
Open inspector with token pre-filled:
http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=a_sixty_four_character_token_that_changes_with_each_inspector_restart

I copy-pasted that in Safari. The Inspector was able to connect to the MCP server after that.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Tony

79665270

Date: 2025-06-13 18:58:29
Score: 2
Natty:
Report link

the suggested solution did not work for me, I got it working in MSSQL by using GETDATE()...

insert into "PRODUCT" ("createdAt", "updatedAt", "PRODUCT_ID", "USER_ID") values (GETDATE(),GETDATE(), 1, 1)
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Charles Brusca

79665261

Date: 2025-06-13 18:41:25
Score: 4
Natty:
Report link

I also faced same issue, the issue is in "tailwind.config.js" file. when I give this command: "npx tailwindcss init -p" it gives me error. then I manually create both files: "tailwind.config.js" and "postcss.config.js". but still it didn't work. The issue was in the tailwind version, I had the new version of Tailwindcss. After that, I downgrade the version of Tailwind to "3.4.17" and run this command: "npx tailwindcss init -p". It works.

Reasons:
  • Blacklisted phrase (2): gives me error
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arslan Akmal

79665253

Date: 2025-06-13 18:37:23
Score: 4
Natty:
Report link

I am also having this issue. It says everywhere to contact support, but support just refers to their github or stackoverflow subchannel, which neither does nothing to contact them.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TRNDSTR

79665248

Date: 2025-06-13 18:34:21
Score: 1.5
Natty:
Report link

the truth is there is no way you are going to know the best learning algorithms until you have tried them.

Now that you have used XGBoost and the performance isn’t satisfactory I urge you try another learning algorithms however before doing that you may need to check your preprocessing steps.

and instead of assuming why not test out what is happening and see for yourself.

For example you may consider cross validation to check the class imbalance

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Adegbite Ibukunoluwa Mary

79665229

Date: 2025-06-13 18:05:13
Score: 2.5
Natty:
Report link

[BARK]

┌───────────────────────────────┐

│ **SAPWOOD** (Light-colored) │

│ --------------------------- │

│ **HEARTWOOD** (Dark) │ ← Central core

│ ANNUAL RINGS: │

│ [ ][ ] Earlywood (Light band)│

│ [██] Latewood (Dark band) │

│ [ ][ ] Earlywood │

│ [██] Latewood │

│ │

└───────────────────────────────┘

➔ **Pith** (center)

Reasons:
  • No code block (0.5):
  • No latin characters (0.5):
  • Filler text (0.5): ───────────────────────────────
  • Filler text (0): ---------------------------
  • Filler text (0): ───────────────────────────────
  • Low reputation (1):
Posted by: Raza kohli

79665227

Date: 2025-06-13 18:00:11
Score: 2.5
Natty:
Report link

check you router, firewall and nat rules
if you use mikrotik check ip->nat (you can have dst-nat rule)
you must have 80 and 443 port forwarded separately!!!!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: иван хак

79665224

Date: 2025-06-13 17:56:10
Score: 3
Natty:
Report link

Check 'File' > 'Revision history' in Google Colab

Compare the execution time between the two cells to get an approximate time

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: pushpika liyanaarachchi

79665208

Date: 2025-06-13 17:46:07
Score: 3
Natty:
Report link

Try using a binary search to identify any incompatibilities. Also, check the mod’s official download page to confirm whether it supports your version of Minecraft.

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

79665204

Date: 2025-06-13 17:42:05
Score: 3
Natty:
Report link

As mentioned in the comment above, this feature exists only for LocalStack Pro users. However, there's an open-source project that enables this feature in the Community edition. You can check it out here: https://github.com/GREsau/localstack-persist.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Obada Yahya

79665203

Date: 2025-06-13 17:39:05
Score: 1.5
Natty:
Report link

Ok, I will add to the Necro-posting. .NET (at least version 8) has a template that uses the ApplicationHostBuilder and hosted services to use the Background worker class type. This is probably the right way to go forward (2025). It enables things like dependency injection and built in logging. This should enable developers to leverage all the rich tooling built for .NET Web Hosts.

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

79665199

Date: 2025-06-13 17:34:03
Score: 2
Natty:
Report link

I tried everything, the Snap version, the official .deb version. But the issue turned out to be related to GPU acceleration.

Disabling it solved my problem:
code --disable-gpu
you can permanently disable it in vscode settings:
"terminal.integrated.gpuAcceleration": "off"

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

79665196

Date: 2025-06-13 17:24:00
Score: 1
Natty:
Report link
echo 'Subject : "O=This is a test,CN=abc.def.com,L=North,ST=Arizona,C=CA"' |sed -r 's/.*CN=([^,]*)[,].*/\1/'
abc.def.com

linux bash sed: '-r' allows to use '()' without escaping search pattern: any char and "CN=" : .*CN= ( any char but not ',': [^,]* ) # remember/save this part in var 1 ',' and any char: [,].* replace with saved buffer/variable: \1

Cutting out strings is a very common task and can be done in various ways as shown above already: so I am also always looking for new ways and always taking into account the available tools and patterns to have an easy, fast and precise solution.

Happy cutting!

brgds

stefan

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Stefan

79665189

Date: 2025-06-13 17:19:59
Score: 2.5
Natty:
Report link

The AWS glue registry has a hard limit on the schema size of 170kb. We have many that are more than 200kb, so I'm forced to try a Frankensteinian solution like using the confluent schema registry with msk.

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

79665183

Date: 2025-06-13 17:13:58
Score: 1
Natty:
Report link

I misput the closing bracket in the homeController file

router.post('/put-crud'), homeController.putCRUD;

// it should be

router.post('/put-crud', homeController.putCRUD);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Dr Linh Chi Nguyen

79665182

Date: 2025-06-13 17:13:58
Score: 0.5
Natty:
Report link

Instead of using IClassFixture<T> you should use ICollectionFixture which allows you to create a single test context and share it among tests in several test classes. You can find an example of the usage here Collection Fixtures. Hope it helps🤞🥲.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ismael Herrera

79665175

Date: 2025-06-13 17:03:55
Score: 2.5
Natty:
Report link

I have always used it this way:

ifndef MAKECMDGOALS
        @echo "$$(MAKECMDGOALS) is not defined"
    else 
        @echo "$(MAKECMDGOALS) is defined"
    endif

No parentheses, or "$" sign. A lesson hard learned, or was it? What is the difference in these two syntaxes?

ifndef $(MAKECMDGOALS)
        @echo "$$(MAKECMDGOALS) is not defined"
    else 
        @echo "$(MAKECMDGOALS) is defined"
    endif
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Clarkman

79665170

Date: 2025-06-13 16:56:52
Score: 6.5 🚩
Natty:
Report link

I found a Way to Resolve the CSRF Token Mistach Error on Insomnia. By default we have a funcionality that takes a Header value and store it in a Tag/Environment Variable.

But the XSRF token comes with a bad formatation and just put it as reference on the headers is'nt enough to Correct it.

Below i'will pass a function that extract the corret value from the XSRF TOKEN in the header and store it correctly in a environment variable:

**1. Create an Empty envinronment variable**

```

{

"XSRF_TOKEN": ""

}

```

**2. Create a new HTTP Request on Insomnia, put your URL with GET method.**

````` you-api/sanctum/csrf-cookie` ``

**3. Below URL we have different paths of configuration like Params, Body, Auth, go to Scripts and put the code Below**

```

const cookieHeaders = insomnia.response.headers

.filter(h => h.key.toLowerCase() === 'set-cookie');

const xsrfHeader = cookieHeaders

.find(h => h.value.startsWith('XSRF-'));

console.log(xsrfHeader);

if (xsrfHeader) {

// 3. Extrai o valor do cookie

let xsrfValue = xsrfHeader.value

.split(';')\[0\]             // "XSRF-TOKEN=…"

.split('=')\[1\];            // pega só o valor

xsrfValue = xsrfValue.slice(0, -3);

// 4. Armazena na base environment

insomnia.environment.set("XSRF_TOKEN", xsrfValue);

console.log('⭐ XSRF-TOKEN salvo:', xsrfValue);

} else {

console.warn('⚠️ XSRF-TOKEN não encontrado no header');

}

```

In console of response you can see if any errors occurs.

**4. Finally put the variable on the Headers of any Http Request as you want. Like this:**

```

header value

X-XSRF-TOKEN {{XSRF_TOKEN}}

```

After that you will be able to make Your Request to your login and Have access to your application and Auth::user !

Obs: I already was receving the Token in Frontend so my Backend was okay, if you dont, just follow the steps of a lot of youtubers, in my case i've struggle for a while in this step because my domain of backend and frontend was not of the same origin.

i Create an environment domain for main application to redirect the localhost of Frontend and Backend.

My Backend is a server vagrant that points to **http://api-dev.local** and my frontend is

**http://frontend.api-dev.local**

Below my** vite.config.js** where i change the domain, "you have to point the domain in your hosts file of your system" i'm using Windows 11"

```

import { fileURLToPath, URL } from 'node:url'

import { defineConfig } from 'vite'

import vue from '@vitejs/plugin-vue'

import vueDevTools from 'vite-plugin-vue-devtools'

// https://vite.dev/config/

export default defineConfig({

plugins: [

vue(),

vueDevTools(),

],

resolve: {

alias: {

  '@': fileURLToPath(new URL('./src', import.meta.url))

},

},

// server: {

// host: 'test-dev.local',

// port: 5173,

// https: false, // ou true se você gerar certificado local

// }

server: {

host: 'frontend.api-dev.local',

port: 5173,

https: false,

cors: true

}

})

```

and my Important Variables in **.env** of laravel

`APP_URL=http://api-dev.local

SESSION_DOMAIN=.api-dev.local

SANCTUM_STATEFUL_DOMAINS=http://frontend.api-dev.local:5173

FRONTEND_URL=http://frontend.api-dev.local:5173`

Final OBS:

The routes are in WEB not in API, below you see my **web.php** file

```

<?php

use App\Http\Controllers\AuthController;

use Illuminate\Support\Facades\Route;

use App\Modulos\Usuario\Http\ApiRoute as UsuarioRoute;

Route::get('/', function () {

return view('welcome');

});

Route::middleware('web')->group(function () {

Route::post('/login', \[AuthController::class, 'login'\])-\>name('login');

Route::post('/logout', \[AuthController::class, 'logout'\])-\>name('logout');

Route::get('/user', \[AuthController::class, 'user'\])-\>name('user')-\>middleware('auth');

UsuarioRoute::routes();

});

```

I'm not using the user route in this case, just return the user data in login.

My English is so Bad, glad to Help!

Finally you will be able to Resolve the problem

Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): não
  • RegEx Blacklisted phrase (2): encontrado
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dênio Clécio

79665158

Date: 2025-06-13 16:48:50
Score: 1.5
Natty:
Report link
Downloading Chromium 136.0.7103.25 (playwright build v1169) from https://playwright.download.prss.microsoft.com/dbazure/download/playwright/builds/chromium/1169/chromium-win64.zip
Error: getaddrinfo ENOTFOUND playwright.download.prss.microsoft.com
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:internal/dns/promises:99:17) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'playwright.download.prss.microsoft.com'
}
Failed to install browsers
Error: Failed to download Chromium 136.0.7103.25 (playwright build v1169), caused by
Error: Download failure, code=1
    at ChildProcess.<anonymous> (G:\automatiza\Lib\site-packages\playwright\driver\package\lib\server\registry\browserFetcher.js:94:32)
    at ChildProcess.emit (node:events:518:28)
    at ChildProcess._handle.onexit (node:internal/child_process:293:12)

i am getting this error for all the 3 retries with 3 different domain names, in my docker file i am having command && playwright install --with-deps chromium, this command initially it was working but now after 3 retries also it is getting failed 
Reasons:
  • Blacklisted phrase (1): i am getting this error
  • RegEx Blacklisted phrase (1): i am getting this error
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Amit Ilakal

79665141

Date: 2025-06-13 16:32:46
Score: 1
Natty:
Report link

No negative impact—your approach is correct and commonly used.

Applying custom weights to the TF-IDF matrix (with norm=None), then normalizing each row using sklearn.preprocessing.normalize, produces unit vectors just like norm='l2' in TfidfVectorizer. This preserves cosine similarity and ensures each row has L2 norm = 1.

Key point: The order matters. Weighting first, then normalizing, gives you control over the influence of features before projecting vectors onto the unit sphere.

If you normalized before weighting, the vectors would not be unit length anymore.

There is no difference (other than order of operations) between the manual normalization and letting the vectorizer do it, as long as normalization is the last step.

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

79665136

Date: 2025-06-13 16:30:45
Score: 0.5
Natty:
Report link

ctor changed from an attribute macro to a proc macro at some point after version 0.2.0, which makes re-exporting not possible. Therefore, the solution is to use ctor = "0.2" within Cargo.toml for mylib.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mdf

79665135

Date: 2025-06-13 16:30:45
Score: 0.5
Natty:
Report link

You did not mention anything about adding permissions to the Android Manifest.

<uses-permission android:name="android.permission.CAMERA" />

You may also consider this if it is required:

<uses-feature android:name="android.hardware.camera" android:required="true" />

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

79665126

Date: 2025-06-13 16:17:41
Score: 2
Natty:
Report link

I think this policy export endpoint is the closest you can get.

https://help.zscaler.com/zia/policy-export#/exportPolicies-post

There are still a few other things to export (URL categories, groups, ATP URL list, etc.) if you want a complete picture.

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

79665117

Date: 2025-06-13 16:09:39
Score: 2
Natty:
Report link

I got the same problem and I tried installing the package multcompView then I used cld() function with my emmean object, without using pairs(), and I finally got an expected grouping.

For example:

library(tidyverse)
library(lme4)
library(lmerTest)
library(emmeans)
library(multcomp)

formula_str <- "log(OC) ~ sev_dpt * fraction + 1 + (1|Sites)" # where OC is numerical, and the other ones are factors
mod.lme <- lmer(as.formula(formula_str), data = db)

emmeans(mod.lme, list(pairwise~sev_dpt*fraction), adjust="tukey") %>%
  # pairs() %>% # I needed to avoid the use of pairs to make it work
  multcomp::cld()
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I got the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Luis D. Olivares

79665112

Date: 2025-06-13 16:04:38
Score: 0.5
Natty:
Report link

Versions matter. After ensuring both my host and micro frontend had the same angular version (19.0.0) and the same version of @angular-architects/native-federation (also 19.0.0) the NG0203 error disappeared an federation started working for me.

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

79665097

Date: 2025-06-13 15:51:35
Score: 3.5
Natty:
Report link

You're casting a char (from std::string) into an unsigned char. That's where the compiler warns about the possible loss of data.

This is innocuous as long as your input actually contains printable characters. If there's binary data in your string, that's when you could loose data. But you probably don't want to call Converter::tolower() passing a string with binary data, right?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Fernando Ramos

79665093

Date: 2025-06-13 15:50:34
Score: 2.5
Natty:
Report link

If anyone is looking for DiscUtils since Codeplex has shut down, It can be downloaded from Github: https://github.com/DiscUtils/DiscUtils

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

79665090

Date: 2025-06-13 15:43:32
Score: 0.5
Natty:
Report link

Why can’t I delete large nodes in Firebase Realtime Database? (TRIGGER_PAYLOAD_TOO_LARGE) Firebase Realtime Database has a hard limit: if a write/delete operation would trigger a payload larger than 1MB (because triggers/events send the full data), it fails with TRIGGER_PAYLOAD_TOO_LARGE. This limit affects deletes via:

Changing settings like .settings/strictTriggerValidation or using service accounts does not bypass this.

What can you do?

  1. Delete children in small batches If the problem node has many children, delete them in small groups (e.g., 100 at a time). Example (Admin SDK):
async function deleteInBatches(path) {
const ref = admin.database().ref(path);
let snap = await ref.limitToFirst(100).once('value');
while (snap.exists()) {
const updates = {};
snap.forEach(child =\> updates\[child.key\] = null);
await ref.update(updates);
snap = await ref.limitToFirst(100).once('value');
}
await ref.remove(); // Optionally remove empty parent
}

If any individual child exceeds 1MB, this method will also fail.

  1. No reliable way to force-delete huge single nodes If even a single child (or the node itself) is >1MB, there is no public method to delete it. No setting or permission will bypass this. This is a platform limitation by Firebase to protect against massive accidental deletes.

  2. Contact Firebase support If you absolutely must delete such data (especially in production), open a support ticket with your project and path. In some cases, Firebase support can perform backend deletes not possible via public APIs.

Prevention tips Avoid storing large blobs in Realtime Database; use Cloud Storage. Keep your data shallow and well-partitioned.

Summary:

Chunked/batched deletes work if children are small enough. No workaround exists for single nodes/children >1MB—contact support.

References:

Firebase Functions limits (https://firebase.google.com/docs/functions/limits)

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why can
  • Low reputation (1):
Posted by: Daniel

79665087

Date: 2025-06-13 15:42:32
Score: 4
Natty:
Report link

1- عامر 🐺

2- ابدولا ♋️

3- خالد

4- محمد يوسف

5- محمد الهرمودي 🔷

6- محمد 🐉

7- عبدالله احمد

8- مايد ز

9- محمد الهاجري

10- عبدالسلام

11-اسماعيل

12-عبدالله الهاجري

13- حمد عارف

14- عيسى

15- بو مهره بامر من بوخالد

16- ماجد

17- عمران

18- روسي

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Amer Al Zarouni

79665084

Date: 2025-06-13 15:40:30
Score: 6.5 🚩
Natty: 5.5
Report link

I followed this and the word wrap is working. Only problem is that the word wrapped text size has shrunk so much that I can hardly read it. Is there a way to remedy this?

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: RALPH

79665079

Date: 2025-06-13 15:38:29
Score: 0.5
Natty:
Report link

You probably need to add the jasypt spring boot library:

implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5'
<dependency>
    <groupId>com.github.ulisesbocchio</groupId>
    <artifactId>jasypt-spring-boot-starter</artifactId>
    <version>3.0.5</version>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Carlos Jafet Neto

79665061

Date: 2025-06-13 15:23:24
Score: 1
Natty:
Report link

To work in Pipenv from Jupyter Notebook do:

pipenv install ipykernel
pipenv shell

ipython kernel install --name=`basename $VIRTUAL_ENV` --user

jupyther notebook
# select .venv kernel

Note that ipython installation is made.

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

79665056

Date: 2025-06-13 15:21:24
Score: 1.5
Natty:
Report link

During SymfonyOnline June 2024, Fabien Potencier himself gave a talk about this topic.

The replay of the talk is free to view (requires a registration): https://live.symfony.com/account/replay/video/968

The slides are available here:

https://speakerdeck.com/fabpot/using-some-git-magic-on-the-symfony-mono-repository-6186213e-8ed7-4d47-8c69-d64748ec2ea9?slide=31

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

79665043

Date: 2025-06-13 15:13:21
Score: 1
Natty:
Report link

Looks like you aren't importing PassKit in your Swift code. Add import PassKit to the top and it should compile.

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

79665037

Date: 2025-06-13 15:08:20
Score: 2
Natty:
Report link

NoInfer<T>

There's a TypeScript utility type since version 5.4 for this very use case.

async function get<U>(url: string): Promise<NoInfer<U>> {
    return getUrl<U>(url);
}
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: B14s

79665032

Date: 2025-06-13 15:03:18
Score: 1.5
Natty:
Report link

🧩 Why isn’t resolveWebviewView ever called in my VS Code extension?

I want to share a subtle but critical pitfall that can break VS Code sidebar webviews and waste hours of debugging time. If your resolveWebviewView() method never gets called—no errors, no logs, just a stubborn placeholder in the sidebar—this might be your culprit.


Symptoms


What’s Actually Happening

Despite what most documentation suggests, just defining a view with an id in your package.json and registering a provider with the matching ID is not enough.

VS Code will happily display your sidebar view, but will never hook up your provider unless you explicitly set the view’s type to "webview" in package.json.


The Critical Line

You need this in your package.json view contribution:

"views": {
  "mySidebarContainer": [
    {
      "type": "webview",  // <-- This is required!
      "id": "mySidebarView",
      "name": "Dashboard"
    }
  ]
}

If you leave off "type": "webview", VS Code treats your view as a static placeholder.
Your provider will never be called—no matter how perfect your code is.


Why is this so tricky?

This makes it really hard to diagnose, especially in projects with build steps or lots of code.


Minimal Working Example

package.json (relevant bits):

"viewsContainers": {
  "activitybar": [
    {
      "id": "mySidebarContainer",
      "title": "My Sidebar",
      "icon": "media/icon.svg"
    }
  ]
},
"views": {
  "mySidebarContainer": [
    {
      "type": "webview",
      "id": "mySidebarView",
      "name": "Sidebar Webview"
    }
  ]
}

Activation:

vscode.window.registerWebviewViewProvider(
  "mySidebarView",
  new MySidebarViewProvider(context)
);

Provider:

export class MySidebarViewProvider implements vscode.WebviewViewProvider {
  resolveWebviewView(view: vscode.WebviewView) {
    view.webview.options = { enableScripts: true };
    view.webview.html = '<h1>It works!</h1>';
  }
}


Takeaway

If your sidebar webview isn’t working and resolveWebviewView is never called, double check that you included "type": "webview" in your view’s package.json entry.
This tiny detail makes all the difference and is easy to overlook.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Daniel

79665021

Date: 2025-06-13 14:59:16
Score: 2
Natty:
Report link

I added "?ignore_skipped=true" on badges configuration URLs to hide skipped pipelines :

gitlab.tech.orange/%{project_path}/-/commits/%{default_branch}?ignore_skipped=true

gitlab.tech.orange/%{project_path}/badges/%{default_branch}/pipeline.svg?ignore_skipped=true

Follow this solution to hide skipped pipelines :

https://forum.gitlab.com/t/force-pipeline-on-tag-push-when-commit-message-contains-skip-ci/60169/2

.gitlab-ci.yml

workflow:  
  rules:  
    - if: $CI_COMMIT_MESSAGE =\~ /^chore\\(release\\):/  
      when: never  
    - when: always  

.releaserc

    \[  
      "@semantic-release/git",  
      {  
        "assets": \["CHANGELOG.md", "package.json", "package-lock.json", "npm-shrinkwrap.json", "constants/version.ts", "sonar-project.properties"\],
  
        "message": "chore(release): ${nextRelease.version}\\n\\n${nextRelease.notes}"  
      }  
    \],
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yoan Huret

79665017

Date: 2025-06-13 14:55:15
Score: 2
Natty:
Report link

C++ is getting to know the hardware as it is used to denote a system like a television screen you see whether it is an input or output.

The software follows as when is is programmed by syntax to denote such as . for part of thereof.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Guru Dev Singh Khalsa

79665015

Date: 2025-06-13 14:55:15
Score: 0.5
Natty:
Report link

I’ve worked on similar hybrid setups during migrations — especially between Symfony versions — and this kind of session management conflict is pretty common.

Is there a proper way to tell Symfony 6 to not start a session but use the existing one?


// In a Symfony 6 controller or service
$session = $request->getSession();
if ($session->isStarted()) {
    // Access session safely without triggering session_start()
    $userId = $session->get('user_id');
}

But to avoid starting the session, you must:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: LeoHarada

79665012

Date: 2025-06-13 14:53:14
Score: 2.5
Natty:
Report link

We ran into similar problems with Azure functions. Our team tried multiple things. One of them was to move the functions folder out of the src/ directory and have it at the root of the project. Azure is weird. Also, there are multiple flags associated with remote build, look into that as well.

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

79665001

Date: 2025-06-13 14:35:10
Score: 0.5
Natty:
Report link

Try ensuring the .launch() call is distant from the registration call (at least not in the same (re)compose).

I suspect the Photo Picker behaves like other Activities, and thus this note from docs on getting results from activities would apply (emphasis mine):

Note: You must call registerForActivityResult() before the fragment or activity is created, but you can't launch the ActivityResultLauncher until the fragment or activity's Lifecycle has reached CREATED.

To me, this implies registerForActivityResult must be called early enough for the Lifecycle of the underlying Photo Picker activity to reach CREATED, though I'm unsure how to test that theory.

I only started Android dev today so 0 experience and YMMV, but this resolved the same issue for me.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: combobulator

79664998

Date: 2025-06-13 14:32:09
Score: 2.5
Natty:
Report link

I assume that this error is related to paths. In order to go to the fonts folder, you first need to exit the css folder. Try putting "../" in front of path, for example: "../fonts/Recoleta-SemiBold.woff"

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

79664997

Date: 2025-06-13 14:31:08
Score: 6 🚩
Natty: 4.5
Report link

Since VS2022 OnAfterBackgroundSolutionLoadComplete is deprecated. I can't find any reliable answer on what's the new designated way of listening to solution loading. Any ideas?

Reasons:
  • Blacklisted phrase (1): Any ideas
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Killian Lomax

79664990

Date: 2025-06-13 14:24:05
Score: 1.5
Natty:
Report link

You probably want to set render_template_as_native_obj=True for your DAG:

https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/models/dag/index.html#:~:text=render_template_as_native_obj%20%E2%80%93%20If%20True%2C%20uses%20a%20Jinja%20NativeEnvironment%20to%20render%20templates%20as%20native%20Python%20types.%20If%20False%2C%20a%20Jinja%20Environment%20is%20used%20to%20render%20templates%20as%20string%20values.

render_template_as_native_obj – If True, uses a Jinja NativeEnvironment to render templates as native Python types. If False, a Jinja Environment is used to render templates as string values.

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

79664989

Date: 2025-06-13 14:24:05
Score: 0.5
Natty:
Report link

I have found a workaround to display the image sharp.
It requires manually changing a value in the code each time you change scaling in Windows.

Step 1:

%%javascript
const ratio = window.devicePixelRatio;
alert("devicePixelRatio: " + ratio);

notification popup showing a devicePixelRatio  of 1.875

Step 2:

devicePixelRatio = 1.875 # manually enter the value that was shown

Step 3:

from PIL import Image
from IPython.display import HTML
import numpy as np
import io
import base64

# 32x32 data
bw_data = np.zeros((32,32),dtype=np.uint8)
# (odd_rows, even_columns)
bw_data[1::2,::2] = 1
# (even_rows, odd_columns)
bw_data[::2,1::2] = 1

# Build pixel-exact HTML
def display_pixel_image(np_array):
    # Convert binary image to black & white PIL image
    img = Image.fromarray(np_array * 255).convert('1')
    
    # Convert to base64-encoded PNG
    buf = io.BytesIO()
    img.save(buf, format='PNG')
    b64 = base64.b64encode(buf.getvalue()).decode('utf-8')
    
    # HTML + CSS to counteract scaling
    html = f"""
    <style>
      .pixel-art {{
        width: calc({img.width}px / {devicePixelRatio});
        image-rendering: pixelated;
        display: block;
        margin: 0;
        padding: 0;
      }}
    </style>
    <img class="pixel-art" src="data:image/png;base64,{b64}">
    """
    display(HTML(html))

display_pixel_image(bw_data)

output:

sharp image

Visual Studio Code cannot access ipython kernel so I don't know how to retrieve devicePixelRatio from Javascript. I tried to make an ipython widget, but was not able to refresh it automatically. If this can be done automatically then it won't require user input.

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

79664982

Date: 2025-06-13 14:20:04
Score: 6 🚩
Natty: 5
Report link

Did you got any solution for this how to capture winlogon screen with desktop duplication api

Reasons:
  • RegEx Blacklisted phrase (3): Did you got any solution
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Sandeep Ks

79664979

Date: 2025-06-13 14:17:03
Score: 0.5
Natty:
Report link

django_stubs_ext.monkeypatch() should not be placed inside an if TYPE_CHECKING: block, because it needs to be executed at runtime, not just during type checking.

The purpose of this function is to patch certain Django internals so that mypy and type hints work correctly. If you wrap it in TYPE_CHECKING, it will never actually run during program execution — defeating its purpose.

As stated in the official documentation:

“This only needs to be called once, so the call to monkeypatch should be placed in your top-level settings.”

Therefore, make sure you call it at the very top of your settings file (or another central entry point) before any django imports.

Here is the link for the reference that I used to answer your question:

https://pypi.org/project/django-stubs-ext/

The example code that is provided in the documentation:

from os import environ

import django_stubs_ext
from split_settings.tools import include, optional

# Monkeypatching Django, so stubs will work for all generics,
# see: https://github.com/typeddjango/django-stubs
django_stubs_ext.monkeypatch()

# Managing environment via `DJANGO_ENV` variable:
environ.setdefault('DJANGO_ENV', 'development')
_ENV = environ['DJANGO_ENV']

_base_settings = (
    'components/common.py',
    'components/logging.py',
    'components/csp.py',
    'components/caches.py',

    # Select the right env:
    'environments/{0}.py'.format(_ENV),

    # Optionally override some settings:
    optional('environments/local.py'),
)

# Include settings:
include(*_base_settings)

Reasons:
  • Blacklisted phrase (1): Here is the link
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ari Maran

79664965

Date: 2025-06-13 14:06:00
Score: 1.5
Natty:
Report link
sudo apt install openmpi-bin 

solves the issue since it downgrades mpirun (was 4.2 now is 4.1.6)

the usual hello_world test works https://matthew.malensek.net/cs220/schedule/code/week07/mpi_hello.c.html

Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: PierreHenriMusiedlak

79664962

Date: 2025-06-13 14:05:00
Score: 0.5
Natty:
Report link

The simplest way to handle this would be to use a SetupIntent to create a Payment Method, then create all 5 subscriptions using the resulting Payment Method.

Stripe has a pretty thorough guide that covers the basics of using SetupIntents here:

https://docs.stripe.com/payments/save-and-reuse

For your specific flow it would look something like this:

  1. Create a Customer
const customer = await stripe.customers.create();
  1. Create the SetupIntent
const setupIntent = await stripe.setupIntents.create({
  customer: customer.id,
  usage: "off_session"
});
  1. Collect and confirm the payment details on the frontend using Stripe Elements

  2. Verify that the payment method has been created and attached to the customer (one way to do that would be listening for the payment_method.attached webhook event

  3. Create your subscriptions like so:

const subscription = await stripe.subscriptions.create({
  customer: customer.id,
  items: [
    {
      price: priceId,
    },
  ],
  default_payment_method: yourPMId
});

Alternatively, rather than providing the Payment Method ID when creating the subscription you can update the customer's default Payment Method: https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method

It's also worth noting that if the billing period is the same for all of the subscriptions, you can just add them all as different items on the subscription per this guide: https://docs.stripe.com/billing/subscriptions/multiple-products

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: archiverat

79664959

Date: 2025-06-13 14:01:59
Score: 0.5
Natty:
Report link

I have noted that in the first one I am using

$billData = UploadInvoiceBillData::from($request->only(['invoice_number']));

Isntead of

$billData = UploadInvoiceBillData::validateAndCreate($request->only(['invoice_number']));

The second one I am using

$billData = BillData::from($request);

I feel from method only validates first if it is an instance of Illuminate\Http\Request

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: John

79664955

Date: 2025-06-13 13:58:58
Score: 1
Natty:
Report link

-- BEGIN SSH2 PUBLIC KEY ----

Comment: "rsa-key-20250327"

AAAAB3NzaC1yc2EAAAADAQABAAACAQC+WXWp fXhmT0OCNZNRh6xvhZHOF9bR/8c

u4O55pUUVnmJpwtXam1TWevtIC4CgyfMWa9jPGazYBFsat8FczdFUZ/fLb94UKe

IHH2G5Azclzy0tLUQMgAfbphimNL1CSeAgEctchnF2Ck89xcsSRs4M6TIFgr1o

ojplv4p0bUodJyVPfQc5tpbEmFbnHWY/wRCSUyM5sHv1iosf44Sy5vM2mXVtbES

pk5caQJ1ax/tP3hKAFepBb2wKcRkHWV/67cjnS/RzVgrU9XdtRVNv7jsdq7ZYKxc

PLN9Cyped4ZOfPRfenC/9eHWXRak29NYykN7RD92ZOjP7/dD3H6Y0kDcQ1oszX2c

H+JP17NG3p1qZVsnlzJBP8xvTRaXNYup5zkQcdQpfjMSdn45fddCo1cjnvIF/AG2

UkMKXfnroYdxIwGVUvDf76RQZyWs5rRNPQcPNmoGW+yJa0+LCdv7jsdGQDMShJ

puHMq0OZt9sLiQPJSK66zx9Q6W//cIoWAi9d8OYQMFqG07Px1TcLkyvJJJY8YBftk

ovkF8Je1E1BwCRcbt8mHuygMj1lxJutTkq4UJSsg0MmYQ0DxSP+ZoDmUHfnBd5H

zbaM8QWJ25OwNPIEGPosrxKFsxeEm8e2WJjWcMWTvvvKtiFVBcJvwkM4mFJsq4Re

WcuxXDP5yQ==

---- END SSH2 PUBLIC KEY ----

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

79664928

Date: 2025-06-13 13:34:52
Score: 1.5
Natty:
Report link

Ok, so here is the my answer to the question. I did not succeed to make diagram work with the beamer output (but the code is working with reealjs output, which was the original output). So at the end, this is what I did:

---
title: Test
author: 
  - John Due
format:
  beamer:
    pdf-engine: lualatex
    keep-tex: true
    header-includes:
      - \usepackage{tikz}
      - \usetikzlibrary{arrows.meta}
      - \tikzset{arrow/.style = {> = {Latex[length = 1.2mm]}}}
---

## Test
::: {.cell}

```{=latex}
\begin{tikzpicture}
  \node (i) at (0, 0) {i};
  \node (j) at (2, 0) {j};
  \draw[->, arrow] (i) -- (j);
\end{tikzpicture}
```

:::

Then, thanks to the comments of @SamR I could also fix the problems of nbformat and nbclient. Note that this was unrelated to the compilation problem of today (but I was also having problems with other documents...).

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SamR
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mistral

79664919

Date: 2025-06-13 13:29:50
Score: 0.5
Natty:
Report link
SELECT Acct.Id, TransactionCode, COUNT (*) as Cnt 
From Account
WHERE Acct.Id NOT IN (SELECT Acct.Id FROM Account WHERE TransactionCode NOT IN ('Code3','Code4') GROUP BY Acct.Id)
Group by Acct.Id, TransactionCode
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: stevestevesteve

79664909

Date: 2025-06-13 13:21:48
Score: 6.5 🚩
Natty: 4
Report link

Have you try using worker logs in INFO and see there how to remove package versions to allow pip to attempt to solve the dependency conflict ?

Reasons:
  • RegEx Blacklisted phrase (1.5): solve the dependency conflict ?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nicolas Gargano

79664900

Date: 2025-06-13 13:14:46
Score: 1.5
Natty:
Report link

enter image description here
You need to add the exact url route (absolute path) you used in your code, which handles the authorization callback functions in the Backend

Add this url http://localhost:3000/auth/linkedin/callback endpoint in the LinkedIn developer under Auth section
https://developer.linkedin.com/

Ref the MS docs: https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow?tabs=HTTPS1#step-1-configure-your-application

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

79664899

Date: 2025-06-13 13:13:45
Score: 1
Natty:
Report link

You are getting this error because when you activate the persistence, the baseline doesn't adjust by itself anymore.

So the data you stored into your caches are lost when the only node in the baseline shutdown.

You need to enable the baselineAutoAdjustEnabled so that the node leaving or joining the cluster will enter/leave the baseline and share all the data of your cache.

You should also configure backup to your cache and set the mode to REPLICATED to be sure you won't lost data.

Hope it help

Reasons:
  • Whitelisted phrase (-1): Hope it help
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Julien

79664894

Date: 2025-06-13 13:11:44
Score: 1.5
Natty:
Report link

There is a new feature in Marklogic 11 that relates to overflowing to disk in order to protect memory. It is only listed as an Optic feature. However, since optic is SPARQL under the hood, maybe the feature is kicking in and using disk.

The link below describes the feature and also various ways to see if it is being used.

https://docs.progress.com/bundle/marklogic-server-whats-new-11/page/topics/new-features-in-marklogic-11/adaptive-memory-algorithms-for-optic-sorts-and-joins.html

Reasons:
  • Blacklisted phrase (1): The link below
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: David Ennis -CleverLlamas.com

79664891

Date: 2025-06-13 13:07:43
Score: 0.5
Natty:
Report link

A third way to add to the answer of @kevin, is:
To recieve the value as String and set a validation-annotation. The validation-annotation could like:

@Constraint(validatedBy = {ValidEnum.EnumValidator.class})
@Target({TYPE, FIELD, TYPE_USE, PARAMETER})
@Retention(RUNTIME)
@Documented
public @interface ValidEnum {

    String message() default "your custom error-message";
    Class<?>[] groups() default {};
    Class<? extends Payload>[] payload() default {};
    Class<? extends Enum<?>> enumClass();

    class EnumValidator implements ConstraintValidator<ValidEnum, String> {

        protected List<String> values;
        protected String errorMessage;

        @Override
        public void initialize(ValidEnum annotation) {
            errorMessage = annotation.message();
            values = Stream.of(annotation.enumClass().getEnumConstants())
                           .map(Enum::name)
                           .toList();
        }

        @Override
        public boolean isValid(String value, ConstraintValidatorContext context) {
            if (!values.contains(value)) {
                context.disableDefaultConstraintViolation();
                context
                        .buildConstraintViolationWithTemplate(errorMessage)
                        .addConstraintViolation();
                return false;
            } else {
                return true;
            }
        }
    }
}

And use this newly created annotation to set on your class:

@Getter
@Setter
@NoArgsConstructor
public class UpdateUserByAdminDTO {
    private Boolean isBanned;
    private @ValidEnum(enumClass=RoleEnum.class) String role;
    private @ValidEnum(enumClass=RoleEnum.class, message="an override of the default error message") String anotherRole;
}

This way you get to reuse this annotation on whatever enum variable and even have a custom error for each of the different enums you want to check.

One remark: the annotation does not take into account that the enum may be null, so adapt the code to your needs

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @kevin
  • Low reputation (1):
Posted by: user2622219

79664888

Date: 2025-06-13 13:06:43
Score: 3.5
Natty:
Report link

You can find all the info to set a private container registry in the official documentation at https://camel.apache.org/camel-k/next/installation/registry/registry.html#kubernetes-secret

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

79664869

Date: 2025-06-13 12:50:39
Score: 2
Natty:
Report link

I know I'm late but there's probably still people out there facing the same issue. Loading cookies or your own user profile isn't working at all since chrome updated to 137. version

Best you can do is downgrade your chrome and hold the package to avoid auto updating it.

Down below is everything you need in order to fix it (Linux

# Delete current version of chrome
sudo apt remove -y google-chrome-stable --allow-change-held-packages

# Download and install old version of chrome / Hold chrome version
cd tmp
wget -c https://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_134.0.6998.165-1_amd64.deb
sudo dpkg -i google-chrome-stable_134.0.6998.165-1_amd64.deb
sudo apt -f install -y
sudo apt-mark hold google-chrome-stable

# Also download the correct chromedriver and install it
sudo rm -f /usr/local/bin/chromedriver
wget -c https://storage.googleapis.com/chrome-for-testing-public/134.0.6998.165/linux64/chromedriver-linux64.zip
unzip chromedriver-linux64.zip
sudo mv chromedriver-linux64/chromedriver /usr/local/bin/
sudo chmod +x /usr/local/bin/chromedriver

For undetected_chromedriver:

driver = uc.Chrome(driver_executable_path="/usr/local/bin/chromedriver", version_main=134, use_subprocess=True)

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: TheMysteryPanda

79664863

Date: 2025-06-13 12:47:38
Score: 2.5
Natty:
Report link

I was able to solve my issue by including the libraries from this repository:

Repository

If you're working with Qt on Android for USB serial communication, this library provides the necessary JNI bindings and Java classes to make it work. After integrating it properly, everything started working as expected.

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

79664858

Date: 2025-06-13 12:42:37
Score: 2.5
Natty:
Report link

Using the function app's managed identity (instead of a creating secret) is now available in preview, as documented in a section added recently to the article I mentioned in my question.

It works by adding the managed identity as a federated identity credential in the app registration. I implemented it in my azd template and it works like a charm (despite it is advertised as a preview at the date of this posting).

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Yvand

79664856

Date: 2025-06-13 12:42:37
Score: 0.5
Natty:
Report link

To force an update on Dockerfile image builds:

docker build --no-cache <all your other build options>

To force an update with docker compose

docker compose -f <compose file> up --build --force-recreate

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

79664852

Date: 2025-06-13 12:40:36
Score: 0.5
Natty:
Report link

To achieve this, I suggest using the tickPositioner function on the axis. You can make it to always return just one tick positioned at the center of the axis range.

API reference: https://api.highcharts.com/highcharts/xAxis.tickPositioner

Demo: https://jsfiddle.net/BlackLabel/63g80emu/

tickPositioner: function () {
    const axis = this;
    const range = axis.max - axis.min;
    const center = axis.min + range / 2;

    return [center];
},
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Dominik Chudy

79664832

Date: 2025-06-13 12:27:32
Score: 2.5
Natty:
Report link

you also check this:

certificateVerifier.setAlertOnMissingRevocationData(new LogOnStatusAlert(Level.WARN));

where you do:

certificateVerifier.setCheckRevocationForUntrustedChains(false);

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

79664831

Date: 2025-06-13 12:25:32
Score: 3.5
Natty:
Report link

Found the answer, there's an API call called list_ingestions that gives me field (IngestionTimeInSeconds) that I was searching for.

Thanks!

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

79664814

Date: 2025-06-13 12:07:28
Score: 2.5
Natty:
Report link

Your local dev NextJS version might be different from production.

do an upgrade on production to match the version you have in dev mode or localhost

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

79664807

Date: 2025-06-13 12:00:26
Score: 1.5
Natty:
Report link

Ok i finally figured it out. Here is a stripped down version of the code then ended working for me:

public async byte[] GetImage(string symbolpath)
{

    var getBitmapSizePath = symbolpath + "#<<ITcVnBitmapExportRpcUnlocked>>GetBitmapSize";
    var getBitmapPath = symbolpath + "#<<ITcVnBitmapExportRpcUnlocked>>GetBitmapImageRpcUnlocked";
    //see https://infosys.beckhoff.com/index.php?content=../content/1031/tf7xxx_tc3_vision/16954359435.html&id=
    var getBitmapSizeHandle = (await adsClient.CreateVariableHandleAsync(getBitmapSizePath, cancelToken)).Handle;
    var getBitmapHandle = (await adsClient.CreateVariableHandleAsync(getBitmapPath, cancelToken)).Handle;

    int status;
    ulong imageSize;
    uint width;
    uint height

    byte[] readBytes = new byte[20];
    byte[] sizeInput = new byte[8];

    var resultGetBitmapSize = await adsClient.ReadWriteAsync((uint)IndexGroupSymbolAccess.ValueByHandle, getBitmapSizeHandle, readBytes, sizeInput, cancelToken);

    //parse the result:
    using (var ms = new MemoryStream(readBytes))
    using (var reader = new BinaryReader(ms))
    {
        status = reader.ReadInt32();
        imageSize = reader.ReadUInt64();
        width = reader.ReadUInt32();
        height = reader.ReadUInt32();
    }

    //todo check resultGetBitmapSize and status on if it succeeded before continuing
    
    //now lets get the image

    //prep input 
    byte[] input = new byte[16];
    BitConverter.GetBytes(imageSize).CopyTo(input, 0);
    BitConverter.GetBytes(width).CopyTo(input, 8);
    BitConverter.GetBytes(height).CopyTo(input, 12);

    int imageBufferSize = 20 + (int)imageSize;
    byte[] buffer = new byte[imageBufferSize]; //todo use a shared array pool to limit memory use
    byte[] imageData = new byte[imageBufferSize];
    int imageStatus;

    var resultGetImage = await adsClient.ReadWriteAsync((uint)IndexGroupSymbolAccess.ValueByHandle, getBitmapHandle, buffer, input, cancelToken);

    //parse the result:
    using (var imageStream = new MemoryStream(imageDataArray))
    using (var imageReader = new BinaryReader(imageStream))
    {
        imageStatus = imageReader.ReadInt32();
        ulong byteCount = imageReader.ReadUInt64();
        imageReader.Read(imageData, 0, (int)byteCount);
    }

    //todo check resultGetImage and imageStatus to see if it was successful

    //clean up the handles
    await adsClient.DeleteVariableHandleAsync(getBitmapSizeHandle, cancelToken);
    await adsClient.DeleteVariableHandleAsync(getBitmapHandle, cancelToken);

    return imageData; //todo convert byte array to bitmap.
}

the main magic is that i needed to use ITcVnBitmapExportRpcUnlocked instead. This is documented here: https://infosys.beckhoff.com/index.php?content=../content/1031/tf7xxx_tc3_vision/16954359435.html&id=

Reasons:
  • Blacklisted phrase (0.5): i need
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: IT Hendriks

79664798

Date: 2025-06-13 11:56:25
Score: 3
Natty:
Report link

this is a more detailed answer of the one given by kungfooman

If you are using lutris:

enter image description here

Go to configure -> Turn on advanced toggle -> System options -> game execution -> Environment variables Click on Add and add

| MESA_EXTENSION_MAX_YEAR | 2002 |

enter image description here

and hit save

now you game will run hopefully.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zaeem Ali

79664793

Date: 2025-06-13 11:52:24
Score: 1
Natty:
Report link

I have used the official builds of ffmpeg 7.1 from here and it worked inside AWS Lambda running node22.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Arnab Rahman

79664790

Date: 2025-06-13 11:51:23
Score: 4
Natty:
Report link

I use Laravel-ZipStream, it resolve all my problems !
Thanks !

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

79664788

Date: 2025-06-13 11:49:22
Score: 2
Natty:
Report link
<soap:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Header>
      <Headers xmlns="urn:Ariba:Buyer:vrealm_2">
         <variant>vrealm_2</variant>
         <partition>prealm_2</partition>
      </Headers>
   </soap:Header>
   <soap:Body>
      <ContractRequestWSPullReply partition="prealm_2" variant="vrealm_2" xmlns="urn:Ariba:Buyer:vrealm_2"/>
   </soap:Body>
</soap:Envelope> i am not getting correct response any answer ?
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Naveen T

79664787

Date: 2025-06-13 11:49:22
Score: 2
Natty:
Report link

dart:html is deprecated.

Import the "web" package (https://pub.dev/packages/web) :

import "package:web/web.dart";

void navigate(String url, {String target = "_self"}) {
  if (target == "_blank") {
    window.open(url, "_blank")?.focus();
  } else {
    window.location.href = url;
  }
}

// In the current tab:
navigate("https://stackoverflow.com/questions/ask");
// In another tab:
navigate("https://stackoverflow.com/questions/ask", target: "_blank");
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ThomasG2201

79664786

Date: 2025-06-13 11:47:22
Score: 2.5
Natty:
Report link

@Volodymyr Petrovich

Even after splitting them, the error is still occuring, the weird behaviour is, it gives the error but at the same time it creates it successfully

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

79664785

Date: 2025-06-13 11:46:21
Score: 0.5
Natty:
Report link

If the price is coming as an integer but you wish to make it double why not parse it?

There could several ways but i suggest

{
      'mid': int mid,
      'icode': String icode,
      'name': String name,
      'description': String description,
      'price': num? price, // could be anything (int, double or null)
      'gid': int gid,
      'gname': String gname,
      'pic': String pic,
      'quantity': int quantity,
    } =>
      Product(
        mid: mid,
        icode: icode,
        name: name,
        description: description,
        price: price?.toDouble() ?? 0.0, // if null add default value else make it double
        gid: gid,
        gname: gname,
        pic: pic,
        quantity: quantity,
      ),

This way if price is null you get a default value while if it is int or double either way it will be converted to double.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Muhammad Talha

79664756

Date: 2025-06-13 11:33:18
Score: 1
Natty:
Report link

If you want to develop an Android MDM app similar to MaaS360, the best place to start is with the Android Enterprise APIs and Device Policy Controller (DPC) framework. Google provides official documentation on Android Management APIs that cover device and app restrictions. Also, checking out open-source DPC samples can help understand how to implement app control features.

For a concise overview of Android device management concepts, there are some useful write-ups available online that explain how device management works on Android.

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

79664738

Date: 2025-06-13 11:09:12
Score: 0.5
Natty:
Report link

After removing Move.lock , I was able to deploy the whole package(all modules) again.

Not sure why individual module deployment did not work as below:

sui client publish ./sources/my_module_name.move --verify-deps
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Russo

79664736

Date: 2025-06-13 11:06:11
Score: 2.5
Natty:
Report link

Make it *icon:upload[] Upload files*, to get the icon rendered inside the strong element.

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

79664726

Date: 2025-06-13 10:53:08
Score: 3.5
Natty:
Report link

cy.get('[id^="features-"]' will capture all id begins with "features-" value

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sławek Skrzypczak

79664701

Date: 2025-06-13 10:29:03
Score: 2.5
Natty:
Report link

The "twitch" in Safari likey happens because currentAudio.duration or currentAudio.currentTime can be unreliable right after play() starts. You can try adding a short delay before calling updateProgress(). I think that this gives Safari a bit of time to stabilize

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

79664686

Date: 2025-06-13 10:11:59
Score: 1.5
Natty:
Report link

Try asking the file from your colleague, and add it manually for yourself again. and Set its Build Action = GoogleServicesJson and clean everything and rebuild. It might be IDE's issue, which should get resolved if added file manually.

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

79664679

Date: 2025-06-13 10:07:58
Score: 3.5
Natty:
Report link

OpenCL helps you achieve this. You can start with OpenCL guides and documentation.

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

79664666

Date: 2025-06-13 09:56:55
Score: 1
Natty:
Report link

in my case,

change :

val option = GetGoogleIdOption.Builder()
    .setServerClientId(AppKey.Google.WebClientId)
    .build()

to:

val option = GetSignInWithGoogleOption.Builder(AppKey.Google.WebClientId)
    .build()

its work.

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

79664665

Date: 2025-06-13 09:55:54
Score: 1.5
Natty:
Report link

In my case the config file was causing trouble, deleting it from the project and rebuilding helped.

NLog.config
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BirukTes

79664660

Date: 2025-06-13 09:53:53
Score: 4
Natty:
Report link

I have been clicking all over the screen in platformio and cannot find Debug Settings anywhere. Are there any clearer instructions please or a screenshot of precisely where to start looking?

Thannks

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: doubletop

79664659

Date: 2025-06-13 09:53:53
Score: 4
Natty:
Report link

For fun, here's another attractor from the specialized literature “Elegant Chaos Algebraically Simple Chaotic Flows” chapter 4.1. This is the Nosé - Hoover oscillator.

Nosé - Hoover oascillator

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Pascal77

79664648

Date: 2025-06-13 09:47:51
Score: 2
Natty:
Report link
  1. Right Click -> JRE System Library

  2. Go to Properties (At the last)

  3. Choose Workspace default JRE (jre) or any configuration that you want at Execution Env Dropdown.

  4. Click Apply and Close.

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

79664633

Date: 2025-06-13 09:35:48
Score: 0.5
Natty:
Report link

This was the code that fixed the issue for me. You can try this


.mdc-list-item.mdc-list-item--with-one-line{
    height: 1%;
}
::ng-deep .mdc-list-item__content{
    padding-top: 1%;
}
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Aqib

79664625

Date: 2025-06-13 09:25:45
Score: 4
Natty:
Report link

fixed this by updating jdk version

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

79664622

Date: 2025-06-13 09:24:45
Score: 3
Natty:
Report link

Delete the publishing profile and recreate it.

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

79664618

Date: 2025-06-13 09:18:43
Score: 2.5
Natty:
Report link

I also want to connect 2 apps through twilio voice feature in my android application with kotlin but I don't know will it work or not. If anyone has a code, to place a call and receive it in other application and vise versa through VoIP from Twilio kindly share.

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

79664612

Date: 2025-06-13 09:10:41
Score: 4.5
Natty:
Report link

Any luck in solving this issue?
I have encountered very strange behavior in iframe - app redirects in infinite loop.

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Oleg Gavrilin