can NOT install on Windows 10

Hi could someone please help?
@krmorse
It can NOT install on Windows 10.
Details please refer to the attached npm-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open 'c:\package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "rally-app-builder"
npm ERR! node v6.9.4
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs phantomjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     c:\npm-debug.log

npm-debug.log attached.
npm-debug.log.txt

I'm having a similar issue on win 10.  node version 6.9.4.  Several warnings before I hit this SKIPPING OPTIONAL DEPENDENCY:
npm WARN deprecated<EMAIL_ADDRESS>wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
C:\Users\dsaner\AppData\Roaming\npm\rab -> C:\Users\dsaner\AppData\Roaming\npm\node_modules\rally-app-builder\bin\rally-app-builder
C:\Users\dsaner\AppData\Roaming\npm\rally-app-builder -> C:\Users\dsaner\AppData\Roaming\npm\node_modules\rally-app-builder\bin\rally-app-builder
C:\Users\dsaner\AppData\Roaming\npm
`--<EMAIL_ADDRESS>npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\rally-app-builder\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
It does appear to install, but when I attempt to build an app, I get the following errors:
rally-app-builder build
Compiling the App.
fs.js:101
throw err;  // Forgot a callback but don't know where? Use NODE_DEBUG=fs
^
Error: EPERM: operation not permitted, open 'C:\P4SCC\QAAutomation\Projects\Main\Rally\RallyTestCoverageByIteration\config.json'
at Error (native)
Any guidance would be greatly appreciated!

I'm investigating.  I think most of those super outdated dependencies are only used for the clone command anyway, which I've been considering getting rid of for some time.  Thanks for reporting these issues!

I figured out a way to fix my own installation issue for rally-app-builder.
I ran into 3 issues.
1.
42069 warn optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\chokidar\node_modules\fsevents):
42070 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
to resolve it, I used:
npm install --no-optional rally-app-builder

npm ERR! Refusing to install package with name "rally-app-builder" under a package
npm ERR! also called "rally-app-builder". Did you name your project the same
npm ERR! as the dependency you're installing?
to resolve it, I changed the name in package.json file from  "rally-app-builder" to " "rally-app-builder-test"

Phantom installation failed { Error: EPERM: operation not permitted, unlink 'C:\Users\leo\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1485397694143\phantomjs-1.9.8-windows\phantomjs.exe'
errno: -4048,
code: 'EPERM',
syscall: 'unlink',
path: 'C:\Users\leo\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1485397694143\phantomjs-1.9.8-windows\phantomjs.exe' } Error: EPERM: operation not permitted, unlink 'C:\Users\leo\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1485397694143\phantomjs-1.9.8-windows\phantomjs.exe'
<EMAIL_ADDRESS>c:\github
`-- (empty)
to resolve it, I disabled anti-virus software protection, then run
npm cache clean
now rally-app-builder seemed to installed successfully.
NOT SURE WHETHER rally-app-builder actually will work after installation... will test it out...

Not sure why I had to do the above 3 steps and the rational behind them.
could anyone @krmorse explain?

Just tested it out -> does NOT seem to work... will look into it.
c:\github\rally-app-builder>rally-app-builder init BasicRallyGrid
module.js:472
throw err;
^
Error: Cannot find module 'C:\Users\leo\AppData\Roaming\npm\node_modules\rally-app-builder\bin\rally-app-builder'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:535:3

Reason is there is no rally-app-builder folder under path:
C:\Users\leo\AppData\Roaming\npm\node_modules\
I had to cd into rally-app-builder folder first, otherwise "rally-app-builder" command is not found

@leowins, the most common usage is to install rally-app-builder globally (using the -g flag when running npm install).  that way you can execute it from anywhere as long as node is correctly on your path.  If executing it from a local npm install you probably need to do ./bin/rally-app-builder init BasicRallyGrid

@leowins, @dsaner, I just published version 1.5.1 which updated a bunch of dependencies and I think that should resolve the issues on Windows 10 and newer node versions.  Would you try it out and see if it works for you now?

shoot, try again @dsaner ?

got it that time.  Install looked cleaner too.  Was able to successfully build my app.  Thanks!


read BIP39 passphrase by a camera from a QR code

What do you like to be able read/scan here - a QR code which is just some words, space separated ?
eg:

well, any string; BIP39 says UTF-8 NFKD, realistically ASCII should be enough, I don't know why does it matter. English seed words are both UTF-8 NFKD and ASCII

there tends to be problem with UTF BOM characters that should be handled (removed) because it often breaks QR scanning of text


Manifest patch: fix parity-secp256k1 yank issue

The parity-secp256k1 crate was yanked 😢

Added a small patch so that people can build the contract.
Suggestion for maintainers to update to the latest SDK, since the current version of near-sdk is from May 25, 2022

okay, i think it's ready now. I saw the CI had some tests break and I assume this is because the other two manifests dealing with tests needed this addition, too


Migrate Database to Room

The app is currently using SQLiteOpenHelper, which works fine, however we can't do things like observing the database to be automatically notified about changes.
That is why we want to migrate to Room

Checkout Kotlin Flows.


release: v1.0.0a14

New release in order to unblock inveniosoftware/invenio-records-files#38 even though #132 and #133 are almost ready.

LGTM


Logical pricing error - changePercent is in reverse

pyEX chart function is incorrectly presenting/calculating changePercent
Hey there, I am writing a function to find out the number of positive and negative days for a given stock over a given timeframe. Ultimately I'm trying to determine something like the example below:
"Over the past year, Apple has had 150 positive days and 100 negative days". To do this, I'm pulling interday stock prices and then just counting the number of positive days and negative days. However, when I do this, I notice that virtually all of the stocks you'd expect to have a majority of positive days positive, were actually majority negative. This was true for SPY, AMZN, MSFT, MCD, and AAPL. I decided to verify this myself by throwing the stock data into Google Sheets and calculating it that way, and sure enough, when I pull the data directly from IEX through their historical prices endpoint and then convert into a csv, the majority is now positive for all of those stocks.
I have had time to dig through the pyEX library to find the code that causes this issue, so apologies. But below I will demonstrate the logical issue and the results of it.
This is how I'm using pyEX to determine the number of positive vs negative days.
from pandasql import sqldf
from pyEX.stocks.prices import chartDF
import os

os.environ["IEX_TOKEN"] = "pk_xxxxxxxxxxx"
client = pyEX.Client()
symbol = 'SPY'
prices = chartDF(symbol, "1y", changeFromClose=True)
#prices.to_csv("test_prices.csv")
query = '''
        SELECT
            (SELECT COUNT(changePercent) FROM prices WHERE changePercent > 0) AS NUM_UP,
            (SELECT COUNT(changePercent) FROM prices WHERE changePercent < 0) AS NUM_DOWN,
            (SELECT AVG(changePercent) FROM prices WHERE changePercent > 0) AS AVG_UP,
            (SELECT AVG(changePercent) FROM prices WHERE changePercent < 0) AS AVG_DOWN
'''
test = sqldf(query)
print(test)

The output above is incorrect - and I know this because I threw the same data (from the historical prices endpoint directly) into Google Sheets to verify this using a COUNTIF function. You can see this here.
But hey, lets do the same thing with a csv produced from pyEX directly rather than the endpoints. I did this again here.
After digging into the spreadsheet above, I noticed that the reason the changePercent functions seemed wrong is because pyEX is calculating or pulling changePercent differently than the endpoint itself is.
pyEX is calculating changePercent by taking the difference between the current day's price, the NEXT day's price, and dividing that difference by the current day. This is incorrect. And you'll notice on the first or former spreadsheet, the data is the same but the changePercent columns are different.
tl;dr - pyEx returns incorrect historical price data because it incorrectly calculates the changePercent column. However, the endpoint itself does not have this issue. Logical error
Desktop (please complete the following information):

OS: Windows 10 - 64bit
Python version: 3.8.8 - 64bit
pyEX version: 0.5.0

Dependencies to run the code snippets above:

pandasql
pandas
pyEX

The chart function is just a pass through to the endpoint:
https://github.com/iexcloud/pyEX/blob/335fd556623249bc2be42bf827f9970c5612f6a7/pyEX/stocks/prices.py#L140

Are you including changeFromClose in your google sheets call?

Are you including changeFromClose in your google sheets call?

Yes I am. I double checked and deceided to run both my pyEX code with changeFromClose = True and the endpoint with changeFromClose = True. The outcome was still seemingly wrong. I'll post my results here.
Endpoint results - scroll all the way to the left (this is correct!)

pyEX results - this is incorrect:

pyEX code:
os.environ["IEX_TOKEN"] = "pk_xxxxxxxxxxxxxxx"
client = pyEX.Client()
symbol = 'SPY'
prices = chartDF(symbol, "1y", changeFromClose=True)
#prices.to_csv("test_prices.csv")
query = '''
        SELECT
            (SELECT COUNT(changePercent) FROM prices WHERE changePercent > 0) AS NUM_UP,
            (SELECT COUNT(changePercent) FROM prices WHERE changePercent < 0) AS NUM_DOWN,
            (SELECT AVG(changePercent) FROM prices WHERE changePercent > 0) AS AVG_UP,
            (SELECT AVG(changePercent) FROM prices WHERE changePercent < 0) AS AVG_DOWN
'''
test = sqldf(query)
print(test)

And yeah that makes sense, I figured it was just some pass-through function to the endpoint. But still, something isn't making sense here.

changePercent is calculated relative to the first record and chartDF sorts desc by default for pyEX, whereas in your spreadsheet you're getting sort=asc. Just pass in sort="asc" to the chartDF function and you should be fine.


Migrate Package Onboarding step-by-step to Eng Hub

https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/602/Package-Onboarding-step-by-step

@danieljurek Any updates on this item?

Other PR merged. Working on this one.

Closing. This was done.


feat: Possibility to ignore external updates.

Some fields can be updated "outside of terraform" i.e. when pushing a docker image tag in a CICD pipeline. This backwards-compatible change allows to explicitly ignore external changes of certain fields (i.e. update_time)
fixes #47

Ping @prabhu34

Hey @prabhu34 can you prioritize reviewing and merging this PR? Thanks.

(re-opened to re-trigger stuck lint)

/gcbrun


i.instagram.com redirecting to login page

