[DOC] Github link should point to code repo

Preliminary Checks

[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/nebari-dev/nebari/discussions

Summary
The github link in the top right of the nebari docs currently points to the docs repo. It should point to the code repo
Steps to Resolve this Issue
Fix it in docusaurus.

Currently blocked until the code repo gets migrated.

Why should it point to the nebari repo instead of the docs repo?
More than likely folks will find an issue with the docs or missing information and want to head there not to the nebari development repository

I think its pretty standard when you see the github logo in a docs repo, you expect it to the take you to the code repo, not the docs. Just checked and this is true for numpy and scipy. I think the button is there so that people can quickly jump over to look at the codebase for more in depth look. That is my interpretation.

Most projects have their docs in the codebase itself, under a doc(s) directory, so the link works both as a code and docs reference. This is not the case for us, so we need to be careful here.
Our nebari-dev/nebari codebase has a "docs" folder (with the old docs) which will certainly confuse new users. So right now, if we have to choose, linking to the docs repo is the safer idea.
Some options:

The GitHub logo can link to our organization page github.com/nebari-dev, and users can navigate to whichever repo they want
We can have separate, explicit, links for both the codebase and docs repo in the navbar, perhaps as a dropdown (I'd personally prefer this)

We can also consider a discussion about moving the docs into the codebase in the upcoming Nebari standup.
conda is the only other project that comes to mind with a separate docs repo, and they don't have a navbar: https://docs.conda.io/projects/conda/en/stable/user-guide/index.html

Napari keeps their docs separately and the link points to the code repo https://napari.org/dev/index.html
But it fine if yall want to keep it pointing to the docs repo

I mostly want to avoid confusion with the origin of docs since as @pavithraes  mentioned we are not generating our docs from the nebari repo, yet there is a docs/ directory there.
I would be happy to add a dropdown to navigate to multiple repos, WDYT?

I think a dropdown would be the most beneficial solution.


Charge and Charge Links data contract session with Aggregations domain code-owners

Description:
Code-owners of Charges and Aggregations domains align on a data contract content for charges and charge links.
Precondition:

Story #336 completed

Acceptance criteria

Meeting done
Further data contract development stories have been created and the responsibility of completing those are clear.

Meeting held today, 18-06-2021
New story added to our backlog #336

Test result:
AC1 - PASSED
AC2 - PASSED
AC1:
Meeting held as per previous comment.
AC2:
Story has been created and responsibility of this story is mentioned.


Update LICENSE

Commit does not follows our rules, mister troll
(side note: we know this guy IRL...)


WIP: Add Avoidance Plugin

I will be logging my progress at writing an avoidance plugin for MAVSDK. See https://github.com/mavlink/MAVSDK/issues/967.
At time of writing, the template  still contains remnants of the Tune plugin from which it was copied. The naming will be changed as I implement the MAVLink interface.

Ok, let us know how it goes, or how we can help.
@mrivi is there an wasy way to test obstacle avoidance in SITL?

@coderkalyan @julianoes Yes, you can test object avoidance in SITL. I ran through and updated the melodic setup instructions last week against master branch: https://github.com/PX4/avoidance#installation
If there is some problem after you run those, then let me know. But after following those instructions I was seeing the object avoidance status indicator on. I admit I didn't do any hard testing of a mission though.

@coderkalyan Any updates? Would be great if we can get this going

@Jaeyoung-Lim sorry, I've been a bit busy lately with school work, but I'm working on it!
@hamishwillee I'm still a bit confused - I tried enabling the COM_OBS_AVOID parameter but SITL didn't allow me to do that... ROS isn't involved here so I'm not sure how the ROS avoidance documentation is of help?

@coderkalyan ROS isn't involved in your case, but I know that in my ROS/avoidance setup the simulation does allow COM_OBS_AVOID to be set

And I don't believe SITL will/can stop you saving any parameter.

I figured out the SITL issues, it was actually due to some other error. I will take a look into this once more.
PS: Whoops, looks like I pulled in all sorts of commits I didn't want to ... seems that even after 3 years of usage I still can't do git properly :stuck_out_tongue: Will try to fix.

@coderkalyan please clean up the git mess. I can't review it this way. I want to see 1 or a few commits and only your changes in this PR.

@julianoes Will do, no idea what happened. Apologies for the mess

@julianoes I have fixed the git mess. I will continue work on this branch tomorrow.

Thanks, that looks better. Now I can review it.

@julianoes Yes, this PR is a WIP - it is far from ready to be merged. That said, thanks a lot for the suggestions, I will implement them!

Hello @coderkalyan,
did you do more work on that PR ? I need this feature so I will start to use your PR and work on it as well if possible :)

Hi @Katawann,
No I have not yet done anymore work on this PR, but I hope to be able to do some work today and in the next few days. I was having some issues recreating the scenario, as PX4 is very picky about transmitting avoidance trajectory data.

@coderkalyan Any updates on this?

@Jaeyoung-Lim Yeah I'll try to get to it soon. I was implementing it because I needed it for something, and that need went away, but now I need it again, so yeah I'll do so. However if someone else wants to implement it in the meantime, just let me know.


Auto formatting is buggy for chained callbacks (promises).

I think some times we need to write things like this, but obviously the auto formatting doesn't support this style well enough (actually it destroys manually formatted code):
promise
    .then(() => returnAnotherPromise())
    .then(() => {
        // do something...
    })
    .then(() => {
        // do some other thing...
    });

Because the style below doesn't seem to be acceptable.
promise.then(() => returnAnotherPromise()).then(() => returnAnotherPromise()).then(() => {
    //...
});

I find there's quite a lot bugs related to auto formatting, maybe a thorough test procedure should be designed?

Sounds like this might be a duplicate of #1888. We have a test suite for these sorts of bugs, but usually we find more through exploratory methods anyway. Of course, any bug that comes in has a repro added to the test suite.

@vilic contributing tests are always welcome, so are proposals for better engineering processes.
Formatting tests are all under fourslash directory. And more info can be found in CONTRIBUTING.md


Python Interface crashes google colab

Hi, thank you for your work!
I am trying to use your library for link prediction problem and I have a problem with running colab tutorial from here, the section where python interface is used.
After running this cell:
import graphvite as gv
import graphvite.application as gap
from graphvite.graph import Graph

app = gap.GraphApplication(dim=128)
app.load(file_name='edges1.csv')
app.build()
app.train()

I have the following output:
loading graph from edges1.csv
[time] GraphApplication.load: 5.39281 s
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Graph<uint32>
------------------ Graph -------------------
#vertex: 1514713, #edge: 4685644
as undirected: yes, normalization: no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0xf4cec000 @  0x7f1434d75887 0x7f140c4f1dc2 0x7f140c5fc600 0x7f140c54192d 0x7f140c537439 0x5669ac 0x5949a1 0x59fc4e 0x50d356 0x507d64 0x588d41 0x59fc4e 0x50d356 0x507d64 0x509a90 0x50a48d 0x50bfb4 0x507d64 0x516345 0x50a2bf 0x50bfb4 0x507d64 0x509a90 0x50a48d 0x50bfb4 0x507d64 0x509a90 0x50a48d 0x50cd96 0x507d64 0x509042
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x173ae8000 @  0x7f1434d75887 0x7f140c4f1dc2 0x7f140c5fc600 0x7f140c54192d 0x7f140c537439 0x5669ac 0x5949a1 0x59fc4e 0x50d356 0x507d64 0x588d41 0x59fc4e 0x50d356 0x507d64 0x509a90 0x50a48d 0x50bfb4 0x507d64 0x516345 0x50a2bf 0x50bfb4 0x507d64 0x509a90 0x50a48d 0x50bfb4 0x507d64 0x509a90 0x50a48d 0x50cd96 0x507d64 0x509042
[time] GraphApplication.build: 3.56432 s
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
GraphSolver<128, float32, uint32>
----------------- Resource -----------------
#worker: 1, #sampler: 1, #partition: 1
tied weights: no, episode size: 2650
gpu memory limit: 11.1 GiB
gpu memory cost: 1.52 GiB
----------------- Sampling -----------------
augmentation step: 6, shuffle base: 6
random walk length: 40
random walk batch size: 100
#negative: 1, negative sample exponent: 0.75
----------------- Training -----------------
model: LINE
optimizer: SGD
learning rate: 0.025, lr schedule: linear
weight decay: 0.005
#epoch: 2000, batch size: 100000
resume: no
positive reuse: 1, negative weight: 5
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Afterwards, colab restarts session.
What I have done wrong? How to fix it?
Thank you!

P.S.
Colab logs related to crash:

Timestamp
Level
Message

May 13, 2020, 9:04:02 PM
WARNING
WARNING:root:kernel 3b6c05df-db23-4250-a8b5-f452627594f2 restarted

May 13, 2020, 9:04:02 PM
INFO
KernelRestarter: restarting kernel (1/5), keep random ports

This is because the augmentation step (probably automatically inferred by the library) 6 can't divide the batch size 100. We'll fix this bug in the next update.
You can use a batch size of 120, or use an augmentation step of 5 as a work around.

Please follow this discussion in #58


Contiki project story

PT design: https://www.pivotaltracker.com/story/show/104540826
PT dev: https://www.pivotaltracker.com/story/show/104541518

For SEO sakes, we should rename the file from contiki to contiki-holidays to retain the URL

Thanks for all the comments @tomsabin - all addressed in separate commits. Also the there's a new header image replaced.

LGTM :dart:


Path scrubbing not working for python 3.8 package installed with homebrew

Hi there, I got an issue with a pex file embedding a dependency (protobuf) under OSX. I guess it could be related to the protobuf package and how the package is installed with brew but maybe also in the way the scrubbing is done by PEX.
If I install protobuf through pip3.8 install protobuf the scrubbing works fine because protobuf is inside the path<EMAIL_ADDRESS>But if you install the protobuf brew package through brew install protobuf, it is installed under /usr/local/Cellar/protobuf/ and the python package is registered inside<EMAIL_ADDRESS>with the following line:
import site; site.addsitedir('/usr/local/Cellar/protobuf/3.12.4/libexec/lib/python3.8/site-packages')

I put some logs to print module.__path__ and site_libs before cls._tainted_path(...) is called. Here is the difference between python3.7 and 3.8.
Python 3.7:
Module path: ['/Users/XXX/repack.pex/google'<EMAIL_ADDRESS>Site_libs : {'/usr/local/lib/python3.7/site-packages'<EMAIL_ADDRESS>pex: Scrubbing google.__path__<EMAIL_ADDRESS>
Python 3.8:
Module path: ['/Users/XXX/repack.pex/google', '/usr/local/Cellar/protobuf/3.12.4/libexec/lib/python3.8/site-packages/google']
Site_libs<EMAIL_ADDRESS>'/usr/local/lib/python3.8/site-packages'}

Notice there is no "Scrubbing" for python 3.8.  It is due to the change in where python package is located. Instead of being inside the python 3.8 directory, it is put as a standard brew package. The import is indirectly managed inside the homebrew-protofbu.pth file (see above for the path and content)
The cls._tainted_path(...) is then not able to to identify that the path matches in python 3.8 since they are completely different.
python 3.7 match
Module path<EMAIL_ADDRESS>Site_libs<EMAIL_ADDRESS>python 3.8 no match
Module path : /usr/local/Cellar/protobuf/3.12.4/libexec/lib/python3.8/site-packages/google
Site_libs<EMAIL_ADDRESS>Any solution ?

python3.8 -m site
sys.path = [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>    '/usr/local/lib/python3.8/site-packages',
    '/usr/local/Cellar/protobuf/3.12.4/libexec/lib/python3.8/site-packages',
<EMAIL_ADDRESS>]

It seems the issue is maybe how the site-package are retrieved here https://github.com/pantsbuild/pex/blob/master/pex/pex.py#L146 ?
I don't understand all the magic under the hood, let me know if you have a solution to my problem.

Just responding to your second comment: https://github.com/pantsbuild/pex/issues/1025#issuecomment-683922218
python3.8 -m site prints out the sys.path, which includes /usr/local/Cellar/protobuf/3.12.4/libexec/lib/python3.8/site-packages but not because that entry is a "site package". IOW, you should find a similar difference using the following:
$ python3.8 -m site
sys.path = [
    '/home/jsirois',
    '/usr/lib/python38.zip',
    '/usr/lib/python3.8',
    '/usr/lib/python3.8/lib-dynload',
    '/home/jsirois/.local/lib/python3.8/site-packages',
    '/usr/lib/python3.8/site-packages',
]
USER_BASE: '/home/jsirois/.local' (exists)
USER_SITE: '/home/jsirois/.local/lib/python3.8/site-packages' (exists)
ENABLE_USER_SITE: True

Vs:
$ python3.8 -c 'import site; print(site.getsitepackages())'
['/usr/lib/python3.8/site-packages']

@R1kk3r can you run your PEX file like so?: PEX_VERBOSE=9 /my/pex/file ...
I want to see if this log line triggers for<EMAIL_ADDRESS>https://github.com/pantsbuild/pex/blob/b51b340bea8a585a246997071a815d008986d6e3/pex/pex.py#L130

Note to self, the relevant docs: https://docs.python.org/3/library/site.html

Actually, it looks like site.addsitedir just adds the directory to sys.path, It does not lter what site.getsitepackages() returns. I think then the solution is to snapshot sys.path prior to executing .pth files and then consider any new paths added to sys.path post-execution of all such files as taineted.

PEX_VERBOSE=9 python 3.7
pex: Found site-library: /usr/local/lib/python3.7/site-packages
pex: Found site-library<EMAIL_ADDRESS>pex: Not a tainted path element: /Users/XXX/myproject.pex/.bootstrap
pex: Not a tainted path element: /Users/XXX/myproject.pex
pex: Not a tainted path element<EMAIL_ADDRESS>pex: Not a tainted path element<EMAIL_ADDRESS>pex: Not a tainted path element<EMAIL_ADDRESS>pex: Tainted path element: /usr/local/lib/python3.7/site-packages
pex: Scrubbing from site-packages: /usr/local/lib/python3.7/site-packages
pex: Scrubbing from user site: /Users/XXX/Library/Python/3.7/lib/python/site-packages
pex: Scrubbing google.__path__<EMAIL_ADDRESS>pex: Activating PEX virtual environment from /Users/XXX/myproject.pex :: Searching depex: Activating PEX virtual environment from /Users/XXX/myproject.pex: 3.3ms
pex:   Searching dependency cache: /Users/XXX/myproject.pex/.deps: 3.2ms
pex: PYTHONPATH contains:
pex:   * /Users/XXX/myproject.pex/.bootstrap
pex:     /Users/XXX/myproject.pex
pex:   *<EMAIL_ADDRESS>pex<EMAIL_ADDRESS>pex<EMAIL_ADDRESS>pex:   * - paths that do not exist or will be imported via zipimport

PEX_VERBOSE=9 python 3.8
pex: Found site-library: /usr/local/lib/python3.8/site-packages
pex: Found site-library<EMAIL_ADDRESS>pex: Not a tainted path element: /Users/XXX/myproject.pex/.bootstrap
pex: Not a tainted path element: /Users/XXX/myproject.pex
pex: Not a tainted path element<EMAIL_ADDRESS>pex: Not a tainted path element<EMAIL_ADDRESS>pex: Not a tainted path element<EMAIL_ADDRESS>pex: Tainted path element: /usr/local/lib/python3.8/site-packages
pex: Scrubbing from site-packages: /usr/local/lib/python3.8/site-packages
pex: Scrubbing from user site: /Users/XXX/Library/Python/3.8/lib/python/site-packages
pex: Scrubbing google.__path__<EMAIL_ADDRESS>pex: Activating PEX virtual environment from /Users/XXX/myproject.pex :: Searching depex: Activating PEX virtual environment from /Users/XXX/myproject.pex: 3.3ms
pex:   Searching dependency cache: /Users/XXX/myproject.pex/.deps: 3.3ms
pex: PYTHONPATH contains:
pex:   * /Users/XXX/myproject.pex/.bootstrap
pex:     /Users/XXX/myproject.pex
pex:   *<EMAIL_ADDRESS>pex<EMAIL_ADDRESS>pex<EMAIL_ADDRESS>pex:   * - paths that do not exist or will be imported via zipimport

@R1kk3r thanks for your response, but that's troubling. There is no Found .pth file: ... in either of your outputs and that's unexpected. I'd expect to see Found .pth file<EMAIL_ADDRESS>Also troubling about your output is this line for python 3.8:
Scrubbing google.__path__<EMAIL_ADDRESS>
The crux of your original bug post is that this style line was present for python 3.7 but it was not present for 3.8. Can you ensure your environment is set up as it was when you reported the bug and then re-check the python 3.7 and 3.8 cases for the Found .pth file: ... line?

@R1kk3r for sanity sake, what version of Pex are you using?

OK @R1kk3r I'm going to assume your original bug post is finding the .pth file since that case is reproduced and fixed in #1026.
If you have a chance, you could test this fixes your problem by cloning this repo / using that PR via:
$ python -mpex [rest of pex args you would normally use to build a pex file]
$ PEX_VERBOSE=9 [the runtime pex command line you would normally use here]

@jsirois My bad, the python 3.8 verbose logs were wrong since I forgot to uninstall protobuf in pip3.8. I updated the logs above with the problematic config (protobuf) installed with homebrew).


allsky_overlay.py needs to check for errors reading *fields.json files

If the fields.json and/or userfields.json files have an error, e.g., a missing double quote, allsky_overlay.py will give a misleading error message and quit without displaying the overlay.
allsky_overlay.py needs to check if reading the files worked - if not display a meaningful message and don't log any "No Type for xxxx" messages for the variables in the corrupt file(s).
Instead, the first variable in the files that's on the overlay should be replaced by a "See the WebUI" message.

Closing - fixed via #3951


README.md

docs: edited the example in the Readme to remove specific version numbers.

now that we have the example be git checkout major.minor.patch-beta.n, we should make sure to link the dockerhub page to all the possible tags so they know what they can try out.

For this command the link to dockerhub might be confusing, the date/hash image tags aren't present in git, they're docker only. Maybe a link up to the github releases? Or just an instruction to run git tag -l to see what tags are available?

@alfeng6 In the readme.io docs  added a link to the GitHub list of releases, and in the GitHub README.md file I added a sentence about using suggestion from @c-nixon for the git tag -l command to view all available releases. Take a look and let me know if those changes work, please.

@alfeng6 can you take a look again at the Readme.md and review/tweak/approve, so that we can merge?


All lookups shortcut syntax

Has there been any consideration on adding an 'ALL' shortcut to the dictionary style field lookup declarations? Would be happy to work on this.
from django_filters.filterset import FilterSet, LOOKUPS

class ProductFilter(FilterSet):
    class Meta:
        model = Product
        fields = {
            'name': LOOKUPS.ALL, # similar to STRICTNESS
            # or...
            'price': '__all__',  # similar to ModelForm Meta.fields
        }

As per #301


useDebounce example will run the callback on mount

... which in case of an api call will be an unwanted effect

Hi @ogroppo, thanks for the feedback, we've fixed this here #443.
It will be in the next release this week


Follow system/browser dark/light mode

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Is there a way to get Commafeed and the extension to check what mode the OS/Browser is in currently, and follow that? Usually called follow system.
Describe alternatives you've considered
Set it manually.
Additional context
https://github.com/Athou/commafeed-browser-extension/issues/1

There is a way, but I'm wondering what happens when you click on the "Switch to light/dark theme" button in the menu. Since that value is stored in the localStorage, it's restored the next you visit the app. How would you go back to the "system preferred" setting?

There are usually 3 options in the settings. Dark/light & follow system. I'd also store it remotely, not just in the local storage.

Done! Still saved in the local storage for the moment though.


Added About markdown for text2text generation

Hi Team/Maintainers, i saw the tasks documentation here was open to contribution. So for text2text generation task, i have updated the About md & open to updating the data.ts too.
Since this is is my first contribution to open source, would really be thankful if someone could guide me through this PR process.
Looking forward to hearing.
Thanks,
Akshay

Hello @akshay-babbar, we are about to remove text2text generation task page since it's already covered under text-generation one. Can you see if your contributions could fit that page and contribute to that one instead?

Okay, please review a separate PR that i have created for feature extraction task then & let me know the feedback :)

