Support bash in devenv scripts

I'm using bash on Ubuntu 18.04 LTS.
Without this modification, I got the following error when running source devenv_setenv.sh
$ source devenv_setenv.sh
dirname: invalid option -- 'b'
Try 'dirname --help' for more information.
-bash: /config.inc: No such file or directory

Command '' not found, but can be installed with:

sudo apt install libpam-mount
sudo apt install openssh-server
sudo apt install openvswitch-common
sudo apt install openvswitch-switch
sudo apt install php-common
sudo apt install bpfcc-tools
sudo apt install burp
sudo apt install cryptmount
sudo apt install dolphin-emu
sudo apt install mailutils-mh
sudo apt install mmh
sudo apt install nmh

Unable to run commands in the container

Thanks for the bugfix!

Thanks for reporting this and congrats for having sent the very first pull request since Lucet was opensourced!
Your changes have been merged.
Thanks again for your contribution and for giving Lucet a spin!

Thanks!


Fix compilation of documentation with Sphinx and ReadTheDocs

Compilation via ReadTheDocs wasn't working for way too long. I finally took the time to fix every problem (mostly version incompatibilities and git-lfs issues).
Moreover, there was a tone of minor warnings accumulated over the years. I changed the configuration to consider warnings as errors and added doc compilation as a check-in PR. This should help us to catch problems sooner in the future.
This fix will only be applicable to next release, i.e., 2.0. I won't came back on 1.4.1 doc compilation.

Is there a way to test / run this locally, or is it push & pray?

Yes, there is. Here is what I did to compile the doc on my machine (works on my windows 11 config):
From the root of the repository, you can install dependencies and compile pyimgui with
pip install -r doc/requirements-docs.txt

Then go to the doc/source/ folder and run the build command with Sphinx:
python -m sphinx -W --keep-going -T -E -b html -d _build/doctrees -D language=en . _build/html

This is the exact command that is run on RTD.
This should be documented somewhere. I'll add some informations in the readme. If you have a better suggestion don't hesitate.
Note that this should also launch the generation of images for the doc. The one generated with visual-example. It is maybe an issue with the config, but I don't think that RTD correctly generates the images. For now, I will generate them myself before any release and push them to the repo. (This is what was done until here if I understand it correctly)

I'd suggest moving the 'Development tips' from the readme to a file like HACKING.md or the likes,
and adding this there.
Then make sure this file is linked from the readme.
The readme should be tailored towards users, and not developers of the project (in my opinion).

Ok, I agree. It will also be the occasion to add more information about our tick mark system (✓, ✗) or other. I'll do this soon.
I will merge this PR. The build file for the branch since the branch is based on a version that doesn't fix the build pipeline. However, the PR builds correctly, and the documentation builds too.

As you suggested, I updated the README.md and added information in HACKING.md. Please let me know if you think I forgot something ;)

https://github.com/pyimgui/pyimgui/blob/dev/version-2.0/README.md
https://github.com/pyimgui/pyimgui/blob/dev/version-2.0/HACKING.md


License next version under GPLv3

Coming from 3-clause BSD ...

On second thought, won't do this. Will use GPL compatible 2-clause BSD.


Deploy the stack in Python

Hi, i have used the package in python to create OUs and accounts. but couldnt figure out how to deploy it .
This is code that execute, MyOrganization call contains fns that create OUs and accounts. I have the app.synth for it generate the CF template, but i am not really sure thats how its supposed to work. Is there any samples i could look at.
    app = App()
    MyOrganization(app, ou_constants.STACK_ID)
    app.synth()

Hey @SantaHub , I implemented the pepperize/cdk-organizations constructs with Python. This is the sample project so that you can reference it as an example:

https://github.com/san99tiago/aws-cdk-organizations-demo

The entrypoint is:

https://github.com/san99tiago/aws-cdk-organizations-demo/blob/main/cdk/app.py

The actual constructs reference can be found at:

https://github.com/san99tiago/aws-cdk-organizations-demo/blob/main/cdk/stacks/cdk_organization.py

Hope that it's useful!


[Memory Engine] Add MemTablet type to TabletMeta

To add MemTablet type to meta, there are 2 ways:

Create new meta kind, like BaseTablet and MemTablet
Use original meta, add new fields.

Unlike original Tablet, MemTablet doesn't have components like rowsets and may not have del_predicates, alter tasks etc. Those are vectors/ptrs so it won't use much memory(or pb space) if they are empty. Also it's worth to mention now MemTablet can handle multiple schema(schema change) inside MemTablet, it's won't be necessary to create a new tablet after schema change, but we can also keep the old behavior, depending on which way is easier.
To make things simple, we can first add a field, e.g. bool is_memory [default=false] to mark this tablet is a MemTablet, and latter add new fields if needed.
One potential issue is there already exists a term in_memory in TabletSchema when creating tablet, which means "keep all pages in page caches at best", causes confusion.
Another option is to add an enum StorageEngine, with types of MEMORY and DISK.

I prefer enum StorageEngine (or maybe enum TabletType?), which is more clearly and extensible than a bool.
And another question, in the early implementation, the persistence of memtablet data is not supported, so these TabletMeta in RocksDB need a gc mechanism? For example, cleanup on BE restart?

so these TabletMeta in RocksDB need a gc mechanism? For example, cleanup on BE restart?
"cleanup" meaning "delete tablet" or "truncate tablet" ?  In an early implementation, I wouldn't expect actual usage except for testing, just choose the most simple method, maybe "delete tablet"

so these TabletMeta in RocksDB need a gc mechanism? For example, cleanup on BE restart?

"cleanup" meaning "delete tablet" or "truncate tablet" ? In an early implementation, I wouldn't expect actual usage except for testing, just choose the most simple method, maybe "delete tablet"

I mean after BE restart, the data of MemTablet is losing. So the TabletMeta of these MemTablet in RocksDB become orphans. We need a way to clean them.

So the TabletMeta of these MemTablet in RocksDB become orphans. We need a way to clean them.
"delete tablet" does exactly this, another way is only allowing 1 replica and "truncate tablet"

@decster Hi, how do we expect our user to create the real in memory table (different from early in memory OLAP table cache )? I think if the user interface is decided，this issue will be determinate with it.

The original design is to reuse the existing property storage_medium = memory and data is persistent on SSD, this introduces little change, it won't change the syntax or add a new property,  we can use this as a test entry point at least, and defer the user interface discussion later.
Also, in my opinion, the whole table data model and create table syntax is strange/messy compared to other OLAP/MPP systems, i.e. olap engine have aggr/uniq/duplicate model, while this storage engine only have standard table+primary key semantics(which is more common in classic database domain), we may need more discussions about how to make the table data model and create table syntax/semantics more consistent.

i.e. olap engine have aggr/uniq/duplicate model, while this storage engine only have standard table+primary key semantics

More about how the memory engine data model map to the original aggr/uniq/duplicate model
In the current design, memory engine only maps to uniq data model, all key column is primary key and all none-key column is REPLACE.
In the future, aggr column can be treated as updatable column, which should be simple to support.

we may need more discussions about how to make the table data model and create table syntax/semantics more consistent.

OK


Storage base class

Fixes #35  #34 #42 #50 .
Changes proposed in this PR:

create the Storage base class
create & implement children classes
create tests

Commented tests in favour of mocha framework.

Hi @mariacarmina couple of comments You have 4 common functions (please check my previous comments on this :-) ) :
getFile():
validate():
getDownloadUrl():
getReadableStream():

This could be easily an interface. And your subclasses (ArweaveStorage, IpfsStorage, UrlStorage) could just implement this interface. There is no really point in having the 4 "dummy" implementations on the main "Storage" class
Also, your  getFile() implementations are checking for the correct instanceOf Example:
getFile(): UrlFileObject {
    if (this.getFile() instanceof UrlStorage) {
      return this.getFile()
    }
    throw new Error(`Invalid storage type for this method`)
  }

Not really sure what you're trying to do, IMO, it looks a bit confusing.. but if you want to check the correct file type, why not do it on the constructor itself. Seems to me your getFile() its calling itself and looking for a different thing than the file type passed on the constructor ? I'm a bit confused here

I did the validation in the constructor for children classes, I'll remove from getFile(). I can create a separate interface for those methods and make Storage abstract.

hi @mariacarmina , looks better, but i think there are a few things that can be improved :-)

You don't need to have getFile() implemented on all subclasses just to call super.getFile().
One concrete implementation on the abstract class, would be enough.. the others are not really necessary.

Your async getReadableStream(): Promise<Readable> implementations are pretty much the same on all subclasses. Does an abstract method makes sense here if they are all the same?, probably you don't need an abstract method for this as well

Another aspect is the process.env vars. If they are required, i think its better to check them on the constructor, and log/throw error if they are missing (see how its done for private key and rpcs, for instance)
thanks

Double check your imports, for instance, when importing from a relative path we might need to add the file extensions (.js). Otherwise the ESM modules do not load (try npm run build & npm run start) and you'll see..
An example: import { getFileFromURL } from '../core/downloadHandler' does not work, it needs to be:
import { getFileFromURL } from '../core/downloadHandler.js'
thanks

Hello @paulo-ocean, dowloadHandler is a .ts file

Your async getReadableStream(): Promise<Readable> implementations are pretty much the same on all subclasses. Does an abstract method makes sense here if they are all the same?, probably you don't need an abstract method for this as well

@alexcos20 mentioned in previous comments that this method need to throw a specific error depending on the storage type and should not be implemented only in the parent class and have conditional instances like. I think we can leave this method as abstract for the moment if @alexcos20 has not anything to add.

Another aspect is the process.env vars. If they are required, i think its better to check them on the constructor, and log/throw error if they are missing (see how its done for private key and rpcs, for instance)

I think validate() can include process.env, because is also called inside constructor and we can delete the validation condition from getDownloadUrl(). Makes sense?

Double check your imports, for instance, when importing from a relative path we might need to add the file extensions (.js). Otherwise the ESM modules do not load (try npm run build & npm run start) and you'll see..
An example: import { getFileFromURL } from '../core/downloadHandler' does not work, it needs to be:
import { getFileFromURL } from '../core/downloadHandler.js'
thanks

Hello @paulo-ocean, dowloadHandler is a .ts file

