Fix current directory fs load not detecting correctly resource groups

Closes #96
To fix this, we replaced . and / with the same parameters but scaped.

Codecov Report

Merging #97 into master will increase coverage by 0.04%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
+ Coverage   77.88%   77.92%   +0.04%
==========================================
  Files          21       21
  Lines         954      956       +2
==========================================
+ Hits          743      745       +2
  Misses        159      159
  Partials       52       52

Impacted Files
Coverage Δ

internal/storage/fs/fs.go
70.31% <60.00%> (+0.47%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b3bc8c...812dbb9. Read the comment docs.


update link for "Globally Distributed CDN"

I clicked the link for the "Globally distributed content delivery", but it kept redirecting to the home page (https://kilthub.cmu.edu/), I did a search on the site and found that link.

Oh nice! Thank you so much Sammy🙌🏽

Always a pleasure boss


Sending messages in quick sequence ends up in reshuffling the messages

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Log into any account
Send several short messages quickly, one after the other other

Expected Result:
The messages are shown in that order and they do not shuffle
Actual Result:
The messages are shuffling around and eventually settle in the correct order but it takes a while.
Workaround:
None, besides sending messages more slowly
Platform:
Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: v1.2.34-1
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Video
Expensify/Expensify Issue URL:
Issue reported by: @vitHoracek
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1669910218865539
View all open jobs on GitHub

Keeping as this is part of the tracking issue for sequence numbers.

Still on hold for sequence numbers, which is making great progress over the last week.

Still on hold for sequence numbers. Also removed the daily label given the hold.

Still held on sequence numbers.

Switched our the weekly for monthly given that we're still in the midst of implementation, and addressing any outstanding bugs will come very last.

Still on hold for sequence numbers.

Another manifestation of this bug happens when you send an IOU request w/ a memo to someone you've never chatted with.
You're landed in the chat, and then all the actions (including the created action) "cycle through, until eventually the chat ends up in the right state.
I feel strongly that this is something we'll want to fix, but we need to be super thorough and careful with predesign to establish an effective, hard-to-break pattern for "batching"

Glad you bumped this. I have on most list to go through all the SN bugs, though at the very least, since this is happening and SN is done let's take it off hold.

For clarity, I sent messages 1-7 first, took a screenshot and lost it. Then I sent another batch of test messages 1-4. You'll notice that Test 2 is appearing before Test 1, even though Test 1 appeared first.

Maybe this issue is related https://github.com/Expensify/App/issues/14303

Hmm, potentially. Seems like in that issue we're still trying to figure out if the issue exists at the notification layer.

Regardless, if the root cause is the same let's close that issue given that this one is older.

Regardless, if the root cause is the same let's close that issue given that this one is older.

Its not clear yet, I mostly linked it just to make sure we are aware of the potential link, we could handle this after investigation

@mountiny That sounds good. I agree that if it's the same thing we should link them, and probably, close that one.

Assigned @roryabraham to this issue as well given that he's volunteered in Slack.

This one still is hitting me near daily.

I still think this one is important and we should close the gap.

I did a quick test of this issue and if it helps here my front end data of reportActionID and optimistic created,
8048741718757947022: 2023-02-20 22:15:50.646
4789438395440614993: 2023-02-20 22:15:52.015
6185822539245405426: 2023-02-20 22:15:53.046
6517867553054011192: 2023-02-20 22:15:54.121

The data saved in the db for the same were,
created                  action      message           reportActionID
-----------------------  ----------  ----------------  -------------------
2023-02-20 22:15:51.070  ADDCOMMENT  {"html":"test1"}<PHONE_NUMBER>757947022
2023-02-20 22:15:53.251  ADDCOMMENT  {"html":"test2"}<PHONE_NUMBER>440614993
2023-02-20 22:15:55.462  ADDCOMMENT  {"html":"test3"}<PHONE_NUMBER>245405426
2023-02-20 22:15:57.577  ADDCOMMENT  {"html":"test4"}<PHONE_NUMBER>054011192

So the moment test2<PHONE_NUMBER>440614993) was saved in the backend and its push notification was sent with its actual timestamp 2023-02-20 22:15:53.251, then test3 moved above test2 in the UI because its optimistic timestamp was before the value of what was saved for test2. Hence the jumping around of messages.
One thought is to not save the optimistic timestamp into created key and maybe save it into a new key like optimisticCreated. Then the front end always shows actions having created first and then optimiticCreated second. This way all optimisiticCreated actions show up at the bottom. The front end will also remove the optimisiticCreated key via the push notification update. Thoughts? I was curious if there is an alternate better approach.

We should probably take the discussion back to Slack for the solution.

No update. Prioritizing a number of PR reviews, helping with app deploys, comp, ECX over this

This came up again in this thread, some highlights:

https://expensify.slack.com/archives/C01GTK53T8Q/p1678131839265059?thread_ts=1678029220.184279&cid=C01GTK53T8Q
https://expensify.slack.com/archives/C01GTK53T8Q/p1678142233039229?thread_ts=1678029220.184279&cid=C01GTK53T8Q
https://expensify.slack.com/archives/C01GTK53T8Q/p1678143302633559?thread_ts=1678029220.184279&cid=C01GTK53T8Q
https://expensify.slack.com/archives/C01GTK53T8Q/p1678149085202639?thread_ts=1678029220.184279&cid=C01GTK53T8Q

I still think this is a worthy issue and we should fix it. Intermittent or slow connections are a core part of making sure we're Offline First.

Agree. I think I've gone back on my earlier thinking on the best solution here... Batching requests would alleviate this problem but not solve it in the case of slow connections (only if you're fully offline).  Batching requests would also probably be a good way to improve performance while the app is reconnecting, but that's not the problem we're trying to solve here. This means that I'm more aligned with @chiragsalian's thinking, and this is what I'm going to propose here:
Problem:
When we optimistically generate entities (such as reactions or reportActions), they are created with the client timestamp at the time the user action is taken. Then, one-by-one, those entities are created in the database, and a pusher event is sent out, which replaces the client timestamp with the (later) server timestamp.
The result is UI jank for the user, where the oldest message they sent offline briefly comes the newest message in the chat. The same happens for the next-oldest chat, until all offline messages are sent and the chat eventually appears in the correct state.
Solution:
Update the front-end reportActions sorting logic such that optimistic actions always appear after any non-optimistic actions. This logically makes sense because those actions haven't been sent to the server yet, so their timestamp will end up being later than that of actions that have already been processed by the server.

Got the PR ready for review: https://github.com/Expensify/App/pull/15942

Updated the PR, ready for more reviews

I do think the replay effect solution will fix this too, but I'm ok with having this fix in the meantime.

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.90-7 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/15942

If no regressions arise, payment will be issued on 2023-04-04. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty

Solution was reverted. Going to give it another go

@JmillsExpensify, @roryabraham Whoops! This issue is 2 days overdue. Let's get this updated quick!

@JmillsExpensify, @roryabraham Still overdue 6 days?! Let's take care of this!

I'm testing the replay effect fix and I can't reproduce this while online or offline. I can reproduce a similar version with this test, and the replay effect fix works for it.

Log in with any account
Go offline
Create a new DM with someone you have never chatted with before
Send a message
Go back online
Verify that the messages remain in order

I haven't been able to reproduce it in quite some time either – though I saw it most commonly on shaky connections.

Going to actually just put this on HOLD for https://github.com/Expensify/App/issues/12775

I'm not quite understanding how this is a replay effect thing.  The issue I'm experiencing on this is on slow connections, chatting back and forth with someone, and my message the millisecond I hit the enter button appears above the most recent message I received. -- and then maybe 300 milliseconds later, when it gets a response from the server, it shifts into the correct location as the most recent message.
This has nothing to do with replaying anything, there is no offline component. I am fully online the entire time, just with the slow connection.

I am fully online the entire time, just with the slow connection.

I was never offline when testing this flow, just a slow connection.

The issue I'm experiencing on this is on slow connections, chatting back and forth with someone, and my message the millisecond I hit the enter button appears above the most recent message I received. -- and then maybe 300 milliseconds later, when it gets a response from the server, it shifts into the correct location as the most recent message

Oh, this is a different issue I haven't experienced before. Nonetheless, I can fix it with the same solution I was going to use to fix this issue before I put this on HOLD for the "replay effect" solution. Namely – just ensure that optimistic actions always appear at the end of a chat.

Off hold for the replay effect

This has slipped through the cracks because it had the reviewing label before the PR was actually ready. Making it a weekly again.

No update

I haven't seen this in a super long time. I'm going to close.


Mavlink router tries to configure DTR/RTS and fails

I am trying to get an RK3328 based board to run mavlink router and using the /dev/ttyFIQ0 UART.
I have been able to test the UART with cat and echo to confirm data is send and received ok. This much is working. When I start mavlink router I get an error
Could not set DTR/RTS (Invalid argument)

and I cannot proceed.
Is there a way of starting this or does it require code changes to stop this from failing for my use case?
Many thanks,
Ed

I found the source of the problem, but I'm unsure what to do for my case.
https://github.com/intel/mavlink-router/blob/master/src/mavlink-router/endpoint.cpp#L540-L545
I suspect the port is not capable of DTR/RTS and this is why it's failing.

I have managed to make this work on the chosen board but expect my changes are not suitable for every use case.
https://github.com/estechnical/mavlink-router/tree/rock64
Is there a clean way it could be made to work? Eg a warning rather than a failure?
I'm happy to submit a PR with whatever changes you suggest - but I'm not sure why I needed to do this :)
Thanks,
Ed

maybe add a parameter to avoid configure DTR/RTS in the UART endpoints, leave the default option as configure it.

@estechnical see #141 - can you check if that fixes it for you?


Fixing Python linking error

This commit is an initial draft at fixing #147. The error is due to the fact that pyo3 has linked the libpython from the compilation and not trying to use libpython that is available in LD_LIBRARY_PATH.
The current only solution to disable the linking is to use the pyo3/extension-module flag. This requires to make the python runtime-node packaged in a python library. The python runtime-node should also be fully compatible with the other operators in case we want hybrid runtime.
The issue that i'm facing is that. Due to the packaging, I have to deal with the GIL that is present from the start of dora-runtime node. This however makes the process single threaded wich is impossible.
So, I have to disable it, but when I do, I have a race condition:
Exception ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 1373, in _shutdown
    assert tlock.locked()
