Car is showing too many requests in logs, no data being collected

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
One of my cars is not reporting into TeslaMate anymore.  Other users appear to be experiencing the same issue here: https://github.com/teslamate-org/teslamate/discussions/4194
In log file below, car_id=1 is the car that's having a problem, which shows too many requests.
Car_id=3 is working properly.
Expected Behavior
Car's status and such should be reporting into TeslaMate.
Steps To Reproduce
Open TeslaMate and see that the car's not updating itself there.
Relevant log output
2024-09-13 12:22:01.950 [info] Version: 1.30.1
2024-09-13 12:22:02.582 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (608.168 ms)
2024-09-13 12:22:02.582 [info] Refreshed api tokens
2024-09-13 12:22:02.589 [info] Scheduling token refresh in 6 h
2024-09-13 12:22:02.596 [info] Running TeslaMateWeb.Endpoint with cowboy 2.10.0 at :::4000 (http)
2024-09-13 12:22:02.597 [info] Access TeslaMateWeb.Endpoint at http://localhost
2024-09-13 12:22:03.314 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/1492930706631656/vehicle_data -> 429 (172.472 ms)
2024-09-13 12:22:03.314 [warning] TeslaApi.Error / %TeslaApi.Error{reason: :too_many_request, message: 41877, env: nil}
2024-09-13 12:22:03.314 [info] Starting logger for 'Bitching Betty'
2024-09-13 12:22:03.322 [info] Starting logger for 'Nagging Nora'
2024-09-13 12:22:03.338 [info] MQTT connection has been established
2024-09-13 12:22:03.635 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/1492930706631656/vehicle_data -> 429 (145.610 ms)
2024-09-13 12:22:03.635 [warning] TeslaApi.Error / :too_many_request 41877
2024-09-13 12:22:03.635 car_id=1 [error] Too many request / Retry after 41877 seconds
2024-09-13 12:22:03.748 car_id=3 [info] Start / :offline

Screenshots
No response
Additional data
No response
Type of installation
Docker
Version
v13.0.1

I have the same issue, started this morning

Having a similar issue this morning as well

Same issue started for me as well this morning at 2024-09-13 04:57:18.474 UTC, says it'll retry after 68562 seconds (19 hours!)
Also did get one last night, but with a more reasonable 4000 seconds timeout:
2024-09-12 22:44:24.701 car_id=1 [error] Too many request / Retry after 4536 seconds

I have the same issue as well.. started last night.
I tried restarting teslamate, the car, and re-enrolling with a fresh auth token, none of which have worked so far.

Thinking the current Streaming/Own API might be getting rate limited.
There are updated instructions on how to pivot to the Fleet API here: https://docs.teslamate.org/docs/guides/api/ however, it's a little unclear to me.
Fleet API is what my Home Assistant instance is using at the moment, which is still working.

I have exactly same issue, data collection failed from 09:33 am.
Tried restart car, relog-in with refreshed/access tokens, problem retains.

Yeah, @Nakatomi2010 I think you're right.. I came across this: https://developer.tesla.com/docs/fleet-api/support/announcements#2024-03-26-shutting-down-legacy-vehicle-api-endpoints which seems to mean they want everyone to move to the fleet API.
There seems to have been a discussion about this here as well: https://github.com/teslamate-org/teslamate/discussions/3792

I've tried pivoting to the Fleet API, since I've got it set up for Home Assistant, however, the instruction in the documentation are unclear.
When I add the environment variables to the docker-compose.yml and restart the instance, it seems to just reset itself to refresh and access token login, which is super confusing.

Yeah, the documentation isnt clear on where those new variables need to go.

Ah, I got it to work... followed https://docs.teslamate.org/docs/guides/api/#myteslamate-free and put the env variables in the teslamate section, and now things work again.

Ah, I got it to work... followed https://docs.teslamate.org/docs/guides/api/#myteslamate-free and put the env variables in the teslamate section, and now things work again.

not business fleet users, is your solution still works?

Can confirm.  Using the myTeslaMate process fixes it.
Would have preferred to use my own Tesla Fleet API account I have, but the instructions in the documentation don't work.
MyTeslaMate is free is you have TeslaMate, you log in with your Tesla OAuth and then pair the cars.
It'll give you a block of lines you have to add to the docker-compose.yml file, then you do a "docker compose up -d" to have it add the variables to the docker instance.
The system should then pick up where it left off.
Not sure that this is the "correct" solution, but it gets you collecting data again until someone else can review things and see what's up.
My suspicion is that Tesla wants people on the Fleet API going forward, so TeslaMate might need to look over how things are done in the near term to ensure compliance.  Not sure how MyTeslaMate is going to like the additional traffic.  I also don't like a random site online having access to my stuff.

Can confirm, not a business fleet user. Using the MyTeslaMate process fixes it.
Would have preferred to use my own Tesla Fleet API account I have, but the instructions in the documentation don't work.
MyTeslaMate is free is you have TeslaMate, you log in with your Tesla OAuth and then pair the cars.
It'll give you a block of lines you have to add to the docker-compose.yml file, then you do a "docker compose up -d" to have it add the variables to the docker instance.
The system should then pick up where it left off.
Not sure that this is the "correct" solution, but it gets you collecting data again until someone else can review things and see what's up.
My suspicion is that Tesla wants people on the Fleet API going forward, so TeslaMate might need to look over how things are done in the near term to ensure compliance. Not sure how MyTeslaMate is going to like the additional traffic. I also don't like a random site online having access to my stuff.

Thanks very much, it is solved now finally according to your guidance!
Yes also try official Tesla Fleet API, doesn't work, display unavailable.
Change to MyTeslaMate, starting also unavailable, but after about 1 min, it resumes!
Thanks again!

I also don't like a random site online having access to my stuff.

Agreed. When I have some time, I will try to transition to the steps listed here: https://docs.teslamate.org/docs/guides/api/#guide-to-using-the-official-tesla-api-directly-free, which bypass having MyTeslaMate being the proxy.

Can someone help me with where I need to add the variables? I am using Teslamate as an add-on.

Can confirm, not a business fleet user. Using the MyTeslaMate process fixes it.
Would have preferred to use my own Tesla Fleet API account I have, but the instructions in the documentation don't work.
MyTeslaMate is free is you have TeslaMate, you log in with your Tesla OAuth and then pair the cars.
It'll give you a block of lines you have to add to the docker-compose.yml file, then you do a "docker compose up -d" to have it add the variables to the docker instance.
The system should then pick up where it left off.
Not sure that this is the "correct" solution, but it gets you collecting data again until someone else can review things and see what's up.
My suspicion is that Tesla wants people on the Fleet API going forward, so TeslaMate might need to look over how things are done in the near term to ensure compliance. Not sure how MyTeslaMate is going to like the additional traffic. I also don't like a random site online having access to my stuff.

thank you! i follow your instruction and everything is working again.

Can someone help me with where I need to add the variables? I am using Teslamate as an add-on and not through docker.

@shivaagarwal1 You should have a docker-compose.yml file on the machine.
Open it and you'll see a block that looks similar to this:
services:
teslamate:
image: teslamate/teslamate:latest
restart: always
environment:
- ENCRYPTION_KEY=secretkey #replace with a secure key to encrypt your Tesla API tokens
- DATABASE_USER=teslamate
- DATABASE_PASS=password #insert your secure database password!
- DATABASE_NAME=teslamate
- DATABASE_HOST=database
- MQTT_HOST=mosquitto
ports:
- 4000:4000
You'll put the MyTeslaMate bits in at the end of the Environment section, just above "ports".
services:
teslamate:
image: teslamate/teslamate:latest
restart: always
environment:
- ENCRYPTION_KEY=secretkey #replace with a secure key to encrypt your Tesla API tokens
- DATABASE_USER=teslamate
- DATABASE_PASS=password #insert your secure database password!
- DATABASE_NAME=teslamate
- DATABASE_HOST=database
- MQTT_HOST=mosquitto
- MyTeslaMate
- Stuff
- goes
- here
ports:
- 4000:4000

Can someone help me with where I need to add the variables? I am using Teslamate as an add-on and not through docker.

@shivaagarwal1 You should have a docker-compose.yml file on the machine.
Open it and you'll see a block that looks similar to this:
services: teslamate: image: teslamate/teslamate:latest restart: always environment: - ENCRYPTION_KEY=secretkey #replace with a secure key to encrypt your Tesla API tokens - DATABASE_USER=teslamate - DATABASE_PASS=password #insert your secure database password! - DATABASE_NAME=teslamate - DATABASE_HOST=database - MQTT_HOST=mosquitto ports: - 4000:4000
You'll put the MyTeslaMate bits in at the end of the Environment section, just above "ports".
services: teslamate: image: teslamate/teslamate:latest restart: always environment: - ENCRYPTION_KEY=secretkey #replace with a secure key to encrypt your Tesla API tokens - DATABASE_USER=teslamate - DATABASE_PASS=password #insert your secure database password! - DATABASE_NAME=teslamate - DATABASE_HOST=database - MQTT_HOST=mosquitto - MyTeslaMate - Stuff - goes - here ports: - 4000:4000