yes, but not when you build it :-) we had this conversation about node v20, relative paths, and ES modules a couple of weeks ago

@mariacarmina  your tests still break :-(, similar to what was happening to Illia on his branch... probably related with imports..
Do we really need all these types spread to multiple files. I think @alexcos20 also mentioned something about this
import { ArweaveFileObject } from '../../@types/arweaveFileObject'
import { IpfsFileObject } from '../../@types/ipfsFileObject'
import { UrlFileObject } from '../../@types/urlFileObject'

tkx

Double check your imports, for instance, when importing from a relative path we might need to add the file extensions (.js). Otherwise the ESM modules do not load (try npm run build & npm run start) and you'll see..
An example: import { getFileFromURL } from '../core/downloadHandler' does not work, it needs to be:
import { getFileFromURL } from '../core/downloadHandler.js'
thanks

Hello @paulo-ocean, dowloadHandler is a .ts file

yes, but not when you build it :-) we had this conversation about node v20, relative paths, and ES modules a couple of weeks ago, so i would not rely on that

After npm run build command. I see that there are both extensions.

@mariacarmina your tests still break :-(, similar to what was happening to Illia on his branch... probably related with imports.. Do we really need all these types spread to multiple files. I think @alexcos20 also mentioned something about this
import { ArweaveFileObject } from '../../@types/arweaveFileObject'
import { IpfsFileObject } from '../../@types/ipfsFileObject'
import { UrlFileObject } from '../../@types/urlFileObject'

IMO, these types/interfaces could be on the same file, as they relate tkx

I can group the interfaces in the same file.

Double check your imports, for instance, when importing from a relative path we might need to add the file extensions (.js). Otherwise the ESM modules do not load (try npm run build & npm run start) and you'll see..
An example: import { getFileFromURL } from '../core/downloadHandler' does not work, it needs to be:
import { getFileFromURL } from '../core/downloadHandler.js'
thanks

Hello @paulo-ocean, dowloadHandler is a .ts file

yes, but not when you build it :-) we had this conversation about node v20, relative paths, and ES modules a couple of weeks ago, so i would not rely on that

After npm run build command. I see that there are both extensions.

do you see the downloadHandler.ts ? i don't :-)

Double check your imports, for instance, when importing from a relative path we might need to add the file extensions (.js). Otherwise the ESM modules do not load (try npm run build & npm run start) and you'll see..
An example: import { getFileFromURL } from '../core/downloadHandler' does not work, it needs to be:
import { getFileFromURL } from '../core/downloadHandler.js'
thanks

Hello @paulo-ocean, dowloadHandler is a .ts file

yes, but not when you build it :-) we had this conversation about node v20, relative paths, and ES modules a couple of weeks ago, so i would not rely on that

After npm run build command. I see that there are both extensions.

do you see the downloadHandler.ts ? i don't :-)

No, it is only downloadHandler.d.ts, I refactored the import locally.

Overall LGTM your static getStorageClass(file: any): UrlStorage | IpfsStorage | ArweaveStorage { could be just static getStorageClass(file: any): Storage { as everything is extending that, and we probably should expect some error handling on the stream request, but i don't think its a deal breaker at this moment 👍

For the moment, we cannot do that, because async getReadableStream will be specific only in the children classes from @alexcos20 comment.


Make the codegen more succinct

I think it cannot be made any more smaller.. now!

@trha : please dont be confused by features formatting with the correct spacing now. it was done in the previous PR but I didn't regenerate it. So now they have all the changes.

Oops, I didn't mean to approve. Please update the generated file also.


Sign petition with an account

Proposition for #99 : auto fill petition's signature form with currently connected user, if any, else leave form empty

I can see you've rebased on origin/master.
Are you having troubles writing the unit test? I can write it if you want.
If you just lack time for this PR no worries then we can just wait :)

yes i just don't had the time until this week, i finish that at the end of the week :)
sorry for the delay !

Absolutely no problem!
I just wanted to ping to see if there was an issue I could help with :)
No hurry and no worry!
Thanks for your help :)


Xcode iOS Export godot_path returning Invalid project path specified: "project_name", aborting.

Tested versions
Reproducible in 4.3.Stable.Official
System information
macOS Sonoma, M2 Pro 16gb Ram
Issue description
Followed the tutorial outlined here: https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_ios.html and Build succeeds but then I get this error:
Invalid project path specified: "project_name", aborting.

Steps to reproduce
Use Godot 4.3 Stable on MacOS Sonoma with Xcode 16
Followed the tutorial outlined here: https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_ios.html.
In Supporting Files> export_project.info-plist added godot_path as key and the exact name of the referenced folder as the value in i.e. project_name.
Aware that the project name should different than the exported project file/folder
Minimal reproduction project (MRP)
N/A

I am having the exact same issue.

@syedmohsinbukhari unfortunately no. I manually re-export every time I make a change from Godot. It isn't very pleasant, but I am not totally blocked by this.

Hoping it gets addressed! For now just exporting everytime

@yemibox51 same here. I have been manually exporting as well. It is quite a nuisance. I hope this gets their attention.

I'm running into the same thing with Godot 4.3.stable and Xcode 16.1.

Same thing here, Godot 4.2 in my case, and Xcode 16.1

Same for me

Same for me!

This worked for me with an extra step:
Go to the Target Build Phases tab and add a "Copy Files" step. Select the referenced godot folder:


chore(deps): update dependencies round two

Preview environments are getting posted here, as soon as they are ready!


Feature/gayatrib0001

added 2 programs hello world and identification of even number

updated (added 2 files )


[Deployment] Continuous Deployment of Backend API using Vercel

WHAT DOES THIS PR DO?

In this PR, we implement continuous deployment  of the API using Vercel.

Once deployment is successful, a deployment URL will be available to access the API endpoints

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

Comparison is base (c453f92) 100.00% compared to head (2557d3e) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #96   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           21        21
  Lines          313       314    +1
=========================================
+ Hits           313       314    +1

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


Access Denied: 1020 on Replit

Verify latest release

[X] I verified that the issue exists in the latest chatgpt release

Verify webapp is working

[X] I verify that the ChatGPT webapp is working properly for this account.

