using splink, i am unable to import block rule in jupyter as well as visual studio..

What happens?
i am doing de duplication , imported one random data set, and i am coming to blocking rule, i am getting error, i am stucked their.

To Reproduce
i am in second step, that is blocking rule
OS:
microsoft windows
Splink version:
3.9.5
Have you tried this on the latest master branch?

[X] I agree

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

[X] I agree

Hey @204-bhanuteja, I haven't been able to recreate your wrror, but I am currently running on a mac so I think it may be a windows issue.

This could be an issue with jupyter loading the wrong Splink version.  What do you get if you run splink.__version__?

how to install new version in jupyter @RobinL

This could be an issue with jupyter loading the wrong Splink version. What do you get if you run splink.__version__?

How to install new version of splink in jupyter, actually i have installed am getting errors in blocking rules step of de duplication, what should i do now, can u please guide me !

I think it should be splink.duckdb.blocking_rules_library note the s

I think it should be splink.duckdb.blocking_rules_library note the s

thank you. @RobinL


Warning when overriding production plugin config

When I run brunch build --production I see the following warning: warn: config.overrides.production.plugins.babel: perhaps you meant on, off, only, npm
This is what I'm trying to use:
overrides: {
  production: {
    plugins: {
      babel: {
        presets: ['latest', 'babili'],
      },
    },
  },
},

It looks like there is a production-specific overrides schema https://github.com/brunch/brunch/blob/master/lib/utils/config-validate.js so that might be causing issues.

Hey, @ryankask! Thanks for reaching out!
We're working on this issue, so don't worry too much — it will be fixed ASAP. Problem is quite obvious and shouldn't take a lot of time.

This issue still exists.

Hello. My env variable is called "local" I am running like brunch build --env local in the config I have
exports.overrides = {
    local:  {
        plugins: {
            pug: {
                locals: { SOME_VAR: "SOME VALUE" },
                pugRuntime: false
            }
        }
    }
}

and I see
19:55:58 - warn: config.overrides.local.plugins.pug: perhaps you meant on, off, npm
Is this expected? It seems to work properly but I'd like to resolve this warning.


perf: upgrade to latest and better Q

:tada: This PR is included in version 1.3.107 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[META] - Review and Update permissions docs arround availabe services on Nebari

Preliminary Checks

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

Summary
After the recent update on how permissions are consumed from Keycloak resources to each service, we must ensure our documentation is clear and current.

[ ] #509

Steps to Resolve this Issue

Review current permissions logic
Update relevant notes
...

Some permission settings I'd be interested to learn about:

conda-store

how do I give a user permission to read/write environments per group?

jupyter-scheduler

what permission are required to use it

argo

what permission are required to use it

dask

what permission are required to use it

jhub-apps

permissions required for viewing apps, sharing apps, creating apps, editing other users' apps (i.e. as an admin)

As of reference, I am also adding our current docs about the matter:

https://www.nebari.dev/docs/how-tos/configuring-keycloak#in-depth-look-at-roles-and-groups
https://www.nebari.dev/docs/how-tos/fine-grained-permissions/

Issues from recent demo.
Adding argo-admin and argo-developer did not enable Jupyter-Scheduler for me, we had to add me to the developer group to give me access.
There is a permission that was required before I could see dashboards that were shared with me. I thin @marcelovilla said it was "allow-app_sharing" role which seems on. Because I don't need to share an app just to see an app that was shared with me.

It seems to be missing a significant factor in our docs regarding a general overview/breakdown of what each permission does and what are their associated roles:
conda_store_developer
dask_developer
jupyterhub_developer
argo_developer
grafana_developer

For jhub-apps deployments:
Sharing apps is only added to the admin group by default. In order for non admins to be able to share apps, the user must have the role allow-app-sharing-role. Users with this role can share apps with anyone else. The users viewing the app do not need this role.
The role is under Clients/jupyterhub/Roles/allow-app-sharing-role
Note that the "Create App" form allows you to select sharing options even if you do not have permissions to do so. We are working to disable these options if you don't have proper permissions.


Add space in Factory string

This addition means that there is the stated space between User and the sequence-generated "id" in the name function.
I know this is a tiny nit-pick but it caught my eye!  I hope this is a reasonable (tiny tiny tiny) contribution to Mirage as I learn the system.

:heart: every little bit helps, thank you!


IOTA

Task description
Hello , i have one problem today i logt in to my firefly account and there i had 5k iota and after few mins they was not on firefly
can you please tell me did the migrated to another account or whats wrong here ?

What do you mean? They suddenly disappeared or was there an outgoing transaction? Did you update Firefly when you saw your balance disappear?

yes i updated Firefly and i checked there is no transfer and i have no idea , can you help me please to finde out whats wrong

It can be that you need to run the balance finder, just go to the settings > advanced > balance finder and search until your funds appear. You can make an optimized search by checking the checkbox "search only in current wallet" to speed up the process

It can take couple of searches until your funds appear, if you are 100% your funds are there, just keep searching until they appear.
In any case, there is always the option to restore and create a new profile from your ledger, 24 words mnemonic or latest stronghold backup in case you think there is something wrong with the firefly profile

yes i am trying to search but nothing , it was this lottery inside firefly and is that possible i migrated to iota-fly .com ?

Ahh wait, that is a scam
Scam Alert!
Currently, scammers are sending NFTs to IOTA addresses that aim to trick users into visiting an "IOTA Lottery" website where it is promised they could claim their "Win".
There is no IOTA Lottery, and visiting this website can lead to losing all Funds in your IOTA Wallet.
It is not possible to block receiving these NFT so either ignore them or "burn" them by following these steps:

In your wallet go to: Collectibles
Choose the scammer NFT
Click on the three dots on the top right
Burn NFT

NEVER enter your seed, 24 words Phrase or backup file in ANY website or online application.
Stay safe.
If you fell victim to this scam please report it to your local authorities.

If you entered your private keys to that website, im afraid you are a victim of that scam

wow
how is possible firefly alow that to be inside

is there any possible to do something pleas or why i can se nothing where they transfered

We cant prevent someone from gifting you an NFT. The ecosystem is full of "do not enter your seed in random places, do not share your seed with anybody"... Firefly is a self custody wallet, you need to take good care of your seed because you are the only one that holds it.
If firefly is not displaying the transaction you can visit your address/addresses in the explorer to see if there was indeed a transaction or not https://explorer.iota.org/ you can find all your address in the option next to your balance "..." menu > address history
If you didnt share your seed with the scammers your funds will still be there in your addresses, you just need to search for them using the balance finder. But if you did enter your seed there, im afraid there isnt much you can do at this point. As mentioned in the message above, if you are a victim, we recommend you report it to your local authorities

I checked my address and i had 2 wallets and yes they was transfered in another address but its strange can i di something or can i block transfer ?
Sent from my iPhone
On 23 Feb 2024, at 4:36 PM, Begoña Álvarez de la Cruz @.***> wrote:

Did you check all your addresses in the explorer?
—
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/8088#issuecomment-1961548405, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAGGJQNEU7SHLVLAW4M2YTYVCZRHAVCNFSM6AAAAABDW2K5Y6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRRGU2DQNBQGU.
You are receiving this because you authored the thread.Message ID: @.***>

Please do something on this its not okey to allow scammers to go inside you should block this part or trying to have more security i checked now in same account which was transferred for few hours was 30k iota , i know this was my fold but i never expect someone to come in my home and steel people in my house if that happen this is my fold and i paid 11k for this iota, please protect others because for me looks like too late

Im a very sorry you are a victim 🙏🏼 stay safe


chore: downgrate workflow logs to debug

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1370
#1369
#1368
#1367  👈 (View in Graphite)
#1366 : 1 other dependent PR (#1363 )
#1365
main

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


[bug]: Disabled focus state of Select and Combobox is inconsistent

What version of strapi-design-system are you using?

Design-System: 1.10.0

What's Wrong?
The focus state of a disabled Select and Combobox is inconsistent. While Select does not display the focus outline (which imo is the proper behavior) the Combobox does:
https://github.com/strapi/design-system/assets/2244375/74194dc8-08c4-455d-9891-2c693ca91580
To Reproduce

Use Select and Combobox next to each other
Add disabled=true to both
Focus both fields

Expected Behaviour
I expect Combobox to not receive any events nor display a visible focus state. It could also be discussed which cursor to display in this case, because it is inconsistent too.

Hi @gu-stav,
I am new to the Strapi contribution. Would it possible for me to take this? If you could give me guidance It would be grateful


RBAC seems to be missing pdb permissions

Hi!
Im running :latest from today, and notice this message in the operator, when trying to create a mysql cluster:
E0801 16:28:25.588318       1 controller.go:225] mysqlclusterController controller: Re-queuing item "mysql-operator-presslabs/foo2" due to error processing: sync error: failed to set-up the cluster: foo2-mysql sync failed: poddisruptionbudgets.policy "foo2-mysql" is forbidden: User "system:serviceaccount:mysql-operator-presslabs:mysql-operator-presslabs" cannot get poddisruptionbudgets.policy in the namespace "mysql-operator-presslabs"

Im using the helm chart 'presslabs/mysql-operator', which seems to be the one creating the rbac permission.
This K8s cluster has rbac enabled
Thanks!

Oh, just found this, maybe its related...
https://github.com/presslabs/mysql-operator/pull/90/files

Hi @killfill, thank you,
That PR is the fix for this issue, will be merged today.


Vue issues fixes

@skearnes I think this should resolve the outstanding issues, including the weird :8080/editor link. Let me know if there's anything else!
Note: There are a lot of similar cases to #81 , especially in the Conditions tab. There are just a lot of details there that weren't represented in the test dataset I had been working off of (you can see a lot of TODO's in the ConditionsView component). If we have example reactions that have those details I'm more than happy to update the code so they display correctly.

Meant to merge this into vue, no main. Yikes!


About opacity bitmap

Could you write function set alpha (opacity) for bitmap?
Because In Android I must create bitmap when set opacity for bitmap?

Sadly I've failed again and again to import the project into Android Studio and make it compile and work again.
About opacity, I think you can either directly change the bitmap data itself on Java, or even use Renderscript. Try out this sample:
https://github.com/xrigau/renderscripting
Needed changes:

make it change the input itself (meaning the input bitmap will also be the output), instead of creating a new one that has the output.
Instead of grayscale, change the alpha channel of each pixel to what you need.

Thank for you reply.
I import to eclipse and it's works.
I want function write by JNI and make function as: jniHolder.makeAlpha(int alpha);

Try Renderscript. I'm sure it will be much better than my own code : shorter and faster.

thank you. I will try

@dockusan Another interesting library that's similar to what I do is this one:
https://github.com/suckgamony/RapidDecoder
They actually even allow to decode the image via JNI, so it's probably faster too.

Thank you for your suggest. I will check that library.


Blocking is implemented in the hubs this way:
https://github.com/lbryio/hub/blob/master/docs/blocking.md#defaults
In short, Content offensive to the hub operator  is reposted to a relevant list.
Currently, we pull down a list of outpoints (txid : nout) on startup and block content found there.
After this, we will no longer do that, leaving the blocking/filtering to hubs.
Attempting to resolve a blocked item results in this message:
./lbrynet resolve lbry://THEBLOCKEDTHING#ABCDEF
{
  "lbry://THEBLOCKEDTHING": {
    "error": {
      "censor": {
        "address": "bHkpV3HZBTcBNNqQ6ZgH3jZChBLwEa4Zty",
        "amount": "0.1",
        "canonical_url": "lbry://@LBRY-DMCA#d",
        "claim_id": "dd687b357950f6f271999971f43c785e8067c3a9",
        "claim_op": "create",
        "confirmations": 485176,
        "has_signing_key": false,
        "height": 718715,
        "meta": {
          "activation_height": 718715,
          "claims_in_channel": 340,
          "creation_height": 718715,
          "creation_timestamp":<PHONE_NUMBER>,
          "effective_amount": "0.1",
          "expiration_height": 2821115,
          "is_controlling": true,
          "reposted": 1,
          "support_amount": "0.0",
          "take_over_height": 718715
        },
        "name": "@LBRY-DMCA",
        "normalized_name": "@lbry-dmca",
        "nout": 0,
        "permanent_url": "lbry://@LBRY-DMCA#dd687b357950f6f271999971f43c785e8067c3a9",
        "short_url": "lbry://@LBRY-DMCA#d",
        "timestamp":<PHONE_NUMBER>,
        "txid": "1b3278a9a37186c6390f9e28aae5ec80d71726b7134c0219c5bc6ec6382fc268",
        "type": "claim",
        "value": {
          "public_key": "3056301006072a8648ce3d020106052b8104000a0342000478ceb85de1da54bddafa809f045023d9c1347fd06ea1d9cbceadddb848e2c5d5855946a0eeed8a0739ea960c67048669dbc2c481ae8a67dd316e772fc778f42e",
          "public_key_id": "bShcpKQuV9PJTqeGEfkRXEhvnYBuEmWR9o"
        },
        "value_type": "channel"
      },
      "name": "BLOCKED",
      "text": "Resolve of 'lbry://THEBLOCKEDTHING' was censored by channel with claim id 'dd687b357950f6f271999971f43c785e8067c3a9'."
    }
  }
}

Currently, going to the page in the app goes to

It should instead display an error such as below, but including the text of the error:

For now, you don't need to remove the lbryio list_blocked, list_filtered calls or legacy blocking system. Just make the new one work.

Here is some background info
https://github.com/lbryio/lbry-sdk/issues/2692

Can we have way to allow HUB operator to add custom message for example of reason why content got filtered?
Making everything DMCA is not always a good way and would be cool as HUB operator to let people knew :)

That's what https://github.com/lbryio/lbry-sdk/pull/3620 does. And it's up to the channel to post it, not the hub operator. The operator may or may not be the one doing the blocking, but rather whitelisting blocking channels.


Modify the example code that may be misleading

See: https://github.com/Unity-Technologies/2d-extras/issues/141

Sorry, did not notice this!


Add docs for ["instanceContext", "instanceOwnerPartyType"]

Related Issue(s)

https://github.com/Altinn/app-lib-dotnet/pull/149
https://github.com/Altinn/app-frontend-react/pull/805

Awaiting merging this until the functionality is closer to being released. See the linked PR.


⚠ Bofrost.de has degraded performance

In 00eb3f5, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1191 ms

Resolved: Bofrost.de performance has improved in c92e940.


UnicodeEncodeError

fd.write(out + '\n')

UnicodeEncodeError: 'gbk' codec can't encode character '\xd6' in position 27: illegal multibyte sequence

same issue
File "f:\rl experiment\offline rl\cql\d4rl\rlkit\core\logging.py", line 170, in log
 fd.write(out + '\n')
UnicodeEncodeError: 'gbk' codec can't encode character '\xd6' in position 27: illegal multibyte sequence


Linking errors with Emscripten latest-upstream (LLVM 9)

Godot version:
3.2 master (266dc732)
OS/device including version:
Mageia 7 x86_64
Emscripten 1.38.30, using LLVM 9 upstream backend (latest-upstream)
Issue description:
Trying the latest-upstream branch of Emscripten which is about to become the new default backend. Doing a release build.
There's a build issue (#30248), but using that patch it can be bypassed to reach the issue described here.
Then two linking issues are raised:

[x] Duplicate symbol: DefaultControllerMappings::mappings

Linking Static Library ==> main/libmain.javascript.opt.bc
wasm-ld: error: duplicate symbol: DefaultControllerMappings::mappings
>>> defined in main/default_controller_mappings.gen.javascript.opt.bc
>>> defined in main/default_controller_mappings.gen.javascript.opt.bc
shared:ERROR: '/home/akien/Projects/godot/emscripten/emsdk/upstream/bin/wasm-ld -o main/libmain.javascript.opt.bc --allow-undefined --import-memory --import-table --lto-O0 main/default_controller_mappings.gen.javascript.opt.bc main/input_default.javascript.opt.bc main/main.javascript.opt.bc main/main_timer_sync.javascript.opt.bc main/performance.javascript.opt.bc main/default_controller_mappings.gen.javascript.opt.bc -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export malloc --export free --export setThrew --export __errno_location --export fflush -z stack-size=5242880 --initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024 --relocatable' failed (1)

I've looked at the DefaultControllerMappings code and I don't see why wasm-ld thinks it has a duplicate symbol. The symbol is declared in the header as static const char *mappings[]; and implemented once in the .cpp. The header guards seem correct too.

[x] BINARYEN_TRAP_MODE is not supported by the LLVM wasm backend

Linking Program        ==> bin/godot.javascript.opt.js
shared:ERROR: BINARYEN_TRAP_MODE is not supported by the LLVM wasm backend

It can simply be disabled with the following patch. I haven't checked yet what it does, if it's worth keeping on non-LLVM and if so how to handle that in detect.py:
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index c6afa02c6..f0191a71b 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -123,7 +123,7 @@ def configure(env):
     ## Link flags

     env.Append(LINKFLAGS=['-s', 'BINARYEN=1'])
-    env.Append(LINKFLAGS=['-s', 'BINARYEN_TRAP_MODE=\'clamp\''])
+    #env.Append(LINKFLAGS=['-s', 'BINARYEN_TRAP_MODE=\'clamp\''])

     # Allow increasing memory buffer size during runtime. This is efficient
     # when using WebAssembly (in comparison to asm.js) and works well for

Duplicate symbol error happens on llvm 8.0.0 as well.

Can one mask link flags from commandline to make it adjustable when calling scons?

You can call scons LINKFLAGS="your custom flags". I'm not sure if they would end up before or after the ones added in detect.py though.

I've managed to compile an HTML5 template using my system-wide LLVM 10 (from llvm git, LLVM_ROOT=/usr/bin) and the patch to disable BINARYEN_TRAPMODE.
However it only works if one calls scons -c before build and otherwise ends up with controllermappings issues.

in your command there are two time the same file, is it supposed to be like that?
main/default_controller_mappings.gen.javascript.opt.bc
shared:ERROR: '/home/akien/Projects/godot/emscripten/emsdk/upstream/bin/wasm-ld -o main/libmain.javascript.opt.bc --allow-undefined --import-memory --import-table --lto-O0 main/default_controller_mappings.gen.javascript.opt.bc main/input_default.javascript.opt.bc main/main.javascript.opt.bc main/main_timer_sync.javascript.opt.bc main/performance.javascript.opt.bc main/default_controller_mappings.gen.javascript.opt.bc -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export malloc --export free --export setThrew --export __errno_location --export fflush -z stack-size=5242880 --initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024 --relocatable' failed (1)

@santouits Good catch. Might be due to https://github.com/godotengine/godot/blob/16288cabc0fa959f4f23d7861708ad751b2c6736/main/SCsub#L17
We don't use direct append normally but env.add_source_files(), I'll see if that fixes it.

Fixed by #30751 and #30752.

I've managed to compile an HTML5 template using my system-wide LLVM 10 (from llvm git, LLVM_ROOT=/usr/bin) and the patch to disable BINARYEN_TRAPMODE.

So you're not running into #30756? As far as I understand Emscripten's latest-upstream is still LLVM 9.0.0, so maybe it's a bug there which was fixed in LLVM 10~svn?


Prevent invalid trailing characters in id

Loadbalancer IDs generated from gidx with a trailing '_' or '-' will fail to apply resources in kube due to label value naming requirements

agreed


Finish Listener

Do you have any listeners that tell you when it's done going to the number you tell it to go to? If not I'd like to suggest it for the next enhancement so I know when it's done moving to the speed I want it to go to.

i don't think it is very useful to make that Listener, you can done it by OnSpeedChangeListener like so:
speedometer.setOnSpeedChangeListener(new OnSpeedChangeListener() {
    @Override
    public void onSpeedChange(Speedometer speedometer, boolean isSpeedUp, boolean isByTremble) {
        int speed = speedometer.getCorrectIntSpeed();
        if (speed == 62) {
             // TODO do what do you want !!
        }
    }
});


Panel Glitch - Multiple "Add Configuration"

Issue Type
Bug
Description

Open 2 launch.json
In first editor, open Panel
Switch to second editor, close Panel
You end up with two "Add Configuration"

