Model aliasing

WHAT
This P.R. implements model aliasing RE: https://github.com/fishtown-analytics/dbt/issues/637.
WHY
To enable more control over how dbt materializes tables.
HOW
This P.R. adds an alias parameter to the model config. If not present, this parameter will default to the name of the model (AKA the parsed file path of the model). This implementation is preferable because it maintains the use of the filename in ref calls, thereby enabling dbt users to have distinct model names, but non-distinct table names.
The one nasty thing here is that now all materializations reference model['alias'] when constructing table names (I suspect this might also break some stuff in dbt-utils). It may be preferable to add a table key to a node so that these references are easier to read.

Couple of things from my first pass:

You can make this work for BigQuery by swapping name with alias here
The output in the CLI does not reflect the alias for the model. You can find that code here. There are a couple of other instances where we use name that we can replace with alias.

This is so good! It functionally works flawlessly as far as I can tell.
Going to stress test this some more over the weekend, but so far, so good :)

RE: logging. I was able to fix the lines you mentioned, but i'm still seeing this output:
12:44:20 | Concurrency: 1 threads (target='prod')
12:44:20 |
12:44:20 | 1 of 1 START table model foo.model_name [RUN]
12:45:35 | 1 of 1 OK created table model foo.alias [SELECT in 75.23s]
12:45:35 |
12:45:35 | Finished running 1 table models in 75.57s.

Where the START line prints the model name. Any idea of where that is?

@abelsonlive ah, yeah, good catch.
The model name is injected in the describe_node function of these NodeRunner classes. I think all of the describe_node functions in this file need to be updated to use 'alias' instead of 'model'

@abelsonlive are you blocked on anything here?

@drewbanin yeah, it seems like even when I change name -> alias in the node_runner.py, that I still get the same print output.

@abelsonlive interesting...
In that same describe_node function you can do self.node['config']['alias'], which correctly returns the alias. Let me try to figure out why self.node['alias'] isn't updated accordingly. Might be indicative of some bigger oversight

Alright this should be good to go now! Finally got the proper log output. Good look on using elf.node['config']['alias']

@abelsonlive amazing! I think we should probably figure out how to get self.node['alias'] working before merging this. That's something I can definitely do, as this code looks really good and is pretty much ready to roll notwithstanding the config thing.
Let's try to get this PR in for the 0.9.3 release around a month or so from now. I can spend some time figuring out what's going wrong here right after we drop the 0.9.2 release :)
Thanks for contributing!!


[Map] Fix map Y offset after bottom sheet collapse

Fixes #802, maybe fixes #786 (can't repro anymore).
@scolsen Could you PTAL?

Thanks @scolsen !


Problem with .env file configuration

Hello.
I follow instructions from Besu's documentation and cannot deploy the contracts to my test node. On yarn truffle migrate --reset I get the error:
yarn run v1.22.11
$ /mnt/share/prj/x3m/chain/permissioning-smart-contracts/node_modules/.bin/truffle migrate --reset

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.

> Something went wrong while attempting to connect to the network. Check your network configuration.

Could not connect to your Ethereum client with the following parameters:
    - host       > <IP_ADDRESS>
    - port       > 7545
    - network_id > 5777
Please check that your Ethereum client:
    - is running
    - is accepting RPC connections (i.e., "--rpc" option is used in geth)
    - is accessible over the network
    - is properly configured in your Truffle configuration file (truffle-config.js)

Truffle v5.0.44 (core: 5.0.44)
Node v16.10.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Contents of my .env file:
NODE_INGRESS_CONTRACT_ADDRESS=0x0000000000000000000000000000000000009999
ACCOUNT_INGRESS_CONTRACT_ADDRESS=0x0000000000000000000000000000000000008888
BESU_NODE_PERM_ACCOUNT=627306090abaB3A6e1400e9345bC60c78a8BEf57
BESU_NODE_PERM_KEY=c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3
BESU_NODE_PERM_ENDPOINT=http://<ip of node running Besu>:8545
CHAIN_ID=1337

I've tried also with --network besu option, but then I get another error:
$ yarn truffle migrate --reset --network besu
yarn run v1.22.11
$ /mnt/share/prj/x3m/chain/permissioning-smart-contracts/node_modules/.bin/truffle migrate --reset --network besu

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.

UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Object>".
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The values in the error message do not match those in your .env file. Can you check that the .env file is in the directory where you are running the yarn truffle migrate --reset command from?

I'm not sure about it. Although, permissioning is currently out of scope in my project and I don't have time to spend on it, so if you want, you can close this issue as unconfirmed.

ok thanks for the reply @loziniak - closing as unconfirmed


Support worker-src

worker-src should be supported in the CSP header.
It is supported by Chrome 56+.
Documentation on MDN: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/worker-src
SPec: https://w3c.github.io/webappsec-csp/#directive-worker-src

:+1: this should be an easy one for anyone looking to contribute, including first time contributors.

I could try adding this

@arr-dev that would be great!


chore(deps): add support for Symfony Console 8

This is required for Laravel 11.

I don't see any v8 release for symfony/console in packagist?

Oh sorry, this is my bad. I thought this package was one major short of the Console dependency. But it appears that the latest state has support for Laravel 11, but isn't released yet. I'll close this MR, but do you have plans to release the new version soon?


Enforce that members passed to TaggedEnum do not have a _tag property

Closes https://github.com/Effect-TS/effect/issues/1497
Note: I was not intending to work on this issue -- originally I was actually contributing a minor type-level performance improvement to TaggedEnum, and when I went to open the PR, I checked to see if there were any related issues or pull requests, and saw #1497 (and happened to know how to make that work).
Note that:

users will see a type error if they try to create a TaggedEnum when one their members has a _tag property
even though they get the type error, the TaggedEnum still gets instantiated, and the _tag property is overwritten

Not 100% sure if this is the behavior that makes the most sense, but it seemed the most reasonable to me.
TS v5.2 Playground
TS v4.8 Playground
Happy to make any requested adjustments, and I apologize if any of the names aren't clear -- I wrote this rather quickly, and figured better to get feedback before spending too long on it :)

Re-reading the changes, I'm not particularly happy with the name CheckUntagged. Maybe it makes more sense to just it Untagged?

Almost there thanks! Definitely an interesting concoction of types :)
I wonder if it can be simplified at all? My only concern is from a maintainability point of view - in a few months time I can imagine myself staring at it for a few minutes before figuring out what is going on.

Fair enough, I can take another stab at it.

@ahrjarrett what about
export type TaggedEnum<A extends Record<string, Record<string, any>> & UntaggedChildren<A>> = {
  readonly [Tag in keyof A]: Data<
    { readonly [K in keyof A[Tag] | "_tag"]: K extends "_tag" ? Tag : A[Tag][K] }
  >
}[keyof A]

type ChildrenAreTagged<A> = { [K in keyof A]: "_tag" extends keyof A[K] ? true : false }[keyof A]

type UntaggedChildren<A> = ChildrenAreTagged<A> extends true
  ? "It looks like you're trying to create a tagged enum, but one or more of its members already has a `_tag` property."
  : unknown

type-level tests to add in /dtslint/Data.ts
import * as Data from 'effect/Data'

type HttpError = Data.TaggedEnum<{
  BadRequest: { status: 400, a: string }
  NotFound: { status: 404, b: number }
}>
// $ExpectType Data<{ readonly a: string; readonly status: 400; readonly _tag: "BadRequest"; }>
type BadRequest = Extract<HttpError, { _tag: 'BadRequest' }>
// $ExpectType Data<{ readonly b: number; readonly status: 404; readonly _tag: "NotFound"; }>
type NotFound = Extract<HttpError, { _tag: 'NotFound' }>

// @ts-expect-error
type Err = Data.TaggedEnum<{
  BadRequest: { _tag: 'BadRequest' }
}>


Callback function needed: onCanGoBackStateChange

Is your feature request related to a problem? If so, Please describe.

Is there any callback method named onCanGoBackStateChange. I need to know webView.canGoBack immediately in my problem.
But, sometime these method defined in WebViewTypes.d.ts will not be called when HTML history.length/iOS.WKWebView.canGoBack changed.
onLoadingError: (event: WebViewErrorEvent) => void;
onLoadingFinish: (event: WebViewNavigationEvent) => void;
onLoadingProgress: (event: WebViewProgressEvent) => void;
onLoadingStart: (event: WebViewNavigationEvent) => void;
onShouldStartLoadWithRequest: (event: WebViewNavigationEvent) => void;

Describe the solutions you came up with

I use setInterval and window.ReactNativeWebView.postMessage to call onMessage to get canGoBack state. But I know its ugly.
Additional context

The HTML I load use Vue.js

Have you tried using onNavigationStateChange ?

onNavigationStateChange is not working for me.
And this is our vue.js source code 😂
this.$router.push({ path: 'FooBar?foo=' + 'bar' });

As a workaround, in your Vue app you can call window.ReactNativeWebView.postMessage when you navigate and then use the value from event.nativeEvent.canGoBack.
RN App:
class App extends Component<Props, State> {
    // ...

    processMessage(event) {
        console.log('Can go back', event.nativeEvent.canGoBack);
    }

    // ...

    navigationStateChange(event) {
        console.log('Can go back', event.nativeEvent.canGoBack);
    }

    // ...

    render() {
        // ...
        return (
            <WebView
                    onMessage={event => this.processMessage(event)}
                    onNavigationStateChange={event => this.navigationStateChange(event)}
            />
        );
    }
}

In your Webapp (this is React with TS, add this component where you have your router):
import { withRouter, RouteComponentProps } from 'react-router-dom';

const HistoryNotifyer = ({ history }: RouteComponentProps<void>) => {
    history.listen(() => {
        // @ts-ignore
        if (window.ReactNativeWebView) {
            // @ts-ignore
            window.ReactNativeWebView.postMessage(JSON.stringify({
                type: 'historyUpdated'
            }));
        }
    });

    return null;
};

export default withRouter(HistoryNotifyer);

Still Searching Solution for this issue.

