Having crates that are both workspace members and not

Problem
I'd like to treat some crates in my workspace as independent packages because they will be built in the Cloud independently from the other crates in the workspace. On the other hand, I use the workspace to improve the local development experience.
I've got a shared lib. I install it as a git URL to be independent.
But I overwrite it in the .cargo/config.toml to use my local path instead, during the development.
Currently, because of the workspace I get a single Cargo.lock file and a single target folder in the root. The package update also doesn't work because of the override. So I cannot treat it independently. I manually have to remove it from the workspace, and disable the override, when I release.
I'd like to have another Cargo.lock inside the "independent" member crates. With target folder as well.
Proposed Solution
It would be good to have a cargo --treat-independently flag, that would ignore the existence of workspace for that command only.
It would be also good to have a cargo --ignore-patch flag that would ignore the overrides like this:
<EMAIL_ADDRESS>dropit-service-lib = { path = './dropit-service-lib' }

So that I could update the dependencies.
Notes
No response

For ignoring patches, you can rename the config file to something like .carog/myconfig.toml and load it on demand with --config flag. It accepts a path to extra config file.
For treating independently, can you expand more on this? I can't see why they don't fit in the same workspace.


Mount patch invisible

I can't see any mount patch in container information. This is something you have manage according to screenshots at your website.
Best tool to handle docker, keep up the good work!

I see this issue as well. Container links are present as are processes & ports but not volumes.
Incidentally I can't configure a volume to be ro in Shipyard

This looks like a bug.  Thanks for reporting.


Implement 2D scan simulation in Python

Implement 2D scan simulation in Python as a separate module for easier testing before integrating it into the env.

Milestone finished by this commit


remap evoked/epochs to virtual magnetometers to avoid the ugly combine of planar grads

we should create a new coil type if needed and it would be the best way to interpolate bad MEG or EEG channels....
that would be a killer feature :)

I just discussed this with @Anevar. Here is the API we chalked out:
surface = 'head'  # can be 'helmet' or 'both' also
from mne import make_virtual_evoked
evoked = make_virtual_evoked(subject=subject, subject_dir=subject_dir, surface=surface)
evoked.plot_topomap()

All the other stuff should be hidden from the users. We can create fiff constants for a new coil type. @Anevar can start hashing out the code now that she is familiar with git :) Thoughts @agramfort ?

sounds good but don't forget to pass evoked to make_virtual_evoked :)


Add different searchBy criteria in book service and Modify update book.

Added different methods in the service layer to search by Book Title, ISBN, zip code, and user. Modified the update-Book to only update specific attributes such as the description, author, and genre. Also added UserBookDto for the user-copy book to reflect both user and book details.

resolved conflicts


Create embed for list of all alerts

Added separate json output structured for the list: https://github.com/smartchicago/trailsyserver/commit/a1bbbd0414c806fddb1b5dd2fc642dc3e09cea3f
Developing basic html page/list that can be embedded https://github.com/smartchicago/trailsy-vis

@shua123 This looks good. Do we need to style it on the embed side or will we be able to do it on fpdcc.com?

Easiest would be to just do it on the embed at least to start.
To get css from the parent to the iframe the iframe has to pull the parent's css through javascript. I haven't tried that yet though.

I need to provide styling.

This looks good. Can we wrap the POI/Trail names in  and update to this:
a{color: #424d1d; text-decoration: underline} a:hover,a:focus{color: #23527c;text-decoration:none} .h4, .h5, .h6, h4, h5, h6 {margin-top: 20px;margin-bottom: 10px}

Can we also change "Global Alerts" to "General Alerts"

Updates made.

Can you wrap General Alerts in
 too. You can also eliminate the  on all the POI-Trail names.

Styling updated: https://github.com/smartchicago/trailsy-vis/commit/38b3f056e7f87ccab096c8f75aaf8b2cab1ea43b

How are these ordered? Can we get them in alpha order?

I've updated the list json to order all POIs by name, then all trail systems by name.
https://github.com/smartchicago/trailsyserver/commit/710814d1db8ff200884b783ae13781f3f81669bd

That works. I tested on the site and we are good. Is this going to live on GitHub or be moved to the production server?


startup commands from command line for wt

Ability to set startup commands from command line startup.
What I want is to be able to set startup command of the terminal tab/pane from a command line option for wt.
Something like "--startup" option. There is an example of the usage down below.

Proposed technical implementation details

Example is for settings an environmental variable for git bash. Each pane in each tab gets its own prefix group name preceeded by the path. Open wt and 2 split panes with git bash and just execute TITLEPREFIX=G1 in each pane and see for yourself. :)
But basically it is for executing a command initially for each tab/pane.
example usage: (imagine as single line, switched to multiline for readability)
wt  -d {PATH1} --startup "TITLEPREFIX={Group1}" ;
split-pane -V -d {PATH2} --startup "TITLEPREFIX={Group1}" ;
split-pane -V -d {PATH3} --startup "TITLEPREFIX={Group1}";
new-tab -d {PATH4} --startup "TITLEPREFIX={Group2}";
split-pane -V -d {PATH5} --startup "TITLEPREFIX={Group2}" ;
new-tab --title web -d {PATH6} --startup "TITLEPREFIX={Group3}";
split-pane -V -d {PATH7} --startup "TITLEPREFIX={Group3}";
new-tab --title mobile -d {PATH8} --startup "TITLEPREFIX={Group4}";
focus-tab -t 0

Maybe #6776 ?

yes, seems like #5528


[GH-33] implement auto detection mode for peering.

This PR adds auto peering detection support to the Kopf.

Issue : #33 (only if appropriate)

Description
A few sentences describing the overall goals of the pull request's
commits.
Types of Changes
What types of changes does your code introduce? Keep the ones that apply:

New feature (non-breaking change which adds functionality)
Refactor/improvements

Review
List of tasks the reviewer must do to review the PR

[ ] Review the code

@nolar I will write the tests and document it once we agreed on the implementation.

@psycho-ir PS: Also, feel free to remove the clutter from the PR body if you want. (I think, the PR template must be reduced to only an issue reference (it is mandatory), with no implicit structure. — Will do later.)