@akshay-babbar I left a review, but you can handle this one in this PR if this sounds good for you! (or feel free to open a separate one 🙂)

@akshay-babbar would you like to open a separate PR or move on with this?

Hi @merveenoyan , closing this as you said that it's already covered under text-generation one. Thanks.


ibmcloud: provider version upgrade (1.43.0)

terraform modules updated:

[x] root
[x] check-podvm-instance
[x] cluster
[x] common
[x] cos
[x] podvm-build
[x] run-nginx-demo
[x] start-cloud-api-adaptor

Fixes: #76 and #60
Signed-Off-By: James Tumber<EMAIL_ADDRESS>

So on Mac I hit:
+ ssh -l root -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/var/folders/f4/2_3x10gd2dld0td8r5hcktsm0000gn/T/tmp.sWcReUhj/known_hosts -o 'ProxyCommand=ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -W %h:%p<EMAIL_ADDRESS><EMAIL_ADDRESS>bash -x -c 'true
if ! [[ -e /var/lib/kubelet/kubeadm-flags.env ]]; then
    ssh -o StrictHostKeyChecking=accept-new<EMAIL_ADDRESS>tar -cf - -C /root .kube/config | tar xf - -C /root
    $(kubeadm token create --print-join-command) --cri-socket unix:///run/containerd/containerd.sock
