Create PROFILE.md

Summary

Changes

Closes:
Task list

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.

ykf321 12月28日 星期六 12:34
SummaryChangesCloses:Task list For workflow changes, I have verified the Actions workflows function as expected. For content changes, I have reviewed the style guide.You can view, comment on, or merge this pull request online at:  https://github.com/skills/introduction-to-github/pull/1104Commit Summary2b9c62a Create PROFILE.mdFile Changes (1 file)A PROFILE.md (1) Patch Links:https://github.com/skills/introduction-to-github/pull/1104.patchhttps://github.com/skills/introduction-to-github/pull/1104.diff—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.

From: ykf321 @.>
Sent: Saturday, December 28, 2024 12:35:31 PM
To: skills/introduction-to-github @.>
Cc: Subscribed @.***>
Subject: Re: [skills/introduction-to-github] Create PROFILE.md (PR #1104)
Closed #1104https://github.com/skills/introduction-to-github/pull/1104.
—
Reply to this email directly, view it on GitHubhttps://github.com/skills/introduction-to-github/pull/1104#event-15775818359, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJ2I4MUCEY2IP32NWN6NHF32HYTBHAVCNFSM6AAAAABUJOCH36VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVG43TKOBRHAZTKOI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Scala 3 support

Support for running rules against Scala 3 sources has just been added to scalafix & sbt-scalafix (SNAPSHOTs only for now, release upcoming next week). Metals will probably follow shortly.
Very few built-in rules are supported for the moment (many depend on features unavailable in the Scala 3 compiler). Adding support for OrganizeImports might not be trivial either (although we might get a good surprise at the first run of the testkit against Scala 3 input sources), but I wanted to open this early to see whether/how we could collaborate on this. I see it as an opportunity for Scalafix maintainers (and potentially Scalameta maintainers) to focus on the right things, and for OrganizeImports to get support faster.
Some pointers:

https://github.com/scalacenter/scalafix/issues/1316
https://github.com/scalacenter/scalafix/pull/1394#pullrequestreview-657029490

Happy to hear your thoughts!
cc @mlachkar

https://github.com/liancheng/scalafix-organize-imports/pull/179 test and document the current status of running scalafix against Scala 3 source files. Known limitations are documented in https://github.com/liancheng/scalafix-organize-imports/pull/179/files#diff-1194561cbea346acb1bea37d81fdf5c70def982dcbb0c64eca2a96bc51941124R88.

I guess this can be closed as Scala 3 is now considered supported, so remaining work should be tracked in separate issues.


Update button padding

Button padding's updated a bit, with a wrap around copy and updated icon to make it more balanced.
Link to Figma

Fixed in https://github.com/getAlby/bitcoin-connect/commit/d28779e3b340d282326f5af4d699284b42ade9c1

fixed


TypeError: globalThis.nostr is undefined

When I try to reply to a post

Which browser extension you using for your key?

Firefox

I'm not sure if I entered the private key.

Firefox

Blockcore Notes doesn't support FireFox. Behind FireFox is a company (Mozilla) that is against free speech and want to oppress and suppress people who have ideas their management don't support. Please see blog post from their former CEO regarding this.

Anyone who wants to add support for FireFox are free to make a pull request, but the main part is probably the Service Worker which uses the Manifest v3 format and the code is probably not fully compatible with FireFox.


GP exact regression cookbook

I have added a basic GP regression cookbook, using CExactInferenceMethod. Might want to add model selection in there or leave that for another cookbook

@yorkerlin
Sorry for the delay in putting up a PR. Will get started with benchmarking tomorrow, unless you think it's better I focus on more cookbooks

Travis fails. This is since you use incompatible types, keep in mind some targets are strongly typed. Ill comment in the .sg file

For some reason, the link
shogun.ml/CGaussianProcessRegression doesnt work. No idea why. remove the sgclass link for now, as I cannot look at the output otherwise

Are there any gp python_modular or libshogun exampes for regression? These can be deleted if existing

@karlnapf there's quite a few python_modular and libshogun examples. Are you sure you want me to remove all the ones dealing with exact regression? Even the ones in "graphical" (i.e. with plots/demos). This is everything I found:
../descriptions/regression_gaussian_process_modular.txt
./python_modular/regression_gaussian_process_modular.py
./python_modular/graphical/regression_gaussian_process_modelselection.py
./python_modular/graphical/regression_gaussian_process_demo.py
./libshogun/regression_gaussian_process_ard.cpp
./libshogun/regression_gaussian_process_gaussian.cpp
./libshogun/regression_gaussian_process_simple_exact.cpp
./libshogun/regression_gaussian_process_laplace.cpp
./libshogun/regression_gaussian_process_fitc.cpp
./libshogun/regression_gaussian_process_sum.cpp
./libshogun/regression_gaussian_process_product.cpp

Only remove those that are covered in this cookbook, which should be just one

Can you also add an integration test file?
These are generated in the same folder where the gaussian_process_regression.cpp file is when you run make test locally

Ok, this looks great and is almost ready to be merged. Just need

fix all minor comments
send a PR against shogun-data with the integration test file
update the data version in this PR
squash all commits into one,
wait for travis to be green

@karlnapf
done!
Just not sure where you'd like me to put the .dat file in the data module (I assume the .dat file from the same directory as gaussian_process_regression.cpp is what you want and not the binary in the same directory).

@karlnapf
Ok I put it in data/testsuite/meta/ like the other cookbooks
Not sure how to send a PR against only shogun-data and not shogun overall...

You need do send a pull request against the shogun-data repository, which I need to merge first. Otherwise the meta integration test doesnt appear on travis.
The data version you updated in this PR (correctly done) is the sha1 hash of the shogun-data repository

examples to be deleted:
./descriptions/regression_gaussian_process_modular.txt
./python_modular/regression_gaussian_process_modular.py
./libshogun/regression_gaussian_process_gaussian.cpp

@karlnapf
Should I fork the data repository? Not sure how to send a PR without it, on github it says there's nothing to compare and if I try git push from ./data it says I can't.

See the other PRs against data. https://github.com/shogun-toolbox/shogun-data/pull/85
Forking is the way.
This PR was fine, didn't need to be touched in fact. (Data revision has to match -- then travis will run the integration meta test). Also would be good if there was one commit for each adding meta example, removing old examples, updating readme.

You need to add one more commit: to update the data version to the merged PR in shogun data.
Otherwise the tests for your example are not executed: https://travis-ci.org/shogun-toolbox/shogun/jobs/119509655#L3897
Then good to go :)

Ah sorry, thought "git submodule update ." was enough but I guess it didn't work.
Done now :)

Great. That's it now :)

Booyah!
Thanks for your patience.

Thanks for the pach! :)


Player ends playing song after around 15 seconds or so

initializing shoukaku with
import { Shoukaku, Connectors } from 'shoukaku';
`const Nodes = [
{
name: 'localhost',
url: 'localhost:2333',
auth: 'MyPassword',
},
];
const shoukaku = new Shoukaku(new Connectors.DiscordJS(client), Nodes);
`
all worked fine, until the bot randomly decided to leave the voice channel
after printing out the player.reason I got FINISHED, even though the song wasn't even halfway through
Lavalink: v3.7.7
Shoukaku: v3.4.0
Node.js: v18.17.0

Did you already ask around Lavalink? This is most likely a Lavalink/Lavaplayer issue

initializing shoukaku with import { Shoukaku, Connectors } from 'shoukaku';
`const Nodes = [ { name: 'localhost', url: 'localhost:2333', auth: 'MyPassword', }, ];
const shoukaku = new Shoukaku(new Connectors.DiscordJS(client), Nodes); `
all worked fine, until the bot randomly decided to leave the voice channel after printing out the player.reason I got FINISHED, even though the song wasn't even halfway through
Lavalink: v3.7.7 Shoukaku: v3.4.0 Node.js: v18.17.0

Lavalink Support Server: https://discord.gg/s9PZY5x8Gg

Did you already ask around Lavalink? This is most likely a Lavalink/Lavaplayer issue

not yet, I'll try asking them
thanks!


token-2022: Add support for Non-Transferable Tokens (NTTs) - NonTransferableMint extension

Related issue: https://github.com/solana-labs/solana-program-library/issues/2909
Add support for tokens that represent achievements, certifications, attendances to an event, etc. In short, everything that would lose its intrinsic value if it could be traded in the market.
The PR adds a new extension NonTransferable that, when enabled on a mint, disables the ability to transfer the tokens between accounts. The only mechanism to send tokens to an account is by using MintTo.
To prevent accounts with non-transferable tokens to change owners, MintTo will only succeed for accounts that have immutable ownership, such as associated token accounts.
Also the check for non-transferability can only happen in function TransferChecked and not Transfer since the latter doesn't receive the mint account information. Fortunately, Transfer is now deprecated. Do we expect to totally disable this function anytime soon?
Although not transferable, these tokens can still be burnt. This will help to alleviate airdrop spam, as the victim would still be able to discard any undesired NTT tokens.
As @mvines correctly noted, currently most wallets don't have support for burning. We should time the release of this feature with wallet developers to keep the users able to discard any undesirable tokens.
Thanks to @guibescos for the feedback and discussions that helped shaped this concept.

I rebased this PR and moved the commits to https://github.com/solana-labs/solana-program-library/pull/3178


Comnet not getting synced after missing some milestones

Describe the bug
I found my comnet node unsynced, no apparent reasons why it should not be synced. Pruning stopped at the latest solid milestone. Mainnet node behind the same router is synced.
To Reproduce
See attached log where between 15:00 and 16:00 the detected milestone jumps from 164352 to 164405.
Expected behavior
Even if some milestones are missed, the pruning should continue and lead to "jumping" over the missed milestones to become synced again.
Environment information:

OS: Arch Linux 5.6.6-arch1-1
RAM: 64 GB
Cores: 8 Cores
Type: Bare metal
HORNET version 0.4.0-8f64f7f

Additional context
20200607_comnet_missed_milestones.gz

Not a bug, you only were unlucky to get dead neighbors. You can clearly see that in your logs.

I agree, no bug, but not a situation you want. It's not good to stay unsynced in such a situation. Do you see any solution besides deleting the db and restart hornet?

We recommend to add a good static peer as a fallback solution to autopeering, since it's the nature of autopeering that this can happen. BTW: did you open your ports correctly? You can check that with the comnet bot in discord

Yup, ports are/were open and I do have a static peer, but apparently that peer was not good enough. or also unsynced. Any thoughts about continuing the pruning whil unsynced?


apoc.rename.label has wrong example (from apoc.rename.type)

 Issue by jexp
