Display persistent navigation drawer when window width is "expanded"

Issue

close #182

Overview (Required)

Show persistent navigation drawer instead of modal navigation drawer if window width is classified as "Expanded" (>= 840dp)

Details

The class of window size is already calculated by using calculateWindowSizeClass() in MainActivity and it's passed to KaigiApp
a367deb84ec5edbd2a2869517433f21ec406b35f: In KaigiAppDrawer, use PermanentNavigationDrawer instead of ModalNavigationDrawer to show persistent navigation drawer if WindowSizeClass.widthSizeClass is WindowWidthSizeClass.Expanded
90c8dd9c2bccf2ff7f65bbe21211f1f310bba61a: When using PermanentNavigationDrawer, use PermanentDrawerSheet instead of ModalDrawerSheet as the wrapper of drawer sheet content

ModalDrawerSheet has rounded corners and they don't fit with the appearance of PermanentNavigationDrawer

de2ea60b2ad6c30c451f11dd32acc84d25c3e28b: Hide navigation icon in each screen when showing persistent navigation drawer

Add showNavigationIcon argument to KaigiTopAppBar
Decide the visibility of navigation icon in KaigiApp and pass the flag to each XxxScreenRoot

Screenshot
Compact width

Before
After

Medium width

Before
After

Expanded width

Before
After

How cool. 😳


Can't [Read a Verb-Resource Permission]

You may need to make the same modifications as Update database seeding for Keyrock 8.2 or later. in "402. Roles and Permissions".
Also apply to "406. Administrating XACML via a PAP".
container log：
{"log":"2022-12-19T10:19:13.333Z idm:api-permissions Error: SequelizeDatabaseError: Unknown column 'regex_entity_ids' in 'field list'\n","stream":"stderr","time":"2022-12-19T10:19:13.333596701Z"}

Fixed 8e06843

Fixed 8e06843：mysql-data/backup.sql
Three columns of regex_entity_ids, regex_attributes, regex_types have been added, but four columns of "INSERT INTO permission VALUES" have been added.
It seems that there is one extra ",", so please check.

After that, is it necessary to change "INSERT INTO SequelizeMeta VALUES"?

The tutorial is just pre-inserting some data into a MySQL. SequelizeMeta just reshapes an existing DB. It looks like the shape of some tables changed between 8.2 and 8.3.  You'll have to ask over a Keyrock how their Sequelize code has been set up.


ContinuousEncoder has wrong package_name

