Losing cookies when POST returns 302

When I call client.post() and I receive a 302 status the SET_COOKIE headers are gone. I know that these headers should be set because when I do the same thing in a browser I can see them.
I assume this has something to do with 302 being a redirection code, but is it possible to still extract these cookies?

I think I found a possible workaround by using a client builder with:
let client = reqwest::Client::builder()
    .redirect(reqwest::RedirectPolicy::None)
    .build()?```

And then I manually check the `location` in the headers but it's not pretty.

I do wish reqwest would provide support for this use case, see #14 to track this.


MagicMirror freezes

Since I added this module my MagicMirror freezes with a blank screen or freezes with a screen that does not change.  This problem always occurs after 24 hours of starting the MM.  I tried running only this module and the problem still occurs so the problem is in this module.
Here is the output from PM2 log file:
[TAILING] Tailing last 10 lines for [mm] process (change the value with --lines option)
/home/pi/.pm2/logs/mm-error-0.log last 10 lines:
0|mm       |     at exports._errnoException (util.js:1026:11)
0|mm       |     at ChildProcess.spawn (internal/child_process.js:313:11)
0|mm       |     at Object.exports.spawn (child_process.js:392:9)
0|mm       |     at Git._schedule (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1165:42)
0|mm       |     at Git._run (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1150:12)
0|mm       |     at Git.fetch (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:307:19)
0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:64:11
0|mm       |     at Array.forEach (native)
0|mm       |     at Class.preformFetch (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:63:14)
0|mm       |     at Timeout._onTimeout (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:86:9) code: 'ENOMEM', errno: 'ENOMEM', syscall: 'spawn' }
/home/pi/.pm2/logs/mm-out-0.log last 10 lines:
0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm       | 2018-10-23T06:23:19-04:00 6 MMM-WunderGround: null
0|mm       | 2018-10-23T07:02:35-04:00 6 MMM-WunderGround: null
0|mm       | Shutting down server...
0|mm       | Stopping module helper: MMM-MyCommute
0|mm       | Stopping module helper: calendar
0|mm       | Stopping module helper: mmm-systemtemperature
0|mm       | Stopping module helper: updatenotification
0|mm       | Stopping module helper: MMM-WunderGround
0|mm       | Stopping module helper: MMM-GoogleMapsTraffic
[STREAMING] Now streaming realtime logs for [mm] process

Have you tried disabling the module and letting the others run for 24-48 hours to know for sure its this module? Also maybe you can check your dev console CTRL+SHIFT+I when the mirror is running. See if you notice any errors there?

Thanks for your reply. I can run all other modules for weeks without a problem. I ran the mirror with only this module and again it failed after 24 hours (blank screen). So I am sure it is this module causing the problem.  I’ll check the dev console.
John Bosak

On Jan 4, 2019, at 12:55 PM, anthony6608<EMAIL_ADDRESS>wrote:
Have you tried disabling the module and letting the others run for 24-48 hours to know for sure its this module? Also maybe you can check your dev console CTRL+SHIFT+I when the mirror is running. See if you notice any errors there?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Should we allow recursive referencing in Dictionary/Array ?

While working on a new equal operator for Array and Dictionary (see #35816), I've encountered crash when dealing with recursive containers.
Example running with Godot 3.2:
var key_recursive_d_1 = {1: 1}
var key_recursive_d_2 = {1: 1}
key_recursive_d_1[key_recursive_d_2] = 1
key_recursive_d_2[key_recursive_d_1] = 1
# BUG !!!! This segfaults here !
print("key_recursive_d_1 == key_recursive_d_2 ==> ", key_recursive_d_1 == key_recursive_d_2)

Another with hash:
var d = {}
d[1] = d
# BUG !!!! This segfaults here !
print("d.hash() ==> ", d.hash())

Another with array:
var recursive_a_1 = [1]
recursive_a_1.append(recursive_a_1)
print("recursive: ", recursive_a_1)
# BUG !!!! This segfaults here !
print("recursive_a_1 == recursive_a_1 ==> ", recursive_a_1 == recursive_a_1)

This lead me to think recursive container are a curiosity that are not well handled but not much people care about them (I couldn't find any issue about that).
However correctly handling recursive container is tricky (see my changes to my PR to implement this: 5c214d18c0f78b90a4bbb8a65a81926acabb9681, and I'm not really sure this is 100% correct :/)
On top of that recursive container end up in memory leaks with Godot (I'm not aware of a cyclic reference detector in Godot)...
So my question is "do we really want to support this ?" Or wouldn't be just fine to run recursive reference detection when adding a container to another container, and printing an error if such thing is detected ?

Or wouldn't be just fine to run recursive reference detection when adding a container to another container, and printing an error if such thing is detected ?

Another even better solution would be to simply define a recursion limit. The good think about this approach is it should be dead simple to implement and won't increase the algorithm complexity (unlike the previous solution for instance)

I've implemented the recursion limit in my PR, see https://github.com/godotengine/godot/pull/35816/commits/0d8f5731b88cd85ba280887fe56d8caae7391d38 ;-)

Can you check the status in the current master branch?
From a quick check the Dictionary example seems to properly catch and abort on infinite recursion (probably after #51068), but the Array case seems to still crash.

Can you check the status in the current master branch?

Poke ;)


documentation is bad comparing to ccls

Please describe the problem.
For hints on what information is helpful, see: https://clangd.llvm.org/troubleshooting.html
If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).
Logs
Please attach the clangd stderr log if you can. (Usually available from the editor)
If possible, run with --log=verbose - note that the logs will include the contents of open files!
If this is a crash, try to put llvm-symbolizer on your PATH per the troubleshooting instructions.
System information
Output of clangd --version: clangd version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)
Editor/LSP plugin: coc.nvim, neovim
Operating system: LInux Mint 19.3

Care to elaborate. Any specific places you feel are lacking documentation. The website does a pretty decent job as it is right now.

Care to elaborate. Any specific places you feel are lacking documentation. The website does a pretty decent job as it is right now.

I think the reporter is referring to the way a function's Doxygen documentation is rendered in the posted screenshot (which I assume is of a hover window).

I think the reporter is referring to the way a function's Doxygen documentation is rendered in the posted screenshot (which I assume is of a hover window).

@HighCommander4 @njames93 Yes I mean the function documentation, I'm not sure it's clangd's error or coc.nvim's error

@HighCommander4 @njames93 Yes I mean the function documentation, I'm not sure it's clangd's error or coc.nvim's error

Dupe of #529?

Dupe of #529?

This is a mixture of coc.nvim's markdown mocking and clangd's lack of doxygen comment parsing.
as mentioned in https://github.com/clangd/coc-clangd/issues/48#issuecomment-633141452, we've changed our escaping to be less aggressive with recent versions of clangd. you can try with clangd-11 to have better results, which is available at https://releases.llvm.org/download.html#11.0.0.
though the doxygen comment processing is still lacking as @HighCommander4 pointed out.

This is a mixture of coc.nvim's markdown mocking and clangd's lack of doxygen comment parsing.
as mentioned in https://github.com/clangd/coc-clangd/issues/48#issuecomment-633141452, we've changed our escaping to be less aggressive with recent versions of clangd. you can try with clangd-11 to have better results, which is available at https://releases.llvm.org/download.html#11.0.0.
though the doxygen comment processing is still lacking as @HighCommander4 pointed out.

@kadircet Hi, I justed tested and it's much more, it's not perfect yet but thanks for improving it.

I think the documentation is a little bit too wide, but this is maybe the json library's issue. The @param is not highlighted yet, I'll try some other colorscheme to see if it improves

@kadircet Hi, I justed tested and it's much more, it's not perfect yet but thanks for improving it.

I think the documentation is a little bit too wide, but this is maybe the json library's issue. The @param is not highlighted yet, I'll try some other colorscheme to see if it improves

@kadircet @HighCommander4 Let's only open #529 thanks for your replies

@kadircet @HighCommander4 Let's only open #529 thanks for your replies


Testmyapp v0.0.64

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@stephengillie what could cause this:
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

Is it a blocker?

I'm not sure. Has the master branch been merged into this branch recently? I'm guessing this might involve other changes or something similar.

I'm not sure. Has the master branch been merged into this branch recently? I'm guessing this might involve other changes or something similar.

No other changes but this package. Is that a blocker?

I'm not sure. Has the master branch been merged into this branch recently? I'm guessing this might involve other changes or something similar.

No other changes but this package. Is that a blocker?

@stephengillie  what are my options?

Hi @Gjergj,,
I don't know the cause of this error, and have only been guessing about solutions. I don't know what your options are, nor how to unblock this PR.

Hi @Gjergj,,
I don't know the cause of this error, and have only been guessing about solutions. I don't know what your options are, nor how to unblock this PR.

Closing this one and will try with a new one


Pdf Multi Tool

I can seem to be able to download PDF's from the pdf multi tool. I've tried docker version and windows version and  I can't seem to download the files after manipulate them.
2PdfContainer.js:213  Uncaught (in promise) TypeError: this.pagesContainer.childNodes[i].querySelector is not a function
at PdfContainer.exportPdf (PdfContainer.js:213:59)

same here, no matter which file.

I have a solution and should be merged in few hours

Okay release is being generated now

Please try now and let me know!

Hello, that solves the problem for me thanks

for me, as well! Thank you for the quick fixing. Much appreciated!

Works great.  Ditto!

I tried to docker version but it not work, the windows version work fine though. Any thought?


Uncaught (in promise) Unsupported platform

Hi, thanks for the library. I am using it on Web, with this webpack configuration:
const webpack = require('webpack');

const path = require('path');

module.exports = {
  devServer: {
    contentBase: path.join(__dirname, 'build'),
    // enable HMR
    hot: true,
    // embed the webpack-dev-server runtime into the bundle
    inline: true,
    // serve index.html in place of 404 responses to allow HTML5 history
    historyApiFallback: true,
    port: 3000
  },
  devtool: 'source-map',
  entry: [
    'webpack-dev-server/client?http://localhost:3000',
    'webpack/hot/only-dev-server',
    'react-hot-loader/patch',
    path.join(__dirname, '../index.web.js')
  ],
  module: {
    rules: [
      {
        test: /\.js$/,
        include: [
          path.resolve(__dirname, '..', 'index.web.js'),
          path.resolve(__dirname, '..', 'src'),
          path.resolve(__dirname, '../node_modules/react-native-tab-view')
        ],
        loader: 'babel-loader?+cacheDirectory'
      },
      {
        test: /\.(gif|jpe?g|png|svg)$/,
        loader: 'url-loader',
        query: { name: '[name].[hash:16].[ext]' }
      },
    ]
  },
  output: {
    path: path.join(__dirname, 'build'),
    filename: 'bundle.js'
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NamedModulesPlugin(),
    new webpack.DefinePlugin({
      'process.env': {
        NODE_ENV: JSON.stringify('development')
      },
    })
  ],
  resolve: {
    modules: [
      path.join(__dirname, '..', 'node_modules')
    ],
    alias: {
      'react-native': 'react-native-web',
      'react-navigation': 'react-navigation/lib/react-navigation.js',
    }
  }
};

Current Behavior

I am getting this error in console: "Uncaught (in promise) Unsupported platform".
Expected Behavior

Not showing console error.
Your Environment

software
version

react-navigation
^1.0.0-beta.11

react-native
16.0.0-alpha.12

node
6.9.1

npm or yarn
5.0.3

I am also dealing with this problem. I thought react-navigation worked with react-native-web.

I am also dealing with this problem.How to resolve?
can react-navigation well done on web?

related/same: https://github.com/react-community/react-navigation/issues/1660

I am also dealing with this problem when attempting to use StackNavigator and react-everywhere/react-native-web

Same here, react-native-web and react-navigation not working together

Pinging OP @zarcode since this issue has not been active for a while, and it's related to an old version of the lib. Moreover, as mentioned in the README, we "froze" the web support.
Please let me know if you want this to remain open; if I get no answer in the next 7 days I will close it.

Yes, it's ok to freeze web support and set focus on solving other more important issues.


Implement OAuth2 authentication season

Rabbit season

231 tests were run on bddf8d67. ⚠ 4 Flaked. View Full Report ↗

⚠ 4 Flakes

Test Name
Failure Summary
Logs

[chromium] should display user profile information correctly.
The test timed out waiting for the expected text "User Profile" in the user profile locator.
Logs ↗

[chromium] should return list of users correctly.

Logs ↗

[chromium] should display error message for invalid login correctly.
The expected status code 401 was not received, instead a function was returned.
Logs ↗

[chromium] should login with credentials correctly correctly.

Logs ↗

settings


Support for crash free rate for pure Dart apps (other than Flutter)

Sentry for Dart currently does not support session data used for crash free rate. (note this is NOT about session replay)
On Flutter for iOS, Android and macOS this is not necessarily a problem as the underlying SDK supports it. However that does mean, that there's no support for sessions on web, Windows and Linux.
The relevant documentation is here: https://develop.sentry.dev/sdk/sessions/

Worth noting we can align to what Unity is doing here. There's a C# implementation of it, with hooks to inspect the native layer for the result of the previous session (in case it crashed in the native layer).
The .NET SDK supports "Crashed" sessions through the .NET Unhandled Exception handler but Unity (like Flutter) doesn't crash on unhandled errors. So it turns out the "crash free" stats are always 0% when seeing only from the Dart layer perspective. The Dart/C# layers persist the open session so it can close on restart as Abnormal in case it wasn't gracefully closed, but when the native SDK allows, it can call a callback to be able to differentiate between Abnormal and Crash (native):
https://github.com/getsentry/sentry-dotnet/blob/fb2372a553c3319b9dc2ccfe00b92035bfe76721/src/Sentry/GlobalSessionManager.cs#L305-L311
We need to clarify this in the docs as the 0% crash free on platforms where we don't have native support to flag sessions as crashed might be confusing. Perhaps even adding some support on the product (like showing up Abnormal session rate instead of Crashed).

Perhaps even adding some support on the product (like showing up Abnormal session rate instead of Crashed).

@bruno-garcia Are there any updates on this?

Not yet. @lobsterkatie has brought up something in this area for JavaScript since "crashed" can also be a bit odd there. But nothing changed in Sentry yet

Would be great if this can be supported. I have a desktop application and would be good if could get some stats about the sessions. For me it's simple enough that, I can manually create sessions based on login/logout screen, and just get some stats about 'handled' exceptions.

Any update on this feature. It's very important

@The-RootCause thanks for your interest, we don't have updates on this at this time, but feel free to upvote the comment at the top and track this issue for updates

@The-RootCause I saw you also reacted on the Flutter repo about canvas and Session Replay. Did you mean you believe Replay is important? This issue is about sessions used for crash free rate, for Dart apps other than Flutter. So not really the same thing. We have a wait list for Replay and are working on it: https://sentry.io/lp/mobile-replay-beta/

@bruno-garcia Yes, my question was more concerning Flutter apps. My bad I didn't pay attention to Pure dart. Thank you


Upgrade to ModeShape 5.1.0.Final

Resolves: https://jira.duraspace.org/browse/FCREPO-2062

Is there any reason not to merge this immediately, @awoods ?

It looks like @escowles has given it the thumbs-up: https://jira.duraspace.org/browse/FCREPO-2062


Add Load Balancer: Have 1 target open since it's required

v0.27.0-rc4
Steps to Reproduce:

Open "Add Load Balancer" service
Targets should have 1 open (like listening ports) since it's required.

Bonus bug: Somehow, I have managed to have the radio buttons for Stickiness disappear. I will try to reproduce an open a separate bug.

Verified Fixed in v0.29.0-rc2


Untagged enum deserializing expects human-readable representation even with non human-readable data formats

Some data types like std::net::IpAddr has two different representations for human-readable and non-human-readable Deserializers. However, the built-in deserializers that work with enums do not recognize human-readability of the data format, and expect a representation different from what serializers produce. The following example shows a round trip serialization with msgpack that fails during deserialization.
// [dependencies]
// rmp-serde = "1"
// rmpv = "1"
// serde = { version = "1", features = ["derive"] }

use serde::{Deserialize, Serialize};
use std::{io::Cursor, net::IpAddr};
#[derive(Debug, Serialize, Deserialize)]
#[serde(untagged)]
enum HostName {
    Ip(IpAddr),
    DomainName(String),
}
fn main() {
    // Serialize into MessagePack bytes.
    let mp_data = rmp_serde::to_vec(&HostName::Ip([8, 8, 8, 8].into())).unwrap();

    // Inspect the data structure
    let value = rmpv::decode::value::read_value(&mut Cursor::new(mp_data.clone())).unwrap();
    println!("{}", value); // {"V4": [8, 8, 8, 8]}

    // Deserialize back
    rmp_serde::from_slice::<HostName>(&mp_data).unwrap(); // Panic!

    // A MessagePack encoded string "<IP_ADDRESS>"
    let mp_data = vec![0xA7u8, 0x31, 0x2E, 0x31, 0x2E, 0x31, 0x2E, 0x31];
    println!("{:?}", rmp_serde::from_slice::<HostName>(&mp_data).unwrap()); // Ip(<IP_ADDRESS>)
}

In this example, a ContentRefDeserializer is used behind the scene to pick a suitable variant of HostName. The implementation does not override is_human_readable method on Deserializer trait, thus uses the default value true. Therefore, the non-human-readable representation of IpAddr {"V4": [8, 8, 8, 8]} is rejected. Any suggestions?
PS: #1919 seems related.

replying to @dtolnay's related comment on https://github.com/serde-rs/serde/pull/1919#pullrequestreview-600321475:

I'll go ahead and close this in the absence of a use case.

@dtolnay: a concrete use case is the zerovec crate, which uses a different serialization format depending on whether the (de)serializer is human readable: https://github.com/unicode-org/icu4x/blob/0e395d9c03f8d98bd3c37a0bba7bced4d5511529/utils/zerovec/src/zerovec/serde.rs#L72-L76
Unfortunately, it's really easy to embed ZeroVec and similar types within, e.g., an untagged enum that then fails to deserialize due to is_human_readable not being propagated through ContentRefDeserializer and related internal deserializers.
Any type that has a Deserialize implementation that depends on the deserializer's is_human_readable field is going to run into this issue. None of these types can be safely embedded within untagged enums, and probablly can't use #[serde(flatten)] or other features that also depend in intermediate deserializers. It makes sense that is_human_readable was intended to be best-effort, but unfortunately it's being relied upon within the ecosystem. Worse, the bugs that result from this issue aren't discoverable until runtime, when round-trip deserialization fails.
While it's not ideal, I think the most straightforward solution here is to propagate is_human_readable through all of the intermediate deserializers whenever possible.
cc: @Manishearth

Wait, why is this a problem with flatten? Flatten would be straightforward, no?

#[serde(flatten)] uses FlatMapDeserializer, which is one of the internal deserializers that doesn't propagate is_human_readable from the underlying deserializer: https://github.com/serde-rs/serde/blob/fb2fe409c8f7ad6c95e3096e5e9ede865c8cfb49/serde_derive/src/de.rs#L2574

Oh, wait, flatten's different from transparent. Never mind.

We've also been hit by this. We're using rmp_serde in combination with enum_map crate. Simple code like below, fails.
use enum_map::*;
use serde::*;

fn main() {
    let val = Foo {
        bar: Bar {
            baz: enum_map! {_ => ()},
        },
    };
    let buf = rmp_serde::encode::to_vec(&val).unwrap();
    // panic here
    let _: Foo = rmp_serde::decode::from_slice(&buf).unwrap();

}

#[derive(Serialize, Deserialize)]
struct Foo {
    #[serde(flatten)]
    bar: Bar,
}

#[derive(Serialize, Deserialize)]
struct Bar {
    baz: EnumMap<bool, ()>,
}

We have spent some time trying to figure out why. In enum_map there's code like this:
/// Requires crate feature `"serde"`
impl<K: EnumArray<V> + Serialize, V: Serialize> Serialize for EnumMap<K, V> {
    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> {
        if serializer.is_human_readable() {
            serializer.collect_map(self)
        } else {
            let mut tup = serializer.serialize_tuple(self.len())?;
            for value in self.values() {
                tup.serialize_element(value)?;
            }
            tup.end()
        }
    }
}

/// Requires crate feature `"serde"`
impl<'de, K, V> Deserialize<'de> for EnumMap<K, V>
where
    K: EnumArray<V> + EnumArray<Option<V>> + Deserialize<'de>,
    V: Deserialize<'de>,
{
    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {
        if deserializer.is_human_readable() {
            deserializer.deserialize_map(HumanReadableVisitor(PhantomData))
        } else {
            deserializer.deserialize_tuple(K::LENGTH, CompactVisitor(PhantomData))
        }
    }
}

After adding some debug, it turns out that it does NOT go into serializer.is_human_readable() branch but when decoding, it does go into deserializer.is_human_readable() branch. So in our case, it writes a sequence and then tries to decode a map and it fails.
Removing #[serde(flatten)] attribute makes the round-trip serialisation work.
#1919 seems very related but it seems to have been closed: I don't understand why. Clearly, this is a bug right? It was explained to be so in https://github.com/serde-rs/serde/pull/1919#issuecomment-787594062 and flatten is specifically mentioned there.

Reason it doesn't work is that if #[serde(flatten)] or #[serde(untagged)] or other such are used then the real deserializer gets replaced by ContentDeserializer or ContentRefDeserializer to allow attempting to deserialize the data multiple times. These other deserializers do not carry over the is_human_readable() flag from the original deserializer. It is a bug in serde, quite clearly, if the is_human_readable() flag is supposed to work.


Remove ad (fixes #251)

While testing locally, noticed it removes the gap in rule docs which have code near the top.
With ad:

Without ad:

Yup, that was a side effect we had to live with. Looks nicer without the ad. :)


ci: Provide starters/templates/examples/docs for automatically bumping dependency versions

Currently, bumping the version of a required package repository requires manually running the [dev] plt add-repo subcommand; and bumping the version of a container image requires manually editing compose.yml files. We could reduce toil if version numbers could be bumped automatically on GitHub, e.g. using Renovate or updatecli.
This would reduce the number of manual steps which need to be done in the PlanktoScope OS release checklists.

Once #253 is resolved, I will have a path for merging device-pkgs into pallet-standard to simplify the development workflow (while still making it easy to experiment - after #253, via pallet layering as a lower-overhead alternative to forking); that would reduce the urgency of the need to solve this issue in the context of the PlanktoScope project.
We would still want to have some examples for automatically bumping dependency versions to help people who want to layer pallets over pallet-standard, so this issue is still very important.

To integrate with Renovate, we'd have to define a custom package manager. See also https://docs.renovatebot.com/modules/manager/regex/ and https://docs.renovatebot.com/modules/datasource/git-tags/ and https://docs.renovatebot.com/modules/versioning/semver-coerced/ . We'd need to ensure that we can provide the dependency name (which is part of the parent directory path of the forklift-version-lock.yml file) and that we can provide a regex-based way of determining the current version string (which might be tricky or might even be infeasible). It looks like it could be tricky to make Renovate work cleanly with our forklift-version-lock.yml files. Also, it's not clear to me how we would invoke the forklift tool for a custom manager.
So updatecli may be a better option for now (though in the long term it could be worth thinking about what would be necessary to make forklift-version-lock.yml and forklift dev plt add-plt/forklift dev plt add-repo play well together with Renovate).

To integrate with updatecli, we can make updatecli shell out to run forklift commands (we might need to add some subcommands to make things easier for updatecli). See also https://www.updatecli.io/docs/automate/github_action/, https://www.updatecli.io/docs/plugins/resource/shell/, https://www.updatecli.io/docs/plugins/actions/github/, https://www.updatecli.io/docs/plugins/resource/gittag/, and https://www.updatecli.io/docs/plugins/scm/git/ .

I think the remaining steps for this will be to use what I've developed in github.com/forklift-run/pallet-example-layered and copy it to the other repos in github.com/forklift-run (including making it work for auto-bumping Forklift repo dependencies), and then to decide whether one of those repos is sufficiently simple to be used as a starter (or else maybe I should copy the same CI workflows into the repo I will create for https://github.com/PlanktoScope/forklift/issues/255#issuecomment-2365356369).

I think https://github.com/forklift-run/pallet-example-repackaged is simple enough as an example to declare "mission accomplished" on this issue. More work could be done, but it can be done in future issues.


In the output what do the ms and kb stand for and why are these different for googlebot?

When I hit my rendertron service and render a page in the rendertron console output I get:
200  70ms 716.78kb
But when the same URL is hit by googlebot I get the output:
200 1,831ms 26.09kb
To help diagnose if I there is a problem, what do these figure represent, and why are they different for googlebot?
Thanks!

In general, as we're deprecating the project, you should look into alternative approaches to rendering on the web.


[IDEA] Global elevation tiles in PMTiles

In preparing #359, it would be great to have an open global elevation tiles (in PMTiles package).
Do you have any idea in implementing this? Digital Twin should be on a good topography.
@ubukawa Do we already have one?

I found this great entry by @ubukawa:
https://qiita.com/T-ubu/items/a90c3d42f809725f50ab

Can we use Mapzen Terrain Tiles (under Linux Foundation and AWS Market Place)?
https://aws.amazon.com/marketplace/pp/prodview-x7vtai3hasf26?sr=0-1&ref_=beagle&applicationId=AWSMPContessa#usage
Maybe we can just follow this by @shi-works:
https://qiita.com/shi-works/items/2d712456ccc91320cd1d#maplibre-gl-jsとawsmapzen-terrain-tilesで3d地形を表示する

I prioritized this because I am working on Smart Local (#426).

@ubukawa kindly introduced the following two entries on how o create global elevation tiles from NASADEM:

large scale: https://qiita.com/T-ubu/items/c7bb5697b51f245ef163
small scale: https://qiita.com/T-ubu/items/ced8423e0ebeda8c9244

Porting of @ubukawa's global elevation tiles
@ubukawa kindly offered access to the global eleation tiles from his backup data. @hfu will be downloading these packages for hosting using IPFS in future.
File list (for downloading by @hfu)
The files will be deleted onice @hfu has downloaded the files. So, these URLs are not for public use.
small scale (up to z=6, sourced from Global Map data)

[ ] https://www.unvt-test.com/elevation/0-0-0.mbtiles

large scale (sourced from NASADEM)

[ ] https://www.unvt-test.com/elevation/6-53-21.mbtiles
[ ] https://www.unvt-test.com/elevation/6-53-22.mbtiles
[ ] https://www.unvt-test.com/elevation/6-53-23.mbtiles
[ ] https://www.unvt-test.com/elevation/6-53-24.mbtiles
[ ] https://www.unvt-test.com/elevation/6-53-25.mbtiles
[ ] https://www.unvt-test.com/elevation/6-54-23.mbtiles
[ ] https://www.unvt-test.com/elevation/6-54-24.mbtiles
[ ] https://www.unvt-test.com/elevation/6-54-25.mbtiles
[ ] https://www.unvt-test.com/elevation/6-56-21.mbtiles
[ ] https://www.unvt-test.com/elevation/6-56-22.mbtiles
[ ] https://www.unvt-test.com/elevation/6-56-23.mbtiles
[ ] https://www.unvt-test.com/elevation/6-56-24.mbtiles
[ ] https://www.unvt-test.com/elevation/6-56-25.mbtiles

Additional information
These elevation tiles are produced using scripts in https://github.com/ubukawa/nasadem-rgbify.

Site repo
I created a GitHub repository for a test site.
https://github.com/optgeo/gel

Test site screenshot

ズームレベル高いものの合成ができるようになってきました。

合成のためのスクリプトは、次のようにしています。
require 'sqlite3'

system "rm merged.*"
system "cp 0-0-0.mbtiles merged.mbtiles"
$target = SQLite3::Database.new('merged.mbtiles')

def add(path)
  (z0, x0, y0) = File.basename(path, ".mbtiles").split('-').map{|v| v.to_i}
  source = SQLite3::Database.new(path)
  source.execute('SELECT * FROM tiles') {|r|
    (z, x, y) = r[0..2]
    y = 2 ** z - y - 1
    print "#{z} #{x} #{y} - > 6 #{x >> (z - 6)} #{y >> (z - 6)} - #{z0} #{x0} #{y0}\n"
    $target.execute(
      "INSERT INTO tiles (zoom_level, tile_column, tile_row, tile_data) VALUES (?, ?, ?, ?)",
      r
    ) if (x >> (z - 6)) == x0 and (y >> (z - 6)) == y0
  }
end

Dir.glob("6-*.mbtiles") {|path| add(path)}
system "pmtiles convert merged.mbtiles merged.pmtiles"

西から回ってきて、アフリカの西岸まで辿り着いてきました。

Source Cooperative からの publishment について相談を開始してみました。
英語話者の方々にとって、@ubukawa のこのエントリが非常に役立つのだと思うに至りました。
https://qiita.com/T-ubu/items/c7bb5697b51f245ef163

This was successfully completed by https://github.com/UNopenGIS/7/discussions/464!


chore(markdown): downgrade version React-markdown

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.128%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8260

Relevant Lines:
9212

💛  - Coveralls


GitHub Ruleset awareness

TL;DR
A nice feature GitHub launched is the ability to apply "rulesets" to your organization at scale. This allows for branch protection for all repositories if you want. I set this up- but I am not seeing the result reflected in my Legitify analysis result.
Detailed design
No response
Additional information
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#additional-settings
When I create a ruleset - I'd love to have Legitify ack the protections implemented. I'm guessing that there is a different attribute applied and not technically "branch protection" when I set ruleset to "Require a pull request before merging", or "Required approvals: 1" etc.

I may be mistaken- It seems that the policy was evaluated correctly


Single object importing (NSManagedObject+RZImport)

If I import an array of objects using rzi_objectsFromArray: inContext:, it will do an existing object check automatically and not create duplicates. But if I import a single object using rzi_objectFromDictionary: inContext:, it will not do an existing object check and will create duplicates. It does check to see if rzi_existingObjectForDict: is defined, but I still think it is confusing that the array call checks and the dictionary call doesn't. I'd suggest that if rzi_existingObjectForDict: is not defined, it makes a duplicate check automatically (which seems like what 95% of defined rzi_existingObjectForDict: methods would do anyway).
TL:DR
rzi_objectsFromArray: inContext: checks for duplicates and rzi_objectFromDictionary: inContext: doesn't

Are you still seeing this @bsmith11 ? The code appears to be properly checking for existing objects on the singular version, but I'm probably missing something.


bpf: fix flakes when checking metrics map values.

The ipsec_from_lxc_test and tc_lxc_policy_drop test files both perform assertions on expected count values stored in the metric map. This results in test flakes as if the map put and map get are performed while running on different cpus then the assertions may fail.
This introduces a new helper macro in tests which iterates possible percpu hash values for a particular key until an expected count is found or we exceed the number of cpu slots.
Fixes: #28280

/test

@gentoo-root sorry meant to hit the rerequest review button on grays review but you posted yours at that moment 😅

/test

/test

/test


Warning in Game log

Hi there, I found a warning log:
[14:08:31] [main/WARN]: Mod villagerhats (fabric-1.16-rc1-1.0.0) does not respect SemVer - comparison support is limited.
Don't know if you  can fix it and may you have a nice day!

👍 Nothing to worry about, it'll be sorted for the next release.


JSON_VALUE in WHERE condition

There seems to be an issue with generated SQL if I use .Where with JSON_VALUE function
query.Where($"JSON_VALUE(PropertiesJson, '$.{filter.Key}')", filter.Value)
produces
SELECT * FROM [schema].[Table] WHERE [JSON_VALUE(PropertiesJson, '$].[slug')] = 'culture'
but it should produce this
SELECT * FROM [schema].[Table] WHERE JSON_VALUE(PropertiesJson, '$.slug') = 'culture'
I use the resulting sql to feed it to .FromSqlRaw() of EF Core and obviously if fails.

While we have plans for JSON support, for now you can use WhereRaw(rawStringHere)
but make sure to protect against SQL injection

If I used WhereRaw it would defeat the reasons why I'd use Sqlkata in the first place because what I wanted was to use the WhereIn, WhereNot and other fluent methods. Instead of using WhereRaw I might just as well use StringBuilder and not add dependency on Sqlkata to my project at all.

After further trial&error I was able to do what I wanted with Sqlkata, WhereRaw and OrderByRaw actually do help.
Like this
		var qb = new Query($"{query.SchemaName}.ContentInCategories ");
		qb = qb.WhereIn("CategoryVariantId", query.CategoryVariantsFilter);
		qb = qb.Where("Active", query.ActiveFilter.ToString()).Where("Publish", query.PublishedFilter.ToString());
		qb = qb.OrderByRaw(query.OrderBy);

This covers 90% of my use cases.


Handle carbon copied addresses on tickets submitted via email

If a ticket submitted by email has CC'd recipients they are currently ignored. They should be added to the CC list for the Ticket that gets created.
See also GH-18. My feeling right now is that CC'd addresses should have view only permissions to the tickets, but perhaps we can make it a configurable option.

This was implemented as part of #507 so closing. Let me know if you run into any bugs while testing!


Reopen log file on SIGHUP

This PR implements the features found on pr 917 from Bitcoin. It causes a SIGHUP signal to make the daemon reload the log file, to facilitate log rotation.
I have tested this with logrotate, and all seems to be working (where the normal daemon would get stuck not writing to the log file)
This can be useful in situations where the daemon will write a large log file.

Thanks! I'm just on my phone so can't investigate much at the moment but what about including the 2nd commit as well: https://github.com/bitcoin/bitcoin/commit/fea25712ca54c4715f874cf3d871e84bbfd83352

Gitian builds ran, I can see you got the repeat boost thread out, thanks for that.

Great! As mentioned it compiles and runs as expected.


add user id to payload! - discription

view custom vis did not work for you because user id property got deleted somehow from jwtGenerator.js file - backend.

Quyen has modified back-end so it works without an id
It is bad to give access to such information as id


Empty tuple type

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.7.3
            pydantic compiled: True
                 install path: /home/guilherme/PycharmProjects/bulk-uploader/venv/lib/python3.8/site-packages/pydantic
               python version: 3.8.5 (default, Jul 28 2020, 12:59:40)  [GCC 9.3.0]
                     platform: Linux-5.4.0-65-generic-x86_64-with-glibc2.29
     optional deps. installed: ['typing-extensions']

from pydantic import BaseModel

class Example(BaseModel):
    example: Tuple[()]

Will result in:
Traceback (most recent call last):
  File "pydantic/validators.py", line 615, in pydantic.validators.find_validators
TypeError: issubclass() arg 1 must be a class

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...", line 12, in <module>
    class Example(BaseModel):
  File "pydantic/main.py", line 262, in pydantic.main.ModelMetaclass.__new__
  File "pydantic/fields.py", line 315, in pydantic.fields.ModelField.infer
  File "pydantic/fields.py", line 284, in pydantic.fields.ModelField.__init__
  File "pydantic/fields.py", line 356, in pydantic.fields.ModelField.prepare
  File "pydantic/fields.py", line 458, in pydantic.fields.ModelField._type_analysis
  File "pydantic/fields.py", line 516, in pydantic.fields.ModelField._create_sub_type
  File "pydantic/fields.py", line 284, in pydantic.fields.ModelField.__init__
  File "pydantic/fields.py", line 362, in pydantic.fields.ModelField.prepare
  File "pydantic/fields.py", line 538, in pydantic.fields.ModelField.populate_validators
  File "pydantic/validators.py", line 624, in find_validators
RuntimeError: error checking inheritance of () (type: tuple)

This looks like you might be mixing up types and instances by using example: Tuple[()] For example, List[dict()] doesn't really make sense from a type standpoint. The "empty" tuple might be better addressed by using a default_factory. This makes it consistent with other defaults, such as dict or set.
You can specify a variable length tuple with a single type as example: Tuple[int, ...]. It's possible to use Tuple[Any, ...] for a heterogeneous tuple, however, this isn't particularly useful from a type standpoint.
Here's an explicit example:
from typing import Tuple
from pydantic import BaseModel, Field

class T(BaseModel):
    example: Tuple[int, ...] = Field(default_factory=tuple)

def demo() -> int:

    a = T()
    b = T(example=(1,2))

    for x in (a, b):
        print(x)

    return 0

demo()

@mpkocher the syntax may not be the one you expected but it's the one chosen in PEP 484

Tuple, used by listing the element types, for example Tuple[int, int, str]. The empty tuple can be typed as Tuple[()]. Arbitrary-length homogeneous tuples can be expressed using one type and ellipsis, for example Tuple[int, ...]. (The ... here are part of the syntax, a literal ellipsis.)

So if you want to enforce in pydantic an empty tuple, you don't want to set Tuple[Any, ...] but really Tuple[()].
@gpkc I opened a small PR to support this syntax. Thanks for reporting!

@PrettyWood Thanks for clarifying.


Image tag/name doesn't handle port value in image registry

What you expected to happen?
Image name field should include the repo, the repo port, and image name.  The image tag in the image tag field
What happened?

In development, we have our image repository exposed on a unique port.  When I look at the container details the port is included at the beginning of the "Image tag" field instead of in the "Image name field"
How to reproduce it?

Include the port in your image spec value for your image repository.
Anything else we need to know?

Running on Minikube
Versions:

$ scope version (Pulled from the UI footer)
Version1.9.1 on weave-scope-app-545ffb956d-68779
Plugins:n/a
$ docker version
Client:
 Version:	17.12.1-ce
 API version:	1.35
 Go version:	go1.9.4
 Git commit:	7390fc6
 Built:	Tue Feb 27 22:13:43 2018
 OS/Arch:	linux/amd64

Server:
 Engine:
  Version:	17.12.1-ce
  API version:	1.35 (minimum version 1.12)
  Go version:	go1.9.4
  Git commit:	7390fc6
  Built:	Tue Feb 27 22:20:43 2018
  OS/Arch:	linux/amd64
  Experimental:	false
$ uname -a
Linux minikube 4.16.14 #1 SMP Mon Jun 11 16:20:15 UTC 2018 x86_64 GNU/Linux
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:17:39Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
$ minikube version
Minikube version: v0.28.0

Logs:
$ docker logs weavescope

or, if using Kubernetes:
$ kubectl logs <weave-scope-pod> -n <namespace>
kubectl logs weave-scope-agent-lpl6q -n weave
time="2018-08-21T16:36:34Z" level=info msg="publishing to: weave-scope-app.weave.svc.cluster.local:80"
<probe> INFO: 2018/08/21 16:36:34.144781 command line args: --mode=probe --probe-only=true --probe.docker=true --probe.docker.bridge=docker0 --probe.kubernetes=true weave-scope-app.weave.svc.cluster.local:80
<probe> INFO: 2018/08/21 16:36:34.145119 probe starting, version 1.9.1, ID 774cf076277d337e
<probe> WARN: 2018/08/21 16:36:34.171853 Cannot resolve 'scope.weave.local.': dial tcp <IP_ADDRESS>:53: connect: connection refused
<probe> INFO: 2018/08/21 16:36:35.012497 kubernetes: targeting api server https://<IP_ADDRESS>:443
<probe> WARN: 2018/08/21 16:36:35.069108 Error collecting weave status, backing off 10s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: connect: connection refused. If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> ERRO: 2018/08/21 16:36:35.075835 conntrack stderr:NOTICE: Netlink socket buffer size has been set to 8388608 bytes.
<probe> ERRO: 2018/08/21 16:36:35.202744 Error fetching app details: Get http://<IP_ADDRESS>:80/api: dial tcp <IP_ADDRESS>:80: connect: connection refused
<probe> INFO: 2018/08/21 16:36:36.232636 Control connection to weave-scope-app.weave.svc.cluster.local starting
<probe> INFO: 2018/08/21 16:36:38.131797 Publish loop for weave-scope-app.weave.svc.cluster.local starting
<probe> WARN: 2018/08/21 16:36:45.069723 Error collecting weave status, backing off 20s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: connect: connection refused. If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> WARN: 2018/08/21 16:37:05.086578 Error collecting weave status, backing off 40s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: connect: connection refused. If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<probe> INFO: 2018/08/21 16:52:02.246632 Restarting container c0017a4aaa08c0755e7043864943c707cea0c595f28ccde7fd0ab610e8bb78c9
<probe> INFO: 2018/08/21 16:53:58.922470 Stopping container b8dd168e287084518cedbb5915e4cbaefc2b33a5740a906e23e4e843538a345f
<probe> INFO: 2018/08/21 16:54:11.818944 Starting container b8dd168e287084518cedbb5915e4cbaefc2b33a5740a906e23e4e843538a345f
<probe> INFO: 2018/08/21 16:54:35.435631 Pipe pipe-7777171616238127411 connection to weave-scope-app.weave.svc.cluster.local starting
<probe> INFO: 2018/08/21 16:54:48.469192 Pipe pipe-7777171616238127411 connection to weave-scope-app.weave.svc.cluster.local exiting
<probe> INFO: 2018/08/21 16:56:20.914350 Stopping container 658f12ecda2935cef2a1071f0fdd2026270ea6444fb17fdda6916d4f26938d72
<probe> INFO: 2018/08/21 16:56:25.616838 Starting container 658f12ecda2935cef2a1071f0fdd2026270ea6444fb17fdda6916d4f26938d72

kubectl logs weave-scope-app-545ffb956d-68779 -n weave
<app> INFO: 2018/08/21 16:36:35.734931 app starting, version 1.9.1, ID 580e5a63e6404ae5
<app> INFO: 2018/08/21 16:36:35.735048 command line args: --mode=app
<app> INFO: 2018/08/21 16:36:35.785351 listening on :4040
<app> WARN: 2018/08/21 16:36:35.812008 Error updating weaveDNS, backing off 20s: Error running weave ps: exit status 1: "Link not found\n". If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.
<app> WARN: 2018/08/21 16:36:55.835545 Error updating weaveDNS, backing off 40s: Error running weave ps: exit status 1: "Link not found\n". If you are not running Weave Net, you may wish to suppress this warning by launching scope with the `--weave=false` option.

Also, due to this parsing issue the links to see containers using this image show containers with images from this same repo.

What is the problem?  Which line of the log does it show up on?
Would a screen grab help?


maintainers/maintainer-list.nix: add PGP/GPG fingerprints

Motivation for this change
A first tiny step towards https://github.com/NixOS/rfcs/pull/34
Things done

[X] It evaluates.

Actually the short ID is considered insecure so we might as well drop it

That would also allow to simplify the instruction to gpg --fingerprint <email>

Should there be support for multiple fingerprints per person? (I have multiple, but I admit to not always following best practices)

@zimbatm Yes, but it is useful for fetching keys from keyservers.
@tilpner Do both keys have the same email? Should we also support multiple emails then?

@oxij That's correct, they all have the same name and email. I currently have three signing subkeys, one for each device I sign things from. My motivation was to be able to revoke a single device on compromise, instead of having to re-do all of them.

Hm, thinking some more about this.

Key id is indeed superfluous, it probably only needs a key type and the fingerprint.
Borrowing ideas from git-signatures we can also include self-signatures directly into this file.

# large
echo "rsa2048/514BB966B46E3565050886E80E6CA66E5C557AA8 githubhandle Full Name <email>" | gpg --compress-algo none --sign --armor --local-user 514BB966B46E3565050886E80E6CA66E5C557AA8

# large-ish
echo "rsa2048/514BB966B46E3565050886E80E6CA66E5C557AA8 githubhandle Full Name <email>" | openssl sha256 -binary | gpg --compress-algo none --sign --local-user 514BB966B46E3565050886E80E6CA66E5C557AA8 | openssl base64 -A

that | openssl base64 -A -d | gpg -d

That way we can easily produce a usable gpgparticipants(1)-like list for a key signing-party. I'm assuming we would want to do https://en.wikipedia.org/wiki/Zimmermann–Sassaman_key-signing_protocol but with git commit author names taken from git-blame instead of government-issued IDs (because you should care if that $USER owns the same key they use in this repository, not that they carry government-issued IDs; one can argue this might be a valid case for using the comment field, see https://www.debian-administration.org/users/dkg/weblog/97, or we can just ask people to add "github:handle" UID to their key, or just ignore the issue).
git-blame certifies that you commited that line under the correct git author, by adding self-signature here you would certify that you own the secret key in question, thus we can compute the second check of Zimmermann-Sassaman automagically. You would then certify in person at the party that you did actually do both yourself and the fingerprint is correct.
Thoughts?

That would make sense, I agree, but I'm against "expires" field (because it's a good practice to set expiration short and updating this file all the time would be counterproductive), but I'm all for "expired" field that would mark already expired key you don't want to resign with a new expiration date.


[no-sdk] Change author

Closes #25 for the no-sdk branch.

Closing this PR in favor of a new one https://github.com/dstmodders/mod-keep-following/pull/30 due to the branch change.


Align to Dan-actions (v1.1)

12:41 < discord-raku-bot> <Anton Antonov#7232> <@928301352029937715> Sounds good. To be more concrete, my proposal is to make another, Dan-actions file here:
https://github.com/antononcube/Raku-DSL-English-DataQueryWorkflows/tree/master/lib/DSL/English/DataQueryWorkflows/Actions/Raku

hi @antononcube - I am making progress with this module and would like to start thinking about how it can serve your Raku-DSL needs. I am struggling to get this https://antononcube.shinyapps.io/DSL-evaluations/#section-main to produce any code ... it would be really helpful to me to see the generated code and compare to the source files!

@p6steve I am not sure that might be the reason. I get code generate quickly enough.
A few suggestions:

For data wrangling generation please use DSL MODULE DataQuery; line in the DSL specs -- my current "DSL-classifier" does not work reliably.

Please examine the sub-tabs "Translation" and "Errors". They might be able to provide hints of what is wrong.

I can share a Jupiter a notebook with you that directly calls that Cross web service. (Instead of using R-Shiny.)

Maybe, a good alternative is for me to make a Docker file with required DSL packages.

If you install the packages "DSL::Shared" and "DSL::DataQueryWorkflows" locally, on your computer you can generate code with CLI. Here is an example

> ToDataQueryWorkflowCode Raku 'use the data table $dfTemp; group by Var1; show counts; ungroup; rename Var1 as VAR01'
# $obj = $dfTemp ;
# $obj = group-by( $obj, "Var1") ;
# say "counts: ", $obj>>.elems ;
# $obj = $obj.values.reduce( -> $x, $y { [|$x, |$y] } ) ;
# $obj = rename-columns( $obj, %("Var1" => "VAR01") )

Aha - thanks! OK now - I was missing the DSL MODULE DataQuery; line


Modal for links

This is a modal.
if you have an array of links [{ label: 'string', link: 'string'}, ... ]
You call createWindow(Dom, listofLinks) and it will return the modal. To display the modal by clicking a button add modal.display = 'block' to the onClickFunction. This has not been tested yet, due to some other technical issues.
I have also created a modalStyle file next to the modal. I think this is how we should do it as we go forward so that the styles are next to the file we are styling when possible.
TODO: change the styling so that when the user hovers on li the li has a background color.

Cool. Could you please add unit tests and also stories to storybook?

Is this a modal in the sense that it block all interaction for the user until the choice has been made?   If so then I would prefer that it is not. It should allow the user to work on other things while the choice has not been made yet.  Maybe it already does.
See https://www.w3.org/DesignIssues/UserInterface.html#modals
Also good to pass the function a DOM element near or under ot on top of which to make the pop-up so the choice doesn't get lost in the wrong part of the UI.


Update native image builders - use version 22.2

Summary
Updates GraalVM/Mandrel version to 22.2.
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Dependency update
[ ] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update

Checklist:

[ ] Example scenarios has been updated / added
[ ] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

OC issue not related.
FYI @pjgg (I think you worked on it, if I'm wrong, sorry!):
org.opentest4j.AssertionFailedError: Failed to push image app into quay.io/quarkusqeteam. Caused by docker failed (executed [docker, push, quay.io/quarkusqeteam/io.quarkus.qe.openshiftcontainerregistryquickstartusingdefaultsit.app], return code 1)


Added Support for icons in the http://materialdesignicons.com/

Learned a bit of Gulp and thought this might be useful.
Adds Support for icons in the http://materialdesignicons.com/
Adds Command build-community which creates file mdi-icons.svg in iconsets

@Stexxen Thanks!
Yes, we were looking to add those icons as well though we've been updating our build environment to use other things.
I will take a look at this later this week/weekend and then pull it in unless I have any issues.  Thanks for the contribution!

@Stexxen
I found an issue with one of the community icons.  It must've been added recently but it was using ellipse svg path instead of path so your delete test.g.path[0].fill was crashing gulp since path was undefined. Updated the gulpfile based on your help to pull community, build the iconset and remove a standard set of 'style' svg attributes:
'fill'
'fill-opacity'
'stroke-width'
'stroke-linejoin'
Thanks again for your efforts and your contribution.  I'm going to close this since I didn't want to pull request your pull request to update your repo so then I could update my repo.  Just updated mine directly.

@nkoterba No worries, thanks for the mention on the Readme!


Update package.json on install

inject following scripts to package.json post install of package??
    "electron-build": "node_modules/.bin/electron-angular-toolkit build",
    "electron": "npm run electron-build && electron .",

watch and reload will require other dependencies so no point yet for those..
open the way for simpler documentation and implementation/workflow.

could also add the prepare script, or just wrap it all up in a method to be run with the postInstall script in libs, so you no longer need to manually run prepare.


Documentation link redirects to "Page Not Found"

What is the issue?
When trying to access Dagger documentation via the link on the home page I get redirected to a broken "Page Not Found" page with URL https://docs.dagger.io/restricted.

This isn't an expected behaviour, is it?

Thanks @kyrylo-merzlikin-blablacar .
I can't reproduce your error. Are you still experiencing it?

The redirection comes from this line.

@kyrylo-merzlikin-blablacar sorry for this. We're looking into it to see if there is a workaround.

@kyrylo-merzlikin-blablacar . Just create a PR #2865 to restrict only Crimea. Not sure Netlify will concider it though.

Hey @kyrylo-merzlikin-blablacar, can you check if you can enter this link?

Great! The PR has been merged, you should now be able to visit https://docs.dagger.io

@kyrylo-merzlikin-blablacar no worries, we are working on it. Thanks for your concern.


Git Commit

When I select Git commit from the packages menu or use short cut ctrl+shft+x I get 2 commit panes pop up, when I close one it closes both. When i type in one the commit message appears in both. When I save the commit 1 goes through then I get an index.lock. I have delete this file every time before I can commit again any git application such as this one and source tree.

Is this still occurring?

No now it comes up with a nice pop up at bottom of the screen .All seems to be fixed, thanks.


Allow to specify additional Parameters (i.e. Version) to be used with dotnet publish command.

It would be very useful if one could pass parameters (i.e. /p:Version=1.2.3) to be used with dotnet publish command.
I could create a pull request if this functionality is desired and we can agree on a method how to specify those parameters.
Thanks!

Hi,
I think it's a good idea, however some of this parameters (i.e. Version) will not affect output executable, because final packing is done in Warp.
There is an existing issue in Warp to add possibility to pass additional information about resulting exe (https://github.com/dgiagio/warp/issues/32).

You right, it will not affect output executable. But I do have a use-case where main application needs to evaluate it's version before performing a task. I believe native application version would be still available, once it is unpacked by output executable.
I understand if "Version" feature is not yet desirable in dotnet-wrap. If this is the case, I then would use wrap directly to pack an executable.
Thank you for consideration.

You misunderstood me :) I think it is desirable, but Version attribute will not work and I thought that this is your use-case.
I think that best approach here is to add option which will pass "raw" arguments to dotnet publish to handle all possible cases and scenarios and not constrain dotnet publish in any way. What do you think?

I agree that adding generic Arguments option would be the most flexible solution. I will submit a pull request.

#26

Bump. Just wanted to see if you had a chance to look at pull request.
Thank you.


Error: "The system cannot find the file specifed" while using the scrub feature

I don't know if its something that broke because of my windows debloating (which broke a lot of things)

resolved:
for some reason, inside the "C:\Program Files\GCBM\bin" folder there is another "bin" folder nested with two binaries:
elf2dol.exe and gcit.exe. Simply move the exe programs up one level to the proper C:\Program Files\GCBM\bin
Unfortunately the error message didn't point to GCIT as that would have made finding the issue easier.
no doubt a bug in packaging (there are also translation folders, but they were all empty)


map_x64.dll is not generated

Bug description
map_x64.dll is not generated by the visual studio solution.
*To Reproduce
Steps to reproduce the behavior:

Run Fast.sln with 'Release_Matlab' (x64) solution configuration
After successful build (using intel fortran) MAP_x64.pdb and MAP_x64.lib are generated but not MAP_x64.dll

OpenFAST Version
OpenFAST 3.1  (hash 3456a645)
System Information:

OS: Windows 10
Compiler: Intel Fortran (Ifort)

The latest Visual Studio files create MAP as a static library which is then packaged into the final OpenFAST executable, eliminating the need for the MAP DLL file.
See this pull request: https://github.com/OpenFAST/openfast/pull/763

Thank you.


Missing argument

Hello,
I have an argument in my header that is not specified in the article : "SFS:;"

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

ID: e47e11dd-53ab-5f62-ac6c-59dbc00eed0d
Version Independent ID: 362ad038-3b64-f342-2f8e-111635c4337d
Content: Anti-spam message headers - Office 365
Content Source: microsoft-365/security/office-365-security/anti-spam-message-headers.md
Product: m365-security
Technology: mdo
GitHub Login: @chrisda
Microsoft Alias: chrisda

@badsector-82, note this existing comment from the article:

[!NOTE]
The X-Forefront-Antispam-Report header contains many different fields and values. Fields that aren't described in the table are used exclusively by the Microsoft anti-spam team for diagnostic purposes.

The important ones that you need to know should already be documented.

@badsector-82 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Improving the assembly

I've merged my experimental assembly routines and @cortner's mt_assemble into dev-assemble. @tjjarvinen, would you please add your new routine to that branch as well (keeping the old ones)?
Let's collaborate here until we all agree on something. I'd also like to enable batching before we merge.

I made PR #71 to add the assemble here. I also added batching to the new version.

Thanks! Just merged that and gave you access.


SmartDesktop and DockerDesktop

I cannot find anywhere the answer to my simple 2 questions.
What is the purpose of Docker in simple terms and does it need to be running all the time (when using SmartDesktop-RStudio)?
I am more interested in the answer to. the second question really.

What is the purpose of using Docker: http://stackoverflow.com/questions/28089344/ddg#42111368

Yes.

In the /yakdata/apps/docker-compose.yml file, note I set it to “restart: unless-stopped”. So, unless you tell Docker to stop the container (once running) or unless you stop Docker Desktop or the Docker service, Docker will automatically restart the container if the container fails for some reason.
This also means it will restart if you shut down and restart the host system, if you have set Docker Desktop to start on system login. https://docs.docker.com/desktop/mac/

Thank you - I am loving SmartDesktop by the way

Thanks for the kind feedback!


QnA Maker - Save and train timing out

I have created a knowledge base in the new version of QnA Maker and it was functioning correctly until yesterday. One ‘Save and train’ that I did just hung for a long time with the ‘Hang tight, this should only take a minute…’ message.
In the end the Knowledge Base still shows as being there but when I try to go into it there is an error.
I tried adding another Knowledge Base with one question and answer and the same problem occurred on the first ‘Save and Train’. I’ve tried logging out and back in again, using different browsers and different devices but all result in the same problem. Do you have any ideas? It was running great up until yesterday.

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

ID: 7cb10c01-db1f-1c61-f5cd-857df2b7fbd8
Version Independent ID: 3ef184f7-6288-caec-ea33-f3d5dadd8965
Content: Learn about QnA Maker - Microsoft Cognitive Services - Azure
Content Source: articles/cognitive-services/QnAMaker/Overview/overview.md
Service: cognitive-services
GitHub Login: @nstulasi
Microsoft Alias: saneppal

@marcritchie We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


A 'MessageChanel' typo in the IntegrationFlowDefinition

In addition consider the maxMessagesPerPoll = 1 fix for the SourcePollingChannelAdapter.
Right now it is PollerMetadata.MAX_MESSAGES_UNBOUNDED and we are forced to use .maxMessagesPerPoll(1).

Fixed with the #40


Add monitoring on influxdb-relay

WHAT:
I want to generate alert if influxdb-relay cant connect to influxdb or write to it. Currently /health endpoint is provided but prometheus cant understand it. It will be helpful if someone can add standard /metrics (up, retry-count etc) to relay.
Thanks

Good idea. It was in our mind since weeks. We'll talk with the team tomorrow.

/metrics had been implemented in the last commit.


refactor: split different runtime into different package

What is changed and how it works?

Split runtime core, proxy and webhook into different package
Introduce package kubernetes

/LGTM


replace logo to Chaos Mesh™

What problem does this PR solve?
replace logo to Chaos Mesh™
What is changed and how does it work?
Check List
Tests

No code

Code changes

None

Side effects

Breaking backward compatibility

Related changes

Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

Codecov Report

Merging #410 into master will increase coverage by 2.78%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #410      +/-   ##
==========================================
+ Coverage   40.86%   43.64%   +2.78%
==========================================
  Files          20       18       -2
  Lines         766      685      -81
==========================================
- Hits          313      299      -14
+ Misses        416      353      -63
+ Partials       37       33       -4

Impacted Files
Coverage Δ

api/v1alpha1/podchaos_types.go
32.55% <0.00%> (-4.07%)
:arrow_down:

controllers/timechaos_controller.go

api/v1alpha1/timechaos_types.go

Continue to review full report at Codecov.

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

/merge


Feature - Responsive Profile page

Responsive Profile
When the UX/UI team will send us the responsive page, we will add it here.

Design
Design is done and now on Figma (with the name #56)


Unmet peer dependency<EMAIL_ADDRESS>

I'm using pad in a node.js package of mine and my users are getting an "unmet peer dependency" warning when they install my package. (see below)

Should rollup be added to your package's list of dependencies to address this?

The rollup dependency is only used in development and declared in the "devDependencies" field. Since the generation of multiple bundles with rollup is a new addition, I've made a simple test and it seems to work:
mkdir toto
cd toto
npm init
npm add pad
echo 'const pad = require("pad");\nconsole.log(pad("hello", 10, "_"))' > test.js
node test.js

Is there a reason why there a bunch of Rollup plugins in the dependencies, rather than in the devDependencies?
  "dependencies": {
    "rollup-plugin-commonjs": "^9.3.4",
    "rollup-plugin-node-resolve": "^4.2.3",

This appears to be what's responsible for dragging in a large pile of (unnecessary?) dependencies and causing the 'unmet peer dependency' warning being discussed here.

Thank you @joepie91 , this is a mistake which I didn't catched when looking at @VivekMChawla issue. I have published a new release 3.2.0 which fix the issue.

Thanks for the quick fix :)

Thanks, @joepie91 for articulating the correct issue.  And thank you, @wdavidw, for the quick fix!


remove post date

📝Changed routes:

/

(view full size)

Commit 54cf2f2870f9f980fcbca9a964d5d33765f4ed46 (https://thelocalhost-git-develop.spences10.now.sh).


HDDS-9107. Reduce the granularity of Container locks for BlockDeletingService

What changes were proposed in this pull request?
Reduce the granularity of Container locks for BlockDeletingService, Reduces the amount of time the BlockDeletingService holds a Container lock to reduce affect to others threads who need acquire the Container  lock
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9107
How was this patch tested?
existing test

@xichen01 , can you add a unit test in TestBlockDeletingService.java for this if possible?

@xichen01 , can you add a unit test in TestBlockDeletingService.java for this if possible?

I have added a unit test in TestBlockDeletingService.java


Move to eslint Airbnb JS Standards, take two

Notes

Install eslint-airbnb-config
Check in large amounts of autofixes
Disable large amount of eslint/airbnb rules so we can get to green
Once this merges in, start peeling off the disables one by one to put our codebase onto the standard
Close #1022
QA checks out alright locally

Looks like precompile is breaking so we can't push to prod . . . got to revert and make sure precompile works before we merge!


Why do you return this result?

var mysql = require('mysql')
var connection = mysql.createConnection({
  host     : 'localhost',
  user     : 'dbuser',
  password : 's3kreee7',
  database : 'my_db'
});

connection.connect()

connection.query('SELECT likes as likes FROM user WHERE userName = "Thomas"', function (err, rows, fields) {
  if (err) throw err

  console.log('The solution is: ', rows[0].solution)
})

connection.end()

I copied from the official website example and found that the output is [ RowDataPacket { likes: '1' } ],why not is rows[0].likes ???
local mysql  5.7.22
npm mysql 2.15.0

I seem to be getting something different running the code you provided:
The solution is: undefined

Can you double-check that that is the exact code you're running and provide the DDL and data to load to be sure I'm running exactly the same thing and seeing the same thing to look into what is going on? Thanks!

I just give an example, my actual code is written like this
const mysql = require('mysql');
mysql.createConnection({
  host: 'localhost',
  user: 'root',
  password: 'xuya227939',
  port: 3306,
  database: 'sight',
  multipleStatements: true
});
mysql.connect();
mysql.query('SELECT likes as likes FROM user WHERE userName = "Thomas" ', function(err, row, fields) {
  console.log(row);
});
mysql.end();

The result I expect to get is  row[0].likes  but returned to me [ RowDataPacket { likes: '1' } ]

Ah, gotcha. Yes, that's is just now Node.js's console.log output is. [ for opening array, RowDataPacket is the name of the object class, { is new object, likes is key in the object, '1' is a string the value of one.

ok, It's my problem


Update ForLoopExample1.java

Please provide a description.

so can i send it again?
On Tue, 20 Oct 2020 at 18:08, Mursal Furqan<EMAIL_ADDRESS>wrote:

Please provide a description.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MLSA-Mehran-UET/Learn-to-code-java/pull/110#issuecomment-712836663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALZE6OQR36L3DIRCUVML7DLSLWDVTANCNFSM4SYKKPBQ
.

Just Edit the Description

Please provide a valid description of your generated pull request and put your code in the appropriate folder.


update post methods, trim httputils

get, post requests should be really easy now. the last thing to do is to replace the Model objects in the current <T>Response buckets being used for the different controllers with the new Response objects and return a real object from the dto.

after those style changes the pr is quite large but mostly just indentation changes etc. going to branch off here and work on peer selection methods as well as read up on v2 serialization. will open another pr with those changes.

We need to consider our types for amounts (balances, values etc) and try to make them generic. This will make it more consistent to work with and prevent things like integer overflows when sending / retrieving large amounts.

@dafty do you want to then keep all units as long then since that's what they come back as? i was doing the conversions to the GArk(?) for them on some methods and not others so yeah i feel the concern.

@dafty

Updated wrap length to 240 (basically removed the constraint since 240 is huge IMO)
Remove all conversions from managers (long in response is used)

@cdvallejo thanks!

I think long is a good replacement for now since all amounts returned are natural numbers based (no decimals).
In the future, we could overload utility functions such as createTransaction with an Denomination.ARKTOSHI or Denomination.ARK enum which accepts other datatypes (like a double) and do the conversion within the function itself:
createTransaction(Denomination.ARKTOSHI,  long: 1)
would be the equivalent to:
createTransaction(Denomination.ARK, double: 0.00000001)


Make a few more fixes to my RuboCop config

I'm going to say this closes #807 – my Ruby code is good enough, and more fiddling on it isn't actually making the site better.

🚀 Deployed on https://66581eabcf1d34b042a73f63--alexwlchan.netlify.app


Custom invitation backend for organization subclass

I am running Python 3.5.2 on Windows 10 with Django 1.11.1 and Django Organizations 0.9.0.
Instead of putting "organizations" as an INSTALLED_APP, I subclassed OrganizationBase, AbstractOrganizationUser, and AbstractOrganizationOwner. By subclassing, I was able to add some fields that deal with basic roles/permissions for organization users. In particular, some users who are not owners should be able to view all organization data, and others have to be granted access on a per-object basis.
That is all working fine, but when I went to use a custom backend for invitations to an organization, I got this error:
RuntimeError: Model class organizations.models.Organization doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

For reference, my backend looks like this:
from dataview.models import MyOrganizationModel
from organizations.backends.defaults import InvitationBackend

class MyOrganizationModelInvitations(InvitationBackend):
    def __init__(self):
        super().__init__(MyOrganizationModel)

And I'm using this for my URL's:
from dataview.backends import MyOrganizationModelInvitations

urlpatterns = [
    ...,
    url(r'^invitations/', include(MyOrganizationModelInvitations().get_urls())),
]

When I added "organizations" to INSTALLED_APPS, the error went away, but now it wants me to create migrations for the organizations tables that I am not using.
Is there a way around this?

I didn't have the time to try reproducing in full, the updates in the latest release, 0.9.2, should resolve this issue. Please try using that version and let me know.

@bennylope Thank you, this should be a lot cleaner! I'll try to give it a spin tomorrow.

@bennylope It works beautifully. Thank you! 💯


Error running Evals after installation - pydantic library

I used OpenAI Evals to run an eval and get a jsonl report. I then pip installed zeno-evals to view the report. But when I went back to run another eval I got the following error:
ImportError: cannot import name 'TypeAdapter' from 'pydantic' (/proj-evals/.env/lib/python3.9/site-packages/pydantic/__init__.cpython-39-darwin.so)

It seems that installing zeno-evals changed some versioning of this pydantic library that was breaking evals so I had to do pip install --upgrade pydantic. This fixed evals but broke zeno-evals.
OS
macOS 14.1.1
Python version
v3.9.6

@shyam-krish I am having a similar problem. It looks like there is an issue with the pydantic version used for both libraries.
In my case the error is:
"pydantic.errors.PydanticUserError: A non-annotated attribute was detected: calculate_histogram_metrics = True. All model fields require a type annotation; if calculate_histogram_metrics is not meant to be a field, you may be able to resolve this error by annotating it as a ClassVar or updating model_config['ignored_types']."
Any solution ?

@JuanmaMenendez I ended up working around it by creating a different virtual env and pip installed zeno-evals there. I just switch back and forth between the venvs when using evals and zeno evals


Couple of Readme changes

Don't know if you want to include these or not, but here are a couple of things I found quite useful.

Linking back to original Roam block from Anki. It's just a card update in Anki.
Leveraging roam to GitHub to do seamless updates in the background. Just tag stuff, and it magically shows up in Anki.

Woah cool. Didn't realize integrating with roam to git would be this easy. Thanks man!


Making JS Engine work with latest libraries

What feature do you want to get added on the base engine?
JS Engine uses pretty outdated libraries for compiling the engine. This can cause confusion and difficulty when trying to work with JS Engine and other engines that require latest libraries (such as Psych Engine)
I'd imagine you wouldn't be up to doing this yourself, is it possible you would accept pull requests for it? I would like to at least try and get it working, and maybe make more improvements to the engine along the way, because, no matter how you put it, this engine does have a lot of issues, but they can be fixed, or at least, minimalized.
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor and 6K+ support.

if you really feel like it, go ahead.
the only really important issues you'd need to figure out are:
Making the playback rate still work with character sprites
Keeping Rainbow FPS
Keeping Accurate RAM counter

if you really feel like it, go ahead. the only really important issues you'd need to figure out are: Making the playback rate still work with character sprites Keeping Rainbow FPS Keeping Accurate RAM counter

The RAM counter already seems to be inaccurate, but I'll take a look at the other things you mentioned

if you really feel like it, go ahead. the only really important issues you'd need to figure out are: Making the playback rate still work with character sprites Keeping Rainbow FPS Keeping Accurate RAM counter

The RAM counter already seems to be inaccurate, but I'll take a look at the other things you mentioned

well by accurate i do mean that it doesn't just cap at 2GB, and it kinda shows how much ram it's actually using

there

how in the hell did i misspell usage wrong

there

ram usate

:sob:

got my wish, i can close this now !!


REUSE compliance check?

Is there any benefit if ORT includes the validation of REUSE compliance?
What do you think? I would find it useful.
https://reuse.software/

We already do that.


Can DQNAgent run on multiple gpus?

Hi! I am currently running the plain DQNAgent and hope to reproduce the baseline result. However, each iteration takes 30-40 minutes to finish. I am running the agent on AWS Sagemaker Studio. Is it possible to speed up training by using multiple gpus?
I think the agent uses only gpu:0 by default, because no matter how many gpus I have for my AWS notebook instance, the training speed is roughly the same.
Thanks!

hi, unfortunately the library by default does not support training a single
agent on multiple GPUs.
what i have found helpful is to use multiple GPUs to run the agent on
different seeds/games in parallel.
alternatively, if you're still in algorithm development phase (and still
exploring ideas), consider doing so in smaller environments like classic
control or MinAtar, as argued in: https://arxiv.org/abs/2011.14826
On Sat, Jun 26, 2021 at 9:36 PM Bryan Yuan @.***> wrote:

Hi! I am currently running the plain DQNAgent and hope to reproduce the
baseline result. However, each iteration takes 30-40 minutes to finish. I
am running the agent on AWS Sagemaker Studio. Is it possible to speed up
training by using multiple gpus?
I think the agent uses only gpu:0 by default, because no matter how many
gpus I have for my AWS notebook instance, the training speed is roughly the
same.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/dopamine/issues/179, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3CCMPKDGI2K3N4S7YPNN3TUZ6ALANCNFSM47L4LNPA
.

Thank you so much Pablo!

no problem! if you're interested in running minatar with dopamine, you can
use this file as reference:
https://github.com/google-research/google-research/blob/master/tandem_dqn/minatar_env.py
with accompanying gin files:
https://github.com/google-research/google-research/tree/master/tandem_dqn/configs
On Mon, Jun 28, 2021 at 8:07 AM Bryan Yuan @.***> wrote:

Thank you so much Pablo!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/dopamine/issues/179#issuecomment-869628381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3CCMM3L6UNS7ZOSE2X4K3TVBQYFANCNFSM47L4LNPA
.

Thanks will try that. Just curious, how much time did the baseline of DQN take to train for 200 iterations? How many timesteps per second did you have when training?

on a p100 training DQN for 200 iterations took roughly 5 days.
On Mon, Jun 28, 2021 at 9:08 PM Bryan Yuan @.***> wrote:

Thanks will try that. Just curious, how much time did the baseline of DQN
take to train for 200 iterations? How many timesteps per second did you
have when training?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/dopamine/issues/179#issuecomment-870151188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3CCMLYUQZGANWRL74BFMLTVEMJFANCNFSM47L4LNPA
.


Character mid air?

I've got an issue with avatars using Gogoloco being in a lay down pose before Oyasumi's sleep mode kicks in and the animation switches, this usually causes the avatar to float in the air in the sleeping position. From what i've noticed the ground offset in Gogoloco menu changes to some really high number. Trying to alter it manually breaks the sleeping animations as my avatar stands up

Sorry for the late reply, life's been kinda busy this year ^^'
This is indeed correct. The laying down "poses" controlled by OyasumiVR are part of GogoLoco's sleep mode, and not identical to the other poses included with that package.
Instead, the float parameter (the ground offset you're talking about) is repurposed to control the sleeping pose while GoGoLoco's sleep mode is active. This means that you cannot use a custom ground offset while GogoLoco's sleep mode is active.
It's recommended that before going to sleep, you make sure your float value is already at 0, and instead use a playspace mover to make sure you're at the right height. (Like the one included with OVR Advanced Settings for example.


[Enhancement] Improve error message to return table information and partition column names

Why I'm doing:
The current error message lacks table information and partition column names. For complex sql queries, this makes it hard to identify which partitioned table is causing the error when allow_hive_without_partition_filter is set to false.
What I'm doing:
Adds table information and partition column names to the error message
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[x] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@kangkaisen @chaoyli Can you please review again due to breaking changes introduced by #53072


gassbookingsmallprogram

gassbooking program using c language.

Jesus Christ. These Hacktoberfest time readme are getting out of hand! I'm sorry, not gonna accept this.


OVPL controller timeout for large sized repo

When OVPL is trying to release a lab of 1+ GB sized repositories the controller throws back "server is taking too long to respond", but OVPL is cloning the repo in background, if there is no network issues, the repo gets cloned and lab gets deployed successfully on a container but the developer doesn't know the details regarding the status of the lab.

We should use web sockets to display to enable communication both ways. (server - client)

This would not solve the issue right. The issue is when ADS is cloning a
repo and the repo is too large(~>1GB), it will take a lot of time for it to
clone and in the meantime ADS times out and as a consequence, the lab
installation fails.
Even if we have websockets for two way communication (so that the server
can push the logs to the client), it is not going to solve this issue. We
have to handle, in ADS, cloning of large repo, or we have threshold on the
repo size. I think the latter is a better idea. I think it doesn't make
sense to have source code repositories in order of GBs. I'm sure if we
think about it, we can come up with lot many implications of having large
repo sizes.
On Fri, Apr 17, 2015 at 12:08 PM, travula<EMAIL_ADDRESS>wrote:

We should use web sockets to display to enable communication both ways.
(server - client)
—
Reply to this email directly or view it on GitHub
https://github.com/vlead/ovpl/issues/8#issuecomment-93910856.

Thinking about it more, maybe having websocket logs solve this issue, the browser won't wait on a traditional HTTP method to return (in which it usually times out after ~10 mins). There would be a websocket connection which would keep updating the client(browser) about the current happenings.
Hence the user might actually see that clone is taking such amount of time. Having websockets based progress updation might solve this issue.


Can a contained availability group take backups on secondary replicas?

[Enter feedback here]
I tried to take a backup on secondary replica of a contained availability group.
However, the below error happened.
Error7877:
Backup on secondary replica is not supported in the connection to contained availability group. Reconnect to SQL Instance and retry the operation.
Is it a restriction for a contained availability group? Are there any plans that a contained availability group can take backups on secondary replicas in the future?
If not, please add the Docs about this restriction for a contained availability group.

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

ID: 22e74780-976d-c65a-b0e3-7d9e4a8a25b7
Version Independent ID: 8eaff680-6aaf-5996-38b8-508bc79e4fdf
Content: Configure backups on secondary replicas of an availability group - SQL Server Always On
Content Source: docs/database-engine/availability-groups/windows/configure-backup-on-availability-replicas-sql-server.md
Service: sql
Sub-service: availability-groups
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@moematsuo -- thank you for your question.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@MashaMSFT -- please look into this issue.

Hi @moematsuo , Thank you for your submission! My sincere apologies for the delay it's taken to address your concern, we've been working through a very large backlog.
During this time, Git Issues have been deprecated as we've transitioned to a new feedback system. I've added your suggestion to our internal backlog (#250055) that we will continue addressing as priorities and resources allow.
We use your feedback to improve our documentation, so we are grateful for your input, and your time. I apologize for any inconvenience, and thank you for your patience and understanding.
Masha from the SQL Docs team
#please-close


Highlighting does not work for Javascript on windows 10 X64

Issue Type: Bug
The hightlight does not work for Javascript on window 10 X64.
I tried to disable all extension and restart the VSCode but not luck.
Tried to update to latest version but got the same result.
VS Code version: Code 1.36.0 (0f3794b38477eea13fb47fbe15a42798e6129338, 2019-07-03T13:25:46.372Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 x 2494)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.89GB (1.28GB free)

Process Argv
-n

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

vsliveshare
ms-
1.0.488

vsliveshare-audio
ms-
0.1.56

vscode-for-node-js-development-pack
nod
2.0.1

vscode-import-cost
wix
2.12.0

As I see, the issue comes up with theme "Dark (Visual Studio)" when I changed to monokai, the highlighting works well.

For all js files? Can you share a screenshot?

Yes, FYI

Please explain exactly what isn't working as you expect

As you can see, it highlights only keywords. I'm not sure this is the feature of theme "Dark (visual studio)".
As I think, it should highlight other part like this:

Change you theme to dark+ (not dark (visual studio))


Boot looping after flashing - RG405V New Device

I've recently got a unit from Ali express and I'd assume it's a new varient of the device as I can't seem to sucessfully get the CFW to boot.
I'll happily try it again and provide a log if possible. I've also tried removing the line of code from the BAT file changing nothing. Using multiple different USB cables and ports to rule that out and even another system entirely, still just boot loops with the ANBERNIC logo appearing without the backlight.
The brick tool saved the device and I tried again but same issue,

So, I tried again and still. but this time I got the log. This is the last line.
writing 'system_b' 8/13...
FAILED (remote: Operation not permitted)
finished. total time: 107.225s
Any idea @TheGammaSqueeze or am I just being stupid. thanks

I've tried to manually flash and same issue. gets to stage 8 and fails. I've tried removing all of my ADB, using admin and still Operation not permitted ):


Push image to chart

Is it possible to push image to the chart?
I found this example:
var sun = new Image();
sun.src = 'https://i.imgur.com/yDYW1I7.png';
Chart.pluginService.register({
afterUpdate: function(chart) {
chart.config.data.datasets[0]._meta[0].data[7]._model.pointStyle = sun;
}
});
I'm not sure how to integrate it if possible with the streaming plugin.
Thanks in advanced.

There is no difference from standard charts. Just add a pointStyle option to your dataset.
var sun = new Image();
sun = 'https://i.imgur.com/yDYW1I7.png';
img.onload = function() {
    var myChart = new Chart(ctx, {
        type: 'line',
        data: {
            datasets: [{
                data: [],
                pointStyle: img
            }]
        },
        options: {
            scales: {
                xAxes: [{
                    type: 'realtime',
                    realtime: {
                        onRefresh: function(chart) {
                            chart.data.datasets[0].data.push({
                                x: Date.now(),
                                y: Math.random()
                            });
                        }
                    }
                }]
            }
        }
    });
};

@nagix Thank you again for taking the time to help me with this :-)
What is the best approach to use the real time chart including dataset with real values and push different images based on events to the last point on the chart, the image represent a different event and the image should be on the bottom of the chart.

If you want to use a different image for each data point, you can set pointStyle to an array and push a image based on the event type when data is pushed.
    var myChart = new Chart(ctx, {
        type: 'line',
        data: {
            datasets: [{
                data: [],
                pointStyle: []
            }]
        },
        options: {
            scales: {
                xAxes: [{
                    type: 'realtime',
                    realtime: {
                        onRefresh: function(chart) {
                            chart.data.datasets[0].data.push({ x: timestamp, y: value });
                            chart.data.datasets[0].pointStyle.push(images[eventType]);
                        }
                    }
                }]
            }
        }
    });

Sounds great just to clarify if the value is 10 the image in this case will be on that point right ?
Is there a way that the image will always be on the bottom (value of zero even if the real value is greater than 0)?

In that case, use another dataset for images where the values are always zero, showLine is set to false and pointStyle is set to an array of images. Regarding the second question, please refer to the Push Model section in README.
var myChart = new Chart(ctx, {
    type: 'line',
    data: {
        datasets: [{
            data: []
        }, {
            data: [],
            pointStyle: [],
            showLine: false
        }]
    },
    options: {
        scales: {
            xAxes: [{
                type: 'realtime',
            }]
        }
    }
});

// Your event callback. get*() are your own functions.
function onEvent(event) {
    var timestamp = getTimestamp(event);
    var value = getValue(event);
    var image = getImage(event);

    myChart.data.datasets[0].data.push({ x: timestamp, y: value });
    myChart.data.datasets[1].data.push({ x: timestamp, y: 0 });
    myChart.data.datasets[1].pointStyle.push(image);
    myChart.update({ preservation: true });
}

Thank you again it's working :-)


PyPI Artist demo code does not work

Hi,
I am evaluating PyPI and I went through the demo at this page https://pypi.org/project/shazamio/
I tested "recognize track" code and it worked like a charm.
I noticed that the output does not include the name of the artist but only ids.
The json for artist is:
'artists': [{
'id': '42',
'adamid': '4488522'
}
],
If I use either 42 or 4488522 in the artist info demo code, I get the following error:
C:\Development\python\test2.py:14: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
Traceback (most recent call last):
File "C:\Users\nicola\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\shazamio\utils.py", line 17, in validate_json
return await resp.json(content_type=content_type)
File "C:\Users\nicola\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\aiohttp\client_reqrep.py", line 1103, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://www.shazam.com/discovery/v3/en/GB/web/artist/4488522?shazamapiversion=v3&video=v3+')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Development\python\test2.py", line 15, in
loop.run_until_complete(main())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1520.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Development\python\test2.py", line 8, in main
about_artist = await shazam.artist_about(artist_id)
File "C:\Users\nicola\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\shazamio\api.py", line 50, in artist_about
return await self.request(
File "C:\Users\nicola\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\shazamio\client.py", line 14, in request
return await validate_json(resp, *args)
File "C:\Users\nicola\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\shazamio\utils.py", line 20, in validate_json
raise FailedDecodeJson(f"Check args, URL is invalid\nURL- {bad_url}")
shazamio.exceptions.FailedDecodeJson: Check args, URL is invalid
URL- https://www.shazam.com/discovery/v3/en/GB/web/artist/4488522?shazamapiversion=v3&video=v3+
Am I doing something wrong?
Thanks
Nicola

Hi, this issue tracker is for issues with the codebase behind https://pypi.org itself, not the projects hosted on PyPI.
You should report this issue to the tracker for the project in question instead.


MVVM-ize Find Dialog

Showing and using the find dialog should be decoupled from the view models that use it. Maybe move it to a service? Also look into using the dialog view-model as the content object for the DialogHost.Show method (doc comment says it's possible), and whether that needs the coupling in Navigation.xaml.

Finder is now not universal anymore. A universal finder is on permanent hiatus.