onNavigationStateChange is not working for me.
And this is our vue.js source code 😂
this.$router.push({ path: 'FooBar?foo=' + 'bar' });

It seems like onNavigationStateChange will not be called in this case.
Maybe KVO is useful:

/*! @abstract A Boolean value indicating whether there is a back item in
the back-forward list that can be navigated to.
@discussion @link WKWebView @/link is key-value observing (KVO) compliant
for this property.
@seealso backForwardList.
*/
@property (nonatomic, readonly) BOOL canGoBack;

Although this is an old thread, maybe it's helpful for others. It appears that onNavigationStateChange is not called on Android when the app uses history pushState and popState when navigating back in history. On iOS it is being called just fine.
I also noticed that onLoadProgress is called in both platform so what I did was to use both like this:
      onNavigationStateChange={(navState) => {
        // On Android if the page uses history pushState and popState,
        // onNavigationStateChange is not called but onLoadProgress does
        setCanGoBackInWebView(navState.canGoBack);
      }}
      onLoadProgress={(syntheticEvent) => {
        const { nativeEvent } = syntheticEvent;
        // On Android if the page uses history pushState and popState,
        // onNavigationStateChange is not called but onLoadProgress does
        setCanGoBackInWebView(nativeEvent.canGoBack);
      }}

You can also inject a script in the web page so that you can inform the app about the history changes like it's implemented at https://github.com/react-native-webview/react-native-webview/issues/1197#issuecomment-644123824, but in this case you need to inject the script and you might don't want to.


Review what functionalities should go in what packages

I think this is something we agreed would be good to do every now and then. I think there are some good candidates at the moment. For example, the mako-translation interview could do well in the toolbox or in AL and the feedback form is something I'd love to have in the toolbox.

This is a good idea but it doesn't really fit as an issue. Can we close and add to agenda for a Monday meeting instead?


Migrate Varians from sunstar.com

Can you please migrate the following variants from sunstar.com:

Columns block:

Flex start (this variant not needed if we can control it via markdown with vertical align in word)
Native Image Sizes
no padding

Containers

Narrower

@ehrro

Flex start

The flex-start variant of columns block already exist (code link)

no padding

did you meant no-padding section ? As I didn't find no-padding variant at Columns block in sunstar.com (code link)

Narrower
I can see Narrower variant for Section already exist (code link), did you meant Narrower variant for some other block? please confirm

Native Image Sizes

PR raised: https://github.com/hlxsites/sunstar-foundation/pull/208

Hello @shrotia my bad.
The form-container has a specific width on sunstar.com I thought it was narrower but it's not.
Is it possible to implement the same size as on sunstar.com?
Thanks a lot.

form-container

yes, I can introduce another variant. The width of the was increased as part of PR for this page

@ehrro introduced Narrower variant for Forms - Library Link
Please have a look at the PR and let me know if there is any other variant/change from sunstar.com needs to be ported in sunstar-foundation?


Fix bot changing from fresh planets to old planets

I got rather annoyed at the bot changing my choice so I decided to fix this. Trying to load the zone at index 0 always seems to fail and I noticed it lacked a leader and top_clans property.
Closes #149

i've applied the workaround 'fix' to the script, and tested it.  working good.
please merge and update the version.  thanks!

already implemented in a different way, but this is a smart way


Task to actively pre-cache all of rubygems.org

If you're going to, say, railscamp, or mainland china, you might want to grab a copy of all the gems. Or at least the newest version of each gem. A task to make this a single command would be swell.

Maybe something like gemstash preload? or maybe even a way to preload specific gems? like gemstash preload rails?
How should all versus latest work? Maybe gemstash preload --latest?
What if you do latest and some of them have dependencies on older versions? Should it do its best to ensure all gems have their dependencies preloaded?

Where to stop?
Pull all the latest gems and their dependencies? Then cut in the first degree of the graph?
That would still be a lot, but not all the gems and versions in the world.

no idea :) maybe just everything? I know that's what gem mirrors destined for inside the great firewall and railscamp servers do.

What about a fetch all  plus to the fetch latest .
One for the great wall, the other one a bit smarter.

@indirect keep in mind certain requests will still be directed towards rubygems.org, such as dependencies... those cache for 30 minutes and then will get re-fetched from rubygems.org after that... and the cache is in memory, or optionally a memcached server, so preloading won't guarantee no web requests (at least as it stands now).
Do we need to have a mode for gemstash that deals with dependencies in a different manner, or would that work?

if gemstash caches the full index files (specs.4.8.gz, latest_specs.4.8.gz, and prerelease_specs.4.8.gz), then --full-index mode will work!

it might make sense to have a flag that explicitly puts gemstash in "no backing server" mode?

Offline mode, yes

What about, when going in offline mode we pull the specs files, cache them and build the dependencies data without an expiration.
When we leave offline mode, we evict all this cached data.

If you have a local server, the dependency API isn't even needed because you can fetch the full index so quickly. Plus, the new index will cache the index on each client, making the dependency API even less needed. (And it will automatically cache the index as part of the fetching process. New index support is basically Gemstash 1.1 :)

Then there is no need for building the db. Just caching the specs files if enough.
And the gems, of course.

Ok, I've just pulled the latest specs and unmarshalled it to see how it looks like.
It seems quite straightforward to build the gem names with that and pull them all (prefetching).
The only but is, as @smellsblue said, some gems may require older dependencies that are not in that list.
So, how about having a "--deep" option which is going to go through all the gems from this file and will resolve dependencies for those so it picks a "consistent" snapshot of all the gems (this can take a lot of time)
By default we just pull the latest of everything and then the user can train gemstash with whatever else he/she wants to have locally resolved. Something like "gemstash prefetch rails" which is also going to resolve those dependencies and will pull all the required gems building a consistent cache.
Then, when going into offline mode, we fetch those specs files and just do not redirect anymore.
Thoughts on this?

The specs array is the exact same format as the latest specs array—as you have both pointing out, it's basically impossible to know which older gems you'll need.
I think we should trash the idea of "latest" and only provide a script (rake task?) that can prefetch all the gems that exist. We should warn them that it can take hours/days to do this before actually starting, and print progress out as it runs (there's a pretty okay UI for this in the bundler/new_index repo, which downloads every single gemspec using 50 threads).
At the same time as we ship the prefetch script, we should probably also ship a "backend gone" mode that doesn't even try to talk to rubygems, just serves out of the already existing cache.

Would "backend gone" mode require --full-index, or are we going to try to serve dependencies from the locally cached gems?
Also, I have an idea for prefetching specific gems.... we could create a Gemfile that just points to the running gemstash and then lists all the desired gems, then bundles in the background.

A prefetch endpoint that accepts a Gemfile.lock as input sounds great.
We'll be able to use the new index to offer backend missing mode without having to resort to full index. :)

A good old brute force attack is not so bad neither:
!/usr/bin/env ruby

require "faraday_middleware"
require "zlib"
require "stringio"
require "thread"

def create_connection
  Faraday.new "https://www.rubygems.org/" do |c|
    c.use FaradayMiddleware::FollowRedirects
    c.adapter :net_http
  end
end

def get_specs
  con = create_connection
  p "Downloading specs..."
  req = con.get "/specs.4.8.gz"
  p "Inflating specs..."
  reader = Zlib::GzipReader.new(StringIO.new(req.body.to_s))
  Marshal.load(reader.read)
end

def build_work_queue(gems)
  p "Processing gems..."
  work_q = Queue.new
  gems.take(1000).each do |gem|
    (name, version, _) = gem
    gem_name = "#{name}-#{version.to_s}"
    work_q.push(gem_name)
  end
  work_q
end

def download_gems(work_q)
  p "Downloading gems"
  semaphore = Mutex.new
  workers = (0..20).map do
    Thread.new do
      con = create_connection
      begin
        while gem_name = work_q.pop(true)
          req = con.head("/gems/#{gem_name}.gem")
          semaphore.synchronize do
            p "#{gem_name} - #{req.headers['content-length']} bytes, #{work_q.length} gems left"
          end
        end
      rescue ThreadError
      end
    end
  end
  workers.map(&:join)
end

download_gems(build_work_queue(get_specs))

./pull_all_the_gems.rb  79.82s user 5.31s system 77% cpu 1:50.05 total

Total number of gems right now is 594,815, which means that in this conditions it would take roughly 20hs, which is not so bad.
A rake task like this, and the offline mode that would pull those spec files and we can provide the great wall caching mode.

Is this purely limited by bandwidth and IO, or would it maybe get a speed boost by going multi-process?
Would this mode be putting stuff in the database and behaving like all these gems are private?
If so, could SQLite handle that many records, or should we require another database?
In this mode, presumably no separate upstreams and no private gems, so all requests would go to this cache of gems?
Should there be a way to then fetch the latest gems?
I think we might hit filesystem limits with that many gems. I've seen default filesystem settings get hit where no more files in a directory can be created... we might need to restructure our storage to avoid this problem.

In this case it is limited by latency rather than bandwidth as I am only doing head requests. I do not think that multi processing will help here as this is not CPU bound, but rather IO bound.
I don't think this should add anything to the DB, this would be to force having a local copy of all the gems in the world and history from just one upstream. Quite naive and brute-forcy, but it is a way of pulling that data.
Regarding hitting filesystem limits, depends on the filesystem, ext3, definitely, in fact the limit is 32767 child nodes of a given inode, so yeah. I had been using a flat system before in xfs successfully with a larger data set, and I will assume that both HFS or ext4 will support it.
Anyway, I agree that if we plan to handle this kind of dataset it makes sense to handle it better, 2 ideas that may make sense is to use a trie like structure; say using the first 3 chars of the gem name, if they are that long, something like /r/a/i/rails-version. And then to remove the version from the gem name, something like /.../rails/1.0.0, etc, etc.
Both approachs will distribute the files and probably enable support for this volume of files.
I will do some math later to check what would the worst case be.

It's not so terrible, the gems that have more versions are around 630 different values
["caboose-cms", 627],
 ["arvados-cli", 580],
 ["gherkin", 533],
 ["arvados", 512],
 ["dev", 511],
 ["heroku", 426],
 ["haml-edge", 330],
 ["rbbt-util", 320],
 ["inline_forms", 312],
 ["base2_cms", 309],
 ["flights_gui_tests", 305],
 ["vmail", 281],
 ["gds-api-adapters", 273],
 ["dynarex", 272],
 ["specinfra", 272],
 ["alpha_omega", 270],
 ["pry", 269],
 ["smock", 248],
 ["serverspec", 238],
 ["rvm", 237],
 ["fog", 232],
 ["picky-client", 231],
 ["picky", 230],
 ["rexle", 229],
 ["RubyApp", 226],
 ["sprout", 219],
 ["rails_apps_composer", 217],

I think we can safely assume that it will take a while until we exhaust an ext3 filesystem with different versions of just one gem. There are 107228 different gems, if we build the trie and we store the different versions of the gems in one folder, then it may make sense.
I'll keep digging.

A trie with a depth of 2 will leave us with a max number of different versions of 14500 aprox, which would be hidden inside the gem name, so not a problem at all
["re", 14545],
 ["ra", 14171],
 ["co", 13858],
 ["ca", 11874],
 ["ru", 11861],
 ["ac", 10660],
 ["mo", 10129],
 ["si", 8968],
 ["ma", 8934],
 ["sp", 8048],
 ["bo", 7635],
 ["pa", 7596],
 ["se", 7553],
 ["st", 7004],
 ["de", 6859],
 ["fl", 6184],
 ["mi", 6172],
 ["lo", 6124],
 ["pr", 5832],
 ["me", 5822],
 ["li", 5512],
 ["ha", 5375],
 ["ch", 5128],
 ["ba", 5113],
 ["fa", 4881],
 ["tr", 4776],
 ["te", 4771],
 ["ge", 4713],
 ["gi", 4636],
 ["sa", 4420],

Thoughts on this?

:+1: I think 3 level or 2 level depth would be fine, maybe 3 level just for the added protection, or is that unnecessary? If we do 3 level depth but keep the version number in the directory name, would that make sense? That way, we could just change the storage class rather than needing to pass in the version separate from the gem name.

I'll do the math, but I think it will.

More data
Processing gems using 20 workers
100000/100000
Total bytes to be downloaded: 24.04 GiB
./pull_all_the_gems.rb  842,07s user 95,62s system 7% cpu 3:21:46,46 total

So yeah, a day of downloading roughly.
Versions with a group of 3:
"act", 9541],
 ["rub", 9222],
 ["rai", 5129],
 ["cap", 4909],
 ["mon", 4613],
 ["con", 4578],
 ["sim", 4157],
 ["spr", 3820],
 ["rac", 3771],
 ["res", 3621],
 ["bos", 3494],
 ["git", 3467],
 ["log", 3281],
 ["pro", 2862],
 ["sta", 2776],
 ["flu", 2763],
 ["com", 2681],
 ["red", 2638],
 ["dev", 2633],
 ["vag", 2622],
 ["omn", 2622],
 ["aut", 2589],
 ["ope", 2488],
 ["tra", 2433],
 ["for", 2368],
 ["che", 2227],
 ["min", 2165],
 ["has", 2142],
 ["boo", 2083]