Environment details
Node version: Node.js 18.12.1
Browser Version: Chromium 108.0.5359.94
OS Info:
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Additional info: run on (Replit)[https://replit.com] using the following code:
import { ChatGPTAPIBrowser } from 'chatgpt'

const api = new ChatGPTAPIBrowser({
  email: process.env.OPENAI_EMAIL,
  password: process.env.OPENAI_PASSWORD
})
await api.initSession()

const result = await api.sendMessage('Hello World!')
console.log(result.response)

Describe the Bug
Upon running node index.js, everything works fine until the browser opened.

Steps to reproduce:
Create an account with Replit, then navigate to the create button. Choose node.js as a template.
Create the index.js file using the code described in the Environment Details section of this report, then add "type": "module" to package.json.
Click the three dots in the file explorer to the left, and click show hidden files.
Navigate to replit.nix, and in deps add the following:
pkgs.chromedriver
pkgs.chromium

then run the following shell commands:
npm install puppeteer chatgpt
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
export NVM_DIR="$HOME/.config/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
unset npm_config_prefix
nvm install v18.12.1
node audit fix
export OPENAI_EMAIL="your_email_here"
export OPENAI_PASSWORD="your_password_here"
export PUPPETEER_EXECUTABLE_PATH=${whereis chromium | awk '{print $2}'}
node index.js

Most likely it is different, but it could be close to me (in Massachusetts, US) since it says "atl07" as the server. "Atlantic 07"

Some IP addresses are banned.

or wait until the official API is released.

On that note, OpenAI made an announcement today that they will begin monetizing ChatGPT soon. Could be a sign of an official API


Add support for specific executable lookups for workflows

It would be great to directly specify the path of the executable required for executing the workflow, instead of relying on looking up the the executable in precedence order in $PATH

This issue has been addressed by #78


chore(master): release 0.5.0

:robot: I have created a release beep boop
0.5.0 (2022-11-08)
This is a bigger breaking release that brings support for Bee 1.9. It is not compatible with the earlier Bee's version.
Features

increased nodes funding (#221) (86e8649)
latest builds (#150) (2ef924d)
queen image has postage stamp bought (#220) (ffbfaa2)
supported bee version check (#223) (4b02910)
update blockchain image and contracts addresses are in labels (#214) (a7eb6c6)

Bug Fixes

invalid mode and gas block limit (#217) (b8f3039)
state generation of docker images (#216) (7dc8992)

This PR was generated with Release Please. See documentation.

Release notes
0.5.0 (2022-11-08)
This is a bigger breaking release that brings support for the Bee 1.9. It is not compatible with the earlier Bee's version.
Features

latest builds (#150) (2ef924d)
update blockchain image and contracts addresses are in labels (#214) (a7eb6c6)

Bug Fixes

invalid mode and gas block limit (#217) (b8f3039)
state generation of docker images (#216) (7dc8992)

:robot: Release is at https://github.com/ethersphere/bee-factory/releases/tag/v0.5.0 :sunflower:

Release v0.5.0 addresses this.


Different grids shapes and spatially informative genes

Hi,
Thank you for the fantastic package. I've used the reconstruct_tissue.py script with my data and the results look promising. However, I have a couple of questions:

I was wondering, do you have any suggestions in how to use different shapes for the grids ( like circles or elipses)?
Do you have any function in the package to use for identify spatially informative genes? I couldn't find it.

Thanks a lot!
Ariel

Hi, thanks for your feedback, much appreciated!

I just pushed version 0.3.9 which contains a function that can be used for custom target spaces, see also the docs for more details.
This is still in the pipeline, shouldn't take longer to appear.

Nikos

Algorithm to identify spatially informative genes is implemented now in 7bf55f986ca1ef213a89c04813969a38c30ad2b5 and available with the version 0.3.10.


Switching an async function to async * doesn't update analysis

Start with some Dart code in IntelliJ.
Future foo() async { ... }

Start by updating the return type to Stream
Stream foo() async { ... }

Dart analyzer: WARNING: Functions marked 'async' must have a return type assignable to 'Future'.
Cool.
Now, update method to be async*
Stream foo() async* { ... }

Expected: no errors/warnings
Actual: WARNING: Functions marked 'async' must have a return type assignable to 'Future'.
Work-around: reanalyze all.

Happened to me as well. Another workaround is to delete the 'S' in Stream and add it back again.

@scheglov Is this related to incremental analysis?

https://codereview.chromium.org/2498873004

https://github.com/dart-lang/sdk/commit/b2c94a8a8987f70254232f8b6c837799d0cc3368


[stable/cockroachdb]: update version to 20.1.1

Is this a new chart
No
What this PR does / why we need it:
Bump version of cockroachdb to v20.1.1
Which issue this PR fixes
Special notes for your reviewer:
@dt @DuskEagle @cpanato
This PR is a continuation of https://github.com/helm/charts/pull/22536. It includes all commits from that PR, in addition to a new commit that adds links to CockroachDB documentation to the README file.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] Title of the PR starts with chart name (e.g. [stable/mychartname])

The CockroachDB helm charts have moved to http://github.com/cockroachdb/helm-charts. PR https://github.com/helm/charts/pull/23000 updates the stable/cockroachdb README to point at the new location. This PR can be closed.


Move homing operations to main GUI

For various reasons it probably makes sense for the GUI to tolerate an un-homed system and support homing cycles:

Cleaner crash recovery
VM1 homing is optional

In the meantime, maybe ask for VM1 if you want to home at startup

there are message boxes now


Bug Bash Feedback: tag name has to be given when running archer app deploy

After I created my cool project, I want to deploy my project so I run archer app deploy then it gives error as follow:
Only found one app, defaulting to: my-app
Only found one environment, defaulting to: test
Error: defaulting tag: exit status 128

Then, I ran archer app deploy --tag latest, it started deploying my application. I expect by default archer will give a default tag for my application if I do not specify one.

We try to run git describe --always to get a tag if you don't provide one.

Nope. I am not in a git repo.

We can probably bake something in to check if you're inside of a git repo or not to more gracefully handle this scenario.
Potentially git rev-parse --is-inside-work-tree

I believe this is resolved now:
https://github.com/aws/amazon-ecs-cli-v2/blob/84f02ce9cda4c80b57bdca2cbd4e724969332f54/internal/pkg/cli/app_deploy.go#L304-L315
If there is an error while retrieving a tag value from git, we prompt the user for a value


Delete plant function works now

there's gunna be merge conflicts though so fun times ahead

i've looked at the merge conflicts and fixed it, but couldn't save my changes and wait for your review. i made a copy of them so we don't have to spend time figuring them you


UNL 1.0.0-7.004-git VirtualPC Support (VPCS)

Hi,
So while playing around with UNL a bit more, i noticed while adding a device there was the ability to add a VirtualPC (VPCS).
I downloaded VPCS 0.8 and placed it inside of /opt/vpcsu/bin/vpcs, fixed permissions and made it executable.
checking the /opt/unetlab/data/Logs/unl_wrapper.txt file it shows;
Apr 07 18:07:12 INFO: starting /opt/vpcsu/bin/vpcs -m 4 -N VPC4 -i 1 -p 32900  -e -d vunl1_4_0 > /opt/unetlab/tmp/1/5a462e27-634b-4d00-ad5e-4e4bf18079eb/4/wrapper.txt 2>&1 &
Not starting of course, it seems the option -N is not liked by VPCS.
My /opt/unetlab/tmp/1/5a462e27-634b-4d00-ad5e-4e4bf18079eb/4/wrapper.txt file shows the following output;
/opt/vpcsu/bin/vpcs: invalid option -- 'N'
Please Advise.
Note: I do know that I could just simply use a Linux LiveCD, but I do like the speed and quick, and low memory from VPCS. If this will not be supported in upcoming releases than I look into TinyCore linux or MicroCore linux live images/qemu images.
Thanks in advance.

Instruction will be provided after next release, check new instruction http://www.unetlab.com/documentation/index.html   or  Youtube https://www.youtube.com/c/UnifiedNetworkingLab

Alright, i will wait for the next release and for any new instructions when the release is public.

Welcome and please close the issue.

Patience.
With next release lots of interesting stuff coming :)


Startup fails when subscription already exists

While trying to test UDF code, I am constantly starting and stopping kapacitor, and quite often it is crashing.  Very often when I restart it, I see:
run: open server: open service *influxdb.Service: subscription already exists
I then need to keep a console open on the influx server to delete the subcription before starting kapacitor.
Should it simply start listening on the correct port if the subscription is in place?

@cheribral Could you provide your startup log with debug level logs when it fails?
Subscriptions can exist before startup so something odd is going on.

@nathanielc Here is what I have after an UDF function malfunction causes kapacitor to stop, with some lines from the crash included for context.
[task_store] 2016/07/13 02:21:53 E! task cpu finished with error: error restoring snapshot: 'state' object has no attribute 'modelParams'
[task_store] 2016/07/13 02:21:53 E! failed to save last error for task cpu
[httpd] 2016/07/13 02:21:53 I! Closed HTTP service
[srv] 2016/07/13 02:21:53 D! closed service: *httpd.Service
[edge:TASK_MASTER|write_points->stream] 2016/07/13 02:21:53 D! closing c: 14276 e: 14276
[task_master] 2016/07/13 02:21:53 I! closed
[run] 2016/07/13 02:21:53 I! server shutdown completed
[run] 2016/07/13 02:22:21 I! Kapacitor starting, version 0.13.0, branch master, commit ce28f6dced073e473b44f592517fa6c4d05b5e65
[run] 2016/07/13 02:22:21 I! Go version go1.6.2, GOMAXPROCS set to 4
[srv] 2016/07/13 02:22:21 I! Kapacitor hostname: laws-nag.telogis.local
[srv] 2016/07/13 02:22:21 I! ClusterID: 17b0b2de-49fd-4e4d-8765-99ebd2e56119 ServerID: 55b6633a-34b8-48a0-bf74-6db56ad12cbe
[task_master] 2016/07/13 02:22:21 I! opened
[srv] 2016/07/13 02:22:21 D! opening service: *udf.Service
[udf] 2016/07/13 02:22:22 I!P 2016-07-13 02:22:22,054 INFO:root: Starting Agent
[udf] 2016/07/13 02:22:22 I!P 2016-07-13 02:22:22,056 INFO:root: Agent finished
[udf] 2016/07/13 02:22:22 D! loaded UDF info "anomaly"
[srv] 2016/07/13 02:22:22 D! opened service: *udf.Service
[srv] 2016/07/13 02:22:22 D! opening service: *deadman.Service
[deadman] 2016/07/13 02:22:22 I! Deadman's switch is configured globally
[srv] 2016/07/13 02:22:22 D! opened service: *deadman.Service
[srv] 2016/07/13 02:22:22 D! opening service: *smtp.Service
[smtp] 2016/07/13 02:22:22 I! Starting SMTP service
[srv] 2016/07/13 02:22:22 D! opened service: *smtp.Service
[srv] 2016/07/13 02:22:22 D! opening service: *influxdb.Service
[influxdb] 2016/07/13 02:22:22 I! linking subscriptions
[udp:metrics.default] 2016/07/13 02:22:22 I! Started listening on UDP: [::]:57494
[influxdb] 2016/07/13 02:22:22 I! started UDP listener for metrics default
[srv] 2016/07/13 02:22:22 D! closing service: *udf.Service
[srv] 2016/07/13 02:22:22 D! closed service: *udf.Service
[srv] 2016/07/13 02:22:22 D! closing service: *deadman.Service
[srv] 2016/07/13 02:22:22 D! closed service: *deadman.Service
[srv] 2016/07/13 02:22:22 D! closing service: *smtp.Service
[smtp] 2016/07/13 02:22:22 I! Closing SMTP service
[srv] 2016/07/13 02:22:22 D! closed service: *smtp.Service
[srv] 2016/07/13 02:22:22 D! closing service: *influxdb.Service
[udp:metrics.default] 2016/07/13 02:22:22 I! Service closed
[srv] 2016/07/13 02:22:22 D! closed service: *influxdb.Service
[srv] 2016/07/13 02:22:22 D! closing service: *storage.Service
[srv] 2016/07/13 02:22:22 D! closed service: *storage.Service
[srv] 2016/07/13 02:22:22 D! closing service: *task_store.Service
[srv] 2016/07/13 02:22:22 D! closed service: *task_store.Service
[srv] 2016/07/13 02:22:22 D! closing service: *replay.Service
[srv] 2016/07/13 02:22:22 D! closed service: *replay.Service
[srv] 2016/07/13 02:22:22 D! closing service: *alerta.Service
[srv] 2016/07/13 02:22:22 D! closed service: *alerta.Service
[srv] 2016/07/13 02:22:22 D! closing service: *stats.Service
[srv] 2016/07/13 02:22:22 E! error closing service *stats.Service: error closing stats service: service not open
[srv] 2016/07/13 02:22:22 D! closed service: *stats.Service
[srv] 2016/07/13 02:22:22 D! closing service: *httpd.Service
[httpd] 2016/07/13 02:22:22 I! Closed HTTP service
[srv] 2016/07/13 02:22:22 D! closed service: *httpd.Service
[edge:TASK_MASTER|write_points->stream] 2016/07/13 02:22:22 D! closing c: 0 e: 0
[task_master] 2016/07/13 02:22:22 I! closed
[run] 2016/07/13 02:22:22 E! open server: open service *influxdb.Service: subscription already exists

This crashes for me on the latest stable v0.13.1 but not on the latest unstable v1.0.0-beta4.

Still happens for me in the latest beta

Nevermind, you're right, it still happens for me too. I was hitting a different issue.

@simonsdeng are you by any chance also using a loadbalancer/HA configuration?

@thecodeassassin No, not right now, but that is something I was planning on looking into. Thanks!

This is fixed in #811


Provide Support for Pulling Entire Family Together

Requester information

Name:
Eric Torstenson

Affiliations:
VUMC/AnVIL

Request Details

Purpose:

Provide a way to easily query/pull all members of a given family based on the family ID
Perhaps provide a way to link all family IDs to a research study

Who it benefits:
Researchers that rely on family/pedigree data as a part of their study design

Use case:
A family based study has many families participating in it, each of which has 2 or more individuals. For #1, we would want to be able to quickly identify all members of a given family, and for #2, we may want to identify all family IDs that are participating in the study

There are a handful of possible solutions for Purpose #1

Simply adding family ID to the value[x] within the Observation used to annotate the family relationship. This does add a key bit of information to that relationship datapoint, but may not be ideal for pulling data associated with a large family.

Creating a group to hold family members. This should be efficient for querying members, except that adding new members will require rebuilding that group structure, which may not be ideal.


expose show function for ocamltter command

Currently, help says that there is show command in ocamltter, but actually show command is not available.
# print_string help;;
commands:
  l()                  list timeline
  lc N                 list timeline(N lines)
  lu "NAME"            list NAME's timeline
  m()                  list mentions (tweet containing @YOU)
  u "TEXT"             post a new message
  re ID "TEXT"         reply to ID
  del ID               delete tweet of ID
  rt ID                retweet to ID
  qt ID "TEXT"         qt ID
  qtlink ID "TEXT"     qt with link for ID
  follow "NAME"        follow NAME
  unfollow "NAME"      unfollow NAME
  fav ID               mark ID as favorites
  frt ID               fav ID and rt ID
  report_spam "NAME"   report NAME as a spam user
  s "WORD"             search tweets by a WORD
  show ID              show the tweet of ID
  link ID              link for the tweet of ID
  kwsk ID              show the convesation about ID
  setup()              (re)authorize ocamltter
  start_polling ()     start polling
  stop_polling ()      stop polling
  limit_status ()      rate limit status of API
  let CMD = ...        define a your own command CMD
  help                 print this help
  #quit                quit ocamltter
- : unit = ()
# show<PHONE_NUMBER>48663808L;;
Error: Unbound value show

This pull request fixes this issue by exposing show function defined in toplevel/ocamltter.ml.
# show<PHONE_NUMBER>48663808L;;
- : OCamltter_twitter.Api_intf.Tweet.t =
{ user="OCamlLang"; id=774350136348663808L;
  text="OCamlCore Forge News: https://t.co/x5OsSD39HQ is deprecated https://t.co/CbkC0hbwfk" }

thank you


support multi tenant, self sign up users

Summary
I am new to platform but I didn't find a functionality/settings which help founders to enable multi tenancy, Where users can sign up and manage their own copy of data/application.
Motivation

as a founder i can publish the app over internet where users come to app's homepage and signup as individual or organisation and manage their own tasks/data securely.
as a founder i will be able to release changes for all signed up users/orgs.

Hello @ajprn thank you for the feature request. Would this be a Portal like feature?

not sure what you mean by portal but my thought is that

there should be a feature to enable login/signup module for each app we create, ie - I create 4 apps which provide different services and same user can signup in those 4 apps independently without knowing that i am the owner of all apps.
there should be a feature within app settings to allow user to enable stripe/braintree integration so he can sell services based on subscription.
and allow admin to create multiple versions of app and push new release for all users or allow users to choose current app versions.
there should be a out of the box login module with applications, it admin enable that then it create landing, login, signup and logout page.
@Nikhil-Nandagopal  let me know if you think it could be part of your future release or development plan.

@ajprn thank you for the details! This certainly makes sense but it will be a while before we can add this to our roadmap.
You can manually build the authentication / access control yourself inside appsmith with your own backend but supporting this out of the box will take awhile :)


Add contribute section

Hi, I would be great if you could add a contribution guide line,

how to contribute code.
code standards
testing standards.
and most importantly a list of features/bugs needed!!

We already have a quite detailed contributors guide, that is automatically
linked to from the top of each GitHub issue / PR page, and from the readme.
It doesn't contain a feature wish list though.
On Saturday, 11 June 2016, David limkys<EMAIL_ADDRESS>wrote:

Hi, I would be great if you could add a contribution guide line,

how to contribute code.
code standards
testing standards.
and most importantly a list of features/bugs needed!!

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/photonstorm/lazer/issues/10, or mute the thread
https://github.com/notifications/unsubscribe/AAKCfHgaAUTj-TNNVj12vQWhU75jZre3ks5qKj18gaJpZM4IzeFQ
.

--
Photon Storm Ltd.
http://www.photonstorm.com
Skype: richard.davey
Twitter: @photonstorm
Registered in England and Wales.
Company ID: 8036404
VAT Number: 136 4333 27

Scratch that - I didn't see this was on the Lazer repo :)
I will add these things in due course. It's too early at the moment (too
many cooks in the kitchen and all that)
On Saturday, 11 June 2016, Richard Davey<EMAIL_ADDRESS>wrote:

We already have a quite detailed contributors guide, that is
automatically linked to from the top of each GitHub issue / PR page, and
from the readme.
It doesn't contain a feature wish list though.
On Saturday, 11 June 2016, David limkys<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Hi, I would be great if you could add a contribution guide line,

how to contribute code.
code standards
testing standards.
and most importantly a list of features/bugs needed!!

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/photonstorm/lazer/issues/10, or mute the thread
https://github.com/notifications/unsubscribe/AAKCfHgaAUTj-TNNVj12vQWhU75jZre3ks5qKj18gaJpZM4IzeFQ
.

--
Photon Storm Ltd.
http://www.photonstorm.com
Skype: richard.davey
Twitter: @photonstorm
Registered in England and Wales.
Company ID: 8036404
VAT Number: 136 4333 27

--
Photon Storm Ltd.
http://www.photonstorm.com
Skype: richard.davey
Twitter: @photonstorm
Registered in England and Wales.
Company ID: 8036404
VAT Number: 136 4333 27

This cook as some spare time and a new found love for this framework, contact me if you need a helping hand =]

There is a huge 'wishlist' thread on the Lazer forum, which contains I think a few hundred requests for features!
None of the other stuff exists yet though (contributors guide, etc) - but if you want to start them off I'd be happy to merge it in.


A little writing and a hasError bug fix for the store

Thanks, looks good. BTW, we use feature/feature-name because no one owns a branch.


Realsense viewer does not work with any setup of kernel or SDK version

Required Info

Camera Model
{ d435 t265 }

Firmware Version
last official

Operating System & Version
ubuntu 18.04

Kernel Version (Linux Only)
(e.g. 4.18 low latency or 4.18  or 5.0lts

Platform
PC i7 8565u uhd620 gpu 8ram

SDK Version
2.31 or 2.29

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
robot

I installed from source or apt, 2.29 or 2.31, clean install of ubuntu, kernel 4.18, 4.18 low latency and 5.0 (last from ubuntu image), mesa drivers from apt or ppa and glxgears, glmark and glmark2 se2 works correctly. the cameras on ros wrapper works ( with connection issues when I connect 435+t265), multicam test works, rs enumerate devices works, lsusb recognice the ca,eras with ID (sometimes t265 no ID).
Realsense viewer doesnt work.
thanks by all this nice cameras and the constant support and updates, is just amazing.
|

Hi @FPSychotic
Sorry for the issue. Please run rm ~/.realsense-config.json and rerun the Viewer

I did already and I did again now, I tried different resolutions too, and same issue.Thanks by the fast answser a sunday.

I think F8 or F10 should switch Viewer into full screen mode, perhaps this will help?

Did not changed anything. Anyway this is not a critical thing, I think I will wait to next apt update. pleuse dont use your Sunday time on this
Thanks a lot

Another, a bit hacky solution would be to add scale_factor = 1.f; before imgui_impl_glfw.cpp:243.
I think for whatever reason monitor physical size is not correctly identified.

Ahh, dont worry more at the moment, I have a DVI adapter on some place, the monitor is a tv via hdmi quite old, Im quite sure is due to that

Hi @FPSychotic Do you need further help on this? Can we close this issue?
Thanks,


torchtext and torchdata

I have problem when try implementation of https://nlp.seas.harvard.edu/annotated-transformer/
on torch 1.12.0 torchdata need torch 1.11.0,
but on torch 1.11.0 torchtext got error
''' >>> import torchtext
Traceback (most recent call last):
File "", line 1, in
File "/home/jetson/.local/lib/python3.8/site-packages/torchtext/init.py", line 9, in
from . import vocab
File "/home/jetson/.local/lib/python3.8/site-packages/torchtext/vocab/init.py", line 11, in
from .vocab_factory import (
File "/home/jetson/.local/lib/python3.8/site-packages/torchtext/vocab/vocab_factory.py", line 4, in
from torchtext._torchtext import (
ImportError: /home/jetson/.local/lib/python3.8/site-packages/torchtext/_torchtext.so: undefined symbol: _ZNK5torch3jit6MethodclESt6vectorIN3c106IValueESaIS4_EERKSt13unordered_mapISsS4_St4hashISsESt8equal_toISsESaISt4pairIKSsS4_EEE '''

@ketut ,
Did you install torchtext from scratch? As far as I know, there is no wheel for the aarch64 architecture.
see also repo

@ketut ,
Did you install torchtext from scratch? As far as I know, there is no wheel for the aarch64 architecture. see also repo

I have tried this, but it produces the same error

Thank you @Qengineering, it's works


Fix SASS compilation errors

Files were called in wrong order causing following errors when compiling SASS:
$ ./scss.sh
>>> Sass is watching for changes. Press Ctrl-C to stop.
      error scss/agency.scss (Line 10: Undefined variable: "$secondary-dark".)
      error scss/bootstrap.min.scss (Line 7: Undefined variable: "$secondary".)
      write css-compiled/global.css
      write css-compiled/global.css.map

any fix for this error?

Yes, take a look at my commit (4c312ca)

thanks, but this has not been merged, how can I apply this patch directly to my local clone?

Juste rename the following files :
scss/agency.scss to scss/_agency.scss
scss/bootstrap.min.scss to scss/_bootstrap.min.scss
Explanation here: http://sass-lang.com/guide#topic-4

got it! thanks 👍

I didn't get the error myself when compiling, I guess it's a configuration issue, but this fixes the unused css compilation of the agency and bootstrap scss files.


go_vet reports unknown identifier in example code

For example, the github.com/gowww/compress package.
The package name compress is suffixed with _test inside the example_test.go file.
That's maybe why this go vet doesn't recognize the identifier reference.
But it should.
And locally, my go vet github.com/gowww/compress returns no error.

@arthurwhite that is strange behavior indeed.
i can't reproduce it on my local, but i see it failing on the go report card server. i opened a ticket with gometalinter, will see what the author says:
https://github.com/alecthomas/gometalinter/issues/108

Looks like it's not gometalinter but rather something strange going on with vet on the server...I'll try to investigate further soon

Weird, go vet passes on command line on my local, but fails with the same errors when running Go Report Card locally.

What go versions are you guys using?
I have a similar problem in one of my projects: it works with Go 1.5.X, but fails with Go 1.6.X

Personally, I have the 1.6.2 darwin/amd64 installed with Homebrew.
What is even weirder is that Go Report Card returns a 100% success for another package (github.com/gowww/log) which have exactly the same "template".

I just pushed a new commit and Go Report Card fails for this package too. 💣
|  example_test.go
--- | ---
Previously | e31412b
Now | a2e97ea

Same for this package: https://goreportcard.com/report/github.com/db47h/cache
I use go 1.7 and go-tip as test code is not compatible with go <1.7,

Maybe this is a caching issue? In my case, I got the false positive

radix/example_test.go
Line 8: error: ExampleSortSlice refers to unknown identifier: SortSlice (vet)

Perhaps go vet is looking at the new version of the file example_test.go and an older cached version of the file that actually contains SortSlice. I did, in fact, use goreportcard earlier, when the new function and the new test didn't yet exist.

@korthaj unfortunately I don't believe it's a caching issue but rather an issue with go tool vet itself. I just ran it manually against your repo and I get the error:
$ go tool vet *.go
example_test.go:8: ExampleSortSlice refers to unknown identifier: SortSlice

gometalinter uses go tool vet rather than go vet, I believe for historical reasons. Someone brought up a similar issue here:
https://github.com/alecthomas/gometalinter/issues/218
If I can find a way to have gometalinter use go vet instead of go tool vet, it might be fixable.

If I can find a way to have gometalinter use go vet instead of go tool vet, it might be fixable.

At first glance, just calling go vet instead of gometalinter at check/go_vet.go:21 should do the fix.
'Doesn't work like this?

I'm experiencing the same problem here
from this report. The identifier is defined and on local version it reports no issues.

Same experience with my new repo github.com/GoLangsam/template using unnamed import aka import . "html/template" (as does standard html/template/template_test.go).
Local use of go vet and go tool vet remains silent.
Local use of gometalinter gives same "noise"!
Local use of goreportcard (under Windows - mind You :-) with latest gometalinter gives same "noise"!
After patching check/go_vet.go to:
return GoTool(g.Dir, g.Filenames, []string{"go", "tool", "vet"})

things are fine :-)
(except for small and unrelated Windows-issues - and that's a separate story!)

I will take a look at this soon.

Looking @ alecthomas/gometalinter#218 I feel that they'r pushing this off to the go tool chain. Thus, there is no hope for any quick solution soon.
Having browsed cmd/go/main.go and friends such as pkg.go I understand the trouble of the go team in supporting the variety of usages of their tools.
I also understand and experience: the best (if I may say so) way to point to packages is inside a workspace ($GOPATH set) and via import-path-of-package\....
Looking @ Your implementation, I see:

You supply individual filenames ... (to be discussed separtely)
nowhere do not (attempt to) touch $GOPATH

Thus: I just set my $GOPATH the _repo - and: All is fine and copathetic :-) :-) :-)
So, I'd humbly like to recommend: Stay far away from non-standard usage of package pointers when using go tools!
(Note: There's even a myriad of issues, blogs etc. around explaining very good reasone as of why some usage styles have to behave in ways unexpected to the naive and innocent user.)

Having found this, I'll have to read and think a little more in order to come up with a feasible solution which suits Your product.

@shawnps @hermanschaaf
here we go - Sorry for keeping You waiting :-)

This is still an issue, I've raised it against go vet:
https://github.com/golang/go/issues/22530

As suggested by Russ Cox if the calls to go tool vet are replaced with calls to go vet examples pass.

I have a similar problem with my package logstash-config.
Locally go vet ., go tool vet . as well as gometalinter . do not return an error. I use go version go1.10.1 linux/amd64. On goreportcard.com the following error is shown (https://goreportcard.com/report/github.com/breml/logstash-config):
logstash-config/logstash_config_test.go
Line 12: error: ExampleParseReader refers to unknown identifier: ParseReader (vet)

The ParseReader function is defined in logstash_config.go, which is a generated file and therefore has the comment // Code generated by pigeon; DO NOT EDIT., which instructs the go tools to not perform linting and vetting on this file (see https://github.com/golang/go/issues/13560#issuecomment-288457920 for details).

I hit this regularly when working with examples (with a _test package name).  Gometalinter will pass locally but goreportcard reports these false warnings.  In most cases, I am able to change the example to use the same package name but sometimes that causes import cycles....

Have the same problem in this report https://goreportcard.com/report/github.com/ockam-network/did
Locally go vet github.com/ockam-network/did returns no errors.

I was able to reproduce the error by running go vet <file> against only the example_test file rather than against the whole repo.
λ go vet example_scanner_test.go
# command-line-arguments_test
./example_scanner_test.go:33:1: ExampleRow refers to unknown identifier: Row
./example_scanner_test.go:55:1: ExampleRow_scalar refers to unknown identifier: Row
./example_scanner_test.go:74:1: ExampleRows refers to unknown identifier: Rows
./example_scanner_test.go:96:1: ExampleRows_primitive refers to unknown identifier: Rows
- master
λ go vet github.com/blockloop/scan
- master
λ

hi,
i had the same issue. Please note the naming convention described here:
https://golang.org/pkg/testing/#hdr-Examples


Custom Properties defined on object tile definitions do not propogate.

Describe the bug
Custom Properties defined on object tile definitions do not propagate.
To Reproduce
Steps to reproduce the behaviour:

Create a tile project
Create a tileset with at least one tile
On the tileset create a custom properties on the tiles (e.g. "godot_script" -> "../scripts/lights.gd")
On the tilemap create an object layer
Place tiles in a map
Load map into Godot4

Or succinctly: Property in the tsx, but not in the tmx on object layers.
Expected behavior
Custom properties should propogate through from the tileset, so that a tile with can have a script (or any other custom) defined in the tileset.  Otherwise each instance of the tile needs to have the property set in the map editor.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I had a (poor) go fixing it myself, the function handle_object in TilemapCreator can be made to reference back to the custom data layer of the tileset, and while elegant enough for my own needs it seemed a bit hacky; theres possibly a better way.  Awesome tool otherwise :)

Ok, haven't come across this use case yet.

The way I came across it was wanting to add an object layer with tile based objects representing lighting placement. In the tiles map editor I can assign a godot_script custom script to each tile-based object on the object layer, but it's so laborious.  I can add the custom script to the tileset, but the importer doesn't look at the "default" properties in the tileset when creating the sprite, which is a shame because the custom properties are imported to the tileset in godot as custom data layers, they just never get preference when handling the properties in the object creator.On 08/07/2024, 19:26 Roland @.***> wrote:
Ok, haven't come across this use case yet.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

You could help me a bit by providing a little use case example i.e. a small Tiled project + manipulated Godot result illustrating how it should look.

Should be now fixed with release 1.6.8 / 2.0.0


How to validate data in init?(map: Map)?

Hello,
I am trying to figure out how to validate JSON data prior to mapping (e.g. key exists, data type is correct, that sort of things). As stated in the Mappable protocol definition, the init?(map: Map) function is the place to do this.
public protocol Mappable: BaseMappable {
    /// This function can be used to validate JSON prior to mapping. Return nil to cancel mapping at this point
    init?(map: Map)
}

The question is what would be a correct way to achieve this? Below is my code, but I am pretty sure I should not be mapping anything in init.
struct Result: Entity {

    var id: String!
    var score: Score!
    var markers: [Marker]!
    var benefits: [Benefit]!
    var date: Date?
}

// MARK: - JSON

extension Result: Mappable {

    init?(map: Map) {

        precondition(map.mappingType == .fromJSON)

        id <- map["id"]
        guard id != nil else { return nil }

        score <- map["score"]
        guard score != nil else { return nil }

        markers <- map["markers"]
        guard markers != nil else { return nil }

        benefits <- map["benefits"]
        guard benefits != nil else { return nil }
    }

    mutating func mapping(map: Map) {

        id <- map["id"]
        score <- map["score"]
        markers <- map["markers"]
        benefits <- map["benefits"]
        date <- (map["date"], dateTransform)
    }
}

Thanks,
Sebastian

This is more of an issue for actual ObjectMapper rather than Moya-ObjectMapper.
Regardless, since you're using Mappable instead of ImmutableMappable, the init function is only to validate fields. this is what I used to do with Mappable classes:
// UserProfile.swift
import Foundation
import ObjectMapper

struct UserProfile: Mappable {

  private static let keys = ["user", "trips"]

  var user: User!
  var trips: [Trip]!

  init(user: User, trips: [Trip]) {
    self.user = user
    self.trips = trips
  }

  // MARK: JSON
  init?(map: Map) {
    guard map.contains(keys: UserProfile.keys) else {
      print("UserProfile")
      dump(map.JSON)
      return nil
    }
  }

  mutating func mapping(map: Map) {
    user <- map["user"]
    trips <- map["trips"]
  }
}

// ObjectMapper+Contains.swift
import ObjectMapper

extension Map {

  func contains(keys: [String]) -> Bool {
    guard keys.count > 0 else {
      return true
    }

    return keys.reduce(true) { (result, key) -> Bool in
      result && self[key].isKeyPresent
    }
  }
}

Thanks a lot!


When will NowJS be able to read the response and request objects?

It's really painful not to be able to access the user's session.

Probably this link can help you to build a workaround and to probably propose an implementation for a simpler API to now.js. Remember to look also Update 2 and Update 3 where Justin Slattery activates the authenticated sockets.

@felixchan
You can access the session data by finding the connection sessionId:
var id = unescape(this.user.cookie['connect.sid']));
With which you can access the session date if you are using sessions in express.

Because of the different paradigm of request / response as opposed to realtime data communication, it's not possible to access the request/response object (as there is no concept of request or response). Use the technique above you can access the session data store.
Closing


typings: fix take typings for array of heterogeneous action creators

Fixes https://github.com/redux-saga/redux-saga/issues/1740#issuecomment-467167529
https://github.com/redux-saga/redux-saga/pull/1769 only fixed takeEvery et al. But TS still got confused on similar usage of take.

CI failure seems to be unrelated, thanks!


Wait for extension contributions in welcome.showAllWalkthroughs

This PR fixes #135487
Another option is to hide Get Started: Open Walkthrough... and Get Started: Go Back commands from command palette (especially the go back, doesn't seem to be useful, as closeFindWidget command is not there)

Thanks for working on this!


ci: migrate on github actions

This PR contains a:

[ ] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[x] metadata update

Motivation / Use-Case

github actions (most of the repository has already migrated)
improve setup for dev tools (they will be in the next webpack-default release)

Breaking Changes
Nope
Additional Info
No

@ricardogobbosouza I have a lot of other repos where we should migrate :smile: , so I am merging, feel free to leave feedback :+1:

@evilebottnawi nice 👍


Allow sharing of images/videos directly from gallery

Summary
Would be nice to have the ability to share images/videos directly from the gallery.
Environment Information
Android 7.1.1
Steps to reproduce
Try sharing an image from your phones gallery and Mattermost won't appear as a destination to send images to (like you can share into Telegram etc)
Expected behavior
Mattermost should appear as a destination to which an image or video can be sent to.

This is planned for the 1.6 release

Perfect! Thanks. I'll close this issue now 👍


Supported cards driver drop/recovery detection mechanism.

issue background: comes from tencent customers. when a driver or physical card drop occurs in a cluster environment, it is hoped that the device plugin can perceive these changes.
A. Instructions,

When a card drop occurs, hlml.WaitForEvent will generate an unknown error status. so when an unknown error occurs, use the event function of the registered card to judge the driver status of all cards. If the registration fails, it means that the current card is in the driver drop state, otherwise the card driver is normal.

If it is in the driver drop state, the card will be marked as unhealthy and the nodes in the cluster environment will be notified to update the status of the allocable cards.

Add a driver drop status structure unhealthyDevices, which will be recorded every time the driver drops.

During each card health status detection, all recorded unhealthy devices will be checked to see if the driver has recovered.

B. Verification,

Deploy the K8s environment and deploy the Habana device plugin when the Gaudi card is in normal state.

Check the number of Gaudi cards that can be allocated on the node node in the cluster environment.  (8)

Simulate the driver card drop method:
Command:

     echo '0000:5a:00.0' | sudo tee /sys/bus/pci/drivers/habanalabs/unbind
     echo '0000:48:00.0' | sudo tee /sys/bus/pci/drivers/habanalabs/unbind

hl-smi output:

Check the output of the Habana device plugin log and the allocatable number of Gaudi cards on the node again.
a.    Device plugin log: will print the card drop status:

b.	Check the number of cards that can be allocated on the node : (8 -> 6)

Cards driver recovery:
Command:

     echo '0000:5a:00.0' | sudo tee /sys/bus/pci/drivers/habanalabs/bind
     echo '0000:48:00.0' | sudo tee /sys/bus/pci/drivers/habanalabs/bind

hl-smi output:

Verify the Habana device plugin log and the allocatable number of Guadi cards on the node.
a.	Device plugin log: will print the card recovery  status:

b.	Check the number of cards that can be allocated on the node: (6->8)

@snirkop89

@penglong-hub Thank you for the detailed PR and suggestion.
I'll take a look and run tests internally, and once we verify the solution, we'll commit a fix (might be implemented differently).
However, this repository is a mirror of an internal one, and changes won't be done here directly. They will be reflected here once
there's a new release.

the fix will be released in 1.18


Set up basic user settings related pages

This PR will resolve #10, resolve #11, resolve #25,  resolve #27, resolve #28.
Overview
This PR sets up the user settings pages, where the user can view their own profile information (username, email address, skill level) and allows the user to update these respective fields. User can self-delete their own account too and be redirected to the main landing page after doing so.
Setup

Re-run yarn to install additional dependencies and then enter yarn-dev to start up development server on localhost:3000.
Since authentication routes and pages are not created yet, we have manually login into an account through Postman/curl and retrieve the JWT token.
Inspect element in the browser and add the JWT token in local storage where the key is jwtToken and value is the JWT Token itself.
Navigate to localhost:3000/user-settings/[user_id] where [user_id] is the user_id of authenticated user

Changes made on Frontend

New directory path user-settings/[user_id] is created under app/ folder which will eventually display a page that shows the user settings of the specific user logged in
New components created

user-settings component containing 2 main tabs, which are Profile (Can view and update username, email, skill level) and Account (can delete account) ~ NOTE: Profile picture functionality in Profile tab is not functional yet as we need to discuss how we are going to store the profile picture & Change password functionality in Account tab not functional yet
delete-account-modal component created to help support the delete user account functionality
New shacdn UI components created to support the creation of the main user-settings component

Changes made on Backend

user-model is updated to include 2 new fields, skillLevel and isDarkMode respectively. Every user is now required to have these 2 new fields. Their default values are NIL and false respectively
Note that skillLevel of user can be updated from the frontend, but the isDarkMode update functionality from the frontend is not implemented yet, since its priority is set to low (refer to #37)

Screenshots

Account tab of user settings page

Success toast message appears when user information is updated successfully

Profile tab of user settings page

Confirmation pop up window for deleting account

For convenience, can you put the name of the guy in the confirm delete account. So that the user can delete their account asap.

For convenience, can you put the name of the guy in the confirm delete account. So that the user can delete their account asap.

I think that the point of having such a functionality is to ensure that the user does not anyhow delete their own account. This is similar to how Github makes the user type in the entire repo name to confirm deletion of the repo.

Good riddance guys


Fixes compatibility issues with django 1.10

This branch merges the changes proposed by Anna Prochowska on 59b46ca plus it fixes compatibility issues related to django 1.10 and the new model._meta API.

I missed one of the functions in utils.py. I am sending an ammended pull request.

Until this gets merged, I've been happily using this with a Django 1.10 project.

That's good to hear. Your Python-jss library has saved me lots of time. Very nice work @sheagcraig

Is this branch stale? Tiliv has not been around for a long time..

I've unfortunately been very busy these last several months and regret not having cleaned everything up yet.  I was 99.99% ready to release when I got derailed on a live examine documentation server.
Realistically, I will need about 1 month more of hiatus, but this branch should still work fine.  After that I'm eager to get this thing sparkling again for the latest Django and datatables.js versions.
A heartfelt thanks has to go to the compatibility forks that have carried people forward while my attention has been elsewhere.

@tiliv great to hear from you. We will be waiting until you get back. In the meantime, if there is anything I can help with let me know.

I was saddened to think the best wrapper to best js grid app for the best python web framework was losing leadership.. I am glad I was wrong. I just came across this project yesterday, though, let me know too if I can help.

Awesome. How does this work with the pypi package. I imagine you have to do a release and/or actually push to pypi, and that this PR doesn't in itself constitute a release.
Also, @jangeador I'm frankly shocked that you have even heard of, no less used python-jss. Small world I guess!

I want to comb through a few things before I do a proper release, and also get the latest live demos set up outside of App Engine, which is doomed to be inadequate.  I'll try to stay on this for a release in the next couple of weeks (I'm leaving town for a while after that).

Do you also plan to remove the legacy configuration and its code? We really need to get the basics (e.g., paging, sorting, filtering, etc.) solid, so I think a clean-up would help. Also, as you review things, if you add more explanation here and there, especially function docstrings, that would help tremendously when debugging. When I read the code I see what it is doing, but not necessarily what it is meant to be doing :) which is crucial for debugging.

0.9 and 1.0 will be identical and released at the same time, except that 1.0 will have the legacy syntax removed (so that people needing a softer transition can use 0.9 until they are ready to make the switch).

Perfect. I might be on the 0.9 side :)
I am still not fully aware of the benefits of the new syntax. For example,
I wonder the use cases/advantages of defining a column as such:
head_line = columns.TextColumn(..
since type information is already in the Django model..
On Wed, Oct 5, 2016 at 1:12 PM Tim Valenta<EMAIL_ADDRESS>wrote:

0.9 and 1.0 will be identical and released at the same time, except that
1.0 will have the legacy syntax removed (so that people needing a softer
transition can use 0.9 until they are ready to make the switch).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pivotal-energy-solutions/django-datatable-view/pull/133#issuecomment-251754173,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwzjgfhtoihS7AzgAs-bXNobVQB8pujks5qw-iYgaJpZM4JfcRG
.

Datatable.Meta.columns will let you name columns you want to appear without declaring the whole thing from scratch.  The whole of Datatable.Meta is basically the old View.datatable_options dict, except you can give names in columns that refer to virtual fields declared on the class.
In most cases, you won't need to redeclare the column from scratch unless you intend to build a compound column or use a non-default Column type.

And my benefit of using compound column over just a processor is that, it can filter underlying fields?

But under the new scheme, we won't be able to do this anymore:
columns =  ['id', ("Publication Date", 'pub_date', 'pub_processor'), 'headline']
right?

That's correct.  The fuzzy line between old and new syntax comes from the fact that the old column spec works in 0.9 inside of Datatable.Meta.columns, which is a fluke of having the legacy code actually transforming its view dict into a Datatable with Meta on the fly so that everything can go through the same pipeline.

I just tried the old column spec in Datatable.Meta.columns and it did not work :) so does that mean we are not there yet for 0.9?

Looks like I spoke without brushing up on the final decision I made before.  To keep things clear cut, you should use LegacyDatatable as the parent class for your Datatable class (from the same import path as the regular one).  It has a virtual column handler that sets out to translate the legacy syntax.
I'll have to go over it once we get some of these bumps fixed with the recent changes to make sure it's all working as advertised before release.  Hopefully I won't misspeak too many times about how it works while I settle back in :P

I don't know what is the audience like, but would consider speeding up the transition if I were you. Fixing a 2-in-1 system is harder more than 2X.. You have to look at it from both ways, and It will be complicated. Unless you are damn careful and put in a lot of time and effort, it will not work well from either side, worse yet, possibly from both sides..


terminal go to command doesn't scroll outside of viewport

run a command, ls -la
run more commands until the first is out of the viewport
in screen reader mode shift+ctrl/cmd+o and select the first command
🐛 the cursor is on the right line, but it hasn't scrolled

pretty sure there's a race condition because we update the editor when the editor text is focused (so that tabbing works). that's why I had this
https://github.com/microsoft/vscode/pull/177110#discussion_r1136300543

this happens because when the quickPick hides, it focuses whatever was focused before (the editor). we have to listen for editor focus because when tabbing through elements, we want this to update and show for the discoverability advantages of that


Would like line-out to work on point data

Ray Tolar has fairly dense point data in a problem he is looking at and he wanted to do a line out. A reasonable solution would be to find all the points within a user specifiable distance from the line and then project those points to the line and then use that to generate the line out. This could in theory work with zonal and nodal data. With nodal data it would take the nodes within the distance of the line and with zones it would take the zone centers within the distance from the line.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 1315
Status: Pending
Project: VisIt
Tracker: Feature
Priority: High
Subject: Would like line-out to work on point data
Assigned to: -
Category: -
Target version: -
Author: Eric Brugger
Start: 01/18/2013
Due date:
% Done: 0%
Estimated time:
Created: 01/18/2013 01:39 pm
Updated: 01/29/2013 05:21 pm
Likelihood:
Severity:
Found in version: 2.12.3
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
Ray Tolar has fairly dense point data in a problem he is looking at and he wanted to do a line out. A reasonable solution would be to find all the points within a user specifiable distance from the line and then project those points to the line and then use that to generate the line out. This could in theory work with zonal and nodal data. With nodal data it would take the nodes within the distance of the line and with zones it would take the zone centers within the distance from the line.
Comments:

@brugger1 isn't this worked-around by resampling and then doing a lineout on the resampled data?

Yes, that seems like a reasonable workaround. You can close it.

Although I did close...it occurs to me that a full dataset resample to obtain possibly a handful of lineouts may represent an unnecessarily large computational burden to obtain the desired results. So, one question is whether the lineout could emply an on-demand approach to resampling and employ the resample operator but only for points near the line. Might be more trouble than its worth.


Icue dont show my "Lighting node pro"

I made all steps, the corsair link reconize my arduino but on icue no. I already changed the serial and did all steps. You have any ideia to fix my problem? I have one Arduino Uno

can you control it with corsair link?


[zh] Localize a blog: 2024-02-22-k8s-book-club

Add zh text to this blog:
content/zh-cn/blog/_posts/2024-02-22-k8s-book-club/index.md

See preview

/lgtm


Hillary here is that component you have, make little changes ie ->  gradient bg

check through here https://github.com/Lupleg/Interns-Build/blob/test/src/mark_debugs/Product.jsx

Made little changes on the linear gradient and Arrow icons customization.


Replace GitHub Codespaces commands with Azure Pipelines Commands

Looks like someone has been editing GitHub Cocespaces docs for a bit too long ;).

@chcomley might be interesting to add this to the docs too at some point, or at least to the useful references.

https://jessehouwing.net/publish-azure-devops-extensions-using-workload-identity-oidc/


Not sure how to clean up skupper-docker installation

I tried deleting all containers and images, but getting following:
 ./skupper-docker init --id east
Error: Error response from daemon: network with name skupper-network already exists

cleaned up with
docker system prune


Add increment functionality

https://github.com/segmentio/integrations/issues/120

I'd like to see this added.

Closed for inactivity/lack of context. Please reopen if it's still an issue!


feature: provide cache refreshing response

If a request comes in while the cache is loading, a request is made that asks for the request to be refreshed a few seconds later.

fixed at #24


Mark updating published content scenario as skipped

This test has failed twice on changes unrelated to this code.
From the stack trace poltergeist can't find the link at the click_link
step within and_i_visit_the_transaction_on_gov_uk
From the screenshot it looks like the capybara session has already
clicked the link.
Failing builds:
https://ci.integration.publishing.service.gov.uk/job/publishing-e2e-tests/job/test-against/2101/
https://ci.integration.publishing.service.gov.uk/job/publishing-e2e-tests/job/test-against/2109/
Stack trace:
  1) Updating published content from Publisher Scheduling downtime for a transaction on Publisher
     Failure/Error: click_link("/" + slug)

     Capybara::Poltergeist::TimeoutError:
       Timed out waiting for response to {"id":"afc4b878-a4df-4c00-9354-2e247feb2757","name":"click","args":[8,2]}. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the Poltergeist :timeout option to a higher value will help (see the docs for details). If increasing the timeout does not help, this is probably a bug in Poltergeist - please report it to the issue tracker.
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/web_socket_server.rb:98:in `rescue in send'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/web_socket_server.rb:94:in `send'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/server.rb:33:in `send'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/browser.rb:340:in `command'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/browser.rb:180:in `click'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/node.rb:17:in `command'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/node.rb:131:in `click'
     # /usr/local/bundle/gems/capybara-2.7.1/lib/capybara/node/element.rb:135:in `block in click'
     # /usr/local/bundle/gems/capybara-2.7.1/lib/capybara/node/base.rb:85:in `synchronize'
     # /usr/local/bundle/gems/capybara-2.7.1/lib/capybara/node/element.rb:135:in `click'
     # /usr/local/bundle/gems/capybara-2.7.1/lib/capybara/node/actions.rb:27:in `click_link'
     # /usr/local/bundle/gems/capybara-2.7.1/lib/capybara/session.rb:699:in `block (2 levels) in <class:Session>'
     # /usr/local/bundle/gems/capybara-2.7.1/lib/capybara/dsl.rb:52:in `block (2 levels) in <module:DSL>'
     # ./spec/publisher/updating_published_content_spec.rb:41:in `and_i_visit_the_transaction_on_gov_uk'
     # ./spec/publisher/updating_published_content_spec.rb:10:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Errno::EAGAIN:
     #   Resource temporarily unavailable
     #   /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/web_socket_server.rb:78:in `receive'

A different failure message, on same test.
  1) Updating published content from Publisher Scheduling downtime for a transaction on Publisher
     Failure/Error: session.visit(url)

     Capybara::Poltergeist::TimeoutError:
       Timed out waiting for response to {"id":"cb09baa4-7d5c-4abb-a7c4-60bc7c006b87","name":"visit","args":["http://www.dev.gov.uk/rem-autem-1512990146"]}. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the Poltergeist :timeout option to a higher value will help (see the docs for details). If increasing the timeout does not help, this is probably a bug in Poltergeist - please report it to the issue tracker.
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/web_socket_server.rb:98:in `rescue in send'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/web_socket_server.rb:94:in `send'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/server.rb:33:in `send'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/browser.rb:340:in `command'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/browser.rb:34:in `visit'
     # /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/driver.rb:95:in `visit'
     # /usr/local/bundle/gems/capybara-2.7.1/lib/capybara/session.rb:233:in `visit'
     # ./spec/support/retry_helpers.rb:33:in `block in reload_url_until_match'
     # ./lib/retry_while_false.rb:7:in `block in call'
     # ./lib/retry_while_false.rb:6:in `loop'
     # ./lib/retry_while_false.rb:6:in `call'
     # ./spec/support/retry_helpers.rb:74:in `retry_while_false'
     # ./spec/support/retry_helpers.rb:32:in `reload_url_until_match'
     # ./spec/publisher/updating_published_content_spec.rb:40:in `and_i_visit_the_transaction_on_gov_uk'
     # ./spec/publisher/updating_published_content_spec.rb:10:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Errno::EAGAIN:
     #   Resource temporarily unavailable
     #   /usr/local/bundle/gems/poltergeist-1.8.1/lib/capybara/poltergeist/web_socket_server.rb:78:in `receive'


Seems like it doesn't apply labels?

I have this config
Am I missing something or what? :) I also deleted all of the old ones, because I don't care and don't want to rename them.
One more question is popping up... How can we get notified if the config is invalid/broken or whatever? Would be good to open issues when find error.

