Add param strictness where possible.

rebased https://github.com/propelorm/Propel2/pull/1831
WIP

@dereuromark without digging in and taking a stab out if it, it sounds like the hydrator is mis-calculating the number of columns for a given model.  This is one of the things I hate about AR/Propel, the strict ties to the number of columns defined and even the ordering I believe causes issues in places.
My guess is that some typing is causing a column to not be included as part of hydration.

@dereuromark haven't looked into the code, but this one is related to the number of columns in the select not matching up with the table.  This is a common problem with Propel due to its design.  Not sure why the typing caused this, but I guess the query builder isn't properly interpreting types.

For some reason it affects only PHP81 builds

For StatementWrapper::execute we should drop support for $inputParameters being nullable and work our way backwards from that.  The issue appears to be in the execution of the prepared statement there.  I'm assuming that args and $inputParameters are an issue.  I don't know why without debugging it at runtime.  But tightening up the typing will help pinpoint the issue.

Well, that didnt really work, broke all builds with really unclear messages.
It seems to be quite cloaked, what the actual issue is.

Well, that would, likely break a lot - anything explicitly passing in null to execute.  The default value would become an empty array though for all the cases where there aren't any arguments.  But that's the point, to ensure that they're properly passing in an array.  A null value being passed in is prime for errors in unforeseen ways.
What's in your SQL logs from Propel?  callUserFunctionWithLogging logs the error.  You need to find out why there is a mismatch in the args being passed

Codecov Report

Merging #1833 (14920ad) into master (a9b02ae) will decrease coverage by 20.79%.
The diff coverage is 73.18%.

@@              Coverage Diff              @@
##             master    #1833       +/-   ##
=============================================
- Coverage     87.69%   66.90%   -20.80%
- Complexity     7759     7763        +4
=============================================
  Files           282      282
  Lines         21315    21231       -84
=============================================
- Hits          18693    14204     -4489
- Misses         2622     7027     +4405

Flag
Coverage Δ

5-max
66.90% <73.18%> (-20.80%)
:arrow_down:

7.4
66.90% <73.18%> (-20.80%)
:arrow_down:

agnostic
66.90% <73.18%> (+0.04%)
:arrow_up:

mysql
?

pgsql
?

sqlite
?

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

Impacted Files
Coverage Δ

src/Propel/Common/Config/Loader/LoaderResolver.php
100.00% <ø> (ø)

...ggregateColumn/AggregateColumnRelationBehavior.php
0.00% <0.00%> (-97.30%)
:arrow_down:

...r/AggregateColumn/templates/queryUpdateRelated.php
0.00% <0.00%> (-100.00%)
:arrow_down:

...ltipleColumns/AggregateMultipleColumnsBehavior.php
50.00% <0.00%> (-45.97%)
:arrow_down:

...nerator/Behavior/QueryCache/QueryCacheBehavior.php
0.00% <0.00%> (-69.24%)
:arrow_down:

...l/Generator/Behavior/Sortable/SortableBehavior.php
31.94% <0.00%> (-65.28%)
:arrow_down:

...Sortable/SortableBehaviorObjectBuilderModifier.php
0.00% <0.00%> (-95.64%)
:arrow_down:

.../Sortable/SortableBehaviorQueryBuilderModifier.php
0.00% <0.00%> (-92.31%)
:arrow_down:

...rtable/SortableBehaviorTableMapBuilderModifier.php
0.00% <0.00%> (-95.66%)
:arrow_down:

...nable/VersionableBehaviorObjectBuilderModifier.php
0.00% <0.00%> (ø)

... and 301 more

Continue to review full report at Codecov.

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

@oojacoboo After https://github.com/propelorm/Propel2/pull/1841 merged in, we could then merge to master.
Does all look good now?

@dereuromark Overall, this looks great.  There is obviously a ton of changes here.  It'd be nice to have typed properties as well.  I find it's easier to type methods and properties at the same time.  However, seeing as this is already done, that'd be better in another PR.  I added some comments.

Changes done as per review. Shall we continue?

@oojacoboo Do you want to make follow up PRs regarding more types?
Especially also around generated code?

@dereuromark I think we need to get property typing done.


pre-commit not use packages in Python env

Maybe avoid using pre-commit in GitHub Actions, but use black, darglint, flake8, etc directly via command line.

On my windows machine, all packages specified by pyproject.toml are correctly install. However, pre-commit seems to install another set of packages in another place, and it doesn't work:
$ poetry run pre-commit --version

pre-commit 2.4.0
$ poetry run pre-commit run -a