julia> info(ContinuousEncoder)
Convert all `Finite` (categorical) and `Count` features (columns) of a table to `Continuous` and drop all  remaining non-`Continuous` features.
→ based on [unknown](unknown).
→ do `@load ContinuousEncoder pkg="unknown"` to use the model.
→ do `?ContinuousEncoder` for documentation.
(name = "ContinuousEncoder",
 package_name = "unknown",
 is_supervised = false,
 docstring = "Convert all `Finite` (categorical) and `Count` features (columns) of a table to `Continuous` and drop all  remaining non-`Continuous` features. \n→ based on [unknown](unknown).\n→ do `@load ContinuousEncoder pkg=\"unknown\"` to use the model.\n→ do `?ContinuousEncoder` for documentation.",
 hyperparameter_ranges = (nothing, nothing),
 hyperparameter_types = ("Bool", "Bool"),
 hyperparameters = (:drop_last, :one_hot_ordered_factors),
 implemented_methods = [:fit, :transform],
 is_pure_julia = false,
 is_wrapper = false,
 load_path = "MLJModels.ContinuousEncoder",
 package_license = "unknown",
 package_url = "unknown",
 package_uuid = "unknown",
 prediction_type = :unknown,
 supports_online = false,
 supports_weights = false,
 input_scitype = Table{#s23} where #s23<:(AbstractArray{#s25,1} where #s25<:Union{Missing, Found}),
 target_scitype = Unknown,
 output_scitype = Table{#s23} where #s23<:(AbstractArray{#s25,1} where #s25<:Continuous),)

Should be "MLJModels".


Send A-IM header with either etag or lastmod

I did a mistake with pull request #390. The header should be sent if either If-None-Match or/and If-Last-Modified headers are also sent to match other implementations.

Coverage decreased (-0.005%) to 30.401% when pulling 4594b20d8cd136e9f8994bde0f68ce70fa6b33f3 on Aeyoun:patch-3 into a68ba16471800de7232d0815d5154e71ba9825e1 on akrennmair:master.

Coverage decreased (-0.005%) to 30.401% when pulling 4594b20d8cd136e9f8994bde0f68ce70fa6b33f3 on Aeyoun:patch-3 into a68ba16471800de7232d0815d5154e71ba9825e1 on akrennmair:master.

Thanks!


Implementation of Word Error Rate

Implementation of Word Error Rate would be nice to have for applications like speech. Here is an implementation that I have, it'd need to be copy-pasted into a scorer.
def edits(src, trg, sub_pen=1.0, ins_pen=1.0, del_pen=1.0):
  # Types:
  # 0 is equal
  # 1 is sub
  # 2 is delete
  # 3 is insert
  sp1 = len(src)+1
  tp1 = len(trg)+1
  scores = np.zeros((sp1, tp1))
  actions = np.zeros((sp1, tp1), np.int32)
  equals = np.expand_dims(np.array(src), axis=1) == np.array(trg)
  scores[:,0] = range(sp1)
  actions[1:,0] = 2
  scores[0,:] = range(tp1)
  actions[0,1:] = 3
  # Forward edit distance
  for i in range(0, len(src)):
    for j in range(0, len(trg)):
      my_action = 0 if equals[i,j] else 1
      my_score = scores[i,j] + my_action * sub_pen
      del_score = scores[i,j+1] + del_pen
      if del_score < my_score:
        my_action = 2
        my_score = del_score
      ins_score = scores[i+1,j] + ins_pen
      if ins_score < my_score:
        my_action = 3
        my_score = ins_score
      actions[i+1,j+1] = my_action
      scores[i+1,j+1] = my_score
  # Backward edits
  i, j = len(src), len(trg)
  best_actions = []
  while i+j != 0:
    my_action = actions[i,j]
    best_actions.append(my_action)
    if my_action != 2: j -= 1
    if my_action != 3: i -= 1
  best_actions.reverse()
  return scores[-1,-1], best_actions

@zdou0830 Woops, I merged this without thinking carefully, but actually there are two things that need to be fixed:

The edit distance needs to be divided by the reference length.
This actually needs to be done over the entire corpus via sufficient statistics (word error rate is not sentence factored). In other words, if we have two sentences where the edit distances are 2 and 4, and the reference lengths are 5 and 10, the WER will be (2+4)/(5+10)


Fix Range copy constructor & assignment

Based on fb1394, so fb1394 is reflected here too (until fb1394 pull request is submitted).

Changed base to current master HEAD to prevent confusion.


create a copy of imputed 5 mins data to mart for visualization purpose

I have copied 5 mins imputation table to mart for the visualization purposes based on issue #430. This dataset in mart level was limited for recent 3 days 5 mins imputed plus observed data for HOV and ML only

This will run into trouble without some partitioning, as the automatic unloading to S3 cannot upload a ~300 GB table in one file. I think if you want to have large tables in the marts database, we'll need to do some more specific planning for it (including some schemas that only create views and don't unload the whole table to S3)

Your approach to limiting the data also works! But if you want the full table, there are some things we might explore.

Agree, limited the data for recent 3 days for HOV and ML only, now the data size is 10.8 M!

3 days data is almost 30 M which exceed the max size 512 MB, reduce the data just for recent one day which is 10.8 M and pass the 512 MB size limit! Hopefully now the dbt check will pass!

@mmmiah I recommend using partitioning to write multiple files. This allows you to write larger datasets to S3.

If you want to grab 30 minutes on my calendar I can show you how to do it

If you want to grab 30 minutes on my calendar I can show you how to do it

Let me catch you in our regular meeting for 10-20 mins at the end of meeting to learn more! Partition concept is interesting. I have just applied the below partition for recent 3 days 30 M data and it works really fine. Thank you for heads up!
{{ config(
materialized="table",
unload_partitioning="('day=' || to_varchar(date_part(day, sample_date)) || '/district=' || district)",
) }}


Add multi SQL squences support

Hi @ptweir, I change the patterns to support highlighting several SQL sequences in a string without typing too many signals.
Now, the pair --sql and ; can highlight single SQL Like
--sql
select column_name from table_name;

the pair --beginsql or --begin-sql and --endsql or --end-sql can hightlight multi SQL sequences like
--beginsql
drop table table_name;
select column_name from table_name;
select cn, count(val) from table_name group by cn;
--endsql

I also change the color of each ; in the second function.
The following picture is an example:

Cheers!

Thanks for the work on the extension.
As of today, the extension doesn't seem to have this feature. Do you know if this change is planned to be applied?


Provide standalone vsix download for sql project extension

Is your feature request related to a problem? Please describe.
sometimes I work in an environments where I don't have admin rights, this prevents me from installing this add-in and no vsix seems to be provided.
Describe the solution or feature you'd like
allow add-in to install without admin rights, provide a stand alone vsix installer for offline and administrative installs
Describe alternatives you've considered
This Is The way :)
Additional context
N/A

@jasonhorner here is the link to the latest sql project extension VSIX https://sqlopsextensions.blob.core.windows.net/extensions/sql-database-projects/sql-database-projects-0.5.1.vsix.  Future versions should follow a similar file naming convention (i.e. just update the version string).
We'll look at this issue as a more general request to make it easy to download VSIX for offline install.  We do have this page for this purpose, but it doesn't look like it's being maintained consistently https://github.com/microsoft/azuredatastudio/wiki/List-of-Extensions.

@jasonhorner - you will also need the .NET Core SDK installed on the workstation to use the SQL project extension (https://dotnet.microsoft.com/download/dotnet-core/3.1)

Closing based on above links. Please reactivate for any further questions/issues.


Persist state of the channel opening process in FundingManager

This PR adds the following persistence to the FundingManager:

After the funding transaction has been confirmed on-chain, the channel is added to an internal database, marking it markedOpen. If the fundingLocked message now fails to be sent before a shutdown happen, the FundingManager will retry sending the message on restart.
After the fundingLocked message has been successfully sent, the channel is marked fundingLockedSent. Again, if the FundingManager now fails to announce the channel to the network, it will retry upon restart.
After the announcement has been sent, we delete the channel from this internal database, as the opening process is complete.

Added fundingManager test that goes through the basic, normal workflow without any restarts.
TODO:

[x] Add test to check restart behavior.
[x] Update to adhere to Channel Establishment in BOLT#2. Note: It specifies that "On disconnection, the funder MUST remember the channel for reconnection if it has broadcast the funding transaction, otherwise it MUST NOT." This PR only adds retransmission of messages after the funding transaction is confirmed.

Addresses #182

Coverage remained the same at 73.206% when pulling a08b1954c1bbd039171a0418fe5a07fd5f096cb4 on halseth:fundingmanager-opening-states into 5e2381a64cc6f3716a079b9110fcf14520dcea7e on lightningnetwork:master.

Coverage decreased (-0.07%) to 74.029% when pulling 01cf6150b5d59c1c4f803c9324010c9ed1f898ab on halseth:fundingmanager-opening-states into c47047c0b8f50ead8d97f56679674df2b6c8ab3e on lightningnetwork:master.

I rebased this on master, and had to add initLogRotator to fundingmanager_test.go to make it not panic. Unfortunately this leads to some trace logging being produced when running the FundingManager tests.
There were a couple of conflicts related to localDiscoverySignals that I tried to resolve after rebasing. In the case we restart and there are channels still in the opening process, I added this before resuming (fundingmanager.go, L387):
chanID := lnwire.NewChanIDFromOutPoint(channel.FundingOutpoint)
f.localDiscoverySignals[chanID] = make(chan struct{})

Please check that the conflicts were resolved correctly, and that I added those lines of code at the right place (I wasn't sure if the channel barrier was also needed, but I think not, since the funding transaction is already confirmed?)

Coverage decreased (-0.01%) to 74.087% when pulling a5cf66f833c33da533c76d97ca57f6e94ca16186 on halseth:fundingmanager-opening-states into c47047c0b8f50ead8d97f56679674df2b6c8ab3e on lightningnetwork:master.

Coverage decreased (-0.2%) to 73.815% when pulling d2f7e69efd81443e1e560ff446e1d9fd650afee1 on halseth:fundingmanager-opening-states into 9c16319e0d3debdbda02f2891a59411e62fe9ded on lightningnetwork:master.

Coverage decreased (-0.05%) to 73.816% when pulling 4f39d1814d6289353b01ef9c7a2d85c2f31d01c4 on halseth:fundingmanager-opening-states into 78f6caf5d2e570fea0e5c05cc440cb7395a99c1d on lightningnetwork:master.

Coverage decreased (-0.005%) to 73.862% when pulling b4265f353558df4659266f3e553a81c9b71bc84b on halseth:fundingmanager-opening-states into 59f906521371933f652cd75b7b49ce4bda99b481 on lightningnetwork:master.


Deferred components tool integration test timing out and/or failing

From https://ci.chromium.org/ui/p/flutter/builders/prod/Linux SDK Drone/65611/overview
02:12 +1 -1: test/integration.shard/deferred_components_test.dart: simple build appbundle android-arm64 target succeeds [E]
  TimeoutException after 0:02:00.000000: Test timed out after 2 minutes.
  dart:isolate  _RawReceivePortImpl._handleMessage

  Expected: contains 'app-release.aab'
    Actual: 'Downloading android-arm-profile/linux-x64 tools...                 504ms\n'
              'Downloading android-arm-release/linux-x64 tools...                 203ms\n'
              'Downloading android-arm64-profile/linux-x64 tools...               231ms\n'
              'Downloading android-arm64-release/linux-x64 tools...               192ms\n'
              'Downloading android-x64-profile/linux-x64 tools...                 173ms\n'
              'Downloading android-x64-release/linux-x64 tools...                 145ms\n'
              'Deferred components prebuild validation passed.\n'
              '\n'
              'ðŸ’ª Building with sound null safety ðŸ’ª\n'
              '\n'
              'Running Gradle task \'bundleRelease\'...                          \n'
              'Shrinking has been disabled for this build due to deferred components. Shrinking is not available for multi-apk applications. This limitation is expected to be removed when Gradle plugin 4.2+ is available in Flutter.\n'
              '\n'
              'Checking the license for package Android SDK Build-Tools 29.0.2 in /b/s/w/ir/cache/android/licenses\n'
              '\n'
              'License for package Android SDK Build-Tools 29.0.2 accepted.\n'
              '\n'
              'Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)".\n'
              '\n'
              '"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready.\n'
              '\n'
              'Installing Android SDK Build-Tools 29.0.2 in /b/s/w/ir/cache/android/build-tools/29.0.2\n'
              '\n'
              '"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete.\n'
              '\n'
              '"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished.\n'
              '\n'
              'Checking the license for package Android SDK Platform 30 in /b/s/w/ir/cache/android/licenses\n'
              '\n'
              'License for package Android SDK Platform 30 accepted.\n'
              '\n'
              'Preparing "Install Android SDK Platform 30 (revision: 3)".\n'
              '\n'
              '"Install Android SDK Platform 30 (revision: 3)" ready.\n'
              '\n'
              'Installing Android SDK Platform 30 in /b/s/w/ir/cache/android/platforms/android-30\n'
              '\n'
              '"Install Android SDK Platform 30 (revision: 3)" complete.\n'
              '\n'
              '"Install Android SDK Platform 30 (revision: 3)" finished.\n'
              '\n'
              'Deferred components gen_snapshot validation passed.\n'
...
              'Running Gradle task \'bundleRelease\'...                             88.1s\n'
              '[!] Your app isn\'t using AndroidX.\n'
              '    To avoid potential build failures, you can quickly migrate your app by following the steps on https://goo.gl/CP92wY .\n'
              'Running Gradle task \'bundleRelease\'...                          \n'
              'Shrinking has been disabled for this build due to deferred components. Shrinking is not available for multi-apk applications. This limitation is expected to be removed when Gradle plugin 4.2+ is available in Flutter.\n'
...
              'Running Gradle task \'bundleRelease\'...                              3.8s\n'
              ''

  package:test_api                                           expect
  test/integration.shard/deferred_components_test.dart 43:5  main.<fn>

https://github.com/flutter/flutter/pull/77566 Increases timeouts

https://github.com/flutter/flutter/pull/77566 landed. This is also a duplicate of https://github.com/flutter/flutter/issues/77445


CORS Policy Issue

Hi,
I'm getting Access to fetch at 'https://remote_server/sample.pdf' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. while loading a remote file.
How do I resolve this on react-doc-viewer?
Thanks

The issue here is that the server you are trying to access the pdf from, has a CORS policy that doesn't allow your localhost connection to download it's files.
If you are just testing sample files, it would be easier to download the pdf and load it locally.
Or have you're own server hosting the files, with your own CORS policy.

I host my files using aws and set my cors policy as below
[
{
"AllowedHeaders": [
""
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
""
],
"ExposeHeaders": [],
"MaxAgeSeconds": 3000
}
]
and i'm still facing this issue

I host my files using aws and set my cors policy as below
[
{
"AllowedHeaders": [
""
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
""
],
"ExposeHeaders": [],
"MaxAgeSeconds": 3000
}
]
and i'm still facing this issue

I host my files using aws and set my cors policy as below
[
{
"AllowedHeaders": [
""
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
""
],
"ExposeHeaders": [],
"MaxAgeSeconds": 3000
}
]
and i'm still facing this issue

Hi,
Sorry this would be an aws / server issue

I host my files using aws and set my cors policy as below
[
{
"AllowedHeaders": [
""
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
""
],
"ExposeHeaders": [],
"MaxAgeSeconds": 3000
}
]
and i'm still facing this issue

Hi,
Sorry this would be an aws / server issue

This worked for me.
[
{
"AllowedHeaders": [
""
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
""
],
"ExposeHeaders": []
}
]

This worked for me.
[
{
"AllowedHeaders": [
""
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
""
],
"ExposeHeaders": []
}
]

This worked for me.

[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "HEAD"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": []
    }
]

This worked for me.

[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "HEAD"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": []
    }
]


Contract file name is aligned in UI view

#1687
Description
In Modules/Project/Resources/views/subviews/edit-project-details.blade.php I have changed line 96 to . Here, I have added overflow-hidden in class and changed "contract" to "contract-file". This is inside .
These changes are required to align the contract file name in UI view upon uploading the contract file.

[x] I have performed a self-review of my own code.

@AnshulSaklani can you share the screenshot how it is looking on your end ?


Local plugin and theme development

How can I locally develop a plugin or a theme without publishing any changes directly to GitHub?

The way we install plugins involved caching in the database what step we are on in the install process (clone/npm install/etc), so local plugins would get deleted since it assumes the plugin is corrupted.
Is there a reason you can't upload it to GitHub?

@danielbayerlein Here's how I work on plugins locally without pushing them to github.
I create a folder for my plugin. Let's say it's at ~/code/zazu/zazu-mac-vpn folder.
I create a symlink of that folder into the ~/.zazu/plugins folder as follows:
$ mkdir -p ~/.zazu/plugins/amjith
$ ln -s ~/code/zazu/zazu-mac-vpn ~/.zazu/plugins/amjith/.

Now I edit my config file ~/.zazurc.json and add it to the list of plugins as follows:
  "plugins": [
    "tinytacoteam/zazu-file-finder",
    "tinytacoteam/zazu-template",
    "tinytacoteam/zazu-system",
    "tinytacoteam/zazu-package-manager",
    "amjith/zazu-mac-vpn"
  ]

Restart zazu and work locally.
@blainesch Is correct that zazu treats ~/.zazu folder as a scratchpad, so things inside that folder might get wiped out if there is a conflict while installing plugins. But since we've created a symlink of the plugin inside that folder, wiping out ~/.zazu means only the symlink will be removed and you won't lose all your work.
I hope that helps.

@amjith I don't think that will work with the newer version of Zazu.
Zazu will see that you have a plugin in your config, see there is a folder, then see that the database does not believe it's cloned... it assumes the clone failed and wipes the folder.
I think you are right if it's a symlink it won't delete the real files, but it will delete the symlink and re-try to clone it (which will fail).

@blainesch  You're correct. My bad.

@blainesch

Is there a reason you can't upload it to GitHub?

No. IMHO it's more comfortable if you do not have to push every change for testing on GitHub.

IMHO it's more comfortable if you do not have to push every change for testing on GitHub.

Aha. In that case, you can just push an empty repo to github with the plugin name and install it. Then you can follow the workflow that I mentioned in my comment. That will work beautifully. You don't have to push every change to github until you're satisfied with the local changes and ready to push.

In the documentation we mention you can start with a template zazu-template that is part of the default packages, so it's already installed. Maybe we could extend the documentation to include that you should literally cd and commit to this repo, then switch the origin later to do a push?

@amjith + @blainesch 👌
Thanks for your support!


Dependency on the graphql gem?

I'm wondering why the dependency on the graphql gem? If the only thing I want is to parse a query into that nice Ruby structure, why do I need the graphql gem?

Ah, nevermind. I posted in the wrong project :)