Oooh, or it is because I include # for the color? We should definitely handle that, because editors can colorize that I want it.

Mm nope, it's because plugins/labels.js don't have sync() method.

Ooooh, miss-looked that it extends Diffable and there's the sync().
Right. So we just need to support the #. It's another issue then.


Cryptographic chat support

MC versions 1.19.1 and 1.19.2 added cryptographically verified chat messages which complicates things.
I'm not sure what the API for this should look like.

(The above image might be out of date by now)

Useful link: https://gist.github.com/kennytv/ed783dd244ca0321bbd882c347892874

Another useful link: https://github.com/yushijinhun/authlib-injector/discussions/158


too many follow-up requests problem

hello,
recording to this issue it looks like OkHttp has a problem with status code 408.
just want to put it here to be fixed.

There is changed handling of 408 in 3.10, which has not yet been released
https://github.com/square/okhttp/pull/3753
You could test with a snapshot.  But even if that doesn't help you can see examples in that PR of how to make a reproduction test case.

@yschimke
something like this

General:
Request URL:http://exampledomain:port/api
Request Method:GET
Status Code:408
Remote Address:exampledomain:port
Referrer Policy:no-referrer-when-downgrade

Response-Headers:
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:http://example-server-ip:port
Access-Control-Expose-Headers:Set-Cookie
Content-Language:en
Content-Length:X
Content-Type:text/html;charset=utf-8
Date:Tue, 06 Feb 2018 23:12:09 GMT
Server:Apache TomEE
Vary:Origin
I'm not quite sure because we changed the status code but just status code and other things remained so it should like the above code (I copied the exact response from chrome, hope it's become useful)