I've tried it locally. There is a little bug with the ...cls(peering=None,... — crashes on start (see comments). Once fixed, it works nice in all modes, exactly as intended.
Would you like to extend the docs (docs/peering.rst → https://kopf.readthedocs.io/en/latest/peering/) in this PR? Or I can do this in the following PRs, together with other peering doc changes.

Sure, I will extend the docs tomorrow and try to add some tests for it.

@psycho-ir So, it is merged and released as kopf==0.9. Congratulation! And big thanks for your contribution!

@nolar yaaaaaay. what is the next milestone? Would be happy to contribute more in this project.

@psycho-ir
Currently, the milestone 1 is this:

Tests, tests, tests — to bring the repo to a healthy state, so that I am not afraid to introduce new changes without breaking things. 90% of them are done, just in the PRs or in my local branches waiting for some PRs to be merged.

Silent spies on the events (see #30 ) — to react to the events in pods, persistent volume claims, etc, without storing the handler status. Already implemented in my local branch, waiting for the tests.

Finish the tutorial in the docs, so that the kind: EphemeralVolumeClaim becomes a real example operator in its own repo, uploaded to the DockerHub, etc. Partially drafted in the docs (in pieces), though not actually tested in real cluster. Waiting for the missing feature of the silent spies.

Since then, the framework is sufficiently feature-rich for the first stage (it is now, actually, just the docs do not feel complete), and can be advertised in public: meetups, blog posts, so on.
Based on the real-world feedback, the next milestones can be defined.
The real-world usage is the most important goal now. I.e., getting the operators implemented with this framework (and preferably shared).
Meanwhile, I write down all the ideas that come to my mind as the issues. If you have some suggestions, feel free to create the issues too. Examples: #44, #45, #46.


Consider exposing credentials via an environment variable that isn't $HOME

In the creds-init docs under the section Exposing the credential integration it says

To solve this, prior to even the Source step, we will run a credential initialization process that accesses each of its secrets and aggregates them into their respective files in $HOME.

Expected Behaviour
The $HOME env var exposed matches the pathname of the user's home directory. As per the POSIX definition.
Actual Behaviour
Certain applications fetch the user's home directory using the syscalls getpw*. This returns a different directory than  the$HOME env var that's set by the build controller for each step.
Steps to Reproduce the Problem
Write a go program and use the os/user package to print the current user's home dir using HomeDir.
Make sure the program is compiled with cgo enabled. Enabling cgo uses the getpwuid_r
Potential Solutions

Update the entry in/etc/passwd have have pw_dir match the cred-init path
Change the cred-init $HOME to match what's in the /etc/passwd
(preferred) Use a different env var to refer to the location of the cred-init output

This issue affected me today. It turns out that maven uses (one of the many mechanisms to) determine the home directory from the users specified home directory rather than using $HOME. Thus whilst creating files in $HOME (specifically $HOME/.m2) they were not being reflected in maven.
I would like $HOME to not be changed by knative. However I also need the docker config.json which knative places in /builder/home, and I realise determining where else this should go by reading the image is non trivial

This explains the need for this workaround
https://github.com/knative/build/blob/95e3199746a50f0a4e4ba62f1d8760e9a203b30e/cmd/git-init/main.go#L59-L67

/assign @shashwathi

Moving some of the discussion form #373 to here:
Some context from @ImJasonH: https://github.com/knative/build/pull/373#issuecomment-424092807

Another benefit of having a persistent $HOME dir is to support tools that write config to $HOME, e.g., git config user.name or gcloud config set project. We got a fair number of confused users in GCB before we persisted $HOME across steps, since they would set some config in step 0 and it would be gone by step 1.

I don't think the Build CRD can reliably assume and specify a $HOME directory due to the infinite variability of the images being used in a build's steps. For example an image can change the running user or even change the user home directory in /etc/passwd.  Because of this programs that don't read the $HOME env var break and require work arounds.  For now we know this affects apps built with go & java since their stdlib uses a syscall which reads /etc/passwd
Using a different env var ie. $BUILDER_HOME would require steps to parse the file contents of the directory. I'm wondering a better approach would be to hint available credentials & configs with more specified env vars
ie.

BUILDER_SSH_CONFIG specifies the location of ssh credentials provided by creds-init
BUILDER_DOCKER_CONFIG specifies the location of a docker config file provided by creds-init

It would be each step's responsibility stage these appropriate locations (since it will vary depending on the image).
In regards to users wanting a persistent $HOME maybe this becomes their own responsibility to manage. It could be accomplished through the use if an emptyDir volume that's specified in their Build spec.

/cc @nebhale who's been working on the java-buildpack


Faces Updated Slides

43LL0,
We changed the instructions for this task, so these are the newest slides.
Emotional_Faces_Instructions_10_25_22.pptx

updated the slides.
Would need audio for this updated so i'll still keep it open.

Audio will be coming..... hopefully soon. In the meantime, someone gave feedback that when they got a "too slow" screen, it moved too quickly onto the next picture. We would like to add a crosshair after the "too slow" screen before the next tone and face. Coolio, right on, rad dude, thanks

Small update to this issue:
As of commit ec3ec030accd249f26db3354c9c39011d6fe25b1, fixations now occur after every trial.


Could you tell me where I can find datasets.mv_disn_ABC?

你好，请问你成功复现了吗？我也想使用这个模型

Did you get datasets.mv_disn_ABC?I have the some question


Enable Adam learning rate decay and restarts

To experiment analysis from Denkowski et al. 2017.

Codecov Report

Merging #362 into master will increase coverage by 0.02%.
The diff coverage is 70%.

@@            Coverage Diff            @@
##           master    #362      +/-   ##
=========================================
+ Coverage   71.07%   71.1%   +0.02%
=========================================
  Files          70      70
  Lines        5826    5834       +8
=========================================
+ Hits         4141    4148       +7
- Misses       1685    1686       +1

Impacted Files
Coverage Δ

onmt/train/Optim.lua
56.47% <70%> (+0.91%)
:arrow_up:

onmt/utils/Features.lua
98.38% <0%> (+1.61%)
:arrow_up:

Continue to review full report at Codecov.

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

@sebastianGehrmann who added this to opennmt-py, we should sync names...

Hi @guillaumekln, I also was testing this feature with my own implementation.
One thing I noticed was that setting each optimState to an empty table resulted in an out of memory error when GPU memory was nearly full, so instead I zeroed the tensors in the tables, for example:
...
elseif self.args.optim == 'adam' then
self.optimStates.t = 0
self.optimStates.m:zero()
self.optimStates.v:zero()
self.optimStates.denom:zero()
end
(I was lazy and didn't implement for the other optim. algorithms ... yet)

I confirm the OOM error just at the epoch it starts to decay
[08/28/17 05:39:41 INFO] Sampling dataset...
[08/28/17 05:39:42 INFO] Sampled 50000 instances into 822 batches.
[08/28/17 05:44:53 INFO] Epoch 400 ; Iteration 500/822 ; Optim ADAM LR 0.0002 ; Source tokens/s 2579 ; Perplexity 7.03
[08/28/17 05:48:12 INFO] Epoch 400 ; Iteration 822/822 ; Optim ADAM LR 0.0002 ; Source tokens/s 2550 ; Perplexity 6.97
[08/28/17 05:48:12 INFO] Evaluating on the validation dataset...
[08/28/17 05:48:25 INFO] Validation perplexity: 6.49
[08/28/17 05:48:25 INFO]
[08/28/17 05:48:25 INFO] Sampling dataset...
[08/28/17 05:48:26 INFO] Sampled 50000 instances into 822 batches.
THCudaCheck FAIL file=/home/moses/torch/extra/cutorch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memory
/home/moses/torch/install/bin/luajit: ./onmt/train/Optim.lua:255: cuda runtime error (2) : out of memory at /home/moses/torch/extra/cutorch/lib/THC/generic/THCStorage.cu:66
stack traceback:
[C]: in function 'new'
./onmt/train/Optim.lua:255: in function 'adamStep'
./onmt/train/Optim.lua:128: in function 'prepareGrad'
./onmt/train/Trainer.lua:258: in function 'trainEpoch'
./onmt/train/Trainer.lua:425: in function 'train'
train.lua:173: in function 'main'
train.lua:178: in main chunk
[C]: in function 'dofile'
...oses/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670

@guillaumekln I got another "issue" to report.
Optim is called from trainer.
When you start to decay at start_decay_at=epoch 400 for instance, it supposed to apply the decayed learning rate for epoch 401.
When it comes to call updatelearningrate at the end of epoch 400, then it will reset the states BEFORE saving the checkpoint, which mean in the end the checkpoint of epoch 400 will take into account the state reset.
I realized this when I saw the size of my checkpoint (1.1GB versus 2.7GB for the previous epochs ...)
I hope my point is clear enough.

@srush Ok, I will sync the name with the PyTorch version.
@jungikim Indeed, it seems safer not to rely on the Lua garbage collector. I think we can just loop on the state and zero each Tensor. I will add that.
@vince62s Is it unexpected? If that's an issue, it seems you did not want to enable state reset.

well  I would say, what is expected is that the model is saved at epoch 400 with its states, then you reset the states and decay for epoch 401, and model at epoch 401 is saved with the new states.
Anyhow, this i snot working very well. After the state reset, the PPL or whatever metric jumps way too high.


not able to upload file successfully over http using ngrok/over LAN

I tried to upload a file from localhost in the same system. It is working fine.
When I tried to upload file from other other device over LAN, it is just creating a file but not writing the data into file object.
I also tried ngrok to upload file from a device outside of LAN, it is just creating a file but not writing the data into file object.
all the trails I did till now are over http
Example
Here's a self-contained, minimal, reproducible, example with my use case:
from fastapi.middleware.cors import CORSMiddleware
from fastapi import Request, Depends
from fastapi import FastAPI
import uvicorn

app = FastAPI(title='xxxxxxxxxxx',
        description='xxxxxxxxxxxxxxxxx API',
        version='1.0.0', redoc_url = None,)

origins = [
    "*",
]

app.add_middleware(
    CORSMiddleware,
    allow_origins=origins,
    allow_credentials=True,
    allow_methods=["*"],
    allow_headers=["*"],
)

@app.post("/uploadfiles/")
async def create_upload_files(files: List[UploadFile] = File(...)):#, file_size: int = Depends(valid_content_length)):

    allowed_file_content = ['application/zip', 'image/jpeg', 'image/jpg']
    dest_path = "E://************************/"

    for file in files:
        async with aiofiles.open(os.path.join(dest_path, file.filename), 'wb') as folder:
            content = await file.read()
            await folder.write(content)

@app.get("/")
async def main():
    content = """
<body>
<form action="/uploadfiles/" enctype="multipart/form-data" method="post">
<input name="files" type="file" multiple>
<input type="submit">
</form>
</body>
    """
    return HTMLResponse(content=content)

if __name__ == "__main__":
    uvicorn.run("pilot:app", host="<IP_ADDRESS>", port=8000, reload=True)

Description

Open the browser(from different device or use ngrok) and call the endpoint /.
It returns a JSON with html file`.
But I expected it to return the full file in the destination path.

Environment

OS: [Windows]:
FastAPI Version [0.63.0]:

Additional context
Headers({'host': '<IP_ADDRESS>:8000', 'connection': 'keep-alive', 'content-length': '339374', 'cache-control': 'max-age=0', 'upgrade-insecure-requests': '1', 'origin': 'http://<IP_ADDRESS>:8000', 'content-type': 'multipart/form-data; boundary=----WebKitFormBoundaryu3nR8DFKxTkBxBH8', 'user-agent': 'Mozilla/5.0 (Linux; Android 9; VTR-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36', 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9', 'referer': 'http://<IP_ADDRESS>:8000/upload_file', 'accept-encoding': 'gzip, deflate', 'accept-language': 'en-US,en;q=0.9'})
followed this reference too.. but no use.
https://stackoverflow.com/questions/63580229/how-to-save-uploadfile-in-fastapi

Hi thanks, the issue is resolved.it is due to firewall.

Thanks for reporting back and closing the issue 👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


update CloudBread-DB-Install-Script Readme file

change installation guide from

install-with-sample.bat.bat
Install all database objects , stored procedures and sample data.
install-CloudBreadDB-object-create.bat SQLSERVER USERID PASSWORD DATABASE

TO
2) install-with-sample.bat
Install all database objects , stored procedures and sample data.
install-with-sample.bat SQLSERVER USERID PASSWORD DATABASE

Issue, closed


perf(next): replace plugin-react with plugin-react-swc

#570  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


Migrate Sticky Header to Lit

[x] Convert JS to Lit
[x] Convert CSS to be extendable
[x] Create description page

Implemented in https://github.com/YuraVolk/Js-Library/commit/551c4a43113fb15583a7579dbf0f1cc4606d5f10.


fix: remove redundant isOpen state in modal

Remove inner open state from modal to avoid synchronisation problem with outer state.

with props like isOpen, I suggest that we use a pattern where;

if isOpen is present in props, but relevant callback is not present (onClose in this case), we respect the prop value over internal state value only when it is updated. The result would be that the component would work normally, unless the controlling prop is updated, without the need to explicitly pass the callback to handle the other state.
if both isOpen and onClose are present in props, let the onClose prop control the state.

Any thoughts on this @aashishsingla567 ?

with props like isOpen, I suggest that we use a pattern where;

if isOpen is present in props, but relevant callback is not present (onClose in this case), we respect the prop value over internal state value only when it is updated. The result would be that the component would work normally, unless the controlling prop is updated, without the need to explicitly pass the callback to handle the other state.
if both isOpen and onClose are present in props, let the onClose prop control the state.

Any thoughts on this @aashishsingla567 ?

These are the problems -

In case on isOpen is given its value will remain false even when the modal is opened.
hence, the modal will not close on setting it to false even when setIsOpen(false) is called, as the value is already false.
When we want to keep the modal open not matter what, until will change the outer state to false. Currently we are not capable of preventing outside clicks from closing the modal.

Having two states for same thing makes it harder to keep them in sync. I think this leaves scope for unpredictable behaviour.

Fixed in https://github.com/tiwariav/wo-library/commit/0a97b9a6fdd19b3906ebce520c897ce536efbf85


Using headless-ui with Fresh

Hi,
I'm trying to use the Headless UI Tabs component in a Fresh project, but I'm running into issues. Headless UI seemed like a natural go-to since Fresh ships with tailwind (via twind). It doesn't work out of the box since it's made for React, so I get:
This JSX tag's 'children' prop expects a single child of type 'ReactNode | ((bag: TabsRenderPropArg) => ReactElement<any, string | JSXElementConstructor<any>>)', but multiple children were provided.deno-ts(2746)

Since this is a React library, I tried using the Preact compat layer, like so:
import { Tabs } from "https://esm.sh/@headlessui/react@1.6.6?alias=react:preact/compat";

This got rid of the Typescript errors I had, but I get runtime errors:
TypeError: Cannot read properties of undefined (reading '__H')
    at f (https://esm.sh/v87/preact@10.10.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/hooks.js:2:217)
    at A (https://esm.sh/v87/preact@10.10.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/hooks.js:2:935)
    at R (https://esm.sh/v87/preact@10.10.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/hooks.js:2:695)
    at C (https://esm.sh/v87/@headlessui/react@1.6.6/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/react.js:2:6377)
    at https://esm.sh/v87/@headlessui/react@1.6.6/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/react.js:5:66648
    at Object.t (https://esm.sh/v87/preact@10.10.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/compat.js:2:1609)
    at h (https://esm.sh/v86/preact-render-to-string@5.2.0/X-ZC9wcmVhY3RAMTAuOC4y/deno/preact-render-to-string.js:4:1003)
    at h (https://esm.sh/v86/preact-render-to-string@5.2.0/X-ZC9wcmVhY3RAMTAuOC4y/deno/preact-render-to-string.js:9:66)
    at h (https://esm.sh/v86/preact-render-to-string@5.2.0/X-ZC9wcmVhY3RAMTAuOC4y/deno/preact-render-to-string.js:9:66)
    at h (https://esm.sh/v86/preact-render-to-string@5.2.0/X-ZC9wcmVhY3RAMTAuOC4y/deno/preact-render-to-string.js:9:66)

Then I check the Preact documentation again and added all of the rest of the aliases:
import { Tab } from "https://esm.sh/@headlessui/react@1.6.6?alias=react:preact/compat,react-dom/test-utils:preact/test-utils,react-dom:preact-compat,react/jsx-runtime:preact/jsx-runtime";

But that brings back the Typescript errors as well as the runtime error (slightly different paths due to different aliases).
So I'm at a loss here - can I even get this to work?

Importing https://esm.sh/@headlessui/react@1.6.6?alias=react:preact/compat,react-dom:preact/compat<EMAIL_ADDRESS>works for me.
Ideally https://esm.sh/@headlessui/react@1.6.6?alias=react:preact/compat,react-dom:preact/compat,@types/react:preact/compat&external=preact would work, but that seems to be running into some esm.sh bug. cc @ije: the external=preact is not applying to most imports it seems.


Add format weighting test

We are going to boost popular documents based on format
https://trello.com/c/s2AyzI3N

I've updated this to resolve the merge conflict. I'll merge with master now.


Clean up and document metrics [databricks]

This fixes #3243
This fixes #2527
This removes total time and replaces it with op time, among other metrics. I am open to modifying/adding in other metrics like in #2527.

build

build


Rc 5

Trying to fix this:
https://github.com/benjaminhoffman/gatsby-plugin-segment-js/issues/58

@benjaminhoffman @eDubrovsky
Do you have a few minutes to have a look at this? Especially the options that are available, and what it says that they do.
@eDubrovsky A few changes of note since the last beta you tried: delayLoadTime was changed to delayLoadDelay, and includeTitleInTrackPage is now defaulting to false.

bump @benjaminhoffman @edubrovsky

really wish there was a way to simplify all the page and load options... just feels like new devs will get bounce back and forth between which option is best and what happens when they include conflicting directions.

TBH, while I'm happy to contribute to this package and bring what I have to offer, I have to admit that I do not find myself super clear on the use-cases for some of the options, and I'm sure they could use better explantations...I've just reached my limit on that front with this library. Would you like to take a pass at updating the README to be more useful for Users? You probably know more about how this plugin is used than I do, I'm just doing my best to keep this thing modern, useful, feature-rich and bug-free.

did we / should we write tests for all the page options — like if they put both trackPageImmediately: true and trackPageOnlyIfReady: true... and other silly config like that?

I suppose it would be easy enough to validate the options in some manner that errors/warns when conflicting options have been provided.
Separate but related, "testing" out some of the functionality and behavior quirks would not really be possible without a more complex example site (probably not a big deal to enhance the existing one a little) combined with some sort of (headless) browser system to render the website in and watch the Network calls and/or the console logs. That's more than I'm willing to

I've just reached my limit on that front with this library

me too! i don't blame you even for a sec.  we're doing what we can and if others want to join in, happy to take the help.  do what you can and what you prefer, I appreciate the maintenance! 🙏


Player.command: Device not found.

If I supply or don't supply the device parameter to Player.pause, resume, play etc. The error device not found is thrown.
It is strange as just before that, I perform user.get_devices() and retrieve the Spotify.Device object, which I pass directly to the parameter.
Full traceback:
  File "spotiterm.py", line 54, in main
    options[input(green("Select Option: "))](client, user)
  File "/Users/github/SpotiTerm-Rewrite/general.py", line 181, in player
    options[input(green("Select Option: "))](chosen_device, _player, user)
  File "/Users//github/SpotiTerm-Rewrite/general.py", line 154, in controls
    _player.pause()
  File "/Users//.local/share/virtualenvs/SpotiTerm-Rewrite-5Ht0qwiq/lib/python3.7/site-packages/spotify/sync/models.py", line 42, in wrapper
    func(self, *args, **kwargs)
  File "/Users/.local/share/virtualenvs/SpotiTerm-Rewrite-5Ht0qwiq/lib/python3.7/site-packages/spotify/sync/thread.py", line 73, in run_coro
    raise err
  File "/Users//.local/share/virtualenvs/SpotiTerm-Rewrite-5Ht0qwiq/lib/python3.7/site-packages/spotify/models/player.py", line 82, in pause
    await self.user.http.pause_playback(device_id=str(device))
  File "/Users//.local/share/virtualenvs/SpotiTerm-Rewrite-5Ht0qwiq/lib/python3.7/site-packages/spotify/http.py", line 205, in request
    raise NotFound(r, data)
spotify.errors.NotFound: Not Found (status code: 404): Device not found```

Spotify details the response format for any player related actions as such:

When performing an action that is restricted, 404 NOT FOUND or 403 FORBIDDEN will be returned together with a player error message.

In you particular case:

For example, if there are no active devices found, the request will return 404 NOT FOUND response code and the reason NO_ACTIVE_DEVICE

And if we lookup what exactly NO_ACTIVE_DEVICE means:

Requires an active device and the user has none.

I don't believe Spotify actually defines what an "active device" is but in my experience, an active device is a device with a Spotify client actively streaming audio.
For you this means that you'd have to check for the presence of an active device, I recommend using the attribute Player.is_playing, and depending if one was found specify a device when performing player actions.

As for the library error, it looks like you should be able to pass a spotify.Device object directly. As the class does not define a __str__ its __repr__ is preferred leading to a bad id used when the api action is performed.
To solve this pass in the device id (device.id) with the device kwarg.


请问是否支持将模型导出为onnx格式呢？期待回复

请问是否支持将模型导出为onnx格式呢？期待回复

We are busy for other projects. It will be release in a couple of months.

好的 感谢回复 新项目加油！

You can refer to my work from
https://github.com/xuanandsix/CLRNet-onnxruntime-and-tensorrt-demo
An initial version code can implement onnxruntime inference and I will still try optimize it further.


A320 Aircraft Error

the error said cannot handle with mesh
this is the object i try to load "A320_NEO_LOD01.gltf"

same here


Worried about the Diamond dependency problem

Is your feature request related to a problem? Please describe.
I'm worried about diamond dependencies with this project.  As it grows more popular, more things will start relying on it and start causing conflicts with consumers.
For example, seeing packages constraining the upper limit can possibly slow adoption.

Describe the solution you'd like
Since this is just a pile of functions without much in the way of dependencies usually, it might want to explore this Source package approach.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I'm currently struggling with the following error, might that be caused by exactly what you're describing here?

System.TypeLoadException : Could not load type 'TaskResultBuilder' from assembly 'FsToolkit.ErrorHandling.TaskResult, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.

Possibly? Might need more context. Could also be missing the DLL in the directory of where ever you are running.

Well, I’m still investigating. It happens with dotnet test. Failed after updating from 2.x. It first complained about Pky not being there, which was implicit and not a problem before, so I added it manually. Then it gave the above error.
However, same solution on one system succeeds, in CI it succeeds, but not on mine, not on one other. All systems had the Ply error, but only some have the above. Even after cleaning/clearing caches etc. Still investigating. Will let you know, but may be hard to make a small repo.
Oh, also surprising, some functions that do use TaskResult, succeed. Some others fail.

It may be a dependency that itself uses F# task, and somehow this conflicts. But still, why it’s differently behaving per system is weird.

Meanwhile sorted it out. The problem was caused by some functions using helpers from our own Nuget package store that in turn used a 2.x FsToolkit. Upgrading that package to use the newer FsToolkit solved the issue.
My guess is that a conflict arose with these functions defaulting to Ply tasks, which ultimately caused a runtime error. Why it wasn't caught as a compile time error, I don't know.
I tried to create a minimal repro, but each time I dumbed it down, it "just worked".

I got the same issue:
System.TypeLoadException: Could not load type 'TaskResultBuilder' from assembly 'FsToolkit.ErrorHandling.TaskResult, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
After updating from the 2.3.1 version, I see this runtime error.
It happens only in build Debug (I don't see it in the Release).
Also I tried to add: true
But it doesn't help.


Question about  the demo?

Hi, how can I run a demo only for a file with images and no annotations? I find that the function

run_inference()

in test_engine.py  need json file for the dataset, but in my situation I only want to show the segmentation results of a few local figures.
Hope you can help! Thank you!

@ShuLiu1993

How were you able to run inference on images without the annotations?


Ido charts

Please read and mark the following check list before creating a pull request (check one with "x"):

[ ] I read and followed the CONTRIBUTING.md guide.
[ ] I read and followed the New Feature Checklist guide.

Short description of what this resolves:

one important note, add spaces between css blocks.

the prettier does it

prettier

no he doesn't


Show Pdf in Recyclerview

Did anyone implement this code for recyclerview.

I have implemented this.

Can you please send me the source code.
my email address is:  ###<EMAIL_ADDRESS>

@aayushthakur That would be very appreciated if you could share your solution with people.

This is my implementation of loading PDF in Recycler View with pinch zooming. Only API 21+. Will be looking for anyone to contribute to make a legacy version and improve it further...
https://github.com/LaatonWalaBhoot/PdfRedererRecyclerView

The sample given by @LaatonWalaBhoot is in Kotlin. Has anybody done it with java? Please share. Thanks.

I can do this in Java as well... @srgiitd

I am closing this issue/PR, as it has been migrated to the new repo linked above in the comments. Thank you!


Matterport and Stanford 2D3DS Datasets

The original GibsonEnv codebase worked with Matterport and Stanford 2D3DS but this newer version of the simulator requires a floors.txt for the environments. Is there a way to generate it or does your team have a copy of the required files?

Sorry for the delay! They were missing from our previous version of the dataset. They should all be there in the latest version.
If you fill out the form and click submit, you should be able to download 2d3ds_for_igibson.zip with the missing floors.txt. Let us know if this works for you and feel free to reopen if you have any other problems!

This problem still exits for the Matterport dataset. Do you have a new link for the Matterport dataset where the floor_heights.txt exists?

@DavidWatkins
We have updated our dataset and documentation. Could you follow this new documentation and try again? Thanks!
http://svl.stanford.edu/igibson/docs/dataset.html


Make Pagination component doc page examples be less awful

This looks like a holdover from the way we used to write examples, and I'm not even sure what all this React.createElement(...) class wrapping is about.

It's a combination of two things: (1) the playground widget requires you to give code that is one component (thus you can do <Whatever /> or you can do the non-JSX equivalent: React.createElement(Whatever, {...})-- this one just also defines the class inline (2) this example is showing how the pagination would be used (so we wrap the non-stateful thing with a thing that has state, for the sake of making it do something).


Add Regression Indicators

This sets up the notebooks performance test to create and use a RegressionIndicator from this matrix-benchmarking PR.
The idea is that we can create a number of different indicators from the base RegressionIndicator that provides a generic and flexible result that we can save and process upstream. I created a simple ZScoreIndicator to demonstrate this, it triggers when the new payload's KPI values are more than 3 standard deviations away from the mean value for that KPI among the LTS results. Hopefully we can use this to create a simple wrapper for datastax/Hunter.
There are still 2 work in progress issues to resolve with this PR:

Missing Settings: Some of the settings for an individual MatrixEntry are only present in the Matrix itself. In our testing payloads, an example would be version. I'm not sure why these settings aren't present in the MatrixEntry itself, but as currently written we can only restrict the settings that are present in the MatrixEntry.

Gathered Results: As discussed some of the LTS payloads have "gathered" results. I wasn't sure how to turn this off and couldn't flatten the Payloads since I couldn't deepcopy them.

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/184/pull-ci-openshift-psap-topsail-main-rhoai-light/1750426742431944704/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

@drewrip something went wrong with build (matrixbenchmarking commit wasn't available)
try git commit --amend --no-edit and force push it, and try to launch the test again

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/184/pull-ci-openshift-psap-topsail-main-rhoai-light/1750426742431944704/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/184/pull-ci-openshift-psap-topsail-main-rhoai-light/1750426742431944704/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/184/pull-ci-openshift-psap-topsail-main-rhoai-light/1750426742431944704/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

results
Looks like the analysis took place as expected. No regressions were found but there were a number of issues regrading payload validation. Obviously we need to make sure the payload schemas are consistent, but I'm wondering why the matrix entry location was /tmp/matrix_benchmarking_results/expe/from_url.

results
Looks like the analysis took place as expected. No regressions were found but there were a number of issues regrading payload validation. Obviously we need to make sure the payload schemas are consistent, but I'm wondering why the matrix entry location was /tmp/matrix_benchmarking_results/expe/from_url.

good :)
yes, we'll need to tidy up the entries on OpenSearch!

I'm wondering why the matrix entry location was /tmp/matrix_benchmarking_results/expe/from_url.
this location is where the entry is downloaded, when launching a "plotting" job, as you did. So this part is expected :)

We'll need to find a way to save the regression.json files, even when doing a replot. One way to do it is to include it in the LTS Documentation report, around this place: https://github.com/openshift-psap/topsail/blob/main/projects/notebooks/visualizations/rhods-notebooks-performance/plotting/lts_documentation.py#L73
if you do something like that:
html.Code(yaml.dump(entry.results.lts.regression_results), style={"white-space": "pre-wrap"})

it should appear in the HTML document

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/184/pull-ci-openshift-psap-topsail-main-rhoai-light/1750426742431944704/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/184/pull-ci-openshift-psap-topsail-main-rhoai-light/1750426742431944704/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

@drewrip , the regression results wasn't included (or was empty) in this document:
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/186/pull-ci-openshift-psap-topsail-main-rhoai-plot/1751000197686628352/artifacts/plot/test/artifacts/report_01_report: LTS Documentation.html
and we'll need to define a model defining the format of the regression_results field
I guess it should extend the KPI model, maybe the notebooks KPI (in the TOPSAIL part), so that it can be easily located in OpenSearch, with Grafana

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts//test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

@drewrip your link was broken, don't know how that happened 🙃

https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts//test/artifacts/002__sutest_notebooks__benchmark_performance/

@drewrip your link was broken, don't know how that happened 🙃

https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts//test/artifacts/002__sutest_notebooks__benchmark_performance/

welp, I too am not sure how that happened :)

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.export=true
/var matbench.lts.opensearch.index=rhoai-notebooks-performance

/test rhoai-light kserve quick

/test rhoai-light kserve quick

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.index=regression-test.rhoai-notebooks-performance

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.index=regression-test.rhoai-notebooks-performance

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.index=regression-test.rhoai-notebooks-performance
/var matbench.lts.opensearch.upload=false

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.index=regression-test.rhoai-notebooks-performance
/var matbench.lts.opensearch.upload=false

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.index=regression-test.rhoai-notebooks-performance
/var matbench.lts.opensearch.upload=false

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.index=regression-test.rhoai-notebooks-performance
/var matbench.lts.opensearch.upload=false

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.index=regression-test.rhoai-notebooks-performance
/var matbench.lts.opensearch.upload=false

Regression workflow working now -> the results are appearing in the LTS Documentation report.
We needed another parse pass.

/test rhoai-plot notebooks https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift-psap_topsail/195/pull-ci-openshift-psap-topsail-main-rhoai-light/1753099883524395008/artifacts/light/test/artifacts/002__sutest_notebooks__benchmark_performance/
/var matbench.workload=rhods-notebooks-performance
/var matbench.config_file=single_notebook_perf.yaml
/var matbench.lts.opensearch.index=regression-test.rhoai-notebooks-performance
/var matbench.lts.opensearch.upload=false

Example of Regression results can be seen here

closing as outdated


The bandwidth is used much more times than actual download file

Hi, I use this downloader via a http proxy, and I found it will use approximately 5 times bandwidth than the file actual download size, and I can not point the issue, do anyone have ideas?

I changed the request module to make-fetch-happen, the network traffic amount via proxy should reduce. Get the latest version and try again. Also notice that hundreds KB traffic will cost while crawling the search result pages and video detail pages per video.

Thanks for reply, I noticed that my proxy provider may enabled "BBR" feature, this can also cause this problem when packet loss, but not much as 5 times.
Thank you again for working on this!

刚刚看了readme.md发现好像你可以阅读中文？

我是中国人emmm

哈哈哈 看出来了 为了隐蔽性 可能还是说英文比较好

I deleted the comments in order to ... as what you know.


Update release notes 536

Updated release notes for 5.3.6 .
Changed to Apache 2.4
#1858 @tst-lsavoie

Thanks @pranavvp10. I'll get a couple of people to review these changes.

I was so excited about updates to the documentation that I missed that these are targeting 5.3.6 docs, which are settled and released.
There are *.rst files located under docs/geedocs/docsrc which are used to build the documentation in the final HTML format. Could you please revert these and make the same changes to the doc sources instead? You do not have to build the HTML files, just updating the rst files would be great.
So these changes you've identified go into docs/geedocs/docsrc/answer/geeServerConfigAndSecurity/configureGeeServer5.1.0_SSL_HTTPS.rst
And I noticed that there are a handful of changes to the Apache version needed in these files as well:
docs/geedocs/docsrc/answer/geeServerAdmin/manageVirtualHosts.rst
docs/geedocs/docsrc/answer/geeServerConfigAndSecurity/postgreSqlAuthentication.rst
Thanks again!

Hi @tst-mbiancalana , thanks for taking time to review my PR. I will surely make changes you mentioned.

Thanks for the help @pranavvp10!

Thanks for guiding me @tst-lsavoie @tst-nfarah .


Yabai's scripting addition didn't automatically load after upgrade to Big Sur (11.2.1)

Hello,
I just upgraded to Big Sur (11.2.1) and hit one minor issue in case others hit it...
I have followed the instructions to open the necessary holes in SIP. And I have re-installed the scripting addition, etc., without trouble. I have gotten the typical accessibility enabling notification, but not the one regarding Dock.app that I got with Catalina.
Installing the scripting addition worked without error:
$ sudo yabai --install-sa

However, even after this, and reloading yabai (and rebooting, etc), I was unable to do operations requiring the scripting addition:
$ yabai -m space --focus prev
cannot focus space due to an error with the scripting-addition.

I fixed it by manually loading the scripting addition:
$ sudo yabai --load-sa

Just to be clear, now everything works, so I'm not really blocked on anything.
I don't recall having to separately load the scripting addition in the past. Unsure if this occured because I had yabai installed when upgrading? Or some other reason?
Filing the issue in part to leave findable clues if anyone searches for these messages having hit the same issue. But also to see if the failure to automatically load is due to a bug. (Unsure how to even debug it now though...)

The injection method had to change necessarily for Big Sur. See here for a guide on how to set up automatic loading of the scripting addition:
https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#macos-big-sur---automatically-load-scripting-addition-on-startup
It isn't a beauty, but it's the only way without requiring a password that I know of.

Ah, I hadn't found that page when doing my upgrade. I instead mostly read the standing documentation. =/
Anyways, this all makes sense (and matches that I had to use sudo to load the scripting addition) so this seems clearly WAI. Unsure what (if any) documentation changes make sense.
Is there a way to print this information from Homebrew? It might already be printed and I missed it while updating everything, which is entirely on me.

Is there a way to print this information from Homebrew? It might already be printed and I missed it while updating everything, which is entirely on me.

Feel free to expand the caveats section in the yabai Homebrew formula or even just suggest what information should be listed in there. Feedback on docs is always appreciated.

Perhaps the brew service (the plist file specified in the formula linked above, I assume) could --load-sa on (re)start?
Or perhaps --install-sa should also load?
I suggest these because the two things I tried (before coming here) were sudo yabai --install-sa, brew services restart yabai, (and shutdown -r now) I don't think I knew about the existence of or had previously needed --load-sa, those two were enough (even after previous system updates) until I restarted for an update just now.

I'm pretty sure this is explained here?

Can we get a comprehensive guide to install Yabai on Big Sur?
I followed the instructions on in the install page, but I probably don't have the scripting additions installed.
sudo yabai --install-sa
yabai: System Integrity Protection: Filesystem Protections must be disabled!

I made sure I have a ~/.yabairc containing
sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"

Can't load what I never installed due to SIP. The guide doesn't talk about getting around SIP however.

Please do this (https://github.com/koekeishiya/yabai/wiki/Disabling-System-Integrity-Protection) first.

Thank you. Does SIP need to stay disabled permanently on Big Sur 11.2.1?

@BlkPingu Yes. SIP should be partially disabled (debug and fs must be disabled) all the time as long as you want to use the advanced features of yabai. You can get the full list of the advanced features from here.

debug and fs must be disabled

From Disabling System Integrity Protection:

How do I disable System Integrity Protection?
...
If you're on macOS 11.0.1
...
csrutil disable --with kext --with dtrace --with nvram --with basesystem

@yanzhang0219  is this command still up to date and sufficient? I'm like to disable as little to meet the debug and fs disabled criteria

Yes. I think
# If you're on macOS 11.0.1
# Requires Filesystem Protections and Debugging Restrictions to be disabled (workaround because --without debug does not work)
# (printed warning can be safely ignored)
csrutil disable --with kext --with dtrace --with nvram --with basesystem

should be work on the latest officially released macOS.
@koekeishiya Could you please double check and update the wiki page? Thank you.

@BlkPingu and @yanzhang0219 - Maybe take this to a separate issue or discussion? I'd like to keep this focused on improving the discoverability of the change in workflow here.

Okay. I am so sorry about making a mess. 👊

Is there a way to print this information from Homebrew? It might already be printed and I missed it while updating everything, which is entirely on me.

Feel free to expand the caveats section in the yabai Homebrew formula or even just suggest what information should be listed in there. Feedback on docs is always appreciated.

Thinking about this more, I'd like to suggest what I think would really help folks discover this:
When Yabai starts (including restarts), check if the scripting addition has been installed but not loaded (even if this has to be done manually by leaving a breadcrumb behind when --install-sa and --load-sa have been run successfully). Then, give a notification about unloaded SA and the link you posted to help folks figure out how to make automatic loading work?
That plus some helpful guidance in the brew install flow I think would nicely cover the likely different ways folks would hit this and not understand why things don't work as expected. I can even suggest the homebrew text potentially (want to reinstall to look at the flow), but I have no idea where to start on adding a notification about the situation.

Perhaps the brew service (the plist file specified in the formula linked above, I assume) could --load-sa on (re)start?

This does not work because the --load-sa command still requires elevated privileges.

Or perhaps --install-sa should also load?

This only "solves" the problem until the user relogs, reboots, or Dock.app is restarted.

I suggest these because the two things I tried (before coming here) were sudo yabai --install-sa, brew services restart yabai, (and shutdown -r now) I don't think I knew about the existence of or had previously needed --load-sa, those two were enough (even after previous system updates) until I restarted for an update just now.

The reason for that is that in prior versions of macOS,  yabai is capable of loading the scripting-addition upon launch, because it does not need root privileges to do so.

When Yabai starts (including restarts), check if the scripting addition has been installed but not loaded (even if this has to be done manually by leaving a breadcrumb behind when --install-sa and --load-sa have been run successfully). Then, give a notification about unloaded SA and the link you posted to help folks figure out how to make automatic loading work?

So the challenge in doing this is that the config file is launched asynchronously at the end of the yabai startup: https://github.com/koekeishiya/yabai/blob/master/src/yabai.c#L316
This makes it hard to detect if someone has already adjusted their config or not, as the check would have to happen x amount of time afterwards. Depending on how large or complex the users configuration is, and when the call to load-sa is performed, that time may vary heavily from the initial launch. I will try to think some more about this problem, but I don't think it is as easy to solve as it may seem at first.

This only "solves" the problem until the user relogs, reboots, or Dock.app is restarted.

Sure, I just meant for easier UX since that's what I was aware of to try without reaching for issues/wiki here. Is there a reason one would ever --install-sa without also wanting to --load-sa?
The rest all makes sense and the above linked wiki is a much better fix, I only meant to suggest what might be slightly less jarring until someone found them.
Cheers.

Just a note to connect this with #1287


Log stderr of stack exec ghc for better feedback

From Freenode #haskell-ide-engine we had a line such as:

Failed to get project GHC version:CradleError {cradleErrorDependencies = [], cradleErrorExitCode = ExitFailure 1, cradleErrorStderr = ["Error when calling stack exec --silent ghc -- --numeric-version","",""]}

and you have to run stack exec --silent ghc -- --numeric-version to actually see the error.
The error was then:
Cannot open: Disk quota exceeded

If this was included in the above log line, it would have been easier to debug.
Smoke testing showed that --silent is not necessary as such log output was sent to stderr.

cc @bubba

Can you test this with a clean .stack-work directory/no stack ghc installed for that version? I think I remember adding --silent because stack was pumping out progress information to stdout

Mmm and what about stack --silent setup && stack exec ghc --numeric-version?

I will check!

@fendor your last push did not include the suggestion, did you have the opportunity of checking it?

@jneira You are right, I basically forgot about this pr

So, rebased this PR. I tested locally and CI is doing something similar, I think this PR is safe as it is

@bubba noted above

Can you test this with a clean .stack-work directory/no stack ghc installed for that version? I think I remember adding --silent because stack was pumping out progress information to stdout

Iirc we wanted to avoid the output from downloading the ghc to fix some issue in hls-wrapper i cant find right now (hence the suggestion stack --silent setup && stack exec ghc --numeric-version)

@jneira I know, but I experimented locally with it again, with a completely fresh stack project (e.g. no .stack-work and no ~/.stack folder) and everything worked fine.


I have a question for you. OTL

I can not speak English very well. please understand.
I wonder about this source code.
When my computer runs the DCHPLite server
Can other computers on the same router receive IP through dchpLite?

Maybe.
If all computers are connected to the same HUB, they will all exchange DHCP traffic: https://en.m.wikipedia.org/wiki/Ethernet_hub
If they are in a SWITCH, they may not because of the way DHCP packets are exchanged: https://en.m.wikipedia.org/wiki/Network_switch
The best way to know is to try. DHCPLite will show all the traffic it receives and sends, so you can tell what is going on. :)
Hope this helps!

very thanksT_T


Cloudflare implementation for OPNsense backend ddclient

I had some free time and implemented cloudflare support for ddclient with OPNsense backend.
It supports a single hostname/record.
It needs some better error handling and there is also no support for multiple Hostnames and Wildcard at the moment.
Credentials have remained the same, as with ddclient backend (Username=Mailaddress of the cloudflare account, Password=Global API Key)
Tested on 23.1.3_4

@cektom thanks! unfortunately I don't have a cloudflare account to test, but I'll try to review the code and merge the current state.

Hi @AdSchellevis
Thanks for the review - see comments above
I tested everything again intensively and in every possible combination. Looks good :)
Commited the changes 38efa88


Login after sign up

How do I login right after sign up? Tried this:
def create
@user = User.new(params[:user])
if @user.save
user =<EMAIL_ADDRESS>@user.password, remember_me=false)
if user
redirect_to dashboard_path, :notice => "You are registered now!"
end
else
render :new
end
end
Failed.

