@Jarod42 A simple text based search may also work. This is quite a large open source project. I have started digging into how this tool can be developed.
Thanks for sharing your suggested model and the work you put into this!
I've tested the logic with our data, and unfortunately, it's not currently producing the correct results because it appears to be treating each week in isolation.
The calculation must be cumulative, meaning it needs to take into account the settled OT hours and the final owed/reserved hours balance carried over from all previous weeks.
Core Issue: Missing Week-Over-Week Carryover
The model is failing to correctly utilize the historical owed_hours_remaining to offset current-week surplus hours before determining the OT_payable amount.
Here are two clear counter-examples showing the discrepancy:
1. Employee 1 (Week 5)
The expected result reflects prior weeks' transactions that should have reduced the owed balance, but the model output is too high.
Metric
Expected Result (Cumulative)
Model Output (Incorrect)
OT Paid/ot_possible
0
12
Owed Hours Remaining
2
14
2. Employee 2
The model incorrectly identifies 12 hours as payable OT when the surplus hours should first go toward clearing the outstanding owed balance.
Expected (With Cumulative Carryover):
Owed remaining: 4
OT_possible/OT payable: 0
Output of your model:
Owed remaining: 16
OT_possible/OT payable: 12
The key adjustment needed is to ensure the previous week's owed_hours_remaining is the baseline for the current week's calculation. Any new surplus OT should reduce that owed balance first, before being classified as payable OT.
Please let me know if you can integrate that historical carryover step into your logic!
Reasons:
Blacklisted phrase (0.5): Thanks
Blacklisted phrase (2): Thanks for sharing
RegEx Blacklisted phrase (2.5): Please let me know
Just advise. (I guess you run ok locally without docker - mean paths are correct - upstream downstream)
Why you use Developmnet running in docker ? Use Production.json
Normally Dev you run on host without docker using localhost. (Naming doesn't really matter)
When running in docker replace in ocelot json Host - set container name.
ReRoutes instead of Routes (Routes is used with any service discovery like Consul etc)
BaseUrl should use host.docker.internal, not localhost
Check that you run in one network (all containers)
Install in docker container tab Exec something like curl to check if you see other containers/
apt-get update
apt-get install -y curl
curl http://service name:port../api/.... - just call your other service - should get response
use just ping
apt-get install -y iputils-ping
docker exec servicename1 ping servicename2 -c2
PS I'm stuck with ocelot too in docker - I can call other services (containers) but through Ocelot getting the same error.
Does anyone have any updates on this? I'm encountering the exact same problem, but I haven't found a solution on oracle. I'd like a query that returns the first unlocked row.
Reasons:
Blacklisted phrase (1): any updates on
RegEx Blacklisted phrase (3): Does anyone have any updates
RegEx Blacklisted phrase (1): haven't found a solution
I have the same problem. Been trying to connect with tekla on my application made in .net 4.8, x64 it used to work but I installed the nugget packages and since then I had problems. I have been trying to remove every nugget package and connect to the dll's who are in the tekla structures/<versions>/bin/ folder. But it doesn't help.
I'm just wondering why this question has a "Best practices" tag when it seems to be excluded from the original question's tag section (created by the OP). Can you tell me why this specific question appears differently from others on SO? Is this a new update on this site? After reading Jon Skeet’s post, I now realize that question discussion is allowed here on SO. That's interesting.
@jcalz - What do you mean by "open-ended question"? I am sorry I did not explain my case enough - I do not care about the order of the elements. Only thing I need is that array contains all the elements. Is that still impossible? I will change the body of the post to clarify my needs.
can you enlighten me on the config of the smartlogger? I have enable modbus TCP on the smartlogger but I cannot connect to it through modbus. I am connected to the port wan
Upgrading the androidx-compose-foundation version to 1.10.0-beta01 actually helped. I’m not sure if the developers will allow me to use a beta version, but thank you!
Do you know if there is any article about this issue?
Any updates on this, I'm trying to implement the draw feature like we have in Redfin, but google drawing library is only allowing to draw shapes like polygon, circle, but I want to implement free form polygon?
Without knowing how you actually use that QueryContext in your code, its harder to answer that question, can you give actual code to see how you actually use and call that QueryContext function.
My questions are:
Do you use that context with timeout.
Do you check if there's rows.Err() returned by that QueryContext
If you give us some code sample to understand how you actually call that function, we can answer this question better.
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.