Thursday Aug 04, 2022 at 09:52 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/3112

APOC refactor.rename.label contains the wrong example (the example in https://neo4j.com/labs/apoc/4.4/overview/apoc.refactor/apoc.refactor.rename.label/ is for renaming types)
/cc @michael-simons

Fixed on 5.x already, will be released on 4.4 next docs release :)


How to customize sqlmode

It can only be set “Strict Mode” in database.php for MySQL
How to customize ? such as ONLY_FULL_GROUP_BY    NO_AUTO_VALUE_ON_ZERO ...

Support questions should be raised on forum.codeigniter.com
We use github for bug tracking


auth: Change the "continue in browser" link in desktop flow end page.

As suggested by @andersk in https://github.com/zulip/zulip/issues/14828#issuecomment-623627319
Fixes #14828.
Giving the /subdomain// url there could feel buggy if the user
ended up using the token in the desktop app, and then tried clicking the
"continue in browser" link - which had the same token that would now be
expired. It's sufficient to simply link to /login/ instead.

Merged, thanks @mateuszmandera!


Keep selected item in nested menu

There is any way in which the menu can remember the selected menu within a nested menu? this is to avoid clicking multiple times when a menu within a menu has been selected.
Any plans to implement that?
Regards,
Jose.

You mean when you close the menu and open it again, you would like for it to open on the specific submenu that was previously open?

Check the latest version and these new features:
New options: expanded, closeOpenLevels
New data attribute: data-nav-active


Week 0 - Aadit Gupta Review Ticket

[X] Navigates Tech Talk, Test Prep notes and plans
[X] Navigates Data Structures work, GitHub for Code, Replit for runtime, or alternatives
[X] Navigates Create Task work for College Board work, GitHub for Code, runtime instructions (required if taking test)

Evidence

Github Pages
Repl.it Runtime
Github Code
Week 0 TPT Github Page
Group Review Ticket

GitHub page for Test Prep study, requiring 5.1, 5.2 notes and actions 1/1
Aadit had all 5.1 and 5.2 notes and actions.
GitHub page that documents Data Structures project, using code snippets for key learnings, and links to GitHub for code and Replit for runtime 1/1
Aadit had a link to his GitHub code and replit.
GitHub page that documents intended Create Task project for College Board, snippets, and links to Runtime 1/1
The create task plan had all requirements.


feat(coin-eth): Rollback low version smart contract

Task linked: CW-3644 Modify coin-eth to support two different modes of signing payload


[NETBEANS-2303] Update version number on Windows Launchers

Well in the unlikely event of releasing a 11.0-vc5 it could be useful to have a Windows Launcher version update as well.

Looks good. There's also harness/apisupport.harness/windows-launcher-src/app.exe.manifest , which should ideally be updated for consistency as well.
More generally, is there a checklist somewhere for steps that must be taken whenever a new release is to be cut out? We should include the bumping of these version constants there.

Here would be a good place:
https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+Release+README

The actual list is here: https://issues.apache.org/jira/browse/NETBEANS-2052
This item is new on the list as this come up the first time. Or maybe as we were working with pre-built launcher artifacts at that time.
Anyhow it is there now. The next RM just need to clone the issue and will have the todo-s for the next release.

Great! Could you update harness/apisupport.harness/windows-launcher-src/app.exe.manifest as well? Then it looks ready to merge.


change(zebra-scan): Scan only one key per backend call

Motivation
We want to scan only one key and one block per call to the zcash_client_backend::scanning::scan_block function.
The call support scanning a list of keys which it should be more efficient but we can't relate transaction with key in the results.
Close https://github.com/ZcashFoundation/zebra/issues/8018
PR Author Checklist
Check before marking the PR as ready for review:

[x] Will the PR name make sense to users?
[x] Does the PR have a priority label?
[x] Have you added or updated tests?
[x] Is the documentation up to date?

Solution
Replace the list argument of the zebra zcan_block function with single key element.
The scanning_from_populated_zebra_state test case was removed because after the change no empty key will be allowed and the account/nullifier method to scan is not supported; by that the test ends up being the same as scanning_zecpages_from_populated_zebra_state
Testing
Change covered by existing scanning_zecpages_from_populated_zebra_state test, after minor modifications to the call argument.
Review
Anyone can review.
Reviewer Checklist
Check before approving the PR:

[ ] Does the PR scope match the ticket?
[ ] Are there enough tests to make sure it works? Do the tests cover the PR motivation?
[ ] Are all the PR blockers dealt with?
PR blockers can be dealt with in new tickets or PRs.

And check the PR Author checklist is complete.
Follow Up Work

The lightwalletd test failed with:

{"app":"lightwalletd","bind_addr":"<IP_ADDRESS>:40611","error":"listen tcp <IP_ADDRESS>:40611: bind: address already in use","level":"fatal","msg":"couldn't create listener","time":"2023-11-29T21:21:38Z"}

https://github.com/ZcashFoundation/zebra/actions/runs/7038410028/job/19155707096?pr=8034#step:4:305
This is one of those bugs that happens occasionally when we use the same port as another test or running CI server process.


Please describe how to use it

Please describe how to use it

Ok, I will add it today

I added it to readme.


Fix checking for fallthrough attribute support for older compilers

GCC 4.9 (tested on 4.9.3)  doesn't have __has_cpp_attribute.
Compilation fails with:
include/jwt-cpp/jwt.h:1139:24: error: missing binary operator before token "("
 #if __has_cpp_attribute(fallthrough)
                        ^

Looks good, thanks for your contribution.


fix: ssg disable error

ssg 关闭时，应该只构建 Document

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@fa56813). Click here to learn what that means.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #357   +/-   ##
=========================================
  Coverage          ?   81.55%
=========================================
  Files             ?       78
  Lines             ?     6656
  Branches          ?      813
=========================================
  Hits              ?     5428
  Misses            ?     1222
  Partials          ?        6

Impacted Files
Coverage Δ

packages/ice/src/commands/build.ts
88.63% <100.00%> (ø)

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 fa56813...cea9749. Read the comment docs.


Fixed deprecation warnings due to invalid escape sequences - update changes

Coverage remained the same at 99.214% when pulling 0516872ab79356774d5729dec8b3d61ee287717e on secynic-changes-272 into a35ac3bb4d114d2b0a6916253894c82622cc5abf on dev.


Revert "[AST] Ensure requirements are correctly identified as conditional."

Reverts apple/swift#15094

@swift-ci please smoke test and merge


Tagged releases

Just making a note to ourselves that we should tag our releases so it'll be indexed by things like Black Duck :smile:

I hope to release Burrito on Hex... this week


fix(ingest/snowflake): fix usage enum bug

Without the .value, it would produce 'BucketDuration.DAY' instead of 'DAY'.
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@mayurinehate yeah I'm not fully sure, since the enum does inherit from str. But I didn't want to spend too much time understanding this - I saw the error when testing locally and this fixed it for me.

Merging as test failure should be unrelated


[DOCS] Evaluate ppa documentation

Ask on Slack and in the tech call if documentation about Updating deb package is still needed: https://islandora.github.io/documentation/technical-documentation/ppa-documentation/
If it's not needed anymore, retire page

I contacted Jonathan Green and confirmed the PPA is still functional in case we have to use it in the future. I propose that we add to the end of the "Background" section,

If you are running Ubuntu 20.04 or higher, installing a specially-compiled imagemagick is no longer necessary. We are leaving this page available in case in the future we have a need to package our own deb and add it to the Lyrasis PPA.

That sound ok?


Keep GitHub Actions up to date with GitHub's Dependabot

Fixes software supply chain safety warnings like at the bottom right of
https://github.com/nodejs/node-pr-labeler/actions/runs/11145931171

Keeping your actions up to date with Dependabot
Configuration options for the dependabot.yml file - package-ecosystem

@RedYetiDev, @targos Your review, please.

@targos


[CI] Improve change detection by reusing solution from apache/pulsar

Motivation

The built-in GitHub "paths" solution will only consider that latest commit to the branch. This can cause checks to be skipped for some pull requests.

Modifications

reuse parts of GitHub Actions CI workflows used in apache/pulsar

change detection
.github/actions/tune-runner-vm/action.yml runner VM tuning
checkout the merge commit instead of PR head

+1


Introduction of Dockerfiles for both local and prod env in frontend directory

Description
Fixes #94

Local Development: A Docker setup optimized for local development with hot-reloading and minimal overhead.
Production: A Docker setup optimized for production with a lightweight image and efficient build process.

Frontend directory structure
frontend/
├── Dockerfile.dev      # For local development
├── Dockerfile.prod       # For production
├── src/
├── public/
└── package.json

Please also run pre-commit

@arkid15r , the changes are fine i guess ? whats your view I have also verified the compose files working on local too


As a user I want to see a progress spinner when I sign up so that I know the app is still processing my request.

Implemented as described.

Implemented as described.


UI improvements for projects page#2031

Fixes #2031
Describe the changes you have made in this PR -

[x] UI improved
[x] Added project type as a tag

Screenshots of the changes (If any) -
Before:
https://user-images.githubusercontent.com/40604582/132996268-35dce055-214f-4a40-9e41-13d5888f7e35.mp4
After:

From-owner-window :

https://user-images.githubusercontent.com/40604582/132996303-c4f228fc-837a-4c5f-904b-bc199d1c9149.mp4
2.From-other-users-window :
https://user-images.githubusercontent.com/40604582/132996345-10daceba-cf2c-4649-a5bd-3247299eb436.mp4
3.From-no-user-window :
https://user-images.githubusercontent.com/40604582/132996365-d8a309f2-1a68-40bc-9c5e-58d08e68ede1.mp4
4.Responsive:
https://user-images.githubusercontent.com/40604582/132996378-043de4a2-6e55-4ccf-9b42-2475f309271f.mp4
@tachyons ,will you please look at my PR.

Coverage remained the same at 82.54% when pulling 4d242cfbcc215eca1b043ab2e837f5644d407afd on Kartikay304:UI-Improvements-for-Projects-Page#2031 into 90800c8d5ef35092c1d4e87330c280187ae14038 on CircuitVerse:master.

This is great, but there are some spacing issues, I actually made a design for this, let's discuss this over #ux channel before making any changes and finalising. Thanks!