Fixed in 3.10.

it still happens on version 3.14.9
@Override
public Request authenticate(Route route, Response response) throws IOException {
// Request a new access token if needed
if (!isTokenStillValid()) {
try {
getAccessToken();
} catch (HttpException | ApiException e) {
log.error("Error authenticating request {}", e.getMessage());
throw new IOException(e.getCause());
}
}
if(response.request().header("Authorization") != null && response.request().header("Authorization").equals(token.getValue()))
return null;
Request request = response.request().newBuilder().removeHeader("Authorization").build();
	return request.newBuilder().addHeader("Authorization", "Bearer " + token.getValue()).build();

}

@aleeee Check out this solution: https://stackoverflow.com/a/63512049/8026243


Bug: s3 config file parsing

There is a bug in s3 config file parsing.
Airflow version: 1.7
The bug is in:
https://github.com/airbnb/airflow/blob/3198756bceb9048829cfcd225e50336b6eee8f76/airflow/hooks/S3_hook.py#L55
Comment in _parse_s3_config, lines 43-44:
:param config_format: config type. One of "boto", "s3cmd" or "aws".
        Defaults to "boto"

However in S3Hook on lines 111-112:
# The format can be None and will default to boto in the parser
self.s3_config_format = self.extra_params.get('s3_config_format')

