silly question: how do I use this?

hi all!
first off, excuse my ignorance as i'm fairly new to ML, but have been playing with TF and Keras for the past few days and am feeling fairly comfortable. (However, Jupyter is new to me).
i'm very interested in using this to train a robust CNN that I can continuously use to identify vehicles as well as keep training as new data comes in. but i'm having trouble finding the entry points into the code. I've followed readme directions and spun up my docker instance, but it just opens what's essentially a file explorer in my browser (i assume this is jupyter). I'm also not sure what "Chips" are so the other documentation doc is a little confusing.
I would appreciate any sort of info you can provide. Not looking to be handheld, but any direction you can push me in would be very helpful. e.g. how would i go about training the network? what about feeding it a picture to identify? This seems like a robust and well-maintained repo, so i'd love to understand it.
thanks!

the processing chain roughly looks like:

video -> frames -> chips (best try at putting a car in a rectangle) -> now you have chips of cars
(chip1, chip2) -> siamese network for comparison -> (same car, same color, same body style)

All my work was in Keras; I did a writeup about training the siamese model: blog post

The various docker files:
Dockerfile.images2vecs maps turns a directory of chips into a file of vectors
Dockerfile.notebook jupyter notebook environment were we figured out all the dependencies
Dockerfile.rankDirectories compare two directories of chips of vehicles

@d-grossman do you have an end-to-end example (or script) for this? i'm using stanford's car dataset (http://ai.stanford.edu/~jkrause/cars/car_dataset.html), but i'm having trouble generating my siamese model from the data.
also, after reading your articles/posts on siamese networks, it looks like we want to run our inputs into two separate but identical subnetworks, and then the common top layers; does this translate roughly to doing the I2V work first and generating separate models for each set of images, and then running the siamese and ranker processes?

I would run all your images+augmentations through resnet50 with the top cut off to get vectors.
you would then be able to just use the vectors to iterate on your siamese top design.
When you have your siamese top design performing to your expectations then you can do end to end refinement.
You can start refinement code with:
https://github.com/Lab41/pelops/blob/master/pelops/analysis/siamese.ipynb
#cut top off
base_model = ResNet50(weights='imagenet', include_top=False)
input_left = Input(shape=(299, 299, 3))
input_right = Input(shape=(299, 299, 3))
processed_left = base_model(input_left)
processed_right = base_model(input_right)

#subtract (keep it, or not), if you dont keep the subtract you have 2x the num of features.
distance = Lambda(euclidean_distance,
                  output_shape=eucl_dist_output_shape)([processed_left,
                                                        processed_right])

#add your layers

#...

model = Model([input_left, input_right], distance)

rms = RMSprop()
model.compile(loss=contrastive_loss, optimizer=rms)


[AutoPR eventgrid/resource-manager] Add x-ms-azure-resource for tracked resource in event grid

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2912

(message created by the CI based on PR content)

PR targets master, let's close it


Deposit address not generated

I've everything setup, deamons work,rabbitmq work, json work but there is no address shown in account.
I tried with multiple currencies and always the same problem
I added pics which shows everything
This is fresh install of Peatio 1.5.0
What can cause this problem ?

I fixed it, for everyone here. If you want this to work you need to put all user,pass,port info in currencies.yml before rake db:seed.
If you have already have done rake db:seed then you need to delete currency from db and run rake db:seed again

Hi, same problem.
I checked the table  currencies.  I guess the key is the value of json_rpc_endpoint.
like this:
"api_client":"BTC", "json_rpc_endpoint":"http://*****:************@<IP_ADDRESS>:18332"
But it seems right.... I use curl to getnewaddress and I got right response.
I deleted all from table currencies,  checked json_rpc_endpoint value in config/seed/currencies.yml ,  and run 'rake db:seed' , rows in table are all same as before, and the BTC address still be empty.


Add ChangeIP, Immomio, Immowelt, and Zotero

Add ChangeIP as hard
Add Immomio as easy
Add Immowelt as easy
Add Zotero as easy

Also remove some superfluous whitespace.

Thanks for your contribution!


An alternative for the regex variable TM_CURRENT_LINE

Hello, I'm creating a snippet and I noticed that the documentation has a variable called TM_CURRENT_LINE.
But for my need i'd need to match only the content of the line up until the cursor position,
so my request is if it would be possible to have either

a custom variable like CURRENT_LINE_BEFORE_CURSOR or

a reserved character able to match the cursor, which other regex syntax support

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Penmetsaa update 7.6.1

Sep 07, 2016: libphonenumber-7.6.1
Code changes:

Phonemetadata.java has two more fields to represent possible lengths of phone numbers. Changed BuildMetadataFromXml (and the resultant jar) to alter the way that metadata about possible-lengths information is consumed when constructing metadata to populate these.  Discussion list email: https://groups.google.com/forum/#!topic/libphonenumber-discuss/75TOpTFVi08

Metadata changes:

Updated phone metadata for region code(s):
AG, AM, AX, BY, CD, FI, IN, KR, MA, NA, NL, PK, SY
Updated short number metadata for region code(s): BR, GB, NL, NZ
New geocoding data for country calling code(s):
82 (pl, pt, ro, ru, sl, sr, uk, vi)
Updated carrier data for country calling code(s):
27 (en), 91 (en), 243 (en), 963 (en)

LGTM :)


Add jgroups to page

http://www.jgroups.org/

Are you interested in send PR?

Sorry, I do not understand? Please elaborate.


aarch64 install

May I ask how I can install this library to Ubuntu_ aarch64?

I don't have the resources to support/maintain binaries for linux-aarch64.
Either try to build from source or use conda-forge.
See also #24 and #4.

The v2024.1.1 release includes manylinux_aarch64 wheels.


feat: add rate limit throttling

Description
This PR fixes #524
Reopening the PR after it was reverted in #539 - See earlier discussion there.

After much deliberation and back-and-forth, I've decided to make this feature an external plugin.
The repo is located at https://github.com/IdoKendo/robyn_rate_limits and it's publish to PyPI under robyn-rate-limits.


Fix bug in Manager Application

Fix bug in Manager Application
Summary
Fix bug in Manager Application: changend inputs in send button component.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


libkbfs: fix deCache to update timestamps better, and store unlinked DirEntrys in the NodeCache

This PR does two somewhat related things that are needed for the rest of KBFS-2076:

It updates the parent mtime/ctime on creates and removes, and stores those changes in the deCache.  These changes need to be applied when looking up the directory in the future.  But we might not want to replace the entire DirEntry because our cached copy might not have a proper BlockPointer or other important data, so update carefully.
When a file is unlinked, there might still be a handle lying around for it in some application.  That handle still has a right to the node's DirEntry.  Previously we were storing it in the deCache, so a) it would only survive until the next SyncAll, even though the handle might live past that, and b) when processing directory adds, we might end up using the new DirEntry for an entry that was renamed over the one we had the handle for.  Instead, this stores the DirEntry alongside the Node object itself that's associated with the handle, so we can't lose track of it before the handle itself goes away.

Issue: KBFS-2076

Ok, this is ready to review.  I didn't end up changing it; instead I made #944 to fix the issues that this PR exposed.

Thanks for the responses strib! Looks good.


allow schema relaxation

closes #2337

A separate note, doesn't need to be addressed here. This file is getting pretty ugly (some places there are four levels of nesting), and it's not that complicated. There's probably ways to make the control flows simpler here.

I agree on this. I think a lot of ugliness is bcz of repeated parsing of source.Properties and taking action on its basis.
May be we need to add a local object called Ingestor which the connector can use. It needs to do following things :

parses the properties once and then we just use object fields.
The source reader and related functions can then be transferred to the Ingestor struct.
Some complexity like keeping track of append vs insert can be shifted there which should reduce these nested if-elses.
May be keep an interface for reader and use separate Readers for parquet vs csv vs json.

In the docs, read_csv_auto lists dtypes and columns separately. Are we sure that passing columns only is sufficient to disable the data type detection?

The description of column mentions column names and column types explicitly so it mostly should.


jcli: 0.0.42 -> 0.0.43

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/jenkins-cli/versions.
meta.description for jcli is: Jenkins CLI allows you to manage your Jenkins in an easy way
meta.homepage for jcli is: https://github.com/jenkins-zh/jenkins-cli
meta.changelog for jcli is: https://github.com/jenkins-zh/jenkins-cli/releases/tag/v0.0.43
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.0.43 with grep in /nix/store/x3465rff7j6v4r6kpys6wani79yamjjz-jcli-0.0.43
found 0.0.43 in filename of file in /nix/store/x3465rff7j6v4r6kpys6wani79yamjjz-jcli-0.0.43

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

jcli

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/x3465rff7j6v4r6kpys6wani79yamjjz-jcli-0.0.43 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/185aeeb44101fb4f2449d018ba5a173377e461d2#jcli

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

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

x86_64-linux

:white_check_mark: 1 package built:

jcli

Maintainer pings
cc @sikmir for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

0.0.44 is out

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366801

x86_64-darwin

:white_check_mark: 1 package built:

jcli


Update chefdk version 1.x dependencies

Description
Please update the dependencies (chefspec, ruby, etc..) for the 1.x line of the chefdk.  I'd love to update to Chef 13, but cannot because AWS Opsworks does not yet support it.
ChefDK Version
1.6.11
Platform Version
Linux / Mac