Sure, that will be great and I  will be able learn something new from you. Currently I am facing a problem when running a CircuitVerse instance on docker using docker-compose up (issue #2496 ). Can you please help me out. Also can you please take a look at PR #2465, #2467, #2464 and #2462  :-).


Does pyrh support multiple (IRA) accounts trading as robin_stocks doe?

Checklist

[x] I have searched the issues of this repo and believe that this is not a duplicate.

Feature Request
Does pyrh support multiple (IRA) accounts trading as robin_stocks doe? e.g.:
https://github.com/jmfernandes/robin_stocks/pull/377
https://github.com/jmfernandes/robin_stocks/pull/387

dup of https://github.com/robinhood-unofficial/pyrh/issues/304


(erroneous message) Conflicting options: ui.preselect_current is set to false while ui.preselect is not nil

I'm getting this message on startup, this is my config with lazy:
return {
    'leath-dub/snipe.nvim',
    event = 'VeryLazy',
    keys = {
        { '<leader>;', function() require('snipe').open_buffer_menu() end, desc = 'Open Snipe buffer menu' },
    },
    opts = {
        ui = {
            position = 'cursor',
        },
        hints = {
            dictionary = 'asdfgwerzxcvlmphiou',
        },
    },
}

thanks for catching that, yeah I forgot to change the default after adding the new preselect feature, should be fixed now, reopen if not.


[Bug Report] Quaternion order incorrect in Ant environment observation

Describe the bug
In the documentation for the Ant environment, it is claimed that the quaternion representation of the torso orientation is returned in the (x, y, z, w) order. Upon inspection of a trajectory of the ant and comparing these values with the true behavior visually, it seems to me that the actual order is (w, x, y, z). These values seem to come directly from the qpos variable in Mujoco. I couldn't find any proper documentation of this variable, but the site https://mujoco.readthedocs.io/en/stable/overview.html states "For ball joints, the quaternion saved in mjModel.qpos0 is always (1,0,0,0) which corresponds to the null rotation", which corresponds to the (w, x, y, z) order.
This error might also persist in the documentations of other environments.
Code example
No response
System info
No response
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

Hello, I have tested it and it appears to be correct in the documentation.
qpos[0] Is the x coordinate
qpos[1] is the y coordinate

Thanks for the reply. qpos[0:3] indeed describe the x-, y- and z-position, respectively. I was talking about the orientation of the torso, which is described by the quaternion qpos[3:7]. Here, it seems that the first element (qpos[3]) is the real part (w), followed by the x, y, and z orientations. The documentation however states that the order of these elements is (x, y, z, w).

Commenting because I switched account (I opened this issue).

Hey, @onnoeberhard sorry for taking a while to respond, I had to study how Quaternions work :-)
all material on quaternions I could find denote them as $a + bi + cj + dk$ (and therefore the values are a, b, c, d), it is not clear to me how these map to x, y, z, w rotation

This is just a different convention, the real part is $w$, so that the quaternion is $w + xi + yj + zk$. See also the following paragraph from the MuJoCo documentation: https://mujoco.readthedocs.io/en/2.2.1/programming.html#:~:text=To represent 3D,quaternions in MJCF.

Here is the relevant documentation page in the latest version of MuJoCo Library (3.1.3) https://mujoco.readthedocs.io/en/3.1.3/programming/simulation.html#data-layout-and-buffer-allocation
you are correct, the order is (w, x, y, z)
The affected environment's documentation is
Ant, Humanoid HumanoidStandup
besides the "Observation Space" section, the "Starting State" section also need to be updated
@onnoeberhard do you want to make a PR to fix this issue? Thanks!


File Explorer integration, wrong error with dubious ownership.

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Run the following in a debugger.
Enable File Explorer Integration.
Go to Windows customization > File Explorer.
Click "Add Folder"
Add a repo that has dubious ownership.
Click the drop down.
Click "git"
Expected result
I would get a correct exception about a dubious relationship.
Actual result
RepositoryWrapper.ctor calls new Repository(rootFolder).  LibGit2Sharp throws when making the Repository because the dubious ownership.
The exception bubbles up to GitLocalRepository.ctor.  The catch case throws a new ArgumentException("Invalid repository path").  The Argument extension is logged, not the original exception.
LibGit2Sharp correctly throws with the exception message "repository path 'blah' is not owned by current user'.  The message is removed when ArgumentException is thrown.
Included System Information
No response
Included Extensions Information
No response

The logs do not help either because the original error is not logged.

Thanks! @ssparach has already been looking into this. Was this the result of adding a WSL repo?


Have a calendar view of the events

Worth asking Jennie about "event" functionality and what she would like to see there.


APP-66 ref(biometric): replaces old biometric cordova plugin by ionic native

Uses ionic wrapper: https://ionicframework.com/docs/v3/native/fingerprint-aio/

TODO

[x] Test on iOS (unlock the app and send funds)
[x] Fix on resume (Android): sharing or sending funds

Closed in favor of #11503


Update with 2021 data

Is your feature request related to a problem? Please describe.
Received 2021 data 2022-11-09
Describe the solution you'd like
Update baytrendsmap Shiny app with new data.
Describe alternatives you've considered
NA
Additional context
Should be able to update baytrends_files with the new files.  And don't need to change baytrendsmap package or hosted Shiny app.
Get 2020 script to create "final" data files for use with Shiny and put in "data-raw" folder.  So can replicate in following years.

Added 2019 data and script.


40265305 - Add a private constructor to hide the implicit public one

Whenever there are portions of code that are duplicated and do not depend on the state of their container class, they can be centralized inside a "utility class". A utility class is a class that only has static members, hence it should not be instantiated.

https://github.com/HWJFish/OSMDashboard-Winter-2024-SOEN-6431/pull/5#issue-2135216631 #5


okteto: 2.16.5 -> 2.18.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/okteto/okteto/releases.
meta.description for okteto is: Develop your applications directly in your Kubernetes Cluster
meta.homepage for okteto is: https://okteto.com/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.17.0 with grep in /nix/store/h3yvp2w4ly9xd55kgclsxzjrbmky2by6-okteto-2.17.0
found 2.17.0 in filename of file in /nix/store/h3yvp2w4ly9xd55kgclsxzjrbmky2by6-okteto-2.17.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
okteto

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/h3yvp2w4ly9xd55kgclsxzjrbmky2by6-okteto-2.17.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A okteto https://github.com/r-ryantm/nixpkgs/archive/2314b22ee10dcafd090c4e0e5035b2ee2fcbbf69.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/h3yvp2w4ly9xd55kgclsxzjrbmky2by6-okteto-2.17.0
ls -la /nix/store/h3yvp2w4ly9xd55kgclsxzjrbmky2by6-okteto-2.17.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

okteto

Maintainer pings
cc @aaronjheng for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/okteto/versions.
meta.description for okteto is: Develop your applications directly in your Kubernetes Cluster
meta.homepage for okteto is: https://okteto.com/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.18.0 with grep in /nix/store/pwm34h4bkhjxr9lm7bzkvsqk6yym5b1n-okteto-2.18.0
found 2.18.0 in filename of file in /nix/store/pwm34h4bkhjxr9lm7bzkvsqk6yym5b1n-okteto-2.18.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
okteto

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pwm34h4bkhjxr9lm7bzkvsqk6yym5b1n-okteto-2.18.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A okteto https://github.com/r-ryantm/nixpkgs/archive/ee43a52a7051a414f92327f5e69a7c77dd3a37aa.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pwm34h4bkhjxr9lm7bzkvsqk6yym5b1n-okteto-2.18.0
ls -la /nix/store/pwm34h4bkhjxr9lm7bzkvsqk6yym5b1n-okteto-2.18.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

okteto

Maintainer pings
cc @aaronjheng for testing.


Anchors

Hello,
I am having terrible difficulties with Anchor Managers! The hologram that I have sways and jumps all over the place it also jitters and jutters even though the fps is above 60...
What scene example or documentation is the best for me to reference to get the best understanding of how to us implement anchors? I have searched everywhere and nothing is of value!
Thanks!
Unity Editor Version
5.6.3.p2

Do you have good environment conditions? Enough light in the room and no moving stuff?
I don't know what could cause jumping, jittering and jutters of Holograms.

Your first port of call, if you haven't already visited:
https://developer.microsoft.com/en-us/windows/mixed-reality/spatial_anchors

Light conditions are good. Everything I am doing is not helping. I cannot get the hologram to remain steady. Anyone want to make a quick buck or two with this experience let me know!

Please reopen if your question was not answered.


Crash After Canceled Add Parameter

Material Maker version: 0.99
OS/device including version: Windows 10 Latest
Issue description:
After cancelling the "Add linked control" or "Add configurations" operation in a node group, a new "Unnamed" parameter is created in a broken state that will instantly crash if you attempt to link a parameter to it. However, clicking "Move parameter up / down" will fix this broken state and prevent a crash.

Steps to reproduce:

Create group Ctrl+G or open an existing
Parameters -> "Add linked control" or "Add configurations"
Right or middle mouse click anywhere to cancel the operation
On the newly created "Unnamed" parameter -> "Link another parameter"
Instant crash

Hey @Waffle1434
In case you cloned the project instead of using the precompiled executable, you can add the following lines to the link.gd file at line 79 to fix the problem.
else:     node.generator.remove_parameter(param_name)
This will remove the control again once you hit MMB/RMB.
In my opinion there's a small UX problem though. If there's and existing link, you would like to update it and hit MMB/RMB, it will remove the control. But this also happened before when hitting the escape button on your keyboard.
Full file (link.gd):
`
extends Control
class_name MMNodeLink
var end
var source = null
var target = null
var node = null
var param_name : String = ""
var creating : bool = false
func _init(parent) -> void:
size_flags_horizontal = SIZE_EXPAND_FILL
size_flags_vertical = SIZE_EXPAND_FILL
rect_size = parent.rect_size
rect_clip_content = true
parent.add_child(self)
func pick(s, n, pn : String, c : bool = false) -> void:
source = s
end = get_global_transform().xform_inv(source.get_global_transform().xform(0.5*source.rect_size))
node = n
param_name = pn
creating = c
set_process_input(true)
func show_link(s, t) -> void:
set_process_input(false)
mouse_filter = Control.MOUSE_FILTER_IGNORE
source = s
target = t
update()
func closest(rect, point) -> Vector2:
return Vector2(max(rect.position.x, min(rect.end.x, point.x)), max(rect.position.y, min(rect.end.y, point.y)))
func find_control(gp) -> Dictionary:
for c in get_parent().get_children():
if c is GraphNode:
if c.get("controls") != null:
for w in c.controls:
var widget = c.controls[w]
if is_instance_valid(widget) and Rect2(widget.rect_global_position, widget.rect_size*widget.get_global_transform().get_scale()).has_point(gp):
return { node=c, widget=widget }
return {}
func _draw() -> void:
var start = get_global_transform().xform_inv(source.get_global_transform().xform(0.5*source.rect_size))
var color = Color(1, 0.5, 0.5, 0.5)
var rect
if target != null:
color = Color(0.5, 1, 0.5, 0.5)
rect = get_global_transform().xform_inv(target.get_global_transform().xform(Rect2(Vector2(0, 0), target.rect_size)))
draw_rect(rect, color, false, 2)
end = closest(rect, start)
rect = get_global_transform().xform_inv(source.get_global_transform().xform(Rect2(Vector2(0, 0), source.rect_size)))
draw_rect(rect, color, false, 2)
start = closest(rect, end)
draw_line(start, end, color, 1.5, true)
func _input(event: InputEvent) -> void:
if event.is_action_pressed("ui_cancel"):
set_process_input(false)
queue_free()
node.generator.remove_parameter(param_name)
if event is InputEventMouseMotion:
var control = find_control(event.global_position)
end = get_global_transform().xform_inv(event.global_position)
target = control.widget if control != null and !control.empty() and node.generator.can_link_parameter(param_name, control.node.generator, control.widget.name) else null
update()
elif event is InputEventMouseButton:
if event.pressed:
if event.button_index == BUTTON_LEFT:
var control = find_control(event.global_position)
if !control.empty():
node.link_parameter(param_name, control.node.generator, control.widget.name)
elif creating:
node.generator.remove_parameter(param_name)
else:
node.generator.remove_parameter(param_name)
set_process_input(false)
queue_free()
get_tree().set_input_as_handled()
`