[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/ambv/black.
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8.
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8:flake8-builtins,flake8-docstrings,flake8-import-order,pycodestyle,pydocstyle.
[INFO] Initializing environment for https://github.com/terrencepreilly/darglint.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/ambv/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\py_env-python3\Scripts\python.EXE', '-mpip', 'install', '.')
return code: 1
expected return code: 0
stdout:
Processing c:\users\edwardxu.cache\pre-commit\repoc0n1q4pe
stderr:
ERROR: Could not install packages due to an EnvironmentError: [('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\authors.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\authors.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\blackd.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\blackd.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\change_log.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\change_log.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\contributing.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\contributing.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\contributing_to_black.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\contributing_to_black.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\editor_integration.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\editor_integration.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\ignoring_unmodified_files.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\ignoring_unmodified_files.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\installation_and_usage.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\installation_and_usage.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\license.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\license.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\pyproject_toml.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\pyproject_toml.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\show_your_style.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\show_your_style.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\testimonials.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\testimonials.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\the_black_code_style.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\the_black_code_style.md', 'symbolic link privilege not held'), ('C:\Users\EdwardXu\.cache\pre-commit\repoc0n1q4pe\docs\version_control_integration.md', 'C:\Users\EdwardXu\AppData\Local\Temp\pip-req-build-4qmzcgwb\docs\version_control_integration.md', 'symbolic link privilege not held')]
Check the log at C:\Users\EdwardXu.cache\pre-commit\pre-commit.log

But if I run black directly, it works:
$ poetry run black .
All done! ✨ 🍰 ✨
15 files left unchanged.

Also, poetry install alone is not sufficient to set up a new environment. As least in windows, pyenv is required:
$ pyenv install 2.7.15
$ pyenv local 2.7.15  # Activate Python 2.7 for the current project
$ poetry install


Provide overview of resource consumption

Addresses one task of #673

Can we automate this? Else we have another step that we need to do every time we create a release.


Lock unlock not working?

I'm trying to call the Lock Unlock function but I'm getting  a
{"errors":[{"status":"Bad Request","code":"400","title":"Http message is not readable"}]} response back
body :
{"type":"LockUnlock","attributes":{"lock":"lock","doortype":"doors_hatch","srp":""}}
Anything I'm missing here? fyi this is for the new Ariya model.

Hello,
Lock/Unlock is really not supported as it requires what is called an srp token to function. I haven't figured out how it works and I don't think anyone else has.
Currently there is an skeleton implementation which obviously needs a real implementation.
Sorry to disappoint!

Did anybody try with "action" : "lock" rather than "lock" : "lock"?
And any news about SRP authentication?

The SRP authentication is not implemented as I or others haven't reverse engineered that part of the API.
-------- Oprindelig besked --------Fra: jumpjack @.> Dato: 16.10.2023  11.32  (GMT+01:00) Til: Tobiaswk/dartnissanconnect @.> Cc: Tobias Westergaard Kjeldsen @.>, State change @.> Emne: Re: [Tobiaswk/dartnissanconnect] Lock unlock not working? (Issue #7)
Did anybody try with "action" : "lock" rather than "lock" : "lock"?
And any news about SRP authentication?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>


docs: Update comments with typescript examples to better utilize TSDoc syntax

Namely:

Puts code blocks under @example or @remarks as content-appropriate
Adds typescript language specification to example code blocks
Fixes a couple typos and cleans up some formatting

We could possibly finally doc some of the best practices (ex, keep description short and use remarks for examples, further details etc.) of course it’s best when your code is actual reference for “best practices”, but I’m not sure how far off we are there :)

I have some work items scheduled for this month to write up some of these docs 🙂

Namely:

Puts code blocks under @example or @remarks as content-appropriate
Adds typescript language specification to example code blocks
Fixes a couple typos and cleans up some formatting


How to train?

Hello, thank you for your excellent work. Could you please provide me with the training code? Thank you so much!

Hi, please see: https://github.com/diffusion-hyperfeatures/diffusion_hyperfeatures/issues/2.


Request for new maintainer

I currently do not have enough bandwidth to give ngProgress its fair amount of attention so I'm reaching out to y'all to figure out a new maintainer.
The new maintainer would have responsibility over reviewing submitted PRs, triaging issues, improving the code and publishing updates where applicable (bower and npm as of now).
Please leave a comment, send an email to<EMAIL_ADDRESS>or private message on Freenode (victorbjelkholm) if you're interested!

I currently work on a project that makes use of this package and I could do with the fixes in 1.3 being published to NPM. I would be happy to do this if you are still looking for a maintainer?

@anthw sounds good to me. I've sent you an invite to have write access to this repository. Ping me when I should do a new npm publish. After a version or two, I'd feel comfortable enough to give you access to do the npm publishes yourself.

@VictorBjelkholm thanks. Would it be worth pushing the latest version to NPM (1.1.3), as it's only at 1.1.1 at the moment.


Img loader error on

Hello,
I'm a developer working on a Xfinity Comcast device project and I have issues with the Img plugin.
I'm using an endpoint for my lightning app to consume and it feeds a. lineup of items that have each an image to display. I read in your documentation that when it's from an Api I should use the Img plugin. Everything works fine in dev (latest Chrome) but when I go on the Comcast device I have only some images that are displaying. It's always the same every-time I reload.
Here's the error I get:
[Lightning] texture load error Image load error https://images.tou.tv/c_scale,w_223,h_125/v1/ici-tou-tv/promos/16x9/764baab2-2c66-6126-3855-369d9ffc053b.jpg-contain-375-210.9375

texture failed to load: https://images.tou.tv/c_scale,w_223,h_125/v1/ici-tou-tv/promos/16x9/764baab2-2c66-6126-3855-369d9ffc053b.jpg

As you can see there's something that is added at the end of the url in the first error (-contain-375-210.9375).
Like I said, I have this issues on around 95% of my images and the others are working properly.
Here's a bit of code inside my component Card that is using the Img plugin
_init() {
		this.tag('Image').on('txLoaded', () => {
			console.log('texture loaded: ' + this.tag('Image').texture.src)
			this.tag('Image').setSmooth('alpha', 1)
		})

		this.tag('Image').on('txError', () => {
			console.error('texture failed to load: ' + this.tag('Image').texture.src)
		})

		this.tag('Image').on('txUnloaded', () => {
			console.log('texture unloaded!')
		})
	}

	_active() {
		this.tag('Image').patch({
			smooth: {
				alpha: 1,
			},
			texture: Img(this.image).cover(this.w, this.tag('Header').h),
		})
	}

Hi @NickLeDev,
If this is device specific problem it's gonna be hard for me to debug. Does the error occur only to images with url suffix you mentioned?
Best regards

Hi @g-zachar,
Actually yes I tested it on multiple browser and it works fine but on that device. I know it might not be easy to debug without having the device.
The original images don't have the suffix and the bug happens only on those. Is it Lightning that is adding the suffix while working on the image to render it?
Thanks for your help!

Hi @NickLeDev,
I just noticed you're using Lightning-SDK's Img utility (https://github.com/rdkcentral/Lightning-SDK/blob/master/src/Img/index.js). Your platform may have problems accessing the image server that the utility uses. You can either scrap the image server altogether if it's not necessary (just use src shorthand for your images) or pursue the issue further in Lightning SDK's repository.
Best regards

Hi @g-zachar,
Thank you, I'll try this and I'll pursue on the other repository.
Closing this issue!


Add validation set option

This is useful if one would like to do early stopping on a separate validation set.

@gabmis Does this force autotune to compute early stopping with respect to the dev set? If not we should enforce this.

@ANazaret can you double check what I did to jvae_trainer?

Standard terminology is train, validate, and test. Probably better to stick to that.

Will the old notebooks still work well if another 10% of the dataset is removed from the training set?
It's probably fine but perhaps worth checking if the default behavior is to carve off some of the training set both for validation and for testing.

Indeed, some mock datasets only have a few cells and it's very likely that some tests can fail because the validation set would only contain 1 cells per batch (the local_variance computation would fail). But maybe not, just saying ...

@gabmis Does this force autotune to compute early stopping with respect to the dev set? If not we should enforce this.

It should if it's the new default behaviour of trainer.EarlyStopping

Codecov Report

Merging #425 into master will increase coverage by <.01%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master     #425      +/-   ##
==========================================
+ Coverage   88.71%   88.71%   +<.01%
==========================================
  Files          29       29
  Lines        3367     3376       +9
==========================================
+ Hits         2987     2995       +8
- Misses        380      381       +1

Impacted Files
Coverage Δ

scvi/inference/jvae_trainer.py
96.21% <100%> (ø)
:arrow_up:

scvi/inference/trainer.py
90.17% <100%> (+0.08%)
:arrow_up:

scvi/inference/inference.py
97.72% <80%> (-2.28%)
:arrow_down:

scvi/inference/annotation.py
92.55% <85.71%> (-0.34%)
:arrow_down:

scvi/inference/autotune.py
69.09% <0%> (+0.25%)
: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 70629bc...21bc073. Read the comment docs.

Standard terminology is train, validate, and test. Probably better to stick to that.

The standard is more train, validation, test.

Where do you specifies to the code whether to track the validation or the test set (for metrics or earlystopping?). Because earlystopping should now rely on the validation set right. What if it's empty?

There are a number of things which rely on the test set, including early stopping and things inside notebooks. It's not a great solution here, but with this someone can just use the validation set as their test set.

I see you forced-push one commit, do you think you can amend the commit message to have a cleaner one?

Where do you specifies to the code whether to track the validation or the test set (for metrics or earlystopping?). Because earlystopping should now rely on the validation set right. What if it's empty?

There are a number of things which rely on the test set, including early stopping and things inside notebooks. It's not a great solution here, but with this someone can just use the validation set as their test set.

Yes that's what I understood, it's nice to have it but the test and validation test are swap compared to usual denomination.

Do you want to change autotune behavior in this PR @adamgayoso or should I merge it?

Standard terminology is train, validate, and test. Probably better to stick to that.

The standard is more train, validation, test.

@ Let me take a quick look

Standard terminology is train, validate, and test. Probably better to stick to that.

The standard is more train, validation, test.

@ Let me take a quick look

@adamgayoso @ANazaret  I have made quite a lot of changes to autotune in #424 , i'll add it in there or make a standalone PR afterwards.


How should we handle specifying commands per operating system or architecture?

Right now I'm leaning towards this is getting too complex for just a formatting tool to handle. If you're using a tool that doesn't act the same across operating systems then you're going to have trouble anyway.

+1


Merge Deserializer into Serializer

The separation between the two was an illusion, as can be illustrated from the changes:
not a single module imported Deserializer without importing Serializer.
This merge makes usage easier, as well as unittest code,
which previously was comparing binary data with a serialized or deserialized value.
Some places still need to compare binary data (e.g. to ensure we don't encode a length for static arrays),
other are deserializer-specific tests (e.g. when fed wrong input), and are marked as such.
The documentation was greatly extended, and documents some upcoming improvements,
such as the static 'fromBinary' method which will be part of a later PR.

Looks alright to me.


refactor,test: Rewrite tests using Node builtins

You mentioned on Mastodon that you might be interested in refactoring some tests to use the native Node.js test runner (and drop ava from devDependencies).
Note:

The test runner was introduced in Node v18, so I adjusted package.json accordingly.
The node:moduleName syntax was introduced in Node v16; since the required engine is now v18, I used the node: protocol in the test’s require() calls.

Note: On my machine, running npm i --no-save ava; du -ch node_modules/ava showed a total of 468k in savings.
My homebrew-installed GNU version of the command gdu --human-readable --si --total node_modules/ava reports a total of 480k.
I think the discrepancy is due to Apple switching using base-10 byte counts, while GNU still uses the 1024 for byte counts.  (Not bad savings either way, though.)

@zachleat (Forgot to mention your handle :-p)

@zachleat This one is an easy review, whenever you feel like a quick opportunity to check another thing off the list :)


function to configure the url of widget.js source file

the //platform.twitter.widget.js url give several problems in compiled apps with cordova, because the system take that url like a file file://,

also widget.js always is loaded from internet, which in some cases isn't a good practice for loading time, I resolved this problem including "https://" to the default URL and a function to change it if want to load it from local.

posible solution to #7

Looks good! I might want to move from suggesting run to config, but that's a more intrusive change.  Thanks for the MR!


Low fps with low PC hw utilization on multiple sensor allocated.

Hi ,
CARLA version:0.9.12
Platform/OS:Windows
Problem you have experienced: Low FPS
Is there way to run simulator with 4 camera sensor and IMU sensor in Real Time?
I have CPU :Intel Core i7-8700k CPU 3.7Gz
GPU: NVIDIA GeForce RTX 3090
both client ans server are local.
I am using manual_contrtol.py example to simulate flow and I running in sync mode.
I am creating 5 sensor 1xIMU + 2xRGB + 2xDepth Sensor. my CPU is at 20% and GPU at 7% utilization. Memory at 12%.
Unreal Editor showing 20-25 fps .
What you expected to happen:
I would expect if I cannot run in real time is do to high usage of cpu or gpu or memory but here I see all resource in low utilization .
Any suggestion ? How do I know what is my bottleneck here ?
Thanks.

I'm experiencing a very similar issue on 0.9.15

Using multiple cameras at the same time is quite expensive due to we are sending data to the client secuencially. That's why you are having this performance. We are aware of it and we will try to improve this in the future

Any updates on that? Running the example/manual_control.py causes similar issues at my system. Even though i can run at around 15 fps, I expected higher values. Utilization of the hardware is ~50% CPU, ~11% GPU, ~20% RAM. What I sould mention here is that removed all sensors beside one camera and server and client running on the same machine.


Enum object keys pollution when referenced by Map

Bug Report
When setting a Map that references an Enum in its type signature, the enum's object properties are modified such that the map's variable inexplicably becomes the last entry in properties array (see example below)
🕗 Version & Regression Information
TS 4.3.5
💻 Code
export enum RosterPosition {
  LW = 'Left Wing',
  RW = 'Right Wing',
  C = 'Center',
  LD = 'Left Defense',
  RD = 'Right Defense',
  G = 'Goalie'
}

export namespace RosterPosition {
  export const all = new Map<string, RosterPosition>()
  Object.keys(RosterPosition).forEach(x => {
    console.log(x)
    all.set(x, RosterPosition[x])
  })
}

[LOG]: "LW"
[LOG]: "RW"
[LOG]: "C"
[LOG]: "LD"
[LOG]: "RD"
[LOG]: "G"
[LOG]: "all" // excuse me?

🙁 Actual behavior
Map's variable becomes last entry in object properties array that references target Enum.
🙂 Expected behavior
That Map's defining variable doesn't magically enter object properties array of referenced Enum.

You’ve merged the namespace and the enum.  RosterPosition.all exists because you exported all.

ahhh, that explains it, was wondering what on earth was going on :)


Tom Critchlow wants to run River5 on Glitch

Tom Critchlow wants to run River5 on Glitch. Has anyone had any success with this?
https://twitter.com/tomcritchlow/status/988452117823348736
Dave

Yes to some extent :-) - http://newriver5.glitch.me/
Steps:

Start new glitch instance
Open the advanced options for the project, grant access to allow import/export
Import from GitHub (scripting/river5)
Go to config.json

Change config.json so you have extra lines as follows:
"httpPort": 3000,
"flDownloadPodcasts": false,