auto_login(@user)

Already tried it, got:
NoMethodError in UsersController#create
undefined method `auto_login' for #UsersController:0xbbfa990

Using auto_login is the right way to do this.
However, since that doesn't seem to be working for you lets try this.
If you've followed the example setup in the wiki your user should have an attr_accessible field for password.
If you take a look at the docs http://api.rubyonrails.org you'll see that attr_accessible fields will not be accessible after they are used for assignment.
To log in the user with the password they provided, just pass the password parameter to login like so:
def create
  @user = User.new(params[:user])
  if @user.save
    if<EMAIL_ADDRESS>params[:user][:password], false)
      redirect_to dashboard_path, :notice => "You are registered now!"
    end
  else
    render :new
  end
end

i got rid of undefined method after using the latest version 0.7.4, before i was using 0.6.1 and i had same error, may be the method was not there in lower versions...

so I guess this is solved?


emscripten: 3.1.55 -> 3.1.64

Bumps emscripten to the latest release.
Supersedes https://github.com/NixOS/nixpkgs/pull/326024
Addresses https://github.com/NixOS/nixpkgs/issues/306649
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[X] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@RossComputerGuy as noted in https://github.com/emscripten-core/emscripten/issues/11362, emscripten upstream's policy is to always build LLVM from tip of tree at the time of release. Historically, I think given how funky LLVM has been to build and how hard to keep up to date, the last few years at least we've just backported whatever we needed to latest LLVM stable -- in many cases, many of the back ported patches in LLVM are the fault of keeping emscripten up to date.
On the one hand, it seems like pinning emscripten to use llvmPackages_git could be an option if you think that that's going to actually be able to stay on track now that all this reworking has been done, but I suppose it'll still be a little misaligned from emscripten's idea of having a specific git commit per release (ie llvmPackages_git will actually jump ahead of the version of LLVM emscripten says we should be using). For now I'm okay with just continuing to backport stuff as needed to LLVM stable, rather than adding yet another derivation of an emscripten-specific LLVM, if that works for you!
@RaitoBezarius

On the one hand, it seems like pinning emscripten to use llvmPackages_git could be an option if you think that that's going to actually be able to stay on track now that all this reworking has been done

I am okay with moving to the LLVM git but I think we'll have to change some caching stuff since it seems Hydra doesn't seem to build it. Another thing is that version is updated weekly so it should be understood that things could break easily. Luckily I have merge perms and I am the one who performs the update so as long as we do some extra testing, this shouldn't be a problem.

Music to my ears! This would actually remove the primary friction of keeping emscripten rolling, since it releases pretty often. As long as it stays close to up to date with upstream, there should be few if any issues of depending on LLVM git. Please feel free to @ me if emscripten is holding back an LLVM git update, it's likely a sign that I should just get emscripten bumped too.

As long as it stays close to up to date with upstream, there should be few if any issues of depending on LLVM git.

Yeah, LLVM git will pretty much always be updated on Sunday around 7 - 11 PM PST. Maybe I'll revamp the update script so I we can have r-ryantm automatically do it.

Please feel free to @ me if emscripten is holding back an LLVM git update, it's likely a sign that I should just get emscripten bumped too.

Sweet, if you have the commit bit then we can always do the update in a branch in nixpkgs instead of a fork and do it all in 1 PR.

I don't have the commit bit (though I've got a request in in the new thread, not sure which way that'll go).
Force-pushed to switch to LLVM git, dropping the backport. Let me know if the caching settings for hydra you mentioned are something that lives in nixpkgs code that I should add to this branch, or if it's more of a backend config thing that I should just hold on for.

I don't have the commit bit (though I've got a request in in the new thread, not sure which way that'll go).

Well, that's always alright. Could just PR into a PR when necessary until you have access.

Force-pushed to switch to LLVM git, dropping the backport.

Sweet, I was running a nixpkgs-review and everything was rebuilding lol. Let's see what this is like now.

Let me know if the caching settings for hydra you mentioned are something that lives in nixpkgs code that I should add to this branch, or if it's more of a backend config thing that I should just hold on for.

Yeah, I'll look myself and ask around if I can't figure out where it's at.

Result of nixpkgs-review pr 326633 run on aarch64-darwin 1

6 packages marked as broken and skipped:

teleport
teleport.client
teleport_15
teleport_15.client
teleport_16
teleport_16.client

10 packages failed to build:

emscriptenPackages.json_c
emscriptenPackages.json_c.dev
emscriptenPackages.libxml2
emscriptenPackages.libxml2.bin
emscriptenPackages.libxml2.dev
emscriptenPackages.libxml2.doc
emscriptenPackages.xmlmirror
emscriptenPackages.xmlmirror.doc
emscriptenPackages.zlib
rerun

11 packages built:

binaryen
emscripten
faust
faust2csound
faust2firefox
faust2jackrust
faust2ladspa
faust2lv2
pagefind
tinygo
vlang

Looks like ofborg on darwin is timing out because of the LLVM build, but it does work locally on my machine.

Additionally -- looks like for llvm git, linux has just been stuck in "queued" (https://hydra.nixos.org/job/nixpkgs/trunk/tests.cc-wrapper.llvmTests.llvmPackages_git.clang.x86_64-linux) and darwin has been failing repeatedly, which is why aren't in the cache (https://hydra.nixos.org/job/nixpkgs/trunk/tests.cc-wrapper.llvmTests.llvmPackages_git.clang.aarch64-darwin). It only seems to go back two hydra cycles, so not sure if it got kicked off by https://github.com/NixOS/nixpkgs/pull/329570.

@willcohen Looks like a patch was merged upstream but wasn't removed from Nix. I can look more into this one after work.

@ofborg build emscripten

@ofborg eval

Result of nixpkgs-review pr 326633 run on aarch64-darwin 1

11 packages marked as broken and skipped:

faust2alqt
faust2alsa
faust2jack
faust2jaqt
faust2sc
teleport
teleport.client
teleport_15
teleport_15.client
teleport_16
teleport_16.client

1 package failed to build:

rerun

11 packages built:

binaryen
emscripten
faust (faust2)
faust2csound
faust2firefox
faust2jackrust
faust2ladspa
faust2lv2
pagefind
tinygo
vlang

aarch64-darwin is still backed up on ofborg, but I can confirm that it builds on my machine okay, and the rest of it is clear across the board.
@RossComputerGuy @RaitoBezarius I think this one is ready to go! With any luck, this'll mean that the update bot will be able to consistently keep this up to date, since we won't be manually fixing LLVM dependency issues every few releases.

Thanks @pbsds!

Interesting — this should have failed CI, but didn't.  llvmPackages_git is defined in aliases.nix, to stop it being used inside Nixpkgs.  OfBorg should have caught this, but for some reason didn't catch it — I'm not really sure how that could have happened.

(also: https://github.com/NixOS/nixpkgs/pull/331709)

Ah, it was moved: https://github.com/NixOS/nixpkgs/pull/325175#discussion_r1667750989


[API Doctor] Migrate API Doctor to .NET 6.0 to take dependency on Kibali

Fixed by https://github.com/OneDrive/apidoctor/pull/176


Buffering of local PV excess in EV Question

Joris and I were discussing about the buffering of local pv excess.
The LES contained a single solar panel and a single electric car.
We fiddled around with some numbers.
But it somehow seems that the volume of the electric car is always being used in the network. That would be weird since in this testing ground there aren't any other consuming technologies that would be making use of the battery of the electric car, so why use it?

Including @jorisberkhout

But it somehow seems that the volume of the electric car is always being used in the network. That would be weird since in this testing ground there aren't any other consuming technologies that would be making use of the battery of the electric car, so why use it?

The car does not know what other technologies are present in the network. I suspect that real-world EVs also don't inspect the network to determine if something else will want the energy later.

There's no guarantee that PV excess will be available later. The excess energy stored in the EV may be used by the vehicle itself, to satisfy the requirements of its next journey.

The behaviour of electric vehicles was discussed in some detail in #234.

Thanks for clarifying this, @antw!


Flaky secrets syncing

Describe the bug: (a clear and concise description of what the bug is)
Following on from #743
We are encountering flaky syncing of secrets that requires much of the time a manual restart of the KES pod to initiate a full sync of secrets between Vault and the cluster. We determined the cause to be the default poller interval being too short, resulting in too frequent requests to the kube-api and consequential hitting of the rate limit. This rate limiting is preventing new secrets from being automatically synced and a manual restart must be done to ensure proper syncing.
Furthermore, we found that adding a values file for the app in the values repo resulted in more errors regarding access rights and CRD's. Like I said before this is due to someone updating the image version of the app but not the Helm chart itself (even though they follow a common release schedule.

><EMAIL_ADDRESS>start /app
> ./bin/daemon.js

{"level":30,"message_time":"2022-06-21T14:41:03.958Z","pid":17,"hostname":"kubernetes-external-secrets-685b59ff9b-stngd","payload":{},"msg":"loading kube specs"}
{"level":30,"message_time":"2022-06-21T14:41:06.443Z","pid":17,"hostname":"kubernetes-external-secrets-685b59ff9b-stngd","payload":{},"msg":"successfully loaded kube specs"}
{"level":30,"message_time":"2022-06-21T14:41:06.445Z","pid":17,"hostname":"kubernetes-external-secrets-685b59ff9b-stngd","payload":{},"msg":"verifiying CRD is installed"}
{"level":50,"message_time":"2022-06-21T14:41:16.545Z","pid":17,"hostname":"kubernetes-external-secrets-685b59ff9b-stngd","payload":{},"msg":"CRD installation check failed, statusCode: undefined"}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `./bin/daemon.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2022-06-21T14_41_16_640Z-debug.log```

```camunda                     2m44s       ERROR, secrets "camunda" is forbidden: User "system:serviceaccount:vault:kubernetes-external-secrets" cannot get resource "secrets" in API group "" in the namespace "team-utrecht"                     91d
fluxcd-tenant-key           2m42s       ERROR, secrets "fluxcd-tenant-key" is forbidden: User "system:serviceaccount:vault:kubernetes-external-secrets" cannot get resource "secrets" in API group "" in the namespace "team-utrecht"           91d
gitlab-helm-internal-repo   2m42s       ERROR, secrets "gitlab-helm-internal-repo" is forbidden: User "system:serviceaccount:vault:kubernetes-external-secrets" cannot get resource "secrets" in API group "" in the namespace "team-utrecht"   91d
oauth2-proxy                2m43s       ERROR, secrets "oauth2-proxy" is forbidden: User "system:serviceaccount:vault:kubernetes-external-secrets" cannot get resource "secrets" in API group "" in the namespace "team-utrecht"                7d23h```

**To Reproduce**
Steps to reproduce the behavior:

1. Create an Otomi cluster
2. Clone the values repo
3. Add the following file as kubernetes-external-secrets.yaml or external-secrets.yaml (I do not like that both of these work):
```apps:
    kubernetes-external-secrets:
        enabled: true
        x: y
        _rawValues:
            env:
                POLLER_INTERVAL_MILLISECONDS: 300000```
5.  Run deploy pipeline
6. Add a secret
7. Deploy changes again
8. KES should come back with errors

To see the syncing issue specifically you will have to add many many secrets so as to hit the rate limit.

**Expected behavior:** (a clear and concise description of what you expected to happen)

Secrets should consistently sync without requiring manual restarting of the pod

**Versions:** (seen in console's `/settings`)

- 0.16.6

**Additional context:** (add any other context about the problem here)

We have observed this problem multiple times, and believe there is a deeper issue with Otomi management of the KES app. I am looking into ways to prove this. We have an unsustainable workaround in-place so recommend this be treated as high-priority.

I am currently working on a fix for this in fix/external-secrets and will be testing it out as my schedule permits


Python 3.9 Support

By current state Python 3.9 is not supported because Pythonnet does not support 3.9 by current state.

[ ] Wait until Pythonet release is upgraded to new version --> https://github.com/pythonnet/pythonnet/pull/1264
[x] Extend matrix job for python 3.9 testing by appveyor.yml --> https://ci.appveyor.com/project/GDATACyberDefenseAG/robotframework-flaui/builds/37106381
[x] Update documentation
[x] Update robotframework dependency to latest version
[ ] Merge to master

Changes contains to 1.3.5 release.
https://github.com/GDATASoftwareAG/robotframework-flaui/commit/72f02f6f234d58407e594f99c0dd0e92e028257c

Changes contains to 1.3.5 release.
https://github.com/GDATASoftwareAG/robotframework-flaui/commit/72f02f6f234d58407e594f99c0dd0e92e028257c

Hi @Nepitwin,
Will robotframework dependency be updated as <=3.2.2 after supporting Python 3.9?

Hi @Nepitwin,
Will robotframework dependency be updated as <=3.2.2 after supporting Python 3.9?

Hi @mustafatalha
of course it can be upgrade to the newest release from robotframework. I already include this depenendency in this request.
https://github.com/GDATASoftwareAG/robotframework-flaui/commit/ca3a80f83499ec256b2aeda01da14cc0074c51ab

Hi @mustafatalha
of course it can be upgrade to the newest release from robotframework. I already include this depenendency in this request.
https://github.com/GDATASoftwareAG/robotframework-flaui/commit/ca3a80f83499ec256b2aeda01da14cc0074c51ab

@Nepitwin Thank you for fast reply and update. I am looking forward to next pip release then. Is there anything I can help with this?

@Nepitwin Thank you for fast reply and update. I am looking forward to next pip release then. Is there anything I can help with this?

@mustafatalha
Thanks for the offer. This version will be released if pythonnet is updated for 3.9.
Only have to wait :)

@mustafatalha
Thanks for the offer. This version will be released if pythonnet is updated for 3.9.
Only have to wait :)


Cut new release

I assume the last release (v0.5.1) was before the hard-fork. It would be great if you could cut a new release, as currently, this project isn't easily usable with modules - go get github.com/liquidata-inc/go-mysql-server downloads v0.5.1, which still declares the module name as gopkg.in/src-d/go-mysql-server.v0. So go build refuses to build.

+1
I have require github.com/liquidata-inc/dolt/go v0.0.0-20200618184056-4de29fb992c7 in my go.mod and get following list of errors when I go build:
# github.com/liquidata-inc/go-mysql-server/sql/parse
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:147:8: undefined: sqlparser.Explain
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:186:42: undefined: sqlparser.Explain
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:192:16: undefined: sqlparser.TreeStr
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:194:11: undefined: sqlparser.TreeStr
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:288:28: s.Database undefined (type *sqlparser.Show has no field or method Database)
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:289:5: s.IfNotExists undefined (type *sqlparser.Show has no field or method IfNotExists)
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:293:28: s.Database undefined (type *sqlparser.Show has no field or method Database)
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:464:8: c.View undefined (type *sqlparser.DDL has no field or method View)
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:469:11: c.FromViews undefined (type *sqlparser.DDL has no field or method FromViews)
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:624:38: undefined: sqlparser.ColumnOrder
../go/pkg/mod/github.com/liquidata-inc/go-mysql-server@v0.5.1-0.20200617164319-082e7b859cfe/sql/parse/parse.go:469:11: too many errors
# github.com/liquidata-inc/dolt/go/libraries/doltcore/remotestorage
../go/pkg/mod/github.com/liquidata-inc/dolt/go@v0.0.0-20200618184056-4de29fb992c7/libraries/doltcore/remotestorage/events_interceptor.go:57:79: undefined: eventsapi.ClientEventType_REMOTEAPI_ADD_TABLE_FILES

This is an excellent proposal. I will cut a 0.6.0 release later this month.

@jafarlihi your issue is separate and caused by our forking of vitess, a separate project used by go-mysql-server. I'm going to file a separate issue to track it.

Release 0.6.0 out now:
https://github.com/liquidata-inc/go-mysql-server/releases/tag/v0.6.0
We'll aim for releases quarterly or more often going forward. Thanks!


No constellation modulator?

As a newbie I found the gnuradio constellation modulator useful.
Is that considered for FutureSDR?

AFAIK, there is none at the moment (maybe @loic-fejoz knows better?). A simple one could be implemented on-the-fly using, for example, ApplyNM block followed by an RRC filter.
QPSK, would look something like this, followed by a pulse shaping filter:
    let modulator = ApplyNM::<_, _, _, 1, 4>::new(|byte: &[u8], symbols: &mut [Complex32]| {
        const A: f32 = std::f32::consts::FRAC_1_SQRT_2;
        for i in 0..4 {
            let sym = match (byte[0] >> 2 * i) & 0b11 {
                0 => Complex32::new(A, A),
                1 => Complex32::new(-A, A),
                2 => Complex32::new(A, -A),
                _ => Complex32::new(-A, -A),
            };
            symbols[i] = sym;
        }
    });

I'm happy to support if you want to give it a try, but I won't have the time to do it myself in the next weeks.

At the moment, there are no such block in fsdr-blocks but it would perfectly make sense to have it, for sure! In fact, the goal is to have nearly equivalent blocks for every things.
I would indeed start with the code @bastibl propose and then multiply with a signal source.
@xpromache if you already have some existing GNURadio workflow that you would like to see executed with FutureSDR, I would be interested for you to share for my project fsdr-cli.

By the way, I was thinking of multiplying by a signal source in case you wanted more than one sample per symbol.
But it is overkill... I just had a look at the GNURadio Constellation code and they are simply using a pre-computed table.
Also have a look at generic_mod_demod.py to see the exact blocks the constellation block is using hierarchically.

Hey, thanks for your answers. I don't have any workflow yet, I just started with signal processing and trying to wrap my head around everything I read in the last month. I will try to do the constellation modulator block but it will take me a while.
A bit off topic since the two of you are in the "trade" for a long time. I'm looking to make a OQPSK demodulator and I read different opinions on how the blocks should be structured with the symbol sync before or after costas loop and with a matched filter somewhere in between. But now I have seen in the book "Digital Communications a Discrete Time Approach" a scheme which frankly matches most with the theory I read so far:

The only problem is that this mixes up the symbol sync with the carrier sync with the matched filter and polyphase resampler in a big loop, so it seems like impossible to implement in GNURadio or FutureSDR.
What is your take on this?

Such feedback-based systems are difficult/not efficient to do in a stream processing system. GNU Radio, therefore, does this in larger/complex/monolithic blocks. See this, for example: https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/symbol_sync_ff_impl.cc
I guess that's the way to go.

For most cases (i.e., parameters) the rational resampler should be fine. The difference is that the rational resampler supports only rates a/b where a and b are integers. The arbitrary rate resampler can resample by any rate, such as pi. Implementing the arbitrary rate resampler would be great, but it's rather complicated, since it also requires polyphase filter banks. I would recommend it as the first project.


Support for automated cluster tear down via Cluster API

This issue was moved to kubernetes-sigs/cluster-api#21


Make all UvRequest objects normal GC handles

This avoids the cost of using GCHandle.Alloc per operation.
It does mean that we need to explicitly dispose UvRequest objects
after using them (which we did before anyways). This change does
add a few try catch statements to make sure we always dispose the UvRequest
if there are synchronous exceptions.
This is ~1.5% of the overhead in the benchmarks today

/cc @vancem

Do you have before and after numbers for the techempower benchmarks
How are we going to prevent memory leaks from not disposing requests? Are we 100% sure that we are disposing requests everywhere we should be currently (or once this PR is merged). As you mentioned, we should have been disposing requests before anyway, but now the consequences are more sever if we don't.

Do you have before and after numbers for the techempower benchmarks

I'll get these tomorrow.

How are we going to prevent memory leaks from not disposing requests?

We can add some logic that makes sure things aren't getting finalized. I'll look into this.

Are we 100% sure that we are disposing requests everywhere we should be currently (or once this PR is merged). As you mentioned, we should have been disposing requests before anyway, but now the consequences are more sever if we don't.

I'll do another look but there were some places we didn't dispose before and this change fixes that. The only time UvRequest objects won't get collected is if for some reason a callback fails to be called (and I'm not sure if that's possible).

Because UvRequests are often (mostly) used with Asyc calls where they are being 'used' by native code, I LIKE the approach that they live forever until explicitly disposed (which is what happens if they contain a normal GC handle that points at themselves).   This allow you to 'just us them' for async operations without worrying about how they are kept alive (they are alive until disposed), which avoids overhead, which is great.
I like the idea of a DEBUG logic to insure that we are not leaking them (I don't think you can do this with finalizers, since they are only called when things DIE not when the leak), however you can have DEBUG logic that keeps a list of WeakHandles when UVRequests are constructed.   Then you can either

Shut down all users/pools of UVRequests and see if any weak handles are still alive OR
Simply assert from time to time that the number (e.g. in constructor) of live UVRequests is under a reasonable bound.   If they are leaking it will fire.  This is not as good as (1) but easier to implement, and is much better than nothing (so it could be step one).

Added leak detection (and it did find a leak 😄 )

LGTM


system:configure-shop --shop-currency=PLN doesn't work after install marketplace plugin

PHP Version
7.4.24
Shopware Version
<IP_ADDRESS>
Expected behaviour
Change iso code for the default currency of the shop from cli command
Actual behaviour
bin/console system:configure-shop --shop-currency=PLN
Shop configured successfully

 Changing the shops default currency after the fact can be destructive. Are you sure you want to continue (yes/no) [no]:
 > yes

18:52:02 CRITICAL  [console] Error thrown while running command "system:configure-shop --shop-currency=PLN". Message: "An exception occurred while executing 'UPDATE currency SET id = :newId WHERE id = :oldId' with params ["\xc9\x7f\x7b\x0c\xdb\x8b\x4a\x6c\xbd\x82\x2b\x64\x95\x94\x84\xfa", "\xb7\xd2\x55\x4b\x0c\xe8\x47\xcd\x82\xf3\xac\x9b\xd1\xc0\xdf\xca"]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`shopware`.`bf_marketplace_settings`, CONSTRAINT `fk.bf_marketplace_settings.currency_id` FOREIGN KEY (`currency_id`) REFERENCES `currency` (`id`))" ["exception" => Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException^ { …},"command" => "system:configure-shop --shop-currency=PLN","message" => """  An exception occurred while executing 'UPDATE currency SET id = :newId WHERE id = :oldId' with params ["\xc9\x7f\x7b\x0c\xdb\x8b\x4a\x6c\xbd\x82\x2b\x64\x95\x94\x84\xfa", "\xb7\xd2\x55\x4b\x0c\xe8\x47\xcd\x82\xf3\xac\x9b\xd1\xc0\xdf\xca"]:\n  \n  SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`shopware`.`bf_marketplace_settings`, CONSTRAINT `fk.bf_marketplace_settings.currency_id` FOREIGN KEY (`currency_id`) REFERENCES `currency` (`id`))  """]

In AbstractMySQLDriver.php line 68:

  An exception occurred while executing 'UPDATE currency SET id = :newId WHERE id = :oldId' with params ["\xc9\x7
  f\x7b\x0c\xdb\x8b\x4a\x6c\xbd\x82\x2b\x64\x95\x94\x84\xfa", "\xb7\xd2\x55\x4b\x0c\xe8\x47\xcd\x82\xf3\xac\x9b\x
  d1\xc0\xdf\xca"]:

  SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key const
  raint fails (`shopware`.`bf_marketplace_settings`, CONSTRAINT `fk.bf_marketplace_settings.currency_id` FOREIGN
  KEY (`currency_id`) REFERENCES `currency` (`id`))

In Exception.php line 18:

  SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key const
  raint fails (`shopware`.`bf_marketplace_settings`, CONSTRAINT `fk.bf_marketplace_settings.currency_id` FOREIGN
  KEY (`currency_id`) REFERENCES `currency` (`id`))

In PDOStatement.php line 117:

  SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key const
  raint fails (`shopware`.`bf_marketplace_settings`, CONSTRAINT `fk.bf_marketplace_settings.currency_id` FOREIGN
  KEY (`currency_id`) REFERENCES `currency` (`id`))

How to reproduce
standard composer.json from production template.
composer install

php public/recovery/install/index.php --no-interaction --db-host=mysql --db-user=root --db-password=root --db-name=shopware --db-ssl-dont-verify-cert=1 --shop-locale=en-GB --shop-host=sw.local --shop-name=EcommerceBox<EMAIL_ADDRESS>--shop-currency=EUR --shop-country=POL --admin-username=admin --admin-password=shopware<EMAIL_ADDRESS>--admin-locale=en-GB --admin-firstname=ecommercebox --admin-lastname=developer

after open /admin url and run first wizzard i tried change default currency from cli
bin/console system:configure-shop --shop-currency=PLN

You should always configure your shop before you install any plugins, as under the hood the command will switch the primary keys which can make problems with primary keys.

ok I understand, does this also apply to adding plugins directly in composer.json?
After adding "store.shopware.com/swaglanguagepack": "^2.2" and trying to install the system by
composer install
php public/recovery/install/index.php --no-interaction --db-host=mysql --db-user=root --db-password=root --db-name=shopware --db-ssl-dont-verify-cert=1 --shop-locale=en-GB --shop-host=sw. local --shop-name=EcommerceBox<EMAIL_ADDRESS>--shop-currency=EUR --shop-country=POL --admin-username=admin --admin-password=shopware<EMAIL_ADDRESS>--admin-locale=en-GB --admin-firstname=ecommercebox --admin-lastname=developer
bin/console system:configure-shop --shop-locale=pl-PL
bin/console system:configure-shop --shop-currency=PLN

I get an error that there is no table in the database associated with the swaglanguagepack plugin. Strange because this plugin is not installed or initialized
=== Import Database ===
 470/470 [============================] 100%

In ShopService.php line 82:

  An exception occurred while executing 'SELECT swag_language_pack_language_id FROM language WHERE id = ? LIMIT 1
  ' with params ["\x2f\xbb\x5f\xe2\xe2\x9a\x4d\x70\xaa\x58\x54\xce\x7c\xe3\xe2\x0b"]:

  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'swag_language_pack_language_id' in 'field list'

In AbstractMySQLDriver.php line 79:

  An exception occurred while executing 'SELECT swag_language_pack_language_id FROM language WHERE id = ? LIMIT 1
  ' with params ["\x2f\xbb\x5f\xe2\xe2\x9a\x4d\x70\xaa\x58\x54\xce\x7c\xe3\xe2\x0b"]:

  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'swag_language_pack_language_id' in 'field list'

In Exception.php line 18:

  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'swag_language_pack_language_id' in 'field list'

In PDOStatement.php line 117:

  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'swag_language_pack_language_id' in 'field list'

@lutek did you dropped the database before running that command: 🤔

@shyim no, but the database was empty. I did a test with the database completely deleted, same problem.

Hey,
I will close this as we officially stopped supporting the Marketplace extension


drivers: serial: esp32: Fix next buffer release on rx disable

When releasing a next buffer on an async rx disable event, the current buffer is passed to the callback instead of the next buffer. This PR sets the event data rx buffer as the next buffer.

@marekmatej @wmrsouza PTAL


[SPARK-4588] ML Attributes

This continues the work in #4460 from @srowen . The design doc is published on the JIRA page with some minor changes.
Short description of ML attributes: https://github.com/apache/spark/pull/4925/files?diff=unified#diff-95e7f5060429f189460b44a3f8731a35R24
More details can be found in the design doc.
@srowen Could you help review this PR? There are many lines but most of them are boilerplate code.

Test build #28326 has started for   PR 4925 at commit b1aceef.

This patch merges cleanly.

Test build #28326 has finished for   PR 4925 at commit b1aceef.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed abstract class AttributeType(val name: String)
sealed abstract class Attribute extends Serializable

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28326/
Test PASSed.

Test build #28349 has started for   PR 4925 at commit 393ffdc.

This patch merges cleanly.

Test build #28349 has finished for   PR 4925 at commit 393ffdc.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed abstract class AttributeType(val name: String)
sealed abstract class Attribute extends Serializable

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28349/
Test PASSed.

Test build #28357 has started for   PR 4925 at commit 617be40.

This patch merges cleanly.

Test build #28357 has finished for   PR 4925 at commit 617be40.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed abstract class AttributeType(val name: String)
sealed abstract class Attribute extends Serializable

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28357/
Test PASSed.

Test build #28505 has started for   PR 4925 at commit 71d1bd0.

This patch merges cleanly.

Test build #28505 has finished for   PR 4925 at commit 71d1bd0.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed abstract class AttributeType(val name: String)
sealed abstract class Attribute extends Serializable

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28505/
Test PASSed.

I'm merging this into master, so we can test the APIs in feature transformers. Feel free to propose any changes. Thanks!


Lambdatest README changes

This PR is a proposal for README changes when moving over from travis/browserstack to Github Actions and Lambdatest.

Awaiting to get lambdatests working before we can merge this change.


⚠ Fortnite has degraded performance

In c0f34ee, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1606 ms

Resolved: Fortnite performance has improved in d2a7316.


Not showing status open as ordered service

closes #522
From specs:
Ordered services are displayed only if the final_status of the services is "closed", "pending" or "confirmed"

Integrated, thanks - I just changed the comments. The point is not to comment what is this line about because we are programmers. The point is to explain the idea behind this algorithm so everyone will understand during the refactoring that services with status OPEN are somehow special...