Improve color picker input: circular shape and dynamic text color based on background

Summary of Changes:

The color picker input has been changed to a complete circle.
The text color now dynamically adjusts based on the background color:
If the r value is 128 or less, the text color is set to white to enhance contrast.
If the r value is greater than 128, the text color is set to black to maintain readability.

before)

after)

Hey @minji105 Looks like there are some conflicts in the code which needs to be resolved, could you please fix them.


Footer in english

Shouldn't the footer be in Hindi too?
General
Subjects
stay in touch
legal terms

Also the pages and taxonomy doesn't work in the backend for Hindi tenant

Duplicate of #665. Seems like the preparations for https://hi.serlo.org aren't completely done, yet


new browsers - firefox forks adress in windows 10

librewolf
\AppData\Roaming\librewolf\Profiles\
floorp
\AppData\Roaming\Floorp\Profiles\
firefox - in the program it has a dot in the .mozzila here is without it maybe it changed already
\AppData\Roaming\Mozilla\Firefox\Profiles\
and '*/places.sqlite'  //like in firefox

Hi yeah, these can probably be added. I will install librewolf and floorp on linux to see if the default firefox schema works to parse their history or if they've changed their db schema like palemoon had
Im not as familiar with windows paths, but like #40, I think I should be able to locate these by using expandvars("%localappdata%"):
"win32": path.expandvars("%localappdata%\\Google\\Chrome\\"),
Though, the ones in #40 seem to be using %localappdata% which afaik expands to \AppData\Local (referencing this), and not %appdata% which expands to \AppData\Roaming like you posted
Seems these are artifacts of Vista user management and these folders could be in either %appdata% or %localappdata% depending on how the user has stuff configured, I suppose we could check both?

installed em and the firefox sqlite queries work to detect/parse the visits out of em
If youre not sure on the appdata/localappdata issue I can do some more research/check both paths, let me know

Will setup a Windows vm tonight to see if I can test

yeah here in mine its all in roaming . but if may sometimes install in local then putting both may be better ans it doesnt harm performance looking 2 paths . as its a utility of not frequent use , generally one time in months , better to just cover all.

Yep makes sense
Will test it in the VM and then add a helper to support checking both paths
on windows
On Tue, Sep 5, 2023, 4:28 PM leao-nardo @.***> wrote:

yeah here in mine its all in roaming . but if may sometimes install in
local then putting both may be better ans it doesnt harm performance
looking 2 paths . as its a utility of not frequent use , generally one time
in months , better to just cover all.
—
Reply to this email directly, view it on GitHub
https://github.com/seanbreckenridge/browserexport/issues/42#issuecomment-1707437442,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3RO5ZLJKJNUBOECBZGPQLXY6YRVANCNFSM6AAAAAA4H4MGMU
.
You are receiving this because you commented.Message ID:
@.***>

Ok, I've pushed changes to the 'firefox-derivatives-windows' branch, could you test floorp/librewolf/firefox with:
git clone https://github.com/seanbreckenridge/browserexport
cd browserexport
git checkout firefox-derivatives-windows
python3 -m pip install .
python3 -m browserexport --debug save -b firefox -t .
python3 -m browserexport --debug save -b librewolf -t .
python3 -m browserexport --debug save -b floorp -t .

Tested in the VM and merged into master:


Workspace - The price $9 in upgrade page is not legible in light mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.5-3
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/43822
Action Performed:
Precondition:

App theme is light

Go to staging.new.expensify.com
Go to Workspace settings.
Add upgrade/report-fields to the url (eg, https://staging.new.expensify.com/settings/workspaces/31DF97D37125FBD6/upgrade/report-fields
)

Expected Result:
The content will be legible in light mode
Actual Result:
The price $9 is not legible in light mode
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

@Gonals  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave-collect - Release 2

Proposal
Please re-state the problem that we are trying to solve in this issue.
The price $9 in upgrade page is not legible in light mode
What is the root cause of that problem?
We are passing styles.textWhite instead of styles.themeTextColor here
https://github.com/Expensify/App/blob/51dd814bf6a142fbaf590b69f90932dec2fe6507/src/pages/workspace/upgrade/UpgradeIntro.tsx#L50
What changes do you think we should make in order to solve the problem?
Change styles.textWhite to styles.themeTextColor below
https://github.com/Expensify/App/blob/51dd814bf6a142fbaf590b69f90932dec2fe6507/src/pages/workspace/upgrade/UpgradeIntro.tsx#L50
What alternative solutions did you explore? (Optional)

This was a side effect of this PR.
@allroundexperts after the other PR review, would you mind submitting a small fix here that uses the theme text colour?

I realise this shouldn't be a blocker as the feature is locked, but I had already started...
PR in review

Merged, no need to CP


CS in luhn

Changes

Fixed code standards (156436834)

[Delivers: #156436834]

@00eadeyemi Ready for your test review

@00eadeyemi Ready for your test review


MudTable cannot calculate width other than English.

Bug type
Component
Component name
MudTable
What happened?
When the HeaderContent is in English, the width of the table can be correctly recognized, and the horizontal scroll bar will automatically appear at the bottom.

But when using other languages as the header, the scroll bar doesn't appear, and set  HorizontalScrollbar="true" , doesn't take effect. All columns are tightly packed together.

Expected behavior
Why does this happen, and how do other languages make columns auto-fit to width?
Reproduction link
https://try.mudblazor.com/snippet/GaQcErFRmjziWsCv
Reproduction steps
None
Relevant log output
No response
Version (bug)
6.0.11
Version (working)
No response
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I got the same problem

@WangQuanKnight
it solved my problem.
https://github.com/fullstackhero/blazor-wasm-boilerplate/issues/215


Sizing utility is not responsive friendly

The sizing utility does not provide responsive variations. For example, you cannot use .w-lg-75 to assign a 75% width to an element only on large screens and up.

There are no plans to add these responsive variants at this time. There are some older issues and PRs that aimed to do this if you're curious to look them up.


Be stricter when accepting rubygems source URIs

Since URI#parse accepts URIs such as http:rubygems.org as per RFC 2396,
we reject such sources manually early in the process, in order to provide more
helpful error messages.
Fixes #3925.

Can we validate the url-ness of source urls when we add them as sources in the DSL class?

@indirect Sure, sounds better indeed; will get back soon with the changes.

Updated to check the validity when the source URIs are added in the DSL class.

Seems good to me! Thanks, @agis- !

Perfect. Thanks!

@homu r+

:pushpin: Commit d11de3d has been approved by indirect

:hourglass: Testing commit d11de3d with merge 267bbb5...

It seems this change breaks compatibility with sources such as "file:///home/travis/build/bundler/bundler/tmp/gems/remote1", since they are absolute but don't have a host: https://travis-ci.org/bundler/bundler/jobs/76237612.
Should we exclude the check for host if the scheme is "file" or be explicit and only perform it when the scheme is "http" or "https"?

Hmmmm. Yeah, I think that makes sense. You could even use uri.schema == "file", I believe.

Thing is, if I only use uri.scheme == "file" it may truly be an invalid URI such as file:foo/bar and the check would give a false positive, since:
URI('file:///foo/bar').host # => nil
URI('file://foo/bar').host # => "foo"

If you mean using uri.schema and testing for that 3rd slash, then yes, this would also work, but I think it'd be redundant and we'd better do this in one pass (via a regex).
What do you think?

Apparently, the suggested change breaks [tests] that rely on Ruby's buggy behavior:
URI('file:///foo/bar').to_s # => file:/foo/bar

This bug is also described here. So if the provided rubygem source is of the format file:///path/to/foo, then the URI is erroneously converted to file:/path/to/foo here.
I assume that such URIs should not work with bundler at all, based on the current implementation. TBH I'm not sure how bundler plays correctly with such URIs all that time. Or does it?
I'm not sure what is the correct approach here (re. URIs that ommit the host). Maybe we should reject them in bundler alltogether?

:broken_heart: Test failed - status

@indirect I'm starting to believe it doesn't worth the fuss to bother with file URIs. I've updated the code to only reject non-host addresses only if they're HTTP/HTTPS.

Makes sense to me. I'm happy with that. Thanks! @homu r+

:pushpin: Commit 49e172f has been approved by indirect

:hourglass: Testing commit 49e172f with merge 104c223...

@homu r+

:pushpin: Commit 6ecf575 has been approved by indirect

:hourglass: Testing commit 6ecf575 with merge bafe0bd...

:broken_heart: Test failed - status

ummmmm homu pretty sure they passed

:sunny: Test successful - status


Project clean up

Codecov Report

Merging #3 (730a0c7) into develop (bd6791a) will increase coverage by 0.89%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop       #3      +/-   ##
===========================================
+ Coverage    86.12%   87.01%   +0.89%
===========================================
  Files            4        4
  Lines          209      208       -1
===========================================
+ Hits           180      181       +1
+ Misses          29       27       -2

Impacted Files
Coverage Δ

lib/src/suggestion_item.dart
100.00% <ø> (ø)

lib/src/utils.dart
100.00% <ø> (ø)

lib/src/field_suggestion.dart
84.21% <100.00%> (+1.07%)
:arrow_up:

Continue to review full report at Codecov.

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


system-filepath is deprecated

https://hackage.haskell.org/package/system-filepath
says it is deprecated in favour of
https://hackage.haskell.org/package/filepath
but the cabal file seems to use it
https://github.com/Gabriella439/optparse-generic/blob/449bc408169606d450a82f198821cfbe846b2f46/optparse-generic.cabal#L28
If there is consensus that this should be revved I will try to tackle it in my CFT

https://www.yesodweb.com/blog/2015/05/deprecating-system-filepath says
You can drop basically all usages of encodeString and decodeString
so that should take care of
https://github.com/smucclaw/optparse-generic/blob/449bc408169606d450a82f198821cfbe846b2f46/src/Options/Generic.hs#L559-L561


chapter 3 titanic Question

hi,
In titanic question in jupyter notebook DataFrameSelector code was:
#cell 110
class DataFrameSelector(BaseEstimator, TransformerMixin):
    def __init__(self, attribute_names):
        self.attribute_names = attribute_names
    def fit(self, X, y=None):
        return self
    def transform(self, X):
        return X[self.attribute_names]

but should not the last line be :
return X[self.attribute_names].values

if it is X[self.attribute_names] then retured object will still be a pandas.DataFrame but we want numpy.array so that it can be used in sklearn.
and also should not we be dropping Survived column for X_train  before:
#cell 118
X_train = preprocess_pipeline.fit_transform(train_data)

Hi @nitml ,
Good questions. Scikit-Learn estimators actually accept DataFrames as inputs: they just use the values automatically.
Regarding dropping the Survived column before calling fit_transform(), it might indeed be safer but in this particular case the pipeline uses the DataFrameSelector transformer to select a subset of the columns, and this does not include the Survived column, so we're fine.
For example:
cat_pipeline = Pipeline([
        ("select_cat", DataFrameSelector(["Pclass", "Sex", "Embarked"])),
        ("imputer", MostFrequentImputer()),
        ("cat_encoder", OneHotEncoder(sparse=False)),
    ])

So what will be the difference if I use "X[self.attribute_names].values" or if I use
"X[self.attribute_names]"

wasn't the whole point of writing DataFrameSelector class was to make dataframe into numpy ?
but if sklearn can handle dataframe why do we need DataFrameSelector class ?

My pleasure :)
The point of the DataFrameSelector is to select the appropriate columns in the DataFrame.  The numerical pipeline selects the numerical columns, while the categorical pipeline selects the categorical columns.
If you just passed the original DataFrame to a Scikit-Learn estimator, it would just gets its values, but this would contain a mix of numerical and categorical columns (not to mention the Survived column!), and it would fail.
Hope this helps