this is fairly unlikely to happen (and i'm the wrong to person to argue about it with -- if anyone has a support contract you should argue with business/product types who could affect these kinds of decisions -- i cannot).
the reason why its fairly unlikely is that updates like cookstyle and foodcritic change a lot and would require anyone updating to the next minor release of chefdk 1.x to fix all their cookbooks for 2+ years of development work, and those people would scream loudly.  we cannot just bump all the tooling in chefdk in a minor release without considering those kinds of effects -- and we would get screamed at by customers for 'forcing' them to fix all their cookbooks (i'd argue they could just pin to 1.6.11 and they wouldn't be forced to do anything, but i won't ever win that argument).
the solution here is that you can use chef-dk 2.x or 3.x to manage servers that still use chef 12.x just fine.  you can set your bootstrap_version for knife bootstrap and bootstrap servers on chef 12.x just fine with chef-dk 3.x.  you can also pin a version in .kitchen.yml, which you have to do anyway.  the only way that the embedded chef version really gets used to test cookbooks is with chefspec.  to solve that problem you can construct a Gemfile with a pinned chef + chefspec and bundle install and bundle exec rspec in order to run it.

Closing this out since DK 1.x is EOL at this point.


Attempted Small Vending Machine Refactor

About the PR
This PR is a small attempted cleanup of the vending machine component to possibly share better with a smart fridge component shortly after.
Main focus was trying to move everything over to using a system instead.
Additionally this adds 3 more wires to the control panels
Power - Powers the machine
Access - pulse to change access restriction
Advertisement - pulse to play advert, cut to stop them
Limiter - pulsing throws a random item out of the machine, cutting makes all items thrown out when dispensed
Screenshots

Changelog

:cl:

add: added more wires with different effects to vending machines

I didn't test your PR, but here is a list of most basic requirements for code convention. I highly recommend you to read this and this.

I definitely feel ashamed I didn't see this sooner, and thanks for still going out the way to actually point out the necessary changes. Will go through and try to fix up everything.

you still working on this?

you still working on this?

Haven't gotten too much time to work on it as of late unfortunately, much as I do want to see the features, If someone wants to take the issue up I seriously would say go ahead.

Actually... I got a weekend now, I'm going to implement all the changes that were suggested because it would be wasteful if not and hopefully get it up to a good state

Ok, I've updated with the suggested and have tried to implement the ECS methods closely.
Didn't mean to force push but I noticed there were changes to wires component and wanted to make sure they didn't affect my branch so I did a rebase.

Yeah, it's probably for the best, I'll remove the wire stuff for now and just have it as an ECS change (though eject random is now gonna throw items). I know that the machine wire component probably needs some love and I'm not the person to do it at the moment.

Ok, pretty much left everything about wires how it was previously and attempted to implement the changes listed. Found out about breakage event as well so was able to move that over.


Parse token error ignored

Currently, the parse token method (https://github.com/heptiolabs/gangway/blob/master/cmd/gangway/handlers.go#L190) which takes an id_token and processes swallows the returned error.
Need to look into how to properly handle this error and not ignore. For exampe, if you pass a token foo it won't return an error.

@stevesloka
i fixed cmd/gangway/handlers.go and TestParseToken in cmd/gangway/handlers_test.go
but make check failed to following message that has handled errors correctly
$ make check
go test -v ./...
=== RUN   TestConfigNotFound
--- PASS: TestConfigNotFound (0.00s)
=== RUN   TestEnvionmentOverrides
--- PASS: TestEnvionmentOverrides (0.00s)
=== RUN   TestGetRootPathPrefix
=== RUN   TestGetRootPathPrefix/specified_default
=== RUN   TestGetRootPathPrefix/not_specified
=== RUN   TestGetRootPathPrefix/specified
--- PASS: TestGetRootPathPrefix (0.00s)
    --- PASS: TestGetRootPathPrefix/specified_default (0.00s)
    --- PASS: TestGetRootPathPrefix/not_specified (0.00s)
    --- PASS: TestGetRootPathPrefix/specified (0.00s)
=== RUN   TestHomeHandler
--- PASS: TestHomeHandler (0.00s)
=== RUN   TestCallbackHandler
--- PASS: TestCallbackHandler (0.01s)
=== RUN   TestUnauthedCommandlineHandlerRedirect
time="2018-10-24T22:54:53+09:00" level=error msg="Failed to open CA file. open : no such file or directory"
--- PASS: TestUnauthedCommandlineHandlerRedirect (0.03s)
=== RUN   TestParseToken
--- FAIL: TestParseToken (0.00s)
	handlers_test.go:93: Fatal Error parsing token. Unexpected signing method
=== RUN   TestGenerateSessionKeys
--- PASS: TestGenerateSessionKeys (0.01s)
=== RUN   TestInitSessionStore
--- PASS: TestInitSessionStore (0.01s)
=== RUN   TestCleanupSession
--- PASS: TestCleanupSession (0.02s)
FAIL
FAIL	github.com/heptiolabs/gangway/cmd/gangway	0.107s
make: *** [test] Error 1

i focused the result of decoding Header of idToken in TestParseToken
alg is RS256, however the code expects to parse HMAC256(HS256) encoded JWT
code:
https://github.com/heptiolabs/gangway/blob/481502a833e571e064533ab2dada21ae590f4cca/cmd/gangway/handlers.go#L191
idToken in testcode:
https://github.com/heptiolabs/gangway/blob/481502a833e571e064533ab2dada21ae590f4cca/cmd/gangway/handlers_test.go#L89
decode base64:
$ echo eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9 | base64 -D
{"alg":"RS256","typ":"JWT"}

I wonder which "alg" I should choose.

@stevesloka I chached checking rules following ErrorChecking of https://godoc.org/github.com/dgrijalva/jwt-go#Parse


You should be able to add a className property to the Dropzone component

Good point, thanks for the input. That's now possible!


Can the screen be used after the installation of Mi 8? Is the screen driver perfect?

Is the screen driver perfect in MI8(dipper)?

@Lesliewxj Currently Windows on dipper is not supported at all

Okay, got it! thanks a lot.


drumstick: 1.1.0 -> 1.1.1

Semi-automatic update. These checks were done:

built on NixOS
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpsmf -h got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpsmf --help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpsmf help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpsmf -V and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpsmf -v and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpsmf --version and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpsmf -h and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpsmf --help and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpwrk -h got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpwrk --help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpwrk help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpwrk -V and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpwrk -v and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpwrk --version and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpwrk -h and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpwrk --help and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpove -h got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpove --help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpove help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpove -V and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpove -v and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpove --version and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpove -h and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpove --help and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpmid -h got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpmid --help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpmid -V and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpmid -v and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpmid --version and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpmid -h and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-dumpmid --help and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-playsmf -h got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-playsmf --help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-playsmf help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-playsmf -V and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-playsmf -v and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-playsmf --version and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-playsmf -h and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-playsmf --help and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo -h got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo --help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo -V and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo -v and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo --version and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo version and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo -h and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo --help and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-sysinfo help and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-metronome -h got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-metronome --help got 0 exit code
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-metronome -V and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-metronome -v and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-metronome --version and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-metronome -h and found version 1.1.1
ran /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1/bin/drumstick-metronome --help and found version 1.1.1
found 1.1.1 with grep in /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1
found 1.1.1 in filename of file in /nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1

cc @solson

@GrahamcOfBorg eval

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘drumstick-1.1.1’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/libraries/drumstick/default.nix:30 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/hj8ay7bmxbb475c8pa0gq6dzlzdazmm1-drumstick-1.1.1-dev
checking for references to /tmp/nix-build-drumstick-1.1.1.drv-0 in /nix/store/hj8ay7bmxbb475c8pa0gq6dzlzdazmm1-drumstick-1.1.1-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/5nia1c9nf3yyrjlpc967v7z47rj4zq99-drumstick-1.1.1-man
gzipping man pages under /nix/store/5nia1c9nf3yyrjlpc967v7z47rj4zq99-drumstick-1.1.1-man/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
/nix/store/38x7gw88p7nwk586p5s5synjz2x1nral-drumstick-1.1.1
patching script interpreter paths in /nix/store/5nia1c9nf3yyrjlpc967v7z47rj4zq99-drumstick-1.1.1-man
checking for references to /tmp/nix-build-drumstick-1.1.1.drv-0 in /nix/store/5nia1c9nf3yyrjlpc967v7z47rj4zq99-drumstick-1.1.1-man...
postPatchMkspecs

Success on aarch64-linux (full log)
Partial log (click to expand)
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/c0gfzbajq5x19gcqysb4nk9h0ak9c1ra-drumstick-1.1.1-dev
checking for references to /build in /nix/store/c0gfzbajq5x19gcqysb4nk9h0ak9c1ra-drumstick-1.1.1-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/prw3p33avx5iq5dyvya8zg546m94d9wy-drumstick-1.1.1-man
gzipping man pages under /nix/store/prw3p33avx5iq5dyvya8zg546m94d9wy-drumstick-1.1.1-man/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/prw3p33avx5iq5dyvya8zg546m94d9wy-drumstick-1.1.1-man
checking for references to /build in /nix/store/prw3p33avx5iq5dyvya8zg546m94d9wy-drumstick-1.1.1-man...
postPatchMkspecs
/nix/store/pffls3axf4lsxg5m4s5fsv5chxld7nil-drumstick-1.1.1


Notifications don't work on Ubuntu  22.04 lts

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
Hi and hello, happy new year to you. I downloaded and installed from your site (https://chatterino.com/linux), but I don't get a desktop notification when a channel goes live. Is there anything I can do?
Screenshots
No response
OS and Chatterino Version
2.5.1

We currently don't support desktop notifications on platforms other than Windows


Boot poet server with from specific commit hash

Overview / Motivation
the node should specify a poet server version to interact with when running automation tests.
The Task
specify poet version in automation config
Implementation Notes
TODO: Add links to relevant resources, specs, related issues, etc...
Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who have'nt introduced themselves on our Gitter dev channel

Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
Fork branch develop to your own repo and work in your repo
You must document all methods, enums and types with godoc comments
You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
When ready for code review, submit a PR from your repo back to branch develop
Attach relevant issue to PR

I think we have this already


Fix #736

Q
A

Bug fix?
[X ]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes #736

What's in this Pull Request?
Removes 'Add'-button in the placeholder when 'disabled' is set to true.

Thank you @Abderahman88 for the fix!


retriable: removed multiple hosts interface

Coverage: 82.602% (-0.08%) from 82.685% when pulling 7dc3c8f86fbe542fb330886129437d82838521af on dissoupov into ad45d3d757d1ed1008fb53f3af660328116ed331 on main.


#42 Expect messages from either source address 0x00 or 0x01

This changes the logic to not rely on just source address 0 for information.  We will use the highest value for the ignition cycles or OBD counts.  We will use the first monitors packet or ratios packet as the initial time.  We will re-try the requests for DM5, DM20, DM21 and DM26 until we get a response from either source address 0 or source address 1.  This will also fix #45, fix #47 and fix #42

fix #42

I am unsure of the etiquette re comments to this project, so if I am out of bounds posting here, please let me know.  With that said - the checkin comment "...until we get a response from either source address 0 or source address 1" leaves additional concerns.  Something along the lines of "until we get responses from SA 1 and SA 61" would be better represent the expectations for Detroit powertrain.
An over-all generic approach could also be to:

Issue a GLOB RQST for DM5 and generate a list of SAs which respond with control byte 0x14
Issue DS RQSTs to all those SAs for the DMx in question

@tgolub1 with the original design, we were addresss agnostic.  After our first round of testing, we discovered an issue with the engine not always responding to requests.  Thus we added logic to retry requests if the engine (SA 0) did not respond per the suggestion of our sponsors.  I changed the logic to 'always' expect a messages from SA0 or SA1.  (This only applies to DM5, DM20, DM21 and DM26.)
Earlier in the design, I recommended making all (or nearly all) requests DS to the OBD Modules.  I was instructed to not do that and make the requests global.  Doing DS requests would also speed up the process as we currently have to wait a preset time to any modules that may or may not respond.
We have another issue that hasn't been logged yet to change the order of operations to do as you have recommended (use the DM5 to make DS request to OBD Modules). If we implement that as suggested, then the logic to rely on SA0 or SA1 would be removed.
However at this time we need to talk with the sponsors to determine if such a change is really in scope or out of scope, given that we had specific instructions for our implementation.
At this time, if you'd like you can clone this project and with a JDK and Ant installed on a Windows machine try out the latest code to determine if it will work with DDC engines.

@gumbelmj Thanks for the clarification!  I would personally be in favor of your original DS RQST approach for DM messages.  Especially given that a lack of a response to a GLOB RQST really cannot be taken at a face value.  Please see the attached J1939-71 specification fragment:

As can be seen:

Devices will simply drop a GLOB RQST for non-supported DMs
Devices will / could simply drop a GLOB RQST for a supported DM if a TP-BAM session is already active (due to unrelated periodic Tx)
Devices will / could simply drop GLOB RQST for some specific DMs (eg. DM24, DM25, DM30, etc?) to conserve network bandwidth.  For at least these, diag tool must issue a DS RQST

@tgolub1 Thanks for the info.  We will continue to push for this. In the meantime, I logged the issue as #53 so we don't lose track of it.

@gumbelmj Using ant I can generate a collection of class files in the build directory.  Is there a specific manifest that should be used to combine these into a jar file?  (What is the actual entry point?)

@tgolub1 running the ant task "dist" should produce the executable and the installer.  They will be in the "dist" directory.  The ReadMe should have enough information to get started.  If it doesn't please let me know.


feat: show podcasting info in transactions

Description
Fixes #16
This adds boostagram tlv record info only. We don't show other info in the Hub, is it worth showing the other custom record information here?
Screenshots

Can we get rid of the seemingly duplicate "description" & "message" here? Or could they be different?

I think we should change this in the Hub, if the transaction already has the tlv records/boostagram, then it doesn't make sense to change the description of the transaction to the one fetched from tlv records right?
Similarly we do this during zap requests made in the rails app, we change the description to the content from the zap... (this is should also be changed I feel)


Updated documentation to recommend discoverRootDomain as default

If the tracker is implemented across various root domains, it feel like there should be an option to set the cookie domain dynamically, so that you can easily deploy the tracker across, eg:
www.mysite.com
blog.mysite.com
www.mysite.co.uk
application.mysite.co.uk
etc
Currently, we add this to the tracker tag:
function getDomain(url, subdomain) {
    subdomain = subdomain || false;
    url = url.replace(/(https?:\/\/)?(www.)?/i, '');

    if (!subdomain) {
        url = url.split('.');
        url = url.slice(url.length - 2).join('.');
    }

    if (url.indexOf('/') !== -1) {
        return url.split('/')[0];
    }

    return url;
};

var cookieDomain = (".").concat(getDomain(window.location.href));

and then:
(...)
cookieDomain: cookieDomain;
(...)

Maybe this should be the default?

This would reimplement discoverRootDomain: https://github.com/snowplow/snowplow/wiki/1-General-parameters-for-the-Javascript-tracker#2219-automatically-discover-and-set-the-root-domain
That said, it should still be recommended as the default option in our documentation.

Updated documentation in this wiki fork: mhadam/snowplow.wiki-fork@a963df2

the documentation? or the feature suggested by @dilyan?

Just the documentation...

yes, it's been included

Ace, thanks


[icon-ham] Removed references to +ham

launch jenkins icon-ham

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-ham-spack_info :green_circle:icon-ham-spack_spec

balfrin
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-ham-spack_info :green_circle:icon-ham-spack_spec

daint
:green_circle: unit testTest:green_circle:summary :green_circle: integration testTest:green_circle:icon-ham-spack_info :green_circle:icon-ham-spack_spec


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.9 to before v4.9.303",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e2ca90c276e1fc410d7cd3c1a4eee245ec902a20",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=711b6bf3fb052f0a6b5b3205d50e30c0c2980382"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "e2ca90c276e1fc410d7cd3c1a4eee245ec902a20",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "711b6bf3fb052f0a6b5b3205d50e30c0c2980382",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.9.303 by commit 711b6bf3fb052f0a6b5b3205d50e30c0c2980382, it was introduced in version v3.9 by commit e2ca90c276e1fc410d7cd3c1a4eee245ec902a20. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000290


Found a bug in file dict_util.go

in this func:
func (seg *Segmenter) Reader(reader *bufio.Reader, files ...string) error
those code lines:
if fsErr != nil {
if fsErr == io.EOF {
...
}
must put after :
...
seg.Dict.AddToken(token)
Otherwise,last line of dictory file will be missed.exclude the last line is empty.

and , change this line :
			continue
		}

and, change this line:
		if freq == 0.0  {
			continue
		}

to:
		if freq == 0.0 && fsErr != io.EOF {
			continue
		}

otherwise, will met dead loop, when dictory file is empty.


feat(JoshProviderError): add context property

I found while developing @joshdb/schema it would be useful to be able to add some extra context in the errors we create. For example, @sapphire/shapeshift throws an error when validating data which we catch and then return our own error. In this case it would be useful to provide the error thrown originally to the end-user.

Only thing, can we fix message here?

How do we want to fix it exactly?

I think maybe we ought to add a static format method or something like that.

@dan-online added a solution

Awesome, also codecov seems a bit mad, I assume just a test or two should fix it

Not sure why it's not uploading, but it doesn't really matter anyways @dan-online


Hi，are there some issues in the dataloader class of cifar?

Hi，are there some issues in the dataloader class of cifar? the details are shown in the following img:

In the red retangle, the "cls_num_list" is used while the "cls_id_list" is used in yellow oval?

Thanks for your attention.
The definition of many/medium/few shot in CIFAR-10 and CIFAR-100 is different. In CIFAR-10, it's defined according to class index (i.e., cls_id_list, as the simulated CIFAR-10 follows long-tailed distribution and class 0 is the head class), whereas in CIFAR-100, it's defined according to the number of images in each class (i.e., cls_num_list). This is a common setting and you can find it in many previous literature in long-tailed learning like Arxiv:2004.03706.


Update compliance-manager-assessments.md

Added Compliance manager assessors to the note as they have access to Build and manage assessment.

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/4474

@msbemba

The suggested edit isn't fully accurate per engineering. Will update this article in a separate PR to indicate that CM Assessors can also create and modify assessments.


Package Icon not rendered correctly

The Package icon 📦 is not rendered correctly.
I have tried several fixes but nothing works. This included installing the power fonts and trying out different font families.
In Firefox the icon is rendered just right, but in my gnome-shell it is like in the screen shot.
I am using Arch Linux with Gnome.
Does anyone knows what going on?

@der-Daniel please, check out What's the weird character in front of a section? in Troubleshooting page. I believe this should help.
Feel free to reopen, if you're still having trouble with this.

#400 finally solved it for me.


Python Example

Hi,
Do you have any similar example in python? I could find examples in python to send and receive data through dataframes, but not directly as mentioned in this example. Appreciate if you can provide one

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

ID: 4137b0cc-898b-b25c-6321-fe98f22f803d
Version Independent ID: 4ec1e187-7e69-e5da-b6dd-cb03b6db9366
Content: Tutorial: Stream data into Azure Databricks using Event Hubs
Content Source: articles/azure-databricks/databricks-stream-from-eventhubs.md
Service: azure-databricks
GitHub Login: @lenadroid
Microsoft Alias: alehall

@sandeep8530
Thanks for your feedback! We will investigate and update as appropriate.

@sandeep8530 You can find all the available python samples here :
https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub/samples
Hope this helps.

Thanks for your quick reply!
I see that we need to install few PYPI packages like azure-eventhub, which I am not able to install in databricks cluster.
Ended up in below error
"Could not find a version that satisfies the requirement azure-eventhub (from versions: )
No matching distribution found for azure-eventhub"
Does databricks have restrictions in installing libraries from PYPI? I could see the package in PYPI but why databricks is not able to find it.

@sandeep8530 In old versions of pip, the --pre flag is required. Please either add it or upgrade pip. Also, since the issue doesn't pertain to the doc, I will now proceed to close this.
If you are still blocked, I would recommend you to create a thread on the forums - MSDN/Stack Overflow.
Doing so would enhance the visibility of your issue in the community and therefore help in quicker resolution.


Proposal: WinUI 3 rust support

Rust is becoming increasingly popular. It already can drive DirectX 12 but only in full screen mode or via UI libraries that look like they are made by engineers for engineers.  Having WinUI3 support for rust would allow to build rust apps that look modern and polished and under the hood enjoy all the advantages of rust. That would make engineers and marketing happy, i.e. make this combination viable for commercial apps.

Language mappings seem to be already underway: https://github.com/microsoft/winrt-rs

winrt-rs is maybe able to achieve the connection, but an explicit winui3-rs crate that pulls in the necessary dependencies and has a working hello world will make it much much more accessible.

This is (likely) blocked by winrt-rs being stable.

@kennykerr as FYI

The Rust winrt crate provides the language projection and packaging support, comparable to C++/WinRT with its VS extension and NuGet support. All of that is provided by Rust/WinRT today. It's on my list to add some Xaml samples soon.
I'd love to hear what more folks are looking for. I can imagine this is more about providing support for the kinds of things that the Xaml compiler traditionally takes care of, but I may be wrong.

I would really love to see this happen too.
Rust is increasingly more popular for a reason. It's a really good language, and Microsoft has even said to be using rust for building some part of Windows.
Having an app framework built around rust would mean c++ level performance but with much better readable code and less memory bugs.

@kennykerr "I'd love to hear what else folks are looking for."
the main motivation was to be able to have professional-looking applications that are written as much natively in rust as possible. Somehow it seems that people that have great language design skills are not the same ones that have great artistic UI widget design skills. So a wrapper in rust for WIN UI 3 would bridge the divide. But the barrier to entry is high when there are libraries that should do the trick but have no example of actually doing so. Having a hello world example that ties the technologies together will get a lot more people to actually want to dive in and make their own derivations of it.  I personally would love an example of rust using WIN UI 3 and DirectX12 in a panel within the WIN UI app. I did not start working on it since it seemed hard when also only just starting to learn rust.

I've been looking forward to doing more GUI work in Rust. WinUI sounds like just the place to try it out

@kennykerr "Having a hello world example that ties the technologies together will get a lot more people to actually want to dive in and make their own derivations of it."

Hello world is enough to show the ui. An example todo app shows some simple interactions, and how the pieces fit together.
I remember the announcement about .Net MAUI, and I'm wondering how much of the underpinnings of that are in WinUI?

To me, the inspiration comes from a Rust GUI framework called vgtk.
https://bodil.lol/vgtk/
This framework's syntax is heavily inspired by React's jsx syntax for building declarative UI, and it's programming model is the nowadays popular MVU model.
To declare an app, you write
fn view(&self) -> VNode<Model> {
    gtk! {
        <Application::new_unwrap(None, ApplicationFlags::empty())>
            <Window border_width=20 on destroy=|_| Message::Exit>
                <HeaderBar title="inc!" show_close_button=true />
                <Box spacing=10 halign=Align::Center>
                    <Label label=self.counter.to_string() />
                    <Button label="inc!" image="add" always_show_image=true
                            on clicked=|_| Message::Inc />
                </Box>
            </Window>
        </Application>
    }
}

This is very close to jsx, but even more close to XAML which is perfect to use for WinUI. This syntax in rust is enabled by rust's procedural macros feature.

Something also of note is that, XAML requires 'partial class' support, right? So you can add controls to the UI elements. Does Rust support this? Could you imitate it with procedural macros?

Thanks for all the feedback! Keep it coming.
@suleyth - the Xaml API doesn't require partial classes. That's a feature of the C# language that the Xaml compiler makes use of. For C++ and now Rust we're exploring a completely different approach that is more natural to those languages. And yes, procedural macros are a great way to solve this in Rust. We use them extensively in winrt-rs.

Any update on this?

I can't speak for the WinUI team, but much of the support for Rust will come from the Rust/WinRT language projection (winrt-rs). In particular, I'm now working on adding support for defining and implementing COM and WinRT types in Rust. That's a major prerequisite for complete Xaml integration. Once that's ready, we can start looking at lighting up Xaml binding support more naturally in Rust.

We still have some way to go to support building your own Xaml controls in Rust, but you can already build basic Xaml apps and we are working furiously to get complete type system support in place.

Can you post example code for a basic xaml app ?

We still have some way to go to support building your own Xaml controls in Rust, but you can already build basic Xaml apps and we are working furiously to get complete type system support in place.

Can you post example code for a basic xaml app ?

@kennykerr I'd love to see how creating a WinUI app is right now. It might be clunky, but I'd still love to see how far I can take it so long as the way to do it is at least somewhat documented. Example code would be wonderful to have.

I expect furious work is needed first before Rust/WinRT versions of HelloXaml and Blocks ... samples can be posted alongside Ocr sample.

Xaml still requires more work to enable, but the Windows crate for Rust (formerly Rust/WinRT) already supports building DirectX and Windows.UI.Composition apps.
Here's a Direct2D example:

And a Windows.UI.Composition example:

More info here: https://github.com/microsoft/windows-rs

@kennykerr

Xaml still requires more work to enable

Is this something currently being worked on ?
, but the Windows crate for Rust (formerly Rust/WinRT) already supports building DirectX and Windows.UI.Composition apps.
How far can go with Composition apps in terms of accepting keyboard text input / list view display?

Translation in time of the cppwinrt samples like Ocr (done) and HelloXaml, Blocks etc. allows instructive one to one comparisons for those new to Rust.

In the early days of cppwinrt there was a step by step guide to Migrate C++/CX code to C++/WinRT. A guide to reorganize and rewrite a small C++/WinRT click event handler for the Windows Crate for Rust would be great when you get a chance. This would increase the motivation to learn Rust.

That'll work, but I use a screen reader and so Windows.UI.Composition isn't accessible. Is it possible to use the standard win32 controls but with WinRT and without the hastle of XAML?

The Win32/WinRT Desktop Bridge might help,
https://techcommunity.microsoft.com/t5/windows-dev-appconsult/desktop-bridge-8211-the-bridge-between-desktop-apps-and-the/ba-p/316488

I just implemented weak references in Rust (#718 and #745), a prerequisite for Xaml/WinUI support. More to come! 😉

Things are starting to work. :wink: https://github.com/microsoft/windows-rs/issues/81#issuecomment-848110943

Things are starting to work. 😉 microsoft/windows-rs#81 (comment)

IMHO this marks the start of a new era for Windows desktop application development. @kennykerr Microsoft is fortunate to have you. Thank you!

There are now CoreApp and XamlApp examples in the Windows repo. This is based on in-box Xaml within a packaged app, but it should also work for WinUI and desktop apps (I just don't have any such examples yet). Lots more work for me to do, but this is a pretty big step forward for folks interested in experimenting with Rust and UI on Windows.

Would a Xaml-compiler-as-a-service help?

I read elsewhere that winui is supposed to also be cross platform via the uno platform. Could rust take advantage of that so I could say build an application for both windows and android?

Sorry, I have no idea what that would entail. There have been some other requests for cross-platform support in the Windows crate, but at this point I'm squarely focused on completing Windows support.

@1Dragoon Uno platform is C# only (it doesn't have WinRT APIs, it mimics the WinRT API surface in C#), so no.

Has anybody at MS ever explored the idea of a Rust macro that could deserialize XAML directly into structs?

Well, seems like the idea of Rust support for WinUI3 died before it got even usable.
At least C# has great Rust interoperability...

I have succeeded to create WinUI 3 app with Fluent design. Here is the sample code.
https://github.com/sotanakamura/winui-rust.
Please run it by debugging in VS code with CodeLLBD.

I have succeeded to create WinUI 3 app with Fluent design. Here is the sample code. https://github.com/sotanakamura/winui-rust. Please run it by debugging in VS code with CodeLLBD.

I cloned your repo and ran rustup update. Then I hit the debug execute button is VS Code and it seemed to get and build everything needed, started to run but then crashed like this: https://i.imgur.com/S9d6rji.png
Kudos that it actually compiled and started to run out of the box. That's better than many other projects.
How do I figure out what's different in my setup that's preventing from executing successfully?
I'm on Win11 Pro and I got Bevy examples to run fine, so my rust installation in general seems to be operational.

I have no experience of Rust, so I can't help you. Someone here can help you.

Fun!

@IngmarBitter If it stopped at bootstrap api, you may be lack of bootstarp dll. Please cargo build to run the build script build.rs. It copies the dll to your application folder.

Swift is similar to Rust in terms of not having GC, being based on LLVM, and producing native binaries instead of intermediate code like C#.

Half the world is similar to Rust on those grounds of course
But sounds like interesting work

Any update on this?

The WinUI team does not seem interested in Rust support. winrt-rs dropped support for WinUI 3 too due the team frequently doing undocumented changes breaking the crate. I don't expect any movement on this in the foreseeable future.


Show download progress bar in image-captioning example

It takes quite a time. It's unfriendly if progress is not shown.

Jenkins, test this please.

Jenkins CI test (for commit 4554c5b67560de8391221c0612563e401dd9fe1c, target branch master) failed with status FAILURE.

Thanks, LGTM!


all: Rename let mutable to mut globally

After writing a couple thousand lines of Jakt, the main thing that
annoys me (other than compiler bugs) is definitely let mutable.
It takes up an inordinate amount of horizontal space, and I find
myself frequently "pausing" while my eyes search for the actual
identifier part of variable declarations.
To reduce this friction, this patch shortens let mutable to mut.
Likewise, mutable modifiers on function parameters become mut.

How about just using mutable instead of let mutable? I like that it's an actual word.

After using it for a few hours, I really enjoy how let and mut declarations align vertically.
But it's a living design, if we end up hating mut we'll change it again. :)

I find myself frequently "pausing" while my eyes search for the actual
identifier part of variable declarations.

I tend to agree. Keywords don't need to be that descriptive, since you know them by heart: there are only a handful and you have used them all the time. The longer the keywords are, the more they distract from the important stuff, the identifiers in the project. For example:
mut interrupts ...
mut file_system ...

mutable interrupts ...
mutable file_system ...

let mutable interrupts ...
let mutable file_system ...

I prefer the first.

Or with functions/methods:
pub fn wait_until_coredump_is_ready(this) ...

public function wait_until_coredump_is_ready(this) ...


Capture and export full packets

It would be very cool to be able to select to capture full packets incl. payload. If implemented it would be even cooler to be able to drill down in the details similar to Wireshark.
It also would be nice to be able to export captures in formats like .pcap so that they can be analysed with other tools. And possibly even have a way to forward captured packets live to other tools like Snort/Wireshark etc. This kind of functionality would centralised network analysis extremely powerful.

@lindhor It is possible to capture full packets, including payloads. When you create a capture from the Web UI, there is an "Advanced options" dropdown that allows you to specify the "Raw packets limit".
There is even a tiny button in the "Flows" panel that would directly open them with Wireshark.
Right now, only 10 captures can be captured, but that is not a technical limitation.

Thanks for the quick reply! That feature you describe is great, but was really well hidden ;-)
After I changed the Raw Packets Limit under Advanced, I found a button to download a capture next to the RawPacketsCaptured field shown after selecting a specific flow. I guess that's the button you mention? Is there some way to download the whole capture, not just for a single flow?
Unfortunately, in my setup nothing happens when pressing the download button and I see the following in the browser console (I see no errors in the server side log, the same is true for the two "chain" buttons next to ANodeTID and BNodeTID which I don't know what they are used for)
POST http://localhost:8082/api/topology 404 (Not Found)
$downloadRawPackets @ api.js:61
n @ vue.min-2.1.9.js:6
onClick @ flow-table.js:642
invoker @ vue.min-2.1.9.js:6
api.js:61 POST http://localhost:8082/api/topology 400 (Bad Request)
$downloadRawPackets @ api.js:61
n @ vue.min-2.1.9.js:6
xhr.onload @ api.js:16
XMLHttpRequest.send (async)
$downloadRawPackets @ api.js:61
n @ vue.min-2.1.9.js:6
onClick @ flow-table.js:642
invoker @ vue.min-2.1.9.js:6

Do you by any chance have any idea what could be the reason for this? Using curl -X POST -d '{"GremlinQuery":"G.V()"}'  http://localhost:8082/api/topology I do get data back.
I have tried Safari, Chrome and Firefox with the same results. Could it be something in my server setup causing this? My test environment uses Skydive 0.16.0 and run in Docker on CentOS 7.4. Or is there some other setting that could cause this behaviour?

Found the problem. I had firewall issues between agent and analyser that stopped flows being sent via udp. After fixing this I get the download button to work. Now I'm happy! VERY good feature!

@lindhor Glad it helped. By the way, you can use WebSocket instead of UDP by setting the flow.protocol configuration value to websocket.


Push Notification system to inform critical updates/ news

Description:
$subject

We can only implement a notifications system which may check the messages periodically since VS didn't have push notification support.


feat: New language selector

Is there any specs on how this will work? Will it be similar to https://github.com/sanity-io/document-internationalization/issues/28 ?
I tried running the branch locally but did not get the language selector to show up.

@vincentboiardt it will be more similar to the language filter plugin


Report download info as files get pulled into the retriever

Probably using something like node progress. This stuff won't be pushed to our centralized logger, but is just for cli output/warm feelings for the operator.

Though the centralized logger could know % downloaded if something fails during the download.


Add Avalanche configuration

Closed in favour of https://github.com/gnosis/safe-services-status/commit/eac388b828dd96b838937e66aba91783bb5d85a6


Show indicator for validation status

Connection with issue(s)
Closes #75
Solution description
Shows validation indicator on Validate button press.
Screenshots or Videos
https://user-images.githubusercontent.com/47249618/182874913-0110e807-aa1d-495e-90c6-fac86adf078a.mp4
To Do

[x] Read contributing guide
[x] Check the original issue to confirm it is fully satisfied
[x] Add solution description to help guide reviewers
[ ] Add unit test to verify new or fixed behaviour
[x] If apply, add documentation to code properties and package readme

For me is ok but we need simplify the example in the future to make more easy the understand

About snackbar? Yes now that I am thinking about it, I agree with you.
No problem, I'll remove the utility and call a normal snackbar instead

Its about all, not only the snackbar
Complex state managemet for example app, is overthink
But of course that isn't your fault or only of this PR, is from old code

I see, let's as add it to the roadmap 👍


Question: Overriding #to_h of command input class

In my app I have a form which only takes a YouTube url as input and transform that into a Video model. That transformation happens in the input object, which required me to override the #to_h method.
Is that the correct place to handle this? I kind of like this approach, but felt a bit weird overriding #to_h.
class Video
  include Virtus.value_object(coerce: false)

  values do
    attribute :id, Integer
    attribute :youtube_id, String
    attribute :title, String
    attribute :username, String
    attribute :published_at, DateTime
  end
end

class Video::Params
    attribute :url, String

    def youtube_id
      matches = YOUTUBE_REGEXP.match(url)
      matches ? matches[:yid] : ""
    end

    def to_h
      to_video_model.attributes.except(:id)
    end

    private

    # @return [Video]
    def to_video_model
      # Calls YouTube API and uses response to initialize Video model
      Video::FromYoutube.call(youtube_id)
    end
  end
end

ROM.commands(:videos) do
  define(:create_from_youtube, type: :create) do
    input Video::Params
    validator Video::Validator
    result :one
  end
end

Also had a question about this code:
https://github.com/rom-rb/rom/blob/f024a9bc2c088c02105825a4887631649ff63ac2/lib/rom/memory/commands.rb#L8-L10
Is the .[] a Virtus thing? Or some ruby-ism I don't know about?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8020667-question-overriding-to_h-of-command-input-class?utm_campaign=plugin&utm_content=tracker%2F155789&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F155789&utm_medium=issues&utm_source=github).

Params are designed to handle input sent from "the outside", if you need to build attributes based on params you need a separate object to do so (like your 'Video::FromYoutube). I see that in your case you construct attributes based on a url (that's your input) and then you pass in those attribute to the command. I would probably model it in a way where there's a form object with params having a url, validate that url and use it to build attributes for the command (there's no need to specify special command input class in this case IMO).
Something like that:
ROM.commands(:videos) do
  define(:create_from_youtube, type: :create) do
    # if you don't trust your FromYoutube you can specify params and validator handlers
    input Video::YoutubeParams # params that are constructed by FromYoutube
    validator Video::YoutParamsValidator # dedicated validator for those params

    result :one
  end
end

# then the VideoForm models the actual form which (as I understand it) sends a URL, which should be
# valid so that FromYoutube can work with it
class VideoForm < ROM::Model::Form
  inject_commands_for :videos

  input do
    set_model_name 'Video'

    attribute :url, String
  end

   validations do
     validate :url, presence: true # probably more is needed
  end

  def commit!
    attributes = FromYoutube.call(youtube_id)

    videos.try { |command| command.create_from_youtube(attributes) }
  end
end

This assumes FromYoutube.call always returns a valid set of attributes and crashes with an exception that is handled outside of the scope of the form (some http errors and such). You could of course handle it in the form but there's no conventional interface for such errors (not yet at least).
As a general design principle Form objects must model the actual web forms. I's only responsibility is to define structure of input, validation rules and send it to the command. If actual attributes are different from the original input (as in this case) then it's totally fine to map them to something else using an external dependency (like FromYoutube) and send to command, notice that command's input/validators would be different from the form's input/validation.
The .[] is not virtus', it is ROM's Model::Params interface as that's the interface commands depend on.
I think this use-case is a beautiful example how ROM pushes towards separation of concerns. It is probably harder to understand when we're so used to a single object (AR) that would handle ~90% of what's happening there. I believe it is only a matter of time to get used to this approach. We can come up with many conventional interfaces working on a high-level that are using small lower-level components (like Form already does) but once things get complicated you can easily break them down, re-use them in many places, test them separately etc. For me that's a huge benefit.
I already used Form in my app and it feels as simple as when using AR, so I think we're getting there with the ease of usage too.

Thanks for explaining that :)
If I understand it correctly there will be two validation steps:

Validate the form's inputs (url)

Validate the params passed to the command (the data returned by FromYoutube)

This what I now have in my VideoForm#commit!:
  def commit!
    videos.try { |command|
      # Run form validations, `#try` will catch the validation error
      input = self.class.params[params]
      self.class.validator.call(input)

      model = Video::FromYoutube.call(input.youtube_id)
      attrs = model.attributes.except(:id)
      command.create(attrs)
    }
  end

I have to call the validator inside commit! now,
because it's different from the one defined on the command.

 Form is built with the assumption that command will use input and validator handlers. Hmmm. I guess that's why I was reluctant to introducing form objects in general haha, it's assuming a lot. I need more time to think how to extend the interface so that we can model your use case better.
This is actually a pretty common thing to do - receive some input and map it to something that will be persisted. This means you need 2 validators, one for received input to make sure its structure matches requirements and another one for the actual attributes that will be send to the db.
I've got a hunch that we could have an abstract object for handling a generic scenario raw input => mapped input => validation => custom action and derive Form from it. This way you could derive your own class from it too and simply use form instance inside of it as an external dependency. Something like that maybe:
class CreateVideo < ROM::Model::SomeFancyAbstractInputValidationHandlerThingie
  inject_commands_for :videos

  uses :video_form

  def commit!
    videos.try { |command|
      command.create(video_form.attributes)
    }
  end

class VideoForm < ROM::Model::Form
   # all the stuff

  def attributes
    validate!(input)
  end

  private

  def input
    self.class.params[params]
  end

  def validate!(input)
    self.class.validator.call(input)
  end
end

Ah there's one detail I should mention: those fancy objects should also register commands so that you don't have to do it unless you don't want them to in cases where you re-use "raw" commands in other places. This will be added soon and should simplify the setup a lot.

I'll be making some improvements in Form interface so I'll try to address this one too and make it better for you :)

This is resolved as now you need to pass in already coerced input using Form#attributes interface to the command. This means you control when and how input is processed.


Port from deno to node

Change-type: minor

@balena-ci I self-certify!

@balena-ci I self-certify!


docutil should be locked at 0.12 to get successful build

When the documentation is build with docutil 0.13.1, the following error occurs:
# Sphinx version: 1.4.9
# Python version: 2.7.13 (CPython)
# Docutils version: 0.13.1 release
# Jinja2 version: 2.9.6
# Last messages:
#   writing output... [ 48%] php-http/documentation/lib/python2.7/site-packages/Jinja2-2.9.6.dist-info/DESCRIPTION
#   writing output... [ 50%] php-http/documentation/lib/python2.7/site-packages/MarkupSafe-1.0.dist-info/DESCRIPTION
#   writing output... [ 51%] php-http/documentation/lib/python2.7/site-packages/Pygments-2.2.0.dist-info/DESCRIPTION
#   writing output... [ 52%] php-http/documentation/lib/python2.7/site-packages/Sphinx-1.4.9.dist-info/DESCRIPTION
#   writing output... [ 54%] php-http/documentation/lib/python2.7/site-packages/alabaster-0.7.10.dist-info/DESCRIPTION
#   writing output... [ 55%] php-http/documentation/lib/python2.7/site-packages/appdirs-1.4.3.dist-info/DESCRIPTION
#   writing output... [ 56%] php-http/documentation/lib/python2.7/site-packages/docutils-0.13.1.dist-info/DESCRIPTION
#   writing output... [ 58%] php-http/documentation/lib/python2.7/site-packages/imagesize-0.7.1.dist-info/DESCRIPTION
#   writing output... [ 59%] php-http/documentation/lib/python2.7/site-packages/packaging-16.8.dist-info/DESCRIPTION
#   writing output... [ 61%] php-http/documentation/lib/python2.7/site-packages/pip-9.0.1.dist-info/DESCRIPTION
# Loaded extensions:
#   sphinxcontrib.spelling (unknown version) from /home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinxcontrib/spelling/__init__.pyc
#   alabaster (0.7.10) from /home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/alabaster/__init__.pyc
Traceback (most recent call last):
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinx/cmdline.py", line 244, in main
    app.build(opts.force_all, filenames)
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinx/application.py", line 297, in build
    self.builder.build_update()
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 251, in build_update
    'out of date' % len(to_build))
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 322, in build
    self.write(docnames, list(updated_docnames), method)
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 360, in write
    self._write_serial(sorted(docnames), warnings)
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 368, in _write_serial
    self.write_doc(docname, doctree)
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinx/builders/html.py", line 448, in write_doc
    self.docwriter.write(doctree, destination)
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/docutils/writers/__init__.py", line 80, in write
    self.translate()
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/sphinx/writers/html.py", line 47, in translate
    self.document.walkabout(visitor)
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/docutils/nodes.py", line 187, in walkabout
    visitor.dispatch_departure(self)
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/docutils/nodes.py", line 1895, in dispatch_departure
    return method(node)
  File "/home/fabien/Projets/php-http/documentation/php-http/documentation/lib/python2.7/site-packages/docutils/writers/_html_base.py", line 671, in depart_document
    assert not self.context, 'len(context) = %s' % len(self.context)
AssertionError: len(context) = 3

According to https://github.com/sphinx-doc/sphinx/issues/3212, locking docutil to 0.12 fixes the issue.

it works, so fine for me. its the doc so we don't care about re-usability or generality of the build process.
thanks for digging this up!


Enriching datacube STAC items with more array metadata

Hello, I am interested in expanding the datacube STAC extension to support more multidimensional array metadata for assets, particularly array metadata found in NetCDF, HDF5, and GRIB2 files. I think I'm caught up on the great discussions of the past:

https://github.com/radiantearth/stac-spec/issues/366
https://github.com/radiantearth/stac-spec/discussions/1222

And the STAC catalog items that I've been working with are all hosted on Microsoft's Planetary Computer platform, specifically:

NEX-GDDP-CMIP6
Daymet
HRRR

For context, my goal is to be one day be able to do something like this with Xarray:
>>> import xarray as xr
>>> items = stac_catalog.search(...)
>>> vds = xr.open_mfdataset(items, engine="stac") # This call should do no I/O!
>>> vds
<xarray.Dataset> Size: 1GB
Dimensions:  (lat: 600, lon: 1440, time: 360)
Coordinates:
  * lat      (lat) float64 5kB -59.88 -59.62 -59.38 -59.12 ... 89.38 89.62 89.88
  * lon      (lon) float64 12kB 0.125 0.375 0.625 0.875 ... 359.4 359.6 359.9
  * time     (time) float64 3kB 3.6e+04 3.6e+04 3.6e+04 ... 3.636e+04 3.636e+04
Data variables:
    pr       (time, lat, lon) float32 1GB ManifestArray<shape=(360, 600, 1440...
>>> vds.variable.sum() # Here the IO runs
42.0

In that example, assume that STAC items returned in the search contain assets which are the files themselves. I don't want to actually read the asset, I want the STAC item to contain enough information to create a manipulable dataset that Xarray understands. Reading comes after searching, merging, filtering, and projecting away the variables I'm not interested in.

This proposal is heavily based on ZarrV3 though I believe any multidimensional array handling system will care to know the same information.
I propose the following additional properties on only cube:variables:

Field Name
Type
Description

data_type
string
numpy parseable datatype

chunk_shape
[number]
The size of a chunk by element count

fill_value
number|string|null
Needed to handle sparse arrays

(optional) dimensions
[string]
The subset of cube:dimensions that index this variable. If not set, all dimensions index this variable. This may happen with single GRIB2 files that contain multiple datacubes.

codecs
[object]
An ordered list of codec configurations

A new property that applies to either cube:variables or cube:dimensions:

Field Name
Type
Description

attrs
object
Lifted key-value attributes from the original source file.

In the previous discussion on this topic https://github.com/stac-extensions/datacube/issues/8 , a suggestion was made to use the files extension to store chunk metadata, but I don't think that extension is appropriate for this purpose. Similarly, I don't think the Bands RFC https://github.com/radiantearth/stac-spec/pull/1254 addresses this problem, it is solving something entirely different.
CC @TomAugspurger we can handle chunk manifests later, they are ultimately just assets. Similarly, coordinate transforms are separate and probably better to wait for GeoZarr to standardize.
I'd like to know your thoughts on this proposal, or if perhaps this something worth putting into a hypothetical Zarr extension instead. IMO, I think the only thing that is very Zarr specific is the codecs property, everything else is very mappable with the underlying source files (even then, the files themselves define codecs too though they may not call them that).

Thanks. Having the all the information needed to construct a Dataset from a STAC item / list of items would be great.
Some comments on the proposed fields:

The raster extension defines a list of dtypes at https://github.com/stac-extensions/raster?tab=readme-ov-file#data-types. In general, the STAC metadata should probably match values used in STAC extensions. And then particular applications (like this xarray STAC engine) can map from the STAC names to the names it needs (NumPy dtypes)
For chunk_shape, there is a proposed ZEP for variable chunking: https://zarr.dev/zeps/draft/ZEP0003.html. Instead of a list[int] with a length equal to the number of dimensions, you give a list[list[int]], where the number of inner lists matches the number of dimensions, and the length of each inner list is the number of chunks. IMO a list[number] is fine and we can generalize stuff if/when that ZEP is accepted.
For the "optional" part of dimensions, do you have a recommendation for how to interpret dimensions being None? Does that mean all the dims in cube:dimensions apply?


Blog post on CDC-based cache invalidation

@jpechane, feedback welcome!
The demo code PR is at https://github.com/debezium/debezium-examples/pull/46
Still planning to look into two things:

Replacing Caffeine with Infinispan (Done)
Adding an image of the architecture

Pushed some commits to update a few things after review feedback.


Add list view/table component

Design guidelines: https://learn.microsoft.com/en-us/windows/win32/uxguide/ctrl-list-views

Hello, Wondering if this table view was added already or there is PR for it... Thanks and regards

Hi, nope, this feature request is still open and untouched.

When it will be released?

Hi @khang-nd
I have taken your css and I have made a table which show a data

Hi @k-usama1495, that looks good, however, I don't think what you have there resembles the actual design close enough.

@khang-nd @lfuelling thanks


Escape button functionality

If a command is run, say onetime time finish, a list of time entries is shown, but if the user does not want to go further with the command, the command line window has to be closed. Escape key should work here ie. to abort the current command.

this is now implemented:
v1.2.0

Well, I had to undo this given, on Windows, capturing keypress globally causes the inquirer to get stuck.
We need to find better solution and thoroughly test it on mac/windows.


Link to "All Articles" is hardcoded

Changing the content folder's layout to something other than default doesn't adjust the index.html template, causing broken link for hugo sites diverging from default. It's not a big deal, but it definitely surprised me. Extra docs or a new parameter can fix this easily.
Reproduction
Change the content folder to /post or other "non-standard" folder
My (local) site has the following:
[[menu.main]]
name = "All posts"
url = "/post"
weight = 2

Expected behaviour
Homepage link "All Posts" points to the new folder /post
Actual behaviour
Broken link pointing to /posts/ when clicking the "All Posts" link of the home page.
Root cause
The index.html template has /posts/ hardcoded.
https://github.com/vividvilla/ezhil/blob/0e06bb53c586e19dec2aa0dc8ade0579a70526a3/layouts/index.html#L36
Suggested fix
Extra documentation? Adding a parameter?

Thanks for reporting, this should ideally come from config file, will fix it in next update.

Introduced pagination to recent posts list and we use params.mainSections to filter contents to display on home page instead of params.excludeTypes. You can check the commit here


[request] Small Fab

Hello, would it be possible for you to add an option to make the Fab small? I'd like it to be as small as high is the bar with buttons :)

Hi @PawelPleskaczynski Thanks for the suggestion, you can actually archive this yourself, just put the height or extend the class and set your own size :)

Thank you :)