httpPort sets the port that Glitch likes so you don't need to fiddle anymore
flDownloadPodcasts stops Glitch downloading all of the podcasts in the example feeds which can quickly fill up your Glitch instance

Wait for it to rebuild
Click on the "Show - Live" button, this jumps you to an https version of the Glitch instance (e.g. https://newriver5.glitch.me/). Due to there still being some references to the http version of fargo.io in the repo, change the address to be http instead (e.g. http://newriver5.glitch.me/).  This should then show you what you want
You can then add new feeds into the relevant folder & have then show by editing config.json to add a new tab
Alternatively, just remix newriver5.glitch.me :-)

@SparkyT amazing! Thank you. I'm gonna check this out. Thanks

Questions for @SparkyT --

Thanks for helping us out. That's the first thing I want to say. Now the questions.

Someone told me that background tasks don't work on Glitch. Not sure what this means. River5 couldn't work without being able to set up some calls using setInterval.

It looks like your server reset in the last hour or so, started reading feeds from scratch? Not sure if you restarted it, or something went wrong. Have you been using this River5 installation or is it something you set up as an experiment?

Dave

Looking at the dashboard I can answer one question --
http://newriver5.glitch.me/dashboard
The server has been up for 2.1 hours. :-)
Dave

Isn't it always the way, you have something running nicely, share it and it all breaks :-( ?
I'm not sure how Glitch deals with the attempts to run continuously but it does go to sleep after a while and then completely rebuild/recreate the feeds when I go back to it.
It appears to have filled up the assigned space on the newriver5 instance (maybe due to it being up longer than my tests previously made happen).  Getting it back up and working seems to require some wrangling which I will attempt now.

Thanks — let’s figure out what’s needed to keep it running smoothly. Maybe
we could have the client call back periodically to keep it running.
On Monday, April 23, 2018, SparkyT<EMAIL_ADDRESS>wrote:

Isn't it always the way, you have something running nicely, share it and
it all breaks :-( ?
I'm not sure how Glitch deals with the attempts to run continuously but it
does go to sleep after a while and then completely rebuild/recreate the
feeds when I go back to it.
It appears to have filled up the assigned space on the newriver5 instance
(maybe due to it being up longer than my tests previously made happen).
Getting it back up and working seems to require some wrangling which I will
attempt now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scripting/river5/issues/22#issuecomment-383736729,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABm9Oxxp9uUcPfyfGrDkFIRiI6CPdamtks5trk7CgaJpZM4TgVlz
.

I added a one-line script here that loads a quick page on your server every five minutes.
http://newriver5.glitch.me/now

Timezones meant I had to drop off but the cycle to work this morning triggered a memory or two

Glitch instances sleep after 2 minutes of inactivity and are destroyed (whatever that means) after 15 according to this post https://support.glitch.com/t/idle-time-before-sleep/376/4

I'm not sure what that means given that hitting the instance with an http request seems to keep it up.

In the past for testing I've user Uptime Robot (https://uptimerobot.com/) to do the pinging for me
Long term, Glitch probably isn't useful as anything than a testing ground for River5 mainly due to the issue above and the fact each instance has 128MB of storage (node modules don't count against this) so a large number of active feeds or having flDownloadPodcasts set to true will rapidly fill it up and leave you scrabbling around trying to get it back working again.

I've added in the feedBase.io top 100 feeds as an example and will now stop playing with this instance so it can be a reference that doesn't keep breaking :-)

Yes, I came to the same conclusion.
http://scripting.com/2018/04/24/124932.html
I like the way you used the feedBase top 100. Very inventive. ;-)
Dave

I don't know anything about the configuration available for River5, but if the app's data could be stored in .data instead of in data, glitch maintains the content of that folder when the container is restarted, and it's also not copied on remix (so a remix wouldn't start out with someone else's River5 data folder contents).

Cori, that makes perfect sense, and River5 is totally configurable this way.
Here are the docs for config.json --
https://github.com/scripting/river5/blob/master/docs/CONFIG.md
If @SparkyT is listening --
All you should have to do is change the value of dataFolder in config.json to have the value ".data/".
All the data folders that River5 creates or looks for are in that folder.
Perfect. I like the way the designers at Glitch think.
Dave

Great! I thought it might be but didn't see it in newriver5.glitch.com's config.json at a quick glance.
For reference there have been a number of efforts to port River5 to Glitch previously: https://glitch.com/search?q=river5

Cori, that means he's accepting the default. You only have to put things in config.json if you want to override the defult.
Adding this one line to his config.json should fix this problem --
"dataFolder": ".data/",
That should cause it to create all its data in a sub-folder of the Radio5 folder called .data
Dave

@cori -- I've been emailing with Anil Dash, and he says you work at Glitch now. That's really interesting. Maybe there's more we could do here. I told him that the .data approach is very good design, and it dovetails perfectly with the design of my apps. I guess we all have enough experience to have a sense for how data and code mix or don't mix. ;-)
@SparkyT -- thanks for sticking with this! I just checked the demo app, and it seems to still be running. That's really interesting. We now have a free place to deploy River5, and if there are any performance limits, it's really hard to see them.
Before closing this issue, I'd like to if possible work with you a bit on getting a really good clonable project there, a good demo for people to build from. I think all this can be done through work on config.json, and the lists folder, and writing a bit of docs.
The first question I have is how did you get the feedBase list in there? Did you take a snapshot? Or did you link to it from within a one-item list (that's the way to do it). I can help if you need it.
Also in config.json you can give titles to the tabs. The one for feedBase is awkwardly long. There are docs on this, I think. I'll go have a look now.
Anyway -- great teamwork! I love the braintrust. You guys are great. :hearts:

@scripting it's great that you're in contact with Anil. I do work at Fog Creek, although not on Glitch at the moment - my apologies if I wasn't diligent enough with a disclaimer; I didn't intend to muddy the waters. We've definitely got some really smart people working on Glitch!
Also for posterity if anyone runs across this issue in the future; you can remix the newriver5 project from https://glitch.com/edit/#!/newriver5 (since it can be a little hard to get from the public view to the editor without a little help).

@scripting, yes - happy to tweak the setup so it works as a good template for people, just let me know what you want me to change or alternatively I can send you a link to collaborate on Glitch if you want to take it on?
The feedBase river is done with a single type="include" line in an opml file - I was going to ask whether you had implemented this, checked the docs one more time and there it was starting at me.
I wondered whether the river files should be put into ./data/rivers as well so that they aren't copied over when people remix the project?  Keeping the lists in the default folders seems a good compromise as then people who remix will see what lists are being used & how they are implemented.

I just want to chime in as the n00b who originally sparked this idea and say thank you! Looks like you're getting close to something that gives a beginner like me a way to get up and running with river5 in a few clicks which I think is a great thing. Really appreciate it.

@cori -- I didn't need a disclaimer. I recognize your name as a long-term Scripting News community person, I just wanted to close the loop. Totally appreciate the help. Please continue. ;-)
@sparkyt -- I'm glad you're using the include type. That's the right kind of example to propogate. I want all feed readers to have that feature! I know it's a tall order, but it's a good kind of network to build, really creates choice for users. You can send the same set of subscriptions to a variety of apps. As you did.
Anyway -- I think the only thing that needs to be done is edit the titles of the tabs on the home page. That's done through config.json, and it is documented here --
https://github.com/scripting/river5/blob/master/docs/CONFIG.md#configuring-the-home-page
I would prefer if you do the editing. ;-)
Let's shorten the first tab to "feedBase 100".
Name the second tab "World News" because that's what it seems that it is.
I guess the third tab is a sample list? Not sure what to call it. Maybe just eliminate it from the homePage array? Not sure. Two panels is probably enough for a demo.
You're right about the rivers folder, but 1. that's a change to the codebase, not the configuration and 2. it corrects itself almost immediately, overwriting the rivers with the ones it builds. So it's a "nice to have" thing, but I don't think it's an immediate thing to do (if ever).
@tomcritchlow -- you provided a reason to explore this, I wanted to know what Glitch was, and this is the most meaningful way for me to find out, make one of my apps work there. And you get an app to play with. I'm also a big believer in working together, so look at all the interesting people this has brought together, so that's the really big win. ;-)

@SparkyT -- here's a better idea
This is what the virgin River5 tab setup looks like

Make yours look like that. You could have your version of the Main tab point to the feedBase 100 OPML file. I really love that idea and want to preserve it.
Otherwise the NYT and Hacker News provide a pretty good set of extremes for a demo.
Dave

OK, I'm adding the NYT and HN tabs back in so the app may disappear temporarily if they produce to much information for the Glitch limited space.  If it does, I'll truncate the lists slightly to deal with it.
I saw the response to #23 which is great news as getting the https version working will be great given that's the default when one clicks "view" in Glitch. There is one other issue which I'll log separately once I can describe it sensibly relating to secure web sockets (wss://).
Tim

@sparkyT -- I made the changes in the other thread to eliminate all the errors from the document.write includes. I found a simple way to address it that I hadn't thought of earlier, since all the content is stored in S3 I can use their version of the address, which does support https. I didn't really need to use a CDN to get that feature.
There's another issue we should fix for the Glitch version, turning off the websockets interface. It's not working, and throwing a lot of errors.
The way to turn it off is to add this to config.json:
"flWebSocketEnabled": false,
Let me know when you do it, and I'll have a look at the remaining errors.
Dave

It's no doubt premature, but I cloned the River5 installation using Glitch's clone feature. I changed some of the feeds. https://jazzy-pike.glitch.me/ reads the feeds, according to the dashboard, but the page itself shows blank.
Once this is all working , I'm eager to write a River5 for Poets guide for setting up a customized river of news on Glitch.

It looks like you cloned it before the last fixes. Try cloning again.
On Wed, Apr 25, 2018 at 3:40 PM yudel<EMAIL_ADDRESS>wrote:

It's no doubt premature, but I cloned the River5 installation using
Glitch's clone feature. I changed some of the feeds.
https://jazzy-pike.glitch.me/ reads the feeds, according to the
dashboard, but the page itself shows blank.
Once this is all working , I'm eager to write a River5 for Poets guide for
setting up a customized river of news on Glitch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scripting/river5/issues/22#issuecomment-384409564,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABm9Oyi4Agcv7vVagRh2FbF1hnnIx5k-ks5tsNEigaJpZM4TgVlz
.

And we're live at https://dew-quarter.glitch.me/
One sad thing I discovered is that many sites I'd like to include no longer have feeds.

Thanks, "flWebsocketEnabled": false is set but strangely doesn't appear to be stopping the websocket connection attempts in the console when I view it.

@SparkyT -- I fixed the problem where it was trying to connect to the websocket server if it's not enabled. It was literally a one-line fix. ;-)

@scripting - thanks, no more websocket errors :-)
I think this is OK enough now, let me know if you want anything else changing.  The river5 name on Glitch isn't one of the ones I own I'm afraid so I can't switch to it. I'm glad we could get this working :-)

So it's working, but the river that I added (by cloning myJsonFeeds.json and myJsonFeeds.js and adding myJsonFeeds to config.json) was read in once but isn't being updated. Any suggestions?

@yudel  , could you post the link to your remix and I'll have a quick look?
It may be something to do with the age of the newriver5 instance which might be affecting how somethings work when remixed - I'll create a fresh one this & send you that to try as well.
Tim

BTW -- @sparkyt -- it seems to still be working. When I log on I check the dashboard and see that it's been started a few seconds before. Meaning it's relaunching on every hit, potentially (I think they say they put it to sleep after five minutes of inactivity).
Then you have to reload the page a few times to get the really new stuff. It almost always finds new stuff after a period of inactivity.
This is a totally acceptable, and realistic use-case.
However it also says that having the websockets interface working would be a good thing here.
It might be worth finding out at some time why it wasn't working.

I should note that the the other rivers work fine. The site is https://dew-quarter.glitch.me/
You can edit it at https://glitch.com/edit/#!/join/c4461cfd-e9a1-4a35-9aeb-be17dcf4147b

Found the bug: An extra comma at the end of the list of feeds in myJewsNews.json

I know it's been a few years but I'm still interested in this idea! Since this thread kicked off:

Glitch/Replit both now have "always on" mode to keep apps running (if you have a paid accounts)
Replit has support for saving files (for paid accounts)

Most of the Glitch links in this thread unfortunately won't load for me. Would love a reference level Replit/Glitch instance that can be easily remixed and built on top of


CSS: @-ms-viewport and @-o-viewport at-rules cause html document rendering to break

Not sure if there are tests associated with this - please let me know if there are.
tested on local env:
before fix:

after fix:

This PR fixes #128693

Hi @jpcastberg. Thanks for looking into this. We get the grammar from https://github.com/atom/language-css/blob/master/grammars/css.cson
Can you make a PR against https://github.com/atom/language-css/?
Thanks a lot!

opened pr for upstream repo: https://github.com/atom/language-css/pull/182


esp-idf-v5.1-rc2/install.sh esp32s3 results in error.

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I have tried the compiling and flashing instructions for Tulip CC here:
https://github.com/bwhitman/tulipcc/blob/main/docs/tulip_flashing.md
I got as far as:
esp-idf-v5.1-rc2/install.sh esp32s3
but get the following output and error message:
Detecting the Python interpreter
Checking "python3" ...
Python 3.10.12
"python3" has been detected
Checking Python compatibility
Installing ESP-IDF tools
Current system platform: linux-amd64
Selected targets are: esp32s3
Installing tools: xtensa-esp-elf-gdb, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, openocd-esp32, esp-rom-elfs
Installing<EMAIL_ADDRESS>Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz
Destination: /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp
80%WARNING: file size mismatch for /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp, expected 32006939, got 25735652
WARNING: Download failure: <urlopen error retrieval incomplete: got only 25735652 out of 32006939 bytes>
WARNING: Failed to download https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz to /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp
Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz
Destination: /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp
89%WARNING: file size mismatch for /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp, expected 32006939, got 28766692
WARNING: Download failure: <urlopen error retrieval incomplete: got only 28766692 out of 32006939 bytes>
WARNING: Failed to download https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz to /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp
Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz
Destination: /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp
92%WARNING: file size mismatch for /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp, expected 32006939, got 29721336
WARNING: Download failure: <urlopen error retrieval incomplete: got only 29721336 out of 32006939 bytes>
WARNING: Failed to download https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz to /home/nick/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-linux-gnu.tar.gz.tmp
ERROR: Failed to download, and retry count has expired
Please make sure you have a working Internet connection.
This is on the latest version of Ubuntu.
It has been suggested I try here for a solution.
Any ideas? Thanks in advance.

As the output suggests, you probably have some issue with your Internet connection because it is not able to completely download the files. You could try to workaround the issue by manually downloading those files and placing them into the  /home/nick/.espressif/dist directory.
For example https://aria2.github.io/ might be one of the solutions. The simplest one could be your Web browser. Please let me know if this helps and we might consider implementing something similar.

Thanks. The weird thing is downloads for everything else works fine. I will try the manual download though.

I'm closing this for inactivity.


Finetuning fails with RuntimeError: Please install flash-attn==1.0.3.post0 and triton==2.0.0.dev20221202

Following the instructions in the README, running through the docker container mosaicml/llm-foundry:1.13.1_cu117-latest, finetuning fails with RuntimeError: Please install flash-attn==1.0.3.post0 and triton==2.0.0.dev20221202.
pip install triton==2.0.0.dev20221202 fixes the problem. Ideally this hint should be part of the README. Furthermore, there is a few more hurdles to take if going through Docker. Which docker image to use? With which parameters to run it?
This command currently works for me (and then following instructions in llm-foundry and installing the expected triton version as outlined above).
docker run --rm -it --gpus all --shm-size=512m -v.:/root/replit mosaicml/llm-foundry:1.13.1_cu117-latest

Maybe you want to update the README accordingly? I imagine a few other people will get stuck along the way.
(ideally specify a fixed docker image, not latest)

Any chance to update the model such that it runs with PyTorch 2?


Fix Incorrect Portfolio.Cash with CFD Open Positions

Description

Updated SecurityPortfolioModel.ProcessFill to update the CashBook only when closing CFD positions (same as Futures)
Updated SecurityPortfolioManager.TotalPortfolioValue to count only UnrealizedProfit for CFD positions (same as Futures)
Updated Oanda and FXCM brokerages GetCashBalance to exclude currencies involved in CFD positions
Added new portfolio manager and brokerage unit tests

Related Issue
Closes #2945
Motivation and Context
Incorrect values for Portfolio.Cash with CFD open positions.
Requires Documentation Change
No.
How Has This Been Tested?
New unit tests + verified Portfolio and CashBook with live algorithms (Oanda and FXCM)
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

Nice PR thank you @StefanoRaggi; merging with the aim of later refactoring of the ProcessFill() method into an interface we can break up according to security type.


Table Valued Parameter implementation(?)

What I would like to achieve would be conceptually similar to table valued parameter in MSSQL, is there a recommended way to pass a temp table that only exists in the particular connection and pass it into DbSet for joining?

Hi,
We have never tested this scenario. However, you can try to create a temporary table using the mysqli extension as shown in the MySQLi Temporary Tables With PHP and pass the reference of this extension and your temporary table to the DbSet constructor.

Do you have a code sample for this? and where do I pass the main query in this case?

We do not have the required example. However, you can try the following approach:
$mySQL = new mysqli("serverName", "userName", "password", "databaseName");
//create your temporary table using mysqli
$dbSet = new DbSet($mySQL, "tempraryTableName");
//use any DbSet methods


Scheduling: Round robin algorithm

While a task can have only a single priority; several tasks may have the same priority. They are scheduled round-robin.
Each time scheduling occurs at a priority, the least recently readied task is scheduled, requiring something like a first-in, first-out queue.

https://elixir.bootlin.com/linux/latest/source/include/linux/sched.h#L748
https://elixir.bootlin.com/linux/latest/source/arch/arm64/include/asm/thread_info.h#L24

Real-time round-robin with priorities scheduling algorithm.
No timeslices.


Refactor widget addition sagas and widget operation sagas

Description

[!TIP]
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Fixes #32962
or
Fixes Issue URL

[!WARNING]
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation
/ok-to-test tags=""
:mag: Cypress test results

[!CAUTION]
If you modify the content in this section, you are likely to disrupt the CI result for your PR.

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

/build-deploy-preview skip-tests=true

@rahulbarwal @jacquesikot Do you think we can write a Jest unit test to assert that this problem won't show up again?

Hey @mohanarpit We have a separate PR for automation in works, We will ensure this case is added there as well.

/build-deploy-preview skip-tests=true

Hey @mohanarpit We have a separate PR for automation in works, We will ensure this case is added there as well.

Can you please link to that PR? Also any reason we are writing tests in a separate PR from the actual code? This way of working sounds like a violation of our coding best practices.

@mohanarpit PR for cypress tests for this feature #33036

@mohanarpit PR for cypress tests for this feature #33036

@jacquesikot Thanks. But my question still stands. Why is the PR for Cypress test separate from the change itself? Why are we not writing the code changes and Cypress tests in the same PR? This way, there is a changelog for our future selves about the code change & the test case to ensure that the code change doesn't regress.


Issue: Recently, the DuckduckGo search tool seems not working. VQDExtractionException: Could not extract vqd. keywords="keywords"

Issue you'd like to raise.
from langchain.agents import AgentType, initialize_agent
from langchain.chat_models import ChatOpenAI
from langchain.tools import DuckDuckGoSearchRun
llm = ChatOpenAI(temperature=0, model_name="gpt-3.5-turbo-16k")
web_search = DuckDuckGoSearchRun()
tools = [
web_search,
# other tools
]
agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)
agent.run("")
VQDExtractionException: Could not extract vqd. keywords="blah blah blah"

The code above worked fine several weeks ago, but it is not working any more. I tried every version of LangChain released after September.
Maybe there is a change in DuckDuckGo's API. Please help me, thanks.
Suggestion:
No response