fi
'
Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.
Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.
+ true
<EMAIL_ADDRESS>Permission denied (publickey).
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
failed to load admin kubeconfig: open /root/.kube/config: no such file or directory
To see the stack trace of this error execute with --v=5 or higher
bash: line 3: --cri-socket: command not found

which after quite a bit of debugging turned out to be an error caused by https://github.com/confidential-containers/cloud-api-adaptor/issues/34. Once I added that fix I re-ran the e2e script and the peer pod vm build was still trying to build after 1h45m, so I think that was https://github.com/confidential-containers/cloud-api-adaptor/issues/38. I destroyed everything and started from scratch and this time it all worked!


memory leak when switching files

looks like something's not getting freed, possibly the input stream buffers?

so with that commit I no longer see leaks in Instruments allocations view, but do see them in Xcode 7 beta 2's memory panel. Whaaaaaat

Seems gone.


Improve HNC Config test diagnosis/stability

The HNC Config tests were flaky when run in a loaded environment, such
as on Prow, and produced hard-to-reproduce errors. I was able to
reproduce them about 20% of the time using the stress utility to load
up my workstation.
The concrete proble I found was that the tests were not always waiting
for changes to the HNC config to be picked up - see my comments in #1170
for details. I've addressed this by adding a setTypeConfig function that
always waits for config changes to appear in the status before the test
can proceed.
I also added or fixed ...WithOffset() Gomega assertions now that I
actually understand how they work, and focused on never having any
nested assertions since they make it impossible to get the correct
originating line number. I also changed some functions' names to better
match the way they're used (e.g. don't use "has" in the name if it
doesn't return a bool).
Tested: on a loaded workstation, the HNC config tests now pass 10/10
times. While I was working on the tests and had a bunch of problems, all
the line numbers were correct and useful.
FTR, on my 12-core workstation, the command I used to load it up was
stress -m 22 -i 24 -c 24. Anything higher and the apiserver wouldn't
start; anything lower and it didn't seem to have enough effect. This was
enough to increase the runtime of the tests from ~30s to ~50s so it
seemed to be doing a reasonable job.
Fixes #1170

/assign @yiqigao217
/assign @rjbez17
/cc @GinnyJI
This only needs one approver, I think.

/lgtm
/hold cancel