@PawelPleskaczynski but were you able to archive what you wanted?

I haven't tried it yet

@PawelPleskaczynski but were you able to archive what you wanted?

Ok I'm closing this issue, you're always welcome to leave feedback here once you do, if you can't I'll try to help you out and reopen this issue 👍


Measure performance for writing different parquet types

Currently all columns use plain encoding to write parquet out but there are performance hits on certain types, CPU measures and times need to be recorded for each column write.
@aloneguid to put a richer description of needs here

In Parquet-cpp development I saw a clear advantage of dictionary encoding. It was not much more CPU time but the compression rates on most data did speed up things a lot as it reduced I/O significantly.

You might also take a look at my blog post https://tech.blue-yonder.com/efficient-dataframe-storage-with-apache-parquet/ where I did some comparisons of the compression algorithms of Parquet, note that they are all based on dictionary encoded columns, plain encoded columns always were larger and only in the case of uncompressed files were they faster to read/write.

Thanks @xhochy this is really useful so you would suggest dictionary or run-length encoding for high incidence of repetitions?

Yes, I would suggest that. In parquet-cpp (and the same is possibly also true for parquet-mr), we use dictionary encoding (which also then applies hybrid-bitpacking-runlength-enconding on the indices) by default and only revert back to plain encoding if the dictionary gets larger than a certain threshold of values.