The issue seems to be in duckduckgo-search, as I have tried the api directly from the pypackage, without through langchain, and I have got the same error message:
VQDExtractionException: Could not extract vqd.

@robertoshimizu did you manage to solve it somehow?

The issue seems to be in duckduckgo-search, as I have tried the api directly from the pypackage, without going through langchain, and I have got the same error message:
VQDExtractionException: Could not extract vqd.

In my case I usually got VQD errors when I tried to send a really large query to duckduckgo-search, try with shorter versions.
Also, double check if your requirements packages are up to date, especially for langchain and duckduckgo-search.

Since some time duckduckgo.com started blocking ip by tls-fingerprint, which caused constant troubles.
But since version v4.0.0 duckduckgo_search uses curl-cffi and there are no more problems.

Since some time duckduckgo.com started blocking ip by tls-fingerprint, which caused constant troubles. But since version v4.0.0 duckduckgo_search uses curl-cffi and there are no more problems.

This helped fix the problem for me!
pip install --upgrade duckduckgo_search

Since some time duckduckgo.com started blocking ip by tls-fingerprint, which caused constant troubles. But since version v4.0.0 duckduckgo_search uses curl-cffi and there are no more problems.

This helped fix the problem for me!
pip install --upgrade duckduckgo_search

You're Amazing!

hi i come up with the same issue, its not realted with the upgrade . this is my solution
instead of using  :
#search online using duckduckgo
#search_tool = DuckDuckGoSearchRun()
do this :
@tool('DuckDuckGoSearch')
def search(search_query: str):
"""Search the web for informations """
return DuckDuckGoSearchRun().run(search_query)
here is an example with crewai  + ollama  + web search :
#import
from crewai import Agent, Task, Crew, Process
from langchain_openai import ChatOpenAI
from langchain_community.llms import Ollama
from langchain.agents import tool
from langchain.agents import load_tools
from langchain_community.tools import DuckDuckGoSearchRun
llm_ollama_dolphin = Ollama(model="dolphin-mistral")
#llm_ollama_mistral = Ollama(model="mistral")
@tool('DuckDuckGoSearch')
def search(search_query: str):
"""Search the web for informations """
return DuckDuckGoSearchRun().run(search_query)
researcher = Agent(
role='Senior Researcher',
goal='Discover groundbreaking technologies',
backstory='A curious mind fascinated by cutting-edge innovation and the potential to change the world, you know everything about tech.',
verbose=True,
tools=[search],
allow_delegation=False,
llm=llm_ollama_dolphin
)
.... etc
output :