So what happens is, if s3_config_format is None, in line 55 it hasn't properly set it as the default value before applying the lower method.

@apapanico can you create a Jira for this? Thanks!

Will do.


Add missing Commas to sample scripts

I was trying to run Shipwright on my custom theme and it kept throwing an error. I copied/pasted the script here, so hopefully this saves someone in the future some hassle :).
The error thrown was that in builder.lua on line 38 when it tries to call func
E5108: Error executing lua ...ite/pack/packer/start/shipwright.nvim/lua/shipwright.lua:18: .../packer/start/shipwright.nvim/lua/shipwright/builder.lua:38: attempt to call local 'func' (a table value)
stack traceback:
        [C]: in function 'assert'
        ...ite/pack/packer/start/shipwright.nvim/lua/shipwright.lua:18: in function 'build'
        [string ":lua"]:1: in main chunk

this was my run command
local colorscheme = require("my.theme.name")
local lushwright = require("shipwright.transform.lush")

run(colorscheme,
    lushwright.to_vimscript,
    {append {"set bg=dark", "let g:colors_name=\"theme_name\""}},
    {overwrite, "path/to/output.vim"})

After adding the comma after append the error went away.

Very sorry about that!


Question: MapView region delta units

When setting a region for a MapView the docs say to pass in {latitude: number, longitude: number, latitudeDelta: number, longitudeDelta: number}.  What are the units of measurement for latitudeDelta and longitudeDelta?
Similarly, what is the unit of the accuracy value in the gps coordinate?