will be part of #171


Error running pairwise-distance.sh from inside docker (pairwise-distance.cwl)

I get the error below when running pairwise-distance.cwl:
/home/ubuntu/Screw/bin/pairwise-distance.sh: line 19: GSM2324500_CMP_1_D2_13_R1.txt.scwgbs.meth.sym.tojoin: Read-only file system

The problem is the script changes directory to $indir, which is mounted as readonly
The docker command:
[job distanceMatrix] /Users/jon/work/bio/hackseq-2017/hack/Farlik_2016_Example/docker_tmp/tmpfj4czwrq$ docker \
    run \
    -i \
    ...
    --volume=/Users/jon/work/bio/hackseq-2017/hack/Farlik_2016_Example/subset2:/private/var/lib/cwl/stg3e0b2100-42c0-4eaf-8b1f-bb90059393dd/subset2:ro \
    ...
    pairwise-distance.sh \
    -i \
    /private/var/lib/cwl/stg3e0b2100-42c0-4eaf-8b1f-bb90059393dd/subset2 > /Users/jon/work/bio/hackseq-2017/hack/Farlik_2016_Example/docker_tmp/tmpfj4czwrq/pairwise-euc.txt

In pairwise-distance.sh:
cd ${indir};
...
for i in *.sym; do
    awk '{print $1 ":" $2 "\t" $5}' ${i} | sort -k 1b,1 > ${i}.tojoin;
    ...