AssertionError:

The issue is the same as https://github.com/PyO3/pyo3/issues/1274
To fix this issue, I'm going to look again at the different step to make this work.
But this is my current investigation.
Fixes #147

Thanks for the updates!
As I understand it, the runtime now only works with a single Python operator. If a Python operator is combined with other operators, Python or Rust, it might not spawn the additional operators (because it waits until the Python operator finishes first). Is that correct? If so, I think we should forbid spawning Python operators together with other operators for now and throw an error in that case.
Otherwise, this PR seems good to go.

Yes, we could engineer a way to make this error-prone but they might be some edge cases and deadlock that could happen so let's forbid spawning python operators with other operators.


!script for generate the same blur

Hi!
I'm interested in the Python implementation of blur you applied to the original dataset.
Could you provide me with it?

Hi @heorhiikalaichev
For now, we don't have plans to release blur synthesis code.


🐾 Populate the hooks tab to the plans details page.

Ref: https://github.com/kubev2v/forklift-console-plugin/issues/836
Issue
Populate the hooks tab to the plans details page.
Editing hooks
Edit mode:
plan is not running and has never run
view mode:
o/w
Design goals:
Similar features as the current plan add/edit hooks.
custom image:

Ansible playbook:

Empty edit mode

Empty

https://github.com/kubev2v/forklift-console-plugin/pull/1003 - merged


Add fontawesome and source editor

This is a very nice project and we are going to use in classroom for training.
If I could ask how (or maybe you can consider add to later) to implement using:

Drag and drop fontawesome icons
The CKEditor is very, very nice but also way to simply edit code would be wonderful.

Thank you for sharing your project,
Woody

Hi Woody,
I'm working on adding the font awesome icons.
Will be one displayed then you will choose the dimension and select the
icon that you can change the first icon with another one.
In future, i will try to implementing the CKEditor adding the font awesome
even there.
Many thanks and best regards
Francesco Malagrino
2017-03-15 17:50 GMT+00:00 Woody<EMAIL_ADDRESS>
This is a very nice project and we are going to use in classroom for
training.
If I could ask how (or maybe you can consider add to later) to implement
using:

Drag and drop fontawesome icons
The CKEditor is very, very nice but also way to simply edit code
would be wonderful.

Thank you for sharing your project,
Woody
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Vegetam/BootstrapPageGenerator/issues/20, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADa_AiAfM5He7BNrPUFsyd-V_PxpcC59ks5rmCTbgaJpZM4MeTV6
.

--
Francesco Malagrino
Alfresco Consulting
mobile: +44 (0)7701-285269
http://university.alfresco.com/ACE http://university.alfresco.com/ACA

Ok, thank you Francesco. Look forward to seeing update.

I will probably make also a version of bootstrap Page Generation with
Bootstrap alpha 6 :)
2017-03-17 15:14 GMT+00:00 Woody<EMAIL_ADDRESS>
Ok, thank you Francesco. Look forward to seeing update.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Vegetam/BootstrapPageGenerator/issues/20#issuecomment-287382088,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADa_Ahgvk_1SqBoT_4x_huICq0TF2_Orks5rmqNegaJpZM4MeTV6
.

--
Francesco Malagrino
Alfresco Consulting
mobile: +44 (0)7701-285269
http://university.alfresco.com/ACE http://university.alfresco.com/ACA

BS Alpha 6 would be great. We are now moving into it since seems to be about final before release. Thanks again!

Hello ,
I have done it added the font awesome section inside the css section under
color
and plus in the editor the editor is a bit challenge the last flag that you
will see next to the world icon permits to add the font awesome also way
editor
Plus I create also a new version with more stuff on the bootstrap 4
https://github.com/Vegetam/BoostrapPageGenerator4/
Many thanks and best regards
Francesco Malagrino
2017-03-17 20:46 GMT+01:00 Woody<EMAIL_ADDRESS>
BS Alpha 6 would be great. We are now moving into it since seems to be
about final before release. Thanks again!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Vegetam/BootstrapPageGenerator/issues/20#issuecomment-287453603,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADa_Ah0Px8TyWgqCm4L2gB1_aMVv0YCHks5rmuMOgaJpZM4MeTV6
.

--
Francesco Malagrino
Alfresco Consulting
mobile: +44 (0)7701-285269
http://university.alfresco.com/ACE http://university.alfresco.com/ACA

Very nice Francesco! The font awesome icons are fantastic.
Tool look at new bootstrap 4 and that also coming along very nicely. Only thing I saw issue with is when opening editor window (with ckeditor), the modal/popup is not re-sizable which makes using on small screen little difficult. But, still excellent job.
Will take a more in-depth look this afternoon. Shifting over to BS4 so will be excellent tool.
Cheers!
Woody

Great job on Bootstrap 4 version @Vegetam  !
Since we are starting to teach BS4 only, it will be a very handy tool for us. Can't wait for it to mature. I thank you much.
Woody


Multiple Paging Files Breaks Bash (and CMD?)

A brief description
Enabling page files on multiple hard drives (& SSDs) causes Ubuntu/Bash terminal to not open or start. Additional command exes also would not work in normal Windows Shell.
Expected results
I click on "Bash on Ubuntu on Windows" icon, terminal opens and is ready for commands.
Actual results (with terminal output if applicable)
Sometimes Bash window would open and just present blinking cursor (no actual login or prompt or any text given). Other times, it would open and immediately close back to desktop.
Your Windows build number
Version 1607 (OS Build 14393.693)
Steps / All commands required to reproduce the error from a brand new installation
Edit Performance system settings, enable "system managed" paging file on additional internal storage drives. (For me, E: (SSD) and F: (HDD))

Remove additional paging files (leaving just the C:\ one) and reboot and it works fine again.
Reboot, try to open Bash or add additional EXEs to Windows command.

Required packages and commands to install
Ubuntu Subsystem for Bash on Windows.

Also, I tried using RClone by adding "rclone.exe" to /system32 and running it in the normal Windows command prompt and it also would not work until the paging files were reset, either.

Thanks @EposVox for reporting this!  It looks like possibly a duplicate of #984 ?

@aseering Apologies, it appears to be. (I was directed to post here via WindowsDev on Twitter.) Though the additional factor of adding exes to the system32 not working either might be worth taking into note.

@EposVox -- hm, yeah, that part is new to me...  I'm just a user, though, not a WSL dev.  Hopefully someone on the WSL team will chime in to triage this.
Since I bet they'll ask, though -- would you consider testing this on a recent Insider build?  Either on your own machine or in a VM.  The bash.exe part of the bug is marked as "fixed" in Insider builds; I don't know if the fix would impact other executables, but it or another Insider change might?

@aseering Yeah downloading the ISO now and will give it a shot in a VM tomorrow and post back.

Thanks @aseering - great job as usual :)
Hey @EposVox - the issue you describe does look VERY much like #984 which was fixed several months ago in Insider builds, and which will be included in Windows 10 Creators Update.
When you try to re-create the problem in your VM, be sure to add two drives and enable paging to use both drives.
If you see the issue reoccur, please let us know. If it's no longer reproducible, feel free to close this bug with a quick note.
Thanks for helping test this scenario with a recent build - we appreciate your help!

Oops clicked the wrong button.  I'm virtually 100% certain this is a duplicate of #984.

Can confirm both the bash and normal command prompt issues are resolved in the insider build.


Network Error

Running docker in Ubuntu; Hitting http://YOUR_SERVER_IP:8080 in host machine and it is working.
Hitting  streaming server to http://YOUR_SERVER_IP:11470 on host and  IPad is not working, it is throwing below error

did you figure this out ?


Testflight build 49 app crash

Build Version: 49
applicationVersion: 2.1
This might be due to the #225 or #199 or #220 ...(which the testflight build was testing).
The app crashed on initial launch from download from testflight. Notably the following happened:

After launch, the loading screen/icon page opened
then the profile screen opened
User tried to navigate to 'Add new' and then the app crashed. Enclosed is the error.

...the app was functioning in a low-bar zone. Notably when the app was launched again (after the crash) it seemed to work fine afterwards.
ToDO:
Investigate cause of crash.

That’s not a crash-on-launch. That’s a crash on a particular user activity. Might need to install previous version’s code, build and run, then install build 49. Note that the recent releases have git tags assigned, so this sequence will be straightforward (“git checkout v2.1.49”, or whatever the tag was).

Also: Network Link Conditioner might help here, either on a test device or on the machine that’s running the Simulator.


simplified the logic

Please see #5 for the reasons why this isn't "simplified", it's simply incorrect.


Error in demo.ipynb

When running the second cell:
# HuggingFace ESM2 8M model
esm2_expert = evo_prot_grad.get_expert('esm', temperature = 1.0, device = 'cuda')

# Supervised fluorescence regression model
gfp_expert = evo_prot_grad.get_expert(
                        'onehot_downstream_regression',
                        temperature = 1.0,
                        model = AutoModel.from_pretrained('NREL/avGFP-fluorescence-onehot-cnn',trust_remote_code=True),
                        device = 'cuda')

variants, scores = evo_prot_grad.DirectedEvolution(
                        wt_fasta = 'test/gfp.fasta',
                        output = 'all',
                        experts = [esm2_expert, gfp_expert],
                        parallel_chains = 16,
                        n_steps = 1000,
                        max_mutations = 15,
                        verbose = False
)()