/cc @rjbez17
I'm guessing you're fine with this (it's purely a test change) but as always lmk if you want any changes and we can make them in a followup PR.


Error During Installation

Following the installation instructions at https://github.com/huggingface/transfer-learning-conv-ai I receive the following error:
Command:  "pip install -r requirements.txt"
Error:
ERROR: Could not find a version that satisfies the requirement transformers==2.5.1 (from -r requirements.txt (line 3)) (from versions: 0.1, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0)
ERROR: No matching distribution found for transformers==2.5.1 (from -r requirements.txt (line 3))

@19hunter19 Are you using python3.9? I had similar error, my problem was that Tensorflow does not support Python3.9, so I had to switch to 3.8 for this installation.


[gateway] integrate Banxa fiat-on ramp

Issue Type
[ ] bug report
[x ] feature request

Current Behavior
There's no FIAT on ramp
Expected Behavior
Integrate https://docs.banxa.com/docs
on Ethereum BOBA ONLY.
Steps to Reproduce

https://arbitrum.banxa.com/

Suggested Fix

Based on the conversation we had with @souradeep-das  and the request to improve our platform from @InoMurko, there are two things left to define:

Whether we will actually use an external site or a widget within our site.
Whether we seek to offer a direct purchase option on L2 instead of offering the purchase and then using the bridge.

Based on these two queries, the first idea attached would be to include it as a widget within our site, offering the option to actually make the purchase and have it credited directly to Layer 2.
https://www.figma.com/file/vsoFD9MkW5g5oaAYtWDLU6/Boba-Banxa-Bridge?node-id=0-1&t=IYxdpf3JrBHi5U4x-0


spyder appcrash with module name atio6axx.dll

Problem Description
Firstly, i would apologize for the few experience in Github, here i got a problem which perplex me a whole day: Today's morning, my codes was performed normally as usual, but when i do some modification for codes, a common error: valid syntax appeared. After i did some fix, the spyder had crashed without reason. No matter what i did, it cannot open again, then i reinstalled anaconda3 which is latest version, when i open spyder again, there is the appcrash as below.
Problem signature:
Problem Event Name:	APPCRASH
Application Name:	pythonw.exe
Application Version:	<IP_ADDRESS>3
Application Timestamp:	5b34dd6b
Fault Module Name:	atio6axx.dll
Fault Module Version:	<IP_ADDRESS>22
Fault Module Timestamp:	52212c19
Exception Code:	c0000005
Exception Offset::<PHONE_NUMBER>31ba69
OS Version:	6.1.76<IP_ADDRESS>.256.48
Locale ID:	2052
Additional Information 1:	9ed1
Additional Information 2:	9ed114e9a8e476e135da726878a499f4
Additional Information 3:	78b1
Additional Information 4:	78b11368e776746f243084f49b67fca0
I'm sorry again for my unofficial format question.  Thanks very much , wating for your help!!!

This seems a problem with your graphics card driver:
https://community.amd.com/thread/184943
So you probably updated it and now things are broken. I don't know how else to help you, sorry.

This seems a problem with your graphics card driver:
https://community.amd.com/thread/184943
So you probably updated it and now things are broken. I don't know how else to help you, sorry.

Thanks a lot.  just now i'v tried the method you applied and thanks i'v solved the appcrash problem. However, when i restart the computer and open spyder, here comes a new problem as below:
Problem signature:
Problem Event Name:: AppHangB1
Application Name:	pythonw.exe
Application Version:: <IP_ADDRESS>3
Application Timestamp:	5b34dd6b
signature hung : a766
hang type: 0
OS Version:	6.1.76<IP_ADDRESS>.256.48
Locale ID:   2052
Additional signature hung 1:	a76615e5797198bc3156a9f92f6e54b6
Additional signature hung 2:	1d25
Additional signature hung  3:	1d25622be1b88d9103eb5297841c18a7
Additional signature hung 4:	a766
Additional signature hung 5:	a76615e5797198bc3156a9f92f6e54b6
Additional signature hung 6:	1d25
Additional signature hung 7:	1d25622be1b88d9103eb5297841c18a7
Hope your help. Thanks

Sorry but this is unrelated to Spyder itself. It really has to do with your installation and the configuration present in your system.
Since we don't have more help to offer, I'm closing this issue.


fix: use transport connect

:tada: This PR is included in version 1.0.1 :tada:
The release is available on:

GitHub release
1.0.1

Your semantic-release bot :package::rocket:


Small spelling error when executing NNI via Python Script

Describe the issue:
When launching a nni-computation via a python script the following output is shown:

It says 'Statring' instead of 'Starting'.
I have seen this minor error for quite some time now and just wanted to let you know about this.

Thanks, It has been fixed. Can you pull the latest code and have a try?


Obtain Close-to Statement Coverage on hagglehaul.Server

Description
This is a non-functional requirement. We should get a high statement coverage on hagglehaul.Server by writing sufficient tests to cover them.

Closed by #135


Fix notebook annotations

Proposed Changes
(Describe your changes here. Also describe the motivation for your changes: what problem do they solve, or how do they improve the application or codebase? If this pull request fixes an open issue, use a keyword to link this pull request to the issue.)
...

Screenshots of your changes (if applicable)

Associated [documentation repository](https://github.com/MarkUsProject/Wiki) pull request (if applicable)

Type of Change
(Write an X or a brief description next to the type or types that best describe your changes.)

Type
Applies?

🚨 Breaking change (fix or feature that would cause existing functionality to change)

✨ New feature (non-breaking change that adds functionality)

🐛 Bug fix (non-breaking change that fixes an issue)
X

🎨 User interface change (change to user interface; provide screenshots)

♻ Refactoring (internal change to codebase, without changing functionality)

🚦 Test update (change that only adds or modifies tests)

📦 Dependency update (change that updates a dependency)

🔧 Internal (change that only affects developers or continuous integration)

Checklist
(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the [ ] into a [x] in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)
Before opening your pull request:

[X] I have performed a self-review of my changes.

Check that all changed files included in this pull request are intentional changes.
Check that all changes are relevant to the purpose of this pull request, as described above.

[X] I have added tests for my changes, if applicable.

This is required for all bug fixes and new features.

[X] I have updated the project documentation, if applicable.

This is required for new features.

[X] If this is my first contribution, I have added myself to the list of contributors.

After opening your pull request:

[X] I have updated the project Changelog (this is required for all changes).
[ ] I have verified that the pre-commit.ci checks have passed.
[ ] I have verified that the CI tests have passed.
[ ] I have reviewed the test coverage changes reported by Coveralls.
[ ] I have requested a review from a project maintainer.

Questions and Comments
(Include any questions or comments you have regarding your changes.)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 3 (0.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 91.413%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/assets/javascripts/Components/Helpers/range_selector.js
0
1
0.0%

app/assets/javascripts/Components/Result/notebook_viewer.jsx
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

app/assets/javascripts/Components/Helpers/range_selector.js
1
0.0%

app/assets/javascripts/Components/Result/notebook_viewer.jsx
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
40000

Relevant Lines:
43082

💛  - Coveralls


Path handling in -FileName of Export-DnsServerZone

The current docs say, except for Server 2019, that you can specify a path for the -FileName parameter. With the actual cmdlet, it is not the case.

Docs Build status updates of commit 1ebde3b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2022-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit ee3b489:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2022-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0073d3a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2022-ps/dnsserver/Export-DnsServerZone.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Scalability test and optimization for v1.0.0

Test and optimize Longhorn's scalability on a large number of nodes.

Context:
We noticed that once we reached around 200 volumes, attach/detach operations started taking longer and longer.
Related: longhorn/longhorn#1058
This issue was created to see if we can identify the root cause of this slow down and fix it.
I was able to identify the issue and verify that the slow down wasn't caused by the longhorn components.

The problem is caused by kubernetes AD Controller resync loop checking that all volumes that should be attached are still attached. Todo this kubernetes needs to query the API server for each VolumeAttachment object, since there was no bulk listing/informer implemented. (The reason this doesn't happen to kubernetes in tree plugins is that they implemented bulk retrieval for this operation (GCE, AWS, etc)

Kubernetes issue description:
Once a single iteration of the sync loop takes longer then the sync loop interval period, the system will end up throttling itself into infinity, since there will be overlapping sync routines and since a single routine already takes longer then a single interval, the amount of sync routines will just keep increasing. Which will result in even more VolumeAttachment requests, which all end up being throttled by the rest client.
So in reality kubernetes correctly detected that there is a PVC that wants to use a volume, and immediately requested that volume be attached but because the actual call POST call for the VolumeAttachment creation get's throttled with the other GET calls from the VolumeAttachment checks.
Example below:
{"log":"I0724 02:53:17.111947       1 request.go:565] Throttling request took 5m50.595934236s, request: POST:https://<IP_ADDRESS>:6443/apis/storage.k8s.io/v1/volumeattachments\n","stream":"stderr","time":"2020-07-24T02:53:17.11343459Z"}

The actual throttling time will just keep increasing till infinity or the kubernetes controller-manager dies and another one takes its place which will start from 0 to infinity.

Solution:
The issue got addressed in https://github.com/kubernetes/kubernetes/pull/91307
Where the VolumeAttachment checks got implemented via a lister/informer.
Which is available in kubernetes version  1.18.5  / 1.17.8
For older versions there isn't a solution only mitigations/workarounds.
See https://github.com/kubernetes/kubernetes/issues/84169#issuecomment-545692734 for additional details.

Set disable-attach-detach-reconcile-sync flag on the kube-controller-manager to true.

This would completely disable the feature where k8s periodically verifies that the volumes that it thinks are attached are actually attached.
For now this should be safe because although the k8s side checks the VolumeAttachment, the CSI external-attacher object doesn't periodically update the VolumeAttachment object (#79743 to fix that.)

Set the attach-detach-reconcile-sync-period value to a longer period (longer then 1 minute).

This flag controls the frequency of the verification. The default value is 1 minute. If you find that you really need the feature, you could keep it on and increase the frequency to mitigate this issue.

References:
AD controller slow down (due to singular verify volumes attached call)
https://github.com/kubernetes/kubernetes/issues/84169
https://github.com/ceph/ceph-csi/issues/1109
https://github.com/kubernetes/kubernetes/issues/86281
Some work on the external csi-attacher, to do reconciliation
this would require us to update the csi plugin to support the bulk volume <-> node list calls.
https://github.com/kubernetes/kubernetes/issues/79743
some pr's with more discussion and insight
https://github.com/kubernetes-csi/external-attacher/pull/184
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pull/392
https://github.com/kubernetes/kubernetes/pull/91307
more issues related to csi/ad performance
https://github.com/kubernetes/kubernetes/issues/86281

@joshimoo Good analysis! We will share more information about the scalability of Longhorn in the upcoming Performance and Scalability report. #1637

Done.


dismiss() && show()

1)How to dismiss dialog, i don't use positive and negative buttons. I couldn't find function like .dismiss() ? i have this:
MaterialDialog.Builder md=new MaterialDialog.Builder(this);
md.title("..");
2)i show dialog before i start background async task. Then i want to update content inside background task, i tried myterialDialog.content("") .show(); but did not work. How to change content later?

There should be a dismiss function as I have used it in my app as well. If you can't find it, try to edit the MaterialDialog class and add a dismiss function if it's not there. But then again, it should be there.

@ZephZeph there is MaterialDialog and MaterialDialog.Builder. I was using MaterialDialog.Builder and it doesn't have dismiss(). Now i try to use MaterialDialog and it has dismiss() but, now i cant call methods like .typeface() .How to get advantages of both ?

ok, i used this and worked:
 MaterialDialog md=new MaterialDialog.Builder(getActivity())                     .title("")                     .typeface("")                     .content("")                     .show();
Then i can call md.setContent() or md.dismiss() from anywhere.

This was already in the README and it's no different than an AlertDialog, BTW.

Still don't know difference between calling show() methods of Builder and Dialog itself

show() of MaterialDialog is actually show() from AlertDialog. The other show() is a convenience method from Builder:
public MaterialDialog build() {
    return new MaterialDialog(this);
}

public MaterialDialog show() {
    MaterialDialog dialog = build();
    dialog.show();
    return dialog;
}

I should note that this structure is exactly the same as AlertDialog and AlertDialog.Builder. This is not new to this library.

dismiss() is also an AlertDialog method. This library just builds upon AlertDialog and redoes how the view construction and layout works.

I added a new section to the README since so many cannot figure it out: Dismissing Dialogs


"ERROR: ffprobe or avprobe not found."

I seem to be getting an error when running the audio.js example. I am running Docker's node:8.6 image.
Log:
Error: Command failed: /node_modules/youtube-dl/bin/youtube-dl -x --audio-format mp3 http://www.youtube.com/watch?v=dvsOfsMlT3M
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
ERROR: ffprobe or avprobe not found.


Update ignition (v3) locked parameter

Task summary

The only change for this is updating the epoch parameter to subtract the vesting start epoch as well as using the new vesting schedule
Also part of this issue is just to track all things outside of migration is updated
Specification reference

Other information and links

Everything from this upgrade is done already

Everything from this upgrade is done already


Cannot insert data into the Guid type to the database

"System.InvalidCastException" type of exception occurred in the NPoco.dll, but not in the user code for processing
Other information: from the "System.UInt64" to "System.Guid" mandatory conversion is invalid.

Please describe your database type(mssql, oracle or mysql....),
Please check your database table column type is guid,
Ensure your entity property type is guid? if any records has null guid value.

database type  Mysql。
Mysql no Guid type, column type is char (36)。

I solved this problem, thank you。Add this line of code on the Map： PrimaryKey(x => x.Id, false);


Switch from grub to systemd-boot

A lot of what I'll be doing will be based on this.
I will however not do the same setup or try to change anything that doesn't need to be changed from the current one.
Closes #138 and #141!

I forgot to enable auto signing in vscode. will be fixed for following commits..

Also useful: https://gitlab.com/madyanov/archsetup

I think not having a seperate /boot is actually a good idea. I mean /boot is still encrypted and it saves a lot of work and maintenance.

I was previously using sgdisk -t partnum:type wrong. I just specified partnum=1 for everything. Probably forgot to change it when copying previous lines.

GRUB didn't even care. bootctl gave me an error which imo is a lot better for an EFI partition!

I will have to replace mkinitcpio with dracut! Not just use dracut aswell. Didn't know that beforehand.

I've had more success than I had with GRUB so far :+1:

It seems like both of the UUIDs I specified are incorrect

It seems to be possible to load extra keymaps!
https://man7.org/linux/man-pages/man7/dracut.cmdline.7.html

This might be useful:
https://wiki.gentoo.org/wiki/Full_Encrypted_System_Root_with_Dracut_USB_Stick

Maybe using lvm is required in this case? I deliberately avoided it when using grub because btrfs on lvm was said to be slow/buggy.
But if everyone uses it, it might be a very good idea to just do the same :laughing:

https://wiki.archlinux.org/title/LVM_on_software_RAID#LVM_installation

Maybe I understood rd.luks.uuid wrong (gentoo article sais: "rd.luks.uuid - lvm partition with subpartition /root")

rd.luks.uuid=
only activate the LUKS partitions with the given UUID. Any
"luks-" of the LUKS UUID is removed before comparing to . The comparisons also matches, if  is only
the beginning of the LUKS UUID, so you don’t have to specify
the full UUID. This parameter can be specified multiple
times.   may be prefixed by the keyword
keysource:, see rd.luks.key below

https://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
The UUID of the luks partition means the uuid of md0_crypt or does it not?
Other possibilities: md0, lv0

Maybe I understood rd.luks.uuid wrong (gentoo article sais: "rd.luks.uuid - lvm partition with subpartition /root")

rd.luks.uuid=
only activate the LUKS partitions with the given UUID. Any
"luks-" of the LUKS UUID is removed before comparing to . The comparisons also matches, if  is only
the beginning of the LUKS UUID, so you don’t have to specify
the full UUID. This parameter can be specified multiple
times.   may be prefixed by the keyword
keysource:, see rd.luks.key below

https://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
The UUID of the luks partition means the uuid of md0_crypt or does it not? Other possibilities: md0, lv0

The other stuff that isn't detected is most likely just related to the volume not getting decrypted.

I will do some commits to test what the problem is that will most likely get scrapped later.

https://wiki.archlinux.org/title/dm-crypt/System_configuration#Unlocking_in_early_userspace

https://wiki.gentoo.org/wiki/Dm-crypt_full_disk_encryption

https://unix.stackexchange.com/questions/266119/md-raid-not-mounted-by-dracut

Let's just hope that the raid not being assembled was the problem here.

Let's just hope that the raid not being assembled was the problem here.

Didn't really check if it was/was not tho...

Let's just hope that the raid not being assembled was the problem here.

Didn't really check if it was/was not tho...

Same error. Must be something else then. Maybe missing modules.

https://wiki.gentoo.org/wiki/Dracut#LVM_on_LUKS

To boot from a root residing on an LVM volume located inside of an encrypted LUKS container these kernel command line options can be used: root=UUID= rd.luks.uuid= rd.lvm.vg=. And to enable discard rd.luks.allow-discards is needed. rd.lvm.vg might not be need depending on specific configuration but might lead to not all LVM partitions being activated. If for example the system has the following partitions:
/dev/sda1: UUID="2acb7668-fff1-492d-b46e-f05ead26d153" TYPE="crypto_LUKS" PARTUUID="cbe8be3c-3bcf-0d44-9f7b-27c7ad4dd9f6"
/dev/mapper/luks-2acb7668-fff1-492d-b46e-f05ead26d153: UUID="19Mtok-zEfG-7JXI-GXvM-Neoz-JnST-vwNlO3" TYPE="LVM2_member"
/dev/mapper/Vg-root: UUID="199bb83d-c783-4254-a6eb-fdbb83c33144" TYPE="ext4"
the kernel command line options will look like root=UUID=199bb83d-c783-4254-a6eb-fdbb83c33144 rd.luks.uuid=2acb7668-fff1-492d-b46e-f05ead26d153 rd.lvm.vg=Vg.
In some instances it might not work to add root option, as Dracut also adds the default on its own. This could result in a duplication that will cause the kernel to fail.

This seems very similar aswell!
Adding dd_drivers+=" raid1 " might be useful

Without hostonly: same error

https://forums.gentoo.org/viewtopic-p-8749309.html?sid=59c70a169bfe7229b37e85ed2104f505

I guess specifying a cryptdevice= may help? Even though it seems very unnecessary..

I really don't understand what I've done wrong here. I still get the same error.
As far as I can tell my configuration should be correct!
At least I'm in the dracut/(previously grub) rescue shell now and not in EFI shell. That's better than what GRUB caused for main 😆

It seems like the raid not being assembled is definetly a problem, idk if its the only one though.

https://serverfault.com/questions/954895/auto-assemble-raid1-array-with-mdadm-on-centos-7-6

https://forums.centos.org/viewtopic.php?t=54901

TODO:

[ ] Check if updating the homehost has any consequences after reboot

TODO:
* [ ]  Check if updating the homehost has any consequences after reboot

If there are, updating the homehost in post.sh again is a hacky but good way to fix it.

Not a single solution has worked so far and manually assembling the array is also not that helpful because after the decryption is done the volumes don't get "assembled".
If I'd get the array to actually auto assemble, I'm pretty sure it'll work though!

It seems like --name did the trick, at least the array shows up as /dev/md0 instead of /dev/md127!

How is it that no one posted about --print-cmdline.
And how do I manage to misunderstand manual pages when it comes to which UUID to use so often???

I mean it's good and nice that it worked, but now I feel really stupid for not figuring this out on my own..

https://discussion.fedoraproject.org/t/cannot-boot-from-initramfs-unable-to-switch-root-sysroot-directory-is-empty/33043

https://bugzilla.redhat.com/show_bug.cgi?id=1492208

Didn't I specify in the mount options that it should mount the subvolume?

I hope the id is os independent.

After seeing the diff I just noticed: It's rootflags not rootfsflags ...
Anyways, maybe dracut can do this automatically which would be even nicer!

The commit is because auto determining the root didn't work

And at least I'm not the only one having problems :+1:

Booting after setup.sh works now!

This also "closes" #129

I will probably merge this within the next 30mins.
This seems like a very good solution but definetly still needs some testing.
After I tested everything I'll publish 3.0!

Error I get in post.sh

doas apparmor_parser -r /etc/apparmor.d/firejail-default fails.
I'd assume that this is because of missing kernel cmdline parameters.

I think I will also have to sign the UKIs for this to work with secureboot.

Okay, this will take one more day or so, same with cryptboot. Still, it's almost done. I'd guess that fixing GRUB and not running into similar problems again would've taken ages.

I'll test if what I did worked real quick and then finally merge!

Booted successfully without any errors during the install! It's definetly not perfect, but mergeable.
I mean the current grub doesn't even work and this boots 100% fine with secureboot!


feat(frontend): NEAR Explorer translation for Vietnamese Users

Contribution to the bounty: https://github.com/near/bounties/issues/62

@that83 Thank you for the contribution!
@shelegdmitriy Please, review the changes

Screenshot Test NEAR Explorer #62.xlsx
I am sending the screenshot file for reference. Thank you.

@that83 thanks for the contribution! LGTM.
btw, could you please ask another 1~2 Vietnamese developers to help review the translation?

@that83 thanks for the contribution, LGTM. There is a missed part, but it was missed earlier, so I don't know does it must be resolved in this particular PR by you or not. @Frol Vlad what do you think about it?

@shelegdmitriy That part have to be addressed separately once we implement i18n for that component, so it should not be part of this PR

@shelegdmitriy nice catch.
@IsQiao will help add the missing i18n support in the ValidatorRow component. 😃  thanks!

Hi, Vietnamese developer here! I will review all translations in this work 😃

@that83 thanks for the contribution! LGTM.
btw, could you please ask another 1~2 Vietnamese developers to help review the translation?

Vietnamese developers here!
It's good but some translations can be made more clearly.
Like this one !

I have just updated several Vietnamese words base on reviewer's comments ( ducviet00 and BaoAnh).
Thank you.

@that83 @ducviet00 @think-in-universe Yay! It is live! Please, review it on production once again :pray:

wow, great work @that83 @ducviet00 !! 🚀
thanks @frol! this is awesome!

Thank you. I have reviewed, LGTM.
BTW, why data of some charts are not shown?

@that83 @ducviet00 @think-in-universe Yay! It is live! Please, review it on production once again 🙏

I've reviewed it, seems good!

Thank you. I have reviewed, LGTM.
BTW, why data of some charts are not shown?

it doesn't belong to this feature. near/near-indexer-for-explorer#137


Bluetooth: Mesh: Fix unable iv recovery 0 0 -> 1 0

According Mesh Spec 1.0.1:
Upon receiving and successfully authenticating to
Secure Network beacon for a primary subnet whose
IV Index is 1 or more higher than the current known IV
Index, the node shall set its current IV Index and its
current IV Update procedure state from the values in
this Secure Network beacon.
Look like test_iv_index.c:81

(bt_mesh_net_iv_update(TEST_IV_IDX + 1, BCN_IV_IN_IDLE));

This test case already exists, but the wrong testcase
to test wrong code.
Move is_iv_recovery into bt_mesh_net_iv_update.
First check whether it is IV recovery, and then carry out
the subsequent IV normal update procedure.
Signed-off-by: Lingao Meng<EMAIL_ADDRESS>

No, but my existing tests cover this code.


recycling and recyclability

Description of the issue
I am not sure, if recycling has been discussed before. It should be included in some way. Along with it, an indicator for the recyclability (or dismantling capability or whatever label) should be included.
Ideas of solution
recycling: Recycling is a transformation that regains materials and/or energy from an artificial product or waste.
recyclability: Recyclability is a quantity value that indicates the percentage of materials that can be regained during a recycling process.
expected recyclability: Expected recyclability is the recyclability an artifical object is expected to have at the end of its operational life time.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

@OpenEnergyPlatform/oeo-domain-expert-energy-modelling Has anyone some input to those terms around recycling?

I am fine with including the process recycling.
The other two are a bit beyond the scope of the OEO. If we include these classes we should have a look how these classes are defined in life cycle ontologies (if these exist).

I could not find any established lifecycle ontologies, only a lot of projects that are in development. The NEAT (Wind Energy Taxonomy of Topics) has Recycling as a concept, but no definition for it. Papers that make proposals for such an ontology contain a lot of concepts of which I don't know if they are necessary (for example to differentiate harmful waste from non-harmful etc.).

To develop a solution it would be helpful to know how in-depth recycling has to be implemented for our purposes. Is only the transformation of waste into energy important, or also the materials that can be regained?
On recyclability: I have found a proposition using N-ary relations to express the material and its value/percentage in an artifact that can be regained. https://ceur-ws.org/Vol-849/paper_16.pdf

Thanks for checking @viktorwichern Looks like there is no simple solution to import.

To develop a solution it would be helpful to know how in-depth recycling has to be implemented for our purposes. Is only the transformation of waste into energy important, or also the materials that can be regained?

At least for now, a simple recycling concept is sufficient. I think the suggestion by @lumi321 is a good starting point: Recycling is a transformation that regains materials and/or energy from an artificial product or waste. Probably, recycling is a material transformation.

I would agree on material transformation. I will open a pull request to add the new class Recycling and link this issue.
Does anyone have ideas for axioms for the new class? I thought of:
'has input' some ('artificial product') or 'object aggregate' and ('has role' some 'waste role')
I don't know if that's the right syntax though.
I also struggle with the output. Would it just be
'has output' some ('energy' or 'good') ?
Recycling is often about regaining raw material which can then be reused, I don't know if that is covered through 'good'.

Regarding the axiom:

'has input' some ('artificial product') or 'object aggregate' and ('has role' some 'waste role')

This axioms is almost right, however I would add shift a bracket to make it clearer:
'has input' some ('artificial product') or ('object aggregate' and 'has role' some 'waste role')

'has output' some ('energy' or 'good')

Looks fine.

'has input' some ('artificial product') or ('object aggregate' and 'has role' some 'waste role')

Probably artificial object is meant here?
I'd change the axiom like this:
'has input' some (('artificial object' or 'object aggregate') and 'has role' some 'waste role')

Of course, artifical object is right here. However, according to the current definition of waste role an artifical object cannot have this role: A waste role is a role of an object aggregate that has been discarded after primary use. However, we might change the definition to: A waste role is a role of a material entity that has been discarded after primary use.

Of course, artifical object is right here. However, according to the current definition of waste role an artifical object cannot have this role: A waste role is a role of an object aggregate that has been discarded after primary use. However, we might change the definition to: A waste role is a role of a material entity that has been discarded after primary use.

Since @stap-m liked your reply I assume that it's fine if I implement the change to waste role as well? If it's okay I would do it in the same pull request with the recycling.


Invalid code generation with AdditionalProperties

Problem statement
The generated validation code in model for the following JSON schema constructs is invalid.
This testcase is part of the cloudbreak.json spec (see also #910): here
Given the following definition:
"PlatformGatewaysResponse" : {
      "type" : "object",
      "properties" : {
        "gateways" : {
          "type" : "object",
          "additionalProperties" : {
            "type" : "array",
            "uniqueItems" : true,
            "items" : {
              "$ref" : "#/definitions/CloudGatewayJson"
            }
          }
        }
      }
    }

The model generation yields:
// PlatformGatewaysResponseGateways platform gateways response gateways
// swagger:model platformGatewaysResponseGateways
type PlatformGatewaysResponseGateways map[string][]CloudGatewayJSON

// Validate validates this platform gateways response gateways
func (m PlatformGatewaysResponseGateways) Validate(formats strfmt.Registry) error {
	var res []error

	if err := validate.Required("", "body", PlatformGatewaysResponseGateways(m)); err != nil {
		return err
	}

	for k := range m {

		if err := validate.Required(k, "body", m[k]); err != nil {
			return err
		}

		if err := validate.UniqueItems(k, "body", m[k]); err != nil {
			return err
		}

		for i := 0; i < len(m[k]); i++ {

			if swag.IsZero(m[k][i]) { // not required
				continue
			}

			if m[k][i] != nil {

				if err := m[k][i].Validate(formats); err != nil {
					if ve, ok := err.(*errors.Validation); ok {
						return ve.ValidateName(k + "." + strconv.Itoa(i))
					}
					return err
				}

			}

		}

	}

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}

The m[k][i] != nil  is invalid.
With type:
// CloudGatewayJSON cloud gateway Json
// swagger:model CloudGatewayJson
type CloudGatewayJSON struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// properties

Swagger specification
cloudbreak.json
Steps to reproduce
swagger generate server --spec https://gist.github.com/mhmxs/63060f19ecfbf7c0d375663629701494
cd models
go build

Environment
swagger version: current master
go version: 1.9.1
OS:   linux ubuntu 14..04

So the culprit template is here.
The problem seems to be that the generator does not know in which order to evaluate this structure which is at the same time a map and an array.
The generator evaluates .IsArray before .IsMap hence the type mismatch here.

@mhmxs  this is what comes out of your spec now that the circular $ref issue is ok

At first glance, I would say that we are checking the the parent type IsNullable and not the type defining .Items.

@fredbi thanks a lot. We are waiting for new version, because currently we have an in-house tool which does AST transform on the generated source.

We are waiting for new version

@mhmxs I hinted on where the problem probably lies but I am not going to implement a fix any time soon, since I am priorizing things.
So to let you know, I am not going to work on issues currently tagged as: "generate spec", "additionalProperties", "discriminator", "additionalItems".  Some other contributors might have different priorities and fix these issues for the benefit of the community.
Feel free to contribute with PRs...

Found the problem. But this cloudbreak spec full of of additionalProperties is not fully passing yet...

@mhmxs hi there. I tested the full generation with cloudbreak spec, which is now part of our CI tests.
Validation seems ok on the tricky parts with empty objects and additional properties (but the spec is very large, so I might have overlooked some details). Feedback from the field is welcome.

Hi @fredbi ,
Thanks you so much, we are waiting for the next release.


avoid alloca() and use writev() instead

alloca() is bad for you! :)  this simplifies things quite a bit, and removes the need for dlopen()/dlsym().  also fixes up the return value from the overridden version of write().  tested minimally on linux64 and macosx lion (didn't test that the return value is actually correct, but it looks ok to me :-P)

Yes, in that comment, for that patch, that's definitely not
thread-safe.  the same struct iov is shared between all threads.  If
two threads call write() at the same time it could easily give you bad
results.
That's why in my version I just use a local struct inside the function
that's scoped just to the current invocation of function itself.
 -brian

On Wed, Dec 14, 2011 at 10:53, Marcin Kulik
<EMAIL_ADDRESS>wrote:

I'm not C expert but I'm worried about this: https://github.com/sickill/stderred/pull/1#issuecomment-3146134
What do you think?

Reply to this email directly or view it on GitHub:
https://github.com/sickill/stderred/pull/6#issuecomment-3146223


Should Env.attributes really be treated as methods?

The analogs of these in mlog are treated as variables, which match up more closely to python attributes than to callable methods.  Presenting these as methods also gives the misleading impression that these might require multiple instructions, when most (all?) uses of these are actually going to be incorporated into the same op that uses them, so won't add to instruction count at all.
Some of these also should probably be made to work on their own without an Env. prefix.  E.g., I've been using Unit for @Unit and would probably do the same for at least @this --> This.
I guess I'm tempted to do away with Env entirely, and just use some sort of capitalized variables for all of these variables, staying closely parallel to how mlog does it, replacing @ with capitalization.  If we're worried about this colliding with user-defined variables, we can make sure to declare these in .pyi to help make them appear special in editors with mouseover documentation, and we probably should raise compiler errors if they attempt to assign to a reserved variable, to help set people on the right path.

They're methods to signal that they're somewhat special and may be doing something non-standard behind the scenes, or can change between invocations. But properties does make it cleaner.

we probably should raise compiler errors if they attempt to assign to a reserved variable

Power users may actually want to read or write to compiler variables for some fancy tricks. Maybe if it's compiled with --sudo or something we allow that use?

They're methods to signal that they're somewhat special and may be doing something non-standard behind the scenes, or can change between invocations. But properties does make it cleaner.

we probably should raise compiler errors if they attempt to assign to a reserved variable

Power users may actually want to read or write to compiler variables for some fancy tricks. Maybe if it's compiled with --sudo or something we allow that use?

By "reserved variables" I meant things like Unit or This (and whatever other current Env.attributes we decide to treat as simple variables, perhaps all of them).  If we interpret these in any ast "load context" as meaning their mlog @equivalent, then I don't see what sort of fancy tricks a power user could use storing values to them (e.g. with Unit = 3), since mlog won't allow us to override their mlog @equivalents, and if we overwrite the variable name itself in mlog (e.g. with set Unit 3), the power user will have no way to ever read that new value, since the read command will automatically be compiled to the @equivalent (@unit, in this example),  So that's why I was thinking we should raise a compiler error if they attempt 'Unit = 3'.  Am I missing something?

By "reserved variables" I meant things like Unit or This (and whatever other current Env.attributes we decide to treat as simple variables, perhaps all of them).  If we interpret these in any ast "load context" as meaning their mlog @equivalent, then I don't see what sort of fancy tricks a power user could use storing values to them (e.g. with Unit = 3), since mlog won't allow us to override their mlog @equivalents, and if we overwrite the variable name itself in mlog (e.g. with set Unit 3), the power user will have no way to ever read that new value, since the read command will automatically be compiled to the @equivalent (@unit, in this example),  So that's why I was thinking we should raise a compiler error if they attempt 'Unit = 3'.  Am I missing something?

Ah, by reserved variables I meant things like __pyc_sp for the stack pointer or __pyc_ret. Yeah it doesn't make much sense to let them assign to, say, Unit (unless they do Unit = anotherunit in which case it could mean bind?).

Ah, by reserved variables I meant things like __pyc_sp for the stack pointer or __pyc_ret. Yeah it doesn't make much sense to let them assign to, say, Unit (unless they do Unit = anotherunit in which case it could mean bind?).

Not needing to call Env attributes implemented by https://github.com/Lonami/pyndustric/commit/e7c14ee9a73141d7518fd8b68ee9751a416b6ec9. Arbitrary resources from the "environment" implemented by https://github.com/Lonami/pyndustric/commit/76161863ddb9d083dd914079033dc29c0c7e56b8 (e.g. Env.copper).

Not needing to call Env attributes implemented by https://github.com/Lonami/pyndustric/commit/e7c14ee9a73141d7518fd8b68ee9751a416b6ec9. Arbitrary resources from the "environment" implemented by https://github.com/Lonami/pyndustric/commit/76161863ddb9d083dd914079033dc29c0c7e56b8 (e.g. Env.copper).


NewerConcurrentVersions in LifecycleRuleNoncurrentVersionExpiration is ignored

Describe the bug
When setting a lifecycle configuration with noncurrent version expiry, NewerConcurrentVersions seems to not be serialized into the request (see https://github.com/aws/aws-sdk-net/blob/main/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutLifecycleConfigurationRequestMarshaller.cs#L124)
This doesnt appear to be right, especially since there is no documentation describing this behaviour. Having a quick look around, the PutBucketLifecycleConfigurationRequestMarshaller for S3Control seems to do serialize it (https://github.com/aws/aws-sdk-net/blob/main/sdk/src/Services/S3Control/Generated/Model/Internal/MarshallTransformations/PutBucketLifecycleConfigurationRequestMarshaller.cs#L172)
Regression Issue

[ ] Select this option if this issue appears to be a regression.

Expected Behavior
NewerNoncurrentVersions being written into the request.
Current Behavior
The NewerNoncurrentVersions is ignored during serialization.
Reproduction Steps
This is my current code:
PutLifecycleConfigurationRequest request = new()
{
    BucketName = bucketName,
    Configuration = new()
    {
        Rules = new()
        {
            new Amazon.S3.Model.LifecycleRule() {
                NoncurrentVersionExpiration = new LifecycleRuleNoncurrentVersionExpiration()
                {
                    NewerNoncurrentVersions = keepItems,
                    //NoncurrentDays = keepDays,
                },
                AbortIncompleteMultipartUpload = new LifecycleRuleAbortIncompleteMultipartUpload()
                {
                    DaysAfterInitiation = 7
                },
                Expiration = new LifecycleRuleExpiration()
                {
                    //Am object which only has deletion markers
                    ExpiredObjectDeleteMarker = true,
                },
                Id = lifecycleConfigName,
                Status = LifecycleRuleStatus.Enabled,
                Filter = new()
            }
        }
    }
};

Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.S3 3.7.404.1 (latest at time of writing)
Targeted .NET Platform
.NET 8
Operating System and version
Windows 10

Hi @BreakingBread0,
Thank you for reporting the issue. We acknowledge the property NewerNoncurrentVersions is not sent on the request object. Our team will further investigate and work on the fix for it.
Regards,
Chaitanya

Hello @BreakingBread0,
PutLifecycleConfigurationRequest.NewerNoncurrentVersions is serialized and sent to S3 as part of v3.7.404.7.
Feel free to reach out if you faced any other issues.


Connected backend url

Now it changes according to which user logs in.

Good Job. I will buy you spaghetti

Good Job. I will buy you spaghetti


Sending a message without user response

Hello,
Scenario:
In my bot, I would like to open a website from Adaptive card and after 3 minutes, the bot should ask a question withouy user response or trigger.
Please tell me a solution for it.
Thanks
Yogesh

@YogeshNat - In short, you are likely going to want to use a proactive message. This allows the sending of messages to users without any user prompting. You just need to monitor when the last user message was received and, at the appropriate time, have the proactive message endpoint called to trigger sending the message.
I'm going to go ahead and mark this as closed. Please note to the following.

The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Botbuilder-JS repo is the preferred platform for information on submitting bug fixes and feature requests.


The update of the operandregistry status should not update operandrequest status

/kind feature
Describe the solution you'd like
[A clear and concise description of what you want to happen.]
When an operandrequest is updated (for example an operator is removed), it will trigger the update of the operandregistry. Then operandregistry will trigger all its operandrequest to reconcile, which will cost a long time to finish the reconcile.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Using two controllers for one CR is not a good solution
Currently, our CR status updates are mutually updated, so I think we need a good solution, one controller only updates the owned CR.

Agree, I think we should avoid using operandconfig and operandregistry to update Operandrequest status to trigger updates as well.
We need to build maps between operandconfig, operandregistry and operandrequest in the operandrequest controller.

We don't need this implementation, close the issue.


FAComboBox OnTextInput does not fire

"FAComboBox.OnTextInput" does not fire when entering text or you need to add a public event "OnTextChanged".
I found the handling of changing the Text property in the source code, where the private "OnTextChanged" method is called. It would be good to add the mentioned event.

The TextInput event comes from higher up in Avalonia itself as a part of InputElement. It serves a different purpose and I can't invoke that event anyway since its declared higher up in the hierarchy.


[MS Teams] Bot is side-loaded but unavailable?

Bot Info

App ID: 4723b22b-fde7-4a4f-954d-7d26295087fd
SDK Platform: .NET
SDK Version: 3.11.0
Active Channels: MS Teams
Deployment Environment: Azure App Service

Issue Description
I had working bot side-loaded in MS Teams. Today, I removed it and tried to re-add it with different name.
Now I am unable to use the bot. Side-loading ends without errors but I cannot find my bot by searching for it in chat/mentioning it.
I also tired to re-add it using original manifest with original name. I can still see chat with the bot from previous side-loading and I can also search for it under old name. It also doesn't respond.
Side-loaded bot IS visible in Apps section.
Bot DOES respond when I try it using webchat on dev.botframework.com.
Code Example
I redacted personal information. It was not changed between side-loadings so it really shouldn't matter.

{
"$schema": "https://statics.teams.microsoft.com/sdk/v1.0/manifest/MicrosoftTeams.schema.json",
"manifestVersion": "1.0",
"version": "1.0.0",
"id": "4723b22b-fde7-4a4f-954d-7d26295087fd",
"packageName": "",
"developer": {
"name": "",
"websiteUrl": "",
"privacyUrl": "",
"termsOfUseUrl": ""
},
"name": {
"short": "TestBot"
},
"description": {
"short": "This is a sample bot manifest",
"full": "This is a sample bot manifest that has the bare minimum you need for a bot, which will work in Teams and Personal scopes."
},
"icons": {
"outline": "contoso20x20.png",
"color": "contoso96x96.png"
},
"accentColor": "#60A18E",
"bots": [
{
"botId": "4723b22b-fde7-4a4f-954d-7d26295087fd",
"scopes": [
"team",
"personal"
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
]
}

Reproduction Steps

Side-load bot.
Try to find it.
No results.

Expected Behavior
Bot name comes app and you can use it.
Actual Results
Bot is unavailable.

Hi @maros-klimovsky ,
Did you change the name in the manifest, in the dev portal, or both?

Hi,
I initially only changed it in the manifest. When it failed I tried changing it in the dev portal and I changed botId in web.config.
Then I actually redeployed the whole thing with new dev portal registration and new Azure deployment.
Currently it is in a state as it was originally (including App ID and bot name).
Some more info as I saw people suggesting these things:
Yes, it does work with emulator.
Yes, my MS Teams client runs in development mode.
No requests are going to my Azure application. I'm logging everything and there are no conversationUpdates since I re-deployed. Other channels (webchat, emulator) are sending events as expected.

@maros-klimovsky MS Teams has more configuration steps than most channels, did you cover all the steps?
How to load your bot into MS Teams
Quick MS Teams bot deployment checklist:

Did your O365 tenant administrator enable sideloading of apps for your organization?
Did you create an app package
Did you sideload your bot app into the relevant team?

Recommended reading:

Getting Started with Bots for Microsoft Teams
Create the package for your Microsoft Teams app - aka manifest.json file
Sideloading your app in a team
Testing your Bot
Interact one-on-one (1:1) with a Microsoft Teams bot

I did all steps.
Today, my bot started to respond in existing conversation window (1:1 chat created a week ago).
I'm, however, still unable to redeploy the bot with different name. The main issue is the bot cannot be found in Teams after sideloading.
Also no conversationUpdate messages are received by bot.

Aaand the bot is ignoring me again.
Right now I have current situation:
TestBot deployed on Azure with App ID 4723b22b-fde7-4a4f-954d-7d26295087fd
sideloaded to Teams, doesn't work (It stopped recently :( )
DynamicsBot deployed also on Azure (as a different app but with the same code) with App ID 249ef058-8d9c-4156-b568-02fcedf11cd6, sideloaded to the same team and I cannot even find it.
Is the fact that they have the same code a problem? I mean they are deployed separately and I don't see how it could be a problem but what do I know..
Both bots are working normally in webchat. Also an idea. I actually tried to change icons for the first time when it stopped working. Could that be related?

It works now. I can see all bots and they all respond. I have no idea what changed, but it makes me happy anyway.
Keep up the good work.

Glad you got it working, happy bot building


Merge manifests to apply at once

We plan on deploying all three manifests at the same time. It would simplify our pipeline if the 3 benchmark tests were in one .yaml file.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: nikimanoledaki
Once this PR has been reviewed and has the lgtm label, please assign lucaguerra for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

414d89d Merge manifests to apply at once

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

c23596c Merge manifests to apply at once

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, nikimanoledaki
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 5d1fbcae3a73bd2240c9dc881ed220c87637af9b


Revert "fix: correct azimuth offset"

Reverts tier4/nebula#112
Since some strange pointcloud appear after merged. I revert this PR and will investigate more detail to fix the azimuth correction issue.

@amc-nu Could you quick approve this revert.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 11.41%. Comparing base (2572f0f) to head (d540172).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##            main     #134      +/-   ##
=========================================
+ Coverage   4.81%   11.41%   +6.59%
=========================================
  Files        249       68     -181
  Lines      19204     7177   -12027
  Branches    1075     1016      -59
=========================================
- Hits         925      819     -106
+ Misses     17579     5678   -11901
+ Partials     700      680      -20

Flag
Coverage Δ

differential
11.41% <100.00%> (?)

total
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@drwnz It seems I need your approve to merge this Revert PR. Could you approve this?

@badai-nguyen
I just removed David from the reviewer list

@knzo25 Thanks, but I still cannot merge this PR.

@knzo25 @amc-nu Could your force merge this PR? It seem I need approve from who has write access.


How to make a SQL sentence in Oracle format from net.sf.jsqlparser.statement.select.Select;

Version: JSqlParser 1.2
Platform: jdk 1.8, Eclipse, Oracle
Subsystem:

I try to make a Oracle sentence by below code, but the code return a MySQL sentence.
May I know how to make a SQL sentence in Oracle format from net.sf.jsqlparser.statement.select.Select;?
===================
if(selectBody instanceof PlainSelect){
PlainSelect plainSelect = (PlainSelect) selectBody;
if(plainSelect.getLimit() == null) plainSelect.setLimit(limit);
}else if(selectBody instanceof SetOperationList){
SetOperationList setOperationList = (SetOperationList) selectBody;
if(setOperationList.getLimit() == null) setOperationList.setLimit(limit);
}
}
System.out.println(selectStatement.toString());
Thanks.
Lim.

Tostring and deparser try to reconstruct the parsed SQL as good as possible. There is no oracle or mysql switch.

@wumpz, I just want to make a Oracle sentence from JSqlParser PlainSelect instance, may I know how to realizing this demand?
Thank you very much!

@awfssv Back online. Do you mean by sentence an oracle formatted sql?

It would be nice to have a result sql and the expected sql you want to achieve.

Should I close this? I expected some more data.

Can probably close this since it's been 2 years?

Since there was no answer at least for two years.


initCommands doesn't work with sweetpad-lldbtype

my scenario is I want to load ~/.lldbinit in lldb when it's launched in vscode, because vscode doesn't source ~/.lldbinit automatically
in the type of lldb, I can add initCommands then I can source it
but the sweetpad-lldb doesn't have it and there might be some other items
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "sweetpad-lldb",
            "request": "launch",
            "name": "Attach to iOS app (SweetPad)",
            "preLaunchTask": "sweetpad: launch",
        },
        {
            "type": "lldb",
            "request": "attach",
            "name": "Attach(LLDB)",
            "waitFor": true,
            "program": "${command:sweetpad.debugger.getAppPath}",
            "initCommands": [
                "command source ~/.lldbinit"
            ],
        }
    ]
}

You can pass "initCommands" as in your second example; all those attributes will be proxied to the "CodeLLDB" debugger.
However, I've noticed that VSCode highlights it with a warning indicating that such an attribute doesn't exist in the schema. Instead of adding each CodeLLDB attribute to "sweetpad-lldb," I've added a codelldbAttributes attribute in the latest release with a free form object that will be passed to the CodeLLDB debugger.
You can use both options, but maybe codelldbAttributes will be less annoying than seeing all those warnings.


feat(updater): add new filter/function extract for tera. Extraction attributes from an object or list of object.

:tada: This PR is included in version 2.5.0 :tada:
The release is available on:

v2.5.0
GitHub release

Your semantic-release bot :package::rocket:


Overview: May 2020 Sprint

Isaac and I are doing a three-week-long sprint on re-frame - starting 4th May. Isaac's time is being paid for by ClojuristTogether funding.  My time is paid for by Day8.  So between us, we have about 6 man-weeks.
At a high level, the strategy is:

[ ] do the low hanging fruit (there are a few smaller, easier issues)
[ ] do a release
[ ] create a grown-up website and fix up documentation which has fallen a bit into disrepair. This is a bit scary because it could take an infinite amount of time, so how do we limit it?
[ ] attack three of the bigger, meatier issues:  BranchScope, Multiple frames on a page, views. All three of these issues are interrelated.
[ ] do a release

This will likely take longer than six man-weeks. And then there will be necessary adjustments to re-frame-10x. To quote a line from the movie Get Shorty "This is only the second day, and we're already two weeks behind." But, one step at a time, let's just see how we go.
I will update this issue with new thoughts as we go.  We will probably engage with the community via the clojurians #re-frame channel.  If you are interested in the process, please keep an eye out there.

Progress on the early low-handing-fruit step:

[x] thoroughly review all the existing issues and PRs.
[x] close any issues which need it
[ ] work on the list of issues we find to be "low hanging fruit"

Progress ...
Closed with explanations:

#553
#572
#555
#112
#481
#164
#554
#480

Fixed:

#544 and  #456
#216

Created:

#588

[x] some distracting issues with re-frame-template, shadow-c;lj and Lein-Shadow
[x] some distractions with re-frame-10x (almost there)
[ ] about to cut a new release which includes the low hanging fruit

New website progress:

[x] learning new static site generator
[x] a lot of issues with using Klipse (to supply a page of live coding)
[x] a Github actions based build system for new website
[x] a LOT of rewriting, writing and thinking

Sample:  https://gist.github.com/mike-thompson-day8/560b37cc06829fb80341cf6915350628

The new re-frame website is now up at: http://day8.github.io/re-frame/

[x] new FAQ item added which closes https://github.com/day8/re-frame/issues/538

Many docs improvements have been made recently, almost too numerous to mention but some are:

new FAQ on laggy input
new FAQ on field focus
added to existing FAQ on global interceptors
Additions made to External-Resources
completely reworked Infographics for Dominoes 1,2 3
completely reworked Infographics for Interceptors. See also other explanations added to that tutorial.


Source still references GPL

We may run into issues using this library because GPL is still referenced in the source here
https://github.com/medialize/URI.js/blob/gh-pages/src/URI.js#L11

we dropped GPL a while ago. Even though the comment still references GPL, it is the MIT license that applies.

last traces of GPL removed in 1.17.1


⚠ Thumbnails API Endpoint has degraded performance

In fae1061, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 4284 ms

Resolved: Thumbnails API Endpoint performance has improved in e7fd9f6.


MGMT-15330: Make the custom manifest YAML editor read-only

https://issues.redhat.com/browse/MGMT-15330

@jgyselov these changes don't affect tests for yaml's upload?

@jgyselov these changes don't affect tests for yaml's upload?

If it did, the test wouldn't pass without changes. (We are using the upload function in the tests, we are not typing the YAMLs manually.)

@jgyselov these changes don't affect tests for yaml's upload?

If it did, the test wouldn't pass without changes. (We are using the upload function in the tests, we are not typing the YAMLs manually.)

Perfect. Sorry, I wrote my comment before all tests passed. Good job

Perfect. Sorry, I wrote my comment before all tests passed.

I usually run the tests locally before I push to GH. So in case they fail, I can properly look into it right away. :slightly_smiling_face:

@talhil-rh FYI


refactor(mv): move to clap & add tests

Auto approving as I did this kind of changes a few times :+1:


Can't Run Traccar Web Interface

Hi,
I can't seem to be able to run traccar web interface
Inspect element on Chrome kept saying
GET http://<IP_ADDRESS>/api/server?_dc=1466691317112 404 (Not Found)
[E] Ext.JSON.decode(): You're trying to decode an invalid JSON String: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<title>404 Not Found</title>

Not Found

The requested URL /api/server was not found on this server.

<address>Apache/2.2.22 (Ubuntu) Server at <IP_ADDRESS> Port 80</address>

Object
console.trace()
Uncaught Error: You're trying to decode an invalid JSON String: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<title>404 Not Found</title>

Not Found

The requested URL /api/server was not found on this server.

<address>Apache/2.2.22 (Ubuntu) Server at <IP_ADDRESS> Port 80</address>

My server's url is http://<IP_ADDRESS>/debug.html

Restarted VPS
Restarted Traccar
now presented with

Are you using Apache server as a proxy?

I don't think I set apache server as proxy.
just finished install lamp as in digital ocean's article
OS : ubuntu 12.04 64bit

How did you install Traccar?

as the traccar documentation suggest.
copy the traccar.run and run sudo ./traccar.run
run sudo /opt/traccar/bin/traccar start
said that traccar is already running

Have you changed web port in the config file?

yes, I changed it to port 80 instead of 8082

Well, I can see that you have Apache server running on port 80, and it's not possible for two processes to listen on the same port. So, you must be missing something.

works well after changed back to port 8082.
so I just have to keep it running at port 8082?

You can change it to 80, but then you need to either change port in Apache or stop Apache.

ah.....
ic, so that's where i went wrong.
thanks for the enlightenment

Traccar has its own embedded web server, so you don't need Apache.


Interoperability issue with mesh interface name with single radio.

Traceback (most recent call last):
File "src/client-mesh.py", line 215, in
mac = get_mac_address(interface=get_mesh_interface())
File "src/client-mesh.py", line 129, in get_mesh_interface
return list(interface)[0]
IndexError: list index out of range

Closed by #66


Api tests

Write tests for all possible queries using the API.
Write tests for invalid queries : Invalid from and to dates and invalid bounding box.

:+1: @arunasank


Fix user verification

There was a bug where clicking your verification link twice would cause an error.

Changes Unknown when pulling 1cd510ba8db84add1e58cda7e18743de0fb69b2f on RickCarlino:fix_user_verification into ** on FarmBot:master**.

Changes Unknown when pulling 1cd510ba8db84add1e58cda7e18743de0fb69b2f on RickCarlino:fix_user_verification into ** on FarmBot:master**.


gcc7: missing qtopengl

In the newly available gcc7-qt5.6 build qtopengl is missing. I guess it should be included, because it is also included for the gcc4.8 based builds. Maybe libgl isn't found/configured correctly. I see this in many builds and adding - {{ cdt('mesa-libgl-devel') }}  # [linux] maybe helps. But I am not sure as this is good practice as this also pulls in libx11-cos6-x86_64.

as this also pulls in libx11-cos6-x86_64

I think you may misunderstand how CDT packages work. They are never pulled in or installed on end users' systems. They act only as build time proxies for system libraries.

Either it is a problem or not if xorg-x11 and libx11-cos6-x86_64 are installed in build-env and host-env.

It is never installed in host envs. Was I unclear in that?
Until cf provides libGL you have no option. But honestly it's far and arrest the best option so I really really don't get your injections in the slightest. What exactly is wrong with requiring a CDT packages at build time?  What problem will that create for the built package. Yeah you need to use your system GL libs, but those will be far faster than a Mesa software renderer for most people as it'll use those GPUs.

Either it is a problem or not if xorg-x11 and libx11-cos6-x86_64 are installed in build-env and host-env.

Please assess the value of this comment from a 3rd party person perspective.

refs:
https://github.com/conda-forge/pyqt-feedstock/pull/41
https://github.com/conda-forge/qt-feedstock/pull/81

thanks solved with: https://github.com/conda-forge/pyqt-feedstock/pull/41


Numeric value shown in the centre of the gauge is always '0'

The numeric value shown in the centre of the gauge is always '0'.  It's the same situation in the screenshot on the community page.  I was expecting it to be the numeric 'value' passed in and the same as that graphically displayed in the gauge.  I'm currently testing on v7.11.

Thanks Gerard. Looks like this hasn't worked for a long time (we have folks here using these libraries so presumably they haven't noticed the value being 0!). I'm using a library to draw the gauges and it appears the version I have is ancient - I'm updating my code to use the latest version of the library and will publish a fixed version shortly...

I've fixed this - hopefully you'll automatically pick up the new released version.

Thanks Pete


Use thin lto and strip release binaries

Simple profile.release config. Reduces binaries on Linux from 18MB -> 8.5MB, similarly reduces docker image size by ~10MB.

Thanks for the contribution


Multiline cells: Is that still impossible?

I'm not able to configure DropDown to show multiline cells if the content is too long. Any suggestions? Is that still impossible with this pod ?
By the way, this isn't working
`        dropDown.customCellConfiguration = { (index: Int, item: String, cell: DropDownCell) -> Void in
        cell.optionLabel.textAlignment = .center
        cell.optionLabel.numberOfLines = 0
        cell.optionLabel.lineBreakMode = .byWordWrapping
    }`

You can check out a concrete example in the Demo inside this project (go to ViewController.swift, line 125).
For this you have to:
Create a DropDownCell subclass (e.g. MyCell.swift)
class MyCell: DropDownCell {
@IBOutlet weak var logoImageView: UIImageView!
}
Create your custom xib (e.g. MyCell.xib) and design your cell view in it
Link the cell in your xib to your custom class
At least have a label in your xib to link to the optionLabel IBOutlet in code (optionLabel is a property of DropDownCell)
Then, you simply need to do this:
let dropDown = DropDown()
// The view to which the drop down will appear on
dropDown.anchorView = view // UIView or UIBarButtonItem
// The list of items to display. Can be changed dynamically
dropDown.dataSource = ["Car", "Motorcycle", "Truck"]
/*** IMPORTANT PART FOR CUSTOM CELLS ***/
dropDown.cellNib = UINib(nibName: "MyCell", bundle: nil)
dropDown.customCellConfiguration = { (index: Index, item: String, cell: DropDownCell) -> Void in
guard let cell = cell as? MyCell else { return }
// Setup your custom UI components
cell.logoImageView.image = UIImage(named: "logo_(index)")
}
/*** END - IMPORTANT PART FOR CUSTOM CELLS ***/
And you're good to go! 🙆
For a complete example, don't hesitate to check the demo app and code.

+1 even using a custom cell with the optionLabel it doesn't work


board support tinyAVR

after testing compilation for avr 3216 with this
https://github.com/SpenceKonde/megaTinyCore
I encounter many compilation problem.
is there a plan to support theses board?
Errors linked in attachment
Arduino  1.8.19 (Windows 10), Carte.txt

Please,
use this one: https://github.com/SpenceKonde/ATTinyCore
Regards,
Ricardo.
On Sun, Oct 27, 2024 at 7:48 PM bodtx @.***> wrote:

after testing compilation for avr 3216 with this
https://github.com/SpenceKonde/megaTinyCore
I encounter many compilation problem.
is there a plan to support theses board?
—
Reply to this email directly, view it on GitHub
https://github.com/pu2clr/RDA5807/issues/21, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVSJNAJVXQUQ5WDSTJC3YTZ5VNTLAVCNFSM6AAAAABQWHW7USVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTMOJSGU4TOMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
QRZ: http://www.qrz.com/db/PU2CLR
Skype: ricardo_caratti
Mobile: +55 61 981442296

Ok so classic avr ones not the new one from 2017


Unexpected escaping behavior

Take the following code:
package main

import (
	"fmt"

	"github.com/gobwas/glob"
)

func main() {
	var g glob.Glob

	// create simple glob
	g = glob.MustCompile("foo\\bar")
	fmt.Printf("%+v", g.Match("foo\\bar"))
}

It returns false although I would expect true. Using fmt.Printf("%+v", g.Match("foobar")) return true, although I would expect false.

I understand now that \\b matches literal b. To achieve the above I would need to use foo\\\\bar