Hi! Here is awesome article about MapView and its relation to Mercator Zoom levels (like google mapa zoom levels). Article has nice picture explaining lat and lng deltas.
http://troybrant.net/blog/wp-content/uploads/2010/01/15-lat-lng-corners-zoom-201.png

Many thanks!


Active strategy

Description of base strategy
An active strategy is a dynamic position of liquidity burned and minted during rebalancing.
Rebalancing is performed by a server script, which can use various API services, have a rebalancing state for each strategy to implement delays and other rebalancing functionality.
Rebalancing may include swaps through dex aggregators. In this case, the strategy must inform the rebalancing script of the assets and amounts for swaps.

Moved to #106


Update equipment.md

Added link to article on tips for healthy standing while working.

Looks good to me.


When deploying a function app to a consumption plan using VS Code, "SCM_RUN_FROM_PACKAGE" is set to the URL of the deployed zip.

Hi,
In the section "Zip deploy", the following seems to be able to be interpreted as WEBSITE_RUN_FROM_PACKAGE is set to 1 by default when using VS Code, Visual Studio, and the Azure CLI.

When I actually tried deploying a Python function app to a Linux consumption plan using VS Code, the environment variable "SCM_RUN_FROM_PACKAGE" was set and the URL of the deployed zip was stored in this value.