Thank you for your quick reply. I am on HAOS and not running through Docker. Although, I understand that the add-ons are based on docker. I do not see the docker file in my config folder

I think I found it. trying to make it work now.

Can confirm, just adding the environment variables from MyTeslaMate makes it connect again. However, be aware it seems much slower on this config, probably due to the polling intervals (makes sense to not have these too short anyway).
I didn't mess with the streaming API stuff.

Can confirm, just adding the environment variables from MyTeslaMate makes it connect again. However, be aware it seems much slower on this config, probably due to the polling intervals (makes sense to not have these too short anyway).
I didn't mess with the streaming API stuff.

My understanding is that that's "by design".   The delay is covered by the documentation found here: https://docs.teslamate.org/docs/guides/api

The Tesla Fleet Telemetry differs from the "Owner" streaming. By default, metrics are sent to message queues instead of a websocket as streaming did. Historical streaming could send events every second, whereas Fleet Telemetry will only send information every minute at the minimum.

Yeah, not something that's wrong, just something to get used to. I understand Tesla's desire to manage load on their server infrastructure, and the slower rate is more than enough for something that's only meant to keep historical stats on the car anyway.
For any real-time monitoring the official Tesla app is more appropriate.

I made no changes to the and mine has returned to normal, al three cars now available.
Looked back through the logs and the first time I can find rate limiting is 2024-09-10 (response code 429) which only lasted a few minutes.

I made no changes to the API and mine has returned to normal, all three cars now available.

I waited to comment on this thread and the others as I kind of expected this might be a Tesla server side issue.
Everyone: please check your installations. If this is no longer needed, please close move the issue to a discussion and close it.

I made no changes to the API and mine has returned to normal, all three cars now available. Looked back through the logs and the first time I can find rate limiting is 2024-09-10 (response code 429) which only lasted a few minutes.

same for me, glad it fixed itself :D

Not my screenshot, but interesting to see another user have error 429 in the app.

Hmmm, going back didnt fix it for me... (removing those newly added lines from the docker-compose file)
I may have to figure out how to unpair my vehicle from https://app.myteslamate.com/fleet to get back to the owner API. Anyone have suggestions or a pointer to the docs?

Hmmm, going back didnt fix it for me... (removing those newly added lines from the docker-compose file) I may have to figure out how to unpair my vehicle from https://app.myteslamate.com/fleet to get back to the owner API. Anyone have suggestions or a pointer to the docs?

I didn't have to unpair from myteslamate, a refresh of the TeslaMate homepage took me back to the sign in page to add a new access and refresh token that did the trick.

Ah never mind.. had to re-enroll the auth token for the owner API. Works now.

didn't have to unpair from myteslamate

Yeah, but I'd want to unpair so that the cloud service no longer has access - and I'm back to just streaming straight to my raspberry pi directly :)

I also reverted back to Owner API and it's working. So this was never a Teslamate issue.


System health exception

Discussed in https://github.com/BJReplay/ha-solcast-solar/discussions/185

Originally posted by bert1111 October 17, 2024
Is this a solcast integration error or HA itself?
I see this in the logs after updating solarman integration and rebooting.
I am on the latest version of everything.
`Logger: homeassistant.components.system_health
Bron: components/system_health/init.py:89
integratie: Systeemstatus (documentatie, problemen)
Eerst voorgekomen: 15:10:03 (3 gebeurtenissen)
Laatst gelogd: 16:09:47
Error fetching info
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/system_health/init.py", line 89, in get_integration_info
data = await registration.info_callback(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solcast_solar/system_health.py", line 27, in system_health_info
used_requests = coordinator.solcast.get_api_used_count()
^^^^^^^^^^^^^^^^^^^
AttributeError: 'mappingproxy' object has no attribute 'solcast'`

Continue here @bert1111.

To be honest, the system health return is currently terrible @BJReplay, and of almost no use anyway. I am inclined to drop used requests and the rooftop sites count, leaving can_reach for the URL. This would avoid the exception entirely.
Additionally, the old way of looking at system health is no more in the current HA version that I can find. It was of some use back in 2019/2020, then I forgot all about it.
async def system_health_info(hass: HomeAssistant) -> dict[str, Any]:
    """Get info for the info page."""
    coordinator: SolcastUpdateCoordinator =list(hass.data[DOMAIN].values())[0]
    used_requests = coordinator.solcast.get_api_used_count()

    return {
        "can_reach_server": system_health.async_check_can_reach_url(hass, SOLCAST_URL),
        "used_requests": used_requests,
        "rooftop_site_count": len(coordinator.solcast.sites),
    }

My gut says HA glitch.
My early call is that we will get no useful information allowing repro.
Agreed on dropping rooftops.
Almost agreed on used requests. Only reason why not is that it is a bit of a 429 tell-tale if it all goes horribly wrong (10 retries fail) and debug logging isn't on.

Agree on the highly likely glitch.

bit of a 429 tell-tale

Good point, but where can one see this information in the modern HA user interface or any diagnostic dump? Maybe I'm not looking hard enough... Get the API used from the sensor if needed. All of this info is included in the diagnostic dump, and this code seems a bit of a mostly-not-helpful relic.
Helpful would be a counter of the number of 429s hit for the past day, which should probably be in the diagnostic dump.

Agreed

I can reproduce it by going to Repairs=> System information

Thanks, @bert1111, that is helpful, so can I.

Reproduced as well.
It'll be gone in the next version, quite possibly replaced by something actually helpful... Thanks @bert1111.

It's useless, but at least it now works as is. This has been broken for a very long time...

And it's wrong! 😂 "API requests remaining" is actually API requests used so far for the day. Lols. No one looks at this.
And more Urdu translations will be required to extend it. 🤦🏻
Why did I not just let you silently close that discussion BJ?

Why did I not just let you silently close that discussion BJ?

🤷
I have relatively recently used system information when creating an issue on HA without it throwing that error (I think) - what was the fix?
Could a relatively recently made translation change have caused it?

System Information is clearly a little used corner of HA.  Apart from various diagnostics from Home Assistant, Supervisor, Recorder, etc, the only non-HA components that show up in my System Information list are:

HACS, arguably part of HA anyway
AccuWeather, shows server connection and remaining allowed requests
Solcast integration, broken as above

No other integrations or add-on's have bothered feeding it with data

