Bad DockerBridgeCidr in sample for Advanced Networking

In section "https://docs.microsoft.com/en-us/azure/aks/private-clusters#create-a-private-aks-cluster" there is a sample command to create the cluster in the dedicated subnet. However, the sample says to use <IP_ADDRESS>/16 CIDR for DockerBridge which will result in the error message like the one below. "Operation failed with status: 'Bad Request'. Details: NetworkProfile.DockerBridgeCidr <IP_ADDRESS>/16 is invalid. Please choose one that does not overlap Subnet Cidr <IP_ADDRESS>/24". Please change the sample CIRD address to something which is not overlapping with <IP_ADDRESS>/24.

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

ID: 0b68f2c4-bb6c-11a2-6c61-8af4057a2438
Version Independent ID: e3498bed-1447-6841-8353-9f1b5d3dc8df
Content: Private Azure Kubernetes Service cluster
Content Source: articles/aks/private-clusters.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Hi @mifurm Thanks for your feedback. We will review and update as appropriate.

@mifurm Thanks for the feedback.
That error depends on the CIDR for the subnet.
We can add a note to change the docker bridge CIDR if that clashes with the subnet CIDR.
Let me know your comments


Support VAAPI

Now that #2 is resolved, we need special handling for the vaapi encoders - creating a hwdevice and hwframe context, etc.

Was fixed in #10


Define chart presets

This PR defines multiple presets of ChartPlugin. The main one is LegacyChartPreset which will import all existing vis types current Superset does.
This is part of the work to integrate chart plugin system.

Add annotation information to ChartMetadata #6136
Define ChartProps data structure #6125
This PR
[Future] Add <SuperChart /> component and integrate with Chart.jsx
[Future] Remove all adaptors

@williaster @conglei @michellethomas @graceguo-supercat

Ready to merge.


bug: Error: Libfunc alloc_local is not allowed in the libfuncs list 'audited_v0.1.0'.

Bug Report
Cairo version:
c6473b4bd754b534ae63e36b127d4bb440f07951
Related code:
#[contract]
mod ERC20 {
    struct Storage {
        name: felt,
        symbol: felt,
        decimals: u8,
        total_supply: u256,
        balances: LegacyMap::<felt, u256>,
        allowances: LegacyMap::<(felt, felt), u256>,
    }

    // TODO(ilya): use `ContractAddress` for addresses in this contract and remove the following.
    // A wrapper around get_caller_address that returns a felt.
    fn get_caller_address() -> felt {
        starknet::contract_address_to_felt(starknet::get_caller_address())
    }

    #[event]
    fn Transfer(from: felt, to: felt, value: u256) {}

    #[event]
    fn Approval(owner: felt, spender: felt, value: u256) {}

    #[constructor]
    fn constructor(
        name_: felt, symbol_: felt, decimals_: u8, initial_supply: u256, recipient: felt
    ) {
        name::write(name_);
        symbol::write(symbol_);
        decimals::write(decimals_);
        assert(recipient != 0, 'ERC20: mint to the 0 address');
        total_supply::write(initial_supply);
        balances::write(recipient, initial_supply);
        Transfer(0, recipient, initial_supply);
    }

    #[view]
    fn get_name() -> felt {
        name::read()
    }

    #[view]
    fn get_symbol() -> felt {
        symbol::read()
    }

    #[view]
    fn get_decimals() -> u8 {
        decimals::read()
    }

    #[view]
    fn get_total_supply() -> u256 {
        total_supply::read()
    }

    #[view]
    fn balance_of(account: felt) -> u256 {
        balances::read(account)
    }

    #[view]
    fn allowance(owner: felt, spender: felt) -> u256 {
        allowances::read((owner, spender))
    }

    #[external]
    fn transfer(recipient: felt, amount: u256) {
        let sender = get_caller_address();
        transfer_helper(sender, recipient, amount);
    }

    #[external]
    fn transfer_from(sender: felt, recipient: felt, amount: u256) {
        let caller = get_caller_address();
        spend_allowance(sender, caller, amount);
        transfer_helper(sender, recipient, amount);
    }

    #[external]
    fn approve(spender: felt, amount: u256) {
        let caller = get_caller_address();
        approve_helper(caller, spender, amount);
    }

    #[external]
    fn increase_allowance(spender: felt, added_value: u256) {
        let caller = get_caller_address();
        approve_helper(caller, spender, allowances::read((caller, spender)) + added_value);
    }

    #[external]
    fn decrease_allowance(spender: felt, subtracted_value: u256) {
        let caller = get_caller_address();
        approve_helper(caller, spender, allowances::read((caller, spender)) - subtracted_value);
    }

    fn transfer_helper(sender: felt, recipient: felt, amount: u256) {
        assert(sender != 0, 'ERC20: transfer from 0');
        assert(recipient != 0, 'ERC20: transfer to 0');
        balances::write(sender, balances::read(sender) - amount);
        balances::write(recipient, balances::read(recipient) + amount);
        Transfer(sender, recipient, amount);
    }

    fn spend_allowance(owner: felt, spender: felt, amount: u256) {
        let current_allowance = allowances::read((owner, spender));
        let ONES_MASK = 0xffffffffffffffffffffffffffffffff_u128;
        let is_unlimited_allowance =
            current_allowance.low == ONES_MASK & current_allowance.high == ONES_MASK;
        if !is_unlimited_allowance {
            approve_helper(owner, spender, current_allowance - amount);
        }
    }

    fn approve_helper(owner: felt, spender: felt, amount: u256) {
        assert(spender != 0, 'ERC20: approve from 0');
        allowances::write((owner, spender), amount);
        Approval(owner, spender, amount);
    }
}

Result
cargo run --bin starknet-compile contracts/erc20.cairo outputs/erc20.json
    Finished dev [unoptimized + debuginfo] target(s) in 0.21s
     Running `target/debug/starknet-compile contracts/erc20.cairo outputs/erc20.json`
Error: Libfunc alloc_local is not allowed in the libfuncs list 'audited_v0.1.0'.

Other information:

Currently the audited list does not support all the implemented functions. Run with --allowed_libfuncs_list_name experimental_v0.1.0 for all the libfuncs.

it worked that way


[Workflow] Update actor types

Update actor types per dapr/dapr#6192
This PR will close: #3346

@DeepanshuA did I update this correctly?

closing in favor of #3372


ng build --prod does not generate consistent hashes on different machines when run with same code base

Versions
angular : 8.2 & 9.1
angular-cli: 8.3 & 9.1
OS: windows 7 & 10 64bit
Repro steps
Create a site with ng new
Add a lazy path with loadChildren
ng build --prod
Use same source code in differnt machine
ng build --prod
compare these two dist with same source code(no change)
Observed behavior
Same issue occurred in angular V8.2 & 9.1 versions(attached screenshot of differences in hashes for same source code). Currently production build is in angular 8.2

When run in different drives in same machine with same source code, Every time production build happens the hashes in the chunks does not change as no change in the source code – working as expected
when run in different computer machine with same source code, production build happens the hashes in the chunks changes when comparing between dist in windows 7 and dist in windows 9 though there is no changes in source code.

Desired behavior
when run in different computer machine with same source code, Every --prod build should not change the hashes in the chunks  because no change made in existing code base.
what is recommended way to achieve desired behavior?
if customizing the angular-cli/webpack package is alternate approach, what is the recommended options?
angular 8.2 dist comparison:

Angular 9.1 dist comparison:

Hi @naraklearn,
Are both machines using the same Node version? Can you please share the output of ng version from both machines?

Angular: 8.2
Environment : Windows 10
Node : v10.17.0

Environment : Windows 7
Node: v10.15.3

Angular: 9.1
Environment: Mac
Node: v10.16.3

Environment: Windows
Node: v10.15.3

What might be the root cause for this issue?

I am seeing that the node version and the packages installed are not the same version, those 2 can cause different file hashes.

Use same node and package versions
Use a package manager lock file and install using frozen mode (npm ci or yarn frozen-lockfile)
Hashes will be different between Windows and Mac, unless you configure your line endings to be LF and not CRLF on Windows. See: https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings

@alan-agius4 Thanks! above mentioned solutions worked for us.


Odd formatting inside of an Ok(...)

I mentioned this and a friend suggested I report it as an issue of poor formatting.
Specifically, the inside of this Ok(...) feels suspect:
Ok(FieldsInfo(named.iter().map(read_field).collect::<Result<
    Vec<_>,
    syn::Error,
>>(
)?))

I think I'd expect something more like this, removing the wrapping:
named
    .iter()
    .map(read_field)
    .collect::<Result<Vec<_>, syn::Error>>()?,

The block in full context:
fn read_fields(input: &DeriveInput) -> Result<FieldsInfo, syn::Error> {
    match &input.data {
        Data::Struct(data) => match &data.fields {
            Fields::Named(FieldsNamed { named, .. }) => {
                Ok(FieldsInfo(named.iter().map(read_field).collect::<Result<
                    Vec<_>,
                    syn::Error,
                >>(
                )?))
            }
            _ => Err(syn::Error::new(
                data.fields.span(),
                "Builders may only be derived for structs with named fields.",
            )),
        },
        _ => Err(syn::Error::new(
            input.ident.span(),
            "Builders may only be derived for structs.",
        )),
    }
}

Let me know if you could use additional detail :)