done;
...

Yes, it should be sending the output to $outdir, not attempting to write to $indir. @jjonphl would you be willing to work on this? It would be a pretty good CWL practice exercise.
You should also check that clustering.cwl still works after that.

Yes will do. I have the fix already, still need to test with clustering.cwl. I'm testing it on Farlik_2016_Example, but it's failing on pairwise-euc-heatmap.cwl. I think heatmap.txt there needs to be updated (some files are not in the mapping).

Great! I'm not 100% sure clustering.cwl actually currently works -- I'm still fiddling with getting it to work correctly with the scatter/gather functionality.


Minor broken link in README

Steps to reproduce

Go to https://github.com/googleapis/google-api-php-client/ or open up the README file
Click or open the link in "Follow the instructions to Create a Service Account"
See that it does not take you to the intended location

Good catch @coderintherye, really appreciate the call out. We recently changed up our documentation site (it is currently hosted here, on GitHub). We'll get this fixed shortly.

thanks for fixing it so fast @dwsupplee !


Update for the scrypt API

Hi Tony,
Would you object if I sent a pull request that exposes the equivalent of crypto_pwhash_scryptsalsa208sha256_str() and crypto_pwhash_scryptsalsa208sha256_str_verify()?
(And then replicate the effort for simply crypto_pwhash_str() and crypto_pwhash_str_verify().)