I get the following error:
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
File [~/vscode_projects/proteins/EvoProtGrad/evo_prot_grad/__init__.py:54](https://file+.vscode-resource.vscode-cdn.net/Users/amelieschreiber/vscode_projects/proteins/EvoProtGrad/~/vscode_projects/proteins/EvoProtGrad/evo_prot_grad/__init__.py:54), in get_expert(expert_name, temperature, model, tokenizer, device, use_without_wildtype)
     53     expert_mod = importlib.import_module(f"evo_prot_grad.experts.{expert_name}_expert")
---> 54     return expert_mod.build(
     55         temperature = temperature,
     56         model = model,
     57         tokenizer = tokenizer,
     58         device = device,
     59         use_without_wildtype = use_without_wildtype
     60     )
     61 except:

File [~/vscode_projects/proteins/EvoProtGrad/evo_prot_grad/experts/esm_expert.py:65](https://file+.vscode-resource.vscode-cdn.net/Users/amelieschreiber/vscode_projects/proteins/EvoProtGrad/~/vscode_projects/proteins/EvoProtGrad/evo_prot_grad/experts/esm_expert.py:65), in build(**kwargs)
     64 """Builds a Esm2Expert."""
---> 65 return EsmExpert(**kwargs)

File [~/vscode_projects/proteins/EvoProtGrad/evo_prot_grad/experts/esm_expert.py:38](https://file+.vscode-resource.vscode-cdn.net/Users/amelieschreiber/vscode_projects/proteins/EvoProtGrad/~/vscode_projects/proteins/EvoProtGrad/evo_prot_grad/experts/esm_expert.py:38), in EsmExpert.__init__(self, temperature, model, tokenizer, device, use_without_wildtype)
     37     raise ValueError("EsmExpert requires both `model` and `tokenizer` to be specified.")
---> 38 super().__init__(
     39     temperature,
     40     model,
     41     tokenizer.get_vocab(),
     42     device,
     43     use_without_wildtype)
...
     60     )
     61 except:
---> 62     raise ValueError(f"Expert {expert_name} not found in evo_prot_grad.experts.")

ValueError: Expert esm not found in evo_prot_grad.experts.

Hi! Is PyTorch installed with cuda on your machine? If not, this could be causing this exception.
I've pushed an update to the branch dev to improve error messaging here. Installing the package in editable mode from the dev branch should help trace the issue:
git clone https://github.com/NREL/EvoProtGrad.git
cd EvoProtGrad
git checkout dev
pip install -e .

Hi, sorry for the delay. You can close the issue.
On Fri, Sep 15, 2023 at 6:07 AM Patrick Emami @.***>
wrote:

Hi @Amelie-Schreiber https://github.com/Amelie-Schreiber Please let me
know if your error has been resolved, otherwise I will go ahead and close
this Issue soon.
—
Reply to this email directly, view it on GitHub
https://github.com/NREL/EvoProtGrad/issues/1#issuecomment-1721254680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMIK6IFONM23353AQIG7HODX2RHKFANCNFSM6AAAAAA4FOR6FE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks!


Automated cherry pick of #4419: feature(esxi-agent): Esxi Agent Golang

Cherry pick of #4419 on release/3.0.
#4419: feature(esxi-agent): Esxi Agent Golang

/lgtm
/approve

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.0@c0115d5). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff              @@
##             release/3.0   #4596   +/-   ##
=============================================
  Coverage               ?    6.8%
=============================================
  Files                  ?     524
  Lines                  ?   89568
  Branches               ?       0
=============================================
  Hits                   ?    6092
  Misses                 ?   82971
  Partials               ?     505

Flag
Coverage Δ

#aFlag
6.8% <0%> (?)

Impacted Files
Coverage Δ

pkg/multicloud/esxi/storage.go
0% <0%> (ø)

pkg/multicloud/esxi/devtools.go
0% <0%> (ø)

pkg/multicloud/esxi/logger.go
0% <0%> (ø)

pkg/multicloud/esxi/virtualmachine.go
0% <0%> (ø)

pkg/multicloud/esxi/device.go
0% <0%> (ø)

pkg/multicloud/esxi/network.go
0% <0%> (ø)

pkg/util/netutils2/netutils.go
23.98% <0%> (ø)

pkg/multicloud/esxi/manager.go
1.41% <0%> (ø)

pkg/multicloud/esxi/datacenter.go
0% <0%> (ø)

pkg/multicloud/esxi/host.go
1.23% <0%> (ø)

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c0115d5...67f0dc3. Read the comment docs.


.count() fails

"g.E().count()" | Invoke-Gremlin @gremlinParams
Invoke-Gremlin: One or more errors occurred. (JSON type not supported. (Parameter 'ValueKind')
Actual value was Number.)
Works with PSGremlin on PS 5.1

Sorry for the late reply @RonZepp ! mmm so PowerShell 5.1 works. I have to look into it and see how I can make it work with older versions.


Broken connections & Streaming API

I'm building a chat App. I'm writing the server in Go & (this) REST package and a client in Angular2. I'm using the streaming  part to build a message broker (or push service). To do so I'm using oboe on client side. This works basically fine, how ever, the server won't recognize broken connections to clients. Since I want the users to be able to be online with different clients (like web version and a mobile app) I implemented a message broker with n broker-channels per user. Every time the client loses the connection (or when the web version is refreshed with F5) the client will establish a new connection. And this leads to tons of dead connections. How am I able to check if a connection is alive or not? Have some code:
func (b *Broker) Listen(user models.User, w rest.ResponseWriter, r *rest.Request) {
	// Make channel
	b.Init()
	var addedSlot int
	if b.listeners[user.UID] == nil {
		b.listeners[user.UID] = append(b.listeners[user.UID], make(chan *models.BrokerMessage))
	} else {
		// no sure what happens to dead channels -> iterate
		foundFreeChannel := -1
		for i, c := range b.listeners[user.UID] {
			if c == nil {
				foundFreeChannel = i
				addedSlot = i
				c = make(chan *models.BrokerMessage)
			}
		}
		if foundFreeChannel < 0 {
			b.listeners[user.UID] = append(b.listeners[user.UID], make(chan *models.BrokerMessage))
			addedSlot = len(b.listeners[user.UID]) - 1
		}
	}

    // HTTP Headers
	w.(http.Flusher).Flush()

        // this is never reached
	defer b.unregisterListener(addedSlot, user.UID)

	for {
		m, ok := <-b.listeners[user.UID][addedSlot]
		// log.Println("received message for user " + user.Name)
		if !ok { // This never triggers since unregisterListener is never called
			log.Println(fmt.Sprintf("channel's not ok, closing [%s][%d]", user.UID, addedSlot))
			return
		}
		// Marshal
		str, err := json.Marshal(m)
		if err != nil {
			log.Println("error sending message to broker, marshalling failed: " + err.Error())
			continue
		}
		i, err := w.(http.ResponseWriter).Write(str)
		w.(http.Flusher).Flush()

        // always the same value, if the connection is still alive or not
        log.Println("sent bytes: ", i)

        if err != nil {
            log.Println("broker channel dead, bytes written", i, err)
            return
        }
	}
}

Here some example output: (4 connections dead, 1 alive)
2016/02/09 19:55:23 sent bytes:  186
2016/02/09 19:55:23 sent bytes:  186
2016/02/09 19:55:23 sent bytes:  186
2016/02/09 19:55:23 sent bytes:  186
2016/02/09 19:55:23 sent bytes:  186

Sometimes, but I have no idea under what conditions, I get a broken pipe (what I would expect imediatly after the connection was closed or the next message is send):
2016/02/09 20:01:42 broker channel dead, bytes written 0 write tcp xx.xx.xx.xx:43021: broken pipe
2016/02/09 20:01:42 closing broker channel for userID 1 0

Do you have an idea what's going on? Is there just something like a timeout of 20 minutes? Or is there another way to check if the connection is still alive & healthy?

The go-json-rest isn't really setup for continuous connections, neither is plain HTTP a good way of doing this. I would look at using websockets or a plain TCP connection that has explicit lifetime control.
However if you still wish to use this approach since it's the simplest you'll need to handle the close event. The std lib has CloseNotifier which "This mechanism can be used to cancel long operations on the server if the client has disconnected before the response is ready.".
func (b *Broker) Listen(user models.User, w rest.ResponseWriter, r *rest.Request) {
	// Make channel
	b.Init()
	var addedSlot int
	if b.listeners[user.UID] == nil {
		b.listeners[user.UID] = append(b.listeners[user.UID], make(chan *models.BrokerMessage))
	} else {
		// no sure what happens to dead channels -> iterate
		foundFreeChannel := -1
		for i, c := range b.listeners[user.UID] {
			if c == nil {
				foundFreeChannel = i
				addedSlot = i
				c = make(chan *models.BrokerMessage)
			}
		}
		if foundFreeChannel < 0 {
			b.listeners[user.UID] = append(b.listeners[user.UID], make(chan *models.BrokerMessage))
			addedSlot = len(b.listeners[user.UID]) - 1
		}
	}

	// HTTP Headers
	w.(http.Flusher).Flush()

	// this is never reached
	defer b.unregisterListener(addedSlot, user.UID)

	// Check if we can get a closed event, HTTP1.0 will fail everytime
	cn, ok := w.(http.CloseNotifier)
	if !ok {
		http.Error(w, "cannot stream", http.StatusInternalServerError)
		return
	}

	for {
		select {
		case <-cn.CloseNotify(): // Listen for close event and return
			log.Println("done: closed connection")
			return
		case m, ok := <-b.listeners[user.UID][addedSlot]:
			// log.Println("received message for user " + user.Name)
			if !ok { // This never triggers since unregisterListener is never called
				log.Println(fmt.Sprintf("channel's not ok, closing [%s][%d]", user.UID, addedSlot))
				return
			}
			// Marshal
			str, err := json.Marshal(m)
			if err != nil {
				log.Println("error sending message to broker, marshalling failed: " + err.Error())
				continue
			}
			i, err := w.(http.ResponseWriter).Write(str)
			w.(http.Flusher).Flush()

			// always the same value, if the connection is still alive or not
			log.Println("sent bytes: ", i)

			if err != nil {
				log.Println("broker channel dead, bytes written", i, err)
				return
			}
		}
	}
}

Thanks for you answer - I have no time to test this right now, but I'm going to give some feedback on the solution later. How ever.
I'd like to discuss the approach, as you think it is "just the easiest". Why should I not use HTTP and the REST API? Here some reasons why I think this approach is the best (AND the easiest)

It's the easiest approach ;-)
Never add complexity, where no additional complexity is required (Sockets). It makes software error prown
--> Using sockets would add complexity to the server AND the client. Just another REST endpoint is less code, less documentation, less error sources, ... less complexity.
----> And therefore cheaper (think of GUI developers who don't need to know anything about Sockets or connection life cycles or whatever. They just connect to a REST endpoint and get their push service)
--> Almost every potential (if not every) client-platform out there speaks HTTP out of the box
In many cases, like this one, there is no such thing as a "real" life-cycle management required. The only thing needed is the underlying TCP/IP guarantee, that a package has been delivered to a client (or not)
--> which is not the case here and we are breaking the ISO/OSI model idea (why not use UDP then and be faster)
--> Mobile use cases will hardly have constant connections but a lot a re-connects since
connections are unstable by nature

Hi again,
sorry for the late answer. Your solution works so far (altough something is still broken, but the approach seems to be working). I only had to change one thing:
// Check if we can get a closed event, HTTP1.0 will fail everytime
cn, ok := w.(http.CloseNotifier)
if !ok {
    rest.Error(w, "cannot stream", http.StatusInternalServerError)
    return
}

( rest.Error(...) instead of http.Error )


Open port extension/sidebar slot

FYI: I deployed this on Railway
Can you try to add a section for open ports, because, I have used Gitpod, another cloud editor and it has this port section where, if I am editing my blog and want to keep checking on the blog, it opens a port on its site. Can you try to add it to code-server? It could be helpful if a person is making a node project and want to test it on the cloud or I am checking my Jekyll site.

i am moving this to discussions


Is the framework supporting Windows platform?

By checking out the code, it seems that there is module that is only available on Linux platform (e.g. fcntl). To double check if it's for Linux only?
Thanks.
Michael.

I'm pretty sure this wouldn't work "out-of-the-box" on Windows.
I'm unsure about how much work would be required to make PTF work on a non-Unix system. I have never tried.

Thank you for confirming!
Regards,
Michael.


feat: password generator

@renatovieiradesouza are you going to work on this PR? Otherwise, I'll close it.


⚠ Jenkins Plugins Artifactory has degraded performance

In 225185c, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2021 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 27ba304 after 14 minutes.


Add pyproject.toml, replace deprecated sdist command

Copy project metadata to pyproject.toml (PEP 621), replace deprecated python setup.py sdist with python -m build -s.
All Submissions Basics:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[ ] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[ ] Have you created a .py in ~/pyod/models/?
[ ] Have you created a _example.py in ~/examples/?
[ ] Have you created a test_.py in ~/pyod/test/?
[ ] Have you lint your code locally prior to submission?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.361%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
10361

Relevant Lines:
10865

💛  - Coveralls


Split Stackdriver exporter to its own repo

Vendor-specific exporters will be maintained at the
census-ecosystem organization. This allows us to keep
the core libraries minimal and vendors to have all
autonomy on the vendor-specific exporter implementations.
Fixes #720.

See https://github.com/census-instrumentation/opencensus-go/pull/724 instead.


Output generated time as UTC (rather than local time)

@chuwy What are your thoughts on adding generated time for Redshift header DDL statements as UTC, or alternatively adding the UTC offset if the datetime is in local time?
https://github.com/snowplow/iglu/blob/master/0-common/igluctl/src/main/scala/com.snowplowanalytics.iglu/ctl/GenerateCommand.scala#L146

That's make sense @miike!


refactor(chat): Flatten rules in chat.scss

Small refactor to flatten nested rules in chat.scss, since the custom element rules don't need to be nested.
Flatter rules are easier to modify from userland and I contend they're easier to maintain because we retain nesting where class and element interactions are important.

The inspiration for nesting is two-fold:

Reduce the chance of clashing with other rules
Provide a signal that the nested elements should only exist inside certain parent elements

That said, I don't feel those things necessarily trump simpler selectors in this case, so OK with me


Show extensions that are unavailable (but known to PGA)

Once I select a Postgres major+minor version, I get a selection of all the extensions that are available for this particular major+minor version. This is great.
However, I'd also like to see which extensions are available for other versions. The use case is if I'm searching for an extension and I don't find it on the list, I don't know if PGA is completely unaware of this extension, or rather it's only available for other versions. If the latter, maybe that extension itself may trigger me to select another major+minor version, because maybe that extension is more important for me than the Postgres version, on which I may compromise.
How to implement this is open for discussion. From a web UI PoV, we could either show unavailable extensions in the proper alphabetical order, but "disabled" and showing a description similar to "This extension is not available for ${flavor} ${flavorMajor}.{flavorMinor}" or similar; or after showing all available extensions, showing a list of all extensions that are not available for this combination.
Bonus point if we can also show on which other Postgres version unavailable extensions are available.
Let's discuss the UI/UX first before committing to a REST endpoint design (even though they could be implemented differently, but at least would serve as initial guidance).
WDYT @lgarciaog ?

This has been implemented on #24. Closing!


Add global shared context map

Allows us to do things like synchronize between concurrent jobs

So all of the tasks run for a certain build will share the same shared_context, and that's okay for them all to access because the worker is single-threaded? Or like it's python so there's a GIL? Orr something? It looks all very sensible in this diff though.

This would allow all tasks across the entire jenkins instance to have the same shared_context, not just across a particular build. This would allow a particular job to store a mutex, for example, under some key on that map to synchronize access to a particular part of a job across multiple concurrent runs.

Is there a race there if two builds both try to store the same key into the map? I don't really know.

hmm. yeah, there could be a race there. maybe it should use ConcurrentHashMap...


Bugfix: Remove hard-coded schema name

The schema name "raw_gnaf_202008" was hardcoded which resulted in the following error when
specifying a different schema name via the --raw-gnaf-schema argument:
File "gnaf-loader-master\load-gnaf.py", line 616, in create_reference_tables
pg_cur.execute(psma.open_sql_file("03-02-reference-populate-localities.sql", settings))
psycopg2.errors.UndefinedTable: relation "raw_gnaf_202008.locality" does not exist

Thanks for picking that up


Build fails with "cannot range over service.Volumes"

When trying to build it fails with the below output:
./main.go:134: cannot range over service.Volumes (type "github.com/docker/libcompose/yaml".Volumes)
go version go1.6.2 linux/amd64

This bug is fixed im my fork among many other features: https://github.com/germanramos/compose2kube
I am waiting for the pull request to be accepted

Build works now with @germanramos pull request merge #33.
Thanks!


feedback ui/ux issues

Issue Type: Bug
"tweet feedback" window disappears if you move the mouse slightly off the button in the status bar, even while typing in it. it is a terrible ux.
this "issue reporter" window that opens when clicking "submit a bug" is not listed in taskbar or alt-tab so if you switch away from it while typing in it, you may think it disappeared too.
VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

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

Issue reporter problem is a duplicate of #130497.

"tweet feedback" window disappears if you move the mouse slightly off the button in the status bar, even while typing in it. it is a terrible ux.

My guess is that this is the result of hovering over another part of the status bar and then that triggers another hover. I wonder if we could force keeping up the "tweet feedback" button if you've started typing in the box. @Tyriar is something like this possible?


add BuildInfoBadgeStep

Is your feature request related to a problem? Please describe.
I noticed that artifactory plugin  can provide a build bagde, that we can click the link to jump to jfrog to view the specific build info.
I think this function is very useful and I really like it.
But in reality, we use jfrog cli to build, collect build info, publish build info.
So I hope that there is an independent step to add the build info badge.
Describe the solution you'd like to see
Add a BuildInfoBadgeStep.
Describe alternatives you've considered
No response
Additional context
No response

Thank you, @donhui, for using the Jenkins JFrog plugin!
We are pleased to inform you that we have included this feature in the most recent release, version 1.4.0.
You can expect this version to be available in the Jenkins Plugins manager soon.
Feel free to upgrade at your convenience, and we would greatly appreciate any feedback you may have on the new release.


feat(cli): add command grouping

Add a grouping of CLI commands to the core and additional groups.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.001%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4963

Relevant Lines:
6990

💛  - Coveralls


Exclude example_project/example_module from packages

If nexus is a dependency in another project that also uses the common example_project pattern, nexus' example_project will be found first in the path when using 'python setup.py test', and thus installing nexus via setuptools (i.e. by having nexus in tests_require) breaks all tests for those projects, as they find nexus' example_project, not their own.
I don't think either example_* dirs should be in the sdist for nexus, as they are for nexus internal tests.

Merged in with 2a90257fc3557dfa7bcfff91fbb90ad7554ba7dc, not sure why this didn't get marked as resolved.
But thanks. :)


Question about sample.py

Thank you so much for your excellent work!
I can't find how to save "sample_all" in .npz format and draw sketch from them. In sample.py, the main function stops at these two statements:
        sample_all = th.cat((sample, pen_state), 2).cpu()
        sample_all = bin_pen(sample_all, args.pen_break)
So could you please explain how to save "sample_all" in .npz format and get a sketch result ?

Hello, thanks for your attention to our work!
In fact, sample_all is a standard npz file. Please refer to the official documentation for the methods of saving and using it: https://numpy.org/doc/stable/reference/generated/numpy.savez.html
Also, there are detailed instructions on using, evaluating, and visualizing npz files in the document. Please click on this link to view: https://github.com/XDUWQ/SketchKnitter#visualization and https://github.com/XDUWQ/SketchKnitter#evaluation

Thank you for your timely guidence!


[BUG] Users should not see the option to create an Object if they do not have the rights to create the Object

Example A:

A user has a single role of Project Manager.

The Project Manager role does not have the rights to create a Partner.

When selecting the 'Create New Item' menu, the option to create a Partner should not be shown to the user.

Example B:

A user has a single role of Marketing.

The Marketing role does not have the rights to create an Engagement.

When on a Project Details scene the user should not see the option to create an Engagement.

UI code was implemented with #592. This seems to just be a data issue now.

This is due to a shortcut made earlier with giving all powers to all roles:

Please go through the role defs and explicitly enumerate only the powers needed for each role.


fix: fix the issue that prevent the model saving

note that for the keras v3 format tfjs converter only supports it converts to layers model now, it would requires a second conversion between tfjs layer model and tfjs graph model. since we are using graph model in the website.

tensorflowjs_converter --input_format=keras_keras --output_format=tfjs_layers_model models/FNO2dLiteModel.keras tfjs_models/FNO2dLite_from_keras

seems like custom layer was not included... new error in saved model export while wrapping the model in tf.function
2/2 [==============================] - 10s 787ms/step - loss: 0.7757 - mean_squared_error: 0.7757
Traceback (most recent call last):
  File "/home/lutra/repos/neural_net_physics_tf/training_keras.py", line 182, in <module>
    tf.saved_model.save(model_predict, os.path.join("models", model_name))
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/saved_model/save.py", line 1331, in save
    save_and_return_nodes(obj, export_dir, signatures, options)
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/saved_model/save.py", line 1366, in save_and_return_nodes
    _build_meta_graph(obj, signatures, options, meta_graph_def))
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/saved_model/save.py", line 1578, in _build_meta_graph
    return _build_meta_graph_impl(obj, signatures, options, meta_graph_def)
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/saved_model/save.py", line 1504, in _build_meta_graph_impl
    asset_info, exported_graph = _fill_meta_graph_def(
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/saved_model/save.py", line 877, in _fill_meta_graph_def
    signatures = _generate_signatures(signature_functions, object_map, defaults)
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/saved_model/save.py", line 654, in _generate_signatures
    outputs = object_map[function](**{
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/eager/polymorphic_function/saved_model_exported_concrete.py", line 45, in __call__
    export_captures = _map_captures_to_created_tensors(
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/eager/polymorphic_function/saved_model_exported_concrete.py", line 74, in _map_captures_to_created_tensors
    _raise_untracked_capture_error(function.name, exterior, interior)
  File "/home/lutra/.conda/envs/nn/lib/python3.10/site-packages/tensorflow/python/eager/polymorphic_function/saved_model_exported_concrete.py", line 98, in _raise_untracked_capture_error
    raise AssertionError(msg)
AssertionError: Tried to export a function which references an 'untracked' resource. TensorFlow objects (e.g. tf.Variable) captured by functions must be 'tracked' by assigning them to an attribute of a tracked object or assigned to an attribute of the main object directly. See the information below:
        Function name = b'__inference_signature_wrapper_7349'
        Captured Tensor = <ResourceHandle(name="Resource-7-at-0x9456bd0", device="/job:localhost/replica:0/task:0/device:GPU:0", container="Anonymous", type="tensorflow::Var", dtype and shapes : "[ DType enum: 1, Shape: [5,13] ]")>
        Trackable referencing this tensor = <tf.Variable 'fno2d_lite_model/dense/```
with code:

maybe wrap the model in a tf.function
@tf.function(input_signature=[tf.TensorSpec(shape=(1, 64, 64, 5), dtype=tf.float32)])
def model_predict(input):
return model(input)
tf.saved_model.save(model_predict, os.path.join("models", model_name))```

ValueError: Unsupported Ops in the model before optimization
RFFT2D, IRFFT2D


[BUG] Date format "DD/MM/YYYY" doesn't appear to work properly

I'm using the plugin to update a property called last updated with the date format DD/MM/YYYY. This is what I've input in the settings:

Today is November 13th 2023, thus I would expect the last updated property to show 13/11/2023, but this is what is shown instead after an edit of the file:

I've not tested a ton of other date formats, but for example inverting the day and month (thus using MM/DD/YYYY) does seem to work, as well as omitting either the day or month. It seems that specifically the format DD/MM/YYYY breaks.
Note that the Obsidian property is of date type.
I've also tried using the format L (for my locale date) and it works, but it is treated like a string by Obsidian and throws a warning because the property is of type date.
EDIT:
I'm using Obsidian v1.4.16 on Windows, with the plugin version being v1.3.2.

Sorry, but you'll need to do some digging at your end. There isn't anything wrong with the plugin here.
Here's a test from the Sandbox vault using DD/MM/YYYY:

I would suggest that you check your Source Mode to see what the frontmatter actually looks like, just in case it's an Obsidian localisation display issue. And also suggest that you try in the sandbox vault to double-check.
The reason I feel very confident there is no bug, is because of how simple the code is:
let newEntry = now.format(this.settings.momentFormat)
frontmatter[this.settings.frontmatterProperty] = newEntry

There's not really any option inside that code for something to go wrong.

I've checked the source code. Basically, when I input by hand the date 13/11/2023 into the property, the source code translates it into
last updated: 2023-11-13

If I instead use the plugin with the format DD/MM/YYYY, after an edit of the file, the property in the source code is written as
last updated: 13/11/2023

which Obsidian parses incorrectly, because it expects a different format. It may very well be not an issue with the plugin but with Obsidian itself, I'm not sure.
I've also tried the format YYYY/MM/DD in the plugin, which is translate into
last updated: 2023/11/13

in the source code, and the property in Obsidian is shown correctly (as 13/11/2023). Basically, to solve the issue, I have to input in the plugin setting the format that Obsidian expects in the source code, as to have it shown correctly in the property.

I've checked the source code. Basically, when I input by hand the date 13/11/2023 into the property, the source code translates it into

Just so we're on the same page here, when you say "the source code translates it" - this plugin is not modifying anything. You're talking about Obsidian here, not the plugin.
Sounds like you might be a victim of this fairly popular Obsidian issue:
https://forum.obsidian.md/t/properties-date-format-not-following-system-settings/69327


Static linking for Qt

Along with getting static linking to work with Qt this also includes some other updates:
Update Qt version to 5.5.1
Update librdkafka to pull from master instead of 0.9.0
Update the make files for all the projects to copy over licensing files
Update the project README with additional licensing and repo information
Remove some unnecessary lines in the toplevel cmake file
Create new opopts.cmake file to keep status on whether the XP_BUILD_STATIC flag was set for the build (so that in the use cmake files we can determine whether it is static or dynamic libraries - used in the useop-qt5-config.cmake)

Nice @bnhhughes I don't have any concerns.  I'd say go ahead and merge it whenever you're ready.  Perhaps update the distributepro librdkafka fork, and then update ovsrpro to use that instead and you should be good to go.


Question: Customizing NGINX and Top Level Domain

Currently my top level domain and any other unrecognized domain just shows the default NGINX "Welcome" message. How do I customize this across my Deis cluster? I'd like the top level domain to redirect to a subdomain, and all 404 pages to show a custom not found page.

You can follow the directions at http://docs.deis.io/en/latest/contributing/hacking/ for customizing the router. The relevant template is here: https://github.com/deis/deis/blob/master/router/image/templates/nginx.conf

Thanks. Also I just realized people answer questions on Stack Overflow. My bad.

also related is #1082

@bacongobbler I'm having a hard time figuring out what I need to edit there to adjust the welcome / not found pages.
Really what I'd like to do for now is just redirect the root URL to a subdomain and have all of the not founds go to a subdomain.my.domain/notfound url. If it's not too much trouble do you know how I could do that? It seems fairly easy to set up, but I'm not familiar enough with nginx to figure out exactly what's going on in this config.

right now what's happening is that it's being redirected here which is the default route. You'll have to make a new route similar to https://github.com/deis/deis/blob/master/router/image/templates/nginx.conf#L68-L98 for your top-level domain.

@bacongobbler Is it possible to push from a development repository to not a dev instance but a running cluster on DigitalOcean? I have everything set up with deisctl, deis, fleetctl, etcctl, etc... But I don't know how to push from my hacking repository to my production when I'm done making changes.

after pushing your custom image to your registry, use
deisctl config router set image=myregistry.com/deis/router:git-asdfqwer
deisctl restart router@*


MultiSelectionComboBox looks like it's disabled in dark mode.

To get the same background look as a normal ComboBox i use mah:ControlsHelper.DisabledVisualElementVisibility="Collapsed"
like so below. I guess it's just a hack. just trying to point you in the direction where the bug may be.
<mah:MultiSelectionComboBox
            mah:ControlsHelper.DisabledVisualElementVisibility="Collapsed"
            mah:MultiSelectorHelper.SelectedItems="{Binding blah}"
            ItemContainerStyle="{StaticResource MahApps.Styles.MultiSelectionComboBoxItem.CheckBox}"
            ItemsSource="{Binding DataContext.blah, ElementName=ItemsControlPoseViewModels}"
            SelectedItemContainerStyle="{StaticResource MahApps.Styles.MultiSelectionComboBoxSelectedItem.Removable}"
            Separator=", " />

MahApps.Metro Version="3.0.0-alpha0417"
TFM: net6.0-windows
Visual Studio 2022 17.4.1

@goldcode thanks for your findings. This indeed helped me a lot. 👍


Reduce visibility of ClusterState and Distribution.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

No semantic changes


open images/videos with an external program

https://github.com/ayntgl/discordo/issues/95 is mainly targeted towards native discord style images via Sixel or kitty, w3m, ueberzug, etc.
IRC style is to have the image be downloaded and then opened, could it be possible for discordo to save the image and provide to a program? (the  an example of this would be for xdg-open, but for my use case i would use my image viewer nsxiv and video viewer mpv.

Discordo already uses the default application for opening attachments and links in a message.

what does it use? it doesn't do anything for me..

newfstatat(AT_FDCWD, "/usr/lib/ccache/bin/xdg-open", 0xc0001fe2a8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/bin/xdg-open", 0xc0001fe5e8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/.local/bin/xdg-open", 0xc0001fe788, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/.local/share/cargo/bin/xdg-open", 0xc0001fe858, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/ccache/bin/xdg-open", 0xc0001fe928, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/bin/xdg-open", 0xc0001feb98, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/.local/bin/xdg-open", 0xc0001fec68, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/.local/share/cargo/bin/xdg-open", 0xc0001fee08, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/ccache/bin/xdg-open", 0xc0001feed8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/bin/xdg-open", 0xc0001fefa8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/.local/bin/xdg-open", 0xc0001ff078, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/wael/.local/share/cargo/bin/xdg-open", 0xc0001ff148, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/sbin/xdg-open", 0xc0001ff218, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/bin/xdg-open", 0xc0001ff2e8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/bin/xdg-open", 0xc0001ff3b8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/sbin/xdg-open", 0xc0001ff488, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/sbin/xdg-open", 0xc0001ff558, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/bin/xdg-open", 0xc0001ff628, 0) = -1 ENOENT (No such file or directory)
futex(0xda17a8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0xda17a8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0

i do not have xdg-open on my system and would rather specify the program for file type.

???

i guess it's a me issue. i will look into .t

i guess it's a me issue. i will look into .t

You can change the default application using xdg-settings: https://wiki.archlinux.org/title/Xdg-utils#xdg-settings

Discordo already uses the default application for opening attachments and links in a message.


Update dns.tf

Added spatialomics domain and increased count by 1.

Can one of the admins verify this patch?

Don't merge this!


Make GPULib texture filtering controllable and expose it to egp

Make GPULib check Entity.filtering, else use POINT as default
Currently only EGP screens uses this, but Digiscreen and others could easily use this as well

Implement global texture filtering for EGP, defaults to previous default (anisotropic)
Can be controlled by EGP:egpGlobalFiltering(0-3)
Only works on EGP Screens as HUD/Emitter don't draw on a material

Implement per-object texture filtering for EGP objects
Can be controlled by EGP:egpFiltering(ID, 0-3)
Only works on Objects that draw a material (polygons and objects that extend baseclass for transmit/recieve/datastream)
Works regardless of EGP type

It works as expected when testing in singleplayer:

(left screen: global point, right screen: global anisotropic. Icons use per-object according to label)
You can see the clear pixel borders of text and line objects on the left (state after yesterdays merge) while the right has those blurred/fuzzed (like it was before).

You're clamping it but not flooring it. Is that safe?
Also maybe you should add the different options as constants.

I'll floor it, although invalid numbers just get treated as floored number (i assume writeUInt does that) and cause no error/glitches.
I though about adding constants, but since its hardcoded for range 0-3 (2-bit UInt in netmessage) any changes in the enum would mean having to update that as well. Its not a big deal to add them though.

oh right yeah UInt would also floor it

If I were you I would call the attribute something like GPULib_filtering to avoid any possible name conflicts.

All you have to do is open each egp object file and check if any other object is already using a parameter with that name. If not, go ahead. But if you do want to change it to avoid conflicts (or future conflicts) then texture_filtering seems better

I guess i could make it use GPU.texture_filtering on clientside and Ent.texture_filtering on the server (as well as making egpGlobalFiltering check for screens specifically).
I also just noticed i forgot about HUD, so expect that coming soon.

@Divran I was talking about the entity variable yes. If another addon has a variable called filtering then both Wiremod and that other addon are equally at fault. I'd rather not take risks like that, especially in a well-developed, high-profile addon such as Wiremod.
However, I'll concede that it's very unlikely an entity will use filtering and use GPULib.

You're sure there are no cases/errors that can cause it to not reach a Pop right? If a pushed filter doesn't get popped, it'll mess up rendering for a lot of things.

If another addon has a variable called filtering then both Wiremod and that other addon are equally at fault. I'd rather not take risks like that, especially in a well-developed, high-profile addon such as Wiremod.

No. If another addon creates a variable on EVERY SINGLE ENTITY (for example by defining it on the entity metatable, or by looping through every entity) called filtering then THEY are at fault. This has already happened in the case of "slvbase". There are many issue reports about this conflict.
Wiremod would only be creating this variable on the few entities that we manually specify.
An entity should always have free reign over which variable names it uses on itself at all times, excluding those variables/functions which are already defined by the default gmod/sandbox environment. If other addons want to set a variable on an entity which isn't theirs, then they should write it to a table like Entity.OtherAddonName.VariableName.

@thegrb93 didn't notice any filter over/underflows with the final version. Feel free to try it out yourself though. I think the only case a filter can get left on the stack is if object:Draw (emitter) or GPU:Draw (screen) crash, in which case we have a bigger problem.

@Divran Of course an entity should always have free reign over which variable names it uses on itself...
If my hypothetical addon had an entity that had a variable called filtering, and used GPULib, which also tries to use a variable called filtering, then GPULib would be in the wrong there.

Ah yes I see what you mean


23 prep data for viz in policy report

Hey @crispy-wonton ,
Thanks for taking a look at this.
You can follow the instructions in the README.md.
Not a lot of changes from the previous notebook:

we add number of households to compute installations per 1000 households
we compute installations per month/year

Closes #23

Thanks so much for reviewing this Roisin :)


All extract_ functions get called in each loop iteration

Rasa Open Source version
3.0.9
Rasa SDK version
3.0.6
Rasa X version
No response
Python version
3.8
What operating system are you using?
Windows
What happened?
Hi,
I tried to implement a form with multiple slots that use custom mappings so that I can extract all the entities by myself.
When the form loop starts Rasa correctly detects that the first required slot has to be filled and I get promoted to enter the first sentence/word or whatever. After that, on each loop iteration all extract_ functions get called although only the extract_<first_slot_that_has_to_be_filled> function should be called on the first iteration.
Domain
actions:
  - validate_test_form

intents:
  - request_form

responses:
  utter_ask_one:
    - text: "give one"
  utter_ask_two:
    - text: "give two"
  utter_ask_three:
    - text: "give three"

slots:
  one:
    type: text
    influence_conversation: false
    mappings:
      - type: custom
        conditions:
          - active_loop: test_form
            requested_slot: one

  two:
    type: text
    influence_conversation: false
    mappings:
      - type: custom
        conditions:
          - active_loop: test_form
            requested_slot: two

  three:
    type: text
    influence_conversation: false
    mappings:
      - type: custom
        conditions:
          - active_loop: test_form
            requested_slot: three

forms:
  test_form:
    required_slots:
      - one
      - two
      - three

session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

Rules:
rules:
  - rule: Activate form
    steps:
      - intent: request_form
      - action: test_form
      - active_loop: test_form
      - slot_was_set:
          - requested_slot: one
          - requested_slot: two
          - requested_slot: three

Actions
from typing import Any, Text, Dict, List
from rasa_sdk import Action, Tracker
from rasa_sdk.events import SlotSet, SessionStarted, ActionExecuted, EventType
from rasa_sdk import Tracker, FormValidationAction
from rasa_sdk.executor import CollectingDispatcher

class ValidateCustomSlotMappings(FormValidationAction):
    def name(self) -> Text:
        return "validate_test_form"

    async def extract_one(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict) -> Dict[Text, Any]:
        print("extract one")
        text_of_last_user_message = tracker.latest_message.get("text")
        return {"one": text_of_last_user_message}

    async def extract_two(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict) -> Dict[Text, Any]:
        print("extract two")
        text_of_last_user_message = tracker.latest_message.get("text")
        return {"two": text_of_last_user_message}

    async def extract_three(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict) -> Dict[Text, Any]:
        print("extract three")
        text_of_last_user_message = tracker.latest_message.get("text")
        return {"three": text_of_last_user_message}

Command / Request
No response
Relevant log output
No response

Thanks for raising this issue, @losterloh will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Hi, I think I have the same issue. Did you manage to solve it?
Here's the issue I raised on the Rasa forum:

Hi, I think I have the same issue. Did you manage to solve it? Here's the issue I raised on the Rasa forum: https://forum.rasa.com/t/custom-slot-extraction-and-validation-fails-using-custom-actions/52858?u=kassem404

I got it working with a simple workaround. In each extract function I implemented a conditional statement: if tracker.slots["requested_slot"] == "one"

@NoxDv This is actually not a bug, but how the rasa-sdk was designed to handle custom extract functions, it loops through all the form required_slots (see both in 2.8.x branch as well as currently in 3.x / main branch of the rasa-sdk).
If you want to suggest an enhancement of the current implementation, please open a new ticket in the rasa-sdk repo.


How do I find the identifiers for EventHandlers?

I looked at one of your example files (Example7_FocusChangedEvent.ahk) that had a line with some Chrome address bar identifier, URLEditElement, and couldn't find said identifier via UIAViewer. What am I missing?
I suppose maybe via Windows SDK's inspect.exe? That thing freezes upon launch for me, no matter which of the 6 versions of it that came with Windows SDK I use.

cUIA.URLEditElement is an element queried by the UIA_Browser library, it is not an identifier. In Chrome UIA_Browser searches for the first edit-type element and stores it in the URLEditElement property.
You should use Accessibility Insights as an inspection tool, as inspect.exe is very old and deprecated.

@ars4l4n one possible solution:
#Requires Autohotkey v1
#NoEnv
SetBatchLines, -1
#include <UIA_Interface>

UIA := UIA_Interface()

WinTitleUnderMouse() {
    MouseGetPos,,, hWnd
    WinGetTitle, wTitle, ahk_id %hWnd%
    return wTitle
}

#If WinTitleUnderMouse() = "Date and Time Information"
~LButton::
    el := UIA.ElementFromPoint()
    if (el.Type = UIA.UIA_DataItemControlTypeId && el.Name = "26")
        MsgBox 26 was selected
    return

You could also probably use FocusedChangedEvent, but it would be more difficult.

Pretty good, but how do I include el.BoundingRectangle = "[l: 1534 t: 432 r: 1585 b: 477]")?
This is important because I need to differentiate between the 1st of July and the 1st of August.
It didn't work like:
    if (el.Type = UIA.UIA_DataItemControlTypeId && el.Name = "1" && el.BoundingRectangle = "[l: 1534 t: 432 r: 1585 b: 477]")
        MsgBox August the 1st was selected

br := el.BoundingRectangle
if (el.Type = UIA.UIA_DataItemControlTypeId && el.Name = "1" && br.l = 1534 && br.t = 432 && br.r = 1585 && br.b =477)
    MsgBox August the 1st was selected

Though I'd just extract the month from the window: MsgBox % "26 was selected in " el.FindByPath("p.p.1").Name

It's behaving weirdly: It identifies clicking August, 1st correctly but it fires both message boxes when clicking on July, 1st.
Code:
    if (el.Type = UIA.UIA_DataItemControlTypeId && br.l = 1534 && br.t = 432 && br.r = 1585 && br.b = 477)
        Msgbox, ,"Day 1 was selected in Juli"
    else (el.Type = UIA.UIA_DataItemControlTypeId && br.l = 1694 && br.t = 619 && br.r = 1745 && br.b = 664)
        MsgBox "Day 1 was selected in August "

Also, I don't quite get the logic behind el.FindByPath("p.p.1") aside from that it searches in some path, but I'm noticing it doesn't differentiate between July and August when those months are on the same page.
Is there perhaps a way to kind of see all days shown as a grid and treat July, 1st as item #1 and August, 1st as item #32?

still haven't figured this out


Hive log adoption in status stepper

Parent Issue: https://github.com/open-cluster-management/backlog/issues/13131
DO NOT MERGE until after https://github.com/open-cluster-management/console/pull/694

/hold


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2106

Questions ?
Please refer to the Backport tool documentation


Error: ENOENT: no such file or directory, stat '...\laravel5-angular-material-starter\public\build\css\final-812dd1b431.css'

I had a problem executing "Gulp & Gulp Watch", the error generated was "Error: ENOENT: no such file or directory, stat 'C: \ wamp64 \ www \ laravel5-angular-material-starter \ public \ build \ css \ End-812dd1b431.css'", I do not know how to solve. Can anyone help me?

Hello @viniciusfreitasmg
Do you have write permissions in that directory?

Are you on a Windows machine ? I had the same problem until i decided to desactivate Windows defender... Since, it's works perfectly :)

Did you run npm install before running gulp & gulp watch ?

Yes I did. I have followed the guide that was provided.
On 7 Mar 2017 11:51 p.m., "Allan Alvarez Ortiz"<EMAIL_ADDRESS>wrote:

Did you run npm install before running gulp & gulp watch ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jadjoubran/laravel5-angular-material-starter/issues/464#issuecomment-284899442,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVfK2qHKhkCofwgwoCVXaBMXiCfW-GXsks5rje2IgaJpZM4Lt6E4
.

What version are you using?

I tried the most recent version and the one prior
On 8 Mar 2017 2:50 a.m., "Allan Alvarez Ortiz"<EMAIL_ADDRESS>wrote:
What version are you using?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jadjoubran/laravel5-angular-material-starter/issues/464#issuecomment-284930674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVfK2v5QeIjxWa6M92rXiTV3Fx2ewziLks5rjhdqgaJpZM4Lt6E4
.

I'm not sure what could be causing it..
Can you try re-installing the project in a new folder?

@viniciusfreitasmg @pl4yradam
I have meet the problem today,and the content below is my solution,hope it can help you

run the gulp watch

compare to the gulp(I can gulp successfully but gulp watch failed)

3.compare the file in public/css/, public/js, public/build, public/manifest.json(*important)

when gulp watch, this file doesn't change and the public/build, public/js will be empty, it must be a premission problem.
4.show the premission and change it

5.gulp watch again(lucky, I succeed)
@
Maybe your problem's reason is different,but I think you can find it finally : )

it works. i do it in git bash under win10
i also try chmod 777  * under the main path


straw man for standardising responses

I've just done the brief-responses view to see what this might look like.
https://trello.com/c/HzdillME/50-api-response-counts

Closing as will not be implementing this way.


docs: add error handling tutorial

Closes #4484
Shaka error handling is getting increasingly more complex in order to "catch them all", I've tried to put together my current understanding of handling various cases in a tutorial. To read it with github md formatting: errors.md

@theodab thanks for the great feedback, I hope I've addressed it properly. Let me know how and where to link this if it's to be part of a different document as well.

Thanks for the tutorial!


Blog 1 "Tips and Tricks"

We need to add content for the " Ortelius Tips and Tricks" blog category.  Please create your blog in Google docs under the /blog directory. https://ortelius.io/category/ortelius-tips-and-tricks/
A good place to start would be a blog about signing up and testing out the Hipster store.

This blog helps us reach our "increase the sign ups by Q2021". Having tips and tricks for informational blogs on setting up Ortelius will be really helpful in meeting this goal.

This blog helps us reach our "increase the sign ups by Q2021". Having tips and tricks for informational blogs on setting up Ortelius will be really helpful in meeting this goal.


Menu pictures are repeating

In menu section snacks, juices and indian thali have same pictures Please make changes according to the food section

I want to solve this issue; please assign it to me as soon as posible

I'm eager to contribute to your project through GSSOC. Could you please assign me this issue.

I can do this . Can this task be assigned to me ?


Add Azure REST API Specs benchmark CI pipeline and script

This change adds a CI pipeline and Node.js script that runs all specs in the azure-rest-api-specs repo through AutoRest v3 and the latest changes in the autorest.modelerfour repo to benchmark runtime and figure out which specs we still fail on.  It works by searching the azure-rest-api-specs/specification folder for all README.md files and then running AutoRest with --inspector turned on to capture
Once all of the specs are run, a CSV file is written out with runtime and success/failure information for each spec.  The script also reports on the top 5 longest-running specs and the total percentage that successfully completed.  Finally, all of the output from each run (including stdout/stderr logs) are uploaded as artifacts for the CI run.
Here's an example CI run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=337930&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=5caf77c8-9b10-50ef-b5c7-ca89c63e1c86
The aggregate results from that run are as follows:
139 out of 214 succeeded (64.95%), 1410.568s total time

Top 5 longest runs:

85.621s  azure-rest-api-specs/specification/sql/resource-manager/readme.md
70.005s  azure-rest-api-specs/specification/network/resource-manager/readme.md
35.613s  azure-rest-api-specs/specification/web/resource-manager/readme.md
33.191s  azure-rest-api-specs/specification/apimanagement/resource-manager/readme.md
28.478s  azure-rest-api-specs/specification/servicefabric/data-plane/readme.md

Once we're happy with this change, my plan is to turn this on for nightly runs on master.

Very nice.

Thanks!


jkroepke what we waiting for?

Why we waiting 1 months for pull request?
What we waiting with issues?
^)

if you have nothing to contribute then you should go back to lurking or figure it out on your own like the rest.

@lilmnm-kamikaze- :+1:


Rename getters in computed and actions in methods

From the doc "getters are exactly the equivalent of computed values for the state of a Store."
So why not call them "computed" instead of getters? Especially as getter/setter refer habitually to mutator methode and in that case are functions.
Same go with actions: "Actions are the equivalent of methods in components.". So why not call them methods?
I understand now this is probably because Vuex use this terminology. But what is Vuex in comparison of decades of programming history ;)?
In my opinion it seem to make more sens to maintain consistency with vuejs  instead of vuex. I will not use pinia with vuex but with vuejs.

Thanks for the proposal but this is the state management terminology and it's to make it different from component data (which is local instead of global). There has been more to the conversation before and it would be a breaking change.


Missing Datatypes

ALL Datatypes are missing, char, bool, nint, kinda cringe ngl

Thumbs up
Actually only structs like DateTime, Half, Guid and so on are missing. Every primitive datatype converter supported by TypeDescriptor is implemented!
Next time please use the issue template !


[BUG] When upgrading from crc 2.33 -> 2.34 OperatorHub shows no items

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes/No)? Yes
Running CRC on: Laptop / Baremetal-Server / VM: Server

CRC version
CRC version: 2.34.1+b470b5
OpenShift version: 4.15.3
Podman version: 4.4.4

CRC status
DEBU CRC version: 2.34.1+b470b5
DEBU OpenShift version: 4.15.3
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
crc does not seem to be setup correctly, have you run 'crc setup'?

NOTE: despite this status, crc seems to be working fine.
CRC config
- consent-telemetry                     : no
- cpus                                  : 8
- disk-size                             : 200
- enable-shared-dirs                    : false
- kubeadmin-password                    : <redacted>
- memory                                : 32000
- pull-secret-file                      : /home/rui/crc/pull-secret.txt

Host Operating System
NAME="Fedora Linux"
VERSION="39 (Workstation Edition)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f39/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2024-11-12
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Steps to reproduce

Having an existing crc 2.33, upgrade to 2.34
crc stop ; crc delete --cache
crc setup
crc start

Expected
OperatorHub to be available
Actual
OperatorHub empty with no items.
community-operators, redhat-operators, redhat-marketplace, certified-operators pods crashing with incorrect SHA value errors.
Logs
No logs collected. Errors detect in the cluster, not crc directly.
This was fixed by disabling and renabling the sources, eg.
oc patch operatorhubs/cluster --type merge --patch "'{"spec":{"sources":[{"disabled": true,"name": <operatorname>}]}}'"
# wait
oc patch operatorhubs/cluster --type merge --patch "'{"spec":{"sources":[{"disabled": false,"name": <operatorname>}]}}'"

Looks like marketplace operator is not able to resync the pull secret because if you check the pod description you will find auth error. Easy fix for it delete all the pods from openshift-marketplace which will allow to have new pods which have updated pull-secret.
$ oc delete pods --all -n openshift-marketplace

Looks like there was issue on OLM side https://issues.redhat.com/browse/OCPBUGS-31645 have more info and https://github.com/operator-framework/operator-lifecycle-manager/pull/3197 upstream PR which is merged. So hopefully when we have latest version of OLM it will be fixed automatic.

Thanks for the update @praveenkumar!

I faced the same problem. After updating the version, Operator Hub disappeared. My environment is macOS 14.4 Intel based.

I faced the same problem. After updating the version, Operator Hub disappeared. My environment is macOS 14.4 Intel based.

You will need tihs workaround https://github.com/crc-org/crc/issues/4109#issuecomment-2042497411 until at least the next crc release.

Also faced this on Windows. I deleted the Pods that were saying crashloopback and reload/saved YAML in openshift-marketplace project to get OperatorHub working again.


Implement pydantic validation of existing settings file

Requirements:

[x] The new ETL settings file should allow us to specify inputs for both the FERC1 DB cloning and the main PUDL ETL, with the possibility of adding new sections as we incorporate additional datasets and/or processes.
[x] When enumerating the datasets to be processed, use a dictionary with codes (epacems, eia, ferc1 etc.) not a list.
[x] The validator should be aware of what codes represent valid datasets, and ensure that only those codes are found.
[ ] #1324
[x] Standardize on using eia860m rather than eia860_ytd as a code for that eia sub-dataset.
[ ] Ensure that only working partitions of the data are specified. Currently this is defined by the tables, years, and states found in PUDL_TABLES and WORKING_PARTITIONS. Note that this is potentially distinct from what raw input data is available, and that information is already stored in the metadata of the raw input datapackages.
[x] The years, states, and any other partitions of the data should be sorted after input so it is easy to track progress through the ETL.
[x] We may want to include default values so that not everything needs to be explicitly spelled out in the intput file. Or we can use a special keyword like all which causes all working data partitions to be processed.
[x] We may also infer other implicit tables or datasets that need to be added, in order to make everything else work (the glue tables and static dataframes).
[x] Remove or rename any remaining references to datapackages in the settings
[x] Make sure the validator provides helpful error messages when something goes wrong.
[ ] Remove the PUDL_TABLES and WORKING_PARTITIONS dictionaries from pudl.constants as that information will be subsumed within the ETL settings class / validation structures.
[x] yml files in package_data/settings

#1292 closed out 10/13 of these tasks.
I created #1324 for the unique dataset problem. Pretty bizarre that PyYaml doesn't enforce unique keys.
The two remaining tasks are related to where we specify working tables and partitions. I decided to keep PUDL_TABLES and WORKING_PARTITIONS dictionaries in pudl.constants because it was cleaner than including these constants in the pydantic settings models. I suppose we could infer working partitions from datapackage.jsons. This could be an issue because we might archive all partitions of a dataset but only implement the ETL for some of the partitions. If we infer the partitions from datapackage.json we would need to specify missing partitions in the code somewhere. This is discussed in #1264.


RCTConvert.h not found

Hi,
I tried to use cocoapods and manual link and both of them fail while compiling.
I get
RCTConvert+RNPStatus.h:14:11: 'RCTConvert.h' file not found

I tried with @1.0.1/2/3 and all failed. React native 0.50

同问

same questions

I tried with the new version 1.0.4 and same issue, no idea what to do.

@zoontek sorry to bother you, do you know anything about this? it looks we are already 4 to have this issue. Thanks man for your work :)

@goncalo-msrt Do you have any step to reproduce?

@zoontek using react-native 0.49 or 0.50 and adding it with cocoapods (but i also tried the manual way) and then compile it ( react-native run-ios ). that's it.

Have this problem with cocoapods. Adding this line
s.dependency 'React'
to https://github.com/yonahforst/react-native-permissions/blob/master/ReactNativePermissions.podspec fixes the issue
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
  s.name                   = 'ReactNativePermissions'
  s.version                = package['version']
  s.summary                = package['description']
  s.description            = package['description']
  s.homepage               = package['homepage']
  s.license                = package['license']
  s.author                 = package['author']
  s.source                 = { :git => 'https://github.com/yonahforst/react-native-permissions.git', :tag => s.version }

  s.platform               = :ios, '9.0'
  s.ios.deployment_target  = '8.0'

  s.preserve_paths         = 'LICENSE', 'package.json'
  s.source_files           = '**/*.{h,m}'
  s.exclude_files          = 'example/**/*'
  s.dependency 'React'
end

Also have this issue RN 0.51

Should be fixed: https://github.com/yonahforst/react-native-permissions/releases/tag/1.0.6


Added Bioweapon Defense Mode as a Fan Mode in climate entity

Added Bioweapon Defense Mode as a Fan Mode in climate entity

Thanks @dandelionclock !


feat(atomic): add parts to suggestions

https://coveord.atlassian.net/browse/KIT-162
This adds parts to the recent queries header to make it more customisable. I also noticed that this was happening:

7
so had an idea to add a hideIf function to the suggestion, which we can later build upon if we need to

Proposed solution:
Adding a part option to:
export interface SearchBoxSuggestionElement {
  ...
  part?: string;
}

Which is passed down to the li element:
<li
  ...
  part={`${isSelected ? 'active-suggestion suggestion' : 'suggestion'} ${
    suggestion.part ? suggestion.part : ''
  }`}

Setting a part on the header recent-query-header
Finally using some CSS to hide it when it's the last child
ul[part='suggestions'] > li:last-child:is([part~='recent-query-header']) {
  @apply hidden;
}

@ThibodeauJF I think this still has the same issues that Olivier mentioned before...
I can still add back the part prop if you think it will be useful, but I introduced a new type for the divider (I thought calling it header might make it sound less flexible).
I feel like it might be a breaking change because I made query required now... should I leave it as optional?
Let me know what you guys think about this solution!


Reopen proposal process for #61417

Proposal Details
https://github.com/golang/go/issues/61417 was moved from likely accept back to active. There have been no open questions or comments for two months. It has also been skipped from proposal meeting notes.
Please move the proposal back into the discussion process- thank you!

it is still in the list of active proposals https://github.com/orgs/golang/projects/17/views/1

Thank you for the link. Given there are not so many active proposals and all open questions have apparently been answered: how can I move the proposal forward for decision if it doesn't get discussed in the proposal meetings?

@seankhliao another proposal meeting update has been published: https://github.com/golang/go/issues/33502#issuecomment-1885809047. #61417 was not discussed. What does "is in the list of active proposals" mean?
It feels really unappreciative to not receive any update after all open questions have been addressed.

It feels really unappreciative to not receive any update after all open questions have been addressed.

Again missing from discussion and documentation of active proposals.

@seankhliao This issue was opened in the sense of having an active proposal process, not being in some list that (apparently) is not actionable.
Could you please re-open? While the proposal may be in the list of active proposals, it is certainly not active in the sense of being discussed or receiving feedback although all open questions have been addressed.


[extractor/winsport] Add WinsportVideo Extractor

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

This PR add site support for winsport.co. This website seems mainly streaming about sports
Fixes #4431
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

sorry if this is pedantic, but if the site is named "Win Sports" and the domain is winsports.co, shouldn't the extractor name be pluralized like WinSportsVideoIE?  (and the module as well: winsports.py)


Change Time?

Where does jump get its time from?
Its 12 hours our for me, PM when its AM here. Any way to change, sorry im sure its a easy one.
Have tried setting long/lat

Hi @deanfourie1 ..
I had same pb. Checking the code, the local time is set when Wheather API call is success. So we have to specify the long/lat AND have a valid/activated OWMAPIKEY.
You can have a free one following this ;
Creating an Open Weather account

Go to the page: https://home.openweathermap.org/api_keys
Fill in the fields and validate.
You now have an account with OpenWeather

Creating an API key
Weather forecasts can only be accessed using an API access key (the requiered OWMAPIKEY API key).
To generate your Open Weather API key:

Identify yourself on the page https://home.openweathermap.org/api_keys
Go to the “API Keys” section
Give your key a name, for example jump-owmapikey
Click on “Generate”
You now have an access key to the Open Weather weather forecast API.

Copy this key and paste it into the jump configuration (OWMAPAPIKEY env var)
The time should now be set (remove all presiously cookies from your browser..).

Thanks for this.

Why not just use the system locale.
In my case, I host a lot of my services hosted on a VLAN without internet connection. What is the need to query an external API for time? I understand to pull weather but I don't even use that feature.
Surely there's a way to pull the time from the system?

It should use the client local timezone if you do not use an OWMAPIKEY... https://github.com/daledavies/jump/blob/main/jumpapp/assets/js/src/classes/Clock.js#L74

Thanks, I just checked this and my date and time was wrong, however,
After changing to the correct time zone,
Tue Apr 16 21:54:55 NZST 2024
It is still showing the wrong time after a full host reboot.
Thanks, appreciate the help!


SIG comment fix doesn't work if the SIG comment is the last line of the method

Add more Fixer Unit Tests to check different positions of the SIG comment:

Beginning of the method
Somewhere in the middle of the method
At the last line of the method

Should be resolved now


Add a thumbnailer for Windows .exe files

/usr/local/share/thumbnailers/exe-thumbnailer.thumbnailer
[Thumbnailer Entry]
Exec=exe-thumbnailer -v -s %s %i %o
MimeType=application/x-ms-dos-executable;application/x-dosexec;application/x-msdownload

Needs sudo python3 -m pip install icoextract as this is not in FreeBSD Ports.

Alternatively, we may use something like https://github.com/azsn/get-exe-icon to do this natively in Filer.

Looking at how Windows stores icons in PE files, it may even be possible to do this natively in C++/Qt5 without the use of additional dependencies.


[Bug]: support svg-chunk-webpack-plugin

System Info
System:
OS: macOS 14.3.1
CPU: (8) arm64 Apple M1
Memory: 43.17 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.5.0 - /opt/homebrew/bin/node
npm: 10.2.4 - /opt/homebrew/bin/npm
Browsers:
Brave Browser: <IP_ADDRESS>
Chrome: 119.0.6045.199
Safari: 17.3.1
Details
I'm trying to migrate our projects to rspack, everything is working fine except the svg sprites. Tried different plugins but got a similar error. I tried to find a solution to use svg sprites but could not, any guide on how to use svg-sprite with rspack will be helpful.
Getting error -
/node_modules/svg-chunk-webpack-plugin/lib/loader.js:20
this._module.factoryMeta = this._module.factoryMeta || {};
^
TypeError: Cannot read properties of undefined (reading 'factoryMeta')
at Object.SvgChunkWebpackLoader
Reproduce link
https://github.com/singh-jay/svg-chunk-plugin-test
Reproduce Steps

clone the repo
run bun install
run bun dev

Rspack does not support _module and factoryMeta yet, if you are willing, welcome to contribute


[Documentation] document trackInflights parameter

I wasn't aware of this great, but undocumented, feature!

I wasn't aware of this great, but undocumented, feature!

@sunshinejr time for a quick review? It's not much :)

this looks great @teameh. I love that feature too. thanks for contributing!