(Python tute: Python dictionaries are inherently unordered, so when converted to a list you do not have a guaranteed order so you often sort with lambda on a dict key to ensure an order if that's what you need. The integration does this with forecast periods. What generally happens in reality is that the order that dict items are added tends to be retained in memory, unless adds/moves/changes so it often seems to work. I add the entry options before the coordinator gets instantiated, so entry options is almost always first-ish. Enter the almost always-ish exception.)
I know, @gcoan! (But there are some obscure ones out there that do.) Measuring 429s might be a fun project though.
Happy to be guided buy popular opinion. I honestly don't need more Urdu practice.

System Information may be little used, but is essential for raising issues on HA or any core integrations (as it is requested by the issue template).
That doesn't mean that we need to embrace it as a place to report data for our integration, but I have used it half a dozen times and I have only been using HA for six months!

Re-thinking: I am going to drop the 'requests remaining', 'rooftop sites' and abandon all thoughts of Urdu translations.
The current information is misleading, and no one looks at it.
Forget 429 counts. Hopefully we can solve for them, so it will be a non-issue. (Warms up electric television...)
I will leave the code stub that gets the coordinator. Someone may find it useful in future.

Re-thinking

Hard Agree
As little as possible to fix is the right amount.
I'd consider pulling the entire system health hook but haven't yet read enough to know if that is good or bad.
Solcast Server reachable is not currently available anywhere else, but implicit in successful initial set up and forecast fetch.
Everything else is available elsewhere in diagnostics.

async def system_health_info(hass: HomeAssistant) -> dict[str, Any]:
    """Get info for the info page."""
    #for v in hass.data[DOMAIN].values():
    #    if isinstance(v, SolcastUpdateCoordinator):
    #        coordinator: SolcastUpdateCoordinator = v

    return {
        "can_reach_server": system_health.async_check_can_reach_url(hass, SOLCAST_URL),
    }


Add support for external dragDropManager

add external dragdropmanager to allow drag to external target.
Note: this minimal changes don't support internal dnd and external dnd exist at the same time (e.g. vscode explorer). we need to do following changes for this feature:

allow user disable useDragHook in RowContainer
allow user change the dnd type from "NODE" to another string
expose useDragHook to users
add custom data to useDragHook to allow users attach custom data during dnd.

I don't have suitable code to test this, so these changes aren't included in this pull request.

When I run this branch, I get an error saying it expected a drag drop context. I agree that we should support an external drag/drop target, but I'm going to close this until we have a more complete solution. This issue is tracked in #114

@jameskerr my mistake, fixed in new commit. I still wish you can commit and publish this basic feature for external dnd manager, currently I use my fork in package dependency.

Fixed in #147

Version 3.1.0 has this fix in it.


BC Sales Quotes and Orders to Archive Question

Hi Bert
I'm using bc2adls from BC to Microsoft Fabric and had a quick question regarding the interaction between the Sales and Sales Archive tables.  My understanding is that within BC the Sales Quotes and Orders transaction data (in the Sales Header 36 and Sales Line 37 tables) will move to the Sales Header 5107 and Line 5108 Archive tables once they are converted to invoice or print (dependent upon config).
My understanding from the Fabric notebook is that it will only insert or update (de-duplicate) records.  So when a BC sales transaction moves from the Sales Header/Line to the Sales Header/Line Archive BC tables, the records will stay in the Fabric Sales Header/Line delta tables and also be inserted into the Fabric Sales Header/Line Archive delta tables.  Can you please confirm if this is the case?
Thanks in advance
Greg

Hi @greglong1 indeed if a sales order is archive then it will move from 36/37 to 5107/5108.
So it will delete the records in table 36/37.
Those deletion are also moved to Fabric and the notebook will also delete the records in lakehouse. So they should only appear in the archive tables and removed is from the sales header / sales lines.

Bert - apologies - I see this in the notebook to find deleted records with null values for the SystemCreatedAt_2000000001 field and remove them from the table.  Thanks so much

No problem @greglong1!


Create cubos-academy.txt

@dhiegopereira I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host cubos-academy.academy not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


configure hdr display max brightness

If the input color transfer is linear, there is no proper peak brightness configuration. Also hlg is not absolute standard allowing room for different peak brightness levels. This change addresses this.
Test: ./ultrahdr_unit_test

I think the changes made on decoder side need closer inspection.


If event end date is today event isn't shown in event list

^this

@Philipp-Bode Is it your fault that the event still doesn't show on the main page?

I fixed the scope that was used for the event-index list, apparently the main page does not use that scope. Am on it.

@tom95 Maybe?

:revolving_hearts:


update message when a modifier key is pressed or released

This change updates the status bar message when a modifier key is pressed or released. I add event listeners when the status bar appears, and I remove them when it disappears. A modifier key status change just emulates a new hover. displayStatus may get called multiple times before hideStatus, but redundant calls to addEventListener are managed correctly underneath.
I've never done a pull request before; let me know if I should be doing anything different!

ooh awesome. I've been meaning to implement this for a while, but was always too lazy. it slightly concerns me that we're now listening to all key events, but there's probably no way around that.

Yeah, it's a bummer, but as far as I can tell there's no way to listen to a specific subset of keys. At least it only listens when the status bar is up, though.

On Feb 24, 2015, at 10:52 PM, Visnu Pitiyanuvath<EMAIL_ADDRESS>wrote:
ooh awesome. I've been meaning to implement this for a while, but was always too lazy. it slightly concerns me that we're now listening to all key events, but there's probably no way around that.
—
Reply to this email directly or view it on GitHub.

Fixes #1.

released in v1.12


Need a detailed tutorial on how to use it, thanks

The first time I used python, I tried to manipulate it, but it didn't work.

Ty for noticed the repo.
Sure, I was really planning to make a simples step-by-step guide of how to
use it. Keep watching the repo, please, the next updates will have more
detailed of how to use it then.
On Sat, Sep 23, 2023, 5:37 AM crimes2 @.***> wrote:

The first time I used python, I tried to manipulate it, but it didn't work.
—
Reply to this email directly, view it on GitHub
https://github.com/Gabriellgpc/pexel-downloader/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF552LFQULHN3SPUYZBE3RTX32UTXANCNFSM6AAAAAA5ECOYIE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@crimes2 hope it will help you to start using it.
https://medium.com/@condadoslgpc/how-to-automatically-download-open-license-images-using-python-and-pexel-downloader-10291ebd0cd3


The section on "Formatting Whitespace in Expressions" in the F# coding guidelines is misguiding

I think we ought to mention that whitespace is sometimes necessary and since this is a guideline, we should enumerate the cases to create consistency.
I suggest we add something like this (text to be defined):

Around infix operators, whitespace should be used: 1 + 3, not 1+3. This avoids problems like x -1 which is a different expression entirely to x - 1.
Mention that whitespace following a function identifier can be necessary. myFunction() is different from myFunction (). The advice should be that in general, when it is a .NET member function, no space is used after the identifier. When it is a curried function, or a standard F# function, a space is required. While there are cases where both syntaxes yield the same result, this is the place to give a guideline, which hopefully avoids common pitfalls encountered by newcomers.
After prefix operators, no space should be used. Good: x = -1, bad: x = - 1.
In operator definitions, a space should be used. This prevents certain compile errors, and consistency is key here. Good: ( !. ) y = y, bad: (!.) y = y. (i.e., a compile error will happen when an operator starts with a * and you don't use a space).
Around -> there should always be a space. Good function X -> y, bad: function X->y.

... anything else I've missed?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8c09996f-24ac-cf39-ef43-d7909cbc2b89
Version Independent ID: 1efdd523-8552-6421-e149-74f76826ef8f
Content: F# code formatting guidelines
Content Source: docs/fsharp/style-guide/formatting.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: phcart

@abelbraaksma I'll close this since #9233 addresses everything aside from guidance on passing unit as a parameter to a function or method. But if you have a great motivating example of this, I'll gladly add it and think of what the guidance should be.


Support InlineFragment fields?

For the getFields, might be useful to include InlineFragment
See: https://facebook.github.io/graphql/#sec-Inline-Fragments
Or the whole function: https://github.com/graphql/graphql-js/issues/96#issuecomment-138145869
(Might be nice to include this in learngraphql.com, too!)

Thanks. Yeah. We should do it too.

If you have some time for that, send me a PR.

Sure, you thinking about merging the 2 functions or wanna keep em separate?


Garbage collecting deleted projects

Feature description

Scenario:

check out new project
lorri installs 500 dependencies
do some work on a project
delete the project directory when finished with it
500 dependencies remain forever in the Nix store, useless and inaccessible

The only way to clean up is to delete GC roots from ~/.cache/lorri.
It would seem to make more sense for the GC root symlink to be in the project directory, under .lorri/gcroot or something, rather than in ~/.cache.
Target users

Anyone who works on projects temporarily and then deletes them.

Hm, lorri doesn’t really know about projects, all we care about are nix files we evaluate.
I’d rather not put files into directories we don’t control if we can help it.
We could have a lorri gc command or similar, which checks whether the producing files still exist and deletes the gc roots if they don’t.

Yep lorri gc would work just as well.
Though I don't really see any harm in putting files in "project" directories - in our usage of lorri, if a directory has .envrc with $(lorri direnv) in it, it's effectively controlled by lorri. It would seem entirely reasonable that lorri init would create .lorri subdirectory to store its things.

If we store a last-used timestamp, then we can have lorri gc --older-than 30d or whatever, similar to nix-collect-garbage.

For me it would be good enough to just have some command to clear cache.

https://docs.rs/directories/3.0.1/directories/struct.ProjectDirs.html#method.cache_dir
by the way, on mac the cache directory is $HOME/Library/Caches/com.github.target.lorri.lorri.lorri.


feat(python): Reranker DX improvements

Most users might not know how to use QueryBuilder object. Instead we should just pass the string query.
Add new rerankers: Colbert, openai

lmk once you're ready, please make another DX improvement issue, i think we've collected a bunch of stuff at this point that's worth addressing next.

dunno whats happening.. will fight ci tmrw


Fix the python3 conflict issues

Since the latest opencv package depends on python3, we need to switch to python3 in meta-ros,
to fix the below bitbake error message in issue #458: “that file is already provided by package”
Signed-off-by: Yong Li<EMAIL_ADDRESS>

I've checked quickly the recipe for the latest opencv and it seems it can depend on either python2 or python3 depending on what's included in its PACKAGECONFIG.
If I'm not mistaken the proper solution would be to replace python-nose to ${PYTHON_PN}-nose.

@rojkov I just tested the ${PYTHON_PN}, but it still uses the python-nose, is there any other changes are needed?

Just for experimenting, what happens if you replace distutils-base with distutils3-base. How many things break in meta-ros?

@bulwahn After changed the distutils-base to distutils3-base in catkin.bbclass, the catkin.bbclass build will fail, almost all other packages depend on it

Okay, so we really must see if it feasible to get everything running with python3 or simply set python2 in the opencv recipe with a .bbappend file, right?

@bulwahn Yes. I think for the quick solution, we can modify opencv to use python2 with the .bbapend or local.conf file:
PACKAGECONFIG_remove_pn-opencv = " python3"
PACKAGECONFIG_append_pn-opencv = " python"

So, the proposed commit does not provide a solution to use either python2 or python3 throughout meta-ros. I suggest to close this pull request, and consider if we want to add some documentation in the ROS wiki or in the README.md file. The discussion can be continued in the issue #458.


Pasting large amounts of text has gotten really slow

Here I'm pasting ~800 lines of text and it's taking about 100ms. Looks like we're spending a ton of time in setIndentationForBufferRow, probably because the presenter is doing more work synchronously in these cases. @maxbrunsfeld do you think we could auto-indent before inserting the text to avoid this?

Sync vs async presenter updates is a tricky balancing act because async will be slower in extremely common cases such as inserting a character but faster in less common ones like indenting 800 lines. I may need to revisit my approach and do more of the presenter work async.

Refs #5411.


Spark/add parsing dynamic info from env var

Problem
Currently, there is a limitation when supplying parentJobName or parentRunId for jobs scheduled on Databricks clusters. These jobs, which can be Python jobs or notebook jobs, do not allow parameters to be supplied via Spark Submit configuration arguments. This limitation affects our ability to create new clusters for each job while passing the necessary parameters.
Closes: #ISSUE-NUMBER
Solution
Inspired from Issue 2916, I propose adding the capability to supply parentJobName and parentRunId (and any relevant argument) via environment variables. This solution ensures that the configuration can be overridden in the following order of precedence:
1- Yaml file
2- Environment Variables
3- Spark Configuration
Changes Proposal:
Introduce a method to extract configuration from environment variables.
Update the parse method to incorporate configuration from environment variables.
One-line summary:
Add support for supplying parent job details from environment variables in Databricks clusters.
Checklist

[x] You've signed-off your work
[x] Your pull request title follows our guidelines
[x] Your changes are accompanied by tests (if relevant)
[x] Your change contains a small diff and is self-contained
[
/] You've updated any relevant documentation (if relevant)
[ ] Your comment includes a one-liner for the changelog about the specific purpose of the change (not required for changes to tests, docs, or CI config)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2024 contributors to the OpenLineage project

@algorithmy1 I just merged #3094. Thank you for your effort, I was just working on the configuration mechanism as a whole, both for Java and Python client.


Wrong CVC validation for AmEx

Invalid CVC input has 'valid' class until onblur event fired on them.
Steps to reproduce:

Fill 3 digits to CVC
Fill valid AmEx card number (example: 3700 0000 0000 002)
Actual result: CVC input has valid class but form can't be submited.
Expecting result: CVC input has error class.

It would be understandable for user to see that CVC is invalid for AmEx card.
Note: fourDigitCvcForBins has default value - '34,37'

From what I can tell the root cause is the same as for issue #21. I'll close this one, and keep status in that issue.


A more sensible activation condition.

Right now having more than the set amount of items and setting the cover to "more than" will disable the machine. It makes more sense to me that when the condition is satisfied, the machine is on

Redstone on, machine on!

The original meaning was "disable machine when more than n items", but it's true that this way seems more intuitive with the current UI


[on hold] Resolve DOE firewall issue for eutychia

Currently internal DOE people cannot use eutychia due to restrictions placed by the firewall.
We need to contact someone from DOE IT to explore options for making eutychia accessible before deploying at DOE.

Disregard all tagged commits above this message - they're actually for issue #56

Closing pending development of plotly GUI - will reopen if the issue remains


Fix InitializeSecurityContext input buffer null check

@RRRadicalEdward FYI - InitializeSecurityContext usually has a null input buffer for the first call, so I'm not sure how this change was tested. I was getting invalid parameter errors until I realized there was a null pointer check for the input buffer when it's perfectly normal. By the way, I've just tried it with a user member of the Protected Users group, and it works.


Python longstring tag vs block comment tag in Vscode

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.85.1
OS Version: MS Windows 11 enterprise

DESCRIPTION
Vscode Language Configuration includes either line comment tag and or block comment tags. The extension we have been developing uses by default (based on implementation decision) block comments if they exist for the programming/script language of the current file.
The problem is with Python block comments and Vscode. Vscode misleadingly returns longstring tag ''' as a block comment tag that must be used in the beginning and end of a multi-line comment. However, according to the Python language specification the longstring tag is NOT for comments, but for long strings (as its name states).
From Python language reference:
2.1.3. Comments
2.4.1. String and Bytes literals
It seems this is a bug in Vscode implementation. It should be corrected in a way that so that language configuration does not contain longer longstring tag (''') as a block comment tag for Python comment.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

It's not yet available due to the company policy.

Hi @Apamobil, I am struggling to reproduce any wrong behaviour in VS Code with longstrings defined by ''' or with comment blocks, with the Pylance extension disabled or enabled. Would you mind explaining a bit better what is the behaviour you are experiencing?

Hi! In a nutshell:
Vscode misleadingly returns longstring tag ''' as a block comment tag for Python.
According to the Python language specification longstring tag is not intended for comments, but for long strings as the name states. This is often used as an alternative method for commenting out multiple lines (using triple-quoted string literals (''' ''' or """ """). However, they are not officially block comments for Python.
The problem is that automated formatters and linters don't like the longstring tags and are sometimes formatting the comments marked with longstring tags.
See also this article, it gives some background info about commenting in Python: https://www.datacamp.com/tutorial/python-block-comment


Update php7-fpm dockerfile to add ssl support

To remove this error: Unknown SSL protocol error in connection to getcomposer.org:443

Thank you @clifinger for your contribution :)


Add Monochrome App Logo

Will need to create a vector asset (svg) variation of the current app logo

Very long vector path (882 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector.

May need to get a new monochrome icon SVG that is less "complex" so we don't need to suppress the warning

marking as done, did what I can for making a monochrome logo - so it won't be updated unless a better, more professional one is made,


CAN-High works but not CAN-Low

I have an Opel Ampera-e and managed to get data from the CAN-High. I followed the diagrams from your Youtube videos as well as the connection diagram for the "switch-box". Pin 6 to H and Pin 14 to L, on the MCP2515, and 500E3 in the arduino code.
But when I went to read the CAN Low I have tried all different ways. Both connecting the Pins to 1 and 4, as well as 6 and 14. And changing the arduino code CAN_SPEED variable to 33E3. But I get the message , "Starting CAN failed!", both times.
Am I doing something wrong?
Thanks for help.

Hey,
The low-speed can bus (GMLAN) is not present on all cars and not even all build-years. Have you check that your car has a low-speed can line?

Hi, thank you for taking the time to answer.
I figured out the problem, I forgot to add the CNF values for the 33E3.
Works now.


148 err reporting

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/main/java/eu/yals/controllers/AppOfflineController.java  1
- src/main/java/eu/yals/controllers/YalsErrorController.java  1
- src/main/java/eu/yals/utils/YalsHealthIndicator.java  4

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/main/java/eu/yals/controllers/YalsErrorController.java  1
- src/main/java/eu/yals/utils/YalsHealthIndicator.java  5
- src/main/java/eu/yals/controllers/AppOfflineController.java  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/main/java/eu/yals/utils/YalsHealthIndicator.java  5
- src/main/java/eu/yals/controllers/YalsErrorController.java  1
- src/main/java/eu/yals/controllers/AppOfflineController.java  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/main/java/eu/yals/utils/YalsHealthIndicator.java  5
- src/main/java/eu/yals/controllers/AppOfflineController.java  1
- src/main/java/eu/yals/controllers/YalsErrorController.java  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/main/java/eu/yals/controllers/AppOfflineController.java  1
- src/main/java/eu/yals/controllers/YalsErrorController.java  1
- src/main/java/eu/yals/utils/YalsHealthIndicator.java  5

See the complete overview on Codacy


RLS and Workspace access associated with this feature.

Please include a section of in depth detail regarding the security features or the access requirement associated with sharing the report via QR code.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b935cd03-7dc8-c8cc-2e9c-8d7956270d8d
Version Independent ID: f9b14089-3720-2ea0-416c-7c798fb62ce3
Content: Create a QR code for a report to use in Power BI mobile apps - Power BI
Content Source: powerbi-docs/service-create-qr-code-for-report.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi @dhruvinushah , thanks for your comment. I am forwarding it along to the doc author for consideration. In the meantime, you might find useful information in the Power BI Community.

Hi, @dhruvinushah -- still a valid question. Reassigning it to new article owner.

Hi @dhruvinushah, sorry for the VERY delayed response. In any event, a QR code is just a representation of a link to a report. Once scanned, the code is decoded as report link and then the app opens the report as any other report, and will be able to see whatever their Power BI permissions and RLS allow them to see.  If the user does not have access, the report won’t open and a "request access" flow start. I hope this answers your question.
I will take your suggestion and add a note to the article that explains what I just mentioned above.
Thanks for the question!


Remove redundant condition check in LongOutputStreamV2

We do not need to check fixedRunLength >= MIN_REPEAT because we can make sure fixedRunLength is non-negative by the previous condition at the line 712.
if (fixedRunLength < MIN_REPEAT) {
  // ...
}

Merged, thanks!


KAFKA-14196: Pausing partition to prevent duplication when autocommit is enabled

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks @showuon @hachikuji for the inputs, I just made this PR reviewable, so please review it if possible :)

@philipnee Thanks for the PR. Could you please update the description to explain the change?


spinlock deadlock with pthread_cancel

If pthread_cancel is issued to a thread holding the file lock, the thread aborts without releasing the spinlock.
Subsequent threads can never acquire the file i/o lock.
It is easy to reproduce this with the "-t" flag to create trace files and sending pthread_cancel to the thread during its start-up sequence.
I encountered it in a production code that uses side threads for I/O and sends pthread_cancel once the main thread comes out of poll().
The fix is to use pthread_cleanup_push/pop (http://man7.org/linux/man-pages/man3/pthread_cleanup_push.3.html) similar to what is done in libmonitor: https://github.com/HPCToolkit/libmonitor/blob/d28cc1d3c08c02013a68a022a57a6ac73db88166/src/pthread.c#L968
File I/O lock is perhaps just one place where it happens but I suspect there could be other places where this issues can happen.
How to reproduce:
run: hpcrun -e REALTIME@5000 -t ./example 100
example.cpp contents:
#include<pthread.h>
#include
#include <stdlib.h>
#include <stropts.h>
#include <poll.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
void * dummy1(void *){
for(int i = 0; i < 1000000; i++);
return 0;
}
int main(int argc, char *argv){
long n = 100; //atol(argv[1]);
struct pollfd d;
d.fd = open("/dev/null", O_RDWR);
d.events = POLLIN;
for(long i = 0; i < n; i++){
pthread_t x;
pthread_create(&x, 0, dummy1, (void)0);
poll(&d,1, -1);
pthread_cancel(x);
pthread_join(x, 0);
    }
    return 0;

}
How to compile:
g++ example.cpp  -o example -lpthread
Backtrace of the deadlocked thread:
(gdb) bt
#0  0x00007f405eb29e5d in spinlock_lock (l=0x7f405ed706c8 <files_lock>) at /home/mc29/software/HPCToolkit/hpctoolkit/BUILD/../src/lib/prof-lean/spinlock.h:115
#1  0x00007f405eb2a763 in hpcrun_open_trace_file (thread=2) at ../../../../src/tool/hpcrun/files.c:455
#2  0x00007f405eb33eca in hpcrun_trace_open (cptd=0x7f405ef80098) at ../../../../src/tool/hpcrun/trace.c:142
#3  0x00007f405eb33326 in hpcrun_thread_data_init (id=2, thr_ctxt=0x7f405c677f40, is_child=0, n_sources=1) at ../../../../src/tool/hpcrun/thread_data.c:371
#4  0x00007f405eb337dc in allocate_thread_data (id=2, thr_ctxt=0x7f405c677f40, num_sources=1) at ../../../../src/tool/hpcrun/threadmgr.c:144
#5  0x00007f405eb33a06 in hpcrun_threadMgr_data_get (id=2, thr_ctxt=0x7f405c677f40, num_sources=1) at ../../../../src/tool/hpcrun/threadmgr.c:264
#6  0x00007f405eb27dee in hpcrun_thread_init (id=2, local_thread_data=0x7f405c677f50) at ../../../../src/tool/hpcrun/main.c:675
#7  0x00007f405eb28aca in monitor_init_thread (tid=2, data=0x7f405c677f50) at ../../../../src/tool/hpcrun/main.c:1104
#8  0x00007f405e8fbd61 in monitor_begin_thread (arg=0x7f405eb09310 <monitor_init_tn_array+80>) at ../../libmonitor/src/pthread.c:974
#9  0x00007f405e6d6184 in start_thread (arg=0x7f405be98700) at pthread_create.c:312
#10 0x00007f405e0efffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

What file lock?

Trace file.
On Sun, Sep 2, 2018 at 7:35 PM John Mellor-Crummey<EMAIL_ADDRESS>wrote:

What file lock?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HPCToolkit/hpctoolkit/issues/106#issuecomment-417984602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMwHkGEW8x6GRpzU_zHncUBs0EsbUzNlks5uXJVagaJpZM4WW2zZ
.

I looked briefly at this problem. Handling pthread cancellation requires more than just push/pop of cancellation handlers for hpctoolkit.
First, the lock that you mention above has no concept of an owner. In a cancellation handler, a thread would have no idea if it acquired the lock or not. There is no way for the thread to set a flag before or after acquiring the lock. The thread could be cancelled between the two operations and end up doing the wrong thing. The lock could be replaced with one that would acquire ownership by using a CAS to put a thread id into the lock to own it. We would have to ensure that thread ids start at 1 rather than 0, which I think is the case now.
Cancellation is also used libmonitor to signal threads to record record finish their monitoring. We have encountered problems with the signal from libmonitor being delivered inside a signal handler while the thread is taking a sample.
I think the best approach to address both of these issues is to disable cancellation while hpctoolkit is doing its work. For the problems reported above where cancellation arrives early while a thread is holding a lock while manipulating files, disabling cancellation in libmonitor prior to calling monitor_init_thread and then reenabling it afterward would do the trick. Or, cancellation could be disabled/enabled in hpcrun_thread_init. The reason it seems attractive to handle this in libmonitor is that for handling signal delivery for samples, rather than having every sample source enable/disable cancellation, it could be done once for all appropriate signals in libmonitor.
@mwkrentel and I should discuss how to address this issue.

Synchronous overrides also need to disable/enable cancellation in addition to thread initialization and signal handling.

This repository has moved to GitLab, please continue this issue there.


Uber’s Highly Scalable and Distributed Shuffle as a Service / Uber Blog

URL:
https://www.uber.com/en-DE/blog/ubers-highly-scalable-and-distributed-shuffle-as-a-service/
Review (1-2 sentences): As usual, Uber tries to move the industry forward by resolving their scalability and reliability problems. In this article, they describe their way to move away from a built-in spark shuffle to a more costless and reliable way by using streaming writing. They built a library for this purpose and published it to open-source. So a lot of materials to explore.

Copy of #113 (published in Digest 21)

Ops.... sorry (


MiniCssExtractPlugin uses '[id]' rather than '[name]' for 'chunkFilename'

Do you want to request a feature or report a bug?
bug
What is the current behaviour?
next branch names css chunk files with [id] rather than [name]
If the current behaviour is a bug, please provide the steps to reproduce.
preact build

What is the expected behaviour?
files should be named according to their chunk name rather than with a number.
If this is a feature request, what is motivation or use case for changing the behaviour?
Please mention other relevant information.

Node version
npm version
Operating system
CLI version: 3.0.0-next.14
Browser

My short-term local workaround is to add the following to my preact config transform
helpers.getPluginsByName(config, 'MiniCssExtractPlugin')
	.forEach(({ plugin }) => plugin.options.chunkFilename = plugin.options.chunkFilename.replace('[id]', '[name]'));


QAA Image upload fail notification

We need to notify the user when an image upload fails.
Currently it will show the user a preview of the image, even if the upload fails.
Can we notify the user [maybe with a toast] that the image upload failed?

Here is PR
https://github.com/savantly-net/franchise-manager/pull/170


MOV file causes exception when opening

        oiio::ImageSpec configSpec;

        configSpec.attribute("raw:auto_bright", 0);
        configSpec.attribute("raw:use_camera_wb", 1);
        configSpec.attribute("raw:ColorSpace", "Linear"); /
        configSpec.attribute("raw:use_camera_matrix", 3);

        configSpec["oiio:UnassociatedAlpha"] = 1;

        auto imageInput = oiio::ImageInput::open(path, &configSpec);

Stack trace
        avcodec-58.dll!00007ffc18ab3370()	Unknown

 	TintaMediaReader.dll!OpenImageIO_v2_4_0::FFmpegInput::close(void)	C++

	TintaMediaReader.dll!QtOIIOHandler::read(QImage * image) Line 284	C++

IMG_1683.zip

I’ll work on this during dev days

I have been working on this issue with Jesse Y. We have both been unable to reproduce this error on our Windows machines. We will need more information how openimageio was used to investigate further.

For comparison, the app we basically tried was quite similar:
    ImageSpec configSpec;

    configSpec.attribute("raw:auto_bright", 0);
    configSpec.attribute("raw:use_camera_wb", 1);
    configSpec.attribute("raw:ColorSpace", "Linear");
    configSpec.attribute("raw:use_camera_matrix", 3);

    configSpec["oiio:UnassociatedAlpha"] = 1;
    auto inp = ImageInput::open("t:/IMG_1683.MOV", &configSpec);
    if (!inp)
        return -1;

    const ImageSpec& spec = inp->spec();
    int xres      = spec.width;
    int yres      = spec.height;
    int nchannels = spec.nchannels;
    auto pixels   = std::unique_ptr<unsigned char[]>(
        new unsigned char[xres * yres * nchannels]);
    bool ok = inp->read_image(0, 0, 0, nchannels, TypeDesc::UINT8,
                              &pixels[0]);
    printf("%d\n", ok);

    ok = inp->close();
    printf("%d\n", ok);

Opening, Reading, and Closing the .MOV file seemed to go through fine: APIs returned successes, pixel data looks to have been loaded, and no crashes seen in the debugger. We did not build with RAW support though so maybe that is at play.
@DougRogers you are using raw: attributes in the spec which should only matter when loading RAW images. Is the RAW format really at play here with this .MOV file? I'm not too familiar with either.

It still crashes without the raw options.  Do you have ffmpeg compiled in? avcodec is part of that library.

It crashes with just
auto imageInput = ImageInput::open(argv[1]);
for me.

Yes, ffmpeg is necessary to even have the option of opening the .mov file at all.  We're effectively testing OIIO 2.5 + ffmpeg 6 here (I see avcodec-60.dll loaded during debugging).  It's possible that either OIIO 2.4 and/or ffmpeg 5.8 itself has the bug. However, going backwards in versions for that dependency requires more time than I currently have available to try hunting for it.

Here are the versions that are currently in vcpkg that I am using.  I will retest when vcpkg is updates
openimageio:x64-windows                      <IP_ADDRESS>#2
ffmpeg:x64-windows                                6.0

The raw hints are harmless -- they will be ignored by all the readers except raw.
The fact that it crashes with only open() definitely reduces the surface area of what could possibly be broken.
It would be interesting for Jessey or Ninette to try installing the vcpkg version just to see if they are able to reproduce using the (allegedly) exact same versions of everything that Doug is using. This can inform whether it's worth trying to build 2.4 from source and determine if maybe this is something that has already been fixed.
OTOH, if Doug's results cannot be reproduced even with the same vcpkg approach, it would make me wonder if there wasn't some extraneous reason specific to Doug's environment that is really responsible for the problem (or at least, helps to make it symptomatic). I mean, just to pick a random possible explanation, could it even be something silly like read permissions on the file location or some other "systems reason" why there would be a problem reading this file that appears to be valid and uncorrupted when read on other systems?

Since you are unable repro in 2.4, let's wait until 2.5 is ported to vcpkg.  I have a workaround for this issue.

@DougRogers Is it specific to this file, or do other video files of the same codec also fail?

Other videos fail the same way.  It seems to be iPhone videos.

The lastest version of OpenImageIO in vcpkg does not crash with this example.


Deployment on Ares script

Use SLURM job information to get host names instead of manually editing. For now, use all the allocated nodes for ChronoKeeper and Clients and use the first node as ChronoVisor, i.e. co-locate everything.

merged


core packages such as common_msgs and pcl_ros is missing

As titled, am I missing some steps? Or it is by design?
Currently how I solved is is manually clone into the workspace.

common_msgs ought to be added in, but pcl_ros seems more optional- in general manually cloning in anything you are missing is normal.


Unable to use sorcery in rspec

Heyho,
I am getting a `method_missing': undefined method `authenticates_with_sorcery!' when I am trying to create a user using the FactoryGirl gem in rspec. I googled and tried and still failing - I hope I am just missing sth obvious:
gem 'rails', '4.1.4'
gem 'sorcery' (0.9.1)
gem 'factory_girl_rails'

rails_helper.rb
ENV["RAILS_ENV"] ||= 'test'
require 'spec_helper'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'

Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
ActiveRecord::Migration.maintain_test_schema!

RSpec.configure do |config|
  config.use_transactional_fixtures = true
  config.infer_spec_type_from_file_location!
end

spec_helper.rb
require 'factory_girl_rails'
require 'sorcery'

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods
  config.include Sorcery::TestHelpers::Rails::Controller, type: :controller
  config.filter_run :focus
  config.run_all_when_everything_filtered = true
  if config.files_to_run.one?
    config.default_formatter = 'doc'
  end
  config.profile_examples = 10
  config.order = :random
  Kernel.srand config.seed
  config.expect_with :rspec do |expectations|
    expectations.syntax = :expect
  end
    mocks.verify_partial_doubles = true
  end
end

spec.rb
require 'rails_helper'

RSpec.describe Admin::ImagesController, :type => :controller do
  before(:each) do
    create(:user)
<EMAIL_ADDRESS>"secret")
  end

  describe "GET 'new'" do
    it "returns http success" do
      get 'new', venue_id: 1
      expect(response).to be_success
    end
  end
end

user_factory.rb
FactoryGirl.define do
  factory :user do
    email<EMAIL_ADDRESS>    password "password"
    password_confirmation "password"
  end
end

/support/sorcery_module.rb
module Sorcery
  module TestHelpers
    module Rails
      module Integration
        def login_user_post(user, password)
          page.driver.post(user_sessions_url, { username: user, password: password})
        end
      end
    end
  end
end

I hope this includes all the information - I am still quite new to rails and especially writing tests... Help is much appreciated!

Hi @timoroemer, did you run rails generate sorcery:install?

I believe I did. The authentication works actually. It is just the rspec test/the factory that is complaining. So I can actually log in on my server and log out - all good there.
Any idea why rspec is complaining?

I double checked everything I could think of and still it is not working. Even after rails g sorcery:install again.
Any ideas?

Alright - I searched and I think I found the issue:
FactoryGirl doesnt seem to like "authenticates_with_sorcery!" much. When I use a fabricator for some magical reason or the other this will work just fine (getting: undefined local variable or method `page' for #<RSpec::ExampleGroups::AdminVenueImagesController:0x007f9fd2cb65c8> error now, but maybe I can find that out why that is too).
If you dont have any questions or input, you can close the issue.

I was wrong. Still broken.

@timoroemer I can't really help. Yesterday I tried to reproduce it and I could easily create users with FactoryGirl, so I have no idea what causes the problem in your case.
Maybe in your test environment you are loading Sorcery before Rails? In such case Sorcery will not add authenticates_with_sorcery! method to ActiveRecord::Base


Desktop Preview & Video Player

Added Linux, Mac and Windows support
Implemented video player

more incoming

The only thing pending is the video player for Android.

The implementation was broken again. See #36 for more info. Basically, the decryption needs to be implemented.


Python Segfault With cur.execute

The following segfaults for me:
from adbc_driver_postgresql import dbapi

conn = dbapi.connect("postgresql://")

with conn.cursor() as cur:
    cur.execute("SELECT COUNT(*) FROM bulk_ingest")
    print(cur.fetchone()[0])

Yielding a traceback like:
#0  0x00007fff8b0d31ad in AdbcNsArrowSchemaDeepCopy (schema=0x140, schema_out=0x7fffffffcef0)
    at /home/willayd/clones/arrow-adbc/c/vendor/nanoarrow/nanoarrow.c:723
#1  0x00007fff8b0c0f82 in adbcpq::PostgresCopyStreamReader::GetSchema (this=0x0, out=0x7fffffffcef0)
    at /home/willayd/clones/arrow-adbc/c/driver/postgresql/postgres_copy_reader.h:792
#2  0x00007fff8b0bb81a in adbcpq::TupleReader::GetSchema (this=0x555556777038, out=0x7fffffffcef0)
    at /home/willayd/clones/arrow-adbc/c/driver/postgresql/statement.cc:428
#3  0x00007fff8b0bbfbc in adbcpq::TupleReader::GetSchemaTrampoline (self=0x555556b7dc98, out=0x7fffffffcef0)
    at /home/willayd/clones/arrow-adbc/c/driver/postgresql/statement.cc:621
#4  0x00007fff948fcf02 in arrow::(anonymous namespace)::ArrayStreamBatchReader::CacheSchema() const ()
   from /home/willayd/mambaforge/envs/adbc-testing/lib/python3.10/site-packages/pyarrow/../../../libarrow.so.1000
#5  0x00007fff948fd2a6 in arrow::(anonymous namespace)::ArrayStreamBatchReader::ReadNext(std::shared_ptr<arrow::RecordBatch>*) ()
   from /home/willayd/mambaforge/envs/adbc-testing/lib/python3.10/site-packages/pyarrow/../../../libarrow.so.1000
#6  0x00007fff95d76217 in __pyx_pw_7pyarrow_3lib_17RecordBatchReader_4read_next_batch(_object*, _object*) ()
   from /home/willayd/mambaforge/envs/adbc-testing/lib/python3.10/site-packages/pyarrow/lib.cpython-310-x86_64-linux-gnu.so

Doing a git bisect it looks like this started back with https://github.com/apache/arrow-adbc/pull/870

@ywc88 not to pull you off of other things, but do you have time to look here?

The OP was run with pyarrow 10.0, but after upgrading to 12.0 the code ran successfully

Trying to repro, but no luck:
Python 3.11.4 | packaged by conda-forge | (main, Jun 10 2023, 18:08:41) [Clang 15.0.7 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from adbc_driver_postgresql import dbapi
>>> conn = dbapi.connect("postgresql://")
>>> with conn.cursor() as cur:
...     cur.execute("SELECT COUNT(*) FROM adbc_bug")
...     print(cur.fetchone()[0])
...
2
>>> import pyarrow
>>> pyarrow.__version__
'10.0.1'
>>> import adbc_driver_postgresql
>>> adbc_driver_postgresql.__version__
'0.5.1'

But I am on a Mac M2 w/ Python 3.11.  I also tried using adbc_driver_postgresql=0.4.0 with pyarrow=9.0.0.

@ywc88 presumably the crash is with the HEAD version of the driver, since that PR isn't in any release yet.

Yea correct - I think it is the combination of #870 and pyarrow 10.0 that produces it (didn't try pyarrow 11)

It shouldn't ever be possible to cause a segfault by calling GetSchema, regardless of when it's called, so that should get fixed.


Error with IBM check

When the IBM check attempts to run I see this error:
[+] Ibm serial #: REDACTED
        [+] Checking warranty "REDACTED"
        [+] Checking possible product "REDACTED"
Traceback (most recent call last):
  File "starter.py", line 145, in <module>
    loader(vendor, vendor_api, d42_rest)
  File "starter.py", line 98, in loader
    result = vendor_api.run_warranty_check(inline_serials)
  File "C:\Scripts\warranty_check\Files\warranty_ibm_lenovo.py", line 73, in run
_warranty_check
    current_product = product_info[0]
IndexError: string index out of range

Hi @adarobin, did it work before for this serial? Do you have this issue for other IBM serials?

Hi @tolyadouble, it worked fine for all of my Dell machines.  I literally only have 1 IBM machine in my Device42 system.

Our IBM keys works good. Is it possible to send your key to<EMAIL_ADDRESS>? So we can troubleshoot

I just sent an e-mail with the serial number and model info.

Thanks. Btw, please check warranty.cfg.example, especially section [ibm]. At your config should be exactly the same.

My config looks right compared to the sample config.
[ibm] url = http://support.lenovo.com/services/us/en/ContentService/GetProducts url2 = http://support.lenovo.com/us/en/products
I did a little digging, and this machine is in storage (not hooked up).  It's possible one of our student workers typo'd some of the data for it.

Seems like issue with IBM checking gateway, no information for this serial.
You may write to IBM support about it.
I've put code that catch this case. And I think we may close this issue.

Sounds good, thanks.

Here is page where you can manually check "IBM\LENOVO" serials.
http://support.lenovo.com/ru/en/warrantylookup

@adarobin can you try to get warranty data here
https://www-947.ibm.com/support/entry/portal/wlup ? Is it works for you ?

@toyladouble I tried that and it throws an error so it must either be bad data or IBM doesn't have the info for some reason.

Ok, if you are going to reach IBM support and they write some useful information that allow you to get warranty data for current ID, please write here or<EMAIL_ADDRESS>maybe it helps us improve our script. Thanks.


refactor(GroupTheory/CommutingProbability): Remove finite assumption

This PR removes the finite assumption on a couple lemmas.

bors r+


[release-0.11] Cherry-pick of Cloudstack CP IP Preflight check PR's

Issue #, if available:
Description of changes:
Cherrypick of initial PR to add preflight check https://github.com/aws/eks-anywhere/pull/3500, and the subsequent bugfix PR: https://github.com/aws/eks-anywhere/pull/3531
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Add backTo to many pages so it shows the correct screen below the RHP overlay

Details

While we open a page from report RHP, refreshing will show the report screen below the report RHP instead of the search page. This PR fixes it.
Fixed Issues

$ https://github.com/Expensify/App/issues/46773
PROPOSAL: https://github.com/Expensify/App/issues/46773#issuecomment-2267567434
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Prerequisite: the account never dismisses hold educational page/modal yet
Web/Desktop

Submit a new expense
Open search page
Open the expense from step 1
Hold the expense. The hold educational page should show
Refresh the page
Verify the page behind the overlay is still the search page

Android/iOS/mWeb
Can't see page behind the RHP, so just make sure the hold educational modal still shows normally

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/dc167782-046c-4998-80fa-69bb706a6ad4

Android: mWeb Chrome

https://github.com/user-attachments/assets/b20280f2-8e73-4229-8b23-14b04d163ca3

iOS: Native

https://github.com/user-attachments/assets/9d00843a-628e-4360-8ade-871cc232d952

iOS: mWeb Safari

https://github.com/user-attachments/assets/d70f1152-c342-4b07-a388-1e8194cdf86d

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/ffa60091-f020-4fc5-b24a-f77f21c5f261

MacOS: Desktop

https://github.com/user-attachments/assets/f9090ed3-7793-4f75-b371-1bbd55adacbd

Additional video for other pages:
Report settings:
https://github.com/user-attachments/assets/3ce2ad2c-cbca-4956-945f-64b60bfe5c37
Money request view data:
https://github.com/user-attachments/assets/12babeea-3c99-45d6-ba89-354856c4ccfd
Profile from message:
https://github.com/user-attachments/assets/ef0ff83c-6be7-4bca-9110-3bd7af714cf8
Report field:
https://github.com/user-attachments/assets/688b6617-d102-4248-97f1-9c6bf6d94105
New task page:
https://github.com/user-attachments/assets/7adaa8b2-4c7e-4147-884f-c6714348a466

For this, I didn't add the backTo to the goBack fallback because it will goes back to the expense report and will open the hold educational page again on mount.
https://github.com/Expensify/App/blob/f58439cfb116abd338dae880088a26725794108e/src/pages/ProcessMoneyRequestHoldPage.tsx#L38

Open expense report/thread
Hold expense
Hold educational shows (stack: [expense report, hold educational])
Refresh (stack: [hold educational])
Go back. expense report/thread is mounted (stack: [expense report])
This logic is triggered
https://github.com/Expensify/App/blob/f58439cfb116abd338dae880088a26725794108e/src/components/MoneyRequestHeader.tsx#L99-L118

which opens the hold educational again.

After merging with main, the page without params will now return undefined if we access route.params. It was an empty object before. So, I updated some pages to use null-safety.

Note that in https://github.com/Expensify/App/pull/47690 we will be adding the chat type to search, therefore more report-related routes will be accessible from RHP, therefore I think we need to add the backTo param to more routes like:

I would prefer to wait for it to be merged so I can test it.
In the meantime, I'll add more backTo to these pages

REPORT_AVATAR
ATTACHMENTS
REPORT_WITH_ID_DETAILS_EXPORT
TRANSACTION_RECEIPT
TRANSACTION_DUPLICATE_* (All)
and for create flows (submit expense, track expense...) like you've done already with "assign task"

Adding backTo for these pages doesn't help. backTo is currently only for RHP.
REPORT_AVATAR
ATTACHMENTS
TRANSACTION_RECEIPT

Done
REPORT_WITH_ID_DETAILS_EXPORT
TRANSACTION_DUPLICATE_* (All)

and for create flows (submit expense, track expense...) like you've done already with "assign task"

First of all, only submit and track is available on expense report. Adding backTo for these pages is currently "useless". As you can see on the video below, when the page is mounted, the tab screen overrides the route (internally done by the tab navigator) which doesn't contains the backTo. So, refreshing the page will show report screen instead of search page.

https://github.com/user-attachments/assets/172d259c-e130-475b-b254-db950cdb527f

@bernhardoj we also have conflicts

Done

We're close to getting https://github.com/Expensify/App/pull/47690 merged, so we can update this PR

@bernhardoj we have conflicts. The holding PR is also merged

I'm still adding the rest of the backTo to the pages that are accessible from chats. I'll push them all at once.

@rayane-djouah pushed new commit. Please check and let me know if I missed anything!

@bernhardoj we have conflicts

@rayane-djouah conflicts are resolved. Let's resume review.

@bernhardoj we have conflicts again

Conflict solved

Thanks! Let's get this to the finish line @rayane-djouah

Fixed both.

I think we can keep it optional, otherwise I need to re-check all ROUTES to see which backTo can be optional or not. backTo by pattern is also optional.

Oops! Just found a bug:

Fixed.

Fixed

Those tests seem broken on main too. Seeing the same on other PRs.

@luacmartins conflicts fixed

Yes, we can keep the backTo param optional. ESLint errors are unrelated. Merging.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


Mime type fixes

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
#19762

Fixed processing of numeric file extensions in \yii\build\controllers\MimeTypeController::generateMimeTypesFile()
E.g. 'application/vnd.lotus-1-2-3' is now generated with the extension 123 (instead of 0)
added common image file types

Note: In the description of PR #19762 it says it fixed #19683, however that bug report seems invalid to me. See https://github.com/yiisoft/yii2/issues/19683#issuecomment-1551867507 for details.

Thanks!


bbcore.sql

Hello, when trying to run "bbcore.sql" I get the following error.
bsc@1018:~/bamboobsc-0.7.0-RELEASE$ mysql bbcore -u root -p < bbcore.sql
Enter password:
ERROR 1064 (42000) at line 25: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3),
`USE' at line 8
From what I gather from searching, this has something to do with the syntax for "timestamp". But I haven't been able to figure out what that is exactly. I am running MySQL version 5.5.54.
Thank you!
Tony

Hi
Please upgrade mysql to 5.6 version
The SQL dump file cannot import to mysql 5.5
Thanks


e2e: Refactor the CatalogSource tests to reduce flakes

Description of the change:
Follow up to #2690 as it doesn't look like I have the right permissions to push to Per's fork.
Motivation for the change:
See #2690 for more information.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky
[ ] Tests that remove the [FLAKE] tag are no longer flaky

Hmm interesting:
• Failure [323.808 seconds]
Catalog represents a store of bundles which OLM can use to install Operators
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/catalog_e2e_test.go:38
  delete internal registry pod triggers recreation [It]
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/catalog_e2e_test.go:539

  	Error Trace:	util.go:110
  	            				catalog_e2e_test.go:596
  	            				runner.go:113
  	            				runner.go:64
  	            				it_node.go:26
  	            				spec.go:215
  	            				spec.go:138
  	            				spec_runner.go:200
  	            				spec_runner.go:170
  	            				spec_runner.go:66
  	            				suite.go:79
  	            				ginkgo_dsl.go:245
  	            				ginkgo_dsl.go:228
  	            				e2e_test.go:59
  	Error:      	Received unexpected error:
  	            	timed out waiting for the condition
  	Test:       	Catalog represents a store of bundles which OLM can use to install Operators delete internal registry pod triggers recreation

https://github.com/operator-framework/operator-lifecycle-manager/runs/5545060704?check_suite_focus=true

^^^ may be related to 2 registry pods and probably fixed by https://github.com/operator-framework/operator-lifecycle-manager/pull/2614#discussion_r808014164

https://github.com/operator-framework/operator-lifecycle-manager/pull/2693#issuecomment-1067360442 x2
re-spinning again.

/lgtm


Add Yarn support

What do you think about add yarn support?

Added yarn to README. Closing this for now.


Deployment test

Codecov Report

Merging #16 (4fb8f1a) into main (2ee6ad1) will decrease coverage by 18.99%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #16       +/-   ##
===========================================
- Coverage   59.33%   40.33%   -19.00%
===========================================
  Files         297      169      -128
  Lines       25434    21394     -4040
===========================================
- Hits        15091     8630     -6461
- Misses       8716    11921     +3205
+ Partials     1627      843      -784

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
40.33% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.


Denied Permission

I am using unity 5.3.4 and am trying to implement this to fix the OREO black screen issue.
I created a blank scene and added the library and implemented the sample code.
I am checking to see if the storage permission is granted, if not i immediately call the grant button press function (so i don't have to create a ui.. for testing only) however the callback comes back as failed.
Am i missing something or doing something wrong?

I think you can't automate this dialog as it's displayed by system, and also security critical.
If you want to automate permission granting, you may want to use adb shell pm grant or adb install -g. Please refer to adb documentation/help for more details.

I updated the scene:
The function is called when my UI button is clicked, same thing..  the failed callback is returned.

Sorry I have little idea of what you are talking. Your setup is most likely incorrect.


Modelling of Nephio API objects

After some reviews in the modelling (WG4) meetings somewhat of a consensus has been reached on a view of the Nephio models, and this is the attempt to describe diagrammatically at a hight level what is currently there.

/approve

/approve
/lgtm


Fourier transforms

Might be nice to wrap some of these functions for spectral analysis: https://xrft.readthedocs.io/en/latest/#
I haven't done anything with xrft yet, but it's an xarray wrapper for fourier transforms.

isnt xrft already quite wrapped, ie. generalized but not specific to a certain model output format? the same way we discussed this with the eofs.xarray package?

I figured it is. I haven't touched it at all. This was more of a reminder for me to check out this package. I imagine I won't have to implement anything.


Transaction view should say what type of transaction it is

[x] Stake vs. regular, and if stake then what type - PR https://github.com/dcrdata/dcrdata/pull/164, but still needs PR https://github.com/dcrdata/dcrdata/pull/167
[ ] Each output should say the type (stakegen, stakesubmission, sstxcommitment, sstxchange, etc.)

Related. Tickets have an OP_RETURN script for commitments (locked funds). Funds should show as locked and not sent to the receiving address until the state has changed.
Stake Commitments: https://github.com/decred/dcrd/blob/master/blockchain/chaingen/generator.go#L439-L482

Would it be preferable if i added another column for that, or a single type column with something like this below  Vote/TxTypeSSGen?

For each output type, it could be another column in the Out table
The type should be the all lowercase type.  Expand the details for this tx: https://mainnet.decred.org/tx/0893c4e266b2b4b076407314792a9a34eeaa73ea07d64c40e34ae07bf704666c

@McEdward is on this too.

Some tag-like solution is still needed for stake transactions I think: PR https://github.com/dcrdata/dcrdata/pull/167

Design for tags will be dealt with in a separate issue. @gozart1 is on it.

closed by https://github.com/dcrdata/dcrdata/pull/184


Not detecting VS Code

Hi,
For some reson it's not detecting VS Code.
For example, when I try to select the window using  or , the cursor is not jumping to the window.
EasyClick also does not work.
I am using VS Code Insiders (but it didn't work for normal VS Code either) on a Window 10 x64 machine.

Thank you for using it.
It may be undiscovered bugs, so I want more details.
Let me know what key-bindings do not work (e.g. gg, t).
And, please check log files in ~/.win-vind/log/ after its behavior.
By the way, in my test environment, EasyClick works in VS Code.

VSCode: 1.54.3 (Stable), 1.55.0 (Insiders)
Windows 10: Home 64bit 20H2 Build 19032.867

Hi, I'm not entirely sure what happened, but I restarted win-vind and it now works, thank!

Thank you for your software.
I have been looking for such a thing for a while but there was nothing satisfying on Windows.
EasyClick does not work for me in VSCode 1.58.2 , I am using win-wind 4.0.1 and Windows 10 Enterprise 10.0.17134.
I only see a 'D' in the middle of the screen.

Thank you for your software.
I have been looking for such a thing for a while but there was nothing satisfying on Windows.
EasyClick does not work for me in VSCode 1.58.2 , I am using win-wind 4.0.1 and Windows 10 Enterprise 10.0.17134.
I only see a 'D' in the middle of the screen.

I only see a 'D' in the middle of the screen.

Hi.
Thanks for using win-vind.
Maybe once you click on the area inside the window, a hint should appear. We are currently redesigning the implementation of this factor. Please wait for a while.

Thank you for the feedback.
If I click inside, it is also not working.
I will already learn to use it in all the other apps and wait for the new version, good luck!

Hi.
I have just published the pre-release. Please try it and let me know if you have the same problem.
Thanks.

Today, I tried Windows 10 1803 x64 and was able to reproduce the same issue.
Since it works fine on the latest Windows 10 and Windows 11, it may be due to minor differences in Windows API. Until I know more about the cause, we will specify it as an issue in the README.
Thanks.


[DO NOT MERGE] Test RC provider packages

closing the PR as tests ran fine with the latest RC version apache-airflow-providers-microsoft-azure==5.0.1rc1 and apache-airflow-providers-apache-hive==5.0.0rc1.
cc: @phanikumv


Where are my credits?

you use my injection but there are no credits

Send me chat github url

I want to check something

Because afterall i didnt used ur injection, i've changed to Doenerium one so not yours

https://github.com/JunkieOpfer/star/issues/1#issuecomment-1880145331
last month i changed the repo to privat but here

can't see it, but ye i dont use ur injection


Doesn't work with axios custom instance

I made an axios custom instance and the progress bar doesn't disappear when the request ends. Looking at the source code, you are not handling custom instance, just the normal axios instance.

Never mind about the config thing, I see that's the config for the nprogress package, you should add that to the README

New version [1.2.0] published on NPM with this new feature.

I am getting error in a react typescript project
my packages are
"axios": "^0.19.0",
"axios-progress-bar": "^1.2.0",
ERROR in /Users/jasmine/jas/work/node_modules/axios-progress-bar/dist/index.js
Module not found: Error: Can't resolve 'axios' in '/Users/jasmine/jas/work/node_modules/axios-progress-bar/dist'


Create CODE_OF_CONDUCT.md

I might also change the license to apache 2.0

choose the license you wish....


Outdated cask: cocoapods

Outdated cask: cocoapods.
Info:

version: 0.39.0.
appcast url: https://app.cocoapods.org/sparkle.

0.39.0

Updated in #18386.


Please add spot for spec.tls.host array to Ingress UI config.

Detailed Description
Please add a spot to the UI for adding/editing Ingress objects to allow populating the spec.tls.host array.  The purpose of this is for cert-manager to be able to automatically issue certificates rather than requiring either a wildcard cert be set up for the IngressController or each Ingress to have its own certificate manually created outside Kubernetes and saved to a secret and added to the Ingress object.
Question asked on Slack at https://rancher-users.slack.com/archives/C3ASABBD1/p1655311710544539 and user Kevin Brewer pointed to https://cert-manager.io/docs/usage/certificate/#creating-certificate-resources as the cert-manager docs for the functionality and Rancher dev @brandond also mentioned this is how it's done.
Context
The reason I'm requesting this change is because I'm investigating Rancher in order to document procedures and how to do things to be passed off/used by a maintenance team which has historically sometimes faced a bit more turnover than is ideal.  For this reason, I'm attempting to document procedures through the UIs as much as possible and reduce the need to instruct using CLI or directly editing YAML, JSON, XML, etc.
The reason that populating the spec.tls.host array is needed, is because without it the ingress seems to default to an "Acme Co" certificate for host "ingress.local" which browsers tend to reject, not allowing traffic through to the site.
I believe this will benefit other users as an ease of use convenience and, while I haven't looked at the Rancher UI code, shouldn't be high complexity to implement.  So seems like a good cost/benefit ratio.

Looking back I found it's possible to do this with the UI, just not obvious (you add a cert but fill in the hostname but not the cert secret), so it's not strictly necessary.  I think it might be nice to make it a bit more obvious by just adding a text blurb that you can add a cert entry with no cert but just a hostname to get this functionality, but not sure it's worth a code change.
My bad on not noticing earlier.

Here is a screenshot of the form in question:

That second field is what gets added to spec.tls.hosts:

I can see why that would get missed, as I wouldn't think to look for hosts on the Certificates tab. We should discuss with UX.