@Waffle1434 @meywue Please don't hesitate to grab latest dev build and tell me if this works for you. Thanks!

Hey, thanks for looking into it. Unfortunately I can still reproduce crashes. And depending on the version I use they seem to be different.

master branch, fresh clone, v3.4.4.stable.official [419e713a2] 29762be (latest Godot version on steam in case that's relevant)
Repro:

Add Remote node
Hit 'Add linked control'
Cancel action by hitting RMB
Hit 'Add linked control' again
video You might have to download it, the quality in the web player is horrific.

dev build
Repro:

Add Remote node
Hit 'Add linked control'
LMB on an empty spot (try a few times, seems to be a kinda random)
(note: I can't even cancel the action with RMB here)
video

The PR I posted here was just bypassing the actual underlying problem.


Basic window style spacing is off

Is there an existing issue outlining your problem?

[x] I have searched the existing issues and they do not solve my problem.

Describe your problem.
The basic stile is missing some padding to the left of the window name. It should look like this.
As a side note, in my opinion it should really look like this, without the big gap between windows, but that's a different issue.
Paste your configuration.
set -g @catppuccin_flavor 'macchiato'
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_text "#W"

Attach screenshots.

What tmux version are you seeing the issue on?
tmux 3.5
Any additional comments?
No response

If you don't set @catppuccin_window_{default,current}_text, how does it look?

You need to add a space before the #W

Also the spacing between windows is not controlled by this plugin, it is a tmux option window-status-separator. See https://man7.org/linux/man-pages/man1/tmux.1.html


Common: find a way to reduce assembly time

See http://stackoverflow.com/questions/19543530/sbt-assembly-task-runs-slowly-after-adding-some-dependencies

So far I haven't got this to work - I am following these instructions and have added this:
    assemblyOption in assembly ~= { _.copy(cacheOutput = false) },

but without noticeable speedup.
I notice that sbt assembly runs much faster in the host than in the guest. Maybe increasing the number of cores we give the snowplow/snowplow VM would help?

Hey Fred - giving the VM more cores sounds like a good idea!

Here are some interesting links on giving a VM multiple cores:
http://superuser.com/questions/297697/are-there-any-real-advantages-to-assigning-more-cores-to-virtualbox
https://stefanwrobel.com/how-to-make-vagrant-performance-not-suck

Thanks Fred, could you rename this ticket to something like "Update Vagrant to give access to all CPU cores" and close the sibling tickets?

Unfortunately increasing to 4 cores doesn't seem to reduce the assembly time either.
In this thread, joeroot is experiencing the same problem of performance on guest being much worse than performance on host: https://github.com/sbt/sbt-assembly/issues/68

Descheduling since we haven't made any progress.

@alexanderdean @jbeemster I think I've finally made progress on this one. My idea is to do the assembly outside the shared directory - i.e. copy the project to be assembled out of /vagrant and into e.g. /home/vagrant before assembling.
I am testing this with the current version of scala-kinesis-enrich on a VM with 1 core without NFS enabled. Assembling outside the shared directory took 63 seconds. Assembling inside the shared directory is currently at 20 minutes and still going.

Genius!

It really is!

@fblundun - eureka! I've got a better idea: change your shared folder type from vboxfs (the default) to nfs in your Vagrantfile. E.g.
config.vm.synced_folder "~/src/", "/home/vagrant/src", type: "nfs", create: true

You'll want to setup NFS in your VM, too. It's different depending on your distro and config, but here's what I did:
sudo su
apt-get install nfs-kernel-server nfs-common
echo "/home/vagrant   <IP_ADDRESS>(rw,no_subtree_check,all_squash,async)" | tee -a /etc/exports
service nfs-kernel-server restart

The echo piece is needed because NFS won't start on Ubuntu unless there's a defined export. So I share /home/vagrant with myself.
Assembly time went from ~8 minutes to ~10 seconds for me. :-)

(FWIW, I'm using Scala 2.10.4, sbt 0.13.8, and sbt-assembly 0.13.0).

mmh not using vagrant + assemblies are generated on travis, closing


Cannot export Sparrow wallet using "Export..." button under Settings

Tested on both Windows and OS X 1.3.1 with multiple wallet types.
Can export Sparrow wallet to (Sparrow format) using File-->Export Wallet-->Export File (Sparrow). In this case, a file save dialog pops up with a default wallet name with a .JSON extension.
However, if one attempts to click the Export... button on the Settings tab and selects Export File... (Sparrow), a file save dialog box will pop up with a default wallet name and no .JSON extension. An empty zero byte file will be created, and Sparrow will report "Error exporting Sparrow wallet file."
I can reproduce this error even after deleting the config file, repairing the install, or completely uninstalling and reinstalling.

Looks like a fix has already been developed and should show up in the next release.


Remove remote store attributes from DiscoveryNode toString()

Description
Remove remote store attributes from discovery node toString method to reduce the noise in logs. With this change, it will not log the remote store attributes when it logs the node's information.
Log before fix:
[2023-10-21T11:59:37,563][INFO ][o.o.c.s.MasterService    ] [a483e760c3eb.ant.amazon.com] elected-as-cluster-manager ([1] nodes joined)[{a483e760c3eb.ant.amazon.com}{h32zPMOiSdi2-bPknzppAg}{-TZ4rc9URAqRxMMrQ7urhQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}{dimr}{remote_store.repository.my-repo-1.settings.region=XXXXX, remote_store.repository.my-repo-1.settings.bucket=XXXXXX, remote_store.repository.my-repo-1.type=XXXX, remote_store.state.repository=my-repo-1, remote_store.repository.my-repo-1.settings.base_path=XXXXX, shard_indexing_pressure_enabled=true, remote_store.segment.repository=my-repo-1, remote_store.translog.repository=my-repo-1} elect leader, _BECOME_CLUSTER_MANAGER_TASK_, _FINISH_ELECTION_], term: 6, version: 20, delta: cluster-manager node changed {previous [], current [{a483e760c3eb.ant.amazon.com}{h32zPMOiSdi2-bPknzppAg}{-TZ4rc9URAqRxMMrQ7urhQ}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}{dimr}{remote_store.repository.my-repo-1.settings.region=XXXX, remote_store.repository.my-repo-1.settings.bucket=XXXXX, remote_store.repository.my-repo-1.type=XXXX, remote_store.state.repository=my-repo-1, remote_store.repository.my-repo-1.settings.base_path=XXXXXXX, shard_indexing_pressure_enabled=true, remote_store.segment.repository=my-repo-1, remote_store.translog.repository=my-repo-1}]}
Log after fix:
[2023-10-21T12:28:24,448][INFO ][o.o.c.s.MasterService    ] [a483e760c3eb.ant.amazon.com] elected-as-cluster-manager ([1] nodes joined)[{a483e760c3eb.ant.amazon.com}{h32zPMOiSdi2-bPknzppAg}{HrkFLotDS1KSN6EeQdBK0Q}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}{dimr}{shard_indexing_pressure_enabled=true} elect leader, _BECOME_CLUSTER_MANAGER_TASK_, _FINISH_ELECTION_], term: 8, version: 28, delta: cluster-manager node changed {previous [], current [{a483e760c3eb.ant.amazon.com}{h32zPMOiSdi2-bPknzppAg}{HrkFLotDS1KSN6EeQdBK0Q}{<IP_ADDRESS>}{<IP_ADDRESS>:9300}{dimr}{shard_indexing_pressure_enabled=true}]}
Related Issues
#10809
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Unrelated flaky test is failing : org.opensearch.indices.replication.SegmentReplicationSuiteIT.testDropRandomNodeDuringReplication.
Created issue for it : https://github.com/opensearch-project/OpenSearch/issues/10813

It would be good to have a cluster setting to control this as there might be cases where we want to see the remote store attributes, particularly when the node join validation fails.

It would be good to have a cluster setting to control this as there might be cases where we want to see the remote store attributes, particularly when the node join validation fails.

For redacting the APIs response, we can do it based on cluster setting. For logging one option could be to append all the remote store attributes based if tracing is enabled.

Another option could be to add summarized view of repos which can be enabled always.


Select automatically the best unfolding : the matrix is not updated in some cases

1/ Open the coclustering 1-Adult2varsEducationOccupation.khcj
2/ Click on "Select automatically the best unfolding" (without performing any other actions before)
3/ Set "number of clusters" to 10 and click OK
-> the matrix is not updated
This bug does not occur if, before Step 1 and 2, you modify the selected cell by clicking either on the hierarchy, or on current clusters or in a cell of the matrix.

Platform: Windows
Version: 11.0.6

lié à https://github.com/KhiopsML/kc-electron/issues/119


Set up Next.js environment:

Set up Next.js, Python, Miniconda, OpenAI, Openrouter API, and Pinecone API environment:

Create a basic UI skeleton for the support agent.
Design and implement the main query interface
Integrate basic AI responses using OpenAI.

.take


[ bug ] image size is reseted after saving, if not visible