Thanks Great explanation !!


i use proxy and it can not work

raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='android.clients.google.com', port=443): Max retries exceeded with url: /auth (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcca98be050>: Failed to establish a new connection: [Errno 111] Connection refused',))
i use gae proxy with proxychains

theyve blocked cloud providers like aws so if your proxy goes through one of those that could be why.

set environment variable first, HTTP_PROXY and HTTPS_PROXY
if u use windows:
set HTTP_PROXY=http://username:password@host:port
set HTTPS_PROXY=http://username:password@host:port
if u use linux:
export HTTP_PROXY=http://username:password@host:port
export HTTPS_PROXY=http://username:password@host:port
if u want to unable proxy (u must do it coz there is a bug on urllib3):
[windows] set NO_PROXY=<IP_ADDRESS>/8
[linux] set NO_PROXY=<IP_ADDRESS>/8
hope it can help

@yusufRahmatullah thanks ,it's ok


Error in generated Java when multiple associations with similar mutliplicities are defined between two same classes

From TimothyCLethbridge on June 23, 2011 13:58:00
Enter the following code in umple editor (eclipse or umpleonline) and generate the Java code. Classes SourceRelationship and SourceObject have duplicate attributes. Bug can be worked around by adding roles to each side of the associations.
class Relationship {}
class SourceRelationship{
isA Relationship;

-- 1 SourceObject;
-- 1 SourceObject;
}

class SourceObject {}
Original issue: http://code.google.com/p/umple/issues/detail?id=16

From TimothyCLethbridge on June 23, 2011 11:00:39
Labels: -Component-Syntax Component-Metamodel Correctness


Autoincrement the Pack version when uploading from the CLI if it isn't provided

In the web editor, providing a version is optional, and we determine the next version for you if it is not provided. This PR brings that same functionality to the CLI — if the Pack version is not provided, we generate the next one for you via getNextPackVersion and inject that version into your manifest.
Tested by creating and attempting to upload a Pack without a version and verifying that the validation and upload steps pass.
ts-node ../packs-sdk/cli/coda.ts upload manifest.ts

Building Pack bundle...
Pack version not provided. Generated one for you: version is 0.0.2
Validating Pack metadata...
Registering new Pack version...
Uploading Pack...
Validating upload...

Cleaning up...
Intermediate files are moved to /var/folders/50/_v53nyjd0vb2r94bzn5nbcqm0000gp/T/coda-packs-f859461d-a27e-4a98-a471-6ef77527f10b79xT8o
Done!

Go ahead and merge, but just realized we'll need a tiny followup in release.ts to flag for the user that they'll need to explicitly provide a version on the commandline if they're using auto-incrementing, since the manifest does not have an explicit version.
(The alternative is to look up and release the latest version, though that feels less safe to me. Maybe we could do that via a --latest flag or something.)


Node version warning

I get this warning ?!
Plugin /usr/local/lib/node_modules/homebridge-bravia-tvos requires Node version of ^8.9.1 which does not satisfy the current Node version of v10.15.3. You may need to upgrade your installation of Node.

U can ignore that


New API endpoint "users/me/likes"

Can just be a stub for now - return "curated" or something. Obviously requires user is logged in.

Actually. Ignore me.


Remove -c

escaping quotes is crap

and if you need to && in the command, put it in quotes.

and if you need to && in the command, put it in quotes.


Consider hosting the spec as an mdbook?

Perhaps it's worth considering hosting the spec under an mdbook?
Some benefits that come to mind:

Easier to navigate for folk unfamiliar with GitHub.
The chapter column provides a nice overview with subheaders etc.
Left and right keys for navigating through pages.
Supports simpler, real-time search.
Has a community providing external tooling for conversion to PDF, ePub, etc, handy for offline or mobile reading.

For the most part the file layout would almost be the same and folk would still be welcome to peruse by clicking through GitHub links if they prefer.
I remember there being some brief discussion around keeping this as raw GitHub markdown but I don't recall the reasoning :thinking:

No, there wasn't any requirement on raw markdown. Just a requirement to keep the barrier to entry low, which mdbook still satisfies. The only reason it hasn't been done yet is because I have no time 😂😭

Would love to have the specs as an MDbook!


:seedling: 🌱 other/misc Added create-kubestellar-demo-env script

Summary
Related issue(s)
Fixes #

/ok-to-test

@clubanderson should I add the boiler plate text, delete this pull request and try again?

Git getting a messy. Im going to open a new PR


Add support to release aarch64 wheels

On aarch64, pip install rook builds the wheels from source code and then install it. I was looking to add aarch64 wheel support for rook but I was not able to find out the source code repository for rook. This repository looks similar to it but I am not sure whether this is rook repository or not. @adilrookout, could you please help me with this?

Hi @odidev, the source repository for the Python agent is not open source (yet), but we should be able to add binary wheels for aarch64, depending on your requirements.
I would love to set up a quick call to understand better your requirements and how Rookout can serve you :)

Hi @LiranLast,
Our only requirement is to get aarch64 wheel support enabled. :)
We (Arm) look for ways to help open source projects with their aarch64 support (debug, test, enablement, etc.). We would like to help in anyway we can, however, it sounds like we would have to wait until the source is open sourced for this.
Any ideas on when this might happen?

Hi Julio,
We haven't made any decisions on when this will be open-sourced yet, and I'm afraid we can't commit to any specific timeline for ARM wheels.

I understand. In any case, we will keep an eye on this project. :)


feat: made add books form accessible ✨

Related Issue
Closes #1125
Description

Made input elements of Add Books form accessible by adding appropriate label elements.
label elements are attached with their necessary input fields by using attributes like for, id & name.
Overall, this PR is intended to make the entire add books form accessible for screen readers.

Screenshots

We can't capture accessibility changes through screenshots as opposed to code changes since accessibility modifications are often imperceptible to the user, as their purpose is to assist disabled individuals.

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@rohansx, @crocmons please merge this PR.


Is it necessary to have kong-migration in docker-compose file

Hi everyone
is it necessary to have kong-migration node configured in docker-compose file?
please take a look at my config as below. that doesn't work with below error.
sat_kong:
build: ./kong
container_name: kong
command: "kong migrations bootstrap"
environment:
- KONG_DATABASE=postgres
- KONG_PG_HOST=sat_db
- KONG_CASSANDRA_CONTACT_POINTS=sat_db
- KONG_PG_PASSWORD=12322321
- KONG_PROXY_ACCESS_LOG=/dev/stdout
- KONG_ADMIN_ACCESS_LOG=/dev/stdout
- KONG_PROXY_ERROR_LOG=/dev/stderr
- KONG_ADMIN_ERROR_LOG=/dev/stderr
- KONG_ADMIN_LISTEN=<IP_ADDRESS>:8001,<IP_ADDRESS>:8444 ssl
ports:
- "8000:8000/tcp"
- "8001:8001/tcp"
- "8443:8443/tcp"
- "8444:8444/tcp"
depends_on:
- sat_db
restart: on-failure
links:
- sat_db
[root@smartagent-VODC sat-docker]# docker logs -f kong
Error: [PostgreSQL error] failed to retrieve server_version_num: connection refused
Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve server_version_num: connection refused
Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve server_version_num: connection refused
Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve server_version_num: connection refused
Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve server_version_num: connection refused
Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve server_version_num: connection refused
Run with --v (verbose) or --vv (debug) for more details
Error: [PostgreSQL error] failed to retrieve server_version_num: connection refused
Run with --v (verbose) or --vv (debug) for more details
Bootstrapping database...
migrating core on database 'kong'...
core migrated up to: 000_base (executed)
core migrated up to: 001_14_to_15 (executed)
core migrated up to: 002_15_to_1 (executed)
core migrated up to: 003_100_to_110 (executed)
core migrated up to: 004_110_to_120 (executed)
migrating hmac-auth on database 'kong'...
hmac-auth migrated up to: 000_base_hmac_auth (executed)
hmac-auth migrated up to: 001_14_to_15 (executed)
migrating oauth2 on database 'kong'...
oauth2 migrated up to: 000_base_oauth2 (executed)
oauth2 migrated up to: 001_14_to_15 (executed)
oauth2 migrated up to: 002_15_to_10 (executed)
migrating jwt on database 'kong'...
jwt migrated up to: 000_base_jwt (executed)
jwt migrated up to: 001_14_to_15 (executed)
migrating basic-auth on database 'kong'...
basic-auth migrated up to: 000_base_basic_auth (executed)
basic-auth migrated up to: 001_14_to_15 (executed)
migrating key-auth on database 'kong'...
key-auth migrated up to: 000_base_key_auth (executed)
key-auth migrated up to: 001_14_to_15 (executed)
migrating acl on database 'kong'...
acl migrated up to: 000_base_acl (executed)
acl migrated up to: 001_14_to_15 (executed)
migrating response-ratelimiting on database 'kong'...
response-ratelimiting migrated up to: 000_base_response_rate_limiting (executed)
response-ratelimiting migrated up to: 001_14_to_15 (executed)
response-ratelimiting migrated up to: 002_15_to_10 (executed)
migrating rate-limiting on database 'kong'...
rate-limiting migrated up to: 000_base_rate_limiting (executed)
rate-limiting migrated up to: 001_14_to_15 (executed)
rate-limiting migrated up to: 002_15_to_10 (executed)
rate-limiting migrated up to: 003_10_to_112 (executed)
25 migrations processed
25 executed
Database is up-to-date
Database already bootstrapped

It is advisable to run the migrations in their own ephemeral container
docker-compose v2: https://github.com/Kong/docker-kong/blob/master/compose/docker-compose.yml
docker-compose v3: https://github.com/Kong/docker-kong/blob/master/swarm/docker-compose.yml
If you wish to run them all in a single container make your own Dockerfile FROM Kong and add a custom entrypoint.sh