Thanks for the report @jtempest! That certainly seems like it could be improved (though I don't have an immediate solution off hand).
This is reproducible with rustfmt v1.4.15, but could you also provide the share the version of rustfmt you are using just to have the info associated with the snippet? (rustfmt --version)

Sure! I've updated since I posted, but this seems to be reproducible with rustfmt 1.4.16-stable (939e164c 2020-06-11) also.


Make file system scan more robust

Previously, a change was missed if it happened while the scan was in progress and already past the affected location.
Also:

Consider the scan changes thread on termination, in addition to the full scan one
Add FS-reported hidden to the check for hidden by the editor file system

This code is generously donated by IMVU.

I don't have a lot to say about this PR, it looks good to me. I wonder if this might fix some of our issues we have on the filesystem.

Thanks!

Cherry-picked for 3.2.1.


Travis CI: Add flake8 tests to find undefined names

Add flake8 tests to find Python syntax errors and undefined names.
E901,E999,F821,F822,F823 are the "showstopper" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.

F821: undefined name name
F822: undefined name name in __all__
F823: local variable name referenced before assignment
E901: SyntaxError or IndentationError
E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree

Postponing this to the next sprint.

Due to an another project moving this to the next sprint.


Draft re-work of introductory material and welcome

Hi guys,
Here is my first draft of re-working the Welcome page and Introduction material in the docs.  Let me know what you think and I can make further refinements.
Thanks,
~Jeff Mitchell

Hey @sentinel1909 , thanks sm for this!
Here's an overall comment before moving forward:
I feel like the changes you've made read more like an educational article/landing page rather than docs. Imo, we should keep it more simple and focused on the nits and grits. I'll send over some materials via Discord for inspo :)

Hey @sentinel1909 , thanks sm for this!
Here's an overall comment before moving forward: I feel like the changes you've made read more like an educational article/landing page rather than docs. Imo, we should keep it more simple and focused on the nits and grits. I'll send over some materials via Discord for inspo :)

Understood.  Thanks for the feedback, will try again after receiving the guidance.

Just thinking, let's close this PR.  I'll keep it as a branch for future reference (or maybe as the basis of a blog post).  I'll go back to the drawing board and try again.


refactor: refactor UbiquityPool

@gitcoindev @molecula451
Original FraxPoolV3 contract uses the BUSL-1.1 license which means that we can't use that contract "as is" or even a modified version of it (for some time). Our UbiquityPool contract is already pretty much heavily modified compared to the original contract and this PR introduces some more renamings/refactors.
This PR:

Removes all mentions of the "Frax" word in the codebase
Refactors/renames some of the variables/methods to look less "Frax like"

P.S. This CI workflow fails but it is ok since the contracts are not yet deployed to production mainnet
P.P.S. This comment will be deleted once the current PR is merged


Cleanup Mint Readme doc

Updated @poornas @deekoder

I think i clicked on approve for both accidentally. @poornas please can you confirm if you approve.

@deekoder , it is good to go.


[azopenaiextensions] TokenCredential auth doesn't work in the live test pipeline

(Requires some investigation)
The live tests for azopenaiextensions fail when using the (assistants API + test credential). If you run locally, using AzureCLICredential, it works, which makes me think it's something specific to the live testing environment.

This was fixed. Awhile back we moved to using a specific service connector to experiment with using sub-config. As part of the new subscription move our specific service connector no longer has permissions. Rather than perpetuate sub-config (which is going away) we're just moving over to using the same service connector that other languages are using, which is authorized.


Input sanitizing causes 400 BAD_REQUEST

I was using the openai.createClassification method and started getting 400 BAD REQUEST when I introduced the input string (attached to the bottom) as one of the examples for labeling.
I believe there is some sanitizing that fails in some area.
href=\"https:// becomes href=\\"https:// which is not valid JSON for payload.
Here is the JSON which seems to be entirely valid
Here is the raw request which was created by the method and seems to be invalid JSON.
Error: Parse error on line 11:
...rom <a href=\\"				https: //github.com/
----------------------^
Expecting 'EOF', '}', ':', ',', ']', got 'undefined'

Here is my code

🤦♂ The string length was too long for examples. Trimming the string fixed my issue str.substring(0, 4096).
We should add the string limit to documentation here.


ci: add support for automatic tagged release

Do an automatic tagged NPM release when a branch name is prefixed with tagged-release/. The release will run the full test suite (except for console-e2e-tests). The tag name will be based on the branch name after the tagged-release/ prefix

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

CircleCI Build - https://app.circleci.com/pipelines/github/yuth/amplify-cli/366/workflows/ef372e6a-181c-4a39-99bf-1177718897af


How to clear TextDecorator?

How to clear all TextDecorator?

widget.removeDecorators() delete all decorators but i want delete only TextDecorator, i dont want delete HighlightWeekendsDecorator()
On the other hand, i dont want use loop to delete each individual with:
widget.removeDecorator();

widget.removeDecorators();

Hi @kamilwlf, I've been working on improving the decorators. Would you be willing to test 0.4.0-SNAPSHOT and let me know if its better? Directly manipulating text will no longer be supported, instead you are allowed to set spans and I added an new DotSpan to the library. The samples were updated to use the new APIs too.

@dandc87 I made a patch from your PR and applied it to my fork. Its way faster for me. I'm planning on doing an app release in the next few days so I'll report any issues that come up.

Closing now that 0.4.0 is released


[BUG] can't open arm-x64 on Macbook Pro M1 Pro

Describe the bug
I have a macbook pro with an M1 Pro chip running macOS Monterey version 12.4
the arm x64 version is not working
when I Right-Click and then open I get this

that is weird, I don't have any anti-virus software installed, usually, I just right-click then open these kinds of apps and they work.
I'll ask a friend with an M1 pro to test it

Hello,
I have same issue here on MacBook Pro M1. It works fine on X86 version but not optimized I guess.
Very handy software by the way, thanks a lot. By default, it would be nice if joined file end up in the video folder.

This might be due to bad signing or notarization from Apple. If I build and sign the latest master locally, I don't get the error.

This might be due to bad signing or notarization from Apple. If I build and sign the latest master locally, I don't get the error.

How do I build it locally?