I don't even think we need to change the storage, we just need to do something like
storage.for(first_char).for(second_char).for(third_char).resource(name)

Fair enough, we could use it as is; however to me, pushing that on the user of the storage class means that every user of the class now has to not be in sync and use the same scheme, but also every user of the storage class has to worry whether they might run into file system limits, rather than it be solved in one place, within the storage class :-)
This might mean use cases that are unlikely to hit the problem would still get the protection (private gems probably wouldn't hit the limit, but you never know, there might be a user or two that would run into this problem), but I don't really see a harm in that.

Does that mean that there is a GemStorage concept lurking there or that you think that everything in the storage should be handled as a trie like structure?
I have the feeling that gems have specific requirements for storing them, basically because there will be cases where the gem name will be --1.gem (which happens to be at the beginning of the specs file, who would have thought that you can name your gem "dash char"?), there is also another one called "underscore char".
In a nutshell, I think that storing the gems is a concern in itself, and that we probably need to handle that separate from the general storage case.
That said, I still don't have enough information to make a decision about the implementation details for this, so I just don't know if all this complexity should live in the "resource" method, or if it should be extracted to some object that knows how to handle this.
Take a look at this gem names:
_-1.2.gem
--1.gem
0mq-0.5.3.gem
0xffffff-0.1.0.gem
10to1-crack-0.1.3.gem
1234567890_-1.1.gem
12_hour_time-0.0.4.gem
16watts-fluently-0.3.1.gem
189seg-0.0.1.gem
1_as_identity_function-1.0.1.gem
1pass-0.1.2.gem
21-day-challenge-countdown-0.1.2.gem
```

It all is full of corner cases like using "-" as a folder name.

I did a #26 to try it out... seems like pretty minimal footprint to make the Storage class protect against it in the general case... feel free to share thoughts here or in that PR :-)

- doesn't seem to be a real problem, at least on my linux laptop... I created the directory fine (though trying to change into it seems a bit harder)

Yeah, the - and the . directories will be interesting cases. Particularly the latter.


Add the user profile page to the website

Solves Issue #89
After signing-in the My Profile button will appear on the navigation bar to access the user's profile page
The profile page contains:

Basic user information (email, last login , date joined)
All the followed courses of the user (can click on a course to navigate)
The last reviews of the user(maximum 3) - similar to the implementation in our landing page

The follow course button on a specific course page is still disabled  - will enable in a separate small PR today

The Profile Page: (for the user - 'LeonTest')

looks really great!
I really liked the 'last login' and 'date joined' addition.
UX-wise I would have changed the font of the welcome title and the proportions of the user's details (takes a lot of the page IMO).

@oriAdler @VeraTs @ellaml
Thanks for your feedback guys,
Will fix everything tomorrow and then ask for re-CR :)

@LeonRabinovich please solve the conflicts

@LeonRabinovich please solve the conflicts

@kobihk
Solved


Is someone else having problem with setObjectCamera()?

Describe your bug here.

And yes, this happens to every single time i use setObjectCamera, and yes the object tag exists, it even checks if it actually exists before calling the function
Note this doesn't happens on 1.0 pre-release
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope that's Psych Engine 1.0

Psych Engine 1.0 changed the LUA Script API, so bunch of LUA scripts won't work.

Yes, but how do i fix this error? setObjectCamera() doesn't work anymore
Is there any other functions that do the same thing?
Or we'll have to wait for an hotfix update?

You and everyone will have to wait for the hotfix update, that maybe will come soon, idk

Had this bug too, the game says "hud" and "other" are invalid cameras

setObjectCamera doesn't work in version 1.0. Temporarily, you can use this:
setProperty('Object.camera', instanceArg('NameCamera'), false, true)
Use that until it's fixed.

setObjectCamera doesn't work in version 1.0. Temporarily, you can use this: setProperty('Object.camera', instanceArg('NameCamera'), false, true) Use that until it's fixed.

That works, thank you very much

Using this method i made this:
local actualSetObjectCamera = setObjectCamera

function setObjectCamera(object,camera)
	if stringStartsWith(version, '1.0') then
		if string.lower(camera) == "game" then camera = "camGame" end
		if string.lower(camera) == "camgame" then camera = "camGame" end

		if string.lower(camera) == "hud" then camera = "camHUD" end
		if string.lower(camera) == "camhud" then camera = "camHUD" end

		if string.lower(camera) == "other" then camera = "camOther" end
		if string.lower(camera) == "camother" then camera = "camOther" end

		if (camera == "camGame") or (camera == "camHUD") or (camera == "camOther") then
			setProperty(object..'.camera',instanceArg(camera),false,true)
		end
	else
		actualSetObjectCamera(object,camera)
	end
end

Which replaces setObjectCamera function with this method for v1.0

and with your code @LizSparkle i made this:
local actualSetObjectCamera = setObjectCamera function setObjectCamera(object,camera) if stringStartsWith(version, '1.0') then if string.lower(camera) == "game" then camera = "camGame" end if string.lower(camera) == "camgame" then camera = "camGame" end if string.lower(camera) == "hud" then camera = "camHUD" end if string.lower(camera) == "camhud" then camera = "camHUD" end if string.lower(camera) == "other" then camera = "camOther" end if string.lower(camera) == "camother" then camera = "camOther" end if (camera == "camGame") or (camera == "camHUD") or (camera == "camOther") then setProperty(object..'.camera',instanceArg(camera),false,true) end else actualSetObjectCamera(object,camera) end end
this is all your code in 1 line


fix: Pin werkzeug dependency to <1.0. Fixes #167, #161

Issue #, if available:
#167, #161
Description of changes:
Pin werkzeug dependency to <1.0 to fix flask crash on GET /
Also see PR#162. This PR has the changes requested by @cd17822
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@abaird986 needs a merge in aws-samples:python-cdk


Android application get stuck after switching between pages frequently

Is this a bug report?
yes
Have you read the Contributing Guidelines?
yes
Environment
Environment:
OS:  macOS Sierra 10.13.2
Node:  6.11.2
Yarn:  0.27.5
npm:  3.10.10
Watchman:  4.9.0
Android Studio:  3.0.1 AI-171.4443003
Packages: (wanted => installed)
"babel-core": "^6.25.0",
"react": "16.0.0-alpha.12",
"react-native": "^0.51.0",
"react-native-image-crop-picker": "^0.14.1",
"react-native-progress": "^3.3.0",
"react-native-splash-screen": "^2.1.0",
"react-native-tab-navigator": "^0.3.3",
"react-navigation": "^1.0.0-beta.11",
"react-redux": "^5.0.5",
"redux": "^3.7.1",
"redux-persist": "^4.8.2",
"redux-thunk": "^2.2.0",
"start": "^5.1.0"
Target Platform: android (5.1.1)
Steps to Reproduce
1.Navigate to the next page from first page by using react-navigation
2.Back to the first page
3.repeat many times(i don't known how many times, sometimes many times, somtimes a little less)
Expected Behavior
switch between pages normally
(Write what you thought would happen.)
The application get stuck. Touch the button in the page of the application, and it doesn't work, even touch the Physical back and menu button of the android。Touch the home button, it can back to the home page of the android.
The actual use of the scene is not these steps, this is the reproducible steps. User navigate to one page, and navigate to another, and navigate to many pages, and reset to the home page. Repeat this scene many times, and application get stuck.
Reproducible Demo
I try to write a very simple demo to reproduce this issue, but no success.
Thanks !

The application has embedded notification. When the message comes up, Modal is displayed, even if the application get stuck.And user touch the button in the Modal, it is ok.


Thumb issue (Thumbs seem dependent on centeredSlides)

Hi,
I've been experimenting with the swiper controller and I can't seem to get the thumbs to work in the intended behaviour without applying centeredSlides: true.
If you look at the demo link supplied, once you get to the 6th slide (either swiping or clicking the next arrow), the thumbs go back a slide. In addition, if you click the click the 6th slide in the thumbs, the other controller slides to the end.
Enabling centeredSlides seems to fix all of the issues above.
This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 4.2.2

Platform/Target and Browser Versions: macOS - CHROME.

Live Link or JSFiddle/Codepen or website with isssue: https://codepen.io/scaalees/pen/vRbPvY

In order to work correctly both of sliders must have same amounts of "snap points", so to make it work you need to add 3 empty slides to the bottom thumbs slider

Right, that doesn't really seem like a great solution and not what I'm looking for.
Related to this, is there anyway that you can make the thumbs static in movement, but still function with slideToClickedSlide. The example shows that you cannot click any of the thumbs due tono movement.
Is this also due to "snap points"?
Example: https://codepen.io/scaalees/pen/BrbxoQ

slideToClickedSlide will not of course work because there is no where to slide

Well there is still an issue with the slides not interacting with the thumbs. Surely the corresponding thumb should be active with the slide. Is there anyway of adding the interactivity between the two carousels?

This is how controller works, it depends on offset. If there is nowhere to slide then it won't work. To add interactiviry in this case, you to use callbacks on top slide to update "active" class on bottom slider, and add custom click handlers on bottom slider and call slideTo on top


bibcirculation: Change ILL/purchase e-mail

Changes the 'CFG_BIBCIRCULATION_ILLS_EMAIL' parameter from
<EMAIL_ADDRESS>to<EMAIL_ADDRESS>
Signed-off-by: Martin Vesper<EMAIL_ADDRESS>

@jirikuncar this can be happily merged upstream.

@mvesper can you rebase it against latest legacy?

Thanks, merged as 4ab19cab383f3bb08f30ede163b1cf85247e4ea9.


Add padding to .start so that .text is aligned to a multiple of 4 bytes.

I found that elf2tab was leaving out the padding between .start and .text. I think this is an elf2tab bug, but I'm not sure and regardless I want to be able to run libtock2 binaries without waiting for another elf2tab release. Therefore, I added the padding into the .start section directly via the linker script, which results in a correct TBF file.
This fixer #362

Can you share the elf2tab version used to get the results in #362 ?

I ask because I ran into a similar issue a while back while updating to the new libtock-rs linker script, where .rodata was not being placed where I expected it. https://github.com/tock/elf2tab/pull/35 fixed the issue (and I think should have fixed this one as well?). That change is included in elftab v0.8.0

I ask because I ran into a similar issue a while back while updating to the new libtock-rs linker script, where .rodata was not being placed where I expected it. tock/elf2tab#35 fixed the issue (and I think should have fixed this one as well?). That change is included in elftab v0.8.0

D'oh! I was on 0.6.0. I've confirmed that 0.8.0 fixes the issue, so here's a PR to update the elf2tab version: #364.
I think we should just use the latest elf2tab rather than working around old bugs, so I'm closing this PR.


Issue with Session and Global Parameters - Data Type = UTC Date Only

When creating new Parameter with Data Type Date, it hangs the app.
After refreshing/reloading, the parameter is there but in wrong format, example: 2023-10-03T08:45:45.813Z

We will check this out. Thanks for pointing it out.

This issue has been fixed in v1.0.13.  Let us know if you encounter any other issues.


Add json tags to registry interfaces

Done.

Thanks @asim

No prob. Sorry it took so long. Holidays you know ;)

Have a good time :+1:


Remove ProgressDialog as it's now deprecated

Let's remove ProgressDialog code from Anko as it's now deprecated
Anko Wiki for Progress Dialog: https://github.com/Kotlin/anko/wiki/Anko-Commons-–-Dialogs#progress-dialogs
ProgressDialog: https://developer.android.com/reference/android/app/ProgressDialog.html

I think removing it might be a harsh decision. I like @SUPERCILEX 's suggestion to mark it as deprecated.


chatfilter: add filter chat option to right click menu

Close #12845
Could also add right click option from chat box in the future.

The entity hider lets you hide ignored players now, so it seems like that might be a better solution than this?

The entity hider lets you hide ignored players now, so it seems like that might be a better solution than this?

But you still have to type their name no? This is more convenient imo.

If a player is chatting, you can right-click their chat message and ignore them from that menu.

If a player is chatting, you can right-click their chat message and ignore them from that menu.

Only works if your ignore list isn't full. I guess we could check if ignore list is full and add to the chat filter list using the same right click option.


conmon: 2.0.14 -> 2.0.15

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @zowoq

cc @vdemeester too :eyes:

Maybe we should add you as maintainer @zowoq ?

I've been thinking about making a podman (and related packages) maintainer team [1] rather than adding myself to each one.
Having a team might be useful as most of these packages are maintained by the same people?
[1] https://github.com/NixOS/nixpkgs/blob/master/maintainers/team-list.nix

I've been thinking about making a podman (and related packages) maintainer team [1] rather than adding myself to each one.
Having a team might be useful as most of these packages are maintained by the same people?
[1] https://github.com/NixOS/nixpkgs/blob/master/maintainers/team-list.nix

I agree, that's a great idea! This way we can strengthen the community


Facebook Messenger Ap not working with Fancyzones

Microsoft PowerToys version
0.76.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
Facebook Messenger app is not working with Fancyzones
https://github.com/microsoft/PowerToys/assets/153065808/de680543-9617-4ea0-b9f6-941027c37974
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

Rolled back to v0.74.1 and its working again, anything above this version does not work with Facebook Messenger App

Thank you for letting us know. The fix is already in progress, please try it on 0.76.1 when it's released. Thank you for understanding.
/dup https://github.com/microsoft/PowerToys/issues/30148


ElcomsoftCo.Ltd.AdvancedPDFPasswordRecovery version <IP_ADDRESS>89

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

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

Microsoft Reviewers: Open in CodeFlow

Automatic Validation failed with:

Manifest: The manifest file path must match PackageIdentifier and PackageVersion properties from manifest. actual
'manifests\e\ElcomsoftCo\Ltd\AdvancedPDFPasswordRecovery\<IP_ADDRESS>89', expected
'manifests\e\Elcomsoft\AdvancedPDFPasswordRecovery\<IP_ADDRESS>89'

The Co is missing from the path.

I really wish somebody with GIT desktop could save these pull requests for me.

I really wish somebody with GIT desktop could save these pull requests for me.

I've found how with the GitHub web client. From the website, press dot "." to open the editor. On the left pane there's a file tree - right click the parent folder and click "New Folder", give it a name, then drag and drop these files there. With your permission I'd be happy to assist with your PRs.


can not use '__static'

when i use 'let fileContents = fs.readFileSync(path.join(__static, '/Grgzpt.exe'), 'utf8')',it threw an error that '__static is not defined'

@lianshengxing
The __static variable is a very new feature from the last milestone release from just a few days ago. If your project still has a two package.json structure with the app folder, then your scaffold isn't update to date with the current version.

@SimulatedGREG
so what should i do to updata to the current veision

https://simulatedgreg.gitbooks.io/electron-vue/content/en/migration-guide.html
This is a good start, but isn't a full proof method. Depending on what you may have changed in your project, there could be other items to migrate manually.

@SimulatedGREG
excuse me,i i found two 'src' folders in the project, which one should i change

This happened because of a vue-cli issue where a cached version of the template merges with an updated version.  Make sure your vue-cli version is update to date with npm i -g vue-cli@latest.
Related: https://github.com/vuejs/vue-cli/pull/450, https://github.com/SimulatedGREG/electron-vue/issues/240
Items such as app, tasks, and config.js no longer exist. Make sure to reference the current template to check for the differences. https://github.com/SimulatedGREG/electron-vue/tree/master/template

i use the latest 'electron-vue' project, and when i use 'let fileContents = fs.readFileSync(path.join(__static, '/Grgzpt.exe'), 'utf8')' in the 'main/index.js',it threw an error that 'no such file or directory, open 'C:\Users\wzh-lian\Desktop\my-project\Userswzh-lianDesktopmy-projectstatic\Grgzpt.exe''

open 'C:\Users\wzh-lian\Desktop\my-project\Userswzh-lianDesktopmy-projectstatic\Grgzpt.exe''

Not sure what you changed, but this path that was created surely doesn't look right.

in the 'main/index.js' ,you give the code that 'if (process.env.NODE_ENV !== 'development') {
global.__static = path.join(__dirname, '/static')
}',and then i use 'console.log(__static)',when i executed the command that 'npm run dev',the output is 'Userswzh-lianDesktopmy-projectstatic', but when i use 'console.log()__dirname)', the output is 'src/main', could you explain about that

Related: #101
Fixed in: https://github.com/SimulatedGREG/electron-vue/commit/37075c80674927888f869710adfcb66ad15bfbe0
In short, win32 uses \ backslashes for file paths, but in JS Strings, these will be interpreted as escape delimiters.

@SimulatedGREG
thanks a lot for that,i have changed the project and it worked well.  and then i want to use the 'shell.openItem' to open the 'Grgzpt.exe' in the static folder,how should i write the path

Assuming Grgzpt.ext is in static/...
import { shell } from 'electron'
import path from 'path'

shell.openItem(path.join(__static, '/Grgzpt.exe'))

yes,it worked.but in the latest project,when i executed the command 'npm run build:win32',it threw an err that 'Error: EPERM: operation not permitted, symlink 'C:\Users\wzh-lian\Desktop\my-project\node_modules._7zip@0.0.6@7zip' -> 'C:\Users\wzh-lian\AppData\Local\Temp
electron-packager\win32-x64\test-win32-x64\resources\app\node_modules\7zip''

Error: EPERM: operation not permitted, symlink

Looking at the error you posted, it seem you are running into a permission error. Is your terminal running in Administrator mode?

You mean that I should run the cmd as Administrator?

Exactly that.

i just can not understand about that,and how to build the project

Are you able to build a blank project from a fresh and untouched vue init simulatedgreg/electron-vue my-project?

I uesd 'vue init simulatedgreg/electron-vue my-project' to create a new project ,and then I executed the command 'npm run build:win32',it threw the same error

Is this error related to the '7zip'?

@lianshengxing
It looks like 7zip might not have the proper permissions to complete the build step.
Unless your cmd isn't being ran as administrator, (which it should be running as administrator), I don't really know what to tell you about Error: EPERM: operation not permitted, symlink. Your system is throwing a permission error and restricting the build process from completing. I know for fact that the build process works on Windows, including ~300 users and AppVeyor CI servers. Another thing to make sure of is that your system has the proper build tools installed (https://simulatedgreg.gitbooks.io/electron-vue/content/en/getting_started.html#a-note-for-windows-users).
Other than fixing the __static bug that was discovered earlier in this thread, the rest of this thread does not pertain to an electron-vue issue. Please do not post error outputs without attempting to find solutions online, as not every issue or error log directly pertains to electron-vue.


Update to app dir

Hi all,
This pull request migrates the codebase to support the new app directory within Next.js v13. This new directory allows components to become server-side rendered and also tidies up some options.
In addition, it fixes the flicker bug that will show the dashboard (or any auth endpoint) for a split second.
The only thing not implemented with this directive are the header props, as it doesn't seem possible with the multi-shared layout. However I am open to any feedback/commits to it if anyone knows.
Thanks

@heychazza can you remove the yarn.lock (which we don't use ourselves).

@heychazza can you remove the yarn.lock (which we don't use ourselves).

Done! :)
I've also fixed the "flash" issue that happened in this template, where users could see the dashboard for a split second before the redirect kicks in.

Will wait for follow up on the header props.

@heychazza @taylorotwell  As far as I know it's not possible to pass props to layout components from the children with the new app router. Could we not just keep it simple and create a Header component?
const Header = ({ children }) => {
    return (

                {children}

    )
}

export default Header

Then use this component in each page, for example:
import Header from '@/components/Header'

const Dashboard = () => {
    return (
        <>

                    Dashboard

                                You're logged in!

        </>
    )
}

export default Dashboard

The layout.js component will also need to be updated:
'use client';

import Navigation from '@/components/Navigation';
import { useAuth } from '@/hooks/auth';

export default function AuthLayout({ children }) {
    const { user } = useAuth({ middleware: 'auth' })

    if (typeof user === "undefined") {
        return null;
    }

    return (

            <Navigation />
            {children}

    )
}

@heychazza @taylorotwell @ammar-madni  With the new implementation getting: Error: Request failed with status code 404 on login and register! how can that be solved ?

@heychazza @taylorotwell @ammar-madni  how can we allow users to visit certain pages based on roles? at the same time redirect users back to if they try to access restricted resource/page

@heychazza @taylorotwell @ammar-madni how can we allow users to visit certain pages based on roles? at the same time redirect users back to if they try to access restricted resource/page

I’d love to help, but this question isn’t relevant to the PR. You’d be best to ask in the Discord.

Any update on upgrading this repo to use Next 13 ? Thanks

Any update on upgrading this repo to use Next 13 ? Thanks

The repo is already Next v13, it’s just using the pages router instead. This PR changes to the app router

@driesvints when do you have time to handle this PR? Would love to see this merged.

@liamseys I don't review PRs or handle the breeze-next repo sorry. Taylor doesn't see draft PRs so if you need feedback or a review please mark this as ready.

@heychazza are you still working on this one?

@heychazza are you still working on this one?

Yes, just been busy - happy for you to P.R. if you wanted to finalise the headers

Using same auth hook with new nextjs 13 structure https://github.com/priteshloke/breeze-next-13

Why has this pr been closed? Any updates on whether this repo will be updated to use the app dir?

@Deniz073 I have used it in production using a app dir, works fine and also redirects well, just include a role column in your user table and make user of the middleware's to guide your redirection on each page load.

Hello everyone, if anyone has time, can you please take a look into this.
https://github.com/vipertecpro/nextjs-app-for-laravel-apis
I am using app Dir, i don't know if it is correct or not.


WIP (DAVIS to DVS)

It works.
But it is difficult to split  plotly_maker.h (.cpp) and array_core.h. (Linking problems. You can try it.) So, for now they use the same dvs namespace.
Working on it.

Ok. Let's merge your solution to main branch.


Simplify GCE app to Hello World

Add startup script for new GCE tutorial.

Please ignore the failing tests. They're running with a different branch.


SnowflakeOperatorAsync fails with % symbol

Describe the bug
SnowflakeOperatorAsync is throwing a parsing error
To Reproduce
Steps to reproduce the behavior:
Use the SnowflakeOperatorAsync
Create a query using the %b% logic
will throw
[2023-04-04T23:46:19.636+0000] {taskinstance.py:1902} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/astronomer/providers/snowflake/operators/snowflake.py", line 109, in execute
    hook.run(self.sql, autocommit=self.autocommit, parameters=self.parameters)  # type: ignore[arg-type]
  File "/usr/local/lib/python3.9/site-packages/astronomer/providers/snowflake/hooks/snowflake.py", line 71, in run
    cur.execute_async(sql_statement, parameters)
  File "/usr/local/lib/python3.9/site-packages/snowflake/connector/cursor.py", line 813, in execute_async
    return self.execute(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/snowflake/connector/cursor.py", line 680, in execute
    query = command % processed_params
ValueError: unsupported format character 'b' (0x62) at index 10952

Expected behavior
Query is parsed successfully
Desktop (please complete the following information):

OS: MacOS, Debian
Browser Chrome

Additional context
User has stated that this does not happen with their current custom operator that builds off of the airflow snowflakeoperator

Can i get an example query?

Fixed in https://github.com/astronomer/astronomer-providers/pull/962

User still saw this error in their task logs
[2023-04-21, 02:44:03 UTC] {standard_task_runner.py:100} ERROR - Failed to execute job 2082653 for task 01_TEST_PERCENTAGE_OPERATOR (unsupported format character 'b' (0x62) at index 34; 43)

here are the libraries
astronomer-providers                     1.15.3
apache-airflow-providers-snowflake       4.0.3
snowflake-connector-python               2.9.0
snowflake-sqlalchemy                     1.4.4

The issue is on snowflake-sqlalchemy side.
I have a another github issue for the same
https://github.com/snowflakedb/snowflake-sqlalchemy/issues/408
A workaround the customer can try while snowflake fixes the issue : replace the % sign with %%

I'm not sure this is a bug. It looks more like how snowflake should be used to me. It's just how snowflake escape special character. I also find similar behavior on C# according to the discussion.
Python itself also have similar behavior
In [1]: print("%q" % 5)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In [1], line 1
----> 1 print("%q" % 5)

ValueError: unsupported format character 'q' (0x71) at index 1

In [2]: print("%%q %s" % 5)
%q 5

A query containing the "%b%"  fails with ValueError: unsupported format character 'b' (0x71) at index 1 , using the snowflake-sqlalchemy library while it doesnt fail on the snowflake UI, hence IMO its a bug

I might be wrong and don't have the snowflake UI access to verify, but the description A query containing the "%b%" fails might lake a bit detail.
The following code works fine.
sql = "SELECT CASE WHEN NAME ILIKE '%b%' THEN 'a' ELSE 'b' END AS test FROM PROVIDERS_FIVETRAN_DEV.S3.FIVETRAN_ANKIT_TEST;"

conn.execute_query(sql)

It fails when we provide parameter. Are we able to do similar thing on the snowflake UI to verify as well?
sql = "SELECT CASE WHEN NAME ILIKE '%b%' THEN 'a' ELSE 'b' END AS test FROM PROVIDERS_FIVETRAN_DEV.S3.FIVETRAN_ANKIT_TEST;"

conn.execute_query(sql, {"test": "test"})

As we are deprecating providers, this might not be needed now. closing this


Cluster topology refresh: Failed connections are not closed

Connection failures due to Cannot connect: java.net.ConnectException: Connection refused: localhost/<IP_ADDRESS> lead to open connections and the ConnectionWatchdog tries to reconnect.

Fixed.


d3d12 validation warning

There is a warning reported when calling agsDriverExtensionsDX12_CreateDevice
D3D12 WARNING: ID3D12Device::CreateCommittedResource: Ignoring InitialState D3D12_RESOURCE_STATE_GENERIC_READ. Buffers are effectively created in state D3D12_RESOURCE_STATE_COMMON. [ STATE_CREATION WARNING #1328: CREATERESOURCE_STATE_IGNORED]

Thanks for reporting. I am not seeing this in my test samples. Does this still happen in an "empty" app that just creates the AGS device?
Would it be possible to provide a repro case please?

Hi, @gareththomasamd
This warning message is coming from the latest agility sdk, so it may not exist in your D3D12 runtime if you are not using latest agility sdk.
It's message id in d3d12sdklayers.h is D3D12_MESSAGE_ID_CREATERESOURCE_STATE_IGNORED = 1328.

Ok, repro'ed it. We'll look into it now. Thanks!


added resources for YT search article

@jamescalam I added comments. I haven't tried running the notebook. Could you also add a markdown version to /docs/examples with a link to the Colab notebook?


Automated cherry pick of #11101: fix(region): optimized server sku sku

Cherry pick of #11101 on release/3.7.
#11101: fix(region): optimized server sku sku

Codecov Report

Merging #11102 (1c19d1d) into release/3.7 (0ff3997) will decrease coverage by 0.41%.
The diff coverage is 1.11%.

@@               Coverage Diff               @@
##           release/3.7   #11102      +/-   ##
===============================================
- Coverage         5.98%    5.56%   -0.42%
===============================================
  Files              848      520     -328
  Lines           131795    90597   -41198
===============================================
- Hits              7887     5044    -2843
+ Misses          123206    85153   -38053
+ Partials           702      400     -302

Flag
Coverage Δ

aFlag
5.56% <1.11%> (-0.42%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/apis/const.go
0.00% <0.00%> (ø)

pkg/apis/input.go
0.00% <0.00%> (ø)

pkg/apis/list.go
0.00% <ø> (ø)

pkg/appsrv/appsrv.go
44.32% <0.00%> (-4.35%)
:arrow_down:

pkg/baremetal/tasks/baseprepare.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/bm_register.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/ipmiprobe.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/stop.go
0.00% <0.00%> (ø)

pkg/cloudcommon/cronman/cronman.go
49.44% <0.00%> (ø)

pkg/cloudcommon/notifyclient/events.go
0.00% <ø> (ø)

... and 477 more

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 c15375d...1c19d1d. Read the comment docs.


Deploy: image not changed during deploy from different branches

Test environement. Run deploy for branch 1 — image changed, deploy failed. Run deploy for branch 2 — image not changed, deploy failed.
Should be fixed by https://github.com/flant/werf/issues/1616.

Fixed.


[Feature Request] Can link support local file:///D:/test ?

If the link supports local file link, this tool can also be used for organizing concepts/mind storm, it will be great.
Thanks,

I think it's not possible due to security reasons.

it's not possible to start windows explorer, but it can display the linked folder in browser, for example:
My Test
it works in html.


Python 3.7 is end of life

Python 3.7 is no longer supported by the Python Core Team nor by any current version of Django.

https://devguide.python.org/versions
https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django

Now Python 3.8 is EOL and Python 3.13 needs to be added.

https://devguide.python.org/versions


Can't simulate keypress events in a full DOM render (mount)

Describe the bug
In my render, I included this: <input id="test" value="foo" />.
In my test, I wrote this:
expect(wrapper.find('#test').props().value).toBe('foo');
wrapper.find('#test').simulate('focus');
wrapper.find('#test').simulate('keyPress', {key: 'l'});
wrapper.find('#test').simulate('keyPress', {key: 'l'});
expect(wrapper.find('#test').props().value).toBe('foo');

Expected behavior
The test should fail, because the value should have changed.

This is explained in their docs. You can only simulate events with shallow https://github.com/airbnb/enzyme/blob/master/docs/future.md

@fterh simulate does not actually faithfully simulate anything; it's just sugar for invoking a prop function.


install crashes when given empty argument: ""

I was trying to do stuff with cargo via a script and it turned out that cargo can crashes when encountering "" as an arg:
RUST_BACKTRACE=1 cargo install ""

    Updating registry `https://github.com/rust-lang/crates.io-index`
thread 'main' panicked at 'byte index 2 is out of bounds of ``', libcore/str/mod.rs:2209:9
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:207
   3: std::panicking::default_hook
             at libstd/panicking.rs:223
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:402
   5: std::panicking::begin_panic_fmt
             at libstd/panicking.rs:349
   6: rust_begin_unwind
             at libstd/panicking.rs:325
   7: core::panicking::panic_fmt
             at libcore/panicking.rs:72
   8: core::str::slice_error_fail
             at libcore/str/mod.rs:0
   9: core::str::traits::<impl core::slice::SliceIndex<str> for core::ops::range::Range<usize>>::index::{{closure}}
  10: cargo::sources::registry::index::RegistryIndex::summaries
  11: cargo::sources::registry::index::RegistryIndex::query
  12: <cargo::sources::registry::RegistrySource<'cfg> as cargo::core::registry::Registry>::query
  13: cargo::core::registry::Registry::query_vec
  14: cargo::ops::cargo_install::install_one
  15: cargo::ops::cargo_install::install
  16: cargo::commands::install::exec
  17: cargo::cli::execute_subcommand
  18: cargo::cli::main
  19: cargo::main
  20: std::rt::lang_start::{{closure}}
  21: std::panicking::try::do_call
             at libstd/rt.rs:59
             at libstd/panicking.rs:306
  22: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:102
  23: std::rt::lang_start_internal
             at libstd/panicking.rs:285
             at libstd/panic.rs:361
             at libstd/rt.rs:58
  24: main
  25: __libc_start_main
  26: <unknown>

cargo 1.26.0-nightly (d6c3983fe 2018-03-16)
release: 1.26.0
commit-hash: d6c3983fe3bd8fa06b54712e53fb23645598188b
commit-date: 2018-03-16

latest git version also crashes.

Ah, the posix shell strikes again. The empty string is passed and the whole argument therefore not None. It crashes here when it tries to load the metadata and fs_name.len() is actually 0. The band-aid measure would be to just return an error from load_summaries() if the name of the package is zero-sized. Or does one need to go down into clap-world and make sure that empty arguments are treated the same way as non-existent arguments? I'd chose the first.

@lukaslueg I believe your analysis is correct! I don't feel that we should fix load_summaries: I think the code assumes that the name is valid. So, I would rather fix this on the clap side, and add an assertion at the place where the name is introduced, that it is not empty.
So, the fix for this would involve I think:

Assertion about empty name here (it wold be nice to check that it actually fires for empty argument)
Some clap option here to forbid empty values
a test :)