Count with 2 coil in ULP

ok so this lib are great! love the 2 coil.
but i need to count in ULP mode, im using ESP32 with ULP. Only way to stay in 20-30uA range
So i cannot use the i2c library (as is) i need to "convert" it to assembly or use counting with debounce. i2C in assembly seems the best path, but i don't have knowledge for that.
So i will go with counting the 2 coil 1.8v.
i also cannot use interrupt, ULP dont have this possibility..
with your example:
static void IRAM_ATTR sensor_int0()
{
  counter++;
  lastInterrupt = LDC2112_OUT0;
}
static void IRAM_ATTR sensor_int1()
{
  if (lastInterrupt == LDC2112_OUT1)
  {
    // missed signal from the first channel
    errors++;
    counter++;
  }
  lastInterrupt = LDC2112_OUT1;
}

the algo show that i can use the high number of count from the 2 coil.. is that correct?
get counter_A++
get counter_B++
(if counter_A > counter_B) {
   Real_counter==counter_A;
   Errors = counter_A-counter_B;
}

You can go to deep sleep and then wake up on interrupt. This is enough for the counter logic. The logic is more complicated because of corner cases where LDC2112 misses turns. This is by design, unfortunately, LDC2112 is not meant to be used as rotation counter.
i2c is needed only for configuration then. it is possible that LDC2112 resets itself without any obvious reason. In my ZigBee sensor I am checking the configuration every hour or something. i2c is very power-expensive. I believe LDC2112 will also consume more if you are going to poll it with i2c constantly

Thanks for reply.
OK im doing this now with good result (but only try with 2 /3 days)
when ESP first boot...
  Wire.begin(I2C_SDA, I2C_SCL);
  ldc2112_begin(&Wire);

so the ldc2112 gets the ldc2112_config();
then in deep sleep the main ESP CPU, i then use the ESP32 ULP to count out0 and out1  (1.8v)
i also sleep the ULP so consumption in ULP can drop to 10uA or less
  /* Set ULP wake up period to 100ms */
  ulp_set_wakeup_period(0, 100 * 1000);

wakeup from deep sleep every hour and gets the value of "counter" (use the bigger value from out0 or out1)

it is possible that LDC2112 resets itself without any obvious reason.

so i need to configure again with i2c connection? like every hour? or in every boot? to resolve LDC2112 resets..


[Bug]: About Us in the footer is not linked

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
About us in the footer section is not linked to it's respective content
Expected behavior
On clicking about us it should go to the about us page
Add ScreenShots
https://github.com/MAVRICK-1/e-commerce_website/assets/154724111/6d52846f-fb09-4c45-91b3-763ff8df4658
On which device are you experiencing this bug?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@MAVRICK-1 can I work on this?


Add Achievements Tab to Nav Bar

Here can be any type of user who will need the portfolio website. so, Adding these features would give a complete touch to their resume.

I can assign you the issue if you wish to create a full fledged Achievements Page.
@anushbhatia UI suggestions and microanimations please!

Yes, It would be accurate. I'm ready to make full fledge Achievements page.

please assign me this issue

@444-555-fatima  Please check out the other issues. I have clearly mentioned in the guidelines on the slack workspace that once a participant is assigned an issue, it would not be reassigned till their tenure of 2-3 days is over.

I can assign you the issue if you wish to create a full fledged Achievements Page.
@anushbhatia UI suggestions and microanimations please!

https://dribbble.com/shots/4048382-Achievement-illustrations
https://dribbble.com/shots/8804697-User-team-achievements-for-Skara-company-wiki
https://dribbble.com/shots/10927327-Celebration-Animation-for-30k-Followers (Particle effect in bg)

should I put some random Achievements in order to show something?

Yes, you could add random as of now or some of yours.

@Pratishtha33  unassigned due to inactivity.

please review my pR

The PR should be on this repository and not your forked one!

Please have a look at the commits before giving a PR
Your work just depends on an achievement.html, achievement.js, and achievement.css. However, this PR tends to change 42 files that have no relation with the work
Demo Snapshot/Clip missing in the PR Description
Poor Documentation of Code
Corresponding Issue improperly linked

Please rectify the above mistakes


v0.5.0

Current dependencies on/for this PR:

main

PR #488

PR #489

PR #490   👈

This comment was auto-generated by Graphite.


CI diff failure

The CI is currently failing for AMD64 only on Julia 1.0.5, link
$ diff error_codes_generated.jl src/error_codes.jl
134d133
<     E22031,
454d452
< const InvalidArgumentForSqlJsonDatetimeFunction = PQResultError{C22, E22031}
831d828
<     InvalidArgumentForSqlJsonDatetimeFunction => "InvalidArgumentForSqlJsonDatetimeFunction",
The command "diff error_codes_generated.jl src/error_codes.jl" exited with 1.

Also seen here: https://travis-ci.com/github/invenia/LibPQ.jl/jobs/392249034

Also seen here:

https://travis-ci.com/github/invenia/LibPQ.jl/jobs/392249034
https://travis-ci.com/github/invenia/LibPQ.jl/jobs/392854890

Looks like this has been an on-going issue for the last 6 days.

That's not a single platform's version of the tests, that's an explicit test of just that. This indicates an update is required. The src/error_codes.jl file just needs to be replaced with one generated as it is in that CI job.
It's unusual for this kind of change to happen in a patch release of PostgreSQL, which is what happened here. I believed that wouldn't happen, and so didn't expect this test to start failing if there were no code changes.


How to reproduce Multidocument QA results under 9th？

My reproduction of the results on location 9 of the NQ dataset in the longllmlingua paper using the prompt compressor resulted in a large discrepancy from the original results. My hyperparameters are set as follows：

The args.t was set to True and False in two experiments, which was to verify the validity of the contrast ITC.When args.t is set to True, accuracy is 63, while when args.t is set to False, the accuracy is 69.
Questions:
1.What are the hyperparameters that can accurately reproduce the results in the paper with an accuracy of approximately 70.8%(NQ 2x 9th)?
2.Why does contrast ITC drop so severely under my current settings?

The args.ratio is set to 0.5

Just checked the script with @Twillghtaaa and found the main issue lies in the call mode of LLMs, with parameters largely consistent with those mentioned earlier.
Experiments in LLMLingua and most experiments in LongLLMLingua were conducted in completion mode, whereas chat mode tends to be more sensitive to token-level compression. However, OpenAI has currently disabled GPT-3.5-turbo's completion; you can use GPT-3.5-turbo-instruction or Azure OpenAI service instead.

Hi, @Twilightaaa ! Could you please share your reproduction script of experiments on location 9 of the NQ dataset?
Thanks!

Hi @yfpeng1234, you can follow the https://github.com/microsoft/LLMLingua/blob/main/examples/RAG.ipynb and use "GPT-3.5-turbo-instruction" model.

Hi, @yfpeng1234! I followed the instructions provided in https://github.com/microsoft/LLMLingua/blob/main/examples/RAG.ipynb and utilized the "GPT-3.5-turbo-instruction" model without any additional modifications or adjustments.


GDAX triggering buy signal not actually buying anything on btc eur

GDAX triggering buy signal not actually buying anything on btc eur
i can do it manually though

Try running extensions/exchanges/gdax/update-products.sh!

I have got the same issue and now it is working after running extensions/exchanges/gdax/update-products.sh

Do you still think this issue is around today in the latest unstable?

yes it is and it is causing big problem with market changing so fast. the best sells at a given price and btc value goes down (ok good until now) but then the value of btc bounces back and the bot sends 'buy' signal but it NEVER BUYS again, so you end with less BTC than when you started.
I see that you are closing all tickets in favor of 868; but this is not the same thing.
please dont ignore this issue it i causing big losses... thanks for your great work btw


Unable to download song: mutagen.MutagenError: [Errno 2] No such file or directory: 'Music/XXX.mp3'

[x] Using latest version as provided on the master branch
[x] Searched for similar issues including closed ones

What is the purpose of your issue?

[x] Script won't run
[ ] Encountered bug
[ ] Feature request
[ ] Question
[ ] Other

System information

Your python version: python 3.5.2
Your operating system: Ubuntu 16.04.3

Description

python3 spotdl.py --list=all-songs.txt
Total songs in list: 72 songs

1. Coldplay - Fix You
  4,699,408 Bytes [100.00%] received. Rate: [ 892 KB/s].  ETA: [0 secs]
Converting Coldplay_-_Fix_You.m4a to mp3
Fixing meta-tags

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/mutagen/_util.py", line 231, in _openfile
    fileobj = open(filename, "rb+" if writable else "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'Music/Coldplay_-_Fix_You.mp3'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "spotdl.py", line 439, in <module>
    grab_list(text_file=args.list)
  File "spotdl.py", line 306, in grab_list
    grab_single(raw_song, number=number)
  File "spotdl.py", line 414, in grab_single
    metadata.embed(os.path.join(args.folder, output_song), meta_tags)
  File "/home/abhishek/spotify-downloader/core/metadata.py", line 36, in embed
    return embed_mp3(music_file, meta_tags)
  File "/home/abhishek/spotify-downloader/core/metadata.py", line 45, in embed_mp3
    audiofile = EasyID3(music_file)
  File "/usr/local/lib/python3.5/dist-packages/mutagen/easyid3.py", line 170, in __init__
    self.load(filename)
  File "/usr/local/lib/python3.5/dist-packages/mutagen/_util.py", line 169, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/mutagen/_util.py", line 139, in wrapper
    writable, create) as h:
  File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.5/dist-packages/mutagen/_util.py", line 252, in _openfile
    raise MutagenError(e)
mutagen.MutagenError: [Errno 2] No such file or directory: 'Music/Coldplay_-_Fix_You.mp3'

Do you have ffmpeg installed? Also, does this error occur with every song?

Hi,
same issue here.
It happens on all songs.
I checked I have ffmpeg installed (OpenSUSE 42.2) 3.4.1
It does download the songs in m4a but then, converting to mp3 they end up of size 0.
I guess it's some ffmpeg problem, which libraries do you think I should install?
thanks,
Mattia

It seems your FFmpeg installation is missing some required codecs.
In that case, you might have to install FFmpeg from source with necessary codec support (this tool uses libmp3lame, libopus, libfdk-aac but feel free to compile with all listed codec to be on the safe side).
Check out this FFmpeg compilation guide for more info.

Will do the library download and compile , for the moment I just proceed with output -o m4a and it's fine.
thanks

I hesitate to state this because it makes no sense to me, but I was having this problem when writing files to a gocryptfs mounted filesystem on Ubuntu 18.04.
Writing to a plain local drive worked without issue.


Fix crypto configuration for golang 1.14