Please do!

Yes, this is fine :+1:

I believe this was addressed in #144?

Yep.


Improve readability of README.md

Fixed some language issues like metadata is one word. And "suggest you" is poor English so "suggest ... to you"
Fixed up links to be local absolute paths and point license badge to license section.

And Github is GitHub officially


I want to use this

Hi I want to use this editor.
The first issue I have is that the fonts do not work on my install.
Maybe I could get svgs to deliver the icons. This would reduce the dependency on font awsome
What do you think?
Do you want me to dig into the code and do that change?

Are you importing the right js file for font-awesome in the html markup mounting your react component?

I got it to work easily with the sample project.
When I wanted to use the editor in my project it did not work.
I'll have a look later and now that I know the project a bit better I'll
try to fix it.
Am Donnerstag, 3. November 2016 schrieb Jeremy Dagorn :

Are you importing the right js file for font-awesome in the html markup
mounting your react component?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jrm2k6/react-markdown-editor/issues/33#issuecomment-258195922,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEAaUJwhZIz2HXoK0Ga054a3Y8HsHZRvks5q6gvLgaJpZM4KoN1v
.


Feature/gh9 add joinUsing

Codecov Report

Merging #16 (266e250) into develop (c454745) will increase coverage by 0.02%.
The diff coverage is 96.21%.