How to run neophyte in Windows and use WSL neovim?

Would it be possible to configure the neovim binary path to allow connecting to a wsl instance and use the neovim installed there?

The latest commit allows you to do this:
neophyte -- wsl $SHELL -lc "nvim"

Not sure what the exact command will need to be, but this is roughly what Neovide produces with the --wsl flag. Could you let me know how that works for you?

Did not work unfortunately:
thread 'main' panicked at src\main.rs:50:6:
Failed to start Neovim: Error { kind: NotFound, message: "program not found" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Might be related though due to my own setup, both the shell and neovim itself are installed via nix.

I tried
neophyte-windows.exe -- wsl -- nvim
I assume this should work, as "wsl -- nvim" will open nvim inside wsl.
However I get this error:
ERROR [neophyte::neovim::stdout_thread] Failed to parse an RPC message


Added forwading of native props

Added in the forwarding of native props to allow these elements to be wrapped by Touchable RN components.

Please accept this PR and add it to the npm release


Reorganizing the source repo

I could not get the exe: working... error during the build. Can you build it? @p3rsik

The exe: issue looks like it's a conflict between the same file as exe: or regular module. I've got to fix it upstream in Gerbil's std/make.


Add togglePaneZoom to schema, defaults, and sort action names

#6989 forgot to add togglePaneZoom to the schema, so this does that.
WHILE I'M HERE:

The action names in the schema and the actual source were both in random order, so I sorted them alphabetically.
I also added an unbound togglePaneZoom command to defaults.json, so users can use that command from the cmdpal w/o binding it manually.

What's the link to the master schema? There's a 1.1 and 1.2 schema but some values are considered "not allowed" such as alwaysOnTop and largePasteWarning.


Testdata intepreted as Step-Definition

Summary
We test an app with cucumber. Whe we test some text messages cucumber inteprets the message as method in our step definitions.

Example:
Given The value of the textfield is "the value is 3"
Then we have another method like:
Given The value is "3"
Now cucumber inteprets the first sentence and can't find the correct method because the string we like to test includes the syntax of another step definition.
Can we do something different to avoid this behaviour? The quotes aren't fixing the problem.
Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context & Motivation

Your Environment

Version used:
Operating System and version:
Link to your project:

@Corji Can you please provide information on which language, version, etc you are using? That might help us help you :)