The 1.19.0 bump tried to ensure library-go compatibility with the addition of a _SHA256 suffix to the following cipher suites:

TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256

The naive approach taken by the bump's test fixes was to include both the new and old names in the cipher map, which satisfied the check in TestConstantMaps that all golang cipher suites were mapped to a name.
However, CipherSuitesToNamesOrDie was not tested, and when called by kube-apiserver would panic due to the suite ids of the ciphers in question mapping to both the old and new cipher names.
This commit ensures CipherSuitesToNamesOrDie is tested to not panic when called with the default set of ciphers, and ensures that attempting to conver the suite ids in question always returns the new name.

/cc @soltysh @sttts @deads2k

/approve


Parse request for then callback

Currently, the callback is called with 3 parameters: callback(result, status, xhr). This is supplied by the parseReq function.
However, this is only done for the success, error & always methods (and by extension, the callback passed to the initial call). The actual promise returned still resolves to just the raw xhr object.

I think it would make more sense to pipe the promise directly into parseReq:
promise = promise.then(parseReq, function(request) {
    var promise = new Promise(function(resolve, reject) {
         reject.apply(promise, parseReq(request));
    }));

    return promise;
});

Then the aliases become just that: aliases.
var aliases = Object.create(null, {
    'success' : 'then',
    'error'   : 'catch',
    'always'  : 'finally',
});

for (var alias in aliases) {
    promise[alias] = promise[aliases[alias]].bind(promise);
}

The only issue here is that sadly most current promise implementations do not support multi-value fulfillment. We can either pass an array to then, or just pass the parsed result.

Actually, after giving this more thought, I don't think it really makes any sense to fulfill with an array.
So instead, here's what I propose:
We keep the current callbacks as is, but we only pass the result to then. I think it makes way more sense than passing it the xhr directly. 99% of the time the result is really all you want.

On further thought1, if we'll implement request/response interceptors (à la angular), we'll probably want the actual xhr object in there.

1 sorry if I'm spamming someone's inbox here...

Closing in favor of #18


Dependency problem of the latest version on windows

@bcamino The latest version requires package '_curses', which is named 'windows-curses' on windows machines. Can we add the dependency to installation?

@Spica-Vir, sure! Would you be able to add it to the requirements and open a PR?

@bcamino Hi Bruno, sorry that I am not the expert of release and installation - actually I am not sure where the installation script is. Are you happy to add a subroutine to tell the user's operation system and choose the corresponding package? Thank you.


Pre populate appId from project config

Describe what this PR does and why we need it:
Pre-fill packageName on create client pop up in intelij plugin. This will be used as the appId in the client resource
Changes proposed in this pull request

new ProjectConfigurationService to retrieve the info. Retrieved from the AndroidManifest.xml for Android and the config.xml for cordova.
Androidmanifest is in the project root folder while the cordova config can be in app/config.xml or app/www/config.xml

fixes https://issues.jboss.org/browse/AEROGEAR-2038
Android studio:

WebStorm:

👍 Cordova is working for me, it might be nice in the future to autoselect it in the dropdown menu for client type as well

@dimitraz you can create some task if you want for that with some description. This could be added as some enhancement


_pickle.UnpicklingError: invalid load key, 'v'.

这里报错要怎么办呀？
File "/Users/lyl/Desktop/postgraduate/一/NLP/SpERT_chinese-main/spert/util.py", line 218, in check_version
state_dict = torch.load(model_path, map_location=torch.device('cpu'))
File "/Library/Python/3.9/site-packages/torch/serialization.py", line 608, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/Library/Python/3.9/site-packages/torch/serialization.py", line 777, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.

加载模型权重有问题。


Default filename to files name

This fixes #843
I didn't add tests because I was unsure how to get them running. I got some error about no saucelabs credentials when I tried to run the tests.
client
I am assuming the file param is always expected to be a File object.
node
I am assuming the file param is expected to be an fs.ReadStream if not a string.

You can run node tests with make test and browser tests locally with make test-browser-local

browser tests locally with make test-browser-local

@pornel that worked thanks.
For the tests, I needed a way to check that the name was being sent correctly in the request. The only thing I was able to get back though was a content disposition string.
I tried parsing that string with this library but was unsuccessful.
I was able to get it to work with a simple regex though. previously the string would have contained filename="undefined" and now it contains filename="image.jpg" (the actual file name.) I don't have a ton of time to throw at this though but I think this is Good Enough™.
Please let me know.

Hmmm IE11 seems to be failing at this line in the test.

OK So it seems IE11 doe snot support the File constructor which would explain the failure on that line.
I am not aware of a good workaround. Any ideas?

@jisaacks if IE doesn't support it, it's IE's problem. You can skip the test there (see FormData check few lines above)

@pornel cool. I skipped the test if File cannot be used as a constructor. Note, I could not just check for the existence of File as in some cases it will exist but not be allowed to be used as a constructor resulting in an error of:

Error: FileConstructor is not a constructor

Let me know if there is anything else.

Thank you


Simple path style returns undefined for a plain string value

A path parameter of style simple (default) is returning undefined for a plain string. Seems it only allows for an array.
I can see why this one is a bit confusing in the spec, as it states simple is type array.
However you can see in both the rfc6570 spec it references and the examples, that it supports individual strings and objects.
Thanks for the library.

Thanks for making the issue. I will check the contents.


Integrate Requests library

Hi!
Thank you for your great lib!
I would like to propose integration with Requests, another great python library.
Sometimes I have an API given on another language, and all I have to do is to generate Requests objects based on given opeapi.yaml file and check API Responses. I want to use your lib and thats why I can not or does not want use Flask.
Usage scenario is something like this:
    req = requests.Request('GET', 'http://<IP_ADDRESS>:9051/info')

    openapi_request = RequestsOpenAPIRequest(req)
    validator = RequestValidator(spec)
    result = validator.validate(openapi_request)

    result.raise_for_errors()
    errors = result.errors
    print('Request errors:', errors)

    r = req.prepare()
    s = requests.Session()
    res = s.send(r)

    openapi_response = RequestsOpenAPIResponse(res)
    validator = ResponseValidator(spec)
    result = validator.validate(openapi_request, openapi_response)

    result.raise_for_errors()
    errors = result.errors
    print('Response errors:', errors)

Repeat the above for all endpoints in paths in openapi.yaml.

I don't think your implementation for the path_pattern is going to work for routes that have path parameters. The library does a dictionary lookup where it expects the path_pattern to equal the path in the spec. For example, consider the path '/pets/{petId}'. Your implementation will cause the library to try to look up something like '/pets/123' in the paths dict, which will cause the validation to fail because that's not the way the path is defined in the OAS spec.

I create a script for testing  API of our node.
https://github.com/ergoplatform/ansible/blob/master/files/scripts/check_openapi_responses.py
Curremtly I skip routes with url patterns, found interesting fatal error:
/blocks
Traceback (most recent call last):
  File "./files/scripts/check_openapi_responses.py", line 105, in <module>
    validate(sys.argv[1])
  File "./files/scripts/check_openapi_responses.py", line 83, in validate
    result = validator.validate(openapi_request)
  File "/home/andyceo/.local/lib/python3.5/site-packages/openapi_core/validators.py", line 96, in validate
    raw_value = self._get_raw_value(request, param)
  File "/home/andyceo/.local/lib/python3.5/site-packages/openapi_core/validators.py", line 135, in _get_raw_value
    raw = location[param.name]
TypeError: list indices must be integers or slices, not str

Discovering what is wrong.
I am testing this API: https://github.com/ergoplatform/ergo/blob/master/src/main/resources/api/openapi.yaml

Make commit with bugfix for message above. Update Pull Request description.

Complete RequestsOpenAPIRequest object properties body and mimetype.
Change PR head message respectively.

Closing in favor of #209


The instructions still lead you to slack

Challenge http://www.freecodecamp.com/challenges/waypoint-pair-program-on-bonfires has an issue. Please describe how to reproduce it, and include links to screen shots if possible.

Commit 7004e81b4a29b196a659bcb5cdcef30253b71d6f closes this issue.


cant change scroll speed event

Describe your bug here.
whenever i try to use the change scroll speed event the game just crashes
i am using the compiled version
Command Prompt/Terminal logs (if existing)
none as of now

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

never mind


ConnectionResetError: [Errno 104] Connection reset by peer

import asyncio

import websockets

async def hello():
    async with websockets.connect('wss://fstream.binance.com/stream?streams=ethusdt@depth5@100ms') as websocket:
        while True:
            msg = await websocket.recv()
            print(msg)

asyncio.run(hello())

Traceback (most recent call last):
  File "/home/johnxiong/PycharmProjects/mywork/tests.py", line 13, in <module>
    asyncio.run(hello())
  File "/home/johnxiong/anaconda3/envs/mywork/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/home/johnxiong/anaconda3/envs/mywork/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/johnxiong/PycharmProjects/mywork/tests.py", line 7, in hello
    async with websockets.connect('wss://fstream.binance.com/stream?streams=ethusdt@depth5@100ms') as websocket:
  File "/home/johnxiong/anaconda3/envs/mywork/lib/python3.8/site-packages/websockets/py35/client.py", line 2, in __aenter__
    return await self
  File "/home/johnxiong/anaconda3/envs/mywork/lib/python3.8/site-packages/websockets/py35/client.py", line 12, in __await_impl__
    transport, protocol = await self._creating_connection
  File "/home/johnxiong/anaconda3/envs/mywork/lib/python3.8/asyncio/base_events.py", line 1050, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/home/johnxiong/anaconda3/envs/mywork/lib/python3.8/asyncio/base_events.py", line 1080, in _create_connection_transport
    await waiter
  File "/home/johnxiong/anaconda3/envs/mywork/lib/python3.8/asyncio/selector_events.py", line 848, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
ConnectionResetError: [Errno 104] Connection reset by peer

https://websockets.readthedocs.io/en/stable/contributing.html#bitcoin-users


Method CreateEntityAssociation does not trigger plugin step