@@              Coverage Diff              @@
##             develop      #16      +/-   ##
=============================================
+ Coverage      96.62%   96.64%   +0.02%
- Complexity       291      292       +1
=============================================
  Files             11       11
  Lines            740      746       +6
=============================================
+ Hits             715      721       +6
  Misses            25       25

Impacted Files
Coverage Δ

src/QueryBuilder/Transaction.php
100.00% <ø> (ø)

src/QueryBuilder/WPDBAdapter.php
94.80% <93.54%> (-0.03%)
:arrow_down:

src/QueryBuilder/QueryBuilderHandler.php
96.39% <95.65%> (+0.07%)
:arrow_up:

src/AliasFacade.php
100.00% <100.00%> (ø)

src/Connection.php
100.00% <100.00%> (ø)

src/EventHandler.php
100.00% <100.00%> (ø)

src/Hydration/Hydrator.php
100.00% <100.00%> (ø)

src/QueryBuilder/JoinBuilder.php
100.00% <100.00%> (ø)

src/QueryBuilder/NestedCriteria.php
100.00% <100.00%> (ø)

src/QueryBuilder/QueryObject.php
100.00% <100.00%> (ø)

... and 1 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 c454745...266e250. Read the comment docs.


[SwiftASTContext] Remove use of ClusteredBitVector::enumerateSetBits

The set bit enumeration API is being removed as part of
https://github.com/apple/swift/pull/24857.
This change replaces the enumerateSetBits call with a loop over all
the bits in the mask. This is potentially more expensive however it's
unlikely that the difference is noticeable given that we are already
building a mask of the same size byte-by-byte in this function.

Please test with following pull request:
https://github.com/apple/swift/pull/24857
@swift-ci Please test


feat: always return []bool when batch enforce

fix: https://github.com/casbin/casdoor/issues/2420

Replaced by: https://github.com/casbin/casdoor/pull/2554


Abort transasction doesn't remove up added, uncommitted class

If I add a class in the Projects browser, and abort transaction, I'd expect the class to go away.  But it's still there.  Clicking on it gets a walkback:
a MessageNotUnderstood occurred (error 2010), a UndefinedObject does not understand  #'comment'
MessageNotUnderstood >> defaultAction @2 line 3
MessageNotUnderstood (AbstractException) >> _signalWith: @5 line 25
MessageNotUnderstood (AbstractException) >> signal @2 line 47
UndefinedObject (Object) >> doesNotUnderstand: @9 line 10
UndefinedObject (Object) >> _doesNotUnderstand:args:envId:reason: @7 line 12
RowanClassService >> basicRefreshFrom: @4 line 5
RowanClassService >> refreshFrom: @2 line 3
RowanClassService >> updateClass @4 line 5
RowanClassService >> update @2 line 3
[] in  ExecBlock1 (JadeServer) >> updateFromSton: @6 line 11
Array (Collection) >> do: @5 line 10
JadeServer64bit32 (JadeServer) >> updateFromSton: @7 line 6
GsNMethod class >> _gsReturnToC @1 line 1

This is issue https://github.com/GemTalk/Rowan/issues/349.
Dale has a jadeite issue similar to this for tracking as well. https://github.com/GemTalk/Rowan/issues/348