Update the library to the latest version.
Many times this solved my case.
(It's possible that certain versions were blocked due to security reasons.)


Untangle some classes in iocore

Use dynamic dispatch for EventIO
Isolate the following classes into their own files

NetEvent
NetHandler
NetVCOptions
PollCont
AcceptOptions

Fix some includes other files to compile cleanly

"Use dynamic dispatch for EventIO" sounds cool, but would you separate cleanup into other PR? We easily miss something with this size of change.


[Bug] Querying relations with extra conditions not working as expected

I have been some time playing with the querying system for eloquent to get something done, and recently I found something that I think is a bug.
I have a table "Teams", with id and name columns. And I have a table "Matches" with local_id and visitant_id. What I want to achieve is to get all the matches a team has played, be it as local or visitant.
On the Teams model:
class Team extends Eloquent {
    public function matches_as_visitant() {
        return $this->hasMany('Match', 'visitant_id');
    }
}

On the Teams controller:
$team = Team::with(['matches_as_visitant' => function($query) {
            $query->orWhere('local_id', '=', '2');
            $query->orderBy('local_id', 'asc');
        }])->find(2);

The query that is run with this is:
select * from `matches` where `matches`.`visitant_id` in (?) or `local_id` = ? order by `local_id` asc

After this I expect $team->matches_as_visitant to be actually all the matches, because the eloquent model already matches the visitant_id field and I add a orWhere part where it checks for the local_id. This should work but doesn't, I've been inspecting the framework code and I found at which point this actually "stops working".
In the HasOneOrMany class we have a method matchOneOrMany:
protected function matchOneOrMany(array $models, Collection $results, $relation, $type)
{
    $dictionary = $this->buildDictionary($results);

    // Once we have the dictionary we can simply spin through the parent models to
    // link them up with their children using the keyed dictionary to make the
    // matching very convenient and easy work. Then we'll just return them.
    foreach ($models as $model)
    {
        $key = $model->getKey();

        if (isset($dictionary[$key]))
        {
            $value = $this->getRelationValue($dictionary, $key, $type);

            $model->setRelation($relation, $value);
        }
    }

    return $models;
}

Basically the $results variable is a Collection with all the matches, but then the $models variable (that is then returned) only contains the matches played as visitant, and the local matches are lost.

@taylorotwell
Let's assume Match has an extra column sponsor. If I use following query builder.
$team = Team::find(1);
$team->allMatches()->where('sponsor' ,'company')->get();
It is translated as
select * from matches where visitant_id = matches.id and matches.id is not null or local_id = matches.id and matches.id is not null and sponsor = 'company';
For the case where visitant_id matches  matches.id and sponsor is not company I still get that record.
Please give a way out.

@taylorotwell
That's really nice. But what if I need to load allMatches as a eager loading? Does it work?
For instance-
$team = Team::where('id', 2)->with('allMatches')->first();

Maybe works using whereRaw()

Solved See on this https://laratuto.com/laravel-eloquent-relations-not-working/

have you got answer to use it with eager loading ?


[s3][PutObjectPart] The wrong "partnumber" can be uploaded successfully

Describe the bug
Normal part upload:
http://myserver:8333/b123/test1?partNumber=1&uploadId=f3d0699c-e3f1-4946-98eb-0f13b2224f1b  --put file.txt
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Etag: "76c75c887afc597327e6e687ad5d6788"
< Server: SeaweedFS S3 30GB 2.32
< X-Amz-Request-Id:<PHONE_NUMBER>628255238
< Date: Tue, 16 Mar 2021 10:46:02 GMT
< Content-Length: 0
<

> tree
b123
└──.uploads
    └──f3d0699c-e3f1-4946-98eb-0f13b2224f1b
        └──0001.part

When entering wrong partnumber:
http://myserver:8333/b123/test1?partNumber=2aaa&uploadId=f3d0699c-e3f1-4946-98eb-0f13b2224f1b  --put file.txt
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Etag: "76c75c887afc597327e6e687ad5d6788"
< Server: SeaweedFS S3 30GB 2.32
< X-Amz-Request-Id:<PHONE_NUMBER>085266369
< Date: Tue, 16 Mar 2021 10:49:21 GMT
< Content-Length: 0

It is considered as a "PutObject" by route, not a "PutObjectPart".
> tree
b123
├──.uploads
│   └──f3d0699c-e3f1-4946-98eb-0f13b2224f1b
│       └──0001.part
└──test1

Possible solutions
https://github.com/chrislusf/seaweedfs/blob/91a3ac9731f646ce41b62bb4cd1768e5ce2342e2/weed/s3api/s3api_server.go#L68-L69
Change Queries("partNumber", "{partNumber:[0-9]+}", "uploadId", "{uploadId:.*}") to Queries("partNumber", "", "uploadId", "{uploadId:.*}") can solve this problem.
This is not the best solution. And I noticed that there might be similar problems with “CopyObjectPart”
Expected behavior
After entering the wrong partnumber, the client receives 400 errors.

this is similar to the user enters the wrong url to upload, and the content was uploaded to the wrong place. Seems reasonable for current behavior.

this is similar to the user enters the wrong url to upload, and the content was uploaded to the wrong place. Seems reasonable for current behavior.

By the way this will make the if logic redundant, and this error will never happen.
https://github.com/chrislusf/seaweedfs/blob/91a3ac9731f646ce41b62bb4cd1768e5ce2342e2/weed/s3api/s3api_object_multipart_handlers.go#L174-L179

this is similar to the user enters the wrong url to upload, and the content was uploaded to the wrong place. Seems reasonable for current behavior.

By the way this will make the if logic redundant, and this error will never happen.
https://github.com/chrislusf/seaweedfs/blob/91a3ac9731f646ce41b62bb4cd1768e5ce2342e2/weed/s3api/s3api_object_multipart_handlers.go#L174-L179


Update files for nodepool, gerrit and jenkins

Nodepool: Updated the nodepool.yaml file for 0.5.0 and cleaned up.
Added/updated nodepool elements/scripts.
Gerrit: Added gerrit files which are required when building images.
We cannot rely on the openstack-infra repo due to being behind
in version.
Adding missing jenkins data and scripts folder needed when building
images.

Lgtm


[Feature] - Meta column translator

Description
This PR aims to translate automatically the columns name of your models.
Notes
By default, translations are skipped if there is no defined translation. If the column doesn't exist, it is also skipped.
In the locales of your cards, you must define translation as below :
# file decidim_cards/organizations/locales/en.yml

---
[...]
meta:
  columns:
    id: ID
    name: Name
    host: Host

ALSO : At the moment translations can't be set on creation, however you can rerun the program and it will detect changes in columns name
Tasks

[x] Handle error when database is unknown
[x] Handle error on card update / creation
[x] Add translation system

I look at it sofort by testing it with decidim_cards like organisations or proposals


adding Slider tinting (colors customization)

adding color attrs for Slider Views in  order to be able to tint their drawables,
adding android support design to MultiSlider lib, adding examples, updating gradle

Hello Kalin,
Take a look on my PR, I will be pleased if you integrate this work on your next release.
Thanks

very nice contribution indeed. Thank you!

@razvanaschilean :clap:


Fix posting new event comments

Adding a new event comment now uses API v2.
Also fixes the pluralisation of the "1 comment/0 comments" view title.

Doesn't work as you need to send in the rating field nowadays.


Create Issue templates

A few basic issue templates are needed. You can refer to these- https://github.com/avneesh0612/.github/tree/main/.github/ISSUE_TEMPLATE

We could use the latest issue forms using the .yml syntax.
You can refer to this- https://github.com/EddieHubCommunity/LinkFree/tree/main/.github/ISSUE_TEMPLATE
GitHub Docs

Hey @krishguptadev, Can I work on this ?

Sure @Kira272921 👍

@krishguptadev Created a PR #11


Option to include Server specification parts in maven POM (and not as profile)

At this moment, the selection of an implementation server results in the addition of a profile into the pom file.
It defines the server specific things to generate the uber-jar/fat jar for example.
But having a profile is not as developer friendly as could be.
The idea of using the profile was that the generated project should be implementation agnostic. An important aspect of having a specification with different implementations (although some small changes are introduced for a specific implementation)
So having the option to merge the profile or keep the profile is then the tradeoff we can make.

@rdebusscher I don't understand what is the task here. Are we going to ditch pom-servers.xml? Refactor it? Allow more profiles for each server?

@Karm
Idea was that the pom.xml of the generated project doesn't use a profile but the info from pom-servers.xml for the specific runtime would be merged.
With the automatic profile selection this is no longer a major issue and can be closed.


Installation: dlib - cmake not installed

From https://github.com/AbdealiJK/file-metadata/issues/20

dlib not compiling because cmake not found
It says "Cannot find cmake in the path. Please specify its path with --cmake parameter", instructions to install would also be nice.

Made https://github.com/davisking/dlib/issues/132

Has been merged upstream https://github.com/davisking/dlib/pull/133
and also a minor patch fix at https://github.com/davisking/dlib/pull/136
Closing as the major issue is fixed upstream


Update hotkey_script_palettes.lua

Sorry about this - listing my info variable at the top of the script ruined the deployment build. More sober approach here should work.

As you discovered, the plugindef function can't have (external) dependencies. This is clearly stated in the docs (going back to JW Lua days.) However, there are a lot of docs, so I don't fault you if you didn't see it.

Yes - I missed that nicety. Also forgot that I can't have tab characters in the Info dialog window contents.


[BUG] UI and Content Inconsistencies Across Website Pages

https://github.com/user-attachments/assets/7b33b706-e277-4b2a-9b7b-d88515bc47ab
Description:
The footer section is missing from multiple pages, creating an inconsistent experience across the website.
The phone number entered in the contact forms has a white font color, making it invisible to users.
The navigation bar differs across pages, resulting in an uneven UI and affecting user experience.
In the homepage, the text "Contact Me" should be corrected to "Contact Us."
There is excessive spacing on the homepage, which disrupts the layout and flow.
The vehicle image on the homepage does not display fully on page load, negatively impacting user perception.
What i will fix
Add the footer section to all pages.
Update the font color for the phone number input field to improve visibility.
Standardize the navbar across all pages for a consistent UI.
Correct the "Contact Me" text to "Contact Us" on the homepage.
Adjust spacing on the homepage to optimize layout and readability.
Ensure the vehicle image appears fully on page load for an enhanced visual experience.
also add gssoc-extd label

Pull the latest code and then work on it

Pull the latest code and then work on it

Sir there is correction in label of this issue please add label of "gssoc-ext" the "GSSOC-EXTD" is worng label

@07sumit1002
Hi, I’d love to help resolve this issue—could you please assign it to me?


File system corruption on power down

Using .7b1, I flew for .9 hours with no apparent issues (although ADS-B towers kept disappearing and re-appearing). When the flight completed, I simply removed power to the Stratux (as is usually what I do).
This morning, I wired up a fan to the case I built and when I attempted to restart the device, it would not boot (as evidenced by the green light on the RPi dropping much quicker than it does when the system boots and the lack of the SDR's or Wifi chip to come up).
After several restart attempts, I re-imaged my microSD card and things are back to normal.
Obviously, I can shutdown with the UI in the future, but agree with past posters that it might be wise to have an RO parition and a RW partition that can always be rebuilt if it is corrupted.

although ADS-B towers kept disappearing and re-appearing

Are you referring to the ForeFlight display? If so, that's an app issue - they changed the way they display towers a few versions ago.

Thanks - yes, I'm using FF. I forgot to mention that above. Do you have any insight as to why they now come and go?
And, FWIW - I wanted to justify this as a bug report as it actually crashed the RPi. I know there's an enhancement request but I wanted to track an actual failure. :-)

No clue. Use our web interface to get accurate reception info.

LOL. Thanks. I'll ask (the QA manager is a friend)


Generated stuff...

Seems kind of weird...
https://github.com/bvaughn/angular-form-for/blob/master/dist/form-for.js#L2795-L2840

Agreed. Seems like maybe a TypeScript compiler bug. Not sure if there's anything I can do about it.
Shouldn't affect anything though, other than adding a couple of bytes to the JS file size.

Is this causing you any trouble or were you mostly just pointing it out?

Just pointing it out. Looks like lots of empty function calls. Can't be very efficient and is probably easily removed with a regex in the build process.

On Jul 3, 2015, at 9:13 AM, Brian Vaughn<EMAIL_ADDRESS>wrote:
Is this causing you any trouble or were you mostly just pointing it out?
—
Reply to this email directly or view it on GitHub.

Fair enough. I doubt there's much of a performance impact as those function bodies are empty and only invoked when the file is initially processed.
May be worth removing as a post-build step I suppose. I'll leave this ticket open for now. :)


Can't set ListStore as model of CellRendererCombo

I can specify ListStore as the TreeModel model of a ComboBox because of the IsA<TreeModel> trait and can even leave the Option out – but both these things don't work on CellRendererCombo, and as TreeModel doesn't work either. Could you please fix that, or am I misunderstanding the functionality? I'm not new to GTK but new to Rust, and the documentation sadly doesn't really help that much in a lot of cases… Here are the function definitions:
ComboBox:
fn set_model<'a, P: IsA<TreeModel> + 'a, Q: Into<Option<&'a P>>>(&self, model: Q)
CellRendererCombo:
pub fn set_property_model(&self, model: Option<&TreeModel>)

Duplicate of #505
This fixed in git version by #509
Now function look fn set_property_model<P: IsA<TreeModel> + IsA<glib::object::Object>>(&self, model: Option<&P>);
Properties still don't support leaving Option out: https://github.com/gtk-rs/gir/issues/363

Thanks!


sync io operations should reset error codes

Version of Beast
55
When reusing error codes across multiple io operations, beast may terminate the io operation because the error state was previously set. This necessitates the user to always reinitialize the error_code prior to doing io. This behavior is unexpected as boost::asio will reinitialize the error_code before possibly writing to it.
response.body.more = true;
boost::system::error_code ec;
auto sr = beast::http::make_serializer(response);
beast::http::write(sock, sr, ec);
// ec is now need_buffer
beast::http::write(sock, sr, ec);
// write fails here because ec was already set; ec is still need_buffer
ec = {};
beast::http::write(sock, serializer, ec);
// write is good again

I just had a look through the Asio source code, I think you might be right about this one!

This is a massive headache because I have to study every function. I think the rule works like this:
If a function has error_code& ec as a parameter, it must do one of the following

Call a function that takes the error code
Set the error code to indicate an error
Clear the error code

Sadly I have absolutely no idea how boost::asio errors are supposed to work, using Beast is actually my first contact with boost::asio.

Beast is actually my first contact with boost::asio.

Scandalous!


K8SPS-256: Remove SQL command from logs

CHANGE DESCRIPTION
Problem:
Sensitive info in the logs.
Cause:
SQL cmd logged.
Solution:
Remove SQL cmd from the logs.
CHECKLIST
Jira

[x] Is the Jira ticket created and referenced properly?
[x] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[x] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[x] Is an E2E test/test case added for the new feature/change?
[x] Are unit tests added where appropriate?

Config/Logging/Testability

[x] Are all needed new/changed options added to default YAML files?
[x] Did we add proper logging messages for operator actions?
[x] Did we ensure compatibility with the previous version or cluster upgrade process?
[x] Does the change support oldest and newest supported PS version?
[x] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
passed

gr-demand-backup-haproxy
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
failure

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

recreate
passed

scaling
passed

service-per-pod
passed

sidecars
passed

smart-update
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/592/commits/4c0e9545a4ce7b2316de90ea9c33bf45f1e0ee87
image: perconalab/percona-server-mysql-operator:PR-592-4c0e954

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
passed

gr-demand-backup-haproxy
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
failure

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
failure

recreate
passed

scaling
passed

service-per-pod
passed

sidecars
failure

smart-update
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/592/commits/54e5e97694ff720e5eee0457a4a79ebad1ce4aaf
image: perconalab/percona-server-mysql-operator:PR-592-54e5e97

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
passed

gr-demand-backup-haproxy
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
passed

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

recreate
passed

scaling
passed

service-per-pod
passed

sidecars
passed

smart-update
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/592/commits/466135f2c0427bdddf82f80468e3ccf3fbe2d096
image: perconalab/percona-server-mysql-operator:PR-592-466135f


Cant type in 4 or 8 letter color names in editable input anymore

On the react color demo page I am able to type in "blue" into any of the editable inputs and that is recognized as valid.
Since this fix - https://github.com/casesandberg/react-color/commit/669bf040955d2b8ff82b491e1044d28fe80d06b5#diff-012ff5a8f8316a2507102ec918eaf81b
I am not able to type in 4 or 8 letter color names. They return as invalid because of the length check. So while "red" or "yellow" works fine, "blue" or "gray" doesnt.
Is there a work around for this?

@casesandberg What do you think about having a list with the available colors (['red', 'blue', 'yellow', ...]) and skip the length test if the hex value is inside the list? (this will mean that it's a word not an hex code)

@Tintef That would be a workaround but not a fix for the problem. We want to support all valid hexadecimal strings including alpha values and hexadecimal numbers.

@casesandberg I'd like to propose using https://www.npmjs.com/package/validate-color to validate colours passed directly in the input. This package currently supports:

hex - #bada55
name - LightGoldenrodYellow
special name - currentColor
rgb - rgb(0 0 0)
rgba - rgba(0, 0, 0, .45)
hsl - hsl(4.71239rad, 60%, 70%)
hsla - hsla(180deg 100% 50% / .8)
hwb - hwb(180deg 0% 0% / 100%)
lab - lab(2000.1337% -8.6911 -159.131231 / .987189732)

Disclaimer though, this package is mine. Having said that, I wrote exhaustive tests on each function, that can be run separately or combined in one (ie. ValidateColor('#faa')). It is all achieved by advanced and modular regex. 🎱


解决代码片段（Snippets）prefix不支持数组的问题。

Types

[ ] 🐛 Bug Fixes

vscode中Snippets代码片段prefix属性是支持数组的，但是opensumi里不支持，以下逻辑修正该问题。

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.shilin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.shilin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@shilin8805 感谢你的贡献 ~，请根据我们的 PR 模板填写一下信息 PULL_REQUEST_TEMPLATE.md 同时签署一下下面的 CLA 协议。


Add ability to configure the encryption_key_loc filesystem

Fix for #731

New Configuration
encrypt.key.fs.uri is optional.  If it is not provided, then the code will perform as it did before.
Example Configuration
To allow encrypted password to be used when gobblin in run under yarn, you need to make sure that the master password file is copied to the app_master and containers.  This is done by adding /opt/apps/gobblin/current/master.pass to gobblin.yarn.app.master.files.local and gobblin.yarn.container.files.local.  Additionally, encrypt.key.fs.uri needs to specify the local filesystem "file:///" and encrypt.key.loc need specify the master password file at the root of the current directory ./master.pass.
See the example below:
gobblin.yarn.app.master.files.local=${gobblin.yarn.conf.dir}"/log4j-yarn.properties,"${gobblin.yarn.conf.dir}"/application.conf,"${gobblin.yarn.conf.dir}"/reference.conf,{{ app_current_dir }}/master.pass"
gobblin.yarn.container.files.local=${gobblin.yarn.app.master.files.local}
...
encrypt.key.fs.uri="file:///"
encrypt.key.loc=./master.pass

@sahilTakiar @zliu41 Can you please review this?

The master.pass file exists in the current directory

But I can't get it like this

Or like this

But this works

OK. Digging through the Hadoop source code I found:
/**
 * Pathnames with scheme and relative path are illegal.
 * @param path to be checked
 */
void checkNotSchemeWithRelative() {

LGTM.


use @celo/celo-devchain for sdk tests needing a devchain

Description
Previously to run tests in sdk such as cli and contractkit that needed a mock chain to test against it was neccessary to build everything by hand each time. and required running ascript in protocol. this will not be possible once ck is moved out. and for now just speeds up everything.
Other improvements
Note before this i have not been able to run ck locally for a little while and now i can so major win.
Tested
Related issues
This is part of the move to untangle contractkit from protocol so that sdks can be move to a new repo. the other remaining are

replacing script that builds contractkits generated folder which contains Typescript Contracts with importing those same files from @celo/abis
remove function used in contractkit tests that is imported from protocol but also duplicated in contractkit itself
remove MetaTransactionWallet test which rely on files from protocol
modify SortedOracles test which have same issue

Backwards compatibility
n/a
Documentation
n/a

Not sure if intended, but transaction-uri is not being tested in CI

Not sure if intended, but transaction-uri is not being tested in CI

ACK!


Trend like clusters mined from subset of P3 documents

16.14299999999996 212 decreases reduces improvements increases decrease drops risen decreased decreasing grows fewer varies improves declines persists doubled increase becomes rise reduction lower shrink dropped lasts increased shifts substantially double decline less lowers rises exponentially stays climbed upsurge recur improved uptick stayed influences differed happens loses positively losers goes converts drop contributes differs rising waned follows consistently fall farther compounds affects diminish passes declined dissipate falls reduced changes lowered leads variations rose ranges amplifies reduce occurs takes correlated

0 212 change in value (decreases, increases)
New node: Process->Increase; Keywords: rise, grow, improve, double, climb, upsurge, uptick (possibly same as Process->Develop?)
New node: Process->Decrease; Keywords: reduce, decline, shrink, drop, waned, diminish

8.949208333333322 447 deteriorating deteriorated declining weakest poorer deterioration demise worsening depressed tightening slipping booming waning falling devaluation disadvantage collapse trapped heightened changing weakening decreasing downfall slackened breakdown eroded disadvantageous soured turbulent low struggling weak aging weakness diminished collapsed fledgling declined reversed halving volatility rising weakened unstable shock normalised strained bleak closing erosion turbulence diminishing

New node: Process->Decrease; Keywords: declining, deteriorated, waning, collapse, dimished

35.46375 232 exacerbates exacerbation exacerbating exacerbated exacerbate repercussions erode aggravate escalate eroding inflict erupt emboldened ramifications intensifies endangering accrue endanger upheaval aggravating mitigation complicate inflame intensifying appease perpetuates stressors mitigated proximate conducive prolong intensify exogenous escalation unleash ebola worsens escalating underpinned alleviation outweigh root perpetuate endogenous inflicting escalates deleterious begetting equate intensification underlie undermining defuse alarmingly impediments uptake instil externalities magnifying pave impede impeding entrench prolonging engender infusions spillover perpetuating preclude underpinning subsides consequential inflicts incur gases forestalling intractable illuminate symptom environ complicates causes exerted existential alleviating resonate exigencies underpin overburden adverse forestall obstruct animate precipitate equalizer afflicted uploading perverse expedient equitably deficiencies cohort added ameliorate inundating magnified attorney consequence propensity aspire depressing epicentre bigger distorts equitable opportune emblematic degrade engendered mutilation heightens culprit reinforcing elevate nourished capitalize adversely excruciating hasten ignite protracted giving underlying instigate entailed nomic aggravates irreversible eradicated heighten reliant stressor insulate pervasive impacting hindrance disruptive immune pose susceptibility worsening inroads potentially unsustainable potency bedevilling constrain prolongs entrenched costing buttressed systemically disparities incentivize elicited engenders source insecure negligible putting especial bolstering troubling responsible brunt avert retarded propel aggravated ingrained anxieties determinants precipitated exerting proliferating catastrophic eschew degrading devastating predate product indulge multiplier annum averting ensuing cycles sources endorsing amplify jeopardise impeded underscored relapsing inevitably prosper mitigates inflaming exert advantage reverberate perpetuated allocating immunization initiators undercut inherent feeding compel consequent arising into frustrates could amplifying erupting burgeoning elicit absorptive backfire isolating epidemiology derailed reinvested sow accentuated effect overload capitalizes elicits attributable overburdened operandi exxonmobil entrenching types worse catalyze forestalled unfold either compromising pitfalls indebted wake necessitate impedes transcends

0 232 exacerbate, worsen
New node: Process->Exacerbate; Keywords: aggravate, escalate, intensify, complicate, inflame

31.58803680981585 93 promoting improving enhancing through expanding foster fostering maintaining building enhance strengthening boosting sustaining helping build strengthens encourage stimulate advancing ensure realizing promote raise ensuring investing fostered generating nurture thriving facilitating facilitated consolidate maximizing saving upholding maximize furthering encouraging strengthen create organizing emphasizing maximise usher promoted enhanced secure popularise protecting via enforcing instituting attaining maintain speed incorporation offering introducing enlisting laying creation rebuild during benefitting nurturing increasing inviting accelerating strengthened promotion initiating supporting driving emphasize integrating accelerate rebuilding undertaking facilitate intensifying encouragement anticipation enabled publicising sustain stronger scaling adding creating flourish engender inform paved garnering instilling aiding enhancement performing become within exposing doubling launching assist pursuit anticipating demonstrating boost benefitted engaging inspire lead seeing formulating initiate cultivated constructing improve amplifying convincing shaping focusing seize spearhead store safeguarding championing positive equip winning sparking opening reflective transforming linking impacting transferring celebrate pushing restoring stabilize fosters stopping achieving reforming them fruitful establishing highlighting share ushering contribute clarifying celebrating our remaining strength generate keeping spreading consolidation involving voluntarily shape sharing recognition deepening sponsor encompassing realise advance increased continuing amplify acting occurring contributing bringing preserving enable obtaining changing champion safeguard expression raising while utilizing including accessing stepped acknowledging nurtures accompanying understanding capturing adopting demonstration increase distribute uphold providing

0 93 promote, improve
New node: Process->Promote; Keywords: promote, improve, enhance, expand, foster, strengthen, boost, sustain, nurture

tag @jmacbrid @zupon @BeckySharp @MihaiSurdeanu

These are great @chanys !
@zupon , @BeckySharp : we should try to expand our set of trigger words based on these.


open external link

Is it possible to open an external link when click the menu item?

You can do it with streamlit and python code, its not a part of the menu. you can look for example on this discuttion and see how you can do it in streamlit. Then just add a condition in the code the if a specific option is chosen, you open the url


Group Policy to disable Custom Connectors

Is there an option for IT admins to disable the option to enable custom connectors, similar to the option to disable custom visuals and the sign up check using group policy?

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

ID: de9db81b-e91f-c1c8-7062-eb8bd5920eb9
Version Independent ID: 63ba058e-817c-3b82-767b-5f94d8204e5b
Content: Connector Extensibility in Power BI - Power BI
Content Source: powerbi-docs/desktop-connector-extensibility.md
Service: powerbi
GitHub Login: @cpopell
Microsoft Alias: gepopell

Thanks for your comment, @klinejordan. This looks like a product question, rather than documentation feedback. You can submit product feedback or feature ideas by going to https://ideas.powerbi.com. You can also engage with the Power BI engineering team by being active in the Power BI Community, at https://community.powerbi.com.


change duration of light state in traffic junction

Hi
I simply load a map and run the ego vehicle using manual_control.py script with autopilot. The ego vehicle crosses the junction traffic signal. Currently the traffic light takes alot of time to set to green. I want to reduce the duration of traffic light state in the junction.
How can I change the duration of traffic light state. Is there any API which does this action.
I am using CARLA 0.9.11 on Fedora33

I think with set_green_time, set_yellow_time and set_red_time I can change the traffic light duration for all the traffic lights in the map. Can anyone confirm that?
https://carla.readthedocs.io/en/latest/python_api/#carlatrafficlight

Hi,
Did you manage to set the duration of each light states at a traffic light junction? I went through the docs and tried changing it directly through Python but is faced with some errors as shown below. Hope you can shed some light on this.

I am using CARLA 0.9.12 on Windows 10. Python version 3.8.10

Check out this answer https://github.com/carla-simulator/carla/issues/876#issuecomment-1328671885


Adjust dashbuilder dependencies

There was a missing dependency gwt-bootstrap3-extras. I've also simplified the dependency set.

+1 to merge.


Reclass can't open splintercell bläcklist

I didn't find prozess from splinter cell bläcklist or other games what im doing wrong?
i can't find that prozess in list.

You need to use the correct architecture (x64/x84) and may have to run ReClass with admin rights.


Weird shaking-effect when focusing ParallaxViews

Hi there,
im getting weird effects on the ParallaxViews on the element that is getting focused in any direction. When focusing element, it is shaking to left and right for a split second.
Doesnt happen with the CollectionViewCells.
Same on the example on "Any View" if you go from the label to the orange element.

Thank you for your patience.
This is fixed now with the release 3.1.0 (https://github.com/PGSSoft/ParallaxView/releases/tag/3.1.0)


internal/core: treat certain unification errors as "incomplete"

See also #1479
What version of CUE are you using (cue version)?
v0.4.1
What did you do?
cue def of
b: {...}
check: len(b) == 1

results in
b: {...}
check: len(b) == 1

This is correct, as the number of elements in b might change as the schema gets more concrete.
Similarly, cue def of
b: {...}
check: len(b) == 1
check: true

should result in an unchanged configuration.
Instead it results in
check: conflicting values true and false:
    -:2:5
    -:3:5

This is because CUE evaluates this as a "fatal" error (an error that cannot be solved by making a configuration more specific), even though it is not.

Confirmed with commit dc2c9e0950f36895f819171cab447eb7b54758e0.
Testscript reproducer:
ec cue def x.cue
-- x.cue --
b: {...}
check: len(b) == 1
check: true


Faster accelerometer data reading

I've modified code in the main loop which was responsible for accelerometer data reading. If we remove or decrease 25ms delay in lidar-avr, data frames are sometimes are getting broken and cannot be correctly handled by our previous code. After my modifications, it works much faster than before but there are still some broken frames. I am not sure about it but maybe increasing the communication baudrate will help. However, this code should be cleaned up, but it will make sense, only if we figure out what's the problem.

This looks very nice. It would be cool if we measured how big % of frames are lost when the _delay_ms() is removed from AVR code with old code and with code from this PR (so we could compare it somehow? idk).
Furthermore, I consider that we should ask dondu

Yeah, knowing how much data are lost is very important in our case. It should be done before we will start writing any serious data merging stuff.


chore(copy): update confirmation microcopy to match best practices

This PR applies some further cleanup to the language used in various confirmation modals throughout the app.

Should help close https://github.com/konveyor/forklift-ui/issues/706

@seanforyou23 as part of this PR would you mind updating all the errorTitle / errorTitles strings across our usages of ResolvedQuery / ResolvedQueries to match? They are all also in that format e.g. "Error loading providers" and should probably all say e.g. "Could not load providers"


check command fails if key contains '\n'

client.check will completely blow up if the inputted key contains a \n. I'm haven't done the research to determine if this is an error with these Nodejs bindings or if it's something specific to bloomd in general. Regardless, I though this might be a nice note to keep here in case someone else runs into the same issue.

The bloomd protocol uses \n to terminate commands. The javascript bindings could conceivably sanitize keys before sending on to bloomd or proactively throw an error. 🤔

It might be nice to give the user a heads up, failing with an informative error.  Right now, it's throwing a bunch of command undefined errors, which are ambiguous at best and misleading at worst.
I ran into the issue because I'm wrapping bloomd in a transform stream and wanted to see it's output clearly. I added in newlines to my keys and began piping the results of my stream to stdout. Any how, it took me a little while to figure out why everything broke.


Make DeviceManager export available in livekit-client

https://github.com/livekit/client-sdk-js/blob/fc97dd13f390ceb8d0da4ed398a54f6f400f1efd/src/room/DeviceManager.ts#L6
This is a useful class but I can't import it from livekit-client

hi @dwrtz,
the SDK exposes Room.getLocalDevices as a static method, which calls into the DeviceManager class.
If you need broader access to the class, could you elaborate on the use case or what specific functionality you would like to see exposed?

Ah, that worked. I'm new to static methods.
Thanks!


Demo is broken

The demo project fails to build. It looks like we lost the TurboNavigator dependency somewhere.

Disregard! If the Turbo Navigator project is open in another Xcode window then the demo app can't find it. Closing the other project fixes the issue.


AnalyzedSentence Design

Prereq of #52
We want a ponter-generic version of return container for the result of analysis.
Rust API wants references/mut references; Python binding wants Arc.

Considering to add MorphemeList following java/python:
struct MorphemeList<'a, T> {
    dictionary: T,
    input_text: &'a str,
    path: Vec<lattice::Node>
}

And let Morpheme have reference to MorhemeList:
struct Morpheme<'a, T> {
    list: &MorphemeList<'a, T>,
    index: usize,
    word_info: Option<WordInfo>, // for lazy load
}

MorhemeList<'a, T> will be returned from tokenizer<T>.tokenize(input: &'a str).
We may change the struct for the path field later.

In this formulation will it be usable in Pyo3? Even with wrappers.

For python side I considered to create a variant with no generic parameter:
struct PyMorphemeList {
    dictionary: Arc<JapaneseDictionary>,
    input_text: String,
    path: Vec<lattice::Node>
}

struct PyMorpheme {
    list: Arc<PyMorphemeList>,
    index: usize,
    word_info: Option<PyWordInfo>
}

It would be nice if the Rust version of MorphemeList would be somehow reusable allocation-wise. At least in theory and not in the initial implementation.
For the Python that may be impossible (and Python FFI requires making copies for basically everything).


Suggestion: Run affected tests when sources change

Currently when sources change all tests are rerun. It should be possible to track which tests depend on which sources. If a source changes, determine which tests depended on that source. Rerunning just those tests should make for a better --watch experience.

There's an issue for it already - #115. Closing this in favor of the original one.

Here I was thinking I had original ideas…


ble.gap().onConnection(connectionCallback); crashes app

I created a small application that registers a GattService with a couple of GattCharecteristics.
This all (seems to) works fine, so I added ble.gap().onConnection handler and the app crashes on connection. The handler doesn't actually do anything just registering it seems to cause this behaviour
So identical code without the handler works but uncommenting the ble.gap().onConnection cause the crash

I added the following file to the yotta folder (config.json) and the mysterious issue went away. Thanks to pan (Vincent) a hero.
config.json.txt


Only works in simple scenarios

Hey @DavidUnboxed, while I appreciate the documentation about this issue, your solution only "works" because of the reboot in user-data and in that situation it's bringing up the wireless interface on the second boot, not the first.
Namely, with this solution (or any I have found so far) you cannot use the wireless interface to update apt, install additional packages (including changing the ntp client or any other built-in config that will install a package).
There seems to be a bad loop wherein the wifis need wpasupplicant installed in order to work (and renderer: NetworkManager), but you cannot install wpasupplicant unless you first connect on a wired port.
Hope this helps someone else. And if you figure out a way to get it working on first boot along with more complex installs, please let the world know. Cheers!

Indeed, I only tested this with the one simple scenario - to get the system up headless reachable via SSH.


error: GLSL 4.10 is not supported.

$ glxinfo | grep "Max core profile"
    Max core profile version: 3.3

try changing these lines to use 3 and 3. maybe that will work, i haven't tried.

oh the shaders also declare a #version, that may need to change too.

I am afraid content of fragment.glsl and vertex.glsl is incompatible with 3.3 even if I change  #version 410 to #version 330

did you change the shaders here and here? they are separate libraries so it'll be a bit inconvenient to test but if you run nimble develop in those repos it will make this project use them. i haven't checked if the glsl actually is compatible with 3.3 though.

thank you, I suddenly found device with Max core profile version: 4.5 so problem solved :)

in case anyone else had this issue, i reduced the required opengl version to 3.3


Products in created handle not showing up through multiplexer

Just that - products are in the handle, and are being passed to the ShowProducts recipe, but they're not being displayed.
Unfortunately there are several variables at play - this is using data injected from the extension (and handles created by the extension), so it may be that there's something wrong with the handles that I've created.

It's hard to see here because they're just absent, but there are 2 selected products in the wishlist. They're correctly excluded from the shortlist.
And the corresponding recipe:
recipe
  create #wishlist as wishlist
  map #shortlist as shortlist
  Chooser
    choices <- shortlist
    resultList = wishlist
  ShowCollection
    collection <- wishlist
    hostedParticle = ShowProduct
    consume master
      provide annotation as annotationSlot

If I change to copy (and provide some data to copy from), then the products are carried across.

recipe
  copy #wishlist as wishlist
  map #shortlist as shortlist
  Chooser
    choices <- shortlist
    resultList = wishlist
  ShowCollection
    collection <- wishlist
    hostedParticle = ShowProduct
    consume master
      provide annotation as annotationSlot
view ClairesWishlist of [Product] #wishlist in 'data/wishlist.json'
  description `Claire's wishlist`

The code is available https://github.com/smalls/arcs/tree/debugging-muxer-extension-demo.

I switched to the non-muxer version, and it's working.
recipe
  create #wishlist as wishlist
  map #shortlist as shortlist
  Chooser
    choices <- shortlist
    resultList = wishlist
  ShowItems
    list <- wishlist

Once this is fixed I'll be able to revert parts of 193030c9a41122f5cb478accd59fd76f713e3acd (once it's merged) - particularly, I'll need to remove the old ShowItems (ShowItems.js, ShowItems.manifest) and change back to ShowCollections.