Hi,
I have a plugin on my Dynamics environment which triggers on "Associate" message, works fine when I add M2M relationships in my Power Apps application and when using the Web API.
But using the method "ServiceClient.CreateEntityAssociation" does not trigger the plugin (as if the setting bypassPluginExecution was set to true, but it's not).
The method "ServiceClient.Associate" works fine, it does trigger the plugin, so it may be a bug with the other method.
My environment is v9.2.23092.00206
Using package Microsoft.PowerPlatform.Dataverse.Client v1.1.14
Regards

Thanks for your report,  can you provide the request id,  geo where your org is, and utc (or local +timezone) of the request?  We can look into it at that

From: lasyan3 @.>
Sent: Thursday, October 12, 2023 7:49:18 AM
To: microsoft/PowerPlatform-DataverseServiceClient @.>
Cc: Subscribed @.***>
Subject: [microsoft/PowerPlatform-DataverseServiceClient] Method CreateEntityAssociation does not trigger plugin step (Issue #400)
Hi,
I have a plugin on my Dynamics environment which triggers on "Associate" message, works fine when I add M2M relationships in my Power Apps application and when using the Web API.
But using the method "ServiceClient.CreateEntityAssociation" does not trigger the plugin (as if the setting bypassPluginExecution was set to true, but it's not).
The method "ServiceClient.Associate" works fine, it does trigger the plugin, so it may be a bug with the other method.
My environment is v9.2.23092.00206
Regards
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerPlatform-DataverseServiceClient/issues/400 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACQUENGGWKWD64VZGCJL6W3X67RM7BFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJSGQ2TAMZXGAZTJAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDCOJTHE4TEOBSGQ4KO5DSNFTWOZLSUZRXEZLBORSQ.
You are receiving this email because you are subscribed to this thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi, my org is in Europe (url with crm4.dynamics.com).
How can I get the request id?

I'm sorry I misread your initial post. if you look a the code for that helper.. its calling AssociateEntitiesRequest.
the Plugin would then be triggered on AssociateEntities vs Associate
https://github.com/microsoft/PowerPlatform-DataverseServiceClient/blob/284c3c26ce47250fe772a188e9015443fc7a0ea0/src/GeneralTools/DataverseClient/Client/Extensions/CRUDExtensions.cs#L519C13-L519C13


enable nullable reference types

looking at the source code from calamity, the last argument of BossRushEntry (aka needsDead) is nullable and the rest aren't.
from documentation, it seems that passing that argument as null would default it to the boss, so perhaps there's no need in us defaulting to the boss manually.
I made VesperaEnchStone non-nullable since the code that uses it should run after Load (i think) and never after Unload. So the null! should be safe here.

I find it better to explicitly have certain parts be nullable when needed rather than allowing it on a project level since that'd suppress all the nullable warnings[1], making the project harder to debug in cases of null related errors.

I find it better to explicitly have certain parts be nullable when needed rather than allowing it on a project level since that'd suppress all the nullable warnings[1], making the project harder to debug in cases of null related errors.

nullable warnings are only enabled when nullable reference types are enabled...


feat(plugins): remove config and allow plugin elements

Plugins can be nested in a special component. They are filled with additional props and gain access
to the context (including the store)

Motivation
We needed a better way to allow plugins.
This change will allow nesting elements in special components <Plugins />
You could define a multiple of these containers. This allows storing configurations as importable collections.
const myPlugins = (
<Plugins>
  <MyCustomPlugin/>
  <AnotherCustomPlugin/>
</Plugins>
)

const App = () => (
  <Deck>
    <Plugins>
      <Paging trigger='keydown'/>
      <Url />
    </Plugins>
    {myPlugins}
    <Slide>Slide 1</Slide>
    <Slide>Slide 2</Slide>
    <Slide>Slide 3</Slide>
  </Deck>
)

Issues closed
closes #5
closes #10
closes #11
fixes #9

Compatibility tests

[ ] All tests pass
[ ] New test were written

Intended version

[ ] Patch
[ ] Minor
[ ] Major
[x] 1.0.0 (first release)

concerns:

the store is directly open for mutation
we could pass public methods instead (nextPage, nextFragment ...etc)

as discussed with @mabels plugins should not allow rendering anything.
This PR is 👍 but a further feature should add static slots to <Dekk/>.
There needs to be a separation between plugins and additional elements

What are the default values when no plugins are used?

Without plugins nothing really works.
There's a reason why no plugins are used per default.
The most simple usage would be
<Plugins>
  <Paging/>
</Plugins>


tests: Fix unstable test of alter_partition_by

What problem does this PR solve?
Issue Number: close https://github.com/pingcap/tiflash/issues/8206
Problem Summary: As explain in https://github.com/pingcap/tiflash/issues/8206#issuecomment-1801570552
What is changed and how it works?
Use tidb_isolation_read_engines instead of hint
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/hold
[2023-11-08T11:35:49.082Z] fullstack-test2/ddl/alter_partition_by.test: Running
[2023-11-08T11:36:15.550Z]   File: fullstack-test2/ddl/alter_partition_by.test
[2023-11-08T11:36:15.550Z]   Error line: 180
[2023-11-08T11:36:15.550Z]   Error: set session tidb_isolation_read_engines='tiflash'; select count(*) from test.t2 partition (p0);
[2023-11-08T11:36:15.550Z]   Result:
[2023-11-08T11:36:15.550Z]     count(*)
[2023-11-08T11:36:15.550Z]     0
[2023-11-08T11:36:15.550Z]   Expected:
[2023-11-08T11:36:15.550Z]     +----------+
[2023-11-08T11:36:15.550Z]     | count(*) |
[2023-11-08T11:36:15.550Z]     +----------+
[2023-11-08T11:36:15.550Z]     |        5 |
[2023-11-08T11:36:15.550Z]     +----------+

/run-all-tests

/run-all-tests

/run-all-tests

/run-integration-test

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/hold cancel


Update automation-migrate-account-subscription.md

Fixing typos.

Hi @alexandair, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@alexandair : Thanks for your contribution to the Azure documentation! The author, @MGoedtel, has been notified to review your proposed change.

@alexandair, thanks for taking the time to review and contribute edits for this article.  I have reviewed them and approve them to be merged.

#sign-off


calculateBasePermissions may not correctly retrieve cached members

After testing the permissions plugin I stumbled upon what might be an oversight. bot.members.get() won't work sometimes as multiple members in this collection may have the same ID. This new code seems to work better from my testing with one of my bots, but I have not done rigorous testing.

Codecov Report

Merging #2580 (11bd4bf) into main (788bd85) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2580   +/-   ##
=======================================
  Coverage   49.31%   49.31%
=======================================
  Files         384      384
  Lines        9950     9950
  Branches      460      460
=======================================
  Hits         4907     4907
  Misses       5033     5033
  Partials       10       10

Flag
Coverage Δ

*Carryforward flag

integration
48.50% <ø> (ø)

Carriedforward from 788bd85

unit
24.17% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@RanAwaySuccessfully please run deno fmt

Yes, rhe code is wrong. However this pr does not fix it atm.

Eg: Members are keyed by this
bot.transformers.snowflake(`${user.id}${guildId}`)

oh bruhhhhh when i was debugging the code, using bot.members.get(`${memberOrId}${guild?.id}`) didn't even go through my mind since when looking for the keys in the collection it only returned the member ID for some reason
i blame the vs code debugger
many many thanks


Games - Get Ongoing Games

Get a list of all ongoing games.
This depends on #114 .

Decided on polling for updates ~1min if user is stagnant on screen. As the page refreshes or is navigated to, insure that panel repolls for games.

@morganedmonds  this should be for wombats web client i believe

@emilyseibert I'm not able to move the issue to the correct repo, but I could create a new one for you on the client if you'd like.

No biggie. just lettin' ya know
On Fri, Feb 17, 2017 at 3:16 PM Morgan Edmonds<EMAIL_ADDRESS>wrote:

@emilyseibert https://github.com/emilyseibert I'm not able to move the
issue to the correct repo, but I could create a new one for you on the
client if you'd like.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/willowtreeapps/wombats-api/issues/156#issuecomment-280755166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APW1Pd2frF2JbsphUGy2b4hqjxhcUqu8ks5rdgAEgaJpZM4Loq2t
.


Serious: Unable to submit jobs to Dataflow using only the service account

I need to figure out how to tell Beam/DataflowRunner to use the service account on a machine without an application-default credential set

@pabloem Share the error you are getting.  I think I've done this by setting a bash variable export XXX=path-to-service-account, but that might have been something else.

This is also good we've surfaced, it was what I imagined when putting in issue #7

It sounds like gcloud auth application-default login also solves it.  Do we want a list for people to write (or #beamsummittraining in slack) so that someone can monitor and add people to needed roles.

@pabloem -- did you find a sufficient workaround to the issue you were experiencing?

There's a hacky workaround that works by putting the service account keyfile in the default application credential file: https://github.com/beamsummit/beam-intro-berlin-2019#setting-up-google-cloud-account- (see # HACK)

and yes, if not gcloud auth application-default login will work - but we'll  need to add people manually to the project.


[Task]: Add support for google-api-client:2.0.0+ to beam-runners-google-cloud-dataflow-java

What needs to happen?
Google libraries have started a switch to v2 of their API client library. When using org.apache.beam:beam-runners-google-cloud-dataflow-java with Google Cloud Storage (com.google.cloud:google-cloud-storage:2.11.0+) for example, it creates a dependency conflict. This will prevent updating Google Cloud libraries in a beam/dataflow project until beam-runners-google-cloud-dataflow-java works with the later google-api-client.
Current google-api-client dependencies:
org.apache.beam:beam-runners-google-cloud-dataflow-java:2.41.0
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
<version>1.32.1</version>

com.google.cloud:google-cloud-storage:2.11.3
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
<version>2.0.0</version>

Issue Priority
Priority: 2
Issue Component
Component: runner-dataflow

You can't use any dependency with  google-api-client 2.x for direct runner as well, for example if you want to use PubsubIO you will get an error:
Caused by: java.lang.IllegalStateException: You are currently running with version 2.0.0 of google-api-client. You need at least version 1.31.1 of google-api-client to run version 1.32.1 of the Cloud Pub/Sub API library.
	at com.google.common.base.Preconditions.checkState(Preconditions.java:534)
	at com.google.api.client.util.Preconditions.checkState(Preconditions.java:113)
	at com.google.api.services.pubsub.Pubsub.<clinit>(Pubsub.java:44)
	at com.google.api.services.pubsub.Pubsub$Builder.build(Pubsub.java:6940)
	at org.apache.beam.sdk.io.gcp.pubsub.PubsubJsonClient$PubsubJsonClientFactory.newClient(PubsubJsonClient.java:88)
	at org.apache.beam.sdk.io.gcp.pubsub.PubsubIO$Write$PubsubBoundedWriter.startBundle(PubsubIO.java:1285)
	at org.apache.beam.sdk.io.gcp.pubsub.PubsubIO$Write$PubsubBoundedWriter$DoFnInvoker.invokeStartBundle(Unknown Source)
	at org.apache.beam.repackaged.direct_java.runners.core.SimpleDoFnRunner.startBundle(SimpleDoFnRunner.java:174)
	at org.apache.beam.repackaged.direct_java.runners.core.SimplePushbackSideInputDoFnRunner.startBundle(SimplePushbackSideInputDoFnRunner.java:72)
	at org.apache.beam.runners.direct.ParDoEvaluator.<init>(ParDoEvaluator.java:223)
	at org.apache.beam.runners.direct.ParDoEvaluator.create(ParDoEvaluator.java:179)
	at org.apache.beam.runners.direct.ParDoEvaluator.create(ParDoEvaluator.java:171)
	at org.apache.beam.runners.direct.ParDoEvaluatorFactory.createParDoEvaluator(ParDoEvaluatorFactory.java:152)
	at org.apache.beam.runners.direct.ParDoEvaluatorFactory.createEvaluator(ParDoEvaluatorFactory.java:123)
	at org.apache.beam.runners.direct.ParDoEvaluatorFactory.forApplication(ParDoEvaluatorFactory.java:81)
	at org.apache.beam.runners.direct.TransformEvaluatorRegistry.forApplication(TransformEvaluatorRegistry.java:162)
	at org.apache.beam.runners.direct.DirectTransformExecutor.run(DirectTransformExecutor.java:122)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

@kileys @apilloud this is at the intersection of java and dataflow runner; can you sort out an action plan? you might consult @suztomo

I thought it's been fixed. Let me know if it's still the problem. Dependency tree will clarify what libraries still have old suffix such as "20220403-1.32.1".

Yes, to be clear I am just commenting and pinging people as I triage. I have not investigated. That would be great if this can be closed.


Support for empty value for environment variable

In docker, it is possible to set an empty value for a variable:
ENV MY_VARIABLE=
Makisu does not accept this syntax. Is this a bug or a feature? This Docker "feature" is handy to unset a variable set in a previous layer (from another docker image for example).

I guess this is a bug...

Actually,
ENV MY_VARIABLE=""
Works, as expected in https://github.com/uber/makisu/blob/master/lib/parser/dockerfile/env_test.go
I suppose it is then a very low priority.

Thanks for letting us know.
It was actually documented:
<value>s may contain any character, but to include whitespace it must be escaped using a backslash character or the argument must be surrounded in quotes.

I think current behavior is fine.


Possibly Store Filters in Cookies

One issue I find myself working around quite a bit is that I'll have some set of filters saved, I'll browse away, then come back and have to reset all of my filters.
Storing filters in the URL saves the user trouble if they bookmark or browse back, but if  user ends up back in the scene creation page then the state is lost.
May hold off on this until redesign of browse/project page is revamped, but something we should keep in mind.

We could also store it in session storage - that gets cleared when the browser closes, but not if they close the tab / browse away.

That makes sense yeah


Block/proto version interpretation - preprod HF

We have one interresting issue with db-sync on preprod (babbage) after HF.
For better understanding visit please this url: https://preprod.cexplorer.io/pool/pool1hl6re0nwp9rmq2a7gcs6j8je64jgfd22l5cdq4vlj6fezp2ed9s/blocks#data
and look on block versions:
block before HF: https://preprod.cexplorer.io/block/03e18ee7627b48aa016d8105332556df99dbd20a36f26853a3dc9f0f7cbaa5d4
Protocol: 7.2
block after HF: https://preprod.cexplorer.io/block/5e35dc57f3d8d71a2dc0bdc5aaf2dbbfc1ffb74be36e31bc7a0d064532b0e246
Protocol: 7.0
All nodes are running on latest cardano-node, db-sync too.
Is this expected or issue?

That's indeed a bit strange, I don't know the reason behind it.
cexplorer=# select proto_major, proto_minor, count(*) from block where epoch_no = 21 group by proto_major, proto_minor;
 proto_major | proto_minor | count
-------------+-------------+-------
           7 |           2 | 14821
           7 |           1 |    79
           6 |           0 |  5579
(3 rows)

cexplorer=# select proto_major, proto_minor, count(*) from block where epoch_no = 22 group by proto_major, proto_minor;
 proto_major | proto_minor | count
-------------+-------------+-------
           7 |           0 |  1681
           7 |           1 |     5
(2 rows)

After asking the node team, it seems that the same software version reports different protocol versions in different eras. So I think this is expected.

https://github.com/input-output-hk/cardano-node/pull/4258

As described in the comment https://github.com/input-output-hk/cardano-node/pull/4260/files#diff-8c649864fe4b96d142cfd4c2bb9e32a9510fe737c6ad4e13e04b585ee15a6b74, using 7.2 was a hack to check the software version. After the HF the correct value 7.0 is restored.
Also in https://preprod.cexplorer.io/block/5e35dc57f3d8d71a2dc0bdc5aaf2dbbfc1ffb74be36e31bc7a0d064532b0e246 it's assumed that the node is 1.35.1. I belive this is a wrong assumption if it's based on the PV.
Can we close this?


Upgrade DBeaver-Community to v3.5.5

Would you mind moving this to caskroom/versions? It has been here for a long time, but it seems like it belongs there.

OK.  Moving forward dbeaver-enterprise would be in the main caskroom and dbeaver-community in caskroom/versions.  Will close this pull request and make two new ones.


upgrade: do not enforce package spec for pipx package

[x] I have added an entry to docs/changelog.md

Summary of changes
Test plan
Tested by running
pipx install --suffix @master 'pipx @ git+https://github.com/pipxproject/pipx.git'
pipx upgrade pipx@master

I think this is really old code, and I was always curious why this check on pipx was present.
@cs01, do you know the intent of this code that @abn wants to remove?

Yes this is old! This was back before pipx had the name pipx on PyPI. It was called pipx-app but installed to a venv called pipx. It used to rename pipx-app to pipx (or the other way around, I don't remember). Then we got the name pipx on PyPI, and logic got updated instead of removed. It should be fine to delete. It's just an old, outdated hack.


New version: SaaSGroup.Tower version 8.1.494

Created by 🥟 Dumplings in workflow run #9713.

Log
Updated: 8.0.492 → 8.1.494
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978334972
2024-11-21 08:24:37.073 [CLI ] No suitable installer found for manifest Microsoft.DotNet.DesktopRuntime.8 with version 8.0.11
2024-11-21 07:04:09.845 [CLI ] No suitable installer found for manifest Microsoft.DotNet.DesktopRuntime.8 with version 8.0.11

Automated error analysis suggests -1978334972 may mean This package has a dependency missing from your system.
(Automated response - build 899.)


[REQUEST] Link Not Working

Is there an existing request for this?

[x] I have searched the existing Issues

Current problem or need
The Link you provided is not working please check
Desired solution
Link should be working for the perview
Alternatives you have considered
No response
Anything else?
No response

Can you explain the problem a bit more?

yeah sure this link: http://mezzanine.jupo.org/ is not working

Do you mean in the README.rst lines 152-158 and some assorted after those? The URLs redirect to the README of the appropriate repository on github.


Exception at inserting a Identity PK

The issue
Hello, I'm using EF Core and I had use the instruction scaffold to generate the DBcontext and the model of my SQL server table. When I try to insert an entity into the table it says me that can't insert it wants to insert a value in a Identity column when Identity_insert is off.
I tried to put annotations in the field Id, the one who is giving the problem, and it doesn't work.
This is the script to create the table where I'm trying to insert
CREATE TABLE [dbo].[Impuestos](
	[Id] [int] IDENTITY (1,1) NOT NULL,
	[Tipo] [nvarchar] (10) NOT NULL,
	[Descripcion] [nvarchar] (20) NOT NULL,
	[Porcentaje] [int] NOT NULL,
CONSTRAINT [PK_dbo_Impuestos] PRIMARY KEY CLUSTERED
([Id] ASC)
)
ALTER TABLE [dbo].[Impuestos] ADD CONSTRAINT uc_Impuestos UNIQUE (Tipo,Porcentaje)

This the context generated (I take out the connstring but is config
public partial class LINXContext : DbContext
    {
        public LINXContext(DbContextOptions options) : base(options)
        {}

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.Entity<Impuestos>(entity =>
            {
                entity.HasIndex(e => new { e.Tipo, e.Porcentaje })
                    .HasName("uc_Impuestos")
                    .IsUnique();

                entity.Property(e => e.Descripcion)
                    .IsRequired()
                    .HasMaxLength(20);

                entity.Property(e => e.Tipo)
                    .IsRequired()
                    .HasMaxLength(10);
            });
        }

        public virtual DbSet<Impuestos> Impuestos { get; set; }
    }

This is the object class, it extends SqlEntity for working with repositories layer, and it has the field Id.
public partial class Impuestos : SqlEntity
    {
        public string Tipo { get; set; }
        public string Descripcion { get; set; }
        public int Porcentaje { get; set; }
    }

public abstract class SqlEntity : ISqlEntity
    {
        public int Id { get; set; }
    }

"message": "No se puede insertar un valor explícito en la columna de identidad de la tabla 'Impuestos' cuando IDENTITY_INSERT es OFF.",
"stackTrace": "   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   at System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)\r\n   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)\r\n   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)\r\n   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, String executeMethod, IReadOnlyDictionary`2 parameterValues, Boolean openConnection, Boolean closeConnection)\r\n   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues, Boolean manageConnection)\r\n   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)",

Further technical details
EF Core version: Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"
Operating system: Windows 10
Visual Studio version: VS 2015 update 3
Other details about my project setup:

You are most likely have non-zero id in your model. It should be zero for insert/identity scenarios.

The model gets the Id when extends the class SQLEntity, can't I do in this way so I need to have the Id in the model class? When I debbug the post method, the model object shows me that has an Id 0.
Another thing I tried that allowed me to insert a Tax but no update it, was setting a different property as primary key and set Id as a value generated on Add, it doesn't complain in execution time and inserted the Tax, on the other hand when updating it throws me an exception because I tried to modify a PK.

@Narf92 Is the issue that the table created by EF has an Identity column and you don't want that? Or is the issue that you want the identity column, but you also want to be able to explicitly specify the key values of items inserted? Or is the issue something else?

@ajcvickers hi, I want to keep the identity but I don't want to insert specify value to the PK so the DB should insert the Id.
I followed this example https://docs.efproject.net/en/latest/platforms/aspnetcore/existing-db.html, and the only thing I changed from the model created was taking out the Id to the class SqlEntity that is extended by the model.

@Narf92 If you want the database to generate the value then leave the Id property set to zero. If the property is set to some other value, then EF will use the value set.

@ajcvickers I debbuged my app and I saw that there is a method that is setting the Id automatically in the setAsAdded method.


No newer version than 4.2.2 for arm64?

Hello,
I recently switched to Apple Silicon and I'm confused because my Docker won't pull the latest version of the alpine image for arm64.
Why doesn't Docker recognize arm64/v8 images? Am I missing something?
Docker for Mac 4.4.2 (73305)
MacBook Pro (14-inch, 2021)
Chip Apple M1 Pro
Thanks!

Thanks @tianon! I can definitely wait ;)