Mac OS will not sync KBFS after resetting Keybase

Keybase GUI Version: 3.2.2-20190412030505+5262f90fd9
Hello...  Today I decided to reset my keys and start from scratch.
Now my Keybase public folder will not sync with the KBFS folder on my Mac OS, and I cannot add or delete any of the files; however, the old files before my reset are still there. Any help would be greatly appreciated.
https://keybase.io/ellisle

If you do a keybase log send, and post the resulting ID here, I can take a look.

Thank you, Jeremy. My log ID is:
b36f204d2b84aecd67cc7e1c
I really appreciate your help. The sync has been glitchy after trying to upload another file. Earlier this week, I ordered new business cards at work with my Keybase address on it, so I am really hoping to sort out this issue... especially as I am trying to convert research labs at my school to start using Keybase. Thanks once again!

@ellis-lee I don't see anything wrong in your logs.  When I go to your public folder /keybase/public/ellislee and to https://keybase.pub/ellislee I see the same, one file from April 15th:
$ ls -l /keybase/public/ellislee
total 101
-r-------- 1 strib root 102753 Apr 15 17:40 'GIST Honor Code.pdf'

Is that correct, or is that the old file from before your reset?
(Note that your keybase.io link in your first post has a typo, it's missing the last "e".)

@strib - That is the correct file that I uploaded after the reset.
However, sometimes the correct file shows up and sometime it does not in a web browser. Here are some screen grabs off of my phone this morning while re-loading the page (with time intervals):

It just seems like  a glitch that has been plaguing me after the reset. Whether or not that this particular issue can be fixed or not, I am just happy that my public folder is syncing again. Thanks for all of your help and assistance!
Yes, I did forget the last 'e' in my keybase link, but I also did qualify myself as being an idiot!
Have a good weekend!

Ah ok.  Likely we need to cycle out some of our keybase.pub instances, there must be some leftover from before you reset and they're experiencing some bug.  I'll try to get that done in the morning.  Good weekend to you too!

Thanks... the beers will be on me if you ever find yourself in Korea!!


Please take down this repo

This repo contains proprietary source code from Adlumin, Inc. Please take it down immediately.

I'm just trying to make a docker so customers can more easily use your product. The only code pulled is from the log forwarder VM which is available to anyone with a demo of adlumin.
I will go ahead and take this down however as per your request under one condition, you likely have me on teams or slack as Brian Grant from N-able<EMAIL_ADDRESS>Please contact me on there to verify you are actually from adlumin as you are posting from a brand new account with no history there is no reason for me to believe you are actually from adlumin otherwise.

I can confirm that I am from Adlumin. I tried contacting you via your N-able email but received no response.
[cid:9300a9de-578b-4c69-b4e6-3d34ac0892a0]      Dan McQuade
Chief Technology Officer
(202) 235-0505
<EMAIL_ADDRESS>
From: RumenBlack84 @.>
Sent: Friday, July 5, 2024 9:10 AM
To: RumenBlack84/adlumin-forwarder-docker @.>
Cc: Dan McQuade @.>; Author @.>
Subject: Re: [RumenBlack84/adlumin-forwarder-docker] Please take down this repo (Issue #1)
I'm just trying to make a docker so customers can more easily use your product. The only code pulled is from the log forwarder VM which is available to anyone with a demo of adlumin.
I will go ahead and take this down however as per your request under one condition, you likely have me on teams or slack as Brian Grant from N-able<EMAIL_ADDRESS>Please contact me on there to verify you are actually from adlumin as you are posting from a brand new account with no history there is no reason for me to believe you are actually from adlumin otherwise.
—
Reply to this email directly, view it on GitHubhttps://github.com/RumenBlack84/adlumin-forwarder-docker/issues/1#issuecomment-2210852695, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFX2LN7SZGRRZT35B2O6PVLZK2LM7AVCNFSM6AAAAABKMCZUKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQHA2TENRZGU.
You are receiving this because you authored the thread.Message ID: @.***>

Just got in for the morning, I can confirm I have your e-mail I will go ahead and take down this repo. We can discuss further privately through e-mail if you'd like.


Add ability to control browser storage

Pull request
Proposed changes
Add _WD_Storage function to allow manipulation of localStorage and sessionStorage
Checklist
Put an x in the boxes that apply. If you're unsure about any of them, don't hesitate to ask. We are here to help!
This is simply a reminder of what we are going to look for before merging your code.

[x] I have read and noticed the CODE OF CONDUCT document
[x] I have read and noticed the CONTRIBUTING document
[ ] I have added necessary documentation or screenshots (if appropriate)

Types of changes
Please check x the type of change your PR introduces:

[ ] Bugfix (change which fixes an issue)
[x] Feature (change which adds functionality)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (functional, structural)
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?
No simple way to access browser storage
What is the new behavior?
UDF to control access to browser storage
Additional context
Tested with variations of this code --
Func UserTesting() ; here you can replace the code to test your stuff before you ask on the forum
    _WD_Navigate($sSession, 'https://www.google.com')
    _WD_LoadWait($sSession)

    $sResult = _WD_Storage($sSession, 'testing', '123')
    ;### Debug CONSOLE ↓↓↓
    ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $sResult = ' & IsKeyword($sResult) & @CRLF & '>Error code: ' & @error & @CRLF)
    $sResult = _WD_Storage($sSession, 0)
    ;### Debug CONSOLE ↓↓↓
    ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $sResult = ' & $sResult & @CRLF & '>Error code: ' & @error & @CRLF)
    $sResult = _WD_Storage($sSession, 'testing')
    ;### Debug CONSOLE ↓↓↓
    ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $sResult = ' & $sResult & @CRLF & '>Error code: ' & @error & @CRLF)
    ;~ $sResult = _WD_Storage($sSession, 'testing', Null)
    ;~ $sResult = _WD_Storage($sSession, 'testing')
    ;~ $sResult = _WD_Storage($sSession, Null)

EndFunc   ;==>UserTesting

System under test
Please complete the following information.

OS: [e.g. Windows 10]
OS Arch.: [e.g. X64]
Browser [e.g. firefox]
Browser version [e.g. 96.0.3]

something is wrong with code formating in yours example:

I just proposed some code to be merged here:
https://github.com/Danp2/au3WebDriver/pull/337

As for me this code is fine.


robots.txt Indexing #IMPORTANT

How do I rejects any indexing from search engines on a self hosted instance ruuning on docker=

You could fork calcom/cal.com and edit robots.txt https://github.com/calcom/cal.com/blob/main/apps/web/public/robots.txt then build your own image.

Yes I can map a robots.txt into the container also, but would be nice to just have a security settings to set your robots.txt in the GUI as its a basic privacy setting which should not require building a own image or mapping some file into your docker container.


Add compatibility with azure mlm

This pull request primarily focuses on improving the Orchestrator class in the autogen/agentchat/contrib/orchestrator.py file and updating the configuration management in various sample applications. The most significant changes include the addition of a new parameter response_format_is_supported in the Orchestrator class, the introduction of a retry mechanism for creating JSON responses, and changes to the way configuration lists are handled in the ConfigManager class.
Changes to the Orchestrator class:

autogen/agentchat/contrib/orchestrator.py: Added a new parameter response_format_is_supported in the __init__ method of the Orchestrator class. This parameter is used to check if the response format is supported before creating a JSON response. [1] [2]
autogen/agentchat/contrib/orchestrator.py: Introduced a new method _create_with_retry which attempts to create a JSON response up to a maximum number of tries. If the response format is not supported and "response_format" is in the arguments, it is removed before creating the response.
autogen/agentchat/contrib/orchestrator.py: Replaced the client.create method with the _create_with_retry method in the run_chat method of the Orchestrator class. [1] [2]

Changes to the ConfigManager class and sample applications:

samples/apps/try_orc/config_manager.py: Modified the _get_config_list method to raise an exception if the config_path_or_env argument is None and the "OPENAI_API_KEY" environment variable is not set. Also, the function now raises an exception if there's an error loading the config list from the provided path or environment variable.
Various sample applications: Updated the initialization of the ConfigManager class to use a config_list variable instead of the default "OAI_CONFIG_LIST". Also, the llm_config attribute of the ConfigManager class is replaced with either mlm_config or llm_config of the config object in various places. [1] [2] [3] [4] [5] [6] [7]

Changes to the Orchestrator class in sample applications:

Various sample applications: Updated the initialization of the Orchestrator class to use the mlm_config or llm_config attribute of the config object instead of the llm_config attribute of the ConfigManager class. Also, a new parameter response_format_is_supported is added in some cases. [1] [2]

Thanks. I can think of a few places in the future where we might want this JSON retry logic.

Yeah I was trying to make it drop in replacement. Let me know if you have suggestions to improve it. I also think we could make it output json code blocks and extract it. I think models defaults to that and is good at that.


Replace Themekit with Slate Sync

Problem
Slate has always relied on it's sister project, Themekit, to connect to the Shopify Theme and Asset API.
For the most part, this partnership has worked out well since the two projects overlap in very few ways.
Slate handles the overall development workflow and tooling around building a Shopify Theme, and Themekit uploads that theme to Shopify servers.
The biggest problem we have with Themekit is that it is written in Go. The maintainers of Slate, and majority of Slate users are not familiar with the Go language. This means that any feature requests, bugs, or clarifications need to be performed by Themekit's maintainer, @tanema. This makes Themekit a pretty large liability to Slate. If something were to happen and Themekit's maintainer was unavailable, the Slate project would suffer.
Solution
@davidcornu opened a PR which was the start of replacing Themekit with a pure JS implementation. Let's continue to build off of this and merge it into the packages/slate-sync folder.
More information
Related https://github.com/Shopify/slate/issues/403 https://github.com/Shopify/slate/issues/328 https://github.com/Shopify/slate/issues/255

@t-kelly Hi Thomas, thanks for your continued work on this, seriously we all appreciate it. How I got to this page was by following your Related links, originally starting from and then redirecting down the chain:

https://github.com/Shopify/slate-tools/issues/40
https://github.com/Shopify/slate/issues/229
https://github.com/Shopify/slate/issues/403

I remember Tim from Theme Kit actually moved away from the theme.lock in the most recent versions of theme kit and a lot of people weren't sure why. I'm sure he had a reason for doing so, but everyone that I know that used Theme Kit are still using 0.7.5 and it works really well for them (us). I think if Slate had the ability to have the .lock (regardless of which way) and the ability to only deploy single files similar to Theme Watch, it would make this libarary absolutely amazing. I'm trying to plan out infrastructure for 2019, and wanted to ask if you think this will be possible? Thanks again!


Upgrade dependencies

This bumps all the dependencies to their latest published versions (as of Jan 31, 2017) and fixes up the export lists. I'm using this modified Batteries in a personal project so that it doesn't conflict with my other dependencies.
There are a lot of changes, and I did not exhaustively update all of the export lists (it's possible new functions were introduced that I didn't add, for example), but I performed the updates required to get it building again.

Wow, looks great! Thanks for going through all this trouble. If the build is happy, I'm happy and I'll release a new version.

Should be available as 0.7.0 once the build finishes. Thanks again!


Req. 0.2.2. Create db-client

DB Client should connect to OrientDB using a config file (Req. 0.2.1).

Added at 8cf48b18f6d233eebe6caec94c39fb290e6b92cb


Add/fix rule for field/method/inner class/record/enum order to checkstyle

Currently, it seems that checkstyle isn't checking method ordering, or has very relaxed checks, allowing constructors to not be the first methods and inner classes/records/enums to not be last.
We should add or fix existing rules to make sure that there is consistency in the ordering of fields, methods and classes/records/enums.

@JChrist could you please also assign a size bucket, so it can be prioritized accordingly?


Use switch instead of if(...) else if(...) in TimerGraph.

This changes the switch over the different timer types from
an if(...) else if(...) construct to a switch statement,
which makes the code more readable and error prone (we will fail
if we miss a case).
Also it avoids having a "default" case (as present before) to
make the code more robust by explicitly stating the expected
case.
Test: Compile

Thanks for the review and the test. I found the issue, fixed it (the way it was before) and created a bug for a proper fix in the future.

Thanks for the review and the test. I found the issue, fixed it (the way it was before) and created a bug for a proper fix in the future.


timeZoneAbbreviation date parseing issue

if your browser returns (new Date()).toString() in following format "Fri Feb 10 2017 11:05:49 GMT+0100", timeZoneAbbreviation will throw "Uncaught TypeError: Cannot read property 'slice' of undefined"
To fix this issue you should replace this line:
formattedStr = ((ref = date.split('(')[1]) !== null ? ref.slice(0, -1) : 0) || date.split(' ');
with the following:
formattedStr = ((ref = date.split("(")[1]) ? ref.slice(0, -1) : 0) || date.split(" ");

looks like duplicate of https://github.com/smalot/bootstrap-datetimepicker/issues/621


The user should be able to view the reviews

Steps To reproduce--
1. log in as a user
2. Click on reviews inside profile on the top right corner
Actual result: The user is not able to view the reviews. Please find the below screenshot.
Expected result: The user should be able to view the reviews

@devansh-webkul
Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot for future reference.


[Airbrake] [Production] [object Object]

Airbrake error: #6013
Airbrake project: datanator_frontend
Error type: **Error message:** [object Object] ``
Where: <no information>
Occurred at: Jun 19, 2020 19:01:16 UTC
First seen at: Jun 19, 2020 19:01:16 UTC
Occurrences: 0 (0 since last deploy on Jun 17, 2020 16:59:21 UTC)
Severity: error
URL: http://localhost/
File<EMAIL_ADDRESS>Backtrace:
/home/circleci/project/node_modules/@airbrake/browser/src/notifier.ts:111:in Notifier.notify
/home/circleci/project/src/services/RestApi.js:50:in

Comment from Airbrake: Resolved error reoccurred.


turn sound samples to .aif or .pcm and turn music/sounds to MIDI

similar to that pokeemerald decomp

and the MIDI files are converted using midi2agb (https://github.com/ipatix/midi2agb)

On the todo list, will try to tackle it myself (if it hasn't already been done before) after the full codebase cleanup

I modified the sound extractor for fusion to extract sound data there, but didn't put the sound data in the repo pre-extracted

you can find it in my fork of mf decomp where i also decomped skree and owtch


Matrix-kernel

[X] I added an entry to CHANGELOG.md if knowledge of this change could be valuable to users.

Here is a brief summary of what I did:
Added  a raster kernel operator that works with matrix kernels (e.g. Sobel filter) and standard deviation, which is needed for the RESPECT project.

bors merge

bors merge

bors merge


fix: dlp samples

Refactors out ExponentialBackoffTrait
Separates tests
Creates a new Pub/Sub topic each test run

Tests are failing still in REST, but are passing for gRPC. Merging this because it at least fixes some of the tests.


fix: duration json type parsing fix

What was changed
Added ability to parse DurationJsonType instance.
Why?
It no longer works, and if you need to pass it around to other services or save ActivityOptions somewhere, stuff breaks. I've made this as a check, so it should be BC, and messages using older format shouldn't fail during deployment.

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

Any ideas when this could be merged? :pleading_face:

Could you add a test case?

I cannot offer you tests, as they're functional and integrated within our system, but this snippet is basically already a test, just needs an assertion.
Without the code updated this will throw InvalidArgumentException
$type = new \Temporal\Internal\Marshaller\Type\DurationJsonType(new class implements \Temporal\Internal\Marshaller\MarshallerInterface
{
    public function marshal(object $from): mixed
    {
        return null;
    }

    public function unmarshal(array $from, object $to): object
    {
        return new \stdClass();
    }
});

$type->parse($type->serialize(1), null);

Got a few free minutes, added a test :) without the fix it fails

Do you need the ability to unmarshal ActivityOptions from the old JSON structure?

You saying where are more changes? I think only intervals changed
Here's the JSON payload exmple from 2.7.*
{
    "TaskQueueName": "test_queue",
    "ScheduleToCloseTimeout": 0,
    "ScheduleToStartTimeout": 0,
    "StartToCloseTimeout":<PHONE_NUMBER>,
    "HeartbeatTimeout": 0,
    "WaitForCancellation": false,
    "ActivityID": "",
    "RetryPolicy": {
        "initial_interval": 0,
        "backoff_coefficient": 1,
        "maximum_interval": 0,
        "maximum_attempts": 4,
        "non_retryable_error_types": []
    }
}

Here is 2.8
{
    "TaskQueueName": "test_queue",
    "ScheduleToCloseTimeout": 0,
    "ScheduleToStartTimeout": 0,
    "StartToCloseTimeout":<PHONE_NUMBER>,
    "HeartbeatTimeout": 0,
    "WaitForCancellation": false,
    "ActivityID": "",
    "RetryPolicy": {
        "initial_interval": {
            "seconds": 0,
            "nanos": 0
        },
        "backoff_coefficient": 1,
        "maximum_interval": {
            "seconds": 0,
            "nanos": 0
        },
        "maximum_attempts": 4,
        "non_retryable_error_types": []
    }
}

It should be nanoseconds, right?
        "initial_interval": 0,
        "maximum_interval": 0,

It should be nanoseconds, right?
        "initial_interval": 0,
        "maximum_interval": 0,

Yes the old format is in nanoseconds


Unexpected indendation is reporting non-existent issues (Android project)

Lint error > src/main/java/com/MyClass.kt:24:9: Unexpected indentation (expected 4, actual 8)

// Class names obfuscated
class MyClass internal constructor(
        private val sharedPreferences: SharedPreferences // there are 8 spaces here
) : IMyClass {

The 8 spaces are required for continuation indents by the Android Kotlin Style Guide.

@autonomousapps see https://github.com/shyiko/ktlint/pull/134#issuecomment-369021113

Cool. I'll update my IDE settings to reflect this and awaaaay I go. Thanks!

Although, I will note that I tried this, and it accomplished nothing:
kotlinter {
    indentSize = 4
    continuationIndentSize = 8
}

Am I doing it wrong? :)

Thanks for the help-out @shyiko
@autonomousapps I'll look into it. The expectation was that continuationIndentSize ought to have been applicable to the parameter list indent, correct?

Parameters use single indent per
https://kotlinlang.org/docs/reference/coding-conventions.html#class-header-formatting and
https://github.com/android/kotlin-guides/pull/42 (not yet merged in gh-pages).

Now it's yelling at me about another indentation issue.

Lint error > src/main/java/com/login/LoginViewModel.kt:34:1: Unexpected indentation (12) (it should be 16)

    fun onLoginRequested(credentials: LoginCredentials) {
        loginManager.login(credentials)
            .disposeOnCleared() // 12 spaces indentation
            .observeOn(mainThread)
            .subscribe({
                Logger.i(TAG, "Successful login. loginData = $it")
                loginState.value = true
            }, { t ->
                Logger.e(TAG, t, "Error logging in: ${t.localizedMessage}")
                // TODO tell view about errors
                loginState.value = false
            })
    }

I can't control continuation indents for constructors and method calls independently. So if I set my IDE to use 4, it uses 4 everywhere. SIGH.

Thanks for the info. That is interesting that style guide special cases class (primary) constructor parameters as regular indents but continuation indents for secondary constructors and function calls.
I get their rationale, but IntelliJ's Kotlin formatter treats the primary constructor parameters as continuation indent. I wonder if someone ought to file a bug against JetBrains since they aren't in internal agreement.

And I've also noticed that kotlinter's default continuationIndentSize of 8 is out of date with the new standard. I'll change it and push a new release.
Now that the default will be 4 and 4 I guess the discrepancy with IntelliJ will not be troublesome.

On your latest code example, (onLoginRequested()) it's pointing out that you should have the continuation indent of 8 there instead of the 4 extra you have. I'm assuming you still have continuationIndentSize = 8 in that case.

@autonomousapps let me know if there's anything else I can do to help. Otherwise can we resolve the issue?

@autonomousapps Please take a look at my setup for Kotlin plugin. Pay attention that "use continuation indent" is checked only for: "Method call arguments", "Chained method calls" and "expression body functions".
@jeremymailen continuation indent for android is still 8, not 4. (source)

@jeremymailen actually, I had removed the kotlinter {} block, so it was using the default of 8 for continuationIndentSize. However, if I put the block back and specify that it should be 4, then I get a successful build. Of course, this is contrary to the current advice in the style guide, which I think still specifies 8 spaces for continuation indents (unless they're primary constructor params?!).
The issue seems to be that IntelliJ doesn't let me specify those two cases individually. But frankly, I am ok with using a continuation indent of 4. The value of the tool outweighs such minor concerns.
PS @MyDogTom thanks for that advice! I'll consider doing that, instead.
Now that I have two options two deal with this, I fully consider the issue resolved. Thanks, everyone!


improve escrow-dashboard ui

Hide MyHMT button because it is in WIP.
Fixed all margins/paddings and icons on escrow-dashboard home page
Add bottom border at networks tab.
Fixed the tooltip for the stacked bar chart.
Fixed tick styles for all bar charts.
Fixed the leaderboard table styles.

Here's the figma link - https://www.figma.com/file/u81GKebVavmQW8zGHb5Jgo/Dashboards---Everything-Apps?type=design&node-id=1392-14794&t=iBTAgCuWP674hqxt-0

@m00n620 please add info about the changes to be implemented or a figma design

Updated the description with Figma link, @portuu3

When I swithc the network and metamask is connected it asks for approval in metamask. Also you are missing the see more button  Time period selector missing in barcharts

I think we need to ask users to change his network on metamask because he will do make transactions later
we don't need See More button for token view because we don't have any detail pages for tokens
time period selector will be done in separate branch
@portuu3

I think we need to ask users to change his network on metamask because he will do make transactions later

I mean with this network selector

should it look like this?


We're facing more issues. We have been unable to get this thing up and running in over a week.

We're facing more issues. We have been unable to get this thing up and running in over a week.
Our latest error is:
ValueError: Could not deserialize key data.
ERROR:    Unable to import dispatch.plugins.dispatch_google.groups.plugin.GoogleGroupParticipantGroupPlugin. Reason: Could not deserialize key data.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/dispatch/common/managers.py", line 61, in all
results.append(cls())
File "/usr/local/lib/python3.8/site-packages/dispatch/plugins/dispatch_google/groups/plugin.py", line 122, in init
self.client = get_service("admin", "directory_v1", scopes)
File "/usr/local/lib/python3.8/site-packages/dispatch/plugins/dispatch_google/common.py", line 39, in get_service
credentials = service_account.Credentials.from_service_account_file(
File "/usr/local/lib/python3.8/site-packages/google/oauth2/service_account.py", line 217, in from_service_account_file
info, signer = _service_account_info.from_filename(
File "/usr/local/lib/python3.8/site-packages/google/auth/_service_account_info.py", line 74, in from_filename
return data, from_dict(data, require=require)
File "/usr/local/lib/python3.8/site-packages/google/auth/_service_account_info.py", line 55, in from_dict
signer = crypt.RSASigner.from_service_account_info(data)
File "/usr/local/lib/python3.8/site-packages/google/auth/crypt/base.py", line 113, in from_service_account_info
return cls.from_string(
File "/usr/local/lib/python3.8/site-packages/google/auth/crypt/_cryptography_rsa.py", line 146, in from_string
private_key = serialization.load_pem_private_key(
File "/usr/local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 16, in load_pem_private_key
return backend.load_pem_private_key(data, password)
File "/usr/local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1085, in load_pem_private_key
return self._load_key(
File "/usr/local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1315, in _load_key
self._handle_key_loading_error()
File "/usr/local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1373, in _handle_key_loading_error
raise ValueError("Could not deserialize key data.")
ValueError: Could not deserialize key data.
INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
We're using the Google PEM file, and we've tried several variations: with new-lines, without, base64ed, etc. But we cannot launch this thing.
Can we get a full working .env file so we can back-trace the config from there and figure this out? The current documentation is not very helpful.
Originally posted by @ayush-sharma in https://github.com/Netflix/dispatch/issues/55#issuecomment-599932229

@ayush-sharma If you take a look at:
https://github.com/Netflix/dispatch/blob/develop/src/dispatch/plugins/dispatch_google/common.py#L29
We're not doing anything particularly special with those credentials, you should be able to copy whatever string google gives you for a PEM and be on your way. Essentially the above code simply re-writes the google service account json file dynamically based on the config options.

had the same issue. Got it working by setting it like this in .env file:
GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY=-----BEGIN PRIVATE KEY-----\nMIIEv........hCK2K8g==\n-----END PRIVATE KEY-----
key points:

no quotation marks
pasted as one line with all the \n's
removed last \n (not sure if that really helps, but not gonna touch it :) )

error 403:
web_1       | ----------------------------------
web_1       | Traceback (most recent call last):
web_1       |   File "/usr/local/lib/python3.8/site-packages/dispatch/plugins/dispatch_google/groups/plugin.py", line 31, in make_call
web_1       |     data = getattr(client, func)(**kwargs).execute()
web_1       |   File "/usr/local/lib/python3.8/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
web_1       |     return wrapped(*args, **kwargs)
web_1       |   File "/usr/local/lib/python3.8/site-packages/googleapiclient/http.py", line 898, in execute
web_1       |     raise HttpError(resp, content, uri=self.uri)
web_1       | googleapiclient.errors.HttpError: <HttpError 403 when requesting https://www.googleapis.com/admin/directory/v1/groups?key=xxxxxxxxx&alt=json returned "Not Authorized to access this resource/api">
web_1       |
web_1       | During handling of the above exception, another exception occurred:
web_1       |
web_1       | Traceback (most recent call last):
web_1       |   File "/usr/local/lib/python3.8/site-packages/tenacity/__init__.py", line 394, in call
web_1       |     result = fn(*args, **kwargs)
web_1       |   File "/usr/local/lib/python3.8/site-packages/dispatch/plugins/dispatch_google/groups/plugin.py", line 43, in make_call
web_1       |     raise TryAgain
web_1       | tenacity.TryAgain


Document our release history

Document our release history

A folder was created and all release history has been documented in folder.


How to set custom args for dynamic fanout based on output of last step

Hi. Thanks for the amazing library.
I'm having a use case where each task are just container task. Assuming we have this first generate task, that pump out to stdout some JSON output like this:
["a", "b", "c"]

And then dynamic fanout create 3 task to run in parallel. Since all task are just container task, a way to parse in output from the last task can be via cli arguments, so each dynamically created task should have this kind of arg
--name a # for sub task 1
--name b # for sub task 2
--name c # for sub task 3

How can I do this with hera-workflows ? Thanks!

Hello again @lamhoangtung! Thanks for the question :) for containers I believe you might have to do the parameter inference yourself. Something like --name {{inputs.parameters.value}} might work? Perhaps this might help!

Thanks for helping @flaviuvadan. That worked ! Here is an working example script:
from hera import (
    InputFrom,
    MultiInput,
    OutputPathParameter,
    Task,
    Workflow,
    WorkflowService,
)

def generate():
    import json
    import sys

    # this can be anything! e.g fetch from some API, then in parallel process all entities; chunk database records
    # and process them in parallel, etc.
    json.dump([{"value": i} for i in range(10)], sys.stdout)

def fanout(value: int):
    print(f"Received value: {value}!")
    with open("/tmp/number", "w") as f:
        f.write(str(value))

with Workflow(
    "dynamic-fanout-arg",
    service=WorkflowService(host='https://localhost:2746', token=""),
    namespace="argo"
) as w:
    generate_task = Task("generate", generate)
    fanout_task = Task(
        "fanout",
        input_from=InputFrom("generate", ["value"]),
        image="alpine:latest",
        command=["echo"],
        args=["{{inputs.parameters.value}}"],
    )

    generate_task >> fanout_task

w.create()

@lamhoangtung would you like to open a PR with the example explaining fanout + containers? 🙂

Sure I just did. Can you take a look @flaviuvadan ?


Fix Matrix links

Following resources already use the Matrix link:

Belgium (see #375)
Germany: de-matrix.json
Peru: OSM-PE-matrix.json
Latam: latam-matrix.json

Germany Matrix link could be replaced by short version for consistency (ping @duncanturk)
Close #366

Cool, thanks @jbelien 👍


Add dependabot

Add a dependabot github action workflow  to ensure we are up to date with the latest versions.

@nsiwnf I've started poking around at this and I'm a little confused. My understanding is that dependabot already will open PRs when vulnerabilities are detected or dependencies are out of date. The change in the link you provided would give us extra metadata about the open PR, is that right? I'm not sure that we need it or what benefit the metadata gets us.

We have to add the dependabot yml to configure how often it runs and what packages to check (rails, npm etc) - as of right now, it will not open any PRs

Oh funny, maybe dependabot changed its behavior? I have another open source repo that it opens PRs on and there is no configuration to enable it. GitHub just does it. I'll look into it more...


[Doc] Document why Harvester needs 250G minimum disk size to install

Describe the bug

To add a document about the Harvester minimum disk size requirement in https://github.com/harvester/harvester#hardware-requirements.
Additional context

new doc is updated per https://docs.harvesterhci.io/dev/install/requirements#hardware-requirements, close it now.


chore: remove ci run filtering

Description

The repository is now public, so we don't need to be worried about ci minutes anymore. Plus, looks like codecov might get some issues with filtering ci runs. This PR removes all such filterings.
Testing

Explanatory. No test needed.

Trying to find where do they set the default rules 🤔


Update stream factory proposal

Motivation
There were a few small mistakes in the async stream proposal that @benrimmington pointed out

Thanks!


Problems with alloc

Hi,
when executing this code :
const cl = Il2Cpp.Domain.assembly("Assembly").image.class("Class")
const t - cl.alloc()

I get an error: TypeError: Cannot read property 'alloc' of undefined

sorry, I didn't notice an error in my code.


Add release notes

Great add-on! Would it be possible to start writing release notes so that keeping track of the new features and bug fixes becomes easier?

Added a changelog in #220. Will add notes going forward on version bumps/releases.
Thanks!


Issue with user-defined text legend scale

What happened?
There is a magics bug in python/metview by which when specifying a user-defined text legend scale (egend_text_composition="user_text_only"), the penultimate value of the legend is missing and is instead moved to the last position, while the last element doesn't appear at all. See image attached below.

What are the steps to reproduce the bug?
Below the python script I run.
NB. file is available in a public path in my home

import metview as mv
ens_t = mv.read(source="ens_t.grib",number=[1,2,3,4,5,6,7,8,9,10])
spr_t = mv.stdev(ens_t)
max_t = mv.maxvalue(ens_t)
spr_t_norm = spr_t/max_t
print(mv.minvalue(spr_t_norm),mv.maxvalue(spr_t_norm))
cont_spread = mv.mcont(
legend                         = "on",
contour                        = "off",
contour_label                  = "off",
contour_level_selection_type   = "level_list",
contour_max_level              = 1000.,
contour_min_level              = 0.,
contour_level_list             = [0,0.001,0.002,0.003,0.004,0.005,0.006,0.007,0.008,0.009,0.01],
contour_shade                  = "on",
contour_shade_colour_method    = "palette",
contour_shade_method           = "area_fill",
contour_shade_palette_name     = "colorbrewer_ext_YlGn_10_r",
)
coast = mv.mcoast(
map_coastline_colour="charcoal",
map_coastline_resolution="medium",
map_coastline_land_shade="on",
map_coastline_land_shade_colour="beige",
map_coastline_sea_shade="on",
map_coastline_sea_shade_colour="RGB(0.8178,0.9234,0.9234)",
map_grid_colour="RGB(0.4,0.4,0.4)",
map_label_height=0.35,
)
title = mv.mtext(text_line_1="Normalised spread",text_font_size=1.2)
legend = mv.mlegend(legend_text_font_size=0.5,legend_title_font_size=1.0,legend_text_composition="user_text_only",legend_user_lines=["0","0.1%","0.2%","0.3%","0.4%","0.5%","0.6%","0.7%","0.8%","0.9%","1%"])
view = mv.geoview(coastlines=coast)
dw = mv.plot_superpage(pages=mv.mvl_regular_layout(view,1,1,1,1,[0,100,0,100]))
mv.setoutput(mv.png_output(output_name="spr_norm_t",output_name_first_page_number="off",output_width=1600))
mv.plot(dw,spr_t_norm,cont_spread,legend,title)
Version
Python 3.6.8, metview-python 1.14.0
Platform (OS and architecture)
Linux VDI (release 1.40)
Relevant log output
No log available (no error is produced).

Accompanying data
/home/dalc/Public/ens_t.grib
Organisation
ECMWF

Hi,
Thanks for your bug report.
I think I have enough information to reproduce the problem.
Sylvie

Hi Sylvie,
I only joined in June 2021 but as far as I remember, this has never worked
since I have been at the centre.
Have a good weekend!
Luca
On Tue, 5 Mar 2024, 18:14 Sylvie, @.***> wrote:

Hi,
I am trying to fix this issue, but I have a question that will help me to
understand :
Was it working in a previous version of Metview ?
Thanks a lot for your help
Sylvie
—
Reply to this email directly, view it on GitHub
https://github.com/ecmwf/magics/issues/106#issuecomment-1979255751, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADE3OYRRYII2E4XVOEI6TY3YWX4OPAVCNFSM6AAAAABC3VMJJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGI2TKNZVGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks a lot , that is the information I was looking for before implementing the fix . I should be able to get that fix soon and will liaise with the Metview teamSylvieOn 8 Mar 2024, at 09:05, Luca Cantarello @.***> wrote:
Hi Sylvie,
I only joined in June 2021 but as far as I remember, this has never worked
since I have been at the centre.
Have a good weekend!
Luca
On Tue, 5 Mar 2024, 18:14 Sylvie, @.***> wrote:

Hi,

I am trying to fix this issue, but I have a question that will help me to

understand :

Was it working in a previous version of Metview ?

Thanks a lot for your help

Sylvie

—

Reply to this email directly, view it on GitHub

https://github.com/ecmwf/magics/issues/106#issuecomment-1979255751, or

unsubscribe

https://github.com/notifications/unsubscribe-auth/ADE3OYRRYII2E4XVOEI6TY3YWX4OPAVCNFSM6AAAAABC3VMJJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGI2TKNZVGE

.

You are receiving this because you authored the thread.Message ID:

@.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>


Monitoring consumption without internet

I don't know if it's possible or this plugin tend to support this but if I cut connection of a Tuya Smart Plug with *.tuyaeu.com, I can still control device statuses(turn on/off) but actual consumption information doesn't show up in Eve Home app anymore. I tried to check code but couldn't notice any technical limitation that can cause this. Is there any technical limitation to get actual consumption data without internet connection(just with local network) or is this a bug?
I'm using current master branch, with a device configuration like this:
{
    "platform": "TuyaLan",
    "devices": [
        {
            "name": "Oven",
            "type": "Outlet",
            "manufacturer": "Gosund",
            "model": "Smart Wifi Bulb Socket E26",
            "id": "10801581f4cfa202c42c",
            "key": "************",
            "voltsId": 20,
            "ampsId": 18,
            "wattsId": 19
        }
    ]
}

I don't have the device to test but it may be that the triggers can be made locally however the data is sent to tuya and retrieved from their servers. Can you link your device/product?
More info needed. Still an issue? Please re-open if relevant.


Fix typos in README.md

This PR fixes small typos found in the README.

Thanks for spotting that. I have just made the change.

Thanks for fixing typos!


Add hit_cache.

aclnn op runner增加hit_cache功能，减少host侧重复getworkspace

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


last_online and traffic as int

Hi.
Let me ask briefly - is it possible to get such parameters as last_online and traffic as numbers?
last_online as timestamp, traffic in bytes.
I think it is acceptable to specify this in .env to avoid compatibility problems for those users who already use your solution and have implemented some metrics based on the values that are currently given.

@ivaneliseeff hello, yes that sounds like a good idea, i thought about it myself. But i don't think supporting both is a good idea, so i guess this change can be added in a major version update.

If anyone else needs this change, please like this or any other comment in this issue. This will help these changes get into the current version faster.

Hi. Let me ask briefly - is it possible to get such parameters as last_online and traffic as numbers?
last_online as timestamp, traffic in bytes. I think it is acceptable to specify this in .env to avoid compatibility problems for those users who already use your solution and have implemented some metrics based on the values that are currently given.

I Agree with this. I am currently looking at integrating this application with a cloud service and translating these values into an interpretable format would be a lot beneficial.


Player is pausing while following Oak again

ugh
It's happening only sometimes. Rounding error?

Seems to be more reliable when on the left grass area. Sure.

I put a log in the beginning of animateCharacterStopWalking:
if (thing.player) {
    console.log("onStop = ", onStop);
}

On a good run, the logs will have one onStop = undefined then a bunch of onStop = 0.
On a bad run, there will be two undefineds.


Error when compiling

When running sudo make (without sudo it fails due to permissions) after boot.sh and configure, it throws the following error:
p4rt/.libs/libp4rt.a(p4rt_libp4rt_la-p4rt.o): In function `p4rt_initialize_datapath':
/home/vetletm/P4-OvS/p4rt/p4rt.c:611: undefined reference to `PIGrpcServerPipelineConfigSet'
collect2: error: ld returned 1 exit status
Makefile:3841: recipe for target 'vswitchd/ovs-vswitchd' failed
make[2]: *** [vswitchd/ovs-vswitchd] Error 1
make[2]: Leaving directory '/home/vetletm/P4-OvS'
Makefile:5238: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/vetletm/P4-OvS'
Makefile:2887: recipe for target 'all' failed
make: *** [all] Error 2

The system is a fresh virtual machine in VirtualBox with Ubuntu 18.04.5 with linux kernel 4.15.0-126-generic.
P4, PI, gRPC, Protobuf were all installed using the installation script install-p4dev-v2.sh from jafingerhut/p4-guide as explained in its installation guide.
I get the same error with and without OpenVSwitch installed on the system.

Hi! You need to install my fork of the PI library: https://github.com/osinstom/PI/tree/p4-ovs. I've added PIGrpcServerPipelineConfigSet there, which is required for P4-OvS.

BTW, you should be able to run make without sudo

I started with a new, fresh machine and installed your fork of PI, still I get the same error.
gRPC is installed with version tags/v1.17.2, protobuf is at v3.6.1 as suggested in the PI documentation.

@vetletm Did you use p4-ovs branch of my PI fork?

I've included what we had to do on a fresh Ubuntu 20.10 to make it build without any major issues:
apt-get update

sudo apt-get install -y automake cmake libjudy-dev libgmp-dev libpcap-dev libboost-all-dev libevent-dev libtool flex bison pkg-config g++ libssl-dev libnanomsg-dev libjudy-dev libreadline-dev valgrind libtool-bin libboost-dev libboost-system-dev libboost-thread-dev

sudo apt-get install -y python3-pip python3-dev
sudo pip3 install nnpy

# == Thrift ==
cd "$BASE_DIR"
git clone https://github.com/apache/thrift
cd thrift
git checkout v0.13.0
./bootstrap.sh
./configure --prefix=/usr
make
sudo make install

# == PI ==
sudo apt install -y libnanomsg-dev \
   libprotobuf-dev protobuf-compiler protobuf-compiler-grpc \
   libgrpc++-dev libgrpc-dev libgc-dev

cd "$BASE_DIR"
git clone https://github.com/osinstom/PI   # *NOT* upstream: https://github.com/p4lang/PI
cd PI
git checkout p4-ovs
git submodule update --init
./autogen.sh
./configure --prefix=/usr --with-proto --with-fe-cpp --with-cli --with-internal-rpc --with-gnu-ld
make
sudo make install

# == P4-OvS ==
cd "$BASE_DIR"
git clone https://github.com/simula/P4-OvS
cd P4-OvS
git remote add upstream https://github.com/osinstom/P4-OvS.git
git checkout dreibh/build-fix-16Dec2020
./boot.sh
./configure
make

Apparently there were some missing pieces in the automake for ovs-vswitchd, you can see exactly what here: https://github.com/simula/P4-OvS/commit/fab148783180706944b6ca7e09f4bca59070e8fa

I'm happy that you succeeded to install P4-OVS! Would you mind to create PR with the above modifications to vswitchd/automake.mk ?

Hi, sorry for the late response.
I've been waiting for a response from the person who did the actual legwork, but since I've yet to hear anything I'll create a PR by the end of this week.

Hi, sorry for the late response.
I've been waiting for a response from the person who did the actual legwork, but since I've yet to hear anything I'll create a PR by the end of this week.

Hi,
First of all Thank you for your effort for this project.
I'm testing p4-ovs on my lab.
I'm using ubuntu20.04 vm in proxmox.
I saw the same problem above and fixed it like here.
After;
I compiled many dependencies. (that was so painful :) )
I started the ovs-vswitchd, but that waiting something,
2021-01-27T11:31:28Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
2021-01-27T11:31:28Z|00002|ovs_numa|INFO|Discovered 3 CPU cores on NUMA node 0
2021-01-27T11:31:28Z|00003|ovs_numa|INFO|Discovered 3 CPU cores on NUMA node 1
2021-01-27T11:31:28Z|00004|ovs_numa|INFO|Discovered 2 NUMA nodes and 6 CPU cores
2021-01-27T11:31:28Z|00005|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connecting...
2021-01-27T11:31:28Z|00006|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connected

CTRL + C

^CServer listening on <IP_ADDRESS>:50051
2021-01-27T11:31:45Z|00007|bridge|INFO|Setting P4 support for bridge br0
2021-01-27T11:31:45Z|00001|fatal_signal(ipf_clean1)|WARN|terminating with signal 2 (Interrupt)

I restarted the OVS with strace. And I saw this trace line.
connect(16, {sa_family=AF_UNIX, sun_path="/tmp/pi_rpc.ipc"}, 110) = -1 ENOENT (No such file or directory)

How can I pass this step?

Hi,
First of all Thank you for your effort for this project.
I'm testing p4-ovs on my lab.
I'm using ubuntu20.04 vm in proxmox.
I saw the same problem above and fixed it like here.
After;
I compiled many dependencies. (that was so painful :) )
I started the ovs-vswitchd, but that waiting something,
2021-01-27T11:31:28Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
2021-01-27T11:31:28Z|00002|ovs_numa|INFO|Discovered 3 CPU cores on NUMA node 0
2021-01-27T11:31:28Z|00003|ovs_numa|INFO|Discovered 3 CPU cores on NUMA node 1
2021-01-27T11:31:28Z|00004|ovs_numa|INFO|Discovered 2 NUMA nodes and 6 CPU cores
2021-01-27T11:31:28Z|00005|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connecting...
2021-01-27T11:31:28Z|00006|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connected

CTRL + C

^CServer listening on <IP_ADDRESS>:50051
2021-01-27T11:31:45Z|00007|bridge|INFO|Setting P4 support for bridge br0
2021-01-27T11:31:45Z|00001|fatal_signal(ipf_clean1)|WARN|terminating with signal 2 (Interrupt)

I restarted the OVS with strace. And I saw this trace line.
connect(16, {sa_family=AF_UNIX, sun_path="/tmp/pi_rpc.ipc"}, 110) = -1 ENOENT (No such file or directory)

How can I pass this step?


fix missing newline in consul.conf before option only_passing

without this fix, you get following broken diff (that must have been added in the last dozen of commits in master):
TASK [../../ansible-consul : consul config file] ********************************************************************************************
--- before: /etc/consul.conf

-    "enable_truncate": true,
-    "only_passing": false
+    "enable_truncate": true,    "only_passing": false
``

@savagegus plz check
( ps: if you have no time anymore to maintain the role, happy to help out 👍 )


Execution failed for task ':react-native-image-crop-picker:verifyReleaseResources'.

react-native:0.57.2
react:16.5.0
react-native-orientation:3.1.3
when i build app,Build failed with an exception.
`
error: invalid file path '/home/kf/Documents/kunfei_app/node_modules/react-native-image-crop-picker/android/build/intermediates/manifests/aapt/release/AndroidManifest.xml'.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':react-native-image-crop-picker:verifyReleaseResources'.

java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
`

`
"dependencies": {
"babel-preset-react-native": "^2.1.0",
"lodash": "^4.17.11",
"moment": "^2.22.2",
"prop-types": "^15.6.2",
"react": "16.5.0",
"react-native": "0.57.2",
"react-native-baidumap-sdk": "^0.6.0",
"react-native-calendars": "^1.21.0",
"react-native-charts-wrapper": "^0.5.0",
"react-native-easy-toast": "^1.1.0",
"react-native-elements": "^1.0.0-beta7",
"react-native-image-crop-picker": "^0.21.3",
"react-native-modal": "^7.0.0",
"react-native-orientation": "^3.1.3",
"react-native-shadow": "^1.2.2",
"react-native-svg": "^8.0.8",
"react-native-vector-icons": "^6.0.2",
"react-navigation": "^2.17.0"
},
/android/build.gradle
buildscript {
ext {
buildToolsVersion = "27.0.3"
minSdkVersion = 16
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = "27.1.1"
}
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}
allprojects {
repositories {
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven { url 'https://maven.google.com' }
maven { url "https://jitpack.io" }
google()
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.4'
distributionUrl = distributionUrl.replace("bin", "all")
}
`

https://github.com/yamill/react-native-orientation/issues/343


[BUG] - Dropdown Menu turns off automatically

Describe the bug
The dropdown menu is not behaving correctly, it opens and closes automatically.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Open the https://nextui.org/.
click the dropdown button.

Expected behavior
Click the button then open the dropdown menu.
Screenshots or Videos
https://user-images.githubusercontent.com/27926/182021621-dae2f214-e4f6-4f89-b6e3-49d54374dff4.mov
Operating System Version
macOS
Browser
Firefox/Chrome

I second this. I tested this on Windows, Mac, and Linux. The issue does not happen on IOS safari though, just web apps.

I tested on macOS, Firefox, Chrome, Safari, doesn't work properly on all three browsers.
But popover works right. 🤔

https://user-images.githubusercontent.com/48577990/182159517-1d6890f9-8b22-4bb1-a321-09c473b26add.mp4
does it work like this?

when the dropdown appeared it was because I held down the mouse button.

but last time it showed up because i just clicked

I have the same problem :(

does it work like this?

Right, not consistent with expected behavior.
The correct behavior is to click once, release the mouse and then pop up the menu.

Yeah i also faced the issue, but Dropdown works fine in smaller widths & browser's responsive view.

Hi guys, could you please try again? 🙌🏻

Its working.
How to fix that?

It was a cache issue in the docs app deployment, It was not a Dropdown issue 👍🏻

Its working now, great job guys, love the work you guys have been doing so far

How to fix the issue, I am using Dropdown in production build and tried deploying several times since the issue has been closed.

But in my local environment, the problem has always been there, whether in development mode or production mode.

But in my local environment, the problem has always been there, whether in development mode or production mode.

It's strange I didn't faced the issue locally at all Only in production build.

Hi @aaaravv @fundon could you please share a full repro case?

Hi @tianenpang, I creates a small case https://github.com/fundon/yarn-npm-test.
When building with yarn, the above problem is encountered.

yarn, the issue happens

yarn
yarn start

npm, it's fine

git checkout npm
npm i
npm start

@fundon thank you for the repro, I'm able to reproduce the issue with yarn 🤔

You can remove the yarn-lock file,   Try again.

Hi @tianenpang @aaaravv, I created a small case https://github.com/fundon/yarn-npm-test.
When building with yarn, the above problem is encountered.
1. yarn, the issue happens

yarn
yarn start

2. npm, it's fine

git checkout npm
npm i
npm start

Hey @fundon @tianenpang exactly the issue occurs only when

Installing and building package via yarn

yarn install
yarn run build
serve -s build

Tried locally via npm it's working fine but on deploying production build upon Vercel via yarn this issue can be reproduced.

Hello, I am using the library, but it shows the following warning, when the dropdown is pressed it has strange behavior

It's still happening on my local server. I am using  "@nextui-org/react": "^1.0.0-beta.9"
https://user-images.githubusercontent.com/71687022/183065630-43b4f2bd-fdd7-4f80-ad84-03d1cfc634e4.mov

Выпадающий список мерцает для меня, это все еще происходит на моем локальном сервере. Я использую "@nextui-org/react": "^1.0.0-beta.9"
Экран.Запись.2022-08-05.в.4.31.56.PM.mov

I have same problem... what is the reason ?((

Same issue here, but I can't see it happening in the example of the official docs.

ice_video_20220806-114625.webm

Hi guys, thanks for the feedback.
For the warning that onClick is deprecated, please use onPress it may be related to the Button.

https://github.com/nextui-org/nextui/issues/482

For the flickering issue please try to downgrade react and react-dom to 17.0.2.

https://github.com/nextui-org/nextui/discussions/565

It would be better to create different issues 🙌🏻

will there be animation support for version 18?

[BUG] - Button uses deprecated onClick instead of onPress #482

Regarding the main issue that @fundon reported, I already tried to downgrade react and react-dom to 17.0.2 but no luck at all, the problem persist. The animation glitch disappears, but this doesn't fix the bug reported in this thread.

Regarding the main issue that @fundon reported, I already tried to downgrade react and react-dom to 17.0.2 but no luck at all, the problem persist. The animation glitch disappears, but this doesn't fix the bug reported in this thread.

Remove the node_modules folder
Install using npm install

I have the same problem, and when I change the trigger to "longPress" ,it work fine, it is so strange, haha.

Regarding the main issue that @fundon reported, I already tried to downgrade react and react-dom to 17.0.2 but no luck at all, the problem persist. The animation glitch disappears, but this doesn't fix the bug reported in this thread.

Remove the node_modules folder
Install using npm install

it's not an option for our team to use npm. :( do you know exactly why does it work with npm instead of yarn?

Hi all, I'm still looking for this strange issue, currently using npm or pnpm will work as expected.
Hey @buskerone The Dropdown in the docs works is because the @nextui-org/react is compiled and imported directly from the packages/react in monorepo.
The issue is only with yarn add 🤔

@tianenpang thank you! you're right! I'll try to do some research to understand why it's not working with yarn

I have the same problem, and when I change the trigger to "longPress" ,it work fine, it is so strange, haha.

I tried that and it still flickers but just once then it stays open as it should be

+1 same issue when using yarn or npm.

This is one of the issues with more comments/activity + it's related to a new component, thus we should give some sort of priority to it. It doesn't seems to work with yarn or npm, and checking the source code I can't find the issue.
If someone has an idea of what's the main issue and some guidelines on how to fix it, I'll be more than happy to help with it.

I've found something that may help:
We already know that when doing a long press the dropdown is visible, but if you do a long press on the Dropdown.Button, then move your mouse (without releasing your mouse) outside the button and finally releasing it, you'll see the that the Dropdown.Menu stays visible. I've seen that Dropdown.Button is being wrapped by DropdownTrigger , but I'm not sure how everything is being handled with onPress, onPressStart, onPressEnd, onPressChange, onPressUp.
Any thoughts on this @jrgarciadev ?
https://user-images.githubusercontent.com/2034112/185801592-b50108c6-e726-47b8-8f94-63b09edbca99.mov

It's working good now with v1.0.0-beta.10 ❤ !

ice_video_20220806-114625.webm

It still dont work in beta 10((( i get same result

Hey guys, could you try this again using the latest version (v10) and react 17?

react 18 + nextui  v10, its working now.

Hey it's still persist here.
I am using these.
"@nextui-org/react": "^1.0.0-beta.10",
"next": "12.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"recoil": "^0.7.5"

I faced the same issue with popover in chrome and firefox.
https://user-images.githubusercontent.com/16597753/192141829-e6fa2b0a-b833-48bd-a82d-0cefce28e4dc.mov

I only have issues while using iOS.
Clicking on the dropdown button does nothing. Not even in the official docs it works.
It's such a critical bug that I think the Dropdown component should be temporarily hidden in the docs, so we don't have more people getting fired for adding broken UI in production 😅
https://user-images.githubusercontent.com/181076/209258120-72ec7ee1-9df1-4177-b81e-f89a799866ab.MP4

Hey @buskerone I noticed that behavior too but the current behavior is the same as @react-aria/menu.
Different trigger behavior than Popover, Dropdown's interaction occurs when onPressStart.

Found out what might cause the issue with yarn.
In yarn.lock when ^1.0.0-beta.11 is specified:
@nextui-org/react@npm:^1.0.0-beta.11":
version: 1.0.0-beta.9-dbg2
resolution: "@nextui-org/react@npm:1.0.0-beta.9-dbg2"
It seems yarn thinks 1.0.0-beta.9-dbg2 is newer than 1.0.0-beta.11 and installed it instead, same behavior for @latest
Using "@nextui-org/react":1.0.0-beta.11 in pakcage.json solved the problem for me.

I'll close this issue in favor of this one: https://github.com/nextui-org/nextui/issues/969


Extend readme with contribution guidelines

Can't see anything wrong except for what Adriaans commented
Once travis builds :+1:


changes for picking up well known protos

Add dependency and protoc argument for picking up well known protos
from the //third_party/protobuf repo

Failures:
#9797 - gRPC_interop_pull_request
#9994 - Basic Tests Mac


Update all dependencies to latest versions

What this PR does
Updates all modules
Checklist

[x] Update changelog in CHANGELOG.md.

Trigger e2e tests

/run cluster-test-suites

Only a single failed test which is a known flakey test. Adding skip label


Eliminates the need for repeated property index searching

Hi @kemchenj ,
Please could you add some more context and explanation of the changes in this PR?
Thanks!


Ocarina of Time Source Port

Adding in ship of harkinian support for 64 bit machines, I don't have a pi 4 or x64 to test but this should work on anything with 64bit.
Can you test and confirm it works

does the rom file need to be named something specific? i know for the mario 64 port you have to rename it, is it the same for this?

No the room can be named anything, their building functions look for the hashes

man, trying to find the right rom is a pain in the ass,
for now you should add that it need to be the EU version

so far, i cant get it to work.
i have right roms, ones that match the hashs, and pass the hash check site that SOH uses
and you are missing the source function in the script

I might need to play with the memory swap though, as for me just now it hangs when it gets as far as 2/867 in the building process, once it's extracted the rom. How big is the ram in your PI 5?

i have a 4 gig, but mine did not get that far, it would always say that it could not find the right rom, but i had the right ones per the hash in the .json file.
ill try your new updated script

well at least this time it found the rom, but still failed
-- Linking against dependent libraries statically
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.25/Modules/FindGLEW.cmake:238 (find_package_handle_standard_args)
  libultraship/extern/CMakeLists.txt:103 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/pi/RetroPie-Setup/tmp/build/soh/build-cmake/CMakeFiles/CMakeOutput.log".

My god it took forever for this to compile.
ok, im back on testing this,
i think we should include 2 supported hash numbers to help people out, since there are a lot of different versions.
i think having
"name": "PAL 1.1",
"sha1": "cfbb98d392e4a9d39da8285d10cbef3974c2f012"
and
"name": "PAL GC (Debug)",
"sha1": "cee6bc3c2a634b41728f2af8da54d9bf8cc14099"
or
"name": "PAL MQ (Debug)",
"sha1": "cfecfdc58d650e71a200c81f033de4e6d617a9f6"
what you think?

ok i finally got it to build. it looks like the Vulcan build i have does not like to compile this.
not sure if you are running one with this or not
does not working for me.
Parameters:
Executing: /opt/retropie/ports/soh/soh.sh
/opt/retropie/ports/soh/soh.sh: line 7: ./soh.elf: No such file or directory

i got it to work at the last min
ill put in my fixes monday

i got it to work at the last min ill put in my fixes monday

My notifications appeared there was a discussion on RetroPie forums, that's good to hear.
I'm abit tied up atm, but you could add those changes to the MM source port too

I'm abit tied up atm

Yes if I'm thinking correctly you are moving.
So you all good.
I will make the changes Monday and the do the pull.
Thanks again for working on this.

i have figured it all out now.
will add the fixes once merged


How to translate Flutter dart code to ASTNode？

How to translate Flutter dart code to ASTNode？
We have Flutter project，and want to translate some files of dart to ASTNode，then to json.
But we not found idea to do it.

The analyzer package, available on pub.dev, has support for creating an AST structure for Dart code and would probably meet your needs, though I don't know very much about your requirements.

@FKLam - perhaps follow up on this question at<EMAIL_ADDRESS>

Thanks all.


Remove unnecessary upcast from examples/squeezer_bin/main.rs

I noticed this example runs as expected even without .upcast::<gtk::Widget>()
I have a limited understanding of the language and libraries. I welcome pedantic feedback.
What I understand is that

SqueezerBin.set_child() expects an argument of type Option<&gtk::Widget>
https://github.com/gtk-rs/gtk4-rs/blob/53407150ab1f46494c767614783b06958a418613/examples/squeezer_bin/squeezer_bin/imp.rs#L26
gtk::Label extends gtk::Widget, so I believe the type constraint is already satisfied
https://github.com/gtk-rs/gtk4-rs/blob/53407150ab1f46494c767614783b06958a418613/gtk4/src/auto/label.rs#L36

Try it yourself

Clone this repository
cd in the examples directory
Run the command cargo run --bin squeezer_bin

@bilelmoussaoui any thoughts on this? Have you found time to test the change?


Register-only based WarpExchange

Hi CUB maintainers!
in my GPU work, I found that many algorithms require a switch between blocked and striped arrangements, in order to maximise ILP (blocked arrangement) or maximise memory bandwidth (striped arrangement). The current CUB algorithm to accomplish this is WarpExchange, which to my knowledge always uses shared memory to accomplish this end. Using some unrolling tricks, and careful recursive decomposition, I have managed to write a generic form that accomplishes the same, using only registers and warp shuffles. This might be useful in situations where kernels already consume a lot of shared memory but register pressure itself is still low enough to afford warp shuffles.
Would you be willing to entertain a PR for my implementation?

@senior-zero thanks!
Essentially, the impls are the same. All of these ideas are built around the same building blocks:

recursively subpartitioning the warp-matrix
computing offsets to be exchanged, by cajoling the compiler to emit SEL instructions
doing the shuffle
writing the result back, again by trying to cajole the compiler with a SEL instruction.

Trove does the rotate separately, but in my impl it is intertwined with the shuffles. I doubt this distinction matters in practice, since the compiler's dataflow analysis should see through all of this and rearrange instructions for maximum ILP anyways.
To reach peak performance, the indexes need to be computable at compile-time. Unless the array/warp-matrix is a perfect power of two, these indices cannot be computed at compile-time, which leads to local memory use. In my solution, I require power-of-two arrays, since local memory use is unacceptable to me (and often times leads to a 2x slowdown, besides consuming memory bandwidth from other concurrent kernels).
It would be disingenuous of me to claim to have invented all of this myself. I have built my implementation using ideas from

Transposing register-held matrices with warp shuffles? Need help. (which also mentions trove at the end)
Implement 2D matrix transpose using warp shuffle without local memory

@senior-zero would it be acceptable to focus on power-of-two arrays only for the time being?

@senior-zero would it be acceptable to focus on power-of-two arrays only for the time being?

We can definitely start with this and have a static assert for now:
static_assert(PowerOfTwo<ITEMS_PER_THREAD>::VALUE);

Some of our facilities already require power-of-two warps or have a different specialization for this case. If there's a request to extend support to other problem sizes, we can cover that later. Looking forward to your contribution!

Addressed by https://github.com/NVIDIA/cccl/pull/256


Symlinks are not updated after a reboot

Hi Oogali,
Thanks for researching and documenting this C5/M5 instance family nvme issue we are all plagued with!
While implementing your solution, I noticed that the current script does not handle incorrect symlinks. By this I mean that on an instance with multiple EBS volumes already attached and a new volume is added  it is possible that when this instance is rebooted it comes back with different mapping than on previous runs of the script, this is especially the case with multiple EBS volumes attached.
For what it's worth, in our limited observations the smaller EBS volumes appear to have higher precedence than larger EBS volumes.
To remedy this I have written a new bash script which is heavily inspired by your research and wanted to submit it to you. The script is available on my gist and if you feel it worthwhile I am happy to submit a PR.
https://gist.github.com/brahman81/04d1d19b81f78385aacf0a9a3a3afe26
Kind Regards,

@brahman81 you're not actually creating the symlink in your gist, so I'm also very curious to see your PR. thanks!!

@vdczzz, the original version of the script (version 1) did create the symlinks but what we found was that symlinks would only get created during initial attachment of the volumes which didn't help with reboot,  we would see the symlinks but they were not mounted as udev decided to unmount immediately post mount.
The latest version of the script doesn't actually create any symlinks, but instead given a block device as $1 it returns the correct mapping name and lets udev create/manage the symlink instead. (There is a udev rule to be added in the comments of version 2)
Basically we are passing the return of the udev PROGRAM key to the udev SYMLINK key.
SUBSYSTEM=="block", KERNEL=="nvme[0-9]*n[0-9]*", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM+="/usr/local/sbin/nvme-mapping.sh /dev/%k" SYMLINK+="%c"
This is more akin to what Amazon do in their AMI to deal with the problem.

Also, I checked one more thing in the rule that there is no "remove" action.
When detaching the volume, the symlink is still persisting.
There was one more test case that I tried,
I detached the two volume one by one which were already attached to the instance and mounted them in reverse manner, the symlink was not changed.
Can you look at this pls ?
Awesome work btw !!


Move React package into integrations

Currently, the @polywrap/react-js package is in the toolchain repo.
Since this is an integration it should be moved to the integrations repo.

Agreed, we can create a new folder within integrations called framework that can include tailored framework integrations. Some others that would be cool to see here:

Unity
React-Native
Django
etc

Agreed, we can create a new folder within integrations called framework that can include tailored framework integrations. Some others that would be cool to see here:

Unity
React-Native
Django
etc

I like that!

@dOrgJelli isn't this completed?

Yes, we've moved the package here: https://github.com/polywrap/react


Align CICD documentation

Purpose of this pull request
Removed section that is not needed for CICD process.
Align variables as they are not environment dependent.
Those 3 variables are global and thre are no sense to have them there
Affected pages

Yup this is true, this is how I have setup my workflow as well. Thanks for creating the PR @nuzil 🙏


Add Wear OS Now In Android application

Fix #432

Hey @LouisCAD, the team decided not to move forward with this feature


feat(clustering) use database for persisting DP status information

Here is an example output:
$ http :8001/cluster_status
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 213
Content-Type: application/json; charset=utf-8
Date: Fri, 04 Sep 2020 15:56:50 GMT
Server: kong/2.1.2
X-Kong-Admin-Latency: 145

{
    "data": [
        {
            "config_hash": "a9a166c59873245db8f1a747ba9a80a7",
            "hostname": "localhost.localdomain",
            "id": "ed58ac85-dba6-4946-999d-e8b5071607d4",
            "ip": "<IP_ADDRESS>",
            "last_seen":<PHONE_NUMBER>,
            "status": "connected"
        }
    ],
    "next": null
}


v0.97.3 : SELECT - last option not selectable.

The last item in a select is not selectable.
See here for reproduction:
http://codepen.io/anon/pen/ojmwVe

It appears this is because the dropdown is higher than the window height, but it's very specific to this demo.
The click is never triggered.

You're right: it's not just the last option that exhibits the problem; ANY
option that needs to be scrolled into view is not selectable. Playing with
the zoom level and panel height helps to illustrate this.
On Mon, Nov 16, 2015 at 11:52 PM, TyrionGraphiste<EMAIL_ADDRESS>wrote:

It appears this is because the dropdown is higher than the window height,
but it's very specific to this demo.
The click is never triggered.
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/2309#issuecomment-157076170
.

+1

+1

+1

merged in 8600af568a548d6ac5a0e3f5ee3a24da0093c564


out of memory?

Hi! I try the code with TITANXp 12Gb, but before it starts training, it reported that "Runtimerror: cuda out of memory".
Do your guys meet the same issues?
Could anyone give some ideas for me.....Thanks

I had the same issue with one of my projects.
Try to follow these steps:
1.Check if you are actually using your GPU and not the CPU
2. Check if the TitanXp is carrying out the training bu using the "nvidia-smi" command
3. If everything is working fine, then try reducing the batch size and the number of epochs

I had the same issue with one of my projects.
Try to follow these steps:
1.Check if you are actually using your GPU and not the CPU
2. Check if the TitanXp is carrying out the training bu using the "nvidia-smi" command
3. If everything is working fine, then try reducing the batch size and the number of epochs

I have tried your steps but it reported 'out of memory' issues again even with the batch size of 5.......
Have u try the code?Could u give some help to me by e-mail...Please
my e-mail address<EMAIL_ADDRESS>

I had the same issue with one of my projects.
Try to follow these steps:
1.Check if you are actually using your GPU and not the CPU
2. Check if the TitanXp is carrying out the training bu using the "nvidia-smi" command
3. If everything is working fine, then try reducing the batch size and the number of epochs

And I have no idea which variable cause the memory explosion...
the picture is the shot of my test of the code with a small dataset and a batch size of 5....

It's something wrong with my libraries.I failed to try it with win10 but can run with ubuntu..
Thank @cantonioupao , you give me a lot of advice.


DragonLens causes a crash on reload (both enabled and disabled)

Extra mods: Summoners Association
Fox Critter Vanilla+
Concise mod list
High FPS support

Update
Tested it with these mods:
[
  "CalamityBardHealer",
  "AnimeOverhaul",
  "AutoTrash",
  "AtmosphericLava",
  "CalamityMod",
  "CalamityHunt",
  "BossCursor",
  "CalamityAmmo",
  "Autofish",
  "CalamityModMusic",
  "CatalystMod",
  "Census",
  "ChatSource",
  "CombinationsMod",
  "Consolaria",
  "DisableCorruptionSpread",
  "EvilPylon",
  "FargoMoreSoulsCompat",
  "Fargowiltas",
  "FargowiltasCrossmod",
  "FargowiltasSouls",
  "HighFPSSupport",
  "ImprovedReforging",
  "ImproveGame",
  "InstantPlatformFallthrough",
  "InventoryDrag",
  "Lights",
  "LootBeams",
  "Luminance",
  "MagicStorage",
  "MagicStorageStarterKit",
  "MagicStorageVoidBag",
  "MooMooLib",
  "NoxusBoss",
  "OmniSwing",
  "OneStopNPCShop",
  "OrchidMineshaft",
  "OreExcavator",
  "PrettyRarities",
  "RagnarokMod",
  "RecipeBrowser",
  "SerousCommonLib",
  "ShopExpander",
  "ShorterRespawn",
  "SmarterCursor",
  "SOTS",
  "SpiritMod",
  "StrongerReforges",
  "SubworldLibrary",
  "TerrariaAmbience",
  "TerrariaAmbienceAPI",
  "TheBereftSouls",
  "ThoriumMod",
  "ThoriumRework",
  "UnCalamityModMusic",
  "VervCaves",
  "YourModFox",
  "ConciseModList",
  "SummonersAssociation"
]

And it works just fine.

[!NOTE]
I forgot to add Gensokyo to this list but I don't think it'd make a change.

[
  "ConciseModList",
  "HighFPSSupport",
  "BTitles",
  "CalamityModMusic",
  "BetterExpertRarity",
  "BossChecklist",
  "RecipeBrowser",
  "MagicStorage",
  "SerousCommonLib",
  "SpiritMod",
  "ThoriumRework",
  "ThoriumMod",
  "YourModFox",
  "SpawnHouses",
  "CalamityHunt",
  "FargoMoreSoulsCompat",
  "Fargowiltas",
  "Luminance",
  "FargowiltasSouls",
  "ImprovedReforging",
  "StrongerReforges",
  "ClamityMusic",
  "VervCaves",
  "RagnarokMod",
  "CalamityMod",
  "MooMooLib",
  "Clamity",
  "InstantPlatformFallthrough",
  "CombinationsMod",
  "EvilPylon",
  "ClientsideLagPrevention",
  "OrchidMineshaft",
  "Consolaria",
  "CalamityAmmo",
  "SOTS",
  "CatalystMod",
  "ShopExpander",
  "MBStats",
  "Gensokyo",
  "UnCalamityModMusic",
  "ImproveGame",
  "Census",
  "OneStopNPCShop",
  "ChatSource",
  "CalamityBardHealer",
  "FargowiltasCrossmod",
  "PersistentPlayerPosition",
  "FargowiltasMusic",
  "SmarterCursor",
  "ReforgeStatFix",
  "SubworldLibrary",
  "InfernumMode",
  "Lights",
  "DrinkWater",
  "PhantomVanitySet",
  "CalamityRarities",
  "NoxusBoss"
]

here's my modlist

  "ReforgeStatFix",

Thanks. Can I get the workshop link for the ReforgeStatFix mod?

[!NOTE]
With all the mods except "ReforgeStatFix" I'm still able to build the modpack normally.

I disabled reforge stat fix and arrived at the same error

I disabled reforge stat fix and arrived at the same error

I guess you could send the the <STEAM_LIBRARY_PATH>\steamapps\common\tModLoader\tModLoader-Logs\client.log file but I don't think the issue is due to TheBereftSouls code.

client.log


Remove side-effects when running several proceses of n-fold cross-validation of the same model while sharing the same grobid-home directory

This PR allows to run the n-fold cross-validation of a specific model several times sharing the same grobid-home.
Currently the models are named model_name_nfold_x with model_name corresponding the name of the model and x the n-ith fold. However if the same model is evaluated at the same time, they will write/overwrite the models in the grobid-home/tmp directory.
This PR:

add a unique random string on the ith-fold model name
collect generated files paths and deleted them at the end of the process

Coverage decreased (-0.01%) to 38.001% when pulling 67bf75ac546b3b9cfeee5e7d56edc0da299fd90f on feature/randomise-model-name-during-nfold into 47c8978c61dd706962bad8cf92dc6644d8ad35b9 on master.

Thanks Luca, tested and it works fine.


Platform.pi_version() regex fails

Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.):  INSERT PLATFORM/OPERATING
SYSTEM HERE
rpi 3 running jessie
Python version (run python -version or python3 -version):  INSERT PYTHON
VERSION HERE

2.7.9

Error message you are receiving, including any Python exception traces:  INSERT
ERROR MESAGE/EXCEPTION TRACES HERE*

whenever i run Platform.pi_version(), it returns None, which led me to think that the regex was not parsing the info from /proc/cpuinfo properly. i was able to get it to grab the hardware group properly by changing the regex to this:
Hardware\\t+:\s+(\w+)
When re.match parses cpuinfo it reads in the escaped characters. I am sure there is a more elegant solution but I am not familiar enough with python to parse cpuinfo with the characters unescaped.

List the steps to reproduce the problem below (if possible attach code or commands
to run): LIST REPRO STEPS BELOW

run Platform.pi_version()

This was fixed last year with a few other changes--trying the platform pi_version function now returns the correct version.  Thanks for raising the issue!


Add unit tests for cn.escheduler.common.utils.Bytes

Hi
I've written some tests for the methods in cn.escheduler.common.utils.Bytes with the help of Diffblue Cover.
Hopefully, these tests will help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other classes that you consider important in a subsequent PR.

thx!


Rename T variable to sim_horizon for clarity

Issue Description
Currently, the variable T is used throughout the power system modeling package to represent the simulation horizon (the total number of time steps in the simulation). This single-letter variable name can be confusing and doesn't convey its meaning clearly
Proposed Change
Refactor the code to replace all instances of the variable T with the more descriptive name sim_horizon. This change will improve code readability and maintainability by making the purpose of the variable immediately clear
Tasks

[ ] Replace T with sim_horizon throughout the workspace
[ ] Update documentation and comments. Ensure any references to T in documentation or code comments are updated accordingly

This issue is addressed in commit 007ed32f4f01d77d648d3ca0d6ab6857384dcfdd.


Bring back time tracking and estimates

Bring back the removed INE time completed counter, and the custom time left estimate.

Fixed in #5


Load env changes with single make command

Keeping with the idea of helping the user from needing to know/use docker/docker-compose commands and simplifying the process.
This adds make env to fetch the changes made to the .env file post-build.
To test
Run make clean to start with a clean environment then run make env
It should fail with a message "No .env file found." and exit with doing nothing to the system.

Now run make local to build the system. This will automatically create a .env file.
Navigate to http://islandora.traefik.me:8983/solr/#/ and this should give you a 404. Watch out! Your browser might try to redirect you to the HTTPS equivalent. This will not work. Switch it back to HTTP manually.
Modify the .env file to expose solr
Run make help and the output should include " env _ Pull in changes to the .env file.`
Run make env and navigate to http://islandora.traefik.me:8983/solr/#/

Also added some text formatting to the help definitions.

Here is the second part of my testing, and the PR worked as expected.

I ran make local to build the system, and got the expected Solr page 404.
Modified the .env file to expose solr
Ran make env and navigated to http://islandora.traefik.me:8983/solr/#/ and saw te Solr admin page.

There is a small potential bug when running make clean then make make env, but besides that this PR works fine.

@ysuarez It should never create an empty .env file. It's supposed to copy the sample.env file. And yes, that no cores thing is a make local issue/feature.


Add line width parameter to plot_filter

Describe the problem
The line width in plot_filter is quite thick, when overlaid with other lines it looks very dominant. For an example see this WIP.
Describe your solution
Can I add a linewidth argument to the plot_filter function? I would make it take a single value or a list with as many values as requested properties.
Describe possible alternatives
Leave as is. Change default (I don't like this plan as the filtering tutorials look nice as now).
Additional context
This is obviously a completely subjective assessment.

Describe possible alternatives

Have you considered modifying fig.axes[ii].lines after fig is returned?

Yes, sorry should have listed that in alternatives.
This is a totally subjective issue, so its fine if you say this is the style that MNE has agreed on and we want it left as is. Its just that my preference is for line widths of 1 and single argument changes rather than modifying axes.lines.
So I can leave as is if you prefer. But also happy to make the code changes and submit a PR.

Generally we try not to expose all the mpl parameters in our API but instead let users change them after the fact. So I'd rather not add an argument, but I'm open to changing the default so it looks better and/or makes the function more broadly applicable

(usually thick lines are not a good choice, so it's entirely possible something better could be done. If you go this route please touch the plot_background_filtering.py tutorial since that's where the changes will be most obvious)

@larsoner

I'm open to changing the default so it looks better and/or makes the function more broadly applicable

+1 on making the default less thick

Ok. I’ll open a PR and then we can see what it looks like.

Would be nice to change the linewidth with the plot_filter function as if I use the rcParams then time-domain linewidth changes, but not frequency-domain or delay plots because they are being overwritten in the function. Currently I created a custom function from MNE plot_filter function for myself, but I'm following this thread to see if the function gets updated.

@teanijarv would you be up for making a PR to fix our internal linewidth? Basically tweak the linewidth we use internally until you are aesthetically happy with it, and we can look at it and merge if things look better!
FWIW as above I don't think we should add a line_width property as in the top comment, but rather just change our internal default to be better. People who want to modify after the fact can pretty easily modify fig.axes.lines directly afterward.

@larsoner I added the minor edits. Hope you are happy with it! MNE is such an amazing package, hopefully can help some time again! :)

Looks like this was fixed, closing


Imbalance question

cem version: n/a
Python version: n/a
Operating System: n/a

Description
Hi! I have a question about CEM, in particular, the measure of imbalance. It may be indicative of a bug, but more likely it's just my misinterpretation :)
My question is: after weighting, if we sum the relative frequency of the treated and control units scaled by their respective weights, wouldn't we expect the imbalance metric to be 0? I believe the weighting accounts exactly for that. In your documentation you show that it comes out to 0.6 for an example case; in a toy example of my own (modified such that matching features are explicitly called out, otherwise the same) it came out close to 0. In the original paper, I haven't been able to find an imbalance equation with weights applied.
This is the line of interest in the code: link
Your insight here would be greatly appreciated, thanks!

Hi @jfreds91
The imbalance at the chosen level of coarsening should indeed be 0 after pruning and weighting. But the imbalance shown is calculated using the pre-calculated coarsening schema (see CEM.init). The pre-calculated schema is intended to be used to compare several schema, which would otherwise yield imbalance of 0 at their respective levels of coarsening.


Not work

Not work with pug 1

Hi jonikss. As of right now, I have no plans of supporting 0.1.0 and lower. The 0.* versions seem significantly different and more constrained than version 2.*, and I don't see much benefit to supporting the older version. That said, If you have a solution, feel free to make a pull request. That is always helpful.


Remove sensitive data from the url before using

closes #19

@haaawk @psarna could you please check this PR and let me know if there's anything else required


Enable gcp in test

Context
Enable gcp wifi in test environment
Changes proposed in this pull request
Enable gcp wifi in test environment
Guidance to review
review parameter setting correct
Link to Trello card
RSM: migrate to GCP WIF
Checklist

[x] Attach to Trello card
[ ] Rebased main
[ ] Cleaned commit history
[ ] Tested by running locally

 RSM: migrate to GCP WIF


d(...) is not a function

https://codesandbox.io/s/clever-oskar-ltpop?file=/pages/index.js
next: 10.0.5
react: 17.0.1
react-dom: 17.0.1
superjson: 1.4.1
babel-plugin-superjson-next: 0.1.9

Thanks for reporting this issue. I've created two reproduction test cases in #30, but I can't reproduce them locally. Do you also face these issue locally or is it just in the CodeSandbox? On which operating system are you?

Thanks for reporting this issue. I've created two reproduction test cases in #30, but I can't reproduce them locally. Do you also face these issue locally or is it just in the CodeSandbox? On which operating system are you?

It happened in my PC after updating next and other dependencies. I'm using WSL (ubuntu), but it also failed when I deployed it to Vercel

It happened in my PC after updating next and other dependencies. I'm using WSL (ubuntu), but it also failed when I deployed it to Vercel

I downgraded to next v10.0.4 and it works. So, it has something to do with v10.0.5

I downgraded to next v10.0.4 and it works. So, it has something to do with v10.0.5

That's good to know! I'll look into the updates made in 10.0.5 then.

That's good to know! I'll look into the updates made in 10.0.5 then.

Getting the same issue, Tried downgrading to 10.0.4 but no luck. Still getting the same error.
./pages/[...username].tsx
TypeError: E:\libby\libby-web\pages\[...username].tsx: d(...) is not a function

Is there a fix coming out soon?

Getting the same issue, Tried downgrading to 10.0.4 but no luck. Still getting the same error.
./pages/[...username].tsx
TypeError: E:\libby\libby-web\pages\[...username].tsx: d(...) is not a function

Is there a fix coming out soon?

We haven't yet found the root cause. I've asked for input on the Next.js contributors Slack, but haven't received  answers yet. Will open an issue next.
I suspect that this issue happens in specific setups only. Could you provide a repro, too?

We haven't yet found the root cause. I've asked for input on the Next.js contributors Slack, but haven't received  answers yet. Will open an issue next.
I suspect that this issue happens in specific setups only. Could you provide a repro, too?

We haven't yet found the root cause. I've asked for input on the Next.js contributors Slack, but haven't received answers yet. I'm in contact with Prisma now, seems like they know more (vercel/next.js#21043 (comment))

Thanks for the update. I think I'll place the development of my webapp on hold for now until there's a conclusion/fix.

We haven't yet found the root cause. I've asked for input on the Next.js contributors Slack, but haven't received answers yet. I'm in contact with Prisma now, seems like they know more (vercel/next.js#21043 (comment))

Thanks for the update. I think I'll place the development of my webapp on hold for now until there's a conclusion/fix.

Getting the same issue, Tried downgrading to 10.0.4 but no luck. Still getting the same error.

Maybe you downgraded wrong. I have to yarn remove next && yarn add<EMAIL_ADDRESS>(without the ^) to downgrade correctly. I downgraded wrong immeasurable times.

Getting the same issue, Tried downgrading to 10.0.4 but no luck. Still getting the same error.

Maybe you downgraded wrong. I have to yarn remove next && yarn add<EMAIL_ADDRESS>(without the ^) to downgrade correctly. I downgraded wrong immeasurable times.

Getting the same issue, Tried downgrading to 10.0.4 but no luck. Still getting the same error.

Maybe you downgraded wrong. I have to yarn remove next && yarn add<EMAIL_ADDRESS>(without the ^) to downgrade correctly. I downgraded wrong immeasurable times.

Alright I rechecked the version and it was stuck on 10.0.5 but I removed then installed<EMAIL_ADDRESS>and it works again. Only issue now is that it isn't showing data on Prisma but that's a separate issue altogether.

Getting the same issue, Tried downgrading to 10.0.4 but no luck. Still getting the same error.

Maybe you downgraded wrong. I have to yarn remove next && yarn add<EMAIL_ADDRESS>(without the ^) to downgrade correctly. I downgraded wrong immeasurable times.

Alright I rechecked the version and it was stuck on 10.0.5 but I removed then installed<EMAIL_ADDRESS>and it works again. Only issue now is that it isn't showing data on Prisma but that's a separate issue altogether.

This indeed is a regression in Next.js 10.0.5. Bisecting lead me to https://github.com/vercel/next.js/pull/20586 as the root cause. I'm now further investigating it.

This indeed is a regression in Next.js 10.0.5. Bisecting lead me to https://github.com/vercel/next.js/pull/20586 as the root cause. I'm now further investigating it.

Further digging led me to @babel/plugin-transform-react-jsx, which is updated in the aforementioned PR.

Further digging led me to @babel/plugin-transform-react-jsx, which is updated in the aforementioned PR.

Alright, so as a workaround I was able to make it work like this:
- export default function MyPage() {
+ function MyPage() {
    ..
  }

+ export default MyPage

This shows very weird behaviour, though. The error also doesn't occur when JSX isn't used at all:
export default function AStringReturningComponent() {
  return "something something help me understand why this works"
}

Alright, so as a workaround I was able to make it work like this:
- export default function MyPage() {
+ function MyPage() {
    ..
  }

+ export default MyPage

This shows very weird behaviour, though. The error also doesn't occur when JSX isn't used at all:
export default function AStringReturningComponent() {
  return "something something help me understand why this works"
}

Can you confirm this?

Yes, it works. That's very odd

Can you confirm this?

Yes, it works. That's very odd

This is probably the most intricate build chain issue I've ever worked on 😳 Let's hope that the Babel team has an idea ... https://github.com/babel/babel/issues/12631

This is probably the most intricate build chain issue I've ever worked on 😳 Let's hope that the Babel team has an idea ... https://github.com/babel/babel/issues/12631

With the masterful help of @nicolo-ribaudo and @JLHwung, we were able to find a workaround, which works locally for me. @JuanM04 @ChGGse could you try out 0.1.9-fix-19-danger (npm install babel-plugin-superjson-next@danger)? If that also works for you, I'll publish a patch update with that.

With the masterful help of @nicolo-ribaudo and @JLHwung, we were able to find a workaround, which works locally for me. @JuanM04 @ChGGse could you try out 0.1.9-fix-19-danger (npm install babel-plugin-superjson-next@danger)? If that also works for you, I'll publish a patch update with that.

Yes, it works!!!

Yes, it works!!!

Amazing! :D

Amazing! :D

Published as v0.1.10.
What a ride! I'm really glad we solved this 🥳

Published as v0.1.10.
What a ride! I'm really glad we solved this 🥳

@allcontributors add JuanM04 for bug

@allcontributors add JuanM04 for bug

@allcontributors add ChGGse for bug

@allcontributors add ChGGse for bug

With the masterful help of @nicolo-ribaudo and @JLHwung, we were able to find a workaround.
@JuanM04 @ChGGse could you try out 0.1.9-fix-19-danger (npm install babel-plugin-superjson-next@danger)? If that works for you, I'll publish a patch update with that. It works locally for me, so I'm positive on this ^^

I'll test it out in the morning when I wake up!

With the masterful help of @nicolo-ribaudo and @JLHwung, we were able to find a workaround.
@JuanM04 @ChGGse could you try out 0.1.9-fix-19-danger (npm install babel-plugin-superjson-next@danger)? If that works for you, I'll publish a patch update with that. It works locally for me, so I'm positive on this ^^

I'll test it out in the morning when I wake up!


Use new MAINTAINERS and CONTRIBUTING format

See https://github.com/IBM/Predictive-Market-Stress-Testing/blob/master/MAINTAINERS.md and https://github.com/IBM/Predictive-Market-Stress-Testing/blob/master/CONTRIBUTING.md for examples you can copy and paste

Thanks Steve. I update these 2 markdown files.


Workarounds required

This is feedback:

Had to create a custom AMI and install scylla-enteprise-tools package to get cassandra-stress to work
Had to change the user from scyllaadb to ubuntu and make related changes to paths in variables.tf and scylladb-loaders.tf
Had to change line 42 in scylla-cloud.tf to peer_cidr_blocks = [var.custom_vpc]
Had to set fs.inotify.max_user_watches = 524288  and fs.aio-max-nr = 1048576 in /etc/sysctl.conf

After running the benchmark twice, the max ops/sec was around 400K, not 1M
Any other tweaking required?

Hi @mmalgeri
Regarding AMIs, depending on the region you use you might have to find a different ScyllaDB AMI. But creating a custom AMI should not be required on your part.
I've merged a PR that fixes all the known issues. But seems like your issues came from having to create a custom AMI.
Normally, it takes a few minutes to reach 1M ops/sec


Trailing slashes not possible in director routes?

In theory, these two URLs are equally valid, and will generally mean the same thing:

http://localhost:7000/api/
http://localhost:7000/api

However, it seems that number 1 is not currently possible with Director.
I have this setup in my Flatiron app:
// In app.js
var flatiron = require('flatiron'),
    app = flatiron.app;

app.use(flatiron.plugins.http);

app.router.path('/api', require('./api').router);

// In api/index.js
var router = function () {
  this.get('/', function () {
    this.res.writeHead(200, { 'Content-Type': 'text/plain' });
    this.res.end('This is the entry point for the Ardon API.');
  });
};

module.exports = {
  router: router
};

I've tried different variations of that with slash or not slash in the app.router.path() and this.get() invocations, but the result is invariably the same. http://localhost:7000/api works as it should, http://localhost:7000/api/ returns the text “undefined” with a 404 not found header.

@AvianFlu Dont do that. There is a strict option which enables and disables this feature. https://github.com/flatiron/director#configuration

Ah, seems I need to improve my reading skills – thank you, @indexzero :)

@mikl  You can do this through flatiron as well.
// In app.js
var flatiron = require('flatiron'),
    app = flatiron.app;

app.router.strict = false;
app.use(flatiron.plugins.http);

@indexzero that does not appear to work, gives me a TypeError: Cannot set property 'strict' of undefined.
As far as I can see, there's no way of accessing the router object before Flatiron configures it, as it is initialised like this:
app.router = new director.http.Router().configure({
    async: true
});

"strict": false worked for me.

var router = new director.http.Router().configure({ strict: false });

Same behavior as the regex.

In flatiron, this would be

app.router.configure({ strict: false });

Just confirmed with a flatiron example.

What should I do if I want to handle trailing slashes and no trailing slashes using different functions?  Say to redirect requests that use the wrong one to the correct one.
Samples:

localhost/posts -> Redirect -> localhost/posts/ -> List the posts
localhost/posts/:post-id/ -> Redirect -> localhost/posts/:post-id -> Serve a post


GitHub integration doesn't list the repos I'm part of

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[X] 2.x
[X] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[X] bug report
[ ] feature request

Current behavior:
Connected to GitHub from Ionic Pro. No repositories listed.
Expected behavior:
All repositories that I have access to should be listed.
Steps to reproduce:
Connect to GitHub with an account that has no personal repos but that is part of an organization.
Related code:

insert short code snippets here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here

Hi there! This sounds like an issue regarding ionic-pro, the paid services.
This repository and issue tracker are for the Framework and open source project.
Please use one of paid support issue tools, listed here (account, bugs, using ionic services).
Thanks!