To avoid confusion, it would be better to separate the cases and describe the correct behavior.
Thanks.

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

ID: 4dc400d6-feaf-3239-094e-3c19aae44345
Version Independent ID: aabb7db4-27fc-63c9-b019-d116450c439f
Content: Deployment technologies in Azure Functions
Content Source: articles/azure-functions/functions-deployment-technologies.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@take-4c
Thanks for your feedback! We will investigate and update as appropriate.

Hello @take-4c - Thank you for your feedback. The Linux Consumption is the only hosting SKU where the value is in the form of a URL and this is something that's called out in the Run From Package doc:

Since we didn't determine any faulty steps/changes to this doc upon reviewing your feedback, we will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Added advancements

Reverted this for @EngineerSmith's suggested changes

After the changes are made and discussed this will need to be reopened as a seperate pr it seems


Change Package Manager ZPM Block

Rename it to:
Package Manager ZPM -> Deployment Options
Supported -> ZPM package (automatic)
Move the block right below the Categories block.

done. (stage & dev)


Add a new line before "It is a compile time ..."

Add a new line before "It is a compile time ..."

Fixes #

@zhiliangxu,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Bug: syntax error on ceph-common

Hi,
The commit 2665c43f346f2bd7c021f0814cfb5c50a145ae70 is not synced with https://github.com/ceph/ansible-ceph-common
Can you sync please?
Thank-you.
Emilien

Sorry about that. Give me 20 minutes. :)

Done!


Automator: update common-files@master in istio/istio@master

Generated by Automator - 2022-03-24T22:07:25+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
311cf35a07baafd762bbe3f8c1e84dfe251d3797
link
true
/test integ-security-multicluster_istio

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

/retest


Faster but more limited --dump-json

Checklist

[X] I'm reporting a feature request
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2<IP_ADDRESS>. (update instructions)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
--dump-json does extra work to collect all available metadata about an item before listing it. This can be very slow. I just need URLs and (ideally) titles, both of which are available from the item list without doing any extra work per-item (we already have them by the time we check whether an item is in the download archive). So it would be convenient if there was a --dump-short-json option (or some other name) that reports less information, but earlier.

--flat-playlist

Thank you!


Fix DataEngine so that blob streams are set to position zero before b…

Fixed a couple of problems using SetBlobStream and GetBlobStream. The new solution ensures that stream positions are set to zero when being copied and that the stream being set is now separated from the stream being stored.

Thanks @mikeedwards83 for your contribution! The fix is available as v1.2.2.


Feat: ready on air playlists

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Blueprint interface change

What is the new behavior (if this is a feature change)?
in getRundown(), the blueprints will be able to call getPlaylists() in order to be able to determine which playlist the rundown should be tied to.

This can be used when several rundowns are set to be put in a READY TO AIR-playlist.
Before, the rundowns used a fixed externalPlaylistId to join up (which caused the READY TO AIR-playlist to be fixed to a specific _id). This allows the rundowns to make any playlist to be the READY TO AIR-playlist (or convert a non-readytoAir into one, on the fly, while on air)

Other information:

Status

[ ] Code documentation for the relevant parts in the code have been added/updated by the PR author
[ ] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report

Merging #678 (52f981a) into release41 (5ebf747) will decrease coverage by 0.01%.
The diff coverage is 54.54%.

@@              Coverage Diff              @@
##           release41     #678      +/-   ##
=============================================
- Coverage      63.97%   63.95%   -0.02%
=============================================
  Files            298      298
  Lines          18641    18801     +160
  Branches        4424     4475      +51
=============================================
+ Hits           11926    12025      +99
- Misses          6374     6420      +46
- Partials         341      356      +15

Impacted Files
Coverage Δ

packages/blueprints-integration/src/context.ts
100.00% <ø> (ø)

packages/corelib/src/dataModel/RundownPlaylist.ts
100.00% <ø> (ø)

packages/job-worker/src/rundownPlaylists.ts
73.09% <ø> (ø)

...kages/job-worker/src/blueprints/context/context.ts
68.42% <50.00%> (-0.40%)
:arrow_down:

packages/job-worker/src/ingest/generation.ts
85.32% <60.00%> (-0.80%)
:arrow_down:

...job-worker/src/ingest/syncChangesToPartInstance.ts
18.94% <0.00%> (-5.59%)
:arrow_down:

...kages/server-core-integration/src/lib/ddpClient.ts
76.62% <0.00%> (+0.63%)
:arrow_up:

.../server-core-integration/src/lib/coreConnection.ts
77.03% <0.00%> (+1.41%)
: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 5ebf747...52f981a. Read the comment docs.


Inconsistency in placing the divider

I can see this breaking in neeto-cal.

bug _t

@AbhayVAshokan Once we had discussed that these extra options could be tucked under more or ... or something like that. Do you know where we are on that?

@neerajdotname @praveen-murali-ind please refer to https://github.com/bigbinary/neeto-editor/issues/767
We had done an audit and implemented this feature wherever the editor was placed in a constrained space.
From the above screenshot, it looks like the editor styles are overridden. Instead, it would be better to pass a truthy value to the isMenuCollapsible prop.

@subins2000 _a Can you assign someone to fix this.


Autosave changes to paperTitle when navigating to new page/view

References: https://www.pivotaltracker.com/story/show/85970300
Pull Request Checklist

[x] ask yourself: is this PR complicated enough that you should write
integration tests?
[x] ask yourself: do you feel that things are well abstracted?
[x] do a self code review (read through git diff or the github UI)
[x] complete all relevant todos in your code
[x] self QA (make sure the app still works, along with your change)
[ ] get review from a team-member with knowledge of this codebase area
[ ] team-member said ship it! (:ship: it)
[ ] self QA on staging
[ ] do any changes need to be made to prod before a deploy? List them in
the deployer checklist
[ ] the tests are passing for this branch on semaphore
[ ] merge! Celebrate your success!

Reviewer Checklist

[ ] is syntax consistent with rest of code-base?
[ ] are database access patterns relatively efficient?
[ ] are client-side access patterns
[ ] ember style

Deployer Checklist
Changes to Tahi are deployed automatically to staging whenever tests for
the master branch are passing. These items really only apply for deploys
to currents, and demo (we don't have a production yet).

[ ] >>list changes here that need to be made to prod before a deploy<<
[ ] ideally these changes can be made by running a rake task or script
[ ] you are deploying in the morning
[ ] you are deploying on Monday, Tuesday, Wednesday, or Thursday.
[ ] you are deploying your own code
[ ] did the deploy
[ ] you are watching the BugSnag slack channel and/or heroku logs --tail
[ ] you announced the deploy with a few words summary to chatrooms
[ ] you have opened https://dashboard.heroku.com/apps for rollback

@tennety
review plx?
— AJP DT

Looks good, other than the one comment I have.


configure expires_at setter to update expires_in

Consolidated changelog/travis.yaml changes from https://github.com/google/signet/pull/108 to make release process cleaner

I think it would be worth producing a test or two of the non-expiring case as well.