Can you share what regular expressions (or cucumber expressions) you're using in your step definitions @Corji?

Please use the support forums for questions and discussions. We use GitHub issues to track bugs and contributions exclusively.


Subcomponent rerender

Hello,
just found yesterday this amazing library (i've been following your projects nx-observe and nx-framework for some time).
So i wanted to check it out.
Now i have a small problem. I have to components: "parent" and "child".
The state of parent component looks like this: this.state = { user: { name: "John Doe" } };
I render the child component with user as a prop <Child user={this.state.user} />.
While changing the name in the parent or child component everything is fine this.state.user.name = "foo";. But when i change the complete user object it will propagate it to the child component but wouldn't rerender it this.state.user = { name: "bar" };. The parent component will be rerendered - the child component wouldn't.
Is it possible to do something like this?

Everything should work just like with normal React. Could you answer these questions to find the issue quicker:

Are both of your components class components?
Do both of them have the @easyState decorator applied to them?
Which version of Easy State are you using? (you should go with 1.03 (latest) as it has a critical fix).

This is a case when I let React do its own stuff (schedule its own render.) You change the user prop's reference, passed to the child component. In this case React should rerender the child by default. It might be a problem with Easy State's shouldComponentUpdate implementation, which tries to minimize rerenders. (I fixed an issue with it in 1.0.3) Could you try adding
shouldComponentUpdate () {
  return true
}

to your child component?
Thx for the issue (:

Oh sorry, i discribed the problem a bit wrong.

parent.state.user.name = "foo"; updates parent and child comp
this.props.user.name = "baz"; will also update both components
parent.state.user = { name: "bar" }; updates parent and child comp as well

but:
when i update the name (1 or 2) after updating the whole user object (3), something is broken.
example:
// 1.)
parent.state.user.name = "foo" // "foo"
parent.state.user // Proxy {name: "foo"}
child.props.user // Proxy {name: "foo"}
// => parent and child displays "foo"

// 2.)
parent.state.user = { name: "baz" } // Object {name: "baz"}
parent.state.user //Proxy {name: "baz"}
child.props.user //Proxy {name: "baz"}
// => parent and child displays "baz"

// 3.)
parent.state.user.name = "john" // "john"
parent.state.user // Proxy {name: "john"}
child.props.user // Proxy {name: "john"}
// => parent displays "john", child still displays "baz"

// 4.)
child.props.name = "doe" // "doe"
parent.state.user // Proxy {name: "john"}
child.props.user // Proxy {name: "john"}
// => nothing happens. parent displays "john" child displays "baz"

I'm using version 1.0.3, both components are classes and uses @easyState decorator.
shouldComponentUpdate () {
  return true
}

didn't help

Thanks, that was enough to find it :+1:. Its an issue with Easy State's shouldComponentUpdate implementation. There are actually two issues here:

Easy State overrides user defined shouldComponentUpdate. Returning true from it would fix the issues, but Easy State overwrites your implementation so it won't even run. Prioritizing user defined shouldComponentUpdate will be a one liner fix.

Easy State's shouldComponent update only allows React to schedule it's own update on shallow prop changes, which is not enough. I will check it and make it a bit more forgiving in the afternoon.

Thx for the help and detailed response (; Going the ship the fix later today.

I fixed it and released v1.0.4. Change log is here: https://github.com/solkimicreb/react-easy-state/releases/tag/v1.0.4.
With this version the child comp should rerender and in case the parent comp only passes through the user and doesn't use the name it should not rerender on name changes (minimal rendering).
Let me know if it is still misbehaving on your side (:

Nice, the problem is fixed.
Thanks for the quick response.


[CWS] fix race with multiple client

What does this PR do?
It fix data race issues when having multiple ebpfless clients

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


GodotPhysics locks up on Rigidbody3D collision

Godot version
Godot_v4.0-beta1, may be in 3.5 too
System information
 Windows 10 64-bit, Intel CPU, Vulkan, Nvidia GTX 1060, GodotPhysics     Windows 10 64-bit, Intel CPU, Vulkan, Nvidia GTX 1060 / Nvidia MX 150 (two devices), GodotPhysics

Issue description
Filing this issue on behalf of a user who does not have a GitHub account.
Copy pasting the content sent by email, I did not assess if this issue is valid or if it has duplicates myself.

When the attached scene is run, once the two RigidBody3D objects collide the GodotEngine (game) stops responding and must be stopped from the editor.
Important note: The issue only appears to happen when the collision mesh is created using the mesh 'Create Single Convex Collision Sibling'. If the collision mesh is created using the other types of generation the engine appears to run normally. So it is not entirely clear if it is an edge-case issue is with the physics engine or an issue with the collision mesh generation.
Steps to reproduce
Import the attached scene into a new project and run the scene (the screenshots included are just examples showing the engine lockup). The scene was created the following way...

New project.
New scene, add a root 3D node.
Add a RigidBody3D node, add a child MeshInstance, set the mesh to the default new capsule mesh.
Use the 'Create Single Convex Collision Sibling' feature in the editor to create the collision mesh.
Set the gravity variable on the body to zero.
Duplicate the rigid body.
Place the two rigid bodies equal distance apart and set their linear velocity so they directly collide with each other.
Run the scene.

Minimal reproduction project
rigidbody3d_collision_lockup.zip

dupe/related to #48587 ?

I have a similar issue with meshes created via Mesh.CreateConvexShape. The engine was not quite frozen, but nearly. There was a new frame once every 30s or so.

I just found out that it works without issues if I set the second parameter (simplify) to true.

Duplicate of https://github.com/godotengine/godot/issues/48587 (same cause). This applies to the problem reported by @ChristianB84 as well.


Render labels and open / close state in the issue hover

Testing https://github.com/microsoft/vscode-internalbacklog/issues/947
Labels are very useful for me to quickly figure out what an issue is about. I would find it helpful if the labels would be rendered in the issue hover.
For example, https://github.com/Microsoft/vscode/issues/34162:

I find it difficult to tell if this issue is open or closed and if it is a bug or a feature request. Compare to the GH rendering, where a large emphasis is placed on open/closed state:

@alexdima I had labels shown after the issue body, but removed it because folks thought they weren't useful without the colors. Would you still find labels useful if they were missing the colors?

I would personally like to see labels.
I am not sure how the rendering was before, do you have a screenshot?

I don't have a screen shot, but the hover is limited to markdown, so I showed them below the issue body in italics.

For open/close state, we use the same icon that GitHub uses, albeit without the color:

vs

And, here is how I had labels before:

I will re-add them and you can see what you think.

Thank you for the screenshot. I see that it is almost impossible to get a good looking rendering using the current limited Markdown... We should also ask @jrieken for ideas... Maybe we can allow some subset of HTML ... ?


fix: workflow, not deployment, notifications

change the slack notifications from "deployment" to "workflow" or "merge" (even though that is kind of wrong as well). this follows changes made months ago to only kick off a remote deployment job from the repository main or release workflow runs, so it is confusing to see in slack "deployment failed" even though we are deploying or have already deployed the commit.

I don't think the tests have succeeded for a long time.

Feel free to merge this whoever gets to reviewing :)

@seymourisdead can we merge this?

yes!

Thanks for merging, I had forgotten about this. Texts look a bit better now in slack.


Format script not working properly

This has come up repeatedly for me but one example would be at commit 94f4a4e of #2096 . If, at that commit, I run the script check/format-incremental, it tells me No formatting needed on changed lines. Nevertheless, Travis tells me I do need formatting. Could this be my yapf version? I have yapf 0.16.2.

I should have thought to actually try updating my yapf. Now that I did, it seems to work.


Enable no-trailing-spaces rule and fix errors

For #5369. Add no-trailing-spaces ESLint rule.
Not much to say--ESLint now errors when there is trailing whitespace in any tracked file.

Move rule to the shared config, and update changes there (and bump when ready).  Also please merge in master.

Bump! Thanks

Awesome, thanks!


Add new warnings for anchor tags that could link to non-a11y content

Creates two new warnings to address:

A link to a PDF, Word, Excel, or PowerPoint document is present on the page.
A link to Youtube is present on the document.

I wasn't sure if this was suppose to have an "Error" code created as well so we can add that here if needed. We could also add more file extensions and/or site URLs to make this more full proof but this is a good start! 🚀

Types of changes

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

Description

Fixes #109

Added two new warnings to the /warnings/featured/_links.scss partial file to address the possibility that a link contains a href containing a url of some content site (Youtube, Spotify etc) or a file (.pdf, .docx, .xls, etc).
Added tests for the two new warnings to cypress folder

Link(s)

https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors
Screenshot(s)

Checklist:

[x] I have thoroughly read the CONTRIBUTING guidelines.
[x] I understand my pull request will be thoroughly reviewed at high detail.
[x] I understand the work in my pull request will only be available in the next version release of Checka11y.css and not in the current version release.
[x] I confirm the work in this pull request is valid according to my findings and is not something for anything personal.
[x] I have updated the README and/or features.md where and if applicable (still put an x if you have considered this but thought there was nothing to add or modify).
[x] I have added myself to the contributors section in package.json (still put an x if you have considered this but decided not to add yourself).
[x] I have checked I have not committed any accidental files.
[x] I have tested all the main modern browsers (I.e. Chrome, Firefox, Edge, Safari - please leave this unchecked if there were any browsers listed you could not test and list them in the help section with details why you couldn't test that browser)
[x] I have run the automated tests and added new ones to cover new code. (todo)
[x] All new and existing a11y checks still work correctly (compare your local test/index.html to the test/index.html in the master branch).

Thank you @jackdomleo7! Yeah, I thought the 2 separate feature codes would be best so I'm glad thats what you had in mind too. Ah, yes I forgot to do that in the first pass. I will add some screenshots to the PR description shortly for reference 📚

While I was grabbing the screenshots, I actually caught a small error in the test fixture tests/index.html. Will submit a fix shortly.


On Windows force Vulkan by default for now

I want to avoid that users need to set an env var in order to make things work.

Sure! Windows user can still force the regular behavior by setting the env var to an empty string.

Windows users can still force the regular behavior by setting the env var to an empty string.

Well spotted ;)


Class retrive error

Hello!
I'm trying to use SugarORM, in my code, but i had some issues when trying to retrive my data.
Sticking to your example with Book and Author, Author is a super class for me, i use Sugar like:
public class Book extends SugarRecord implements Serializable {
String name;
String ISBN;
String title;
String shortSummary;
// defining a relationship
Author author;
}
public class Author extends SugarRecord implements Serializable {
String dummy
}
public class CrimeAuthor extends extends Author {
String name;
}
public class StgAuthor extends extends Author {
String name;
}
...
When I create a new record, It stores a book with the specific Author (like CrimeAuthor), it creates a table for every type of author. But when I load my Books, the log says null for the Author. I need to load the records, to decide what kind of author should I cast my super class.
I'm looking forward your answer, even if it would be some rapid class from java. I'm kinda new at it.
Thanks in advance!

@vicktorious did you save Author before saving the Book?

I do!
I tried a bit harder and noticed, that i cant "cast upper" and save as a super class, so i wont be able to reach this entity as az Author. Now I am doing is, this:
public class Book extends SugarRecord implements Serializable {
String name;
String genre;
// defining a relationship
CrimeAuthor cAuthor;
StgAutho sAuthor;
...
public void Book(String name, String genre, Author author){
this.name = name;
this.genre = genre;
switch(genre){
case "crime": this.cAuthor = (CrimeAuthor) author;
case "stg": this.sAuthor = (StgAuthor) author;
}
}
}
I didnt have any smarter or brighter idea. :(

Sugar will create 3 tables (Author, CrimeAuthor and StgAuthor)
We can think in code one or more of this options (http://stackoverflow.com/a/3579462/2628278) in Sugar
feel free to send a PR for this


Custom keyboard view not working iOS

I am not sure what I am doing wrong but when I update the kbcomponent nothing changed. I cannot render my custom keyboard view. I followed the installation guide, dragging KeyboardTrackingView and RCTCustomInputController to the Library. I have everything in the demo: registering the keyboard, updating the state, passing it to the KeyboardAccessoryView. Can someone help me? The following is my code:
Custom Keyboard:
import React, { Component } from 'react';
import { FlatList } from 'react-native';
import { KeyboardRegistry } from 'react-native-keyboard-input';

class ImageSelector extends Component {
  render() {
    console.log("Rendered");
    return (
      <FlatList
        style={styles.flatListStyle}
      />
    );
  }
}

const styles = {
  flatListStyle: {
    height: 300,
    backgroundColor: 'purple'
  }
};

KeyboardRegistry.registerKeyboard('ImageSelector', () => ImageSelector);

Using the keyboard:
<KeyboardAccessoryView
  renderContent={this.keyboardAccessoryViewContent}
  onHeightChanged={this.props.onFocus}
  trackInteractive={true}
  kbInputRef={this.textInputRef}
  kbComponent={this.state.customKeyboard.component}
  kbInitialProps={this.state.customKeyboard.initialProps}
  onItemSelected={this.onKeyboardItemSelected}
  onKeyboardResigned={this.onKeyboardResigned}
  revealKeyboardInteractive
/>

You've closed this ticket, have you managed to fix it? If so, could you please share what was an issue? Thanks.


weights.csv, meanlength.csv and connectome.csv

Hi! I'm sorry to bothor you! I've run participant level and the get these three .csv .
I wonder the meaning of them, does weights.csv contains a fiber-weight matrix, which shape is n*n, n is the number of regions? However, it seems about 300M, which is too large for data, as the meanlength.csv is 7kb and connectome.csv is 522kb.
Actually, I wonder the difference between meanlength.csv and connectome.csv.
My instruction is:
python mrtrix3_connectome.py BIDS/sub-01/output/MRtrix3_connectome-preproc/ BIDS/sub-01/output participant -parcellation brainnetome246mni -atlas_path data/tvb_optimize_sc/ -output_verbosity 4 -force

weights.csv should contain one floating-point value per streamline. While it might look like 2D matrix data in a text editor if line-wrapping is enabled, it's actually just one long list. It can be quite large if the tractogram contains a large number of streamlines; that fact that it's encoded as text rather than binary data makes it larger again, but I've kept it that way for simplicity.
connectome.csv encodes within each edge the sum of streamline weights, which is a proportional estimate of the total intra-axonal cross-sectional area of the WM connections between those two endpoints. With use of the group analysis level, this becomes the Fibre Bundle Capacity (FBC) measure. See relevant description. meanlength.csv is instead simply the mean length in mm of each edge (actually a weighted mean, where the contribution of each individual streamline length to that mean is modulated by its weight as calculated by SIFT2).

weights.csv should contain one floating-point value per streamline. While it might look like 2D matrix data in a text editor if line-wrapping is enabled, it's actually just one long list. It can be quite large if the tractogram contains a large number of streamlines; that fact that it's encoded as text rather than binary data makes it larger again, but I've kept it that way for simplicity.
connectome.csv encodes within each edge the sum of streamline weights, which is a proportional estimate of the total intra-axonal cross-sectional area of the WM connections between those two endpoints. With use of the group analysis level, this becomes the Fibre Bundle Capacity (FBC) measure. See relevant description. meanlength.csv is instead simply the mean length in mm of each edge (actually a weighted mean, where the contribution of each individual streamline length to that mean is modulated by its weight as calculated by SIFT2).

Thanks for your reply!!!


silabs-multiprotocol (RCP) - When adding ZHA integration - Error: Cannot open file /usr/local/etc/zigbeed.conf

Hello,
I've built and flashed the Silicon Labs RCP Multi-PAN firmware to a ITead SONOFF Zigbee 3.0 USB Dongle Plus Model “ZBDongle-E”. After installing the dev addon "Silicon Labs Multiprotocol" and attempting to add a ZHA integration, the integration installation fails to complete and this error is in the log of the addon: Cannot open file /usr/local/etc/zigbeed.conf
This is attempted on RPI4 with HAOS 9.2. I also note that disabling OpenThread in the configuration doesn't disable it at all and the web interface is still available.
Log file entries from after attempting to add ZHA integration:
**Listening on port 9999 for connection...
Accepting connection.
Accepted connection 7.
Socket connection has been closed, restarting...
Restarting
Cannot open file /usr/local/etc/zigbeed.conf
By using this software, you are agreeing to the Silicon Labs MSLA found at https://www.silabs.com/about-us/legal/master-software-license-agreement.
[17:53:47:433] Info : Endpoint socket #12: Client disconnected. 1 connections
[17:53:48:439] Info : Client is using library v2
[17:53:48:444] Info : Endpoint socket #12: Client connected. 2 connections
Listening on port 9999 for connection...
Accepting connection.**

I have the same problem then adding ZHA to one addon that is up and running the OTBR OK.
I think its one timing problem then ZHA is setting up / forming the network.
If connecting one NCP / EZSP with USB or serial port and configuring ZHA its OK.
Then editing \config\.storage\core.config_entries and the record for ZHA and changing the local comport to the socker and restarting HA and ZHA is starting OK. Some time it can helping restarting the addon if ZHA is not starting OK and then reloading the ZHA integration from the integration card.


Make GridModel.store config optional, source store fields from columns

This removes a lot of boilerplate --so am sympathetic.
But it does seems to really discourage the use of type information or other information about store fields.
For example, if I wanted to provide a bit of metadata for some fields -- Label?  nulllable? defaultValue?
I have to specify all of the fields.  I am much less likely to do that, if I can be tempted by this auto-generate capability.
Could I suggest an alternative -- that if a field specified in a column is missing from the fields array of an auto-generated store,  then and only then do we populate it?  This I think is more along the theme of passing a proper partial for the store, which include whatever bits (including, say 'idProp') that are neccesary.

Good point - please take a look at latest and see if that's what you were thinking.  👍


Validation anomalies in xslt output

We have tested XHTML and epub transformation with this minimal docbook We have noticed some anomalies in the validation meanwhile the original docbook validates the schema :

The attribute summary of the alt tag does not validate workaround -> replaced by content (see PR)
The

 block in audio and video blocks is misplaced inside the   blocks, I have not been able to find a way to push it out of those blocks then I propose to change the type to   (see PR). It is a bad solution as the label is not shown but it enables validation.
The db-footnote="####" attribute of  tag does not validate It seems that replacing it with the following structure does not affect the function property="db-footnote" content="####" (see PR)

There is a dicrepancy in the transformation behavior if
 or
 tags are placed inside or between <para> blocks. Both positions are valid in the schema but the transformation provides a valid xhtml only if
 or
 are between 2 <para>. Would it be possible to modify either the schema or the xslt to fully accomodate one or both solutions.

Tables and figure are allowed in paragraphs as well as between them because the question of whether or not paragraphs can contain such things is an editorial one, not a technical one. You will find authors and editors who hold very strongly to the opinion that that this paragraph contains a table:
<para xml:id="p1">Consider the following table:
<informaltable>...</informaltable>
It very clearly shows that...</para>

They would argue that neither the paragraph nor the table can stand alone, the table is an intrinsic part of the content of the paragraph, and critically, if you were to select the paragraph p1 for reuse in another document, it must contain the table and the prose that follows it.
The fact that HTML will, by design, only validate this markup:

Consider the following table:

...

It very clearly shows that...

Is, some would argue, a design failing in HTML.
I am reluctant to attempt to transform paragraphs containing tables and figures into multiple paragraphs with interstitial figures and tables. While it's true that generating:

Consider the following table:

...

It very clearly shows...

means that the output won't validate against a prescriptive grammar for (X)HTML, it is equally true that the result matches the author's intent and if you had a system that allowed composition of the HTML, you'd want p1 to return the prose and the table.
I will investigate the possibility of adding an option to "unwrap" blocks in paragraphs, but the most straightforward answer is probably to author with a customization layer that doesn't allow block content in paragraphs. The customization layer is very simple:
default namespace db = "http://docbook.org/ns/docbook"

include "docbook.rnc" {
  db.para =
    element para {
      db.simpara.attlist, db.simpara.info, db.all.inlines*
    }
}

That's essentially why simpara exists.

I think these issues have all been addressed. Please let me know if you think I'm mistaken.


How to retrieve MeshMetaData?

I am using soundspaces 2.0 and trying to get a hold of the materialID that is being assigned to objects. According to my understanding, when we set: audio_sensor.setAudioMaterialsJSON("./data/mp3d_material_config.json"), our simulator loads the semantic scene via AudioSensor.cpp's loadSemanticMesh function.
I am trying to understand how to print out the meshmetadata of an object that I see via the audio sensor. According to the MeshMetaData struct, I should get the material ID printed out too?
I want to be able to access the materials of an object using soundspaces2.0's audio sensor - how should I go about this problem?

@aclegg3 Thoughts?


Phase 1 of Data Dashboard to Daily Data Migration: Add Yellow Banner alert to Data Dashboard page

Fixes #13759

Just to confirm, we want it to both be:

Undismissible
ONLY appear when navigating to the /data-dashboard page

If I had any opinion, is that we'd want it to be a dismissible banner that appears on Login in case some people don't navigate to /data-dashboard in time to see the banner, but OK with this implementation as well.


Update registry.md for auth config

I tried using the config plugins.cri.registry.configs."quay.io".auth in microk8s, but that didn't work for private registries. However, using plugins.cri.registry.configs.auth."https://quay.io" worked for me.
Found this here: https://stackoverflow.com/questions/56642311/microk8s-cannot-pull-from-private-registry
Signed-off-by: Joris De Winne<EMAIL_ADDRESS>

See also https://github.com/containerd/cri/pull/1362 for discussion.

@jdewinne the commit description line is limited by the validator to 80chars on one line.

/ok-to-test

@jdewinne "it-validation -q -run DCO,short-subject
335 6249179 - FAIL - commit subject exceeds 90 characters"
commits need to be signed and the description within 90 chars...

ping @jdewinne

@jdewinne ping..

@AkihiroSuda @mikebrow Thanks for reminding. Should be fixed now.