When I save an workflow in ComfyUI, if the Load Image nodes are not visible, then the panel height is reseted ( to the max. height ), when I close and open the workflow again.
By "not visible", I mean if the panel is minimized, or in a non displayed group, or hidden in the advanced controls.
I think this was working before. But it got broken at some point.

memo to self - this is probably because when the node is made "not visible" the change observer records a zero value for the height in the widget properties

I think this fix created a bug
The controller starts small, but keeps increasing after adding a node.

separate issue. Can you see if it's still happening?

This is #197 related to horizontal recapping of the controller. I believe it is now fixed (and you can change the controller width...)

and you can change the controller width...

Can we do this in this version ?

I believe it is now fixed

This is mostly fixed,
In one of my workflows, it does not and it decreases size, by itself.
But this is an older workflow that also has other issues ( perhaps related to been created in an older version ? )
In this workflow, I was not able to save the image size even when the image was visible.

It may be a bug ... but it does look good in the narrow layout ...


SEO for the website

The description needs to be better in using SEO tags and appropriate images from the website should appear while sharing it on social media. Suggest any other changes or additions that can be done for improving the website SEO.

Hello, could you assign this to me please ?

Yeah sure!

https://github.com/devscollab/devscollab.github.io/pull/53


Cleanups to proptypes and shapes

Title of change
why the change and what has changed
Checklist

[ ] Unit tests written
[ ] Manually tested
[ ] Prettier & ESLint were run
[ ] New dependencies are included in package-lock.json

Screenshot
insert screenshot if needed

Deployed to: http://staging.quran.com:32775

Deployed to: http://staging.quran.com:32776

Deployed to: http://staging.quran.com:32781


Inconsistent command-line option parsing

The usage example shows passing flags to the parser command as extra command-line arguments:
Usage: toml-test-v1.0.0-linux-amd64 parser-cmd [ parser-cmd-flags ]

And it also contains the following note:
Any positional arguments are use as the parser-cmd; to pass flags, remember to
stop toml-test's flag parsing with --

   $ toml-test-v1.0.0-linux-amd64 -- my-parser -x -y

Unfortunately this only seems to work consistently for single-character flags. Longer flags seem to be checked for validity against toml-test's own flags.
As an example, the following command is accepted:
$ ./toml-test-v1.0.0-linux-amd64 -- /bin/false -x

But this one is not:
$ ./toml-test-v1.0.0-linux-amd64 -- /bin/false --enable-x
toml-test-v1.0.0-linux-amd64: unknown flag: "--enable-x"

Even stranger, the options are allowed through or not depending on whether they match one of toml-test's options. For example, toml-test has an option --skip, and thus the following is accepted as an option to pass to the decoder to be run:
$ ./toml-test-v1.0.0-linux-amd64 -- /bin/false --skip

But if we change one letter, it is no longer accepted:
$ ./toml-test-v1.0.0-linux-amd64 -- /bin/false --skop
toml-test-v1.0.0-linux-amd64: unknown flag: "--skop"

I fixed this some time ago in the flag parsing library; I updated it here and seems to work well now.


Troubles with installing my private package from private S3 index built with S3PyPi

Hi all,
First of all I would lie to thank you for this wonderful tool. The built of a private S3 index was so easy using S3PyPi (following your tutorial).
Actually I'm trying to install a homemade package using pipenv from my private S3 pypi index index.
I'm using:

python 3.7.3
pip 19.2.1
pipenv 2018.11.26

The install command line:
pipenv install my-homemade-package --extra-index-url https://my-private-index
I'm facing the following issue below and do not understand what I'm doing wrong (since the final issue did mension an unreachable).
Installing my-homemade-package…
Adding my-homemade-package to Pipfile's [packages]…
✔ Installation Succeeded
Pipfile.lock (67b9a8) out of date, updating to (8e084c)…
Locking [dev-packages] dependencies…
✔ Success!
Locking [packages] dependencies…
✘ Locking Failed!
[pipenv.exceptions.ResolutionFailure]:   File "/home/redhouane/.local/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/home/redhouane/.local/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/home/redhouane/.local/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/home/redhouane/.local/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches my-homemade-package
[pipenv.exceptions.ResolutionFailure]:       No versions found
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches my-homemade-package
No versions found
Were https://pypi.org/simple or https://my-private-index.my-domaine.com/my-homemade-package/ reachable?
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/home/redhouane/.local/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/home/redhouane/.local/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/home/redhouane/.local/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches my-homemade-package
[pipenv.exceptions.ResolutionFailure]:       No versions found
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches my-homemade-package
No versions found
Were https://pypi.org/simple or https://my-private-index.my-domaine.com/my-homemade-package/ reachable?

I did try the approaches recommanded in the stack trace :
First:
1 - Try clearing your dependency cache with pipenv lock --clear
2 - Try the original command again (the issue persist)
Second:
1 - Use pipenv install --skip-lock to bypass this mechanism
2 - run pipenv graph to inspect the situation (No dependency related to my private package is listed)
Third:
Try pipenv lock --pre if it is a pre-release dependency
Fourth:
I tryied to install my homemade package from my private package using pip with the following commande line:
pip install my-homemade-package --extra-index-url https://my-private-index.my-domaine.com/
But still does not work with the following error message:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b67abb278>: Failed to establish a new connection: [Errno -2] Name or service not known')': /my-homemade-package/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b67abb550>: Failed to establish a new connection: [Errno -2] Name or service not known')': /my-homemade-package/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b67d0e5c0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /my-homemade-package/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b67a9fef0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /my-homemade-package/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b67a9ff98>: Failed to establish a new connection: [Errno -2] Name or service not known')': /my-homemade-package/
ERROR: Could not find a version that satisfies the requirement my-homemade-package (from versions: none)
ERROR: No matching distribution found for my-homemade-package

P.S: I did try to add my private index url into enabled source within my Pipefile with the following lines:
[[source]]
url = "https://my-private-index.my-domaine.com/"
verify_ssl = true
name = "my-private-index"

but, one more time, the issue still persist.
Did you ever fecad a similar issue ?
Thx in advance for your help,
Red1

I am having the same issues,
Hoping someone found the solution
error - ERROR: Could not find a version that satisfies the requirement test (from versions: none)
ERROR: No matching distribution found for test
Whist this happens most of the times i try , sometimes , it does install but the modules , attributes do not load.
Thanks in advance for the help

Hey guys, have a look at #35

This is likely fixed in s3pypi 1.0.0.


extensions/common/wasm coverage