It looks like Instagram is cracking down and made another update.  I'm getting "Redirected to login page. Use --login" for all download attempts.
Creating a new account gets the account disabled with the first pull and banned within a day.
HTTP redirect from https://i.instagram.com/api/v1/users/web_profile_info/?username=xxxxxxx to https://i.instagram.com/accounts/login/?next=/api/v1/users/web_profile_info/
xxxxxxx : Redirected to login page. Use --login.
Errors or warnings occurred:
xxxxxxx : Redirected to login page. Use --login.

Did you login? L.login(username, password)


Update README.md

Added swagger.ed to the list of Community Driven Tools.

Thanks! Would you mind sharing me your email so I could contact you directly in case it's needed? You can email to me if you don't want to share it publicly (email in my profile).

Hi Ron, you can ping me at<EMAIL_ADDRESS>at any time.  Keep up the good work!  More to come soon.

Thanks for creating the tool, it looks really cool!


chore(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/client-to-site-vpn/ibm (source)
module
patch
1.7.16 -> 1.7.20

terraform-ibm-modules/landing-zone/ibm (source)
module
patch
6.0.0 -> 6.0.2

terraform-ibm-modules/secrets-manager-private-cert-engine/ibm (source)
module
patch
1.3.2 -> 1.3.3

terraform-ibm-modules/secrets-manager-private-cert/ibm (source)
module
patch
1.3.0 -> 1.3.1

Release Notes

terraform-ibm-modules/terraform-ibm-client-to-site-vpn (terraform-ibm-modules/client-to-site-vpn/ibm)
v1.7.20
Compare Source
Bug Fixes

deps: update required_provider to latest for the landing zone da extension (#313) (4c158cf)

v1.7.19
Compare Source
Bug Fixes

update extension DA to make dependant DA as optional (#312) (0b0a47b)

v1.7.18
Compare Source
Bug Fixes

deps: update terraform ibm to latest for the landing zone da extension (#306) (376ed75)

v1.7.17
Compare Source
Bug Fixes

deps: update terraform ibm to latest for the landing zone da extension (#292) (415977d)

terraform-ibm-modules/terraform-ibm-landing-zone (terraform-ibm-modules/landing-zone/ibm)
v6.0.2
Compare Source
Bug Fixes

update the default VSI image name to ibm-ubuntu-24-04-6-minimal-amd64-1 (#882) (0bf1957)

v6.0.1
Compare Source
Bug Fixes

added a fix where secondary storage was not being provisioned
added a fix where workload_cluster_name and management_cluster_name outputs were not working (#889) (6e70225)

terraform-ibm-modules/terraform-ibm-secrets-manager-private-cert-engine (terraform-ibm-modules/secrets-manager-private-cert-engine/ibm)
v1.3.3
Compare Source
Bug Fixes

added validation to ensure the values for 'root_ca_common_name' and 'intermediate_ca_common_name' are different (#209) (88b5b4f)

terraform-ibm-modules/terraform-ibm-secrets-manager-private-cert (terraform-ibm-modules/secrets-manager-private-cert/ibm)
v1.3.1
Compare Source
Bug Fixes

deps: bump provider to 1.65.0 (#246) (5d95e37)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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

GitHub release
v7.1.0

Your semantic-release bot :package::rocket:


Add OpenAI key to ChatOpenAI

Hi @dSupertramp thank you for contributing, there is no need to add the open ai api key since Langchain retrieves it automatically, for the convert method it is already in the PDF Convertor so no need to add it ;)

there is no need to add the open ai api key since Langchain retrieves it automatically

I don't know why, but It's not working for me: it works only with python-dotenv

I looked into it, I guess you did not use Pipenv ?

I looked into it, I guess you did not use Pipenv ?

Yes, I'm using classical virtualenv method, but I'm willing to use Pipenv!


Typing: include field type in Attribute type signature

I'm already using attrs to implement several internal ORMs, and attrs (with cattrs) is very good for this. However I find myself missing a feature.
Consider the following code:
import attr

@attr.define
class A:
    a: int

reveal_type(attr.fields(A).a)

The revealed type is attr.Attribute[Any]. What would it take for mypy to think the type was attr.Attribute[int]?
This would be hugely useful for enabling type-safe projections. Often times, whether you're using a relational database or a key-value store like Mongo, you're only interested in a subset of the data. It's natural to represent your database model as a fully type-annotated attrs class, and it would be great to be able to implement something like:
from bson import ObjectId  # Pretend we're working with Mongo

async def load_projection(id: ObjectId, field: attr.Attribute[T]) -> T:
    pass

my_a = await load_projection(id, fields(A).a)

And have mypy properly check it.

That would be a thing for the mypy plugin, no? Maybe it would be possible if we follow through with #421?

That would be a thing for the mypy plugin, no?

Yes probably, did I file this in the wrong place? I'm not sure where the mypy plugin is developed.

Nobody is. 🤪
They merged @euresti's PR but I think we should still take it over. Unfortunately the "we" doesn't include me, because this is all way above my head.

This is above my head too but the potential benefits are too great, I guess I'll have to start reading 😇

Hi. Yes this is definitely something a Plugin would have to do.  I've been trying to find some free time to move the plugin over here.  But I still need to figure out how to move the tests over.  (Our current testing of the stubs doesn't cover error it only tests that code doesn't fail IIRC)

Just so we're clear, I want to express my continued appreciation for your work on this @euresti . If we can get this done I think attrs could basically become indispensible when dealing with typed Python.

Has there been any movement on this? If we can get this working, we would be the basis for the first Python orm/odm with type safe projections. If not, I shall go to the typing mailing list and ask for help there.

I did start working on a PR to move the plugin over but ran into some issues.   https://github.com/python-attrs/attrs/pull/744
Though I don't remember why I just closed the PR.  I must've been in a fugue state.

Though I don't remember why I just closed the PR. I must've been in a fugue state.

As are we all from time to time

Having figured out how the Mypy attrs plugin works a little, I've done some work on this: https://github.com/python/mypy/pull/10467

Sorry for not chiming in earlier.  Because the attrs plugin is part of mypy it doesn't quite follow the instructions in "Extending mypy using plugins". But it looks like you figured it out.  I'll take a look at your PR over in mypy tomorrow.

Thanks David, no worries - we all have lives. I'd be eager to receive feedback whenever.


Write a Python program to find sum of n natural numbers

Description
Write a Python program to find sum of n natural numbers
Input  : 5
Output : 15

How to contribute

Save the solution in find-sum-of-n-natural-numbers.py file
Add find-sum-of-n-natural-numbers.py file in find-sum-of-n-natural-numbers folder

!assign


Junction node not in network is only seen as error in the node list of a network

All junction nodes should be grouped into a network. When one is not added, this is seen as an error in the node list of the network around this node. For example here someone forgot to add junction node 4 to the network relation (I hope it won't be solved quickly, otherwise the example doesn't work). However on the page of node 4 no errors are shown. Besides it is not shown on the overview page.
Because these errors are only shown in the long lists of nodes for each network, it is hard to correct them.

@A67-A67 Thanks for reporting this.
The code has been changed in version v2.0.11, so that the node page shows fact "NodeMemberMissing" ("OntbrekendKnooppuntLid") when the node is missing as member in the network relation.
The fact  "NodeMemberMissing"  is not shown when all the routes to/from the node have the role "connection" in the network relation. The logic assumes that this means that the node does not belong to the network itself, but belongs to an adjecent network. In this case the node is also no longer shown in red in the network node lists.
The "NodeMemberMissing" is also added in the overview page, and added to the pages that list the facts per country/networktype and per network.


Fix SAS usage in storage example

Copied from https://github.com/MicrosoftDocs/azure-docs.de-de/pull/749
Fix SAS usage in storage example
Changed file: articles/storage/common/storage-use-azcopy-blobs-synchronize.md

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

ID: 2d5d36b4-ad9f-2350-db79-67cc396990a2
Version Independent ID: b2d377da-a1d4-7861-182b-0d32f429be70
Content: Synchronize with Azure Blob storage by using AzCopy v10
Content Source: articles/storage/common/storage-use-azcopy-blobs-synchronize.md
Service: storage
Sub-service: common
GitHub Login: @normesta
Microsoft Alias: normesta

Fixed. Thank you!
#please-close


Add cosmos send to EVM addr transaction type

Describe your changes and provide context
Usage:
seid tx evm native-send <from key or sei address> <to 0x address> <coins> --fees ...
Testing performed to validate your change
unit test

Codecov Report
Attention: Patch coverage is 21.95122% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 61.96%. Comparing base (cd3e074) to head (2892159).

Additional details and impacted files

@@            Coverage Diff             @@
##            seiv2    #1470      +/-   ##
==========================================
- Coverage   62.04%   61.96%   -0.09%
==========================================
  Files         352      353       +1
  Lines       24402    24443      +41
==========================================
+ Hits        15140    15145       +5
- Misses       8398     8432      +34
- Partials      864      866       +2

Files
Coverage Δ

x/evm/types/codec.go
9.23% <0.00%> (-0.15%)
:arrow_down:

x/evm/handler.go
18.75% <0.00%> (-4.33%)
:arrow_down:

x/evm/keeper/msg_server.go
78.72% <75.00%> (-0.26%)
:arrow_down:

x/evm/types/message_send.go
0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes


Broken XWayland scaling on monitors with different resolutions

Hyprland Version
v0.28.0, built at commit<PHONE_NUMBER>117f7f150c6f2a2ce4dede6e8cbb25
Bug or Regression?
Bug
Description
I have 2 monitors: one 1080p (DP-2) and one 2160p (DP-1).
Following the instructions from the Hyprland Wiki, I added the  changes in my config file (see below).
Using these settings, opening an application with XWayland on the high-res monitor works perfectly, it's scaled correctly and everything is crisp and clear.
However, once I move the window to the low-res monitor, it's scaled incorrectly, meaning everything is twice as large as it should be.
I tried it with disabling force_zero_scaling and setting GDK_SCALE=1. This makes the application look great on the low-res monitor, but on the high-res monitor it's pixelated (but the scale is correct).
Is there anything I am missing here or is this setup just not supported yet?
How to reproduce
Connect a low-res and high-res monitor with different scaling factors and use the following config:
monitor=DP-1,highres,auto,2
monitor=DP-2,preferred,auto,1

xwayland {
  force_zero_scaling = true
}

env = GDK_SCALE,2
env = XCURSOR_SIZE,32

Then open an application with GDK_BACKEND=x11.
Crash reports, logs, images, videos
No response

with force_zero_scaling it's pixelated on the highres monitor? what if the app is opened on the high res monitor?
generally, solving multi-scale is not possible with xwayland. It physcially cannot do that.
What should happen is that with GDK_SCALE 2 it should be huge on the low-res monitor while with GDK_SCALE 1 it should be tiny on the high-res monitor, but there shouldnt be any pixelation.

What should happen is that with GDK_SCALE 2 it should be huge on the low-res monitor while with GDK_SCALE 1 it should be tiny on the high-res monitor, but there shouldnt be any pixelation.

Yes, that's exactly what's happening (with force_zero_scaling = true).

with force_zero_scaling it's pixelated on the highres monitor? what if the app is opened on the high res monitor?

With force_zero_scaling = true there's no pixelation.
Only when setting force_zero_scaling = false it's pixelated on high-res.
But at least then the scaling is correct on both monitors.
I remember I used sway with all the hidpi-patches for sway/wlroots/xwayland previously and I managed a setup where everything is sharp and scaled correctly, but the wiki mentioned that the hidpi-patches are not supported anymore.

well, with force_zero_scaling off, it's expected that apps will be blurry or pixelated when scaled, because xwayland cannot scale.
Without any patching, what you are trying to accomplish is not possible. What you can do is keep force_zero_scale on, and depending on the monitor you want your app to be, alter the GDK_SCALE env.
Or, like, avoid xwayland.

Alright, good to know. Thanks for your support.
It's just a bit disappointing because some apps I use still don't support Wayland and it would be great to be able to use them on Hyprland without these issues.

The reasoning behind removing the patches is because they were unstable, required maintenance and generated issue tickets that had nothing to do with hyprland.


refactor(Response): Remove deprecated stream_len property

This appears to be the only existing functionality marked as deprecated hanging out in the code base. (Part of #1029.)

See also #1463; the property was deprecated as of 2.0.

Should the stream_len parameter of BoundedStream also change? Seems like it should work as written, but could be renamed for consistency.

(As far as I can tell, Hug only interacts with this property through set_stream.)

IMHO BoundedStream could stay as-is.

Since this patch contains edits to the changelogs, it is going to conflict with the towncrier PR. I am going to wait to merge this until we've decided what we want to do about that conflict.


Fuzzy search when registering for class

Be a little more forgiving when finding the class a user wanted to register for.
Such as the class with the most similar name
Would probably want to send an Did you mean this class <class>? with a react option

This is epic

fixed by #376


WIP: Prototype of UI component catalog/design system with elm-ui-explorer

Overview
I've set up elm-ui-explorer for the project and added a few stories for Button, Tooltip and Modal.
The UI Explorer can be started with npm run uie and is then available on http://localhost:1235

Adding static components is straightforward, but adding interactive components seems rather cumbersome since the model and update function are global for all components.
One example where some interactivity is necessary is the Modal story: Simply rendering the modal component statically (as it is done now) makes the UI unusable because the modal dialog cannot be closed.
So in all, I'm not completely convinced this will add enough value. But since I spend some time getting it running, I created the PR as a basis for discussion.
Implementation notes
I use webpack to run the UI Explorer instead of elm-live that comes with elm-ui-explorer to reduce the number of new dependencies. I kept the webpack configuration very similar to webpack.dev.js
Loose ends
The changes in package-lock.json seem massive, it might be worth investigating if we want to continue with this PR

Cool! Yeah that is a lot of new dependencies, but it does look pretty cool 🤔


add beats introduction

@dzharii Could you please review this micro pr ?  Just add beats introduction.

Yep, beats we missing. Thank you! :thumbsup:


LOG_ERROR' was not declared in this scope

hello ,i just tried your librarie but there is an error in your example
tested with ESP8266 wemos D1 mini
G:\Documents\Arduino\libraries\Debug\example\example.ino: In function 'void setup()':
example:11:32: error: 'LOG_ERROR' was not declared in this scope
   LOG_ERROR("this is error log");
                                ^
example:12:36: error: 'LOG_WARNING' was not declared in this scope
   LOG_WARNING("this is warning log");
                                    ^
example:13:36: error: 'LOG_VERBOSE' was not declared in this scope
   LOG_VERBOSE("this is verbose log");
                                    ^
example:15:17: error: 'Debug' has not been declared
   LOG_SET_LEVEL(Debug::LogLevel::WARNING);
                 ^
example:15:41: error: 'LOG_SET_LEVEL' was not declared in this scope
   LOG_SET_LEVEL(Debug::LogLevel::WARNING);
                                         ^
example:22:17: error: 'Debug' has not been declared
   LOG_SET_LEVEL(Debug::LogLevel::ERROR);
                 ^
example:29:17: error: 'Debug' has not been declared
   LOG_SET_LEVEL(Debug::LogLevel::NONE);
                 ^
example:39:16: error: 'ASSERT' was not declared in this scope
   ASSERT(x != 1); // if assertion failed, Serial endlessly prints message
                ^
exit status 1
'LOG_ERROR' was not declared in this scope

I'm sorry for late reply.
I fixed issue for ESP8266 in latest commit.
Please check the example_esp8266.
Thank you for your information!


Increase buffer size for Keystone uwsgi

This increases the buffer size for Keystone uwsgi. The default for uwsgi
is 4096. The new size will be 114688 bytes, which will match the default
size limit setting for the oslo 'sizelimit' middleware which exists in
the pipline. This will fix some issues where we get dropped federated
requests to Keystone because of SAML assertion sizes.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

I updated it to be configurable.

LGTM

👍

variable is not defined as mentioned in my previous comment.

ok to test

retest


Bump version to -SNAPSHOT

Why is the pom.xml on the master branch still saying <version>2.2.0</version> even though there's been quite a few commits since 2.2.0? The version should be bumped to 2.2.1-SNAPSHOT or equivalent for all pom.files.
Am I OK to do that?

Or is 2.2.0 not yet existing? (no tag) In which case it should clearly say 2.2.0-SNAPSHOT!

No, I was very close to a release, and then ran into the situation that the BridgeDb Derby files did not load in various situations... I will be less sloppy with versioning and even do preparing releases in a branch...

What do you think? "Revert" to 2.2.0-SNAPSHOT or never release 2.2.0 and aim at a 2.2.1 release?

Ah, I caught you in the middle of the action.. :)    Revert to 2.2.0-SNAPSHOT until the release is ready/tagged?
Usually the mvn release:prepare and mvn release:perform will handle it for you. It can do it on a branch or as master commits with immediately bumps to the next SNAPSHOT  (the 2.2.0 commit would never stay at tip).

Is changing the root pom.xml version enough (which I just did)? I guess not...

Those two mvn commands seem useful... new to me (as much of Maven, really)... thanks!

Try mvn release:update-versions -DautoVersionSubmodules=true to update all POMs in one go.
See https://maven.apache.org/maven-release/maven-release-plugin/update-versions-mojo.html

https://maven.apache.org/maven-release/maven-release-plugin/index.html
https://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html
https://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html
For this to work the <scm> info needs to be up to date (it seems to be)


reset tsc compiler state for external module

I noticed that we don't need reference path for some require statement if the .t.ds has been referenced in another ts file.
for example:
If I have A.tsx WITHOUT reference path, and:
import React = require('react')
it WILL compile if another tsx file (B.tsx) have  ///
This behaviour is undesirable because it create a dependency of A.tsx on B.tsx, and if B is removed in future, A will not compile any more.

You can use the -noResolve command line option to suppress dependency resolution and include only files that are listed on the command line or in tsconfig.json.

Glad to here your answer. But Dependency Resolution do not have to accumulate included files.
Each file should be compiled correctly independently, And also Dependency Resolution is a nice feature that I don't want to turn off.

My recommendation is to not use /// <reference > tags.


tfactl does not work in Oracle Database Docker container

Running Oracle in a docker container (with the scripts in this issue) works great, but unfortunately the TFA tool does not work, apparently because perl is not installed in the container:
$ docker exec -it oracle_database /bin/bash
[oracle@71a0f99ecc9a oracle]$ tfactl diagcollect -srdc ora600
tfactl: line 97: perl: command not found
tfactl: tfactl.pl: /usr/bin/perl: bad interpreter: No such file or directory

Since this tool is the Oracle-recommended way to report details for ORA-600 errors, can we have the image updated to include perl and any other necessary tools for running tfactl?

@davelindquist-egistix, perl is shipped as part of the Oracle installation itself. You just have to set the PATH accordingly:
[oracle@0b3c4e9cd1af ~]$ /opt/oracle/product/<IP_ADDRESS>/dbhome_1/perl/bin/perl -v

This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi

Copyright 1987-2015, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[oracle@0b3c4e9cd1af ~]$ export PATH=/opt/oracle/product/<IP_ADDRESS>/dbhome_1/perl/bin:$PATH
[oracle@0b3c4e9cd1af ~]$ perl -v

This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi

Copyright 1987-2015, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

That being said, you should never, ever go into the container directly. The method above for example won't work when your container is running somewhere in a huge K8s cluster for example. What you should rather do is to expose the diag directory into a volume and then run tfactl against the trace files within at volume.

Ah, I see -- it never occurred to me that it wouldn't be pathed in the normal location.  Sorry about that!
I hadn't thought about exposing the diag directory as a volume -- so tfactl does not require Oracle libraries/etc in order to run?  It's just a simple perl utility?  That's a good tip, thanks!
Since it looks like I have two ways to do tfactl successfully, I'll close this issue.
Thanks again!


Set player available if a game is scheduled

While an alt search is in progress, the player is still on the pairing and can schedule a game. This does not cancel the alt search. If an alt is subsequently found, the previous game scheduling will be removed (and the alt can schedule). In particular, this has happened when a player is automatically set unavailable after 24h but quickly schedules the game after that, and forgets to update their availability status.
Two solutions:
a) If a game is scheduled, set the player available for that week. This cancels the alt search.
b) Only allow available players to schedule. (Trigger chesster message when trying to schedule.)

This means that an opponent could maliciously set the date, and chesster would stop searching for a pairing. Is that situation better than the current situation?

i think this would indeed be preferable. the situation described happens often, several times per season. the situation described by lakinwecker requires malice. also, solution (b) wouldn't even make the malicious act possible.


Error :could not find function "OncogenicPathways"

Hello i am getting this weird error.
*Error in OncogenicPathways(maf, pathways = NULL, fontSize = 1,  :
could not find function "OncogenicPathways"
[sessionInfo()
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22631)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: Europe/Stockholm
tzcode source: internal
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] ggpubr_0.6.0      ggplot2_3.5.1     tidyr_1.3.1       data.table_1.14.8 dplyr_1.1.3
[6] maftools_2.18.0
loaded via a namespace (and not attached):
[1] gtable_0.3.5        htmlwidgets_1.6.4   devtools_2.4.5      remotes_2.5.0
[5] rstatix_0.7.2       lattice_0.21-8      vctrs_0.6.4         tools_4.3.1
[9] generics_0.1.3      curl_5.2.1          tibble_3.2.1        fansi_1.0.5
[13] pkgconfig_2.0.3     pheatmap_1.0.12     Matrix_1.6-4        RColorBrewer_1.1-3
[17] lifecycle_1.0.4     compiler_4.3.1      farver_2.1.1        stringr_1.5.1
[21] munsell_0.5.1       carData_3.0-5       httpuv_1.6.13       htmltools_0.5.7
[25] usethis_3.0.0       later_1.3.2         pillar_1.9.0        car_3.1-2
[29] urlchecker_1.0.1    ellipsis_0.3.2      cachem_1.0.8        sessioninfo_1.2.2
[33] abind_1.4-5         nlme_3.1-162        mime_0.12           tidyselect_1.2.1
[37] digest_0.6.33       stringi_1.7.12      purrr_1.0.2         labeling_0.4.3
[41] splines_4.3.1       fastmap_1.1.1       grid_4.3.1          colorspace_2.1-0
[45] cli_3.6.1           magrittr_2.0.3      survival_3.5-5      pkgbuild_1.4.4
[49] utf8_1.2.4          broom_1.0.6         withr_3.0.1         scales_1.3.0
[53] promises_1.2.1      backports_1.5.0     ggsignif_0.6.4      memoise_2.0.1
[57] DNAcopy_1.76.0      shiny_1.9.1         miniUI_<IP_ADDRESS>      mgcv_1.8-42
[61] profvis_0.3.8       rlang_1.1.2         Rcpp_1.0.11         xtable_1.8-4
[65] glue_1.6.2          BiocManager_1.30.24 pkgload_1.4.0       rstudioapi_0.16.0
[69] R6_2.5.1            fs_1.6.3   ](url)

I installed it from
BiocManager::install("maftools")
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories",
package = "BiocManager")' for details.
Replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.18 (BiocManager 1.30.23), R 4.3.1 (2023-06-16 ucrt)
Installation paths not writeable, unable to update packages
path: C:/Program Files/R/R-4.3.1/library
packages:
boot, cluster, codetools, foreign, KernSmooth, lattice, mgcv, nlme, rpart, spatial,
survival
Old packages: 'BiocManager', 'cachem', 'cli', 'colorspace', 'corrplot', 'cpp11', 'curl',
'data.table', 'digest', 'dplyr', 'fansi', 'farver', 'fastmap', 'fs', 'gert', 'glue', 'gmp',
'htmltools', 'httpuv', 'httr2', 'insight', 'minqa', 'mvtnorm', 'NMF', 'openssl', 'promises',
'Rcpp', 'RcppEigen', 'rlang', 'rmarkdown', 'stringi', 'vctrs', 'waldo', 'xfun'
Update all/some/none? [a/s/n]:
a
Warning: packages ‘data.table’, ‘dplyr’ are in use and will not be installed
There are binary versions available but the source versions are later:
binary source needs_compilation
cpp11  0.4.7  0.5.0             FALSE
curl   5.2.1  5.2.2              TRUE
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/BiocManager_1.30.24.zip'
Content type 'application/zip' length 504281 bytes (492 KB)
downloaded 492 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/cachem_1.1.0.zip'
Content type 'application/zip' length 72511 bytes (70 KB)
downloaded 70 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/cli_3.6.3.zip'
Content type 'application/zip' length 1339445 bytes (1.3 MB)
downloaded 1.3 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/colorspace_2.1-1.zip'
Content type 'application/zip' length 2660280 bytes (2.5 MB)
downloaded 2.5 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/corrplot_0.94.zip'
Content type 'application/zip' length 3812343 bytes (3.6 MB)
downloaded 3.6 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/digest_0.6.37.zip'
Content type 'application/zip' length 221803 bytes (216 KB)
downloaded 216 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/fansi_1.0.6.zip'
Content type 'application/zip' length 314225 bytes (306 KB)
downloaded 306 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/farver_2.1.2.zip'
Content type 'application/zip' length 1509450 bytes (1.4 MB)
downloaded 1.4 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/fastmap_1.2.0.zip'
Content type 'application/zip' length 133299 bytes (130 KB)
downloaded 130 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/fs_1.6.4.zip'
Content type 'application/zip' length 409107 bytes (399 KB)
downloaded 399 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/gert_2.1.1.zip'
Content type 'application/zip' length 3496044 bytes (3.3 MB)
downloaded 3.3 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/glue_1.7.0.zip'
Content type 'application/zip' length 161414 bytes (157 KB)
downloaded 157 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/gmp_0.7-5.zip'
Content type 'application/zip' length 760461 bytes (742 KB)
downloaded 742 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/htmltools_<IP_ADDRESS>.zip'
Content type 'application/zip' length 358321 bytes (349 KB)
downloaded 349 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/httpuv_1.6.15.zip'
Content type 'application/zip' length 1042070 bytes (1017 KB)
downloaded 1017 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/httr2_1.0.3.zip'
Content type 'application/zip' length 586490 bytes (572 KB)
downloaded 572 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/insight_0.20.3.zip'
Content type 'application/zip' length 2159709 bytes (2.1 MB)
downloaded 2.1 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/minqa_1.2.8.zip'
Content type 'application/zip' length 459712 bytes (448 KB)
downloaded 448 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/mvtnorm_1.2-6.zip'
Content type 'application/zip' length 785571 bytes (767 KB)
downloaded 767 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/NMF_0.28.zip'
Content type 'application/zip' length 3104944 bytes (3.0 MB)
downloaded 3.0 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/openssl_2.2.1.zip'
Content type 'application/zip' length 3399224 bytes (3.2 MB)
downloaded 3.2 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/promises_1.3.0.zip'
Content type 'application/zip' length 2023388 bytes (1.9 MB)
downloaded 1.9 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/Rcpp_1.0.13.zip'
Content type 'application/zip' length 2886369 bytes (2.8 MB)
downloaded 2.8 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/RcppEigen_<IP_ADDRESS>.2.zip'
Content type 'application/zip' length 2612428 bytes (2.5 MB)
downloaded 2.5 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/rlang_1.1.4.zip'
Content type 'application/zip' length 1579343 bytes (1.5 MB)
downloaded 1.5 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/rmarkdown_2.28.zip'
Content type 'application/zip' length 2683630 bytes (2.6 MB)
downloaded 2.6 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/stringi_1.8.4.zip'
Content type 'application/zip' length 14997376 bytes (14.3 MB)
downloaded 14.3 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/vctrs_0.6.5.zip'
Content type 'application/zip' length 1336828 bytes (1.3 MB)
downloaded 1.3 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/waldo_0.5.3.zip'
Content type 'application/zip' length 105347 bytes (102 KB)
downloaded 102 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/xfun_0.47.zip'
Content type 'application/zip' length 535044 bytes (522 KB)
downloaded 522 KB
package ‘BiocManager’ successfully unpacked and MD5 sums checked
package ‘cachem’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘cachem’
Warning: restored ‘cachem’
package ‘cli’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘cli’
Warning: restored ‘cli’
package ‘colorspace’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘colorspace’
Warning: restored ‘colorspace’
package ‘corrplot’ successfully unpacked and MD5 sums checked
package ‘digest’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘digest’
Warning: restored ‘digest’
package ‘fansi’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘fansi’
Warning: restored ‘fansi’
package ‘farver’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘farver’
Warning: restored ‘farver’
package ‘fastmap’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘fastmap’
Warning: restored ‘fastmap’
package ‘fs’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘fs’
Warning: restored ‘fs’
package ‘gert’ successfully unpacked and MD5 sums checked
package ‘glue’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘glue’
Warning: restored ‘glue’
package ‘gmp’ successfully unpacked and MD5 sums checked
package ‘htmltools’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘htmltools’
Warning: restored ‘htmltools’
package ‘httpuv’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘httpuv’
Warning: restored ‘httpuv’
package ‘httr2’ successfully unpacked and MD5 sums checked
package ‘insight’ successfully unpacked and MD5 sums checked
package ‘minqa’ successfully unpacked and MD5 sums checked
package ‘mvtnorm’ successfully unpacked and MD5 sums checked
package ‘NMF’ successfully unpacked and MD5 sums checked
package ‘openssl’ successfully unpacked and MD5 sums checked
package ‘promises’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘promises’
Warning: restored ‘promises’
package ‘Rcpp’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘Rcpp’
Warning: restored ‘Rcpp’
package ‘RcppEigen’ successfully unpacked and MD5 sums checked
package ‘rlang’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘rlang’
Warning: restored ‘rlang’
package ‘rmarkdown’ successfully unpacked and MD5 sums checked
package ‘stringi’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘stringi’
Warning: restored ‘stringi’
package ‘vctrs’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘vctrs’
Warning: restored ‘vctrs’
package ‘waldo’ successfully unpacked and MD5 sums checked
package ‘xfun’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\chaud\AppData\Local\Temp\RtmpkrYFpx\downloaded_packages
installing the source packages ‘cpp11’, ‘curl’
trying URL 'https://cran.rstudio.com/src/contrib/cpp11_0.5.0.tar.gz'
Content type 'application/x-gzip' length 275693 bytes (269 KB)
downloaded 269 KB
trying URL 'https://cran.rstudio.com/src/contrib/curl_5.2.2.tar.gz'
Content type 'application/x-gzip' length 717715 bytes (700 KB)
downloaded 700 KB

installing source package 'cpp11' ...
** package 'cpp11' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
DONE (cpp11)
installing source package 'curl' ...
** package 'curl' successfully unpacked and MD5 sums checked
ERROR: cannot remove earlier installation, is it in use?
removing 'C:/Users/chaud/AppData/Local/R/win-library/4.3/curl'
restoring previous 'C:/Users/chaud/AppData/Local/R/win-library/4.3/curl'
Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) :
problem copying C:\Users\chaud\AppData\Local\R\win-library\4.3\00LOCK-curl\curl\libs\x64\curl.dll to C:\Users\chaud\AppData\Local\R\win-library\4.3\curl\libs\x64\curl.dll: Permission denied

The downloaded source packages are in
‘C:\Users\chaud\AppData\Local\Temp\RtmpkrYFpx\downloaded_packages’
There were 18 warnings (use warnings() to see them)

while trying from git hub it gives this error
BiocManager::install("PoisonAlien/maftools")
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories",
package = "BiocManager")' for details.
Replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.18 (BiocManager 1.30.24), R 4.3.1 (2023-06-16 ucrt)
Installing github package(s) 'PoisonAlien/maftools'
Downloading GitHub repo PoisonAlien/maftools@HEAD
trying URL 'https://cran.rstudio.com/bin/windows/Rtools/rtools43/files/rtools43-5958-5975.exe'
Content type 'application/x-msdownload' length 442828520 bytes (422.3 MB)
downloaded 422.3 MB
Error: Failed to install 'maftools' from GitHub:
Could not find tools necessary to compile a package
Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.

I encountered a similar issue. It seems that OncogenicPathways() is deprecated and no longer a part of maftools. Try pathways instead. To obtain the Pathways plot, use pathways(maf = YourMafObject, plotType = "bar") (the other possible argument for plotType is treemap. Check ?pathways for full details).


Linux Run Command Log Location

The log file is not in /var/log/azure/run-command/handler.log but in /var/log/azure/run-command-handler/handler.log
root@m:/var/log/azure/run-command-handler# ls -l /var/log/azure/run-command/handler.log
ls: cannot access '/var/log/azure/run-command/handler.log': No such file or directory

root@m:/var/log/azure/run-command-handler# pwd
/var/log/azure/run-command-handler
root@m-web-srv-004:/var/log/azure/run-command-handler# ls -lart
total 16
drwxr-xr-x 2 root root 4096 May 10 17:34 .
d-w-rwxr-T 6 root root 4096 May 10 17:49 ..
-rw-r--r-- 1 root root 8190 May 10 18:36 handler.log
root@:/var/log/azure/run-command-handler#

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

ID: 792f4871-0d07-624f-7daf-02de97121e13
Version Independent ID: b70d481f-b351-bb38-cb49-1cda63422968
Content: Run scripts in a Linux VM in Azure using action Run Commands - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/run-command.md
Service: virtual-machines
GitHub Login: @nikhilpatel909
Microsoft Alias: erd

@miztiik
Thanks for your feedback! We will investigate and update as appropriate.

@miztiik
I apologize for the confusion. You are correct that the log file for Linux Run Command is located in /var/log/azure/run-command-handler/handler.log instead of /var/log/azure/run-command/handler.log. Thank you for bringing this to my attention.
Please let me know if you have any other questions or concerns.

@mimckitt
Can you update the document with the command.

@miztiik
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

#assign: @nikhilpatel909

Thank you for the feedback! We have updated this article accordingly.
#please-close


Vertical Image Scaling in Results

Right now vertical images are scaled to fit into a horizontal image view on the results page. We should adjust this so images taken either way look good.

Get rid of fixed sizing

[ ] Write method that resizes image while keeping aspect ratio
[ ] PivFunctions 703
[ ] ViewResultsActivity 584


Add favourites functionality

Implement feature to save favourite searches to localstorage.

Branch 13-favourites-storage merged.


tree-node

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: tree-node
Document link: tree-node.md
My Issue/Suggestion
Hi Mendix,
I am Jhansi Mora,
My working email id is<EMAIL_ADDRESS>I would like to get more information on the animation option when selected. While I am trying my code, I don't see any difference when applied. It would be great if animation option is explained in detailed.
Also I don't see the visualization tab having the collapse and expand icon working. I am not sure if they are working or no. Some more information would be great.
Appreciate your response!!!
Thanks,
Jhansi Mora

Hello,
The developers have made a JIRA story to update both the widget and the documentation based on your feedback (and other users'). Because this issue is now in our company's development planning, I am going to close your feedback item. But rest assured, we will make the improvements to the tech and docs.
I'll also circle back and message you when the improvements have been made.
Thank you for contributing to the documentation,
Connor

Appreciate for the reply!
Thanks,
Jhansi Mora
On Wed, 27 Sep 2023 at 6:43 PM, ConnorLand @.***> wrote:

Hello,
The developers have made a JIRA story to update both the widget and the
documentation based on your feedback (and other users'). Because this issue
is now in our company's development planning, I am going to close your
feedback item. But rest assured, we will make the improvements to the tech
and docs.
I'll also circle back and message you when the improvements have been made.
Thank you for contributing to the documentation,
Connor
—
Reply to this email directly, view it on GitHub
https://github.com/mendix/docs/issues/6482#issuecomment-1737375792, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BCLOHHPS4HNJM6PATSDJU7LX4QRBJANCNFSM6AAAAAA4LMFSVA
.
You are receiving this because you authored the thread.Message ID:
@.***>


General questions

Hello,

What package do you use to read RSSI measurements?
Where are the locations of WIFI APs (used in path loss model) and trained Gaussian Processes model stored?
How can I map and train my own model?
What's the difference between self_localization, wlrf_localization and wlrf_localization2 launch files?
AFAIU, self_localization computes pure WIFI localization based on RSSI and odometry coming from TF odom->base_link computed by AMCL. While wlrf_localization2 file constantly reads particles cloud from AMCL, update it based on WIFI probabilities map, and if the cloud is too spread out, reinitialize the AMCL. While in your papers, if I'm not mistaken, it should be some mix of both - pure WIFI particle filter is computed based on RSSI and odometry, and AMCL is reinitialized with WIFI particles only if the difference between WIFI and AMCL particle filters is too big.
Is information in pickled files really needed? It seems to be just for logging purposes, no?
Thanks.

Hi,
Thanks for your interest in this work. While I am still trying to maintain this library, I am currently working on a new release for the ros-wrapper. So some things may change (the current version will not be deleted, a branch with the current version will always be left on the repository).
To acquire rss data
Use rosrun rss acquire
To get AP locations
If you are using the hGP model that incorporates path loss models
https://github.com/RMiyagusuku/wifi-localization/blob/master/Localization/sensormodel/pathloss/classes_c.py
Pathloss parameters are stored in model.pathloss.params.
For the default FLog function:
z = p0 - p1log((x-p2)^2+(y-p3)^2)
AP locations are p2 and p3
Training with other data
The train_data_name roslaunch argument determines where the system gets data to train the models when the system is launched
scripts/localization
line 100:             raw_rss,poses,tmp_odom = load_data(file_name=file_name) #odometry is not needed
that code read the file and gets rss data and poses from pickle files from your bag.
I am adding new scripts to generate these from a bag file taken using rss acquire

launch/playback_generate_map.launch
launch/playback_generate_trajectory.launch
scripts/save

self_loaclization and wlrf_localization
Yes, self is only wifi and wlrf initializes amcl with wifi particles. The mixed version does not have a single ros-launch file that executes the whole system. I had self and wlrf running in parallel and a python script checking for particles difference.
Pickle files
Check the answer on training with other data

Hi,
Thank you for the response.
rosrun rss acquire internally runs chopper.py script which I cannot find anywhere. Where can I find it?

I have added chopper.py and filter_rss.py to src/rss
You need to copy this somewhere your PYTHON_PATH can easily find them
I just copy them on /bin/

To get AP locations
Pathloss parameters are stored in model.pathloss.params.

Do I understand right that both GP and hGP models use training dataset consisting of robot locations and RSSI measurements in those locations, but hGP model somehow derives additionally AP locations from those data using Levenberg-Marquardt nonlinear least squares? I.e, AP locations are not provided by the user?
If that is correct how can I report found AP locations?

self_loaclization and wlrf_localization
Yes, self is only wifi and wlrf initializes amcl with wifi particles. The mixed version does not have a single ros-launch file that executes the whole system. I had self and wlrf running in parallel and a python script checking for particles difference.

Where can I find this python script, is it amcl_wifi?
Thanks.

I.e, AP locations are not provided by the user?
Yes. hGP learns the AP locations from data by optimizing a pathloss function.

If that is correct how can I report found AP locations?
That functionality would need to be added. To set the AP locations you would need to modify the Flog function, either setting them or using your reported locations to initialize the optimization function.

Where can I find this python script, is it amcl_wifi?
It is not amcl_wifi, I searched for the file but cannot find it.

Seems like not all WIFI APs support monitor mode to report RSSI.
In my case rosrun rss acquire, which uses tcpdump internally, returns no beacon packets.
Sad.

That functionality would need to be added. To set the AP locations you would need to modify the Flog function, either setting them or using your reported locations to initialize the optimization function.

Did you do some comparison of ground truth and learned AP locations? Or it doesn't matter too much since WIFI localization needs pathloss function optimized and not AP locations.

Seems like not all WIFI APs support monitor mode to report RSSI.
In my case rosrun rss acquire, which uses tcpdump internally, returns no beacon packets.
Sad.

Sorry for the late reply, I missed the last two messages.
Indeed some wireless cards do not support monitor mode, but I have had even usb-wireless dongles work.
It may be a permission issue. Check if you can listen to data and beacons using something like Wireshark it has a GUI and is more user-friendly.
Also, which OS are you using? I have tested this in Ubuntu and should work on most if not all Debian distributions. Windows is a different story. I did initially tried using Windows several years ago, but I found it quite restrictive, not sure if it has improved.

That functionality would need to be added. To set the AP locations you would need to modify the Flog function, either setting them or using your reported locations to initialize the optimization function.

Did you do some comparison of ground truth and learned AP locations? Or it doesn't matter too much since WIFI localization needs pathloss function optimized and not AP locations.

I have not checked ground truths. But the system will work as long locations are more or less ok.


[Bugs] SMF does not return proper EndPoint IP Address when PDUSessionTypeIPv4IPv6 is specified

Describe the bug
SMF does not return proper EndPoint IP Address when PDUSessionTypeIPv4IPv6 is specified
To Reproduce
Request EndPoint IP Address with PDUSessionTypeIPv4IPv6.  SMF does not return IP Address at all even SMF has the configuration.
Expected behavior
Return proper EndPoint IP Address
Environment (please complete the following information):

free5GC Version: 3.0.5
OS: Ubuntu 18.04
Kernel version: 5.0.0-23-generic
go version: 1.14.4 linux/amd64

Pull Request
Pull Request for the fix.

@kishiguro
Could you provide the full log?
It should be an error happened when checking PDU session type in HandlePDUSessionEstablishmentRequest().

Yes, we are expecting SMF to return IPv4 address for EndPoint when receiving PDUSessionTypeIPv4IPv6.

@kishiguro
Is it ok that SMF sends response to reject the UE request with PDUSessionTypeIPv4IPv6?

According to spec 3GPP TS 23.501 V15.12.0 (2020-12) <IP_ADDRESS>.1 General.

The SMF selects PDU Session Type of the PDU Session as follows:

If the SMF receives a request with PDU Session Type set to "IPv4v6", the SMF selects either PDU Session Type "IPv4" or "IPv6" or "IPv4v6" based on DNN configuration, subscription data and operator policies.

before this paragraph:

A UE which supports IPv6 and IPv4 shall set the requested PDU Session Type "IPv4v6".

So here is a scenario:

UE support both IPv4 and IPv6: UE send PDU Session Type "IPv4v6"
SMF support only IPv4: Need to response with PDU Session Type "IPv4"

If SMF rejects the "IPv4IPv6" request, SMF can't establish a connection with UE which support both IPv6 and IPv4.  I guess it  is not an expected behavior.

@kishiguro
Yes, you are right.
Could you help to check if PDU Session Type is "IPv4" in PDU session establishment accept?
If not, it should also be fixed.

sure! let us check it.

We double check with commercially available gNodeB solution which send "IPv4IPv6" to SMF.  It seems even if SMF select only "IPv4" address we would establish PDU session with "IPv4IPv6".  I think the behavior conforms to:

If the SMF receives a request with PDU Session Type set to "IPv4v6", the SMF selects either PDU Session Type "IPv4" or "IPv6" or "IPv4v6" based on DNN configuration, subscription data and operator policies.

We've update the PR to handle FQDN configuration case.

Thanks for the PR!


Adding header using set_header() not working

I noticed that the word "header" is mentioned nowhere on the README page, but there is a set_header() in restson-rust/src/blocking.rs:47
When I attempt:
    let mut client = RestClient::builder()
        .blocking(&url).set_header("zsessionid", zsessionid).unwrap();

I get
12 |         .blocking(&url).set_header("zsessionid", zsessionid).unwrap();
   |                         ^^^^^^^^^^ method not found in `Result<restson::blocking::RestClient, restson::Error>`

Are headers not-yet-implemented? I would like to troubleshoot this myself but I am not yet competent enough at Rust and am still working on executing my first successful header-containing HTTP request full-loop with strongly-typed result.
Are headers on the road-map?

Looking at the code snippet, the problem seems to be that .set_header() is called for the Result of the builder and not for the actual client object.
Basically the builder returns Result<blocking::RestClient, Error> which can contain the client or an error code if the creation failed. This has to be first unwrapped to get the client object.
So in short, if you change the code as follows it should work:
let mut client = RestClient::builder().blocking(&url).unwrap();
client.set_header("zsessionid", zsessionid).unwrap();

Moreover, .set_header() does not return the REST client object so calling it in the let mut statement will actually assign the result of that operation in the client variable (and not the client object).
Keep in mind that .unwrap() will panic on error and exit the program. So you might eventually want to handle the error cases properly as well.
Hopefully this helps to solve the issue!
Here is a test case for reference (other test cases are good references for the different features as well):
https://github.com/spietika/restson-rust/blob/master/tests/headers.rs#L28

Looking at the code snippet, the problem seems to be that .set_header() is called for the Result of the builder and not for the actual client object.
Basically the builder returns Result<blocking::RestClient, Error> which can contain the client or an error code if the creation failed. This has to be first unwrapped to get the client object.
So in short, if you change the code as follows it should work:
let mut client = RestClient::builder().blocking(&url).unwrap();
client.set_header("zsessionid", zsessionid).unwrap();

Moreover, .set_header() does not return the REST client object so calling it in the let mut statement will actually assign the result of that operation in the client variable (and not the client object).
Keep in mind that .unwrap() will panic on error and exit the program. So you might eventually want to handle the error cases properly as well.
Hopefully this helps to solve the issue!
Here is a test case for reference (other test cases are good references for the different features as well):
https://github.com/spietika/restson-rust/blob/master/tests/headers.rs#L28


Warn when bevy_sprite and bevy_pbr are not enabled with bevy_gizmos

Objective

bevy_gizmos cannot work if both bevy_sprite and bevy_pbr are disabled.
It silently fails to render, making it difficult to debug.
Fixes #10984

Solution

Log an error message when GizmoPlugin is registered.

Alternatives
I chose to log an error message, since it seemed the least intrusive of potential solutions. Some alternatives include:

Choosing one dependency as the default, neglecting the other. (#11035)
Raising a compile error when neither dependency is enabled. (See my original comment)
Raising a compile warning using a macro hack. (Pre-RFC - Add compile_warning! macro)
Logging a warning instead of an error.

This might be the better option. Let me know if I should change it.

Changelog

bevy_gizmos will now log an error if neither bevy_pbr nor bevy_sprite are enabled.

I tested this commit using this Gist.

This is an example of the problems caused by the lack of plugin dependencies (#69). I'm not sure we'll land that this cycle, despite the hard work of @NthTensor, so I'm alright to merge this for now.


Remove test.csv support

Explicitly remove support for manual stratification of train/test sets.
Remove test.csv in favor of validate.csv. Add stratification as a parameter.

Fixed by #24


remove the old religion data

This data came from my original import from GovTrack's legislator database, and the religion field probably came from my original import of data from the MIT Media Lab's Government Information Awareness project in 2003. The field was never maintained. To avoid confusion over an unmaintained field, per #657 and 9101feaae3ec45418d9e0806df656df7b74ff22e, this PR removes it.

Gonna give others a chance to weigh in on this, but I'm fully supportive.

:+1:


Change Dotty version from 0.24.0 to 0.25.0-RC2

Change from ScalaTest to MUnit testing framework
Update exercise instructions for the Dotty new control
syntax and indentation based syntax

I'm going to change the generation of the studentified repo to generate a git repo. Makes it easier for students.


v1.3.0 changelogs

Pull Request
Related issue
Fixes meilisearch/meilisearch/3690

thanks for the info @dureuill - I've added a block in there around the relevancy, can you just make sure I've interpreted it correctly please?

can you just make sure I've interpreted it correctly please?

it looks correct, I'm not 100% sure of the phrasing but I can't come up with something better. Relevancy is a hard topic.

Updated from Rc1

I've pushed updates for RC2. The full RC updates are below. As some of them were minor changes to existing features, and others were fixes on telemetry and metrics I haven't added everything into the main changelogs here. Let me know if you think more should be pulled across. For now I've added reference here to the wildcard PR and the case-sensitivity change as they seemed most impactful.
These were the full RC2 updates:
Improvements
Change to wildcard support on attributesToSearchOn

Adding "*" in the list of attributesToSearchOn allows searching on all the searchableAttributes.
If searchableAttributes contains "*", then any attribute is accepted in the attributesToSearchOn list.

(#3915) by @dureuill
Bug fixes

Fixes internal FST error on stopwords (#3904) by @dureuill
Fix case-sensitive search result issues with camelCasing.  e.g. a search for dellonghi would previously not return a document with DeLonghi in it. Note: this deactivates camel case segmentation that was introduced in v1.2.0 (#3921) @ManyTheFish

Misc

Add automated tests for /experimental-features route (#3897) by @dureuill
Add "scoring.*" analytics to multi search route (#3906) by @dureuill
Effectively send the vector.max_vector_size telemetry (#3909) by @Kerollmops
Fix experimental analytics (#3901) by @dureuill


Kafka 0.10 follow-up fixes

After merging https://github.com/apache/flink/pull/2369, there was some follow-up feedback in the final commit: https://github.com/apache/flink/commit/6731ec1e48d0a0092dd2330adda73bcf37fda8d7#commitcomment-19375265, which I'm addressing with this pull request:

I'm adding a Kafka010FetcherTest, which is based on the Kafka09FetcherTest.
I'm undoing the changes in DataGenerators to avoid starting a full Flink job to produce some data into a topic.
I'm removing some commented-out code that has been part of the Kafka code for a while.

Thanks a lot for fixing this.
+1 from my side

+1, looks good to me 👍

I'm merging the PR.


playerone.kevincox.ca

I'm biased. But a goal of this project was to be small. On the downside it isn't obvious that this requires a touch-screen device.
https://playerone.kevincox.ca/
The core functionality is served in a single request that is <4KiB. Additional resources are for offline support and extra features and come to a total of 384KiB.

Added!


Wemos D1 mini and W5500 not work in standard SS/CS pin

if I connect W5500 and Wemos D1 mini (esp8266) using the default settings (for CS pin a connection with a transistor according to: https://esp8266hints.wordpress.com/2018/02/13/adding-an-ethernet-port-to is used -your-esp-revisited /) the following libraries do not work:

Ethernet (arduino v.2.0.0) - not work, + unexpected system restarts

Ethernet3 (v.1.5) - not work default cs/ss pin , after changing the pin to GPIO5 (wemos D1) it works fully (another suitable pin can be used). It is even possible to use the default pin, but it must be declared Ethernet.setCsPin (15);

Ethernet2 (v.1.0.4) - not work, (works but need to add code Ethernet.init(15)), as the previous case

There is no IP assignment, no correct communication
HTTP EthernetWebServer is @ IP : (IP unset)

Dear @BorgMcz
The EthernetWebServer depends on many other libraries, such as Ethernet, Ethernet2, etc. and can not do the work alone if there is bug or connection is not correct or a new variation of board is used.
The best way to solve a similar issue is to run a simple example from the underlying libraries (Ethernet, Ethernet2, etc. )  to verify if the pin usage is working before using the higher level of libraries, such as EthernetWebServer.
If you still have the problem with the underlying libraries, it's better to open an issue there so that the issue could be solved completely at the correct place.
I still can investigate later, if the problem can be solved, can just provide you a quick-fixing kludge / patch for the library.
But as you known, W5x00 CS/SS normally is pin 10, and some Mega  / SAM DUE boards have the internal SPI bus pins assigned to pins 50, 51, 52, 53 or the ICSP connector so that W5100 can be used more easily.
Thanks for your sharing of experience.
Regards,

Dear @BorgMcz
I've just had some time to test and can duplicate your findings and solution that Ethernet3 lib can work OK with W5500 and ESP8266.
I used NodeMCU 1.0 and Ethernet.setCsPin (D1);
#if (defined(ETHERNET_USE_ESP8266) && USE_CUSTOM_ETHERNET)
  // For Ethernet3, OK with D0(GPIO16), D1(GPIO5), D2(GPIO4), D3(GPIO0)
  // , D4(2), D8() not OK
  Ethernet.setCsPin (D1);
#endif

and the terminal output
Starting AdvancedServer on ESP8266
=========================
Used/default SPI pinout:
MOSI:13
MISO:12
SCK:14
SS:15
SPI_CS:16  <==== D0
=========================
HTTP EthernetWebServer is @ IP : <IP_ADDRESS>
...
Starting AdvancedServer on ESP8266
Used/default SPI pinout:
MOSI:13
MISO:12
SCK:14
SS:15
SPI_CS:5            <==== D1
=========================
HTTP EthernetWebServer is @ IP : <IP_ADDRESS>
...
Starting AdvancedServer on ESP8266
=========================
Used/default SPI pinout:
MOSI:13
MISO:12
SCK:14
SS:15
SPI_CS:4   <=== D2
=========================
HTTP EthernetWebServer is @ IP : <IP_ADDRESS>
...
Starting AdvancedServer on ESP8266
=========================
Used/default SPI pinout:
MOSI:13
MISO:12
SCK:14
SS:15
SPI_CS:0   <=== D3
=========================
HTTP EthernetWebServer is @ IP : <IP_ADDRESS>
...
Starting AdvancedServer on ESP8266
=========================
Used/default SPI pinout:
MOSI:13
MISO:12
SCK:14
SS:15
SPI_CS:2    <=== D4 not OK
=========================
HTTP EthernetWebServer is @ IP : (IP unset)

I think it's necessary to reopen this issue and together find a final solution for ESP8266 and W5x00. We might possibly find a solution then post a library patch so that everybody can benefit from the patch.
I believe with the findings with Ethernet3 lib, we can know how to fix the other libs, such as Ethernet, EthernetLarge, Ethernet2, Arduino Ethernet, ESP8266 Ethernet
Please post more test results and fixes so that we can publish the patch.
Many thanks for your findings.
Regards,

Just fix the issue in v1.0,8. Now ESP8266/ESP32 can run OK with Ethernet, Ethernet2, Ethernet3 and EthernetLarge libraries.


Can dwpose output 25 keypoints aligned with openpose?

I do not get wthat do you mean. They are aligned actually in DWPose.


Option to keep scroll position on page change

This patch enables attaching a “data-keep-scroll” attribute to a link, and clicking it will keep the window’s scroll position instead of scrolling to the top of the page.
This is a response to this issue: https://github.com/rails/turbolinks/issues/66#issuecomment-14853274
I needed more fine grained control, with some links keeping scroll position and others expressing the default behavior. It's working great for me with this patch. Hopefully this will be helpful to others as well.

Fixed by #528.


This library is not React 16 compatible. Please update PropTypes

FYI

Hey @mschipperheyn - why did you close this? I'm still getting errors. Did you update directly in the source? What changes did you need to make? Thanks!


Color output

Found myself piping stuff to jq a lot to get pretty schemas and so I thought it could be useful if the cli tool could color output itself. Of course there is a flag to disable color output and it should be automatically disabled if not supported byt the Terminal.

This change is

@bdomars Thanks!


Generate UI screenshots in different states

resolves https://github.com/commaai/openpilot/issues/31007

This is kinda the idea I'm going for. In the end a bot will be setup to post a link like this https://jakethesnake420.github.io/openpilot/pr--965fa45dc568e079b41944c19d112a5e9e705fca/index.html. I think a commaai admin will need to setup a branch the the action bot can push to. Haven't sorted it all out though, any input/advise is appreciated since I'm not experienced with this stuff.

need to setup a branch that the action bot can push to

hmm is there another solution for this? we aren't going to want to push artifacts to the openpilot repo. We can also split this PR up into two, one for generating the 20 different states, and one for doing the compare / clickable link. the 20 states should be easy to merge

hmm is there another solution for this? we aren't going to want to push artifacts to the openpilot repo, especially images like that.

yea makes sense but if we want an automatically generated website with a clickable link, we gotta put the images somewhere on a server. The other option is to use a third party CDN, use another github repo or get the bot to post the top 5 changed images directly in the PR comments.

We can also split this PR up into two, one for generating the 20 different states, and one for doing the compare / clickable link. the 20 states should be easy to merge.

sure i can do that

Oh yea and I run through all the onroad events and all the navigation icons so it's a lot more than 20 pictures. It would be over a hundred and then it does a thresholded comparison to master images.

Oh yea and I run through all the onroad events and all the navigation icons so it's a lot more than 20 pictures.
cool but lets just start with 20, I dont think we need all the navigation icons and onroad events.

post the top 5 changed images directly in the PR comments.
Perhaps it only posts them if it changes >20% or if the "ui" label is applied? I found this repo that has an example of how to post to comments but  t looks like they use an external repo for hosting the images: https://github.com/the-blue-alliance/the-blue-alliance/pull/5719

Still working on this just busy this week

Closing due to inactivity. This is also way too big. If you'd like to try again, it'll need to be much simpler.


Missing Cookie options

Microsoft.NetCore.App 2.1.0-rc1 SDK
Microsoft.ApsNetCore.SignalR.Client (1.0.0-rc1-final)
When connection to an Hub that is decorated with the Authorize attribute from outside of the web application I need to authenticate by other means. I am sending a cookie with the signalr request. In earlier versions I have used .WithHeader("Cookie","cookiestring) but in this version it has been removed. How to pass the cookie now ?

WithUrl now has options where you can configure headers and cookies, etc.
connectionBuilder.WithUrl(uri, options =>
{
    options.Cookies.Add(new Cookie("Cookie", cookieString));
});


Return OAuth profile attributes according to the associated service configuration

limited set of attributes
impersonation
enable/disable confirmation screen (enabled by default)

Generate access_token according to the service, not a global one (TGT)
Reported by: Jérôme Leleu, id: jleleu
Created: Tue, 2 Apr 2013 10:41:45 -0700
Updated: Wed, 19 Jun 2013 10:17:35 -0700
JIRA: https://issues.jasig.org/browse/CAS-1287

@leleuj I know we discussed this a while back. Do you have a solution in mind that would work without refactoring the codebase to a great extent?
When the TGT is passed to the profile endpoint, is there anyway to look up the service requesting information, without breaking protocol compliance? Could we expect that a service parameter be sent as well?

My latest attempt to use Spring Security was unsuccessful. I haven't thought about it since a while.
The thing is that we must know the service which has requested the access token and we need this new kind of token (which not a TGT, nor a ST). I have no easy solution right now, but I should definitely  work on this. For 4.2.

Take a look at MitreId Connect's Java Spring server. I am working on a similar project, and what they have seems like a good example.

We could require a service parameter to be passed to the endpoint, but I don't know if that violates the protocol.

We could certainly as I don't think the OAuth protocol specifies the way to use the access token on a resource endpoint. Though, we should already have this information when we grant the access token and it should be straightforward.

The MitreId Connect's Java Spring server seems to be very promising. It makes me wonder if we should really keep the OAuth server support in the CAS server itself, it makes things really complicated and it's a huge work in itself to define everything.
Seeing the MitreId Connect's server leads me to the conclusion that it would make sense to build a new OAuth server (let's support OpenID Connect as well) on top of something already existing, secure and known by people who want to customize it. It would be a matter of customizing it to work with CAS.
I'll go in that direction for now. To follow my work: https://github.com/leleuj/cas-oidc-server

Yes that is the same library I am using to add OIDC support to the Shib IdP.

https://github.com/uchicago/shibboleth-oidc

I fully support moving towards MitreID and supporting OIDC as well. Less "custom" code the better, and this move should solve other issues that we have now with OAuth as well.

Just that I want to insist on the fact that currently, we have the cas-server-support-oauth module of the cas-server project which turns the CAS server into an OAuth server (authentication + authorization + resource). We configure the CAS server to support OAuth.
In my vision, we would have a new webapp supporting OAuth + OpenID Connect (authorization + resource) based on the MitreId project, let's say: cas-oidc-server, it would be a separate project  configured to authenticate with a CAS server.

If I understand your proposal correctly, then :-1:
The OAuth+OIDC module needs to be built "into" the CAS server, as one platform. Deploying a separate webapp with different configuration, look and feel and workflow isn't going to work. If we want to rip off the oauth module and simply use the MitreID APIs to add support to CAS, that's fine. But using their webapp and having external authentication is a no-go. The CAS server needs to act as an authentication protocol hub, not as a client.

I have in mind that we should get rid of all the custom code we have for oauth and openid, and deprecate them. Then use the MitreID SDK only to put together components and write adapters for CAS so the entire functionality is contained within the CAS project. So the CAS server provide OAuth+OIDC functionality, and it makes it much easier for people to manage and deploy. Adopters would include the OAUth module in their overlay and they are done. That should be it. Otherwise, you could say CAS supports ADFS because it can delegate authentication to it, and CAS supports SAML because it can delegate authentications to a SAML IDP and CAS supports OAUth and OIDC because it can delegate authentication to a different server that actually does that. We do that today, we are unsuccessful and none of that really "sells".

I would not say that external bridges (like shib-cas-authentX for example) are unsuccessful. I'm really hesitating on this topic but I'll go for the solution we already proposed (embedded OAuth/OpenID Connect support) as it will provide a seamless transition. I think that external supports are not necessarily bad things: a project like the MitreID server is well-known on its own so I don't think deployers would be surprised and deceived to have the right overlay pre-configured for the CAS server.

Sure, understood. I don't think external bridges are "bad" per se; my position is that declaring platform X can support Y because it is able to delegate authentications to an external entity is a bit of false advertising so to speak. It is certainly true that the integration can be done and support for Y achieved, (in fact MitreID is based on Spring Security which already supports CAS so there is not much left for us to do other than to configure it to use CAS) and it some cases a bridge makes perfect sense. Ideally though, delegation to external entities creates more issues/work. When I evaluate, I see a lot more downsides. When I think about the easiest approach I would see something like "include the oidc dependency in your maven overlay, and then you're done!" :)
Of course, I am in favor of removing all custom oauth/OIDC code that CAS offers. We should build upon what MitreID has already achieved with Spring Sec OAuth, and remove maintenance burden, and only fill in the gaps.
I am working on the same approach for the shibboleth identity provider, to build OIDC directly into the platform, by relying on MitreID APIs only. I am sure it will be easier to do this for CAS.

I started working on this: it's more work than just creating an overlay on top of the MitreId server where the authentication is delegated to the CAS server. I see your work on Shibboleth / OpenID Connect and indeed, it's a big project.
I disabled all default classes from MitreId and create "CAS empty" ones to see what needs to be initialized.
So it raises a few questions:

default classes in the MitreId server are based on the database: I plan to create new classes based on memory as we generally do in CAS
Many things can be set in the MitreId server from various REST API endpoints: I plan to disable everything, the only setting available will be the OAuth clients defined as CAS services via the CAS services management webapp, other options may be set via properties.

What do you think?

default classes in the MitreId server are based on the database: I plan to create new classes based on memory as we generally do in CAS

Agreed, yes.

Many things can be set in the MitreId server from various REST API endpoints: I plan to disable everything, the only setting available will be the OAuth clients defined as CAS services via the CAS services management webapp, other options may be set via properties.

Also agreed. Disable dynamic disovery, introspection, dynamic registration, etc. there should be an authorize endpoint, a token endpoint, a jwk endpoint and a userinfo endpoint.
Just so I am clear, are you doing this in an overlay style, or building support directly into CAS? I hope it's the latter.

Also no UIs, no management interfaces.

As we said, I gave up the overlay style to build a new cas-server-support-oauth-oidc module: source code is for now directly available in the https://github.com/leleuj/cas-oidc-server, I'll build the module at the end.

Ah, excellent. Sorry I forgot to check. Is there anything I can help?
Maybe this quick intro based on my Shib Idp experience can help:
MitreId is heavily based on Spring Security. The initial request goes to authorize endpoint, which bombs because it needs to be authentication. An exception is thrown for insufficient authentication. The spring security takes over and routes the request to a login endpoint. once you authentication, an approval process kicks in, and then token is generated. Once the token is next validated via the /token endpoint, an id token is passed that is signed. Client app verifies the signature, gets data and logs the user in by contacting the userinfo endpoint.
The IdP codebase is much more complicated because it's entirely SWF based, and it has no concept of Spring webflow.

One other thing; the design of clients and etc must be based on service registry of CAS. The authentication is handled by CAS obviously with a TGT and ST, but we could Spring OAuth for OAuth-related tokens.

I've worked on using the MitreID server for OAuth support. I'm not completely happy with result: https://github.com/leleuj/cas-oidc-server
I have many default classes which must be reimplemented and exclude many default classes from the MitreID server. And I finally have the complex Spring Security configuration (hard to escape from it).
Though, there are great ides here: the first one is that a good OAuth server support is made from custom code (Spring OAuth) and security configuration, which is not the case from our current implementation (which is only custom code). So I'm wondering if I could go into that direction, based on the spring-webmvc-pac4j library.
@mmoayyed : what do you think ?

I have many default classes which must be reimplemented and exclude many default classes from the MitreID server.

I have had to do the same thing for the Shib IdP. Had to exclude all Repository annotations and wrote the default impls for many classes. Not the best solution, but so far it seems to be functional. You are 100% right that Spring Oauth is tied heavily to Spring Sec, which is another thing I am not happy about w.r.t the configuration.
I am generally find with the direction you propose. I would say this though that the end goal is to make the configuration dead simple for the deployer, and hide all of the complexity. So I don't mind a complex solution as long as the deployer is not asked to do it. I gather you want to try using Spring OAuth with pac4j-webmvc? I would be OK with that. Spring Security does not give us much here, and in fact for Shib IdP, I am slowly working my way towards removing it. It's only real job is to handle the userinfo endpoint, which we are going to have to rip out anyway since that data comes from CAS attributes, etc.

Some additional notes: lots of the folks in the community are interested in OIDC support. Many many. That and MFA. I am hoping we can deliver something before Open Apereo. These in my mind are the two biggest items we should focus on.

Currently, we only have custom code. Very simple but error prone.
I tried to use Spring Security + Spring OAuth in various enviroment, but I'm not very happy with the result: powerful, but very complicated and a lot of useless layers.
My proposal was to keep some of our custom code (less than today) and use spring-webmvc-pac4j: custom code replaces Spring OAuth and spring-webmvc-pac4j replaces Spring Security.
I'm not sure how Spring OAuth would work with pac4j, as a matter of facts, it's less complicated than Spring Security even it still requires to build adapters.
What would be the difference exactly between the OpenID support and the OAuth support (in the CAS server)?

Summary of our discussion: OIDC exposes a few additional endpoints. It also supports signed and encrypted authentication requests, as well as JWTs. It also provides support for a number of standard claims and structures. There is also consent.
TBH, I am less concerned about how this gets implemented, than it gets implemented :) Use whatever you think makes sense in the long run to provide the functionality. Do you think, planning ahead, that this might be something we could deliver for 4.3? June 2016 timeline?

You're right, it's been too long since I should have implemented this. I haven't been able to find the right way to proceed. The implementation based on MitreId Connect didn't feel good either: too much overhead. I lean towards custom code even if it feels bad. I also thought I could maybe use the Nimbus OAuth OpenID Connect SDK.
I'm a bit stuck on this: maybe I should be less ambitious and at least improve our current OAuth implementation instead of a giant step embracing a full OAuth / OpenId Connect support. And to avoid the use of custom code, rely on pac4j as much as possible.
I'm committed to work on that in January (I'll slowdown on pac4j).
What do you think of this simple plan?

use JWT for access tokens
update the current flow by protecting it with the pac4j CasClient
add the implicit grant type
add the resource owner password credentials grant type

@leleuj @mmoayyed Take a look at this: https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions - could be worthwhile examining it and see if this SDK would be the right fit for this work

I'm a bit stuck on this: maybe I should be less ambitious and at least improve our current OAuth implementation instead of a giant step embracing a full OAuth / OpenId Connect support. And to avoid the use of custom code, rely on pac4j as much as possible.

I like this plan as a first step. It is a good start. I believe Pac4j already uses the framework Dima is suggesting, (or maybe it was Nimbus?) so we should build on that as much as we can.

use JWT for access tokens

Yes.

update the current flow by protecting it with the pac4j CasClient

Yes.

add the implicit grant type

Sounds like a second-iteration effort, but also yes.

add the resource owner password credentials grant type

Sounds like a second-iteration effort, but also yes.
OIDC isn't that much. You just need to ensure all endpoints are supported, (by way of extending the current OAuth functionality) and ensure standard claims are also passed (which we can do via cas attribute mapping). The only other bit we need is to ensure signed and encrypted authN requests are supported.
Leave out the following:

Dynamic Discovery
Dynamic Registration
Webfinger functionality
Consent.

Yes, I was referring to the Nimbus OAuth Oidc SDK...

First step: https://github.com/Jasig/cas/issues/1387

Second step: https://github.com/Jasig/cas/issues/1425

Note that our implementation MUST pass https://openid.net/certification/testing/

Good progress. What is the 3rd step?

Next step is: https://github.com/Jasig/cas/issues/1478

Good momentum. I assume the next step is to add various grant_types?

I feel the pressure ;-) I'm already working on it...

Ah, sorry :D just trying to not to lose momentum and capture work items for the roadmap and upcoming calls. Keep at it. Good progress so far.

Here it comes: https://github.com/Jasig/cas/issues/1525
My only regret on this topic: having lost a lot of time with unappropriate security libraries.

No worries. Knowing what not to do is almost as important as knowing what to do :) The working you are doing is very much appreciated.

Next step: https://github.com/Jasig/cas/issues/1527

@leleuj planning ahead; I think the next step is the JSON response for the endpoints right? Would you still say we could deliver OIDC around May?

Exactly, JSON should not take too much time. And I hope OIDC will be not too complicated based on what we already have.

Last step for OAuth: https://github.com/Jasig/cas/issues/1644

Quick note that we should probably hold off on this change until #1577 is merged in some shape or form. Would make merges (and possibly development of this issue) easier.

It's notice. Thanks

Quick note: I have added some baseline changes for OIDC under a specific module. I mostly just have wired in the discovery endpoint that would be /cas/oidc/.well-known and /cas/oidc/.well-known/openid-configuration. We can resume this more seriously once the boot merge is done.

I started slowly with this one, building on top of our laugh module and testing with the mitreid connect client. It's super simple :) should have a prototype before the end of this week.

Almost done here, tested the new OIDC functionality with the MITREID Client above. Seems to work very well. Going through test cases before submitting a PR.


LongPost JSON Requires 'tstamp' not 'timestamp'

Seems I can't read JSON properly, which results in the mind filling in the blanks.

This should be properly marked with all future LongPosts going forward.


Area/environment/overlay/underlay

Initial comment

I'm assuming this is the same PR as 117HD/RLHD#5? If so, it can be closed. If you only intended to include the three commits made by you (that were reverted), it would be best to separate those out and PR them to the fork.


Iptool

Pull Request Template
Description
Please include a summary of the change and which issue is fixed.
Type of change

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Documentation update

Checklist:

[ ] I have followed the contribution guidelines.
[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.

WTF?