VS Code Info
VS Code version: Code - Insiders 1.21.0-insider (d28f096018e2673a8437c788e3eed781ddb505ce, 2018-02-09T06:08:42.088Z)
OS version: Darwin x64 17.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

Load (avg)
3, 3, 2

Memory (System)
16.00GB (0.10GB free)

Process Argv
/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron

Screen Reader
no

VM
17%

Extensions (7)

Extension
Author (truncated)
Version

vsc-material-theme
Equ
1.3.0

tslint
eg2
1.0.24

prettier-vscode
esb
1.1.3

vscode-slm
mrm
1.1.0

PowerShell
ms-
1.5.1

vetur
oct
0.11.7

vim
vsc
0.10.13

(1 theme extensions excluded)

Reproduces without extensions

@octref good catch!


Added "lh" and "slt" to their respective lists in Toolkit

I think the "lh" instruction might have been left out in the I_instr list from Toolkit? Was using this library and when I tried to do:
instr = tk.I_type("lh","x2","23","x3")
It resulted in:
File "/usr/local/lib/python3.6/dist-packages/riscv_assembler/utils.py", line 209, in I_type
    raise WrongInstructionType()
NameError: name 'WrongInstructionType' is not defined

Naïvely went ahead and added "lh" to the I_instr list from Toolkit and ran a test case - it seems to work as expected now with this PR applied:
>>> from riscv_assembler.utils import *
>>>
>>> tk = Toolkit()
>>> instr = tk.I_type("lh","x2","23","x3")
>>>
>>> instr
'00000001011100010001000110000011'
>>>

Let me know what you think? Also, thanks again for this library 😃

Similar to my first commit, I also found slt missing. I pushed a second commit addressing that.

Thank you for noticing this, adding those lines checks out with the logic later in the file as well as the instr_data.dat files.


[Question]: How to fix circular import bug

Question
I've been triying to add a new country to the list as well as a new publisher from it.
For some reason, I am getting this circular import bug whenever I try to crawl for an article:
Traceback (most recent call last):
File "C:\Users\Tamim\PycharmProjects\fundus\src\fundus\test.py", line 1, in
from fundus import PublisherCollection, Crawler
File "C:\Users\Tamim\PycharmProjects\fundus\src\fundus_init_.py", line 3, in
from fundus.publishers import PublisherCollection
File "C:\Users\Tamim\PycharmProjects\fundus\src\fundus\publishers_init_.py", line 1, in
from fundus.publishers.at import AT
File "C:\Users\Tamim\PycharmProjects\fundus\src\fundus\publishers\at_init_.py", line 1, in
from fundus.publishers.base_objects import PublisherEnum, PublisherSpec
File "C:\Users\Tamim\PycharmProjects\fundus\src\fundus\publishers\base_objects.py", line 9, in
from fundus.scraping.url import NewsMap, RSSFeed, Sitemap, URLSource
File "C:\Users\Tamim\PycharmProjects\fundus\src\fundus\scraping\url.py", line 13, in
from requests import ConnectionError, HTTPError
File "C:\Users\Tamim\anaconda3\envs\fundacontribute\lib\site-packages\requests_init_.py", line 43, in
import urllib3
File "C:\Users\Tamim\anaconda3\envs\fundacontribute\lib\site-packages\urllib3_init_.py", line 8, in
import logging
File "C:\Users\Tamim\PycharmProjects\fundus\src\fundus\logging_init_.py", line 1, in
from .logger import basic_logger
File "C:\Users\Tamim\PycharmProjects\fundus\src\fundus\logging\logger.py", line 3, in
_stream_handler = logging.StreamHandler()
AttributeError: partially initialized module 'logging' has no attribute 'StreamHandler' (most likely due to a circular import)
my ae/init.py is as follows:
from fundus.publishers.base_objects import PublisherEnum
from fundus.scraping.url import NewsMap, Sitemap
from .al_arabiya import AlArabiyaParser
class AE(PublisherEnum):
Alarabiya = PublisherSpec(
name="AlArabiya",
domain="www.alarabiya.net",
sources=[Sitemap("https://www.alarabiya.net/sitemap.xml"),
NewsMap("https://www.alarabiya.net/ar-news-sitemap.xml")
],
parser=AlArabiyaParser,
)
and my al_arabiya.py is as follows:
import datetime
from typing import List, Optional
from lxml.cssselect import CSSSelector
from fundus.parser import ArticleBody, BaseParser, ParserProxy, attribute
from fundus.parser.utility import (
extract_article_body_with_selector,
generic_author_parsing,
generic_date_parsing,
generic_topic_parsing,
)
class AlArabiyaParser(ParserProxy):
class V1(BaseParser):
pass
I am running Python 3.9 on Conda and I also executed "pip install -e .[dev]". I created a new folder for the country ("AE"), created its _init.py in which I added the Publisher Enum class with source attributes and I  also implemeted an empty parser class for said publisher.

@tamemo99 Moving test.py from C:\Users\Tamim\PycharmProjects\fundus\src\fundus\test.py -> C:\Users\Tamim\PycharmProjects\fundus\test.py should do the trick ;)

Hey! Thanks, after moving the test.py the test worked and I was able to generate some output
However, Im trying to run a unit test and Im getting the following:
8,670 - basic_logger - WARNING - Warning! Couldn't reach sitemap 'https://www.alarabiya.net/ar-news-sitemap.xml' because of 403 Client Error: Forbidden for url: https://www.alarabiya.net/ar-news-sitemap.xml
2024-04-24 19:08:09,132 - basic_logger - WARNING - Warning! Couldn't reach sitemap 'https://www.alarabiya.net/sitemap.xml' because of 403 Client Error: Forbidden for url: https://www.alarabiya.net/sitemap.xml
2024-04-24 19:08:09,134 - basic_logger - ERROR - Couldn't get article for AlArabiya. Skipping
AlArabiya:   0%|

@tamemo99 It seems that the publisher you're trying to scrape is protected by cloud-flare. Unfortunately, there is nothing much you can do. I'm sorry for the time you already spend on this!


Add private key asks for passphrase when it shouldn't

Describe the bug
In the build steps, I run a command to add a private key (ssh-add KEY) to pull a private repo but it asks for a passphrase which stops the build process. The key does not have a passphrase so it shouldn't be asking for me.
To Reproduce
Steps to reproduce the behavior:

Set the private key as an environment variable.
Configure the build with the following:

frontend:
  phases:
    preBuild:
      commands:
        - eval "$(ssh-agent -s)"
        - ssh-add - <<< "${SSH_PRIVATE_KEY}"

Expected behavior
It should add the key to the SSH agent.
Additional context
The key is needed to pull a private Github package. Is there any other way to do this?

So after some trial and error, I think the issue is with the way the key is read from the environment variable. It seems to be adding a key to the SSH agent that has spaces instead of newlines. Is there a specific way of writing a key to an environment variable and then adding it to the SSH agent without first running find/replace on the value (to replace spaces with newlines)?

@kalinchuk looks like user @tkoterwas found a solution here:  https://forums.aws.amazon.com/thread.jspa?threadID=297933&tstart=0

Closing this issue, please feel free to reopen if the solution didn't work


Returns Pundit::NotAuthorizedError in production (Heroku) but development environment is fine

I have nothing (to my knowledge) in the code that would cause different behavior for development vs. production. The error returns something like:
Pundit::NotAuthorizedError (not allowed to company? this #<ActiveRecord::Relation [#<.........
And it happens on the same line as authorize routes, where routes is an active record relation. I have a RoutePolicy which inherits from the ApplicationPolicy.
Also, it looks like it's finding the current_user method and that method is returning an actual user object, so that's not the issue.
Has anyone experienced this? Thanks in advance.

There is nothing inherent in Pundit that would make it act different in prod. This sounds it's most likely a problem in your application.

This happened to us too. @kristophM did you find a fix?


Can't scroll in the "Edit roles" pane

Describe the bug
When editing a project grant by opening the "Edit roles" pane, it is not possible to scroll.
Temporarily solved by using a vertical screen and zooming back.
To Reproduce
Steps to reproduce the behavior:

Create about 50 roles in a single project
Edit a project grant
Try to see all the roles

Desktop (please complete the following information):

OS: macOS
Browser: Safari

Additional context
ZITADEL 2.8.2

Also, if roles are on multiple pages, only the ones selected in the current page are kept. So selecting a-role and z-role is only possible if they fit on the same page

Thanks for your feedback.
We will have a look at it


Show menus for cafés by scraping the online order system

View the source of this URL: https://cornell.webfood.com/xmlstoremenu.dca?dx=165547880&s=21&op=0
It's the menu for Goldie's.
You can find menus yourself by visiting https://cornell.webfood.com/, then choosing "Frequently Asked Questions", "Browse a Menu", and going from there. While you're doing this open the dev tools and watch the network requests - look for any request to an xmlstoremenu.dca. (I used Chrome, I'm not sure if Firefox shows requests that a Flash plugin makes)

Upon further investigation, the dx= parameter doesn't do anything (maybe it's the session). s= controls the store. https://cornell.webfood.com/xmlstart.dca?mr=506101224 has data listing all the store IDs. Using this, I got to the menu for Nastie's (https://cornell.webfood.com/xmlstoremenu.dca?s=1&op=0) even though the flash plugin won't let you choose that cafe.

Man, I thought this would be harder :/

Haha that's awesome. So I wonder if we can find the requests to order so we can put it natively in the app?
Also previously for general information / descriptions of the menus (though not the full menus themselves), I had used this link: http://living.sas.cornell.edu/dine/wheretoeat/ (e.g click on Nasties, scroll past calendar). It also has GPS coordinates (which would be nice for map / location stuff) and some other random details.

Huh...so that links to https://netnutrition.cbord.com/nn-prod/cornell, which gives nutrition info for menu items. We could scrape that as well.

Oh yeah that is awesome. Wish they would do for more of them too..
Also, I found that this is where Kevin's API is getting the menus (see source).
This is interesting because when Big Red App was first made that menu link didn't exist, so I used this one, which is still running. Checking the network requests, I just see the menu_start.jspx return, which returns all the data at once, and then client side just uses javascript to get the different ones (as opposed to the first link, which has a post method (see menus.cfm in the requests). The only nice thing about the one I used to use is that it has brunches too...

