I get programming can be open to interpretation, but one of the things I find difficult is what should set() and get() be responsible for in a container? Should it be for defining or managing the instance or both?
Looking at the Symfony package, it seems the definition of a service is managed through setDefinition() and getDefinition() and you set() the already created service and get() the service. The set() method appears to add only the already created instance either by adding one already created (through parameter) or using createService() which returns it.
I'm also trying to understand the difference between register() and setDefinition() methods. Is register() just a wrapper, and if so, why if setDefinition() is clear on intent and not protected/private?
I just got an issue in my platform where snowflake odbc driver is installed on Linux and I’m trying to connect to snowflake using isql command and the authentication is key pair.
I don’t want to store the PRIV_KEY_FILE and PRIV_KEY_FILE_PWD in odbc.ini and I can pass it via the environment variable .. I tried running it export command but I didnot work . Have anyone come across this issue before ? Please let me know . Thanks
Reasons:
Blacklisted phrase (0.5): Thanks
RegEx Blacklisted phrase (2.5): Please let me know
Although it covers a different error, it’s still related to connected app authentication issues and might help others facing similar problems — for example, errors like:
@Drew - At first - I really want to optimize number of renders, not commits. I have supplied the state mutation function in the post, but again - this is more an academical question. Redux allows you to create selectors to re-render only on change of any specified leave of the redux state tree (using createSelector + useSelector). I am trying to accomplish something similar within my own library. Without depending on Redux. Problem is not in my code, problem is in how the context works and that it does not support such behaviour by default. I want to re-render my component only when a specific item is added or removed from the list stored in useState. I will create a simple MRE today, give me a moment.
@VLAZ you are totally right. My mistake is that I didn't suspect the consequences of (undefined===undefined) is true, hence dangerous. I have to review my old code, where it may have happened silently.
Thank you for the detailed explanation, that makes perfect sense.
Since I don’t currently have an admin account (and therefore can’t create an App Registration or grant Directory.Read.All consent), I understand that the client secret flow won’t work in my case.
I’ll try switching to the delegated flow with an interactive browser login using my normal user account, so the app can act under my own permissions.
Just to confirm: with that approach, I’ll only be able to read the groups and users that my account has access to, right?
Once we get an admin account later, I can switch back to the app-only (client credentials) approach with full directory scope.
Thanks again for pointing out /groups?$expand=transitiveMembers, that’s very helpful.
Also, Just to know, is there any other workaround to read the groups from Azure Directory/Entra using C#?
Can you post this as a question? This new advice feature is counterproductive: even fewer questions will be asked, defeating the voting / reputation system.
Reasons:
RegEx Blacklisted phrase (2.5): Can you post
RegEx Blacklisted phrase (1.5): reputation
Low length (1):
No code block (0.5):
Contains question mark (0.5):
Single line (0.5):
Starts with a question (0.5): Can you post this as a
I have had a similar issue with other activities, do you not have existing projects which have this activity which you can open to check whether this is an issue with the packages in the project or if your entire studio might be corrupted?
@ikegami, any thoughts if possible and how to move this question from a general advice / other to trouble shooting / debugging? Or it is too late? Perhaps I should ask a moderator.
this is usu. because Grafana cannot uniquely identify the data points due to duplicate labels. You need to carefully checking your raw data to see if there are duplicate labels, making it impossible for Grafana to distinguish between different data points. Try google search it may give your more detailed suggestions to fix this problem?
I forgot to wrap the store. So I want the computed property to be in the store so I can just call store.b. Instead of having to write the computed ref seperately. So I think I'll need to do it the 'c' way. As the computed ref should be refering to a reactive object, but in the initilization state, the reactive object has not been created yet.
And yea, the proper way would be to use a proper store management system, but I was wondering if there's an easy way for it.
I think I once read there was a way to clone a repository with just the .git in it. However I cannot find where I read that but if that's possible, I could change my parent clone to this and avoid having all the files duplicated and then the parent would just hold the .git which would be shared by the worktree ?
Well I faced the same issue but when using @nomicfoundation/hardhat-toolbox-mocha-ethers. So far i don't understand why Hardhat only recognise Solidity tests, but no TS tests.
brew doctor can be really helpful here to make sure you don't need to cleanup, install, link, add to PATH, etc.
Other answers are accurate - it's likely your npm upgrade or reinstalling icu4c
This error can show up when installing php too - I ran into this error with brew install php on Mac OS Monterey 12 (which currently installs 8.4.14). Nothing worked for me though, I've tried everything.
Does anyone know if it's possible to install a version > 8.1 on this OS? I'm convinced it's not.
I join to this debate in 2025 almost 2026.
I have a main function which calls many other functions. Each function is in a file separated from the main function.
lets say the following
main.py variable1 = 123 variable2 = 1435 from utilsfolder.function_one import function_one result_one = function_one (variable1, variable2) from anotherfolder.function_two import function_two result_two = function_two(variable1,result) from utilsfolder.function_three import function_three result_three = function_three(result,variable1, variable2) print (f"The final result is {result_three}")
So I want to run the code up to function_two and then depure function_three since I notice that function_three on line 50 is having some issue that I want to understand.
My objective is to run the code up to result_two then stop!
Run function three as a new depuration and top at line 49... understand the problem, fix it and then exit that secondary depuration... keep running the first depuration
Thanks. I don't understand how scaleworks. Setting scale=6.0 looks good, but scale=2.0leads to huge vectors and scale=12.0leads to very small.... So the greater the scaleis the smaller the vectors...
@antokhio - thank you for the linked libraries, maybe I can find the solution by studying their code as these libraries (especially use-context-selector) solve exactly the same issue I am confused by right now.
@SherlHohman, I do not know if it is Stack Overflow on my browser, but the "Add a Comment" or "Reply" functionalities are broken on my side, leaving a comment, (like I do now) is my only working solution to get involved in the issue.
@Drew Reese - I have answered your questions in the body of the post. As for the topic title - I believe this is the essence of my problem - how to force component to only update when "item in the context list connected to the component" changes - is added or removed. I am opened to improve the clarity of my post in any way, please give me more guidance if you see any.
Reasons:
RegEx Blacklisted phrase (2.5): please give me
RegEx Blacklisted phrase (1): I am opened to improve the clarity of my post in any way, please
Thanks for your answer, Eason. I checked SSA(Secure Service Account API) and followed all the steps. I am getting the 3 legged token without user input, but I am getting an error on the response when trying to get the status of the model (commands:autodesk.bim360:C4RModelGetPublishJob):
"status": "403",
"code": "C4R",
"detail": "Failed to get publish model job"
I am accessing the Hub, the folder, the file and project Id.
I provided to the Service user with "manage" permissions settings.
Scopes are data:create data:read and data:write, as mentioned here:
https://aps.autodesk.com/en/docs/data/v2/tutorials/publish-model/
I made it working before with 3 legged token with user authenticate.
I found a link about Secure Service Account which mentions this:
"Revit Cloud Worksharing (RCW): Full compatibility with Revit Cloud Worksharing"
https://aps.autodesk.com/blog/update-secure-service-accounts-ssa-goes-ga
So, I was expecting it will allow me to publish, since it mentions "Full compatibility".
Can you confirm SSA should allow me to publish (commands:autodesk.bim360:C4RModelGetPublishJob and commands:autodesk.bim360:C4RModelPublish)?
Reasons:
Blacklisted phrase (0.5): Thanks
RegEx Blacklisted phrase (1): I am getting an error
Maybe some one will have the same problem in the future just do a -flutter upgrade on your terminal it worked with mine and installed the needed depedencies for support.
Running an internal regional app load balancer.
can i check if i can use service labels on my computeforwardingrule to connect to my cloudrun services? I have created an Network Endpoint Group and Backend Service.
@your-common-sense: I studied several small PHP container projects. I noticed a lot of them had several public methods on how to add a service to the container. Usually it was set() and bind(). I was wondering if there was a benefit to a developer to break it out into each type?
I'm caught off guard by this new open-ended question format. It seems that instead of writing a comment one simply replies? (how to turn my answer into community wiki?)
Anyway, please provide feedback when downvoting to help me understand why this is not valuable.
java.lang.NullPointerException: Cannot invoke "org.springframework.messaging.SubscribableChannel.send(org.springframework.messaging.Message)" because the return value of "org.springframework.cloud.stream.binder.test.InputDestination.getChannelByName(String)" is null
Using spring boot starter version: 3.5.6, spring.cloud.version 2025.0.0
@Alex Howansky: Bad wording, indeed. I changed the Q to say that the data shall be worked on immediately. The processing will not take too much time, but I want it to be independent from the parent process.
I am having the exact same issue. I am currently seeking a workaround.
I learned that the 130 and 140 for GLSL are shader language versions. Mac OS does not generally support OpenGL up to that point but maybe some versions will be compatible. So the problem I that, without a working shader (the shaders that come with Ursina all being in versions 130-150), all textures default to black.
From a fellow newbie perspective I think the best way around the problem could be to load a custom shader in version 120, and make sure that the gl-version is compatible with it, applying that shader. I haven't actually managed that yet.
Reasons:
Long answer (-0.5):
No code block (0.5):
Me too answer (2.5): I am having the exact same issue
Hyy , i am also running on same issue, but i have 2 different VM's using one for airflow and one for spark, i have given spark host ip as driver ip host, still i get teh same error, any idea why??
Is it possible to customize the style of the text in the heads-up notification by changing the colour of the text, etc, by sending HTML content in the title and body if I am using React Native Expo and Notifee?
Is it possible to customize the style of the text in the heads-up notification by changing the colour of the text, etc, by sending HTML content in the title and body if I am using React Native Expo and Notifee?
@Lakasz: Those MIN_BY/MAX_BY functions appear to be exactly what I am looking for... but they don't seem to be supported in Pyspark 2.3 (which is in HDP 2.6.5). That's unfortunate.
This dumb shit didn’t even work why the fuck would you make me add eggs fuck this shit I’m playing kahhot and another thing why the fuck would you make me make acc for this shit this damn thing don’t even work and the review are god damn WORNG I’m sueing meet me in court hoe and also I hate the way you look yeah dusty ass how you look like shit just like those damn eggs this shit I will get my money when I see you in court hoe 1.2 billion dollars cha Ching
I am also facing the same issue with eclipe. I am trying to run a cucumber feature file and it is throwing error "Failed to run behave for validation. Check that behave is installed and the behave command is configured correctly in preferences." I am not working with Behave. Rather, i am trying to run Cucumber framework.
Reasons:
Blacklisted phrase (1): I am also facing the same issue
Blacklisted phrase (1): I am trying to
Blacklisted phrase (1): i am trying to
No code block (0.5):
Me too answer (2.5): I am also facing the same issue
Yay! @mmann It works now! Installed without a hitch. Please let me know when you update to 3.14; I will hold off on updating my Python install until then.
Reasons:
RegEx Blacklisted phrase (2.5): Please let me know
I'm doing the same project but I using STM32F1, standard periph lib and keilc. I configured I2S but I cannot see pulse in SCK pin (PB13). Can u help me to fix this, I can not read the signal from inmp441
Thanks! I agree, and separating my code from the presentation is exactly what I am trying to do. I basically wrote my own template library, so now I am just trying to clean that code up a bit. After I posted I dug a little harder and found that you could use HTML::TreeBuilder/HTML::Element (push_content) to create HTML documents as well. But I took a look at CGI:HTML as you suggested and it suggested HTML::Tiny, and that looks exactly like what I am looking for. In my application in some places I also generate HTML and then use HTMLDOC to convert it to a PDF, so this will come in handy there as well.