This bad behavior is still present in 3.0.26 with rowan a2093df.


Enhance relationship components

Enhance relationship components to check whether the target class has the PK property or not.

Not possible, it meets the circural TMP problem.


Fix makefile to properly checkout otp and build it

The Makefile didn't initialize the submodules and otp was not set to a PHONY target so was never build when running make

Thanks :)


Fix requirements for version 0.19.1

@arq5x I'm encountering this error when attempting to install version 0.19.1 based on your installation info here: http://gemini.readthedocs.io/en/latest/content/installation.html
$ python gemini_install.py --gemini-version 0.19.1 /home/greg/gemini/ /home/greg/gemini/share/gemini/
<some logging eliminated...>
installation finished.
Installing base gemini package...
/home/greg/gemini/share/gemini/anaconda/bin/conda install --yes -c bioconda --file _conda-requirements-0.19.1.txt
Fetching package metadata .................

PackageNotFoundError: Package not found: '' Package missing in current linux-64 channels:
  - gemini 0.19.0 py27_2

You can search for packages on anaconda.org with

    anaconda search -t conda gemini

Traceback (most recent call last):
  File "gemini_install.py", line 191, in <module>
    main(parser.parse_args())
  File "gemini_install.py", line 83, in main
    gemini = install_conda_pkgs(anaconda, remotes, args)
  File "gemini_install.py", line 105, in install_conda_pkgs
    subprocess.check_call([anaconda["conda"], "install", "--yes"] + channels + pkgs)
  File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/greg/gemini/share/gemini/anaconda/bin/conda', 'install', '--yes', '-c', 'bioconda', '--file', '_conda-requirements-0.19.1.txt']' returned non-zero exit status 1

I assume the issues is caused by having version 0.19.0 in the requirement.txt file, which this PR changes to be 0.19.1.  If this is not the problem, please let me know and I will close this PR.
Thanks!

0.19.2 is already in conda, so it might be worth to update it.

@bgruening I was wondering about that - do you want me to use 0.19.2a?

Sure, why not. Use the latest version :)


"sort" causes Zed lake service crash

tl;dr
A zed serve hosting a pool of the zed-sample-data can be crashed by a sort query.
Details
Repro is with Zed commit 3f5af44. This issue was spotted by our own @jameskerr while doing Zui development/testing.
First start a Zed lake service. I've not been able to repro this problem with a filesystem-based lake.
$ zed -version
Version: v1.17.0-31-g3f5af44b

$ rm -rf lake && zed -lake lake serve
{"level":"info","ts":1724174105.489831,"logger":"core","msg":"Started","auth_enabled":false,"root":"file:///Users/phil/lake","version":"v1.17.0-31-g3f5af44b"}
{"level":"info","ts":1724174105.49012,"logger":"httpd","msg":"Listening","addr":"[::]:9867"}

Then load the ZNG format zed-sample-data and issue a sort query.
$ zed create -use zng
pool created: zng 2kvptA65o0HdU7tVRRpt1DhKbnt
Switched to branch "main" on pool "zng"

$ zed load *.zng.gz
(35/35) 51.49MB/51.49MB 0B/s 100.00%
2kvpuHy8843DfPgH6blJMNUBIcz committed

$ zed query 'sort'
Post "http://localhost:9867/query?ctrl=T": EOF

At this point the zed serve crashes with the following dump:
panic: runtime error: slice bounds out of range [:374700416] with capacity 655418

goroutine 226 [running]:
github.com/brimdata/zed.(*Arena).bytes_(0x140aa50?, 0x25ef560?)
	/Users/phil/work/zed/arena.go:191 +0x3dc
github.com/brimdata/zed.Value.Bytes({0x100000c00073b5f0, 0x4000001e00000000})
	/Users/phil/work/zed/value.go:232 +0x20a
github.com/brimdata/zed/runtime/sam/expr.(*DotExpr).Eval(0xc005ee6000, {0x2b44f58?, 0xc00657a000?}, {0x26a8a20?, 0x1?})
	/Users/phil/work/zed/runtime/sam/expr/dot.go:50 +0x21c
github.com/brimdata/zed/runtime/sam/expr.(*missingAsNull).Eval(0x3a65180?, {0x2b44f58?, 0xc00657a000?}, {0x100000c00073b5f0, 0x4000001e00000000})
	/Users/phil/work/zed/runtime/sam/expr/sort.go:137 +0x2f
github.com/brimdata/zed/runtime/sam/expr.(*Comparator).sortStableIndices(0xc005ee8000, {0xc015ff6000, 0x118200, 0x152c00})
	/Users/phil/work/zed/runtime/sam/expr/sort.go:33 +0x243
github.com/brimdata/zed/runtime/sam/expr.(*Comparator).SortStableReader(...)
	/Users/phil/work/zed/runtime/sam/expr/sort.go:250
github.com/brimdata/zed/runtime/sam/op/spill.(*MergeSort).Spill.func1()
	/Users/phil/work/zed/runtime/sam/op/spill/merge.go:67 +0x45
github.com/brimdata/zed/runtime/sam/op/spill.goWithContext.func1()
	/Users/phil/work/zed/runtime/sam/op/spill/merge.go:89 +0x23
created by github.com/brimdata/zed/runtime/sam/op/spill.goWithContext in goroutine 183
	/Users/phil/work/zed/runtime/sam/op/spill/merge.go:88 +0x8d

It looks like this problem has been with us since Zed commit ce9626e when the Arena changes landed via #5118.

A user in a community Slack thread reported a recent Zed service crash that sounded similar to this one. They were not able to share their repro data, but here was their stack dump and a high-level description of their repro steps:

So the query is :
"Search term"
| ts:=time(ts) | sort ts
| "Search term 2"

If I comment out | sort ts then it's all gud
Sorting last (which I know is probably the more polite thing to do) works great

The fact that sorting last might trim their data set to avoid spill-to-disk gives me high confidence it's the same problem.

Verified in Zed commit 1ffe14f.
Repeating the repro steps, the sort now runs without crashing.
$ zed -version
Version: v1.17.0-48-g1ffe14f6

$ zed create -use zng
pool created: zng 2lf9ET4XSCpvUjJ3GOy3w4uxtMv
Switched to branch "main" on pool "zng"

$ zed load *.zng.gz
(35/35) 51.49MB/51.49MB 0B/s 100.00%
2lf9FIu6d3D9BYlO3hr95AnG1aJ committed

$ zed query 'sort'
{_path:"analyzer",ts:2018-03-24T17:34:05.233607Z,cause:"violation",analyzer_kind:"protocol",analyzer_name:"HTTP",uid:"CFiSQy37m2jbdIGzW",fuid:null(string),id:{orig_h:<IP_ADDRESS>,orig_p:60489(port=uint16),resp_h:<IP_ADDRESS>,resp_p:80(port)},failure_reason:"not a http reply line",failure_data:null(string)}
...

Thanks @mattnibs!

Since the fix in linked PR #5239 was in the Arena era and the Arena changes were reverted in #5278, I've re-verified that this issue has stayed gone. Repeating the repro steps now at current Zed commit 4a1ebf5:
$ zed -version
Version: v1.17.0-64-g4a1ebf5b

$ zed create -use zng
pool created: zng 2mAbfgvYvs1s2TOMyoL2kdbIGKh
Switched to branch "main" on pool "zng"

$ zed load *.zng.gz
(35/35) 51.49MB/51.49MB 0B/s 100.00%
2mAbgOhFoLAfj3a5R4RwWEOaKaJ committed

$ zed query 'sort'
{_path:"analyzer",ts:2018-03-24T17:34:05.233607Z,cause:"violation",analyzer_kind:"protocol",analyzer_name:"HTTP",uid:"CFiSQy37m2jbdIGzW",fuid:null(string),id:{orig_h:<IP_ADDRESS>,orig_p:60489(port=uint16),resp_h:<IP_ADDRESS>,resp_p:80(port)},failure_reason:"not a http reply line",failure_data:null(string)}
...


Resolve several bugs

Resolved several bugs and added the version to the web agent to the interface

Great work!


[JS] Topic: History of JavaScript

Description 📜
Created a document on the history of JavaScript.
Fixes #70

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] JavaScript

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@paramsiddharth sir please review my work

@paramsiddharth sir just asking for my future PRs, is use of images for explaining topics appreciated like I have done in this PR or textual content is better

@paramsiddharth sir just asking for my future PRs, is use of images for explaining topics appreciated like I have done in this PR or textual content is better

I think you have done an excellent job, and this is exactly the kind of contribution I would expect to have. Well done! Keep doing
it with graphics, I encourage that.

Thank u sir!

I think the timeline of JavaScript will look good if displayed in a tabular format as it will be easy to read also.

@dakshsethi @paramsiddharth sir, as requested I have changed the timeline into tabular form. Please have a look and confirm if I am good to go

@paramsiddharth sir changed as u said, please check

@Creatoon @dakshsethi Could you please review the PR, and request any changes if needed?

LGTM!

@paramsiddharth sir, is this ready to be merged?

@paramsiddharth sir, is this ready to be merged?

Yes!

can I work on this issue?

@iam-sakshi Yes, please. :) Check out the issue: #70. Note that a documentation has already been merged. You may contribute an extension or an audio/video contribution. Please comment on the issue if you wish to be assigned.


x/net/ipv4: missing error handling in the Header.Marshal method

In the ipv4.Header.Marshal method, the code does not handle the possible error returned by h.Src.To4().  On the other hand, the possible error returned by h.Dst.To4() is handled correctly.
Another small issue is that the slice returned by To4() is still sliced (ip[:net.IPv4len]); this is unnecessary.
See https://github.com/golang/net/blob/master/ipv4/header.go#L92

/cc @mikioh @ianlancetaylor