I have the same issue. The 1.2.5 version is also damaged on my machine. MacBook Pro (14", 2021), Apple M1 Max, 64 GB

This is a signing problem, just disable GateKeeper for ReelSteady Joiner and it'll work fine.
sudo xattr -rd com.apple.quarantine /Applications/ReelSteady\ Joiner.app

Can confirm it works BUT i had to do
sudo xattr -d com.apple.quarantine /Applications/ReelSteady\ Joiner.app
because it was complaining about "-r" not being a recognizable option
it would be nice it didn't require that though

I have finally been able to reproduce the error on my computer, I am working on solving the problem as soon as possible because solving this problem is not free for me. (Fuck u Apple)
As others have commented so far, it can be fixed with the following command:
sudo xattr -d com.apple.quarantine /Applications/ReelSteady\ Joiner.app

This issue also reproduce on x86-64, with .pkg installer - but now its reproduces when trying to open .pkg file. I guess this is... because fucking apple want to get money for valid signature, and only one way to fix this without pay - add notice to readme: "Open 'System Preferences' -> 'Security' -> 'Authorize'" (or any translation to english or another lanuage) for this software.

This issue also reproduce on x86-64, with .pkg installer - but now its reproduces when trying to open .pkg file. I guess this is... because fucking apple want to get money for valid signature, and only one way to fix this without pay - add notice to readme: "Open 'System Preferences' -> 'Security' -> 'Authorize'" (or any translation to english or another lanuage) for this software.

Yes, it is already added in the following section of the README: https://github.com/rubegartor/ReelSteady-Joiner#troubleshooting-


Can't build html5 because of extension-webm

I'm trying to build a mod in html5, but in the newest version 1.5.3, it says I don't have extension-webm. I tried installing it, but I can't run 'lime rebuild extension-webm windows', when I do it says something about visual studio, which I don't have because I'm only compiling on html5. I tried to run 'lime rebuild extension-webm html5' but that doesn't do anything.
lime rebuild extension-webm windows output:
C:\HaxeToolkit\haxe\lib\extension-webm\git\project>setlocal enabledelayedexpansion Warning: Could not find environment variables for Visual Studio Missing HXCPP_VARS Error: Could not automatically setup MSVC
lime test html5 -debug output:
C:/HaxeToolkit/haxe/lib/extension-webm/git/webm/WebmPlayer.hx:3: characters 8-15 : You cannot access the cpp package while targeting js (for cpp.Lib) source/Main.hx:4: characters 8-23 :     referenced here export/debug/html5/haxe/ApplicationMain.hx:299: characters 48-52 :     referenced here

Installed VS2019 and now it only gives me the error for lime test html5 -debug.

afaik, extension-webm uses native libraries and codecs from libvpx, which is only available on Windows, Mac, and Linux.
extension-webm is needed to play .webm files on desktop. HTML5 already has this capability without the extension, because it can just use the browser codec.
My proposed solution is to add some platform specific compiler conditionals to decide what to do with the webm, and play it accordingly.

fixed


Add simple Dockerfile w/ nginx for serving site.

This is now up at https://dcos.io.test.mesosphere.com/
hugs hugs hugs ❤ ❤ ❤ ✨

cc @pyronicide


refactor architecture for cloudtty

add worker pool to cache the workers to reduce the startup time of the pod

/lgtm


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2451

Questions ?
Please refer to the Backport tool documentation


Adds a preview link to the baseline emits for sourcemaps

Adds a preview link after every sourcemap in the baselines, this was like the least I could do to get some kind of visualization for the output of baselines

Handles 1 to 1 sourcemaps
Handles many inputs when bundling (AMD)

baselines come at you fast

@orta this is ready to go, right?

Yeah, let's do it - if it can survive a month of no conflicts, I think it's a fine call


fix: remove donation message for unauthorized users

To reproduce the related issue on master, visit a local cert from incognito without signing in.


Fix miscellaneous spelling typos.

The CI errors are unrelated to the changes in this PR. After #399 is merged this one can be merged too.


Ability to link any Obsidian checkitem to a Todoist item

Given an Obsidian checkitem (eg - [ ] Some item) it'd be cool if I could add some special key for the plugin (eg - [ ] Some item {todoist:<PHONE_NUMBER>}) that will create a binding between the two items (ie if one gets completed - the other gets updated. Same with "uncompleting").
It would be nice if the plugin could also generate a special rendering for the binding like:

(I achieved this view with - [ ] Some item ![15](https://www.svgrepo.com/show/354452/todoist-icon.svg)5751521688)
Additionally, if it could be used to create a linked Todoist item from within Obsidian that would be cool. Something like - [ ] Some item {todoist: new} or even - [ ] Some item {todoist: new, project: Today} (or whatever) would, after some periodic sync, get rewritten to - [ ] Some item {todoist: ###} (where ### is the newly-created Todoist item's id)

Looks like this plugin can do a similar thing, but not exactly as described above: https://github.com/wesmoncrief/obsidian-todoist-text


mob: 2.6.0 -> 3.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mob/versions.
meta.description for mob is: "Tool for smooth git handover"
meta.homepage for mob is: "https://github.com/remotemobprogramming/mob"
meta.changelog for mob is: ""
Updates performed

Version 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
Warning: no invocation of /nix/store/g4y2wxnmnx3jhsrl6a0kg52df6r9kjhz-mob-3.0.0/bin/mob had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/g4y2wxnmnx3jhsrl6a0kg52df6r9kjhz-mob-3.0.0/bin/.mob-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 3.0.0 with grep in /nix/store/g4y2wxnmnx3jhsrl6a0kg52df6r9kjhz-mob-3.0.0
found 3.0.0 in filename of file in /nix/store/g4y2wxnmnx3jhsrl6a0kg52df6r9kjhz-mob-3.0.0

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

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
mob

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/g4y2wxnmnx3jhsrl6a0kg52df6r9kjhz-mob-3.0.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 mob https://github.com/r-ryantm/nixpkgs/archive/903c9c09328a1bc654523280c4f7304fd3d1848c.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/g4y2wxnmnx3jhsrl6a0kg52df6r9kjhz-mob-3.0.0
ls -la /nix/store/g4y2wxnmnx3jhsrl6a0kg52df6r9kjhz-mob-3.0.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:

mob

Maintainer pings
cc @ericdallo for testing.

This looks good to me, can it get merged?


Using foundation-explicit-pieces.js will not compile

How can this bug be reproduced?

Install a fresh copy of FoundationPress
Run npm install
Edit src/assets/js/app.js
Follow comment to enable ./lib/foundation-explicit-pieces
Run, npm start or npm run build

What did you expect to happen?
It should compile normally.
What happened instead?
An error loading the foundation-explicit-pieces listed below:

<EMAIL_ADDRESS>build /Users/web3/Downloads/FoundationPress-master
gulp build --production

[10:32:14] Failed to load external module @babel/register
[10:32:14] Requiring external module babel-register
[10:32:16] Loading config file...
[10:32:16] config.yml does not exist, loading config-default.yml
[10:32:16] Using gulpfile ~/Downloads/FoundationPress-master/gulpfile.babel.js
[10:32:16] Starting 'build'...
[10:32:16] Starting 'clean'...
[10:32:16] Finished 'clean' after 38 ms
[10:32:16] Starting 'sass'...
[10:32:16] Starting 'webpack:build'...
[10:32:16] Starting 'images'...
[10:32:16] Starting 'copy'...
[10:32:16] Finished 'copy' after 737 ms
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("shake")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("shake")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("spin")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("spin")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("wiggle")) instead.
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("wiggle")) instead.
[10:32:19] Finished 'sass' after 3.84 s
[10:32:20] gulp-imagemin: Minified 6 images (saved 55 kB - 27.7%)
[10:32:21] Finished 'images' after 5.8 s
[10:32:22] 'webpack:build' errored after 6.77 s
[10:32:22] Error in plugin 'webpack-stream'
Message:
./src/assets/js/lib/foundation-explicit-pieces.js
Module not found: Error: Can't resolve 'foundation-sites/js/foundation.util.core' in
'/Users/web3/Downloads/FoundationPress-master/src/assets/js/lib'
resolve 'foundation-sites/js/foundation.util.core' in '/Users/web3/Downloads/Foundat
ionPress-master/src/assets/js/lib'
Parsed request is a module
using description file: /Users/web3/Downloads/FoundationPress-master/package.json
(relative path: ./src/assets/js/lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/web3/Downloads/FoundationPress-master/package
.json (relative path: ./src/assets/js/lib)
resolve as module
  /Users/web3/Downloads/FoundationPress-master/src/assets/js/lib/node_modules do

esn't exist or is not a directory
/Users/web3/Downloads/FoundationPress-master/src/assets/js/node_modules doesn'
t exist or is not a directory
/Users/web3/Downloads/FoundationPress-master/src/assets/node_modules doesn't e
xist or is not a directory
/Users/web3/Downloads/FoundationPress-master/src/node_modules doesn't exist or
is not a directory
/Users/web3/Downloads/node_modules doesn't exist or is not a directory
/Users/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /Users/web3/Downloads/FoundationPress-master/node_modul
es
using description file: /Users/web3/Downloads/FoundationPress-master/package
.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/web3/Downloads/FoundationPress-master/p
ackage.json (relative path: ./node_modules)
using description file: /Users/web3/Downloads/FoundationPress-master/node_
modules/foundation-sites/package.json (relative path: ./js/foundation.util.core)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/web3/Downloads/FoundationPress-master/node_modules/foundation-s
ites/js/foundation.util.core doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/web3/Downloads/FoundationPress-master/node_modules/foundation-s
ites/js/foundation.util.core.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/Users/web3/Downloads/FoundationPress-master/node_modules/foundation-s
ites/js/foundation.util.core.json doesn't exist
as directory
/Users/web3/Downloads/FoundationPress-master/node_modules/foundation-s
ites/js/foundation.util.core doesn't exist
looking for modules in /Users/web3/node_modules
No description file found
Field 'browser' doesn't contain a valid alias configuration
No description file found
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/web3/node_modules/foundation-sites/js/foundation.util.core doesn't
exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/web3/node_modules/foundation-sites/js/foundation.util.core.js doesn
't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/Users/web3/node_modules/foundation-sites/js/foundation.util.core.json doe
sn't exist
as directory
/Users/web3/node_modules/foundation-sites/js/foundation.util.core doesn't
exist
[/Users/web3/Downloads/FoundationPress-master/src/assets/js/lib/node_modules]
[/Users/web3/Downloads/FoundationPress-master/src/assets/js/node_modules]
[/Users/web3/Downloads/FoundationPress-master/src/assets/node_modules]
[/Users/web3/Downloads/FoundationPress-master/src/node_modules]
[/Users/web3/Downloads/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/web3/node_modules/package.json]
[/Users/web3/Downloads/FoundationPress-master/node_modules/foundation-sites/js/found
ation.util.core]
[/Users/web3/Downloads/FoundationPress-master/node_modules/foundation-sites/js/found
ation.util.core.js]
[/Users/web3/Downloads/FoundationPress-master/node_modules/foundation-sites/js/found
ation.util.core.json]
[/Users/web3/node_modules/foundation-sites/js/foundation.util.core/package.json]
[/Users/web3/Downloads/FoundationPress-master/node_modules/foundation-sites/js/found
ation.util.core]
[/Users/web3/node_modules/foundation-sites/js/foundation.util.core]
[/Users/web3/node_modules/foundation-sites/js/foundation.util.core.js]
[/Users/web3/node_modules/foundation-sites/js/foundation.util.core.json]
[/Users/web3/node_modules/foundation-sites/js/foundation.util.core]
@ ./src/assets/js/lib/foundation-explicit-pieces.js 9:22-73
@ ./src/assets/js/app.js
@ multi ./src/assets/js/app.js
Details:
domain: [object Object]
domainThrown: true
[10:32:22] 'build' errored after 6.81 s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: gulp build --production
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging
output above.
npm ERR!      /Users/web3/.npm/_logs/2019-02-27T15_32_22_901Z-debug.log
Please List the Following:

OS & version: macOS Mojave v10.14.3
Node version (node -v) [Node v4+ is required] : v11.10.0
FoundationPress version (see line 3 in package.json): v2.10.5
Foundation version (found in node_modules/foundation-sites/package.json) : v6.5.1

Include Test Case (if applicable):

CodePen with Foundation 6.3.1, Float Grid and MotionUI

CodePen with Foundation 6.3.1, Float Grid with RTL Direction and MotionUI

CodePen with Foundation 6.3.1, Flexbox grid and MotionUI

CodePen with Foundation 6.4.1, XY Flexbox grid and MotionUI

CodePen with Foundation 6.4.1, XY Flexbox grid with RTL Direction and MotionUI

CodePen with Foundation 6.4.1, XY Flexbox grid with Prototype Mode and MotionUI

CodePen with Foundation 6.4.1, Float Grid and MotionUI

This looks like an error with the latest Foundation Version.
Switching back to the last commit before updating to 6.5.1 solves this issue. https://github.com/olefredrik/FoundationPress/commit/8fde2859fbffefc64bcc20a0bb4d89d3111d509a

Great! This allowed me to compile.

Hi!
In foundation-explicit-pieces.js, on line 3, the filename is incorrect.
"/Users/web3/node_modules/foundation-sites/js/foundation.util.core doesn't exist"
The correct file name is "foundation.core.utils"
Also, there is a warning message
DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal in Sass 4.0. Use call(get-function("shake")) instead.
Update motion-ui to the latest version 2.0.3 or remove it to fix this warning.

Seems like this one was resolved here:
https://github.com/olefredrik/FoundationPress/commit/d571f53b1ad4848bf4981fb9fbdea3bf78293934
Thinking it can be closed out?


Upgrade project for gltf-pipeline

A made a bunch of structural changes so that more functionality is handled by the gltf-pipeline. The diff is a little crazy mostly due to indenting now that some callback stages are removed.
Changes:

Removed the shader technique cmdline option and modelMaterialCommon.js. This is now handled in the gltf-pipeline.
Removed auto-generating normals if they are missing. Instead I added this to the gltf-pipeline roadmap
Removed util files and instead am including Cesium
Added gulp, jsHint tasks, .idea, .npmignore, and index.js
Added convert.js, which is the starting point for code that wants to use obj2gltf as a library

TODO

[x] OBE - linking to the git repo for now. This won't be ready to merge until the gltf-pipeline is published to npm.

Removed auto-generating normals if they are missing. Instead I added this to the gltf-pipeline roadmap

Should we do this soon?  Is this often needed for OBJ models?

@lasalvavida can you please test this?

Here's a few test models: https://github.com/SaschaWillems/Vulkan/tree/master/models
If any didn't work before this PR; it is OK if they don't work now; we just don't want to break ones that previously worked.

@pjcozzi There are two obj models in that repo, chinesedragon and hammardillo and both convert correctly with these changes.
@lilleyse I would advise perhaps just adding gltf-pipeline as a git dependency for now if that's possible so these changes can get merged and then updating once gltf-pipeline is in npm.

Updated

Thanks for the review, @lasalvavida.  Please merge when ready.

This is also ready.

@lasalvavida you should have commit access to this now to review and merge when ready.


Refresh available ports list

Johns-MacBook-Pro:folie john$ ./folie -v
Select a serial port:
1 = /dev/cu.Bluetooth-Incoming-Port
2 = /dev/cu.Bluetooth-Modem
3 = /dev/cu.usbserial-D
If a null entry is made to the Select a serial port request then rescan for available ports and display updated select request.

It's not clear to me how to implement this given the current design.
The workaround doesn't look too cumbersome to me: restart Folie, since it now can exit cleanly.
Closing for now.


Error mounting '/dev/mapper/docker-253:0

Dear,
I try to get some training from, while it outputs an error:
[root@c265f04u21b11-v2 ~]# docker run learn/tutorial echo "hello word"
Unable to find image 'learn/tutorial:latest' locally
Pulling repository learn/tutorial
8dbd9e392a96: Error pulling image (latest) from learn/tutorial, endpoint: https://registry-1.docker.io/v1/, Error mounting '/dev/mapper/docker-253:0-2372650-8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c' on '/var/lib/dock8dbd9e392a96: Error pulling image (latest) from learn/tutorial, Error mounting '/dev/mapper/docker-253:0-2372650-8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c' on '/var/lib/docker/devicemapper/mnt/8dbd9e392a964056420e5d58Error pulling image (latest) from learn/tutorial, Error mounting '/dev/mapper/docker-253:0-2372650-8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c' on '/var/lib/docker/devicemapper/mnt/8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c': invalid argument
[root@c265f04u21b11-v2 ~]# docker info
Containers: 0
Images: 0
Storage Driver: devicemapper
Pool Name: docker-253:0-2372650-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 589.8 kB
Data Space Total: 107.4 GB
Data Space Available: 39.79 GB
Metadata Space Used: 581.6 kB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.147 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.89-RHEL6 (2014-09-01)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 2.6.32-431.el6.x86_64
Any clue? Thanks.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Hello,
I still can't get this issue resolved on rhel 6.5 thus I think it may be for its kernel at  low level. I try another system on rhel7 then it moves smoothly. I will find another day to try whether it can't work on rhel 6.5, if I have that time..


[1pt] Create website header with empty nav - Setup (group task)

Download the free image for the app logo.
Create empty navigation (this will be filled in in separate tasks).

Already created the navbar.


Development documentation

This issue serves to discuss and collect ideas for creating documentation for developers who want to contribute to PyVRP.
There are a lot of things that we do during our development process (adding to docs, generating stubs, benchmarking, squashing PRs, etc.), but which are not mentioned anywhere. There are also undocumented assumptions inside the codebase, such as ordering depots in the lower indices in the matrices.
We should slowly start documenting this information, not in the least because I tend to forget many things :-)
Some useful resources:

https://numpy.org/doc/stable/dev/index.html
https://www.statsmodels.org/dev/dev/index.html

Small stuff

[x] Disable notebook execution  (maybe just add a comment here)

# -- nbsphinx
nbsphinx_execute = "never"

[x] Setup PyVRP development using Github codespaces.

One important addition to this, I think, is our support of the VRPLIB format. And then particular our extensions. That might just be more of a glossary of "supported keys/sections in VRPLIB-formatted files".

#399 seems somewhat related. Additionally, we need to explain the relation between the prize and required arguments to Client somewhere (that is, just setting a prize is insufficient to get an optional client). Might need to be updated in the API docs somewhere.

Things to discuss in the dev docs:

The hard requirement that the depots are in the lower indices, that is, the integer range [0, num_depots). And then clients in the range [num_depots, num_depots + num_clients). This ties in more generally into "explain how the ProblemData object is laid out".
The concatenation schemes used in the local search. Both the ones we have now, and the overall idea.

Skipping notebook execution is now explained in docs/README.md (which we link to on the contributing page to explain how to build the docs).
Basically do this:
SKIP_NOTEBOOKS=1 poetry run make html --directory=docs

#652 explains how to profile C++ stuff in the docs.

When I tried figuring out how to profile C++ on macOS (#652) I noticed that Instruments was not able to find the source code lines related to the samples. This might have to do with the fact that we move the shared libraries from build/ into pyvrp/. This could also be related to my earlier issue with debugging mixed Python/C++ on macOS, where I couldn't step through the code in VS Code.

We may also want to have a FAQ of the form Sphinx has here. We could populate that over time with new entries as we get questions.
Raw code here

Now that we have a concepts page, I think we should explain more ideas there. Perhaps something about load as well?
We could also have a dev concepts page. Explaining concatenation schemes and the penalised cost objective seems worthwhile, for example.


Update cross-workspace-queries.md

Adding a note to callout that we should use workspace identifiers vs the workspace name as per the same guidance as: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/workspace-expression

@guywi-ms , I'm proposing this quick edit, but I also suggest you make a full review and make sure it has the same guidance as https://learn.microsoft.com/en-us/azure/azure-monitor/logs/workspace-expression

@guywi-ms , I'm proposing this quick edit, but I also suggest you make a full review and make sure it has the same guidance as https://learn.microsoft.com/en-us/azure/azure-monitor/logs/workspace-expression

Definitely! Thanks very much for this, @josecons-msft!
#sign-off

Merging now.


Make EKS IRSA a part of the default credentials provider chain

Hi,
I struggled for several days to make WebIdentity credentials work with my app using Rusoto, but to no avail. It would be nice if this credentials flow became a part of the default credentials provider chain so that rusoto-based apps could "just work" in a properly configured K8s cluster.
Also, if someone can document or add an example of a code snippet that successfully works with web identity auth, it would be very helpful.
Thanks in advance!

Is this part of the default provider chain in other aws sdks?

From the docs it seems it is supported in recent releases of the popular SDKs.

For reference here's java's list https://github.com/aws/aws-sdk-java/blob/c493c38c2e0f6a323b4084d163556fd40be64773/aws-java-sdk-core/src/main/java/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.java#L49

I just came across this issue as well. I'm generally new to AWS, and I only have rusoto based services. So it took me a while to track down why they couldn't access services within EKS.
@vmalloc here is a snippet that is working for me:
// In Cargo.toml include:
//  rusoto_sts
//  rusoto_credential
//  rusoto_core
//  rusoto_* for whichever specific services you need
//  for this example I'm using rusoto_dynamodb
use rusoto_core::Region;
use rusoto_dynamodb::DynamoDbClient;
fn get_inner_client(region: Region) -> Result<DynamoDbClient> {
    if std::env::var("AWS_WEB_IDENTITY_TOKEN_FILE").is_ok() {
        let provider = rusoto_sts::WebIdentityProvider::from_k8s_env();
        let provider = rusoto_credential::AutoRefreshingProvider::new(provider)?;
        Ok(DynamoDbClient::new_with(
            rusoto_core::HttpClient::new()?,
            provider,
            region,
        ))
    } else {
        // Otherwise, return the default.
        Ok(DynamoDbClient::new(region))
    }
}

Note that checking for the AWS_WEB_IDENTITY_TOKEN_FILE to be present doesn't actually verify that you are running in a kubernetes cluster (you could, for example, have this variable set for some other reason) - you could use some other way to identify this.

So I had a look at implementing this but I'm not sure how to given the WebIdentityProvider is defined in rusoto_sts which has a transitive dependency on the rusoto_credential crate where the default chain is defined. I suspect you'd need to either move the default credential chain to rusoto_sts or move logic from rusoto_sts into rusoto_credential, either way is not ideal...

Too bad ChainProvider is hard-wired to the specific preset of the ProvideAwsCredentials impls, rather than being a generic implementation over a Vec<Box<dyn ProvideAwsCredentials>>. It would be much easier to tweak.

This is part of the default behavior of the aws cli, it would be nice if it were the default here too.
I ended up using something like the snippets in https://dev.to/pnehrer/a-story-of-rusty-containers-queues-and-the-role-of-assumed-identity-kl2 but I also don't a reason to avoid adding WebIdentityProvider::from_k8s_env() to the default ChainProvider.

+1 just found this too. It has been a part of the SDKs for awhile now, this should be a part of the DefaultChain
Blog: https://aws.amazon.com/blogs/opensource/introducing-fine-grained-iam-roles-service-accounts/
Docs: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html
Supported SDKs: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-minimum-sdk.html

It would be great to have this part of the DefaultChain, pretty please :)

WebIdentity is in the AWS SDK for Golang V2, it should be in Rusoto for feature parity. A little concerning that there has been no discussion for over a year on this and the issue's been open for three.


Dedicated server Crash and wont start after placeing conduits

Issue Description:
Note: If this bug occurs in a modpack, please report this to the modpack author. Otherwise, delete this line and add your description here. If you are using an unreleased version of Ender IO (e.g. for 1.8.9), please don't open an issue for features that have not been announced as "finished" or "working".
What happens:
Dedicated server Crash and wont start after placing  ender liquid conduits and redstone conduits together
What you expected to happen:
not break the game
Steps to reproduce:
1.Placed Liquid + redstone conduits going from Tinkers Smeltery to casting basins
3. Disconnect parts of conduit to control better
3. Restart server to update mods
4. sever crashes on boot
5. remove affected conduits with MCEDIT
6. Server boots and functions fine
7. get screenshot in testworld of same setup
8. Games crashes same crashlog
...

Affected Versions (Do not use "latest"):

EnderIO: 5.0.22
EnderCore: 1.12.2-0.5.20
Minecraft: 1.12.2
Forge: <IP_ADDRESS>73

Your most recent log file where the issue was present:
Server
https://paste.ee/p/bEsN8
Single player
https://paste.ee/p/RmNqY
Example
https://imgur.com/a/8r6zorV

Fixed in dev


Feature/281 passphrase words

:tada: This PR is included in version 0.15.0-development.3 :tada:
The release is available on:

npm package (@development dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


bump installer

revendor installer to latest 4.3 + carry patches
upstream installer branch is https://github.com/jim-minter/installer/tree/release-4.3-azure-inprogress until this is e2e'd
e2e is waiting on new rhcos image publish (currently in flight)
@mjudeikis fyi

/azp run e2e

/azp run e2e


Encoder panics on composite type arrays containing pgtype.Numeric

Using an array of a composite type with a numeric column and no --go-type override results in a panic
panic: encode []FeeConfig: cannot convert {1 -2 2 false none} to Numeric

This does not occur if your generated structs use a string with --go-type 'numeric=string'
However pgtype.Numeric has a bug in string conversion, I reported it upstream https://github.com/jackc/pgtype/issues/210
For now, I will use the last pggen commit that still contains QuerierConfig and everything works properly with --go-type 'numeric=github.com/shopspring/decimal.Decimal'

The string conversion bug has now been fixed in pgtype.Numeric so --go-type 'numeric=string' can be used as a workaround to allow using numeric columns in composite types


Training time

I'm trying to run this on 4 GPUs, but the training time is intractable (20 days). How many GPUs are required to run this? Or did I make some mistake with configurations? Thanks for any help you can give!

I don't remember the number of GPUs I have used, but this model requires a lot of time. You can may reduce the number of epochs to 300. https://github.com/rosinality/relation-networks-pytorch/blob/master/train.py#L23

Thank you for the speedy response! Do you know if 300 epochs would significantly hurt the performance?
Should I consider other consolidations like reducing the batch size or resizing the images?

One more question (sorry, I'm in a hurry because of an upcoming deadline), do you know how hard it would be to implement distributed training into this? I have access to more GPUs, but they're on different machines. I have no experience with distributed training.

As you can see in the accuracy plot, accuracy improvements after 300 epochs will be not very large. And large batch sizes seems crucial for this model to get a decent performance.
I think implementing distributed training will be not very hard.

Okay, thanks, that's a relief.

Actually, I have one more question. Do you know how much the training time decreases with additional GPUs/nodes? I'm afraid that even using 16 GPUs across 4 nodes would still be too slow. I need to finish training ideally before Friday.

I don't know, but if you use DistributedDataParallel then it will be efficient than current DataParallel based implementation.

I observed the the bottleneck isn't with the GPUs. Interestingly, they're not even in use for long segments of the training. The training seems to pause for awhile, then the GPUs become active for a bit as the training progresses, and then it pauses again, and so on. I looked at the stack trace and it's always at the following line of code where it gets stuck:
for i, (image, question, q_len, answer, _) in enumerate(pbar):
Is it possible that it’s the collate_data function that caused the problem?

It might be the sort.

It could be problematic. But also getitem of the dataset itself can cause slowdowns. (reading images.) Anyway using distributed training could relieve that issues.

I have 40 CPUs as workers. Shouldn't __getitem__ be faster in that case? The additional workers don't seem to speed up computation much for some reason.

Here is the stack trace. Do you know where it's getting stuck?
File "train.py", line 188, in <module>     train(epoch)   File "train.py", line 75, in train     for image, question, q_len, answer, _ in pbar:   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/site-packages/tqdm/std.py", line 1129, in __iter__     for obj in iterable:   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 345, in __next__     data = self._next_data()   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 841, in _next_data     idx, data = self._get_data()   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 808, in _get_data     success, data = self._try_get_data()   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 761, in _try_get_data     data = self._data_queue.get(timeout=timeout)   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/multiprocessing/queues.py", line 107, in get     if not self._poll(timeout):   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/multiprocessing/connection.py", line 257, in poll     return self._poll(timeout)   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/multiprocessing/connection.py", line 424, in _poll     r = wait([self], timeout)   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/multiprocessing/connection.py", line 930, in wait     ready = selector.select(timeout)   File "/u/slerman/miniconda3/envs/torch1.5/lib/python3.8/selectors.py", line 415, in select     fd_event_list = self._selector.poll(timeout) KeyboardInterrupt

No, increasing num_workers generally can't solve the DataLoader bottlenecks. Maybe you can convert png images to numpy arrays and save it to lmdb, then you can load images from it. Or you can load entire images into the ram if you have enough capacity.
Anyway, distributed training can certainly reduce the data loading times.

I guess one more thing, I get the following warning throughout training: ```
UserWarning: RNN module weights are not part of single contiguous chunk of memory.
This means they need to be compacted at every call, possibly greatly increasing memory

Generally it will not much affect training time.

Hi again, just in case, do you if training is faster with the implementation you took inspiration from? https://github.com/mesnico/RelationNetworks-CLEVR

I haven't tried that implementation, but I think training speed will be similar.

Hmm, I'm at 126 epochs and accuracy is still at 38%. I'm worried that 300 epochs won't be enough. How consistent are your results?

I think I have only tried 2 times, but these 2 results were similar.

The only change I made is that I tried non_blocking=True and pin_memory=True. Could that have affected the results? Sorry if this a naive question, I'm new to using GPUs.

Hmm I don't think it could cause much problems.

I'm at 237 epochs and still at 20% accuracy.  I can't think of anything else I might have changed.

Yes, the model should show about 39+% accuracies after 10 epochs. But I don't know why pin_memory or non_blocking could cause the problem.


Question: Usage of token in getServerSideProps

Hi, thank you for your work on this. I am trying to use your package in a project, and I'm having issues getting the token in the getServersSideProps method.
I tried to follow your examples but I never seem to get a token using res.getHeader("x-csrf-token") like in all of your examples. But when I use it like this:
export const getServerSideProps: GetServerSideProps = async (context) => {

	const csrfToken = context.req.headers["x-csrf-token"] ?? "missing";
	if (csrfToken === "missing") {
		throw new Error("Invalid CSRF token");
	}

	return { props: { csrfToken } };
};

I get a valid header and the route is protected. Can you tell me what is happening?

Sorry you're having problems using ede-csrf. Which version of Next.js are you using? Also, can you share how you have edge-csrf configured in middleware?
In case it helps, the latest version of edge-csrf and the examples work with Next.js 13. For Next.js 12 you can use<EMAIL_ADDRESS>and see the examples here.

hey. Thank you for your swift reply. You can see the project here in https://github.com/technologiestiftung/oeffentliches-gestalten-ai-search-poc/tree/feat/csrf-tokens (a feature branch)
This is the middlware: https://github.com/technologiestiftung/oeffentliches-gestalten-ai-search-poc/blob/feat/csrf-tokens/middleware.ts
Here the protected api: https://github.com/technologiestiftung/oeffentliches-gestalten-ai-search-poc/blob/feat/csrf-tokens/pages/api/vector-search.ts
And here the page using serverside props: https://github.com/technologiestiftung/oeffentliches-gestalten-ai-search-poc/blob/feat/csrf-tokens/pages/index.tsx

I did that. It did not work. I only can get the token from the request header 🤷🏾

The token in the request headers is the token being sent by the client so that's probably not what you're looking for. Try downgrading edge-csrf to 1.0.2 to see if the problem is being caused by a regression in the latest version.

Tried several versions 1.0.2 does not exist. 1.0.1 gives me the same error. 1.0.0 is missing the dist folder. 0.2 is for next 12 and installed with --force is not compatible.

What's the value of context.res.getHeader('X-CSRF-Token')?

What's the value of context.res.getHeader('X-CSRF-Token')?

it is undefined

I just tried the edge-csrf example code with Next 13.3.1 and I'm seeing the same behavior you are so it appears something changed in a recent release. I'll dig into it but I'm not sure how long it will take to fix and publish a release. Everything works as expected with Next 13.2.4 so if you can downgrade Next for now your csrf code should work as expected.

I can also confirm that it works when I downgrade. Thank you.


Loading dependencies in particular order and error out

I'm trying to load my scripts in particular order ...
<script>
    window.oc = window.oc || {};
    oc.cmd = oc.cmd || [];

    oc.cmd.push(function(oc) {
        oc.require('common', '//d16gdqpunp364y.cloudfront.net/assets/common-8c7dbd1faf1bda861xxx.js', function(common) {
	        oc.require('app', '//d16gdqpunp364y.cloudfront.net/assets/app-8c7dbd1faf1bda861xxx.js');
        });
    });

</script>

Seems like it is working,  but am I doing it correctly ?
However, I will see the following message when I'm doing that ...

So the question is how to correctly load dependencies files in particular order in OC ??
Thanks

Hi @iroy2000 I suspect oc.require wants a mandatory callback param, which you are not providing on the second call. I'll do a test do confirm.

@matteofigus thanks, you are right, the callback param is mandatory.  Ok, closing it.

Btw, do you think I served my "build" assets and upload my stuff to S3 in my build system and then put them into OC template, do you think it is okay?
Currently what I have is

create a unique name ( with hash ) every build
upload to S3 in my build
I just manually copy the "cdn url" of my assets and use it in OC template

So in that sense, I used OC's registry for versioning so far, is that a good use case ?
I want to know what OC did at the back compare to my build process.
Thanks

That's a great question @iroy2000 - you know what, I'm gonna write a wiki page for documenting a bit better what the publish process looks like. Another thing may be to create a FAQ wiki page (you're not the first that asked this question).
Finger in the air, sounds like your approach is ok. OC will need anyways s3 to publish its own components - and the bucket can be shared with the other assets (but that's up to you).

And here we go! https://github.com/opentable/oc/wiki/F.A.Q#i-already-use-s3-to-save-my-assets-via-a-consolidated-build-pipeline-can-i-reference-this-files-from-my-oc-components
Closing this because of the title - if you want we can continue the conversation on gitter!
Thanks for your contribution


make/cmake integration example

Sorry for adding this as an issue but I was not sure how to ask this question:
Is it possible to use c2go as a replacement for gcc / clang in Make / CMake?
It would be great if you could add a simple example in the docs of a small project being built with c2go

The idea is that c2go would be a replacement for clang since it uses clang so heavily and produces output based on the clang AST. It's possible that it works with other flavours of CC (like GCC) but they are less tested.
c2go works for many simple programs but is no where near production quality where it can be simply dropped in. It's more just a proof of concept that C code can be transpiled to working Go code, but this usually this means that the developer has to clean up a few things and they should have a lot of testing to back it up.
It's far more likely that programs converted with c2go is a once off process (like migrating a math library or legacy CLI tool). I couldn't imagine why somebody would need to continue coding in C but have their build process constantly producing Go code.
This is a very long, round about way to answer your question. The README does actually contain an example of usage:
c2go transpile myfile.c

I understand it is definitely a one off process. The issue is that in many cases, the idea is to transpile a small project, there are makefiles (or any build system for that matter) that goes through a list of files, sets dependencies, include paths, etc.
The result will/may still need manual adjustments and that is fine.. it is actually amazing! But what I find inconvenient is to transpile file by file. That is why I was suggesting this.

I see. Well c2go does support transpiring multiple files but it doesn't work with one-to-one mechanics of how CC would do it by compiling object files then linking them later. There was a bit of discussion on this: https://github.com/elliotchance/c2go/issues/63
It's "less documented" because it doesn't work in all cases and we were trying to nail a proper solution (which I guess we never really got to) but you should be able to do:
c2go transpile file1.c file2.c


Remove our old friend, Travis

Questions
Answers

Description?
gh actions are responsible for PHPStan checking etc.

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
n/a

How to test?
🟢 CI


feat(plugins): add experimental pktmon plugin for Windows

Description
This is the first of many commits to add Windows flow support via pktmon in the form of a Retina plugin.
Related Issue
If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request.
Checklist

[x] I have read the contributing documentation.
[x] I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
[x] I have correctly attributed the author(s) of the code.
[x] I have tested the changes locally.
[x] I have followed the project's style guidelines.
[ ] I have updated the documentation, if necessary.
[ ] I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed
Please add any relevant screenshots or GIFs to showcase the changes made.
Additional Notes
Add any additional notes or context about the pull request here.
This is an experimental build, and in the current form remains half present. Omitting Windows cgo for the time being.

Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

/azp run

/azp run

/azp run


transition fallback to "No animation defined in css" in android browser

Use case : modal module
When using it with Android browser or chrome 40.xxx. transition module fail with error "No animation defined in css", and static animation fallback is not triggered.
I chased it down to line :684 in transition.js.
Quick fix : i commented lines 684-687 to let static animation fallback kicks in

Can you elaborate. This isn't enough for me to triage a bug.

@jlukic
Exemple in Backbone
  events: {
    'click #see-cgu' : 'showCgu'
  },
  showCgu: function showCgu(evt) {
    $('#modalContainer .actions').before(this.cgu);
    $('#modalContainer').modal('show');
`
When I click on #see-cgu, the modal do not show and I get "No animation defined in css" error message in the dev tool console.

Closing until there's a codepen or jsfiddle test case.


Blender-like design for Editor

I don't know English very well, so I'll ask briefly.
Why don't you want to make a Blender-like design for the editor?
Plugin developers will be given more freedom, ordinary developers will be able to customize their workspaces.
I made 2 sketches in a graphics editor. They are not very good and have some shortcomings, but the General idea should be conveyed.

I am sure that it is quite easy to implement in reality.
P.S.: Or at least make more subtle forms of the current design. It is painful to look at the window in which 10% of the area is empty.

I am sure that it is quite easy to implement in reality.

Submit a PR then.

I really don't like working with C++.
The implementation itself is simple but extremely extensive.
I will try to collect as much information as possible during this month and try to implement it all in GDScript... It would be a shame if my efforts are called useless functionality.

When I read Blender-like UI/UX, I immediately think about a cockpit !

The phrase 'blender-like interface' has little-to-no objective meaning without explanation (especially now, when Blender's interface is undergoing massive changes), and thus means a different thing to every different person.
Please explain, in detail, what exactly you are proposing. Your mockups look interesting, but without text to explain your proposed changes, they are little more than pretty pictures.

I will try to collect as much information as possible during this month and try to implement it all in GDScript... It would be a shame if my efforts are called useless functionality.

Explain your proposal, get feedback, talk with the community, work with others. If you do that, your efforts will ultimately not be for nought.

Blender is not known for a friendly UI, it's probably the worst idea to copy from them. But first, take a look a this FAQ entry.
So, "doing like Blender" is not a productive description. You might like it because you use Blender a lot, but in my inexperience with it I always feel lost. Instead, you should point out:

The aspects of the current UI that hinders your workflow.
What changes do you need to improve specific tasks.

For instance, while the second screenshot show a lot of space filled, it does not look useful to me. There's too much unrelated information together. Also, Godot has a lot of contextual editors, and things show and hide automatically depending on what you selected. I don't know if putting all together and letting you manage manually is an improvement.

Why don't you want to make a Blender-like design for the editor?

 Godot works context based, so you don't really need to have many editors open. With the upcoming improvements in the inspector, context based works even better.

I have used blender extensively and still I hate it. I used it for various things from motion design to asset creation.
So where are you coming from is  a mystery to me.
Probably you and more flexible UI that can be dragged and dropped. And the external windows to be a part of Godot as well if so I support that. But anything else will only undermine Godot's UI.
Currently Godot is the most user friendly FOSS tool on the planet. So please reconsider.

I'm only offering a way to group areas where I can stretch a single panel to full screen, add an unlimited number of duplicates to a single column... and so on.
I have some thoughts on this, but I should think more.

I will spend more time adapting this interface to the features of Godot.
Thanks for the criticism and advice.

Even if Blender's UI is currently quite messy, I would still love to see these functions (gif) in Godot since they really improve the workflow and help to keep overview.

@naturbua Thats a good example of way more specific suggestions. Thank you :)

@naturbua Yeah that's not there in Godot but that's cause Godot is young and it is still improving.
And remember doing more things doesn't always make you awesome.
Cause if that was the case there won't a a theme/interface overhaul of Blender in 2.8.
And if it's so show me this,

Please don't try to a point that was never there. People use Godot cause it has a nice UI and if you disagree then why are you using it there are other free game engines.
And the point that can always be proved is Blender is hated for is UI and UX. And that's the reason it's still not the market leader even though it has all the features that would make an awesome tool.
Let's not make Github a gif war-ground.

I just wanted to ask for this specific feature. Sorry but you completely missed my point. I never defendet Blender`s overall UI and I am well aware of the changes comming to it in 2.8

PS: Remember to open one proposal per feature requested. Don't lump unrelated things together :slightly_smiling_face:

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Restore session on refresh

Is your feature request related to a problem? Please describe.
Current, users using PASS automatically logs out if browser is refreshed. This is due to the nature of the Inrupt library's default login handling. Would be best if users can stayed logged in from refresh and only log out when they click on logout.
Describe the solution you'd like
Using the handleIncomingRedirect function from Inrupt's solid-client-authn-browser library, we can set restorePreviousSession to true to ensure our browser is redirected to our original web page when refreshed and with an authenticated session.

Pretty difficult to mesh together React Router with Inrupt's native onSessionRestore and handleIncomingRedirect functions.
Created a workaround for this for now. It works by logging users into a new session on Solid when refresh instead of restoring the previous session. This is only triggered if the user had previously logged in but haven't explicitly "Log Out" of PASS by pressing on "Log Out" button.
May return to this if we manage to find a proper solution.

Branch with changes merged with #81. Closing issue.


Autoplay help.

I'm able to set autoplay on the player and it works fine. But what would be the best way to set a switch for the user to choose whether or not the wanted autoplay?
If there is a forum that would be better suited for this type of questions let me know and I'll close and move the question.

You can use a checkbox and every time the checkbox is checked you can do something like:
var media = document.querySelector('video');
if (media) {
    for (var i = 0, total = media.length; i < total; i++) {
         media[i].autoplay = true;
    }
}

or if you have a single element with an ID:
document.getElementById('player1').autoplay = true;

Please star us at https://github.com/mediaelement/mediaelement and https://github.com/mediaelement/mediaelement-plugins to continue improving the package and giving it more popularity; also tell your friends/coworkers/etc. to support the project, if you don't mind.It would be greatly appreciated it


Failing to copy sleeping/disabled/suspended tabs

Tabbard isn't copying sleeping/disabled/suspended tabs.
I will really appreciate it if it would do this!
Thanks so much.

Sorry.  Continuing its support is pointless. Closing the issue.


how to set filed value as new GUID?

how to set filed value as new GUID?

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

ID: c1d94b21-0d87-af97-bb99-40595bfb38e2
Version Independent ID: 0c118aeb-8b37-84a7-1d5c-ac8557258146
Content: Define default value or copy a value - TFS
Content Source: docs/reference/xml/define-default-copy-value-field.md
Product: devops
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@ahmadyo - The ability to set a field value as a new GUID is not a supported feature.


Hosts not Delimited Breaks Widget

Using nix and home-manager to manage the SSH config file at ~/.ssh/config, which is a symbolic link to a path on a seperate mountpoint, generates a config which does not add a new line between hosts, this seems to break the completion. No widget appears, using a minimal "ssh/config" and "zshrc" andinstalling zsh-ssh manually.
macOS 10.12 ARM
zsh 5.9
Broken `~/.ssh/config
Host test
  Port 22
  User test
  HostName <IP_ADDRESS>
  IdentityFile /some/path
Host test1
  Port 22
  User test1
  HostName <IP_ADDRESS>
  IdentityFile /some/other/path
Host *
  ForwardAgent no
  Compression no
  ServerAliveInterval 0
  ServerAliveCountMax 3
  HashKnownHosts no
  UserKnownHostsFile
  ControlMaster no
  ControlPath
  ControlPersist no

Working ~/.ssh/config
Host test
  Port 22
  User test
  HostName <IP_ADDRESS>
  IdentityFile /some/path

Host test1
  Port 22
  User test1
  HostName <IP_ADDRESS>
  IdentityFile /some/other/path

Host *
  ForwardAgent no
  Compression no
  ServerAliveInterval 0
  ServerAliveCountMax 3
  HashKnownHosts no
  UserKnownHostsFile
  ControlMaster no
  ControlPath
  ControlPersist no

This can be worked around like so:
ssh config
{ pkgs, ... }: {
  programs.ssh = {
    enable = true;
    matchBlocks = {
      # ...

      "pikvm" = {
        hostname = "pikvm";
        port = 2223;
        user = "root";
        forwardAgent = true;
        identityFile = "/some/path";

        # Any option at the end of the block that generates a string containing a newline
        extraOptions = { "" = "\n"; };
      };
      # ...
    };
  };
}

I'm glad you found a solution.


Implement Forced Setup Mode & Hotkey Lock settings

This PR adds a drop down for Forced Setup Mode with options:

Off
Disable Input-Mode Switch
Disable Web-Config
Disable both Input-Mode Switch and Web-Config

With that it also adds a switch to disable hotkeys to the bottom of the hotkey configuration menu.
These options function as per the requirement outlined in #272.
An alternative suggestion has been made to achieve this function by @bsstephan (https://github.com/OpenStickCommunity/GP2040-CE/issues/272#issuecomment-1559469175)
Please add any comments or suggestions regarding this.
Thanks!

@deeebug - quick question for you
When either of these modes are enabled:
3 - Disable Web-Config
4 - Disable both Input-Mode Switch and Web-Config
How do you get back into web-conifg?  Or do you need to nuke at that point?

@TheTrainGoes needs a nuke for now, maybe the solution would be to make it be harder to set?

Just added a warning prompt with a basic check to prevent unintended saving of this setting.


Implement CertificateAuthorityActivation deletion

Description of changes:
If a CertificateAuthorityActivation resource is deleted, set the corresponding CertificateAuthority resource's status to "DISABLED".
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/retest

/retest

/lgtm


Handle warning regarding double locking

Handle warning regarding double locking
Instead of double-locking, we're now using a synchronized list inside a sync block.
Issue
#1210
Checklist

[ ] I have added tests to cover my changes
[ ] I have added logging where useful (with appropriate log level)
[ ] I have added JavaDocs where required
[ ] I have updated the documentation accordingly

Note: You may remove items that are not applicable

Do you think we still need Collections.synchronizedList? I don't believe that's needed to do synchronized (list).

Checking and it seems that the way we're handling synchronized code we don't need the syncList anymore. Removing it...


Refcounting: Does refcounting exist in safe Rust?

https://cwe.mitre.org/data/definitions/911	Improper Update of Reference Count

Yes, Rust provides the Rc type to automatically manage reference counting / multiple ownership. (As well as Arc for muti-threaded reference counting.)
There is more information here in the rust book.

Rust standard library references: https://doc.rust-lang.org/std/rc/index.html and https://doc.rust-lang.org/std/sync/struct.Arc.html
Reference counting (the feature) certainly exists in safe Rust.
(Improper Update of) Reference Count (the vulnerability) does not exist in safe Rust.  If you use std::rc::Rc and std::sync::Arc, then proper reference count maintenance is guaranteed by the Clone::clone and Drop::drop methods that are implemented on std::rc::Rc and std::sync::Arc. The only way to obtain a new reference to a reference count object is through Clone::clone, which will increment the count.  The decrement of the count will happen when a reference count object is dropped, and, by ownership, there will be no way to retain access to the reference count object after the drop.
Moreover, one cannot move a std::rc::Rc to another thread (because it is not Send), therefore, the can be no race conditions that lead to improper updates of reference counts with std::rc::Rc.  On the other hand, a std::sync::Arc is Send and can be moved to another thread, but uses atomic instructions to ensure proper reference count maintenance in the presence of concurrent operations.

It's unclear to me whether the CWE is only referring to a language's provided RC type (which, one would typically expect to be "correct") or to an RC pattern that is being implemented incorrectly for specific datatypes.  With regard to the latter, I do not believe that one can implement the RC interface without unsafe in Rust, so I would say that safe Rust pretty much eliminates the issue.

Agreed on this. With the assumption that std::rc::Rc is bug-free, I think safe rust makes this virtually impossible.
Yeah the CWE sometimes states things like it's universal to all languages when it's kinda idiosyncratic to C/C++ world.
Marking this one as Virtually Impossible. I think I'll also add a paragraph on this in the paper.


Default search accommodation

Story: As a user I want to search for category accommodation in order to get as search result of all ads belongs to this category.

The current state is that the UI-Component is implemented and already gets the category fields but the search itself doesn't work yet.


chore: add test to show that we panic when taking rows out of bound in a fragment

this test shows that when we take from a fragment that exist, but the row id is out of bound, we panic.

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

Project coverage is 81.12%. Comparing base (444328e) to head (d0fa5ff).

Files
Patch %
Lines

rust/lance/src/dataset.rs
0.00%
11 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2259      +/-   ##
==========================================
- Coverage   81.15%   81.12%   -0.03%
==========================================
  Files         186      186
  Lines       54163    54174      +11
  Branches    54163    54174      +11
==========================================
- Hits        43954    43950       -4
- Misses       7729     7740      +11
- Partials     2480     2484       +4

Flag
Coverage Δ

unittests
81.12% <0.00%> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Feature request] Keyboard tutorial

I think it would be good if you would include a tutorial on how exactly to type each character, except copying them from your webpage.

The problem I see with this is that this varies with each different keyboard layout.  If so, I can make a keyboard layout for you.

@ConorOBrien-Foxx Yes I do, thanks in advance.

In feature rich text editors such as vim and emacs, you can use rfc1345 mnemonics to input these characters. Here's a link to the usage in vim, where this function is called "digraphs" http://vimhelp.appspot.com/digraph.txt.html

Did someone write a VIM keyboard file "yet"?

@vendethiel I wrote one a while ago, you can download it here. Place the file in your home directory, and add source ~/.jelly.vim in your vimrc.

Nice :D

@ConorOBrien-Foxx Just a question: have you made the layout yet? Because I desparately need it, I can't use the Compose Key for everything :-1:

I actually started creating the keyboard with KLC for windows, I am modeling it to be as intuitive as possible. The only problem that I'm facing right now is figuring out which are the most commonly used symbols (which should be used as the default value for each key) and which ones are less common and should be enabled by alternating between modes (shift, caps, etc...). any leads so I can move on with it?

@ChaosCat I recommend doing uppercase/lowercase letters with Shift/Capslock.

The keyboard is (almost) ready
The layout is ready, the only thing left to do is a bit of real-time testing and packaging as a DLL along with writing some installation instructions. By the way, there were 3 duplicate keys which I handled in a special way (the letters h, o, and C) but the cases were handled in a proper way.
Here are a few notes about the keyboard implementations:
1. Upper case is the default system and all lowercase letters can be accessed with {Shift}
(Examples: {Shift} + R = r, {Shift} + T = t, {Shift} + 0 = °)
2. {Ctrl} + {Key} (default) = Uppercase version of a special character
(Examples: {Ctrl} + C = Ç, {Ctrl} + E = €, {Ctrl} + Y = ¥)
3. In order to access the lowercase version of a special character use {Shift} + {Ctrl} + {Key}
(Examples: {Shift} + {Ctrl} + c = ç, {Ctrl} + {Shift} + z = ½)
4. The duplicate characters (h, o, C) can be accessed using right alt key {AltGr} or alternatively ({Alt} + {Ctrl}). and thus:

{AltGr} + h = ð
{Ctrl} + {Alt} + C = ©
{Alt} + {Ctrl} + o = ¤

5. I am not too sure if the upper and bottom dot function the way they should in real Jelly code (currently "Combining dot above/below" are used).
6. All other keys / combinations on the keyboard currently do nothing although the keyboard doesn't include the full Jelly charset.
Any requests/insights before I build it and proceed to the final stage?

@ChaosCat Of course combination characters are invalid. I tried to avoid Alt. The (upper dot) and (lower dot) are meant to be modifier combinations that must be followed by another letter, but must not do anything if it is not a letter, or a letter which isn't a character in the codepage when the dot is there. For example, Ẹ must not be supported, because it's not in the codepage, but Ė must.

Hmm, I don't think that modifying keys in a way so they'd combine into a single character (such as the Japanese keyboard) is really implementable using MS-KLC. However, I did start using Caps Lock for shifting between uppercase and lowercase. I think about using {shift} as the upper dot modifier (and thus {shift} + {caps} would produce uppercase dot letter) and {AltGr} for the lower dot modifier (same system applies). I will move the current 4 AltGr keys (including ®) to some unassigned keyboard values in the other modes.

¿

@DennisMitchell I have tested the keyboard and it's installation and it works great (despite it's uhhh... "special" installation procedure) should I add it's source and installation files to a directory in the main jelly repository or should I make a separate repo for it?

@ChaosCat Well, you have to implement the modification characters, or the project is just waste that needs to be dumped away. I guess that Shift and Alt do not use combination characters anymore.

All the characters ȦḂĊḊĖḞĠḢİṀṄȮṖṘṠṪẆẊȧḃċḟḣŀṁȯṗṙṡṫẇẋż and ẠḄḌḤỊḲḶṂṆỌṚṢỤṾỴạḅḍịḷọṛṣ [are those the modification characters you meant¿] are present on the keyboard [As a matter of fact, I am using it right now to write this message],what else am I missing¿

@ChaosCat Please allow normal ()? if you can. Also, I think the upper dot can do L too (it's just that L/l have a middle dot, not an upper one). Also, make sure that you have ° instead of ⁰.

@erikkonstas Done. No explanation is better than some screenshots (Although I do intend making a documentation for usage and installation :P) :
Default

Shift

Right alt (Alt + Ctrl)

Ctrl

@ChaosCat ɠƈ are still missing though :(

@erikkonstas I actually totally understand the way you chose the Ctrl layout, the ß is a strong s, Æ and Ø make perfect sense, same goes for the £ and ¥ which look like an L and Y. Same goes for the other letters... It's actually quite intuitive. I will add the other three characters later on today but more importantly, is the layout logic itself fine (consistent rules, easy to master, productive)? I'd really like to hear an opinion from someone who is a frequent user of jelly.

@ChaosCat If you have put the characters in, can you please upload new screenshots?

@GolfingSuccess haha sorry I kind of dropped off the github scene for a while. I've been tending to other things lately. I'll have the layout done by the end of December.

@ConorOBrien-Foxx Yes, I was the main suggester of things being done there.

I've found a way to assign dead keys in KLC. So the combinations should work just fine (no combined characters). Problem is, I have to recreate the layout from scratch. If nothing comes up it will be done this weekend.

@ChaosCat Umm... done yet?

@GolfingSuccess Actually yeah, I got very busy last year. and I am sure there are a lot of new characters added which the keyboard doesn't support.

*Shift produces the same result as the above image.

Although I am pretty worried about all the Ctrl + key shortcuts since they collide with the native editor/application/windows ones, why won't we move the keys to AltGr  and AltGr + shift?

@ChaosCat Lots of chars are missing there...oh and Ẏ was added.

@GolfingSuccess Which ones are missing? I went over the list above, all the characters with dot above/below (Ȧ to ṭ) are achieved by the combination of Ctrl + 9/0* + [Any valid character].

Added Ẏ

dot above/below respectively.

@ChaosCat Is there a download for this? I'd like to start programming in jelly, and I don't really have many other options besides your keyboard layout thingy.

Guys maybe you want to try Jelly Balls, an online editor designed to easily write code in Jelly Language.
The features include:

Command palette with all atoms and syntax characters organized by type
Online parser recognizing literals and 2-byte atoms in the code
Direct links for transferring the code into TIO or another Jelly Balls session
Automatic hints

Give it a try: https://jellyballs.github.io

Code report showing description of every step

Recipes page with Jelly examples

Interactive code page of 256 Jelly characters

Hey, this might be super late to the party but I just wrote a super small collection of scripts called
jellyfingers
It should work at least across all *nix systems. It uses the wiki descriptions to let the user search for a character or a combination thereof.


Fix Snapshot Parameters Bug

Is this a bug fix or adding new feature?
Bug fix
What is this PR about? / Why do we need it?
Fixes a bug where users could not create a snapshot without specifying parameters.
Issue: https://github.com/kubernetes-sigs/aws-fsx-openzfs-csi-driver/issues/27
What testing is done?
Unit test

Validated works locally

/approve
/lgtm


mydump: fix issue 519

What problem does this PR solve?
Fix #519.
What is changed and how it works?
Some old CSV parser code hard-coded '"' instead of using parser.quote.
Check List
Tests

Unit test
Integration test

Side effects
Related changes

reset LGTM

LGTM

/merge


delete state directory after unclean exits

fixed https://github.com/docker/docker/issues/29748 ，
As it's an unclean exit, we should remove state directory and go on ,an container may show exited state ,but anyhow we could restart the containerd process and the containers later.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "v0.2.x" git@github.com:sandyskies/containerd.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

I'd rather not do so.
This is not suppose to happen, if it does having the directory around may help troubleshooting.

We use this pr for temporary solution in our production environment. So far so good，a deletion of state directory won't affect a thing. Anyway, we will try your pr as well ,and will try to figure out why this situation happens.

We've got hundreds of prod servers with this issue, I badly want this to be released

+1 we have a similar problem. Nasty.

+1 same here

ping @tonistiigi  @crosbymichael  what do you guys think?

LGTM

@tonistiigi is in favor too 2 against 1, merging :)

+1 We are seeing this in our infrastructure where some hosts are shutdown on a schedule, it's a major pain.

@mlaventure could you tell me what is the version of docker which maps to this containerd:v0.2.x?

@arunmk  https://github.com/containerd/containerd/releases/tag/v0.2.9 maps to 17.06

Thanks @mlaventure.


test flit wheels with 'wheel unpack'

The other day I tried to 'wheel unpack' a flit wheel, and it had what is probably a trivial metadata but that prevented it from verifying.

Thanks for letting me know. I've just tried wheel unpack on a fresh wheel of flit itself, and there was no problem. What wheel were you trying with, and what error did you get?
In flit < 0.8.1, the hashes in the RECORD file were wrongly written in hex rather than url-safe base64 (I hadn't spotted earlier because pip apparently doesn't check them). Could this be the issue? If so, it's probably just a matter of regenerating the wheel with the latest version of flit.

That's probably all it was. Thanks for looking into it.


template issue at login page

ab9bb54144f136bbbba2ce2e94fd88c0be0ee1cf introduced an issue:
500 page:
template: user/auth/signin_inner:64:26: executing "user/auth/signin_inner" at <$provider.DisplayName>: error calling DisplayName: runtime error: invalid memory address or nil pointer dereference

cc @zeripath

never mind it was a relict of an wip pull try to get steam oauth2 -> so there was no "steam" witch result in an nil the template can not handle

@6543 adding the steam authentication would now be very easy:

Apply this patch:

diff --git a/services/auth/source/oauth2/providers_simple.go b/services/auth/source/oauth2/providers_simple.go
index 5a7062e6c..674984118 100644
--- a/services/auth/source/oauth2/providers_simple.go
+++ b/services/auth/source/oauth2/providers_simple.go
@@ -15,6 +15,7 @@ import (
 	"github.com/markbates/goth/providers/facebook"
 	"github.com/markbates/goth/providers/google"
 	"github.com/markbates/goth/providers/microsoftonline"
+	"github.com/markbates/goth/providers/steam"
 	"github.com/markbates/goth/providers/twitter"
 	"github.com/markbates/goth/providers/yandex"
 )
@@ -105,4 +106,11 @@ func init() {
 		},
 	))

+	RegisterGothProvider(NewSimpleProvider(
+		"steam", "Steam", nil,
+		func(clientID, secret, callbackURL string, scopes ...string) goth.Provider {
+			return steam.New(secret, callbackURL)
+		},
+	))
+
 }

run make vendor.

add an appropriate icon as public/img/auth/steam.png

consider if you might want to add some information to templates/admin/auth/new.tmpl - I missed doing this step with the Microsoft Auth providers - (TBH these tips should show only when you select the particular oauth2 provider so that there's no need to change the template in future - this would be a worthy refactor if you were planning to add the Steam provider as a PR.)


Error in crossvalidation

I reproduced the face_34 example, but an error was raised when executing the cross-validation. It seems there is some incompatibility with the checkpoint generated by the downstream task and the classifier torchvision.models.segmentation.deeplabv3_resnet101(pretrained=False, progress=False, num_classes=args['testing_data_number_class'], aux_loss=None). Could you please help me with this issue?

Unexpected key(s) in state_dict: "module.layers.0.weight", "module.layers.0.bias", "module.layers.2.weight", "module.layers.2.bias", "module.layers.2.running_mean", "module.layers.2.running_var", "module.layers.2.num_batches_tracked", "module.layers.3.weight", "module.layers.3.bias", "module.layers.5.weight", "module.layers.5.bias", "module.layers.5.running_mean", "module.layers.5.running_var", "module.layers.5.num_batches_tracked", "module.layers.6.weight", "module.layers.6.bias".

My mistake, solved...


UnknownHostException in Java and Android client

In java and Android i catch those errors:
W/System.err: Caused by: java.net.UnknownHostException: Host is unresolved:
W/System.err:     at java.net.Socket.connect(Socket.java:865)
W/System.err:     at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:110)
But with browser my url works fine.
Where is the problem could be?

If you are using a Samsung device, Issue #74 may be able to give you some hints. Otherwise, more info is needed to narrow down the scope of the problem.

I get this error when the device is not connected to the network. Do you check if the network is available before the connect?

@Yahor10 I have no idea about the difference of the behavior between your browser and your application code, sorry.
The implementation of nv-websocket-client does not check network availability. I know ConnectivityManager in Android, but this library does not use it so that this library can work in any environment where Android-dependent API is not available. Therefore, network availability has to be checked by programmers who use this library.

Basically, UnknownHostException is not a WebSocket issue. I recommend that you post a question to Stack Overflow.


Feature Idea: InfoBox.md in Baseline folder will be used as the SwiftDialog infobox feature

It's not possible to add dynamic info into the SwiftDialog "infobox" currently. If we made a feature to just use whatever is in /usr/local/Baseline/InfoBox.md as the infobox contents, then folks can use an initial script to set that file up and make full use of that SwiftDialog feature.

Maybe an accompanying configuration key so that users can set a custom location for that .md file?

It's not possible to add dynamic info into the SwiftDialog "infobox" currently.

From a baseline standpoint or a swiftdialog standpoint? you can do the latter with echo "infobox: <markdown text here>" >> /path/to/commandfile.log

From a Baseline standpoint. Currently the only way to populate the InfoBox in Baseline is to configure your messaging in the config file itself, making it require backflips if you wanted to do that.
I'm aiming to make it easier by allowing folks to make an .md file from a script or another process, then let Baseline pick that up

that gives me an idea

Closing this out w/out implementing. This can easily be accomplished with an InitialScript and the features Bart is adding to Dialog 2.5 will make this even better.


Replace javax.inject with jakarta.inject

Please replace Guide's dependency from javax.inject to jakarta.inject. See https://github.com/google/dagger/issues/2058 for a related discussion.
By the looks of it, the package name remains the same so this is a drop-in replacement. The reason you want to make this change is anyone depending on guice is currently forced to add this to Maven:
<exclusions>
	<exclusion>
		<groupId>javax.inject</groupId>
		<artifactId>javax.inject</artifactId>
	</exclusion>
</exclusions>

to avoid getting the following error at boot time:
java.lang.module.ResolutionException: Modules jakarta.inject and javax.inject export package javax.inject to module org.flywaydb.core'.

Note, I submitted issue #1383 to Guice at the same time as the dagger issue.

Closed in favor of #1383.