Hello,
The Envoy project has recently started collecting per-extension coverage. You have been tagged with this issue as you are a co-owner of an extension, extensions/common/wasm, which is below the 96.6 percent coverage mark.
Could you please take a look at coverage results (https://storage.googleapis.com/envoy-postsubmit/master/coverage/index.html) and add more tests when you get a chance? Once this is done you should be able to remove your extension from the exempt extensions in test/per_file_coverage.sh
Thanks!

@alyssawilk please assign to me.

reopening because it's not yet regression-proof
"Once this is done you should be able to remove your extension from the exempt extensions in test/per_file_coverage.sh"


Error nuking us-gov (govcloud) regions

Get the following error right off the bat ("could not find any enabled regions") when trying to nuke Govcloud (us-gov-west-1) resources:
❯ cloud-nuke aws --region us-gov-west-1
INFO[2020-11-30T20:13:22-05:00] The following resource types will be nuked:
INFO[2020-11-30T20:13:22-05:00] - ami
INFO[2020-11-30T20:13:22-05:00] - asg
INFO[2020-11-30T20:13:22-05:00] - ebs
INFO[2020-11-30T20:13:22-05:00] - ec2
INFO[2020-11-30T20:13:22-05:00] - ecscluster
INFO[2020-11-30T20:13:22-05:00] - ecsserv
INFO[2020-11-30T20:13:22-05:00] - eip
INFO[2020-11-30T20:13:22-05:00] - ekscluster
INFO[2020-11-30T20:13:22-05:00] - elb
INFO[2020-11-30T20:13:22-05:00] - elbv2
INFO[2020-11-30T20:13:22-05:00] - lambda
INFO[2020-11-30T20:13:22-05:00] - lc
INFO[2020-11-30T20:13:22-05:00] - rds
INFO[2020-11-30T20:13:22-05:00] - s3
INFO[2020-11-30T20:13:22-05:00] - snap
ERRO[2020-11-30T20:13:34-05:00] *errors.errorString could not find any enabled regions
github.com/gruntwork-io/cloud-nuke/aws/aws.go:66 (0x1972488)
github.com/gruntwork-io/cloud-nuke/aws/aws.go:79 (0x1972566)
github.com/gruntwork-io/cloud-nuke/commands/cli.go:200 (0x19913ce)
github.com/gruntwork-io/gruntwork-cli@v0.1.2/errors/errors.go:93 (0x16a019e)
github.com/urfave/cli@v1.20.0/app.go:490 (0x168fe42)
github.com/urfave/cli@v1.20.0/command.go:210 (0x16910db)
github.com/urfave/cli@v1.20.0/app.go:255 (0x168e028)
github.com/gruntwork-io/gruntwork-cli@v0.1.2/entrypoint/entrypoint.go:21 (0x1993e78)
github.com/gruntwork-io/cloud-nuke/main.go:13 (0x19940a7)
runtime/proc.go:204 (0x1039609)
runtime/asm_amd64.s:1374 (0x106b861)
error="could not find any enabled regions"
FYI, this is cloud-nuke binary on mac (via brew install).  The version is :
❯ cloud-nuke -v
cloud-nuke version v0.1.24
BTW, this tool works just fine in commercial regions.  Just not in Govcloud. Any plans to support the us-gov-*  regions?

We'd love to support govcloud, but don't have bandwidth to do it right now. If anyone has time available, a PR is welcome!

I believe this is the same issue as https://github.com/gruntwork-io/cloud-nuke/issues/132

This was solved by #179. Closing the issue :)


Revert "Invalid regexp patterns should not throw syntax error during …

…parsing (#4038)"
This reverts commit 11c2ae30d10a23b2cd4b67bfd7fe8bb6d1d31391.
This change wasn't necessary, the latest spec expects early error again.
JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác<EMAIL_ADDRESS>

@rerobika I tried to revert the original change, but something went wrong, everything related to regexp asserts.
Maybe I made some mistake during resolving conflicts or the code base changed a lot and the original code is wrong now.
Could you check what's wrong here?
$ tools/build.py --debug --error-messages=on --logging=on
$ build/bin/jerry
jerry> /foo/;
ICE: Assertion 'page_p != list_p->data.last_p || (index * list_p->item_size < list_p->data.last_position)' failed at /home/oszi/jerryscript/jerry-core/parser/js/js-parser-mem.c(parser_list_get):284.
Error: ERR_FAILED_INTERNAL_ASSERTION
Aborted (core dumped)

[0] from 0x00007ffff7a22f47 in __GI_raise+199 at ../sysdeps/unix/sysv/linux/raise.c:51
[1] from 0x00007ffff7a248b1 in __GI_abort+321 at abort.c:79
[2] from 0x000055555555f957 in jerry_port_fatal+28 at /home/oszi/jerryscript/jerry-port/default/default-fatal.c:30
[3] from 0x00005555555aebd9 in jerry_fatal+179 at /home/oszi/jerryscript/jerry-core/jrt/jrt-fatals.c:63
[4] from 0x00005555555aec2b in jerry_assert_fail+82 at /home/oszi/jerryscript/jerry-core/jrt/jrt-fatals.c:87
[5] from 0x0000555555574299 in parser_list_get+259 at /home/oszi/jerryscript/jerry-core/parser/js/js-parser-mem.c:283
[6] from 0x00005555555b31c8 in parser_post_processing+1409 at /home/oszi/jerryscript/jerry-core/parser/js/js-parser.c:1142
[7] from 0x00005555555b56c9 in parser_parse_source+1721 at /home/oszi/jerryscript/jerry-core/parser/js/js-parser.c:2332
[8] from 0x00005555555b6bfe in parser_parse_script+73 at /home/oszi/jerryscript/jerry-core/parser/js/js-parser.c:3100
[9] from 0x00005555555f95da in jerry_parse+165 at /home/oszi/jerryscript/jerry-core/api/jerry.c:455

@ossy-szeged I've submitted a PR #4506 to resolve this problem properly.

@ossy-szeged I've submitted a PR #4506 to resolve this problem properly.


Allow empty HTTP header values

According to RFC7230 an empty field-value is acceptable due to the *() rule, see:
field-value    = *( field-content / obs-fold )
field-content  = field-vchar [ 1*( SP / HTAB ) field-vchar ]

Resolves #118.

Awesome, that looks good to me!


NEOS - update author information.

Current value pulled from GitHub forks:
https://github.com/KSP-CKAN/CKAN-meta/blob/ed44a58d50cf84b95cb77ce237bfd31a6ee17b5c/NehemiahEngineeringOrbitalScience/NehemiahEngineeringOrbitalScience-0.8.2.ckan#L7-L10
    "author": [
        "N3h3miah",
        "mwerle"
    ],

Why do some mods have metadata in the CKAN repo, and others in the Netkan repo?  Or is that value auto-generated?
Regardless, "mwerle" is incorrect... where/how should that be edited/overridden?

Regardless, "mwerle" is incorrect... where/how should that be edited/overridden?

It's just your GitHub user name.
Anyway, I wanted to check whether we needed to update other mods. Doesn't look like it, and these changes are fine. Thanks for the update.

Ah ok. Thanks 😊


How to pass parameters in share_plus

I've been  using qr_flutter plugin with esys_flutter_share
to generate QR Code and save it locally  inside  my app on button click I was using
but it's not compatible now with latest package get_storage
Now I've replaced it with share_plus bit I don't know If it's possible to pass a controller or property  byteData.buffer.asUint8List(),as follow
Future<void> _captureAndSharePng() async {
try {
  RenderRepaintBoundary boundary =
  globalKey.currentContext.findRenderObject();
  var image = await boundary.toImage();
  ByteData byteData = await image.toByteData(format: ImageByteFormat.png);
  Uint8List pngBytes = byteData.buffer.asUint8List();

  await Share.shareFiles(
     text:  'QR image', 'QR.png', byteData.buffer.asUint8List(), 'image/png');
} catch (e) {
  print(e.toString());
}
}

I have the same question here, how could I share Uint8List image?

You have to write it to a file first. After that you can use the files path to share with share_plus.


SmoothedKeyControl MinZoom vs BaseCamera minZoom

Version

Phaser Version: Phaser v3.18.1-FB (WebGL)

Operating system: MAC OS

Browser:

Description
SmoothedKeyControl.js L449 min allowed zoom : 0.1
BaseCamera.js L1410 min allowed zoom : 0.001
Example Test Code
Just update SmoothedKeyControl.js to have also a min allowed zoom of 0.001
Additional Information
Thank you.

To be honest, the 0.001 value is only there to avoid a divide by zero error elsewhere in the code. In all practical uses, a zoom of 0.1 is already too tiny! However, there's no harm in making these match up, so I have.


Add [omni] to "menu" of dictionary passed to asyncomplete

Would be nice to see that a result in the menu comes from omnicomplete, in the same way that buffer results show that they are from buffer.
See also prabirshrestha/asyncomplete-tags.vim#15

Your suggestion looks good.
I try to implement later.

I create #14 .
Please try it.


Update mkDocs.nix

bug css wasnt loading on index page

This is only on local, this wouldn't work when deploying.


Add a warning note regarding optional TLS mutual auth

What does this PR do?
Adds a warning to the TLS mutual authentication section regarding non-universal client support for optional client certificates during handshaking.
Motivation
We got burned by certain clients which do not treat this option as truly optional; see this Chromium ticket for an example of this incompatibility in the wild.
More

[ ] Added/updated tests
[x] Added/updated documentation

Hi @bradjones1,
Could you give more details on your difficulties and use cases to be sure to understand everything?

@jbdoumenjou thanks for the response. The issue linked in the original post sums up a usual case pretty well; not all browsers properly implement the TLS 1.1 and 1.2 standards regarding client certificate CAs expressed as supported by the server. Per the specs, the client either SHOULD (1.1) or MUST return an empty set of client certificates (since they have none that match) and the server can choose to continue the handshaking ("optional" mode in Traefik.)
Not all browsers - in our experience older browsers on mobile, and even some newer ones - properly implement this flow. In the case of Chrome on Android, because Android < 10 does not reveal client certificate storage info to the app, the user is always presented with a scary-looking certificate request. If you cancel it out, the handshaking proceeds, but this is bad UX particularly for customer-facing sites.
In our experience, hosting many client web sites that serve the broad public, this UA incompatibility on many devices means we had to back out of using client certificate validation, as it meant a measurable decrease in traffic from affected devices/UAs.
Does that help?

Thank you for this clarification.
Have you tried v2.0? Mutual authentication is now configurable

We are evaluating 2.0 but no I have not yet had a chance to and we are on 1.x for the time being. I think this is helpful to add to the documentation as it caused quite a surprise for us and I don't see much elsewhere about the risk of implementing this with respect to these mobile browsers.


can game.lua can add wav sound ? or locate the wav sound ?

I have the blips and bloops sound from Dragons lair. Im not expert on github or lua coding but is it posible to include a sound folder in the lair folder where game lua is located ? here the wav sound for the game
lair.zip

I'm hooking up audio code right now, over in #15, and then we can include bleeps and bloops!


Add ModuleManager dependencies to AerojetKerbodyne and RealPlume

This is adds the ModuleManager dependency to AerojetKerbodyne and RealPlume to compliment KSP-CKAN/CKAN-meta#554.

And build failed because AerojetKerbodyne is only available for KSP 0.90.


HiveError: To use this list, you have to open the box...

Steps to Reproduce
Problem is happening on the web platform.

Application startup is the first time the two boxes in question are created (1 Async & 1 Sync).

Box names contain a fixed prefix and a 9 char string (based on some id).
for example nod-f71f6ff8 & ent-f71f6ff8

If the boxes are empty they are populated with some with sample data.

This works fine, and it's so fast.
After this point, we can read and write to the boxes no problems.

If the user refreshed the browser that is when HiveError: To use this list, you have to open the box "nod-f71f6ff8" first is thrown.

Code sample

TypeAdapters registered in main.
Code below is called before the material app

Future<EntityStore> entityStoreForNamespace(String nsUid, Clock clock) async {
  var name = 'ent-${nsUid.substring(0, 8)}';
  var box = Hive.isBoxOpen(name)
      ? Hive.lazyBox<Entity>(name)
      : await Hive.openLazyBox<Entity>(name).catchError(
          (e) => print('** catching -> HiveError: To use this list.. $e'));
  return EntityStore(
      asyncPersistor: AsyncPersistor<Entity>(
          hiveStore: box,
          onNotFoundBuilder: (key) => Entity.forFailedGet(key),
          serializers: primitiveSerializers),
      clock: clock);
}

and one for the sync box is pretty much the same.
Future<NodeStore> nodeStoreForNamespace(String nsUid, Clock clock) async {
  var name = 'nod-${nsUid.substring(0, 8)}';
  var box = Hive.isBoxOpen(name)
      ? Hive.box<Node>(name)
      : await Hive.openBox<Node>(name).catchError(
          (e) => print('** catching -> HiveError: To use this list.. $e'));
  return await NodeStore(
      syncStore: SyncPersistor<Node>(
          hiveStore: await box,
          onNotFoundBuilder: (key) => Node.forFailedGet(key)),
      clock: clock);
}

Both <Node> and <Entity> extend <HiveObject>
The print statement is where it is caught and the site appears to be inside hive_list_impl.dart in particular the getting for the box line 54. As to why? I can not work it out.

Can confirm that both boxes are actually there in the browser. (Using chrome and not using incog mode).
Can confirm if I call Hive.boxExist the indexed exist and they are not open on the refresh 'As expected'.

* Note this stack track is for the Sync box with called before the Async lazy box.
Error: HiveError: To use this list, you have to open the box "nod-f71f6ff8" first.
    at Object.throw_ [as throw] (http://localhost:50572/dart_sdk.js:4328:11)
    at HiveListImpl.lazy.get box [as box] (http://localhost:50572/packages/hive/src/box/lazy_box_impl.dart.lib.js:1913:23)
    at HiveListImpl.lazy.get delegate [as delegate] (http://localhost:50572/packages/hive/src/box/lazy_box_impl.dart.lib.js:1938:32)
    at HiveListImpl.lazy.cast (http://localhost:50572/packages/hive/src/util/delegating_list_view_mixin.dart.lib.js:84:21)
    at http://localhost:50572/packages/decdeck/model/state/graph/graph.dart.lib.js:751:93
    at graph.NodeAdapter.new.read (http://localhost:50572/packages/decdeck/model/state/graph/graph.dart.lib.js:756:9)
    at binary_reader_impl.BinaryReaderImpl.new.read (http://localhost:50572/packages/hive/src/box/lazy_box_impl.dart.lib.js:1501:35)
    at storage_backend_js.StorageBackendJs.new.decodeValue (http://localhost:50572/packages/hive/src/box/lazy_box_impl.dart.lib.js:1628:27)
    at MappedListIterable.new.elementAt (http://localhost:50572/dart_sdk.js:21541:25)
    at ListIterator.new.moveNext (http://localhost:50572/dart_sdk.js:21335:55)
    at JsIterator.next (http://localhost:50572/dart_sdk.js:5997:21)
    at storage_backend_js.StorageBackendJs.new.initialize (http://localhost:50572/packages/hive/src/box/lazy_box_impl.dart.lib.js:1685:20)
    at initialize.next (<anonymous>)
    at http://localhost:50572/dart_sdk.js:37593:33
    at _RootZone.runUnary (http://localhost:50572/dart_sdk.js:37447:58)
    at _FutureListener.thenAwait.handleValue (http://localhost:50572/dart_sdk.js:32424:29)
    at handleValueCallback (http://localhost:50572/dart_sdk.js:32971:49)
    at Function._propagateToListeners (http://localhost:50572/dart_sdk.js:33009:17)
    at _Future.new.[_completeWithValue] (http://localhost:50572/dart_sdk.js:32852:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:50572/dart_sdk.js:32874:35)
    at Object._microtaskLoop (http://localhost:50572/dart_sdk.js:37708:13)
    at _startMicrotaskLoop (http://localhost:50572/dart_sdk.js:37714:13)
    at http://localhost:50572/dart_sdk.js:33226:9

Version

Flutter (Channel beta, 1.22.0, on Mac OS X 10.15.7 19H2, locale en-AU)
hive: ^1.4.4

Does Entity depends on Node? I mean do they have any relationship between?
In which order are you opening the boxes?

There is no relationship between the entity and the node, in that one has a hard dependence on the other. There is a temporal data dependence, in that after the entity is written to the async store and its id is returned that id is stored in the node sync box. Even in this code, there is never a cross over, the code that handles Node never reads or writes to the entity box.

Hi @TheMisir  & @leisim any thoughts on this one?

Sorry for the delay.
Can I see your hive models? (especially ones that uses HiveList).
I haven't figured out the reason yet.

First of all, thanks for this amazingly detailed bug description :+1:
I currently just have my phone but I believe the problem is the .cast() calls in your custom type adapter. You need to call castHiveList() we could not override the cast() method because of Darts type system.
But I believe we should override it and throw a meaningful error when it is called.

Thanks for this amazingly detailed bug description :+1:
Did you write the TypeAdapter yourself? Could you please share the model classes (Node and Entity)?

First of all, thanks for this amazingly detailed bug description 👍
I currently just have my phone but I believe the problem is the .cast() calls in your custom type adapter. You need to call castHiveList() we could not override the cast() method because of Darts type system.
But I believe we should override it and throw a meaningful error when it is called.

Btw during debugging this issue I found out that HiveLists doesn't works with lazy boxes. Should I add a way to upgrade lazy box to regular box then read items or make sure HiveLists works with lazy boxes too (by lazily getting items).
What do you think about that @leisim?

Should I add a way to upgrade lazy box to regular box then read items or make sure HiveLists works with lazy boxes too (by lazily getting items).

I don't think that would be a good idea. I made this choice in purpose. The user should choose to use a normal box over a lazy box (and the consequences like higher RAM usage) if he wants to use HiveLists. Implicitly converting to a normal box is a bad idea in my opinion.

Should I add a way to upgrade lazy box to regular box then read items or make sure HiveLists works with lazy boxes too (by lazily getting items).

I don't think that would be a good idea. I made this choice in purpose. The user should choose to use a normal box over a lazy box (and the consequences like higher RAM usage) if he wants to use HiveLists. Implicitly converting to a normal box is a bad idea in my opinion.

Ok. But what do you think about getting items lazily if box is lazy box instead of throwing "box is lazy" exception.

Hi @leisim & @TheMisir sorry about the slow response, below is the Node class. I shall have a look at the casting issue asap. Thanks again guys for looking to this.
class Node extends HiveObject {
  final bool _isFailedGet;
  final String _failedGetId;

  DateTime domObjExistedSince;

  String domObjType;

  String domObjUid;

  int entityKey;

  DateTime indexed;

  List<Node> incomingEdges;

  List<Node> outgoingEdges;

  DateTime updated;

  bool isAsymmetric;

  bool isFunctional;

  bool isInverseFunctional;

  bool isIrreflexive;

  bool isObject;

  bool isPredicate;

  bool isReflexive;

  bool isSubject;

  bool isSymmetric;

  bool isTransitive;

  Node()
      : _isFailedGet = false,
        _failedGetId = '0';
  factory Node.forFailedGet(dynamic key) {
    return Node._(true, key);
  }

  factory Node.forObject(DomainObject object, DateTime timestamp) {
    return Node()
      ..indexed = timestamp
      ..rev = 0
      ..domObjUid = object.uid
      ..domObjType = object.formalTypeName
      ..isSubject = false
      ..isPredicate = false
      ..isObject = true
      ..isAsymmetric = false
      ..isFunctional = false
      ..isInverseFunctional = false
      ..isIrreflexive = false
      ..isReflexive = false
      ..isSymmetric = false
      ..isTransitive = false;
  }

  factory Node.forPredicate(DomainPredicate predicate, DateTime timestamp) {
    var n = Node()
      ..indexed = timestamp
      ..rev = 0
      ..domObjUid = predicate.uid
      ..domObjType = predicate.formalTypeName
      ..isSubject = false
      ..isPredicate = true
      ..isObject = false
      ..isAsymmetric = predicate is Asymmetric
      ..isFunctional = predicate is Functional
      ..isInverseFunctional = predicate is InverseFunctional
      ..isIrreflexive = predicate is Irreflexive
      ..isReflexive = predicate is Reflexive
      ..isSymmetric = predicate is Symmetric
      ..isTransitive = predicate is Transitive;

    return n;
  }

  factory Node.forSubject(DomainObject subject, DateTime timestamp) {
    final sn = Node()
      ..indexed = timestamp
      ..rev = 0
      ..domObjUid = subject.uid
      ..domObjType = subject.formalTypeName
      ..isSubject = true
      ..isObject = false
      ..isPredicate = false
      ..isAsymmetric = false
      ..isFunctional = false
      ..isInverseFunctional = false
      ..isIrreflexive = false
      ..isReflexive = false
      ..isSymmetric = false
      ..isTransitive = false;

    return sn;
  }

  Node._(bool isFailGet, String failId)
      : _isFailedGet = isFailGet,
        _failedGetId = failId ?? '0',
        isPredicate = false,
        isSubject = false,
        rev = 0;

  String get failToGetKey => _failedGetId;

  @override
  int get hashCode => hash8(domObjUid, domObjType, domObjExistedSince,
      entityKey, indexed, incomingEdges, outgoingEdges, updated);

  bool get isFailedGet => _isFailedGet;

  @override

  bool operator ==(Object other) =>
      identical(this, other) ||
      other is Node &&
          runtimeType == other.runtimeType &&
          domObjExistedSince == other.domObjExistedSince &&
          entityKey == other.entityKey &&
          domObjType == other.domObjType &&
          domObjUid == other.domObjUid &&
          indexed == other.indexed;

  Node addIncomingEdge(Node inNode, DateTime timestamp) {
    if (!incomingEdges.contains(inNode)) {
      incomingEdges.add(inNode);
      updated = timestamp;
      rev = rev++;
    }
    return this;
  }

  Node addOutgoingEdge(Node outNode, DateTime timestamp) {
    if (!outgoingEdges.contains(outNode)) {
      outgoingEdges.add(outNode);
      updated = timestamp;
      rev = rev++;
    }
    return this;
  }

  Node linkTo(Entity ent) {
    assert(ent.key != null);
    entityKey = ent.key;
    rev = rev++;
    return this;
  }

  @override
  String toString() {
    var sb = StringBuffer(
        '\n** Node -> <$domObjType> uid: $domObjUid ${isInBox ? 'entity-key: $entityKey' : 'Not yet persisted!'} **\n');
    sb.writeln('*\t - revision: $rev');
    sb.writeln('*\t - inStore:\t $isInBox');
    sb.writeln('*\t - indexed:\t $indexed');
    sb.writeln('*\t - updated:\t $updated');
    sb.writeln('*\t - isSubject:\t $isSubject');
    sb.writeln('*\t - isPredicate:\t $isPredicate');
    sb.writeln('*\t - isObject:\t $isObject');

    if (isPredicate) {
      sb.writeln('*\t - predicate: ');
      if (isFunctional) sb.writeln('*\t\t| isFunctional');
      if (isInverseFunctional) sb.writeln('*\t\t| isInverseFunctional');
      if (isSymmetric) sb.writeln('*\t\t| isSymmetrical');
      if (isAsymmetric) sb.writeln('*\t\t| isAsymmetrical');
      if (isTransitive) sb.writeln('*\t\t| isTransitive');
      if (isReflexive) sb.writeln('*\t\t| isReflexive');
      if (isIrreflexive) sb.writeln('*\t\t| isIrreflexive');
    }

    sb.writeln('*\t - incoming:');
    if (incomingEdges != null && incomingEdges.isNotEmpty) {
      for (var i in incomingEdges) {
        sb.writeln(
            '*\t\t| ${incomingEdges.indexOf(i)} - <${i.domObjType}> uid: ${i.domObjUid} asOf: ${i.indexed}');
      }
    } else {
      sb.writeln('*\t\t| None');
    }

    sb.writeln('*\t - outgoing:');
    if (outgoingEdges != null && outgoingEdges.isNotEmpty) {
      for (var o in outgoingEdges) {
        sb.writeln(
            '*\t\t| ${outgoingEdges.indexOf(o)} - <${o.domObjType}> uid: ${o.domObjUid} asOf: ${o.indexed}');
      }
    } else {
      sb.writeln('*\t\t| None');
    }

    return sb.toString();
  }
}

Here is the entity..
class Entity extends HiveObject {
  /// Flag when this entity was created as a result of failing to get a key from store.
  final bool _isResultOfFailedGet;

  /// The key the caused the fail.
  final int _failedGetKey;

  /// Contain the primitive serialization of a Persistable Object.
  List<Object> payload;

  /// Returns true if this entity does not have a payload.
  bool get isEmpty => payload == null || payload.isEmpty;

  /// Returns true if this entity was created as a result of a failed get.
  bool get isFail => _isResultOfFailedGet;

  /// Returns the key value that resulted in the failure.
  dynamic get failedKey => _failedGetKey;

  /// Default constructor for creation from the serialised form.
  Entity()
      : _isResultOfFailedGet = false,
        _failedGetKey = 0;

  Entity._(this._isResultOfFailedGet, this._failedGetKey);

  factory Entity.forFailedGet(dynamic key) {
    return (Entity._(true, key));
  }

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      other is Entity &&
          runtimeType == other.runtimeType &&
          _isResultOfFailedGet == other._isResultOfFailedGet &&
          _failedGetKey == other._failedGetKey &&
          payload == other.payload;

  @override
  int get hashCode =>
      _isResultOfFailedGet.hashCode ^ _failedGetKey.hashCode ^ payload.hashCode;

  @override
  String toString() {
    var sb = StringBuffer();
    sb.writeln('** Entity **');
    sb.writeln('*\t - Entity Key: $key');
    sb.writeln('*\t - Persisted: $isInBox');
    sb.writeln(
        '*\t - Represents Failure: ${_isResultOfFailedGet ? 'True : $_failedGetKey' : 'False'}');

    if (payload != null && payload.isNotEmpty) {
      sb.writeln('*\t - Payload:');
      for (var v in payload) {
        sb.writeln('* \t\t | ${payload.indexOf(v)} : $v');
      }
    } else {
      sb.writeln('*\t - Payload: None');
    }

    return sb.toString();
  }
}


Add 5 failing tests for the most difficult to render Unicode samples.

Fixes #
There is no fix yet.
Proposed Changes

Just want to ask if you plan to have those kind of errors get fixed.
If yes I can try to find a solution and rework PR.
https://github.com/alfredleo/SimpleSolutions Here I have tests with grapheme_substr.

$ ./vendor/bin/phpunit                                                                                PHPUnit 7.5.6 by Sebastian Bergmann and contributors.                                                                                Runtime:       PHP 7.2.14                                                                                Configuration: C:\Work\libraries\portable-utf8\phpunit.xml                                                                 Error:         No code coverage driver is available                                                                                .............................................................   61 / 1792 (  3%)                                           .............................................................  122 / 1792 (  6%)                                           .............................................................  183 / 1792 ( 10%)                                           ......F......................................................  244 / 1792 ( 13%)                                           .............................................................  305 / 1792 ( 17%)                                           .............................................................  366 / 1792 ( 20%)                                           .............................................................  427 / 1792 ( 23%)                                           .............................................................  488 / 1792 ( 27%)                                           .............................................................  549 / 1792 ( 30%)                                           .............................................................  610 / 1792 ( 34%)                                           .............................................................  671 / 1792 ( 37%)                                           .............................................................  732 / 1792 ( 40%)                                           .............................................................  793 / 1792 ( 44%)                                           .............................................................  854 / 1792 ( 47%)                                           .............................................................  915 / 1792 ( 51%)                                           .............................................................  976 / 1792 ( 54%)                                           ............................................................. 1037 / 1792 ( 57%)                                           ............................................................. 1098 / 1792 ( 61%)                                           ............................................................. 1159 / 1792 ( 64%)                                           ............................................................. 1220 / 1792 ( 68%)                                           ............................................................. 1281 / 1792 ( 71%)                                           ............................................................. 1342 / 1792 ( 74%)                                           ............................................................. 1403 / 1792 ( 78%)                                           ............................................................. 1464 / 1792 ( 81%)                                           ............................................................. 1525 / 1792 ( 85%)                                           ............................................................. 1586 / 1792 ( 88%)                                           ............................................................. 1647 / 1792 ( 91%)                                           ............................................................. 1708 / 1792 ( 95%)                                           ............................................................. 1769 / 1792 ( 98%)                                           .......................                                       1792 / 1792 (100%)                                                                                Time: 6.65 seconds, Memory: 66.00 MB                                                                                There was 1 failure:                                                                                1) voku\tests\Utf8GlobalNonStrictPart2Test::testStrrev                                                                     error by 👱👱🏻👱🏼👱🏽👱🏾👱🏿                                                                                Failed asserting that two strings are identical.                                                                           --- Expected                                                                                +++ Actual                                                                                @@ @@                                                                                -'👱🏿👱🏾👱🏽👱🏼👱🏻👱'                                                                                +'🏿👱🏾👱🏽👱🏼👱🏻👱👱'

This change is

Hi, thanks for the test cases ...
... why do you think that this is correct?
'👱👱🏻👱🏼👱🏽👱🏾👱🏿' => '👱🏿👱🏾👱🏽👱🏼👱🏻👱'
I get this from the "UTF8::strrev() method.
'👱👱🏻👱🏼👱🏽👱🏾👱🏿' => '🏿👱🏾👱🏽👱🏼👱🏻👱👱',

I am thinking on how to implement a fix for this.
The only working solution so far is using grapheme_* functions in php:
function reverse($string)
{
    $length = grapheme_strlen($string);
    $ret = [];
    for ($i = 0; $i < $length; $i += 1) {
        $ret[] = grapheme_substr($string, $i, 1);
    }
    return implode(array_reverse($ret));
}

It is hard to implement this by hand. We can make a check on this method. If it exists we use it. Otherwise we fall back to old implementation. What do you think about it?

What do you think of this "hack"? -> https://github.com/voku/portable-utf8/commit/5e3b5eebbe4fe2f92622fdb94d04ad9b97b88ec5#diff-890805f35966ea20340b9076d7b47329R9194
We encode the emoji chars, so that we can revert the string and then we can decode it + use "grapheme" if possible.

That actually fix the problem. Thanks. As a further development, one could develop portable grapheme aware functions, to make this library really 'portable'. But that like a redesign of a wheel. So thank you, good job.

Tested candidates for a working grapheme polyfill: symfony/polyfill-intl-grapheme and patchwork/utf8. Both failed with the last 3 tests. So only working solution for all corner cases is intl PHP extension.


Use dataset with varying action lengths

I want to store n-step transitions s_1, a_1, r_1, s_2, a_2, r_2,  ...  s_n, a_n where a_n is the last action of the sequence. This might be a common requirement for n-step learning (e.g. n-step SARSA).
I am having trouble creating a table with a signature that allows me to sample using datasets. The reason is that when I specify the signature I need to state the first dimension (number of steps). But in this case, the dimension for the actions might be n if s_n is not terminal, and n-1 if s_n is terminal.
Is there a way to still create a dataset and sample from such a setting?
My workaround would be to insert "dummy" actions to make the lengths always match those declared in the signature, but I don't like this so much because I also need to store additional data (action logprobs, etc) and it would not be so clean. Otherwise, I'd give up using datasets and I'd just use the sample() method.

I just realized that the last option (not using datasets but only the sample() method) does also not work for me:
import reverb

server = reverb.Server(
    tables=[
        reverb.Table.queue('on_policy', max_size=10)
    ],
    port=8000
)

client = reverb.client.Client('localhost:8000')

with client.trajectory_writer(num_keep_alive_refs=123) as writer:
    writer.append({'state': 1, 'action': 1})
    writer.append({'state': 2, 'action': 2})
    writer.append({'state': 3})  # State 3 is terminal, no action inserted
    writer.create_item('on_policy', priority=0.0,
                       trajectory={
                           'states': writer.history['state'][-3:],
                           'actions': writer.history['action'][-3:-1]
                       })

samples = client.sample('on_policy', num_samples=1)
for sample in samples:
    print(sample)

Raises the error:
Traceback (most recent call last):
  File "reverb_test.py", line 26, in <module>
    for sample in samples:
  File "/home/fedetask/Desktop/python-venv/lib/python3.6/site-packages/reverb/client.py", line 391, in sample
    step, last = sampler.GetNextTimestep()
ValueError: Sampled trajectory cannot be decomposed into timesteps.

Currently, I'm going for the dummy data option:
with client.trajectory_writer(num_keep_alive_refs=123) as writer:
    writer.append({'state': 1, 'action': 1, 'discount': 0.99})
    writer.append({'state': 2, 'action': 2, 'discount': 0.99})
    writer.append({'state': 3, 'action': DUMMY_ACTION, 'discount': 0.})  #Discount 0 signals terminal state
    writer.create_item('on_policy', priority=0.0,
                       trajectory={
                           'states': writer.history['state'][-3:],
                           'actions': writer.history['action'][-3:]
                       })

Hey,
For trajectories where some, or all, of the columns have varying length you just set the leading dimension to None in the dataset (and/or Table) signature. So for your example the signature might look something like this:

signature={
    'observations': tf.TensorSpec([N, 100, 100]),
    'actions': tf.TensorSpec([None, 10]),
}

It is worth noting that with the new TrajectoryWriter the signature represent the entire trajectory as opposed to the legacy setup were the signature represent a single step within a trajectory.
As for the broken client.sample. If you take a look at the docstring of client.sample you'll find emit_timesteps. This defaults to True for legacy reasons but if you set this to False then your example should work.
Unfortunately this feature was added since the last stable release and thus will only work when using dm-reverb-nightly.

Thanks, this is what I needed!

Great :)


Convert instance as podName

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
when running in k8s,podName is a common concept rather than ip;
So,How about changing the instance concept to POD when running on kubernetes?

Instance name could be set through system env. You could set anything you want.

Instance name could be set through system env. You could set anything you want.

I'm also in need of this minor change, the instance name can be set via ENV VAR, yes, but cannot be set dynamically the same as the pod name, (if I didn't miss anything), this proposed change is helpful when we want to map from the instance to the actually pod instance (for example, finding a specific pod from the trace, where there is an IP), I know from IP we can surely find the pod finally, but the conversion is an extra work, and if the instance IP is not a must to be retained, this change actually helps more than harms

What do you mean dynamically? Could you provide more details about this?

For pod abcd-efgh-1234, set the instance name to abcd-efgh-1234, for pod abcd-efgh-1235, set the instance name to abcd-efgh-1235, and for whatever I don't know pod whatever-random-pod-name, can I set it to the whatever-random-pod-name

Just do a search on Google and there’s a workaround to expose the pod name to the end var https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/ @EvanLjp hope this helps, need extra config though

That is what I mean, podname is controlled by k8s, so, there is no point, agent or SkyWalking gets the name. It should be injected by following k8s ways.

It's just what I need
@wu-sheng @kezhenxu94

@EvanLjp Is there any issue? I think this is already there for a long time.


Add dev container

No changes needing a change description found.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/921/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/921/


Mount the /dev directory in the kubelet container so that it can detect persistent disks.

Looks like this commit (4bb4510592a701c3319c2fb0b22a7ceeacb3ab5f) from @madhusudancs got dropped when we moved from ansible->ignition.
This adds it back.

@colemickens Thanks.
LGTM!