The one Kevin uses also has brunch, but doesn't always display the option.

I see.. I could have found that out in multiple places (the API, the source, the website) but somehow all 3 slipped by me, I think I got blinded by when I originally made the list of meals within the app..

o: This looks sweet David! If I find some more free time I could try to scrape some of this.

(Just pitching in) that would be sweet ^^

Resolved in https://github.com/TrevorEdwards/bigredapp-android/commit/0c257165ef02dfd49bf0a12718b8a6dbd9246540 .


feat(Algebra/Module): use notation3 for composition notation

This means that comp is printed with this notation in the goal view.

Thanks!
bors r+


Dapr Component Reloading

I currently have the use-case where I am developing (sometimes on Kubernetes) an application and want to reload the Dapr sidecar to get a new binding in, or a new pub sub system. However when doing this, it seems that Dapr doesn't automatically detect this.
Some points I would love to discuss about:

Automatic component reloading when a binding/pubsub/... gets changed through kubectl apply -f ...
Component specification per application (e.g. I would love to utilize a pubsub in app A but not in app B) - not sure if that's there already
Versioning of the components

Interesting as well which could be a nice addition is just the reinitialization of the sidecar in a given pod / deployment
What are your opinions around this?

@mchmarny ;)

Thanks for writing this up. The component scoping and versioning is already there (examples below).
Versioning
spec:
  type: state.cassandra
  version: v1

Scoping
scopes:
  - app2

We talked about component reloading a few times now. The tech around watching objects and reloading them in Dapr are actually well understood and not that really complex (I'm told). The complexity lies in in guessing user intend in accounting for the failure modes. For example:

app breaks on restart because component was renamed
app availability is impacted because there was 1 replica and we restarted the app
data returned by the component (e.g. binding) is in diff format, even though the component name is the same

Can you describe how this would ideally work in your use-case? The more detail around the app and component type the better. Thanks.

Thanks a lot for providing that, I had no idea! :)
In regards to the other part, how I currently work in terms of updating components is that I change it and then reapply it. I then would indeed expect a restart of the sidecar without affecting the app (the app would call an endpoint anyways, so I would not expect that one to restart).
For example, I have a pod that gets scaled out by KEDA automatically and reads from a RabbitMQ. I was however utilizing a PubSub component initially and switched it to utilize a Binding instead.

When I redeployed the app and the binding afterwards, I would have to re-kill the pod so it would restart with the correct sidecar injection there for the component interaction
When I wanted to change parameters in the component (e.g. different RabbitMQ due to migration), the pod again had to be killed as in the previous point

In terms of lifecycle, it can indeed be that a wrong update is done of a component, making an unintended change (or impacting multiple components due to the forgotten scope). I honestly have no solution in mind for that, but a potential solution could be to utilize the Dapr CLI for that, triggering a warning when you want to redeploy a component with reloading enabled illustrating which changes will have a breaking change on the deployed cluster applications (I could imagine here that Dapr internally knows which applications use which bindings).
Is this what you were looking for in term of description?

Reopening this issue because this is a common ask. Right now, dapr does not offer auto reloading of components (or hot reloading) because it can be a dangerous behavior in production. There are different update strategies to handle with production changes to avoid a bad config to bring down the app. If we decide to go this route, this feature would only make sense for development scenarios but should be disabled in production.

Tracked here: https://github.com/dapr/dapr/issues/1172.


Template has wrong version of UnityEngine.Modules, Added a warning note that tells users how to fix the issue.

Issue with the BepInEx Template causing the wrong version of UnityEngine.Modules from being added. This can/has caused a good bit of confusion with error messages. This change adds a note about this issue and how to fix it.

Grammar changes are unresolved, closing as this is stale.


Add a project glossary

This is an update of the "definitions" page from PR #69, which I will now close.  I renamed it "glossary" becuase that's what more people were using when we talked about it last.  The other material from the closed PR needs more rework before re-posting.
This adds definitions and acronym expansions for terms that users of and potential contributors to OpenAPI projects are likely to encounter.  It currently focuses on terms specific to OpenAPI, but could in the future also include some more standard terms to explain their usage in the OAS.
The nav_order changes ensure the glossary comes after the introduction but before everything else.  Although perhaps it should go after "Getting Started" but before "Introduction"?  Or maybe at the end?  I do not have strong feelings about this as the sidebar menu isn't that long right now.

@handrews , @ralfhandl  - hey folks, looks good overall, but one quick (minor) suggestion. Should be mention what RFCs are? And what they are intended to do? I only bring this up because the spec itself makes references to RFCs (yay!!).  I know the sad fact is that most devs don't read RFCs, but hey we should strive to be more thorough. my 2 cents.

Should be mention what RFCs are?

The glossary explains acronyms invented by the OpenAPI Initiative. I'd refrain from explaining acronyms invented/owned by others.
The RFC references in the spec link to the corresponding entry in appendix section A. References, which then link to the actual documents. I think this is "self-explaining" and doesn't have to be explained further.

@miqui following up on what @ralfhandl said, there are plenty of places online to learn about RFCs.  I might pull in some acronyms defined elsewhere, but only to explain how they are used in our specs (e.g. URI vs URL vs IRI, which people struggle with no matter how many RFCs or other documents you point them to- also there are multiple conflicting specs particularly for "URL").  But if we're not adapting or making a specific use (out of many possibilities) an abbreviation, I don't think we should take up extra space with it.

@earth2marsh @lornajane Move the historical note - I have no idea it wasn't at the end, totally an error on my part.


I cannot save my Login User Object after Swift3.0 upgrade.

I am using below code to save some login User's fields:
    func saveCurrentUserDefaultSettings(_ refreshTime: Int, availableForCall: Bool, avaialableForChat: Bool) {
        log.debug("saveCurrentUserDefaultSettings be called")
        log.debug("Session token is:\(PFUser.current()?.sessionToken)")
        if let currentUser = PFUser.current() {
            currentUser[ParseUserKey.UserRefreshTime] = refreshTime
            currentUser[ParseUserKey.UserAvailableForCall] = availableForCall
            currentUser[ParseUserKey.UserAvailableForChat] = avaialableForChat

            currentUser.saveInBackground()
        } else {
            log.error(", Error: current user is nil")
        }
    }

But get below 2 errors:
[Error]: cannot modify user VTQ3ra5LSK (Code: 206, Version: 1.14.2)
[Error]: PFKeychainStore failed to set object for key 'currentUser', with error: -34018
It was working on Xcode7, and I didn't populate any key of 'currentUser', why the error message show set object for key  'currentUser'????

After deep search to find one solution. My second error has been fixed as below:

After browsing on stack overflow, I found out that "Apple changed the way of working with keychain in iOS 10.", henceforth you have to turn on "keychain sharing"

http://stackoverflow.com/a/38799196/2472466

@kevinlee85
I had the same issues. So, thank you for the second fix.
I have searched the web a little bit, for the first error, when you can't modify a Parse user and I didn't find anything useful so far.
However, I've noticed that if you run the app on a real device, then everything works fine. (I've tried to update different fields from a PFUser object). Hope this helps.


0.x - Quarkus WireMock extension refactoring

Open points:

While executing integration tests the system property -Dquarkus.wiremock.devservices.port=8089 gets passed to the application under test. IMHO this is useless since the application runs in prod mode and thus the wiremock-extension is not present. This leads to the following warning message:

WARN  [io.qua.config] (main) Unrecognized configuration key "quarkus.wiremock.devservices.port" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo

However, I've no idea how to fix this.

The following error message occurs when exiting the dev mode:

ERROR [io.qua.run.Quarkus] (main) 'Quarkus#blockingExit' was called on the main thread. This will result in deadlocking the application!

This seems to be fixed with https://github.com/quarkusio/quarkus/pull/31333

The Quarkiverse documentation is still pending

@wjglerum This PR is ready now for a final review 🚀. Thanks in advance!


No license information

Hello!
We would like to use this code in our organization, but there is no licensing information.

Hi, thanks for raising this. I've added Apache License 2.0 under LICENSE to the root folder. Cheers.


LocalSoftwareKeyboardController Crash

I am using Material 3 Version 1.2.0-alpha07 and  Compose UI Version 1.5.1 and I am getting this log crash while trying out KomposeCountryCodePicker.

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/ui/platform/LocalSoftwareKeyboardController;
at com.joelkanyi.jcomposecountrycodepicker.component.KomposeCountryCodePickerKt.KomposeCountryCodePicker(KomposeCountryCodePicker.kt:74)
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.compose.ui.platform.LocalSoftwareKeyboardController" on path: DexPathList[[dex file

There is a similar issue that I saw on this unrelated bug report.
When I downgraded MD to 1.1.1 the code did not crash but crucial material three colors could not be resolved e.g. MaterialTheme.colorScheme.surfaceContainerLowest.
I also tried using Integration with TextField but the code still crashed.
Any leads on how to avert this crash will greatly be appreciated.

Let me look into the issues, then will get back to you

I have just created a sample, and all seems well: sample usage

Kotlin Version: 1.9.10
Compose BOM Version: 2023.09.00 which translates to Compose Version 1.5.1
Compose Compiler Version: 1.5.3
KomposeCountryCodePicker Version: 1.0.3

Which stable version of material 3 is this offered? - MaterialTheme.colorScheme.surfaceContainerLowest

Which stable version of material 3 is this offered? - MaterialTheme.colorScheme.surfaceContainerLowest

Only in

Thanks for the prompt review and the tips
After upgrading from Kotlin 1.9.0 -> 1.9.10, Compose Compiler 1.5.0 -> 1.5.3 and Downgrading from Material3:1.2.0-alpha07 -> Material3:1.2.0-alpha03, KomposeCountryCodePicker is now working without crashing
MaterialTheme.colorScheme.surfaceContainerLowest is only available from on Material3:1.2.0-alpha03 onwards. Let me play around with the your Library and I will report in case of any difficulties.
Thanks Man 👍🏽


Edit: Support trimming active selections to a tree-sitter node

Description
Fixes CODY-1363
This PR:

Attempts to match a users' provided selection to a tree-sitter node, so we can improve the reliability of Edit commands

Before:
We would prioritise the users selection (if non-empty) before anything else. This worked in most cases, but was not optimal as the user may have actually been attempting to match the tree-sitter node, but made a mistake and possibly:

Accidentally selected more than the node, e.g. extra whitespace chars
Accidentally didn't select the full node (e.g. made a partial line selection)

This would also be non-optimal as in some case we get more insight into the users' selection if we use tree-sitter. For example, for "Generate Documentation" in Python, using tree-sitter will help us determine the correct insertionPoint for the documentation. This relies on knowing the syntax of the node in Python. Even if the users' selection exactly matched the node we would not get that information.
https://github.com/sourcegraph/cody/assets/9516420/ab3b35d1-eb01-4fc5-b559-7d2ed972c857
After:
We now attempt to match the users' selection to a tree-sitter node, in a safe manner that doesn't discard situations where their selection is likely preferred. This is by:

Expanding their selection to the full lines of the start and end (helps if they don't select a full line)
Trimming their selection to the first and last non-whitespace characters (helps if they select too many empty lines/spaces)
Comparing this adjusted selection to the retrieved tree-sitter node. If it matches exactly then we can be confident that the user would prefer to user this, and we can benefit from the additional information we retrieve.

https://github.com/sourcegraph/cody/assets/9516420/2c1a56a4-a8f3-4ba5-bb45-33ddcf2054a2
Test plan
Document:

Execute a "Document Code" command from just a cursor position, within an expected tree-sitter node (e.g. JS function). Expect it to expand correctly.
Execute a "Document Code" command from a full selection that doesn't match an exact tree-sitter node (e.g. select just a function call like console.log()). Expect it to only document this line with the function call
Execute a "Document Code" command from a full selection that does match an exact tree-sitter node, expect it to document this node correctly.
Execute a "Document Code" command from an expanded selection that matches a tree-sitter node but with additional whitespace (including new lines) before and after. Expect it to document the tree-sitter node correctly. In Python, expect it to determine the correct insertion point.
Execute a "Document Code" command from a partial selection that matches some part of the first line of a tree-sitter node. E.g. (select partially the first line, and partially the second line in a function foo() {\n console.log('hi') func). Expect it to document the tree-sitter node correctly.

Nice!


Beat Detection at Train Time?

Hello all,
First I want to congratulate you on this paper, it is well written and clearly demonstrates clinical value. One aspect of the paper that I must have missed has to do with how the 3D CNN is trained. From what I can tell, it produces a single classification (the ejection fraction) for the entire clip, which itself is comprised of multiple ventricular contractions. I believe that during test time, a single ventricular contraction is identified using the segmentation model, and then fed into the classifier. This process is repeated for each ventricular contraction contained in the clip, and then the classifier's predictions are averaged. If I understand correctly, you are inputting the entire clip during training, but inputting the clip in fragments during evaluation. Is this something that is accounted for or is this handled naturally by the model?

During training, dataloader in the notebook is sampling one clip of defined length within the video. During test time, set clips="all" for a prediction per frame. The R script integrates the output from the segmentation model that identifies each beat and averages across beats.


Remove unneeded MSBuild VS servicing branches

Addresses https://github.com/dotnet/arcade/pull/2504
@mmitche , PTAL and merge after @rainersigwald 's ack

I’m getting 500 errors trying to approve via the web interface, so:
You can also remove
Microsoft/msbuild branch=vs15.9stg server=dotnet-ci2

But LGTM.


Simplify existing examples

Some of the examples have have few extra lines i.e. cp 2+ times.
We should simplify this to increase adoption.

Fixed by #79


feat: replaces the js-sha256 library with @noble/hashes

Description
Due to an ongoing incident where the js-sha256 library is breaking on new versions of Chrome, we are replacing it with the industry standard library, @noble/hashes
This is a compact, audited, pure JS library, and it is able to produce hashes synchronously, which makes it easier to drop into our library than the WebCrypto.subtle.digest api, which is promise-based.
Fixes # (issue)
How Has This Been Tested?
Updates to a few unit tests, and running against existing golden canonical hashes and e2e test suite
Checklist:

[x] My changes follow the guidelines in CONTRIBUTING.md.
[x] The title of this PR complies with Conventional Commits.
[x] I have edited the CHANGELOG accordingly.
[x] I have made corresponding changes to the documentation.

I can confirm that moving to use @noble/hashes  fixes the issue i was having on Chrome Version 116.0.5845.96 (Official Build) (arm64).

I took a look at the code updates and it seemed pretty straightforward. I don't have any major feedback. Perhaps, it would help to wrap the crypto impl details that would help to localize the changes.


Scripts evaluation is blocked until a new event is handled

Describe the bug
When JavaScript code is dispatched for evaluation, e.g. as part of the response of a Rust command invoked from the JavaScript side, the execution does not start until a new event arrives.
To Reproduce
Steps to reproduce the behavior:

Call a rust command via invoke and print its output via console.log
The output only appears when a new event is handled, which we can trigger by e.g. moving the cursor.
If we don't trigger any event, the output will never be printed

Expected behavior
JavaScript code should be executed after dispatch without having to trigger a new event.
Platform and Versions (please complete the following information):

OS: Arch Linux, version Rolling Release X64
Node: 16.3.0
NPM: 7.16.0
Yarn: 1.22.10
Rustc: 1.52.1
Additional context
I have come up with three approaches to fix this behavior:

Set control_flow to ControlFlow::Poll after dispatch_script to handle_event_loop will be called again immediately.
Send a new Message to the event loop after dispatch_script to make sure handle_event_loop will be called again immediately.
Call evaluate_script immediately after dispatch_script in handle_event_loop.

Approach 1 did not work, but I did not investigate further why. Maybe I misunderstood the behavior of setting control_flow to ControlFlow::Poll?
Approach 2 requires adding some noop Message variant, which I think is a bit ugly.
Approach 3 did work, and is implemented in this PR: #1963
However I think it would be nicer, simpler and more efficient to immediately execute the script without the detour of calling both dispatch_script and evaluate_script, which uses a mpsc::channel under the hood. To be able to do that, I opened a PR for wry here: tauri-apps/wry#289

Does it still happen on Tauri dev branch? Someone reported that it was fixed.

Unfortunately, the dev branch does not build on my local machine. The latest commit I can build is 7e160675d16b6240b1961169bd833475cb6679fd, and there it does still happen. I also couldn't find anything in the code of the current dev branch that would suggest otherwise.

Can you try it with this in your Cargo.toml? Some change in tao fixed this behaviour for me and others.
[patch.crates-io]
tao = { git = "https://github.com/tauri-apps/tao.git", branch = "dev" }

Yes, thank you, using the dev branch version of tao does indeed fix the issue, I assume because the MainEventsCleared event now makes sure that the event handler is run again after dispatch_events. I will close this issue and my PR, but I think it might be still worth to consider tauri-apps/wry#289, because using the Dispatcher of wry might cause issues when the event loop is not woken up separately.


Added basic operations in calculator class

Pull Request Type
What kind of change does this PR introduce?
Feature
[ ] Solved an issue/task
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?

Issue Number: [Insert Issue Number (if applicable)]  #1517
What is the new behavior?

Added four operations for add, subtract, divide, multiply
Other information

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Table layout fix to use available space better

This PR removes the table-layout: fixed CSS property from the  stats table in the web UI, in order to make better use of the available space.
The table-layout:fixed property was added by #962 (which is a PR for #938), so this PR will partly revert those changes. However I'm still able to see the whole table by scrolling the page horizontally after these changes.
Before:

After:

Nice!


Can't install hlint using Cabal commands

It builds and installs all packages until it reaches yaml. It throws
cabal: Failed to build yaml-<IP_ADDRESS> (which is required by exe:hlint from hlint-3.5).
yaml-<IP_ADDRESS>-7d59f7f03fe8860bf4be7c1ac491e49f6393805181c3d97e5492597cefab6391.log
here is the log file in which it says apparently it has a conflict with Aeson
If anyone can help it would be great.

aeson <IP_ADDRESS> released yesterday and broke yaml <IP_ADDRESS> which uses unqualified imports. it was only that way for a few hours before yaml <IP_ADDRESS> was released which fixed it.


fix(connector): [noon] add validate psync reference

Type of Change

[X] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

add validate_psync_reference_id implementation for Noon as we can make a Psync using connector_request_reference_id and currently core is defaulting if connector_transaction_id is not present it fails the Psync.
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

[X] I formatted the code cargo +nightly fmt --all
[X] I addressed lints thrown by cargo clippy
[X] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

@SamraatBansal How did we not test this case while making changes for this PR
Link issues to the PR and add proper test cases


Would luci-app-statistics support collectd-mod-curl?

Hi everyone,
I'm interested in run collectd-mod-curl on OpenWRT.
I manually configured collectd-mod-curl, it works, and .rrd file appear on where I want.
But result doesn't appear on luci/Statistics/Graph.
After some research, I find it out, luci-app-statistics doesn't support collectd-mod-curl by now.
Is there any plan to support it?
If no, is it easy to implement? Can anybody guide me how to implement such a feature?
Thanks to all

luci-app-statistics doesn't support collectd-mod-curl by now.
Is there any plan to support it?

No.
You are the first one that has asked for it.

If no, is it easy to implement? Can anybody guide me how to implement such a feature?

Rather easy.
You just do similar edits as for e.g. cpufreq and apcups module:
https://github.com/openwrt/luci/commit/df3c8728b995026a6df13efaf9a782b486de9ec5#diff-64c154d89ea097b12be97c2bc71b09da
https://github.com/openwrt/luci/commit/808f2617931dcd6f84637e1bff3a737b9368917c#diff-64c154d89ea097b12be97c2bc71b09da
You can do the editing in a live router, and once you get things working, you can then transfer your modifications to the git repo and submit a pull request here, to get your code merged into the official repo.

@hnyman Thank you,
I'll have a try next weekend.

Hi @hnyman
I met a small problem, can you have a look?

In the first red box, I hope there should be '40 ms'. （the unit should be 'ms' not 'm')
And in the second red box, I hope there should be '30 ms'. (the value should x1000)
I can't find where to change them.
Below is my code by now.
-- statistics/rrdtool/definitions/curl.lua
module("luci.statistics.rrdtool.definitions.curl", package.seeall)

function rrdargs( graph, plugin, plugin_instance, dtype )
        return {
                title = "%H: cUrl Response Time for #%pi",
                y_min = "0",
                alt_autoscale_max = true,
                vlabel = "Response Time",
                number_format = "%5.1lfms",
                data = {
                        types = { "response_time" },
                        options = {
                                response_time = {
                                        title = ""
                                }
                        }
                }
        }
end

Thanks a lot

You are likely looking for "%5.1lf%Ss" or something similar.
https://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html#PRINT

%s
place this after %le, %lf or %lg. This will be replaced by the appropriate SI magnitude unit and the value will be scaled accordingly (123456 -> 123.456 k).
%S
is similar to %s. It does, however, use a previously defined magnitude unit. If there is no such unit yet, it tries to define one (just like %s) unless the value is zero, in which case the magnitude unit stays undefined. Thus, formatter strings using %S and no %s will all use the same magnitude unit except for zero values.

Hi @hnyman
Thank you for your help, I just send a PR.
I'm not familiar with OpenWRT development environment.
So I edit them in my router, and then copy it to repo.
I hope I do not miss something.
Please have a look.
Thanks

This was merged so I think we could close this issue / feature request


Cannot distribute iOS app, "ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty."

Because this uses Swift alongside ReactNative Objective-C project, Applle comes back with error "ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty." when you try to distribute your app.
Did anybody manage to solve this issue?
I am building both the project and the share extension with target iOS 13 and am using XCode 12.0.1

Update: This is what worked for me, although I am not sure if the app will pass Apple's review process yet:

in the Xcode -> Organizer window, after you create an archive, right-click on your new archive
press "Show in Finder"
right click on the archive in Finder
press "Show Package Contents"
delete the 'SwiftSupport' folder
6 Submit for distribution using the Organizer window

Reference:
https://stackoverflow.com/questions/59728413/invalid-swift-support-the-swiftsupport-folder-is-empty

Thanks for sharing what worked for you @LPitonakova - it just helped me 👍

glad I could help @rdewolff !

Thanks @LPitonakova . Your steps work for me


Create CHANGELOG.md

I really like https://keepachangelog.com/en/1.0.0/.
Thus, I moved the contents of Readme.md to CHANGELOG.md and refined it with the contents available at the GitHub tags.
Additionally linted Readme.md using https://github.com/DavidAnson/vscode-markdownlint

Coverage remained the same at 38.082% when pulling 483650581e7208c19405a8c7ef74d79972f2e0b2 on koppor:add-changelog.md into adeca650d61b59b68b44334b590516daaec64f88 on kermitt2:master.

Thank you @koppor ! Yes this is really nice, very good change. I will update a bit the changelog after merging.
(I have to say I really like the ADR too, and I will try to make some in the future).


[UI] meshmodel summary still uses white background in dark mode, hiding the heading as well

Current Behavior

Right now, if you enable dark mode and go to the meshmodel summary tab, it appears to use white background and that causes the heading(which is also in white) to be hidden. The report overall also looks out of place.
Desired Behavior

The background should be some shade of gray or black, which can be decided via discussion.
Screenshots/Logs

Environment

Browser: Firefox
Host OS: Linux
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@leecalcote if its alright, can I work on this?

According to the latest build the screen looks like this for me:

That's strange. May I ask what browser you are using @soham4abc ?

That's strange. May I ask what browser you are using @soham4abc ?

I am using Firefox in a Linux enviornment

I see. It may be a cache issue on my side. I'll try using chrome.

I still face this issue even on chromium. I double checked and my local branch is up to date. I guess there is some issue on my side. Just to be double sure, can you please share the commit checksum of your local branch? I will try changing HEAD for confirming this. @soham4abc.

@soham4abc in your screenshot you seem to be using v0.5.15, whereas the version on my repo is 0.6.59, which is the latest. Can you double check your branch? Sorry for disturbing.

I am currently in master branch and the latest commit is : 531a17a10c77444060fdffb558bc04456764a81b
@sidtohan

I am currently in master branch and the latest commit is : 531a17a
@sidtohan

Hmm so we are indeed on the same commit. But the version on yours is different(the website I mean, it shows something else). I am somewhat new here, so I wanna ask does that version(0.5.15) actually matter for the UI, or is it for something internal?

I am currently in master branch and the latest commit is : 531a17a
@sidtohan

Hmm so we are indeed on the same commit. But the version on yours is different(the website I mean, it shows something else). I am somewhat new here, so I wanna ask does that version(0.5.15) actually matter for the UI, or is it for something internal?
@leecalcote  Would you please look into this issue??

Mine is showing the latest build with the Dark Mode affecting the MeshModel summary.
My version is showing edge-latest from the Docker build.

I'm comparing the difference between master and tag v0.6.59 as there may be some differences.

@acald-creator it seems to have gotten fixed now. I suppose it was an issue on my side. I recently cloned my fork again and after making another static build it worked fine. Now, it works fine for both the UI dev server and the server, so I'd like to close this issue if it's alright with you.
Thanks.

Sure!


Kotlin Boolean fields duplicates

I use springfox-swagger-ui with 2.7.0 version.

It is a bug report.

I have a problem with Kotlin Boolean fiels with "is" prefix.
It shows "PROPERTY_NAME" and "IS_PROPERTY_NAME" at the same time in swagger-ui.html.

An example
data class TestDto(var isActive: Boolean, var running: Boolean)

swagger-ui show the following data
{
  "active": true,
  "isActive": true,
  "running": true
}

As you may see active field is dublicated.

@MaksimRT No, I haven't found a solution yet(
I think it could be caused by jackson.
Loot at the https://github.com/FasterXML/jackson-module-kotlin/pull/256 for more info.


Adding keybindings for sticky scroll

Adding keybindings for sticky scroll. The keybindings chosen are: control + alt + shift + S. Fixes #169107.

Thanks @Tyriar, I'll make this a draft pull request and bring it up in the UX sync this week :)


Add W/A to README of histogram sample to avoid some issues on GPU

Add W/A to README of histogram sample to avoid some issues on GPU
Signed-off-by: Sobolev, Dmitriy<EMAIL_ADDRESS>Description
The W/A has been added to be able to run the sample on GPU with L0 using oneAPI beta09.
Type of change

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Must be tested via the CI pipeline as the only possible breaking changes were to README.md file

Do not forget to remove it from the Readme when the issue is disappeared

@capatober - please take a look at your scripts as Linux failed to build

@JoeOster, I'm not familiar with this sample.
@JhaShweta1, since you are the author of this code could you please make changes in scripts according to the Readme?

Merging workaround.


Hard-wired discriminators

There are a couple of discriminators that are hard-wired in the code in makeDiscriminators() in VocabDsl.groovy. This includes two properties (token#pos and token#lemma) and three types (Chunk, Lookup and Matches).
Would it be useful to have a discriminator feature on the properties so we can define which ones are properties?
pos {
      type "String or URI"
      description "Part-of-speech tag associated with the token."
      discriminator true
}

I do not like this very much. Maybe it is better expressed in lapps.discriminators.
Some other remarks:

I think if Chunk is needed as a discriminator then we should add it to the vocabulary
Is it worth having Lookup in the vocabulary?
Matches needs a definition

Chunk and likely be removed and replaced with Region.
Lookup and Matches are added by GATE tools (OntoMatcher and Gazetteer if I remember correctly).  We should survey other similar tools and add vocabulary items that can be used by all of them.

All hard coded discriminator types have been removed from the DSL.
Properties can now set discriminator true (as suggested above) to have a discriminator generated for that property:
pos {
    ...
    discriminator true
}

Chunk, Lookup, and Matches are defined in the lapps.discriminator file so they will have discriminators defined, but will not appear in the vocabulary.
Matches still needs a definition.


Add silence logging option

Past silences are really important to postmortem our alert management operations.
We need to get "when" and "what kind of" create/edit/delete silences.
So this PR added optional function that logging silence change.

Can we have a distinction between the silences gossipped and the ones created in the current instance?

Can we have a distinction between the silences gossipped and the ones created in the current instance?

could you expand on this? like tag them with a string of some sort, or disable logging for one or the other?
so far I haven't adressed this in #4163 but if it's the former, that should be fairly simple to do.


Ingress gateways don't cleanly start up in Istio 1.18 and 1.19

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
This issue was first discovered WITHOUT canaries by simply upgrading the istio operator to 1.18.2 from 1.17.5.  All evidence supplied here was done after a revert to 1.7.5 with the aid of "canary" revisions to aid in duplication and forensics.
The simple 1.17.5 -> 1.18.2 upgrade was clean for all but one of the clusters.  The cluster that failed (and is very easy to duplicate this on) is "development" and sees much more pods than any of our production clusters as it hosts ~50 instances of our product at any given time (developer specific instances as well as CI/CD deployments / e2e testing).    When I started evaluating it had ~2k pods, ~5k secrets, etc.   I pruned a bunch to see if that would help (not yet) and is now, at evidence gathering, only running ~1k pods, 2820 secrets, etc
1.17.5 has no issue with this setup.  I was able to reproduce without issue, every time with 1.18.2 and 1.19.0 running as canaries + the gateway helm chart.
The 1.17.5 gateway responds immediately to a simple curl against 8080 and 8443.
The 1.18.2/1.19.0 never responds and you get a network timeout.
Observations.
1.17.5: Readiness succeeded in 9.300036057s
1.18.2: Readiness succeeded in 21.321706635s
1.18.2 passes kube readiness checks, but never actually permits traffic.  ALB healthchecks fail against this endpoint as well as the manual curl calls simulating that.  Both work against 1.17.5
warning	envoy config external/envoy/source/common/config/grpc_subscription_impl.cc:120	gRPC config: initial fetch timed out for type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret	thread=30

is unique to the 1.18/1.19 test attempts.   Starting Istio SDS Server
2023-09-06T23:32:52.922967Z	info	CA Endpoint istiod-1-18.istio-system.svc:15012, provider Citadel
2023-09-06T23:32:52.922952Z	info	Opening status port 15020
2023-09-06T23:32:52.922985Z	info	Using CA istiod-1-18.istio-system.svc:15012 cert with certs: var/run/secrets/istio/root-cert.pem
2023-09-06T23:32:52.937268Z	info	ads	All caches have been synced up in 2.022014479s, marking server ready
2023-09-06T23:32:52.937537Z	info	xdsproxy	Initializing with upstream address "istiod-1-18.istio-system.svc:15012" and cluster "Kubernetes"
2023-09-06T23:32:52.937555Z	info	sds	Starting SDS grpc server
2023-09-06T23:32:52.937862Z	info	starting Http service at <IP_ADDRESS>:15004
2023-09-06T23:32:52.939036Z	info	Pilot SAN: [istiod-1-18.istio-system.svc]
2023-09-06T23:32:52.939974Z	info	Starting proxy agent
2023-09-06T23:32:52.940009Z	info	starting
2023-09-06T23:32:52.940033Z	info	Envoy command: [-c etc/istio/proxy/envoy-rev.json --drain-time-s 45 --drain-strategy immediate --local-address-ip-version v4 --file-flush-interval-msec 1000 --disable-hot-restart --allow-unknown-static-fields --log-format %Y-%m-%dT%T.%fZ	%l	envoy %n %g:%#	%v	thread=%t -l warning --component-log-level misc:error --concurrency 32]
2023-09-06T23:32:53.173885Z	info	xdsproxy	connected to upstream XDS server: istiod-1-18.istio-system.svc:15012
2023-09-06T23:32:53.665509Z	info	cache	generated new workload certificate	latency=727.989291ms ttl=23h59m59.334505678s
2023-09-06T23:32:53.665554Z	info	cache	Root cert has changed, start rotating root cert
2023-09-06T23:32:53.665571Z	info	ads	XDS: Incremental Pushing:0 ConnectedEndpoints:0 Version:
2023-09-06T23:32:53.665612Z	info	cache	returned workload trust anchor from cache	ttl=23h59m59.334390074s
2023-09-06T23:32:54.460942Z	info	ads	ADS: new connection for node:gw-fulcrum-5df4bb78f9-kp9vn.istio-system-1
2023-09-06T23:32:54.461035Z	info	ads	ADS: new connection for node:gw-fulcrum-5df4bb78f9-kp9vn.istio-system-2
2023-09-06T23:32:54.461064Z	info	cache	returned workload trust anchor from cache	ttl=23h59m58.53894127s
2023-09-06T23:32:54.461114Z	info	cache	returned workload certificate from cache	ttl=23h59m58.538892744s
2023-09-06T23:32:54.461413Z	info	ads	SDS: PUSH request for node:gw-fulcrum-5df4bb78f9-kp9vn.istio-system resources:1 size:1.1kB resource:ROOTCA
2023-09-06T23:32:54.461415Z	info	ads	SDS: PUSH request for node:gw-fulcrum-5df4bb78f9-kp9vn.istio-system resources:1 size:4.0kB resource:default
2023-09-06T23:33:10.454645Z	warning	envoy config external/envoy/source/common/config/grpc_subscription_impl.cc:120	gRPC config: initial fetch timed out for type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret	thread=30
2023-09-06T23:33:12.232033Z	info	Readiness succeeded in 21.321706635s
2023-09-06T23:33:12.232426Z	info	Envoy proxy is ready

---
  values:
    revision: 1-18
    labels:
      app: istio-ingressgateway
      istio: ingressgateway
    service:
      # Type of service. Set to "None" to disable the service entirely
      type: ClusterIP
    tolerations:
    - key: "arch"
      operator: "Equal"
      value: "arm64"
      effect: "NoExecute"
    resources:
      limits:
        memory: 2Gi
        cpu: ~
      requests:
        cpu: 400m
        memory: 300Mi

Version
istioctl version
client version: 1.18.2
istiod version: 1.17.5
istiod version: 1.17.5
istiod version: 1.18.2
istiod version: 1.18.2
istiod version: 1.19.0
istiod version: 1.19.0
pilot version: 1.17.5
pilot version: 1.17.5
pilot version: 1.17.5
pilot version: 1.17.5
pilot version: 1.17.5
pilot version: 1.17.5
data plane version: 1.17.5 (500 proxies), 1.18.2 (103 proxies), 1.19.0 (17 proxies)

kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.3
Kustomize Version: v5.0.1
Server Version: v1.26.7-eks-2d98532

Additional Information
No response

Same issue -  istio-1.19.0

Looks like its failnig to fetch the certificate. Can you post a bug-report? Or at least the istiod logs where there will be an error message probably

I'll pull some logs from istiod, I didn't see anything obvious.  What should I be looking for?
Also, is this not a bug report?

istioctl bug-report dumps all the info to diagnose issues

Is there a private / secure place I can share the bug-report?

You can slack it to me, we don't have a private area to "general Istio
maintainers" though. My username is the same on slack
On Mon, Sep 11, 2023, 6:13 PM Trey Hyde @.***> wrote:

Is there a private / secure place I can share the bug-report?
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/46868#issuecomment-1714820901, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXLUG7GPT6KJLTR763LXZ6ZLJANCNFSM6AAAAAA4OB3GWI
.
You are receiving this because you commented.Message ID:
@.***>

Awesome, TIL about bug-report.  I'll send a slack when it is done.

So istiod-1-18-769c5c5d64-whgfl clearly always pushes SDS with 0 resources while the others push 1. This causes the timeout. Normally there is a message like proxy %s is not authorized to receive credscontroller. Ensure you are connecting over TLS port and are authenticated or similar if its filtered, I don't see this though. Looking into it

Ah nvm, found this: invalid certificates: "kubernetes://thefulcrumteam": certificate is expired or not yet valid.
Try setting VERIFY_SDS_CERTIFICATE=false in istiod env var.
Looking back on this change, IMO its wrong. We should send invalid certs

@hzxuzhonghu #37040

ah, this is some abandoned cert that we haven't used in years.  There is no Certificate RD for it but yup, there does appear to be stale secrets that are not in use.

... and I appear to be wrong, the gateways reference it.   Since ALBs don't validate certs, it has been working up until 1.18.

Can you verify if its expired or invalid? I assume expired?
I think our check that its valid is good, but expired is not

v:NotBefore: Sep 25 23:41:27 2021 GMT; NotAfter: Dec 24 23:41:26 2021 GMT
Very expired.
Istio clearly found a bug for us, it just wasn't super obvious.

Horrible idea.  Sort of worked previously because the only thing that connects (or has a network path) to this is an ALB and ALBs by design do not validate certs.

@hzxuzhonghu https://github.com/istio/istio/pull/37040

ACK


[Snyk] Upgrade style-loader from 0.12.4 to 0.23.1

Snyk has created this PR to upgrade style-loader from 0.12.4 to 0.23.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 23 versions ahead of your current version.

The recommended version was released on 6 years ago.

Release notes

Package name: style-loader

0.23.1 - 2018-10-082018-10-08
Bug Fixes

addStyles: support exports of transpiled transforms (options.transform) (#333) (33aebed)

0.23.0 - 2018-08-272018-08-27
Features

useable: add insertInto support (options.insertInto) (#341) (2588aca)

0.22.1 - 2018-08-082018-08-08
Bug Fixes

addStyles: use var instead of const (IE fix) (#338) (1ca12ab)

0.22.0 - 2018-08-072018-08-07
Bug Fixes

insertInto and insertAt collaboration (#325) (c7d8fec)

Features

add support for __webpack_nonce__ (#319) (fc24512)

0.21.0 - 2018-04-182018-04-18
Features

enable tag type configuration (#316) (892cba5)

0.20.3 - 2018-03-092018-03-09
Bug Fixes

package: update schema-utils v0.4.3...0.4.5 (dependencies) (#308) (9455888)

0.20.2 - 2018-02-152018-02-15
Bug Fixes

urls: skip empty url() handling (#304) (64f12dc)

0.20.1 - 2018-01-262018-01-26
Bug Fixes

index: source code indentation (#299) (b4642e7)

0.20.0 - 2018-01-262018-01-26
Bug Fixes

addStyles: check if HTMLIFrameElement exist (#296) (9b46128)
index: enable HMR in case locals (css-modules) are unchanged (#298) (3a4cb53)
options: add transform option validation ({String}) (23c3567)
options: support passing a {Function} (options.insertInto) (e0c4b19)

Features

support passing a {Function} (options.insertInto) (#279) (0eb8fe7)

0.19.1 - 2017-12-142017-12-14
Bug Fixes

addStyles: correctly check singleton behavior when {Boolean} (options.singleton) (#285) (2bfc93e)

0.19.0 - 2017-10-03

0.18.2 - 2017-06-05

0.18.1 - 2017-05-23

0.18.0 - 2017-05-22

0.17.0 - 2017-05-01

0.16.1 - 2017-03-28

0.16.0 - 2017-03-22

0.15.0 - 2017-03-21

0.14.1 - 2017-03-15

0.14.0 - 2017-03-15

0.13.2 - 2017-02-24

0.13.1 - 2016-03-24

0.13.0 - 2015-10-19

0.12.4 - 2015-09-16

    from style-loader GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Archipelo Digest
The branch digest for this pull request is being generated will be available at: https://app.archipelo.com/project/org_IbH0cHymyk0evY6l/834966279/branch/snyk-upgrade-0a7686817a234f4ab2479752059a550f/5


Create PasswordGen.py

A Random Password Generator by Python.

@pandyaved98
Your PR has been successfully merged Thank you so much for your valuable contribution. Do give a star to the repo if it helped you and check other repo too for more contributions. Keep hacking


Addition of mean_path selection

Currently, when applying mean subtraction during the training of a model, the user is only able to use the mean image or pixels from the dataset on which the model is being trained. This pull request adds the option of specifying a path to a protoblob file containing a different mean image.
This feature is useful when doing transfer learning: An already trained model is adapted for use with a new target dataset, but it is desired to maintain interoperability with the original source dataset. If the mean of the target dataset is significantly different from the source dataset, the performance of the new model on the source dataset will be needlessly negatively impacted by this discrepancy. By specifying the mean_path to be used for mean subtraction as the protoblob of the source dataset, the new model will still be applicable to the original source dataset.

Hi @djoubert, thanks for the contribution! We met at ICML, right?

At first glance, it doesn't look like this works for Torch
You'll need to send us a CLA before I can accept this

Hi Luke! No, I wasn't at ICML. You met my boss, Hannes Naude, he's asked me to handle the pull request.

I'll check how the mean_path should be used when working with Theano, and commit when I have a solution.
I've sent the CLA to<EMAIL_ADDRESS>let me know if you haven't received it, I'll send it again.

Very interesting observation on the usage of the mean wrt the transfer learning. I think it also makes sense just to have an option to not use mean images at all but just use our fixed [0:255] scale to [-1:1].
2. A bit of help for Torch.
Torch uses the file that's always called mean.jpg, a constant defined in contants.py#L10
Then if you'd be so kind, change a minor typo here: torch_train.py#L518 and torch_train.py#L523 to make the three usage of the mean similar again within the document.
filename = self.create_mean_file()
args.append('--mean=%s' % os.path.join(self.job_dir, constants.MEAN_FILE_IMAGE))

to
filename = self.create_mean_file()
args.append('--mean=%s' % filename)

This is because os.path.join(self.job_dir, constants.MEAN_FILE_IMAGE) is already done in the create_mean_file() function.
Now finally the only thing you have to do now is change the mean file that is used when needed at torch_train.py#L112, and maybe use the same function you have used in caffe_train.py. So therefore move up your function def get_mean_path(self): to the parent class train.py.

Thanks for the PR I think it's a nice feature. I suggest we add it to the generic path too.

I think it also makes sense just to have an option to not use mean images at all but just use our fixed [0:255] scale to [-1:1]

Good idea. This can be done with a Power layer in Caffe or a combination of nn.MulConstant and nn.AddConstant in Torch though.

Yes like you did in the LeNet standard network.
On Tuesday, 5 July 2016, Greg Heinrich<EMAIL_ADDRESS>wrote:

I think it also makes sense just to have an option to not use mean images
at all but just use our fixed [0:255] scale to [-1:1]
Good idea. This can be done with a Power layer in Caffe or a combination
of nn.MulConstant and nn.AddConstant in Torch though.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NVIDIA/DIGITS/pull/877#issuecomment-230422766, or mute
the thread
https://github.com/notifications/unsubscribe/AHXSRDhTFBCl5pnWnQxqHiNylx3acP7mks5qShuwgaJpZM4JB45h
.

I've moved the get_mean_path() function to the model jobs class, but now it falls over when trying to infer an image classification.
It seems than when "Classifying One Image", the pickle file of the model job is loaded, which then sets the dataset to None (model/job.py, line 42), which then prevents the get_mean_path() function from accessing the self.dataset.path().
Does anyone know why the pickle file needs to be loaded on an infererence task? Or why the dataset then needs to be cleared? I'm going to reload the dataset if it isn't available, but this feels like it's going to break something further down the line.
I think it would perhaps be easier if I just gave access to the fork for whoever wants to add to it. How would I go about doing so?

Does anyone know why the pickle file needs to be loaded on an infererence task? Or why the dataset then needs to be cleared?

We need to load the model job to figure out the network's input dimensions, the list of model snapshots, etc. The dataset field is cleared from the model job object to refrain from saving data that pertain to another job. If this doesn't sound too convoluted you may use the train task's dataset field, which should always point to the right thing. Admittedly, some clean-up would be useful (e.g. perhaps we should load the dataset automatically when loading a pickled model job instead of relying on the scheduler to do so).

I'm closing this due to inactivity. I'll treat this as a feature request with a partial implementation. We'll put it on our backlog.


Adding Profile picture of (Test) User

In the last paragraph of the Albums and Photos Wiki page, there is an explanation of how to add profile pictures of an user.
I tried to do that for a test user but there are not photo albums for that user:
user.albums # => []

just creating and album and uploading a picture works:
album = user.album!(:name => 'Profile Pictures')
album.photo!(
  :source => File.new(File.join(File.dirname(__FILE__), "..", "..", 'static', 'test_user_pic01.jpg'), 'rb')
)

However, that just creates an album with the picture in it (the profile picture stays empty).
I did not figure out, how to add an album that is the profile picture album. When I try to specifiy the type when creating the album I end up with an InvalidRequest error:
album = user.album!(:name => 'Profile Pictures', :type => 'profile')
album.photo!(
  :source => File.new(File.join(File.dirname(__FILE__), "..", "..", 'static', 'test_user_pic01.jpg'), 'rb')
)

Error:
OAuthException :: (#100) Invalid parameter (FbGraph::InvalidRequest)
      /home/leifg/prj/vendor/local/ruby/1.8/gems/fb_graph-2.2.5/lib/fb_graph/exception.rb:24:in `handle_httpclient_error'
      /home/leifg/prj/vendor/local/ruby/1.8/gems/fb_graph-2.2.5/lib/fb_graph/exception.rb:21:in `each'
      /home/leifg/prj/vendor/local/ruby/1.8/gems/fb_graph-2.2.5/lib/fb_graph/exception.rb:21:in `handle_httpclient_error'
      /home/leifg/prj/vendor/local/ruby/1.8/gems/fb_graph-2.2.5/lib/fb_graph/node.rb:150:in `handle_response'
      /home/leifg/prj/vendor/local/ruby/1.8/gems/fb_graph-2.2.5/lib/fb_graph/node.rb:54:in `post'
      /home/leifg/prj/vendor/local/ruby/1.8/gems/fb_graph-2.2.5/lib/fb_graph/connections/albums.rb:14:in `album!'

I assume that this behaviour is the same for "real" users. The problem is, that there is no profile pictures album.
Is there any way to create the profile pictures album when it is not already there?

I don't know the way to set a photo to a user's profile picture via Graph API.
I think you have to let the user do so manually on facebook.com.


Pagination doesn't work well when there are pages in 'pages' folder

What version of Hugo are you using (hugo version)?
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66 windows/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio
Does this issue reproduce with the latest release?
Yes
When placing pages in the folder content\pages, the pagination from the home page doesn't well work for me. More specifically, the filtering doesn't work. I can't filter to just posts or just pages for example. The reason I believe is that when clicking on the 2nd, 3rd, 4th... pages the url becomes /pages/1/, /pages/2/, etc.  and since I have a pages folder inside content, another layout takes over.
When renaming the folder to anything else, the issue resolves but it took me a long time to find the root cause.

I am unable to reproduce the problem. Here's a minimal example:
git clone --single-branch -b hugo-github-issue-10171 https://github.com/jmooring/hugo-testing hugo-github-issue-10171
cd hugo-github-issue-10171
hugo server

I wasn't able to reproduce on that repo either. Tried to copy everything possible from my project but doesn't reproduce. I'll close for now and play a little more. I'll reopen if I'm able to reproduce.


fix: DEV-2546: Add setup test

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4f6667d). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master    #125   +/-   ##
========================================
  Coverage          ?   2.03%
========================================
  Files             ?       8
  Lines             ?     787
  Branches          ?       0
========================================
  Hits              ?      16
  Misses            ?     771
  Partials          ?       0

Continue to review full report at Codecov.

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


Update Cosmos DB Management to 01-15

All SDK Contribution checklist:
Based on this Swagger spec version 01-15 https://github.com/Azure/azure-rest-api-specs/pull/12261
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[X] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[X] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[X] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[X] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.
If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version,

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

Hi @allenjzhang Please take a look at this PR when you have the chance!
It is just failing the build check with "Discrepancy detected between generated code in PR and reference generation." in one file: Generated/Models/BackupPolicy.cs where my version has Newtonsoft.Json but the pipeline's version doesn't. I generated the code using generate.ps1 but I am still seeing this difference. Please let me know if I should manually make the change to the file to pass the check. Thanks!

/azp run net - mgmt - ci


6/22 Publish

Docs Build status updates of commit 6149c92:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/index.yml
:warning:Warning
View
Details

rd/toc.yml
:warning:Warning
View
Details

rd/andrey-ivashentsev.yml
:white_check_mark:Succeeded
View

rd/index.yml

Line 14, Column 8: [Warning: file-not-found - See documentation] Invalid file link: './map.yml'.

rd/toc.yml

Line 8, Column 10: [Warning: missing-attribute] Missing required attribute: 'name'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Parallelize build and tests

These changes enable project level and test level parallelization to the build and test process. I'd like to see benchmarks of these changes from at least one other person. Below is the timing on my MacBook.
# This commit
$ git checkout ff745ba7cf1beb949b05e63c9b4c5dc176e839c9
$ ./gradlew clean test
...
Total time: 1 mins 35.234 secs

# Previous commit
$ git checkout develop
$ ./gradlew clean test
...
Total time: 1 mins 17.313 secs

The times vary a bit each time, but the old one is consistently faster. I'd like to see if this is just my machine acting up or if you see a similar pattern.

develop:
Total time: 1 mins 39.297 secs
Total time: 1 mins 28.747 secs
travis:
Total time: 1 mins 29.158 secs
Total time: 1 mins 24.598 secs
Looks like travis branch is slightly faster for me.

On the server Duga is running on: (Ubuntu, dual core)
develop:
Total time: 1 mins 28.428 secs
Total time: 1 mins 28.385 secs
travis:
Total time: 1 mins 39.103 secs
Total time: 1 mins 39.823 secs
Ironically, it looks like develop is slightly slower there. Quite small differences though.

This is a dual core machine as well. I guess the parallel builds scale better with more cores.


Add the ability to set reconnection attempts

Optional: add in top of config.yml reconnectionAttempts, possible values is integer or Infinity default: 10 attempts

@ivolnistov, it's a good idea, some people already asked for infinite retries, but I think we should add the ability to also customize the delay, what do you think?

Dunno, reconnectionAttempts was critical for me, because I have many TVs on different floors, and when I update the image of the dockers, all of them end up trying to reconnect.I think 10sec good timeout for reconnection interval, but someone may have another opinion )

I see, let's stick with your actual need, and if someone needs further customization, we'll see :)

I'll let you know when I publish a new release of @mozaik/ui

And of course, thank you for your contribution!