widpedom : protential to use small lato font for large text

I have a version of widpedom that uses the small lato font.
It looks really nice (see before and after shots below) but not sure if it should go into the codebase as widpedom is one of the standard apps and it needs to work well on all devices.  One possbility would be to have a B1 and B2 version of the code but I dont like that as it creates a maintainance issue for future fixes.  I did notice that ChronosWidget uses a custom font.
The font code below is numeric only to keep it as small as possible.
The code change is:
$ diff  widpedom.wid.20.js  widpedom.wid.21.js
117c117,119
<         g.setFont("6x8",2);
---
>         var scale = 1;
>         // Lato from fonts.google.com, Actual height 17 (17 - 1)
>         g.setFontCustom(atob("AAAAABwAAOAAAgAAHAADwAD4AB8AB8AA+AAeAADAAAAOAAP+AH/8B4DwMAGBgAwMAGBgAwOAOA//gD/4AD4AAAAAAAABgAAcAwDAGAwAwP/+B//wAAGAAAwAAGAAAAAAAAIAwHgOA4DwMA+BgOwMDmBg4wOeGA/gwDwGAAAAAAAAAGAHA8A4DwMAGBhAwMMGBjgwOcOA+/gDj4AAAAABgAAcAAHgADsAA5gAOMAHBgBwMAP/+B//wABgAAMAAAAAAAgD4OB/AwOYGBjAwMYGBjBwMe8Bh/AIHwAAAAAAAAAfAAP8AHxwB8GAdgwPMGBxgwMOOAB/gAH4AAAAAAABgAAMAABgAwMAeBgPgMHwBj4AN8AB+AAPAABAAAAAAAMfAH38B/xwMcGBhgwMMGBjgwP+OA+/gDj4AAAAAAAAOAAH4AA/gQMMGBgzwME8BhvAOPgA/4AD8AAEAAAAAAGAwA4OAHBwAAA="), 46, atob("BAgMDAwMDAwMDAwMBQ=="), 21+(scale<<8)+(1<<16));
$

It does certainly improve readability at a glance or without powering on the LCD backlight.

Could you please make a pull request, instead of making an issue with code in it? That way the people who made your code can add your code with one click.

I will be doing just that but I wanted to discuss with @Gordon first as there might be other considerations.

please don't add this to widpedom.
Ok - understood.  It does look nice but having an uplifted set of quality fonts at global level, would be the way to go.

Just tied Bangle.getHealthStatus("day").steps and I'm not convinced its working properly.
Having done all that testing a while back I have a very good feel for how many steps I have done and today I would have guessed 2000-2500 for today.   5090 is way off.  This is very strange as I thought this was all triggered off the same step counting code ?   How does Bangle.getHealthStatus("day").steps work ?
>Bangle.getHealthStatus("day").steps
=5090
>
>WIDGETS["wpedom"].getSteps();
=2447
>

setInterval(()=>WIDGETS["bata"].draw(), 1000);
Bangle.on('lcdPower', function(on) {
  if (on) WIDGETS["bata"].draw();
});
WIDGETS["bata"]={area:"tr",width:108,draw:function() {
  var sh = Bangle.getHealthStatus("day").steps;
  var sw = WIDGETS["wpedom"].getSteps();
  var steps = '' + sh + ' ' + (sh-sw);
  g.reset();
  g.setColor(g.theme.bg);
  g.fillRect(this.x, this.y, this.x + this.width, this.y + 23); // erase background
  g.setColor(g.theme.fg);
  g.setFont("6x8",2);
  g.setFontAlign(-1, 0);
  g.drawString(steps, this.x, this.y + 12);
}};

when I do the final widget I will do the update every 60 seconds.  This will mean that it wont cause additional power draining by updating on every step counted like the Widpedom does.

Great! I wouldn't have thought updating on the 'step' event would be a massive power draw.
Shame about the getHealthStatus(day) issue though - the step count is updated at the same time as other step counts, but it should be reset at midnight rather than every 10 minutes. Perhaps there is some issue there though :(

Closed - new issue 1216 raised regarding Bangle.getHealthStatus("day").steps


[apptools-iOS] Remove project before creating project for apptools iOS

Impacted tests(approved): new 0, update 5, delete 0
Unit test platform: [iOS]
Unit test result summary: pass 5, fail 0, block 0

LGTM


Setup your first development environment

#17

Close this right? You can add Fix #17 in PR comment to have the PR close the issue when merged. GitHub is nice about it adding a link to the PR from the issue.


Maturity of this project and possible support?

Hi, I am currently working on a project where I am seriously considering the use of the Azure FHIR Service from the managed Health APIs but we need to support multi-tenancy and other auth scenarios and this project looks like it could be a good fit.
My question is really if this project is mature enough that Microsoft would recommend using it in production? Also if we were to deploy this to our production environment what options of support do we have if we run into issues? I understand that this is an open source project but given that this is centred around security and authentication which is a domain that is notoriously hard to get right and very easy to mess up I am wondering how realistic it would be to maintain this ourselves if we did run into some problems and if Microsoft can provide any guidance/guarantees around it?
Also is there any other managed (PaaS) offering in Azure at the moment which we could leverage to provide multi-tenancy around the Azure FHIR Server or is this proxy our best bet?
Many thanks!

Closing this issue due to age, please reference the 2.0 branch of this repo since it has superior functionality and enhancements. It is also actively maintained.


Support reading from PyArrow datasets

Given the success of the Datasets  + DuckDB integration, a similar integration might be worthwhile in this module.
The datasets API allows taking filters and columns subset, and provides an iterator of Arrow record batches. I think that could be wrapped in a TableProvider, though I'm unclear how predicate pushdown is implemented in Datafusion.

Predicate pushdown is supported as an argument for the filter method, the doc you linked is out of date, you should see that argument in the latest version: https://docs.rs/datafusion/latest/datafusion/datasource/datasource/trait.TableProvider.html#tymethod.scan.


No SDK installed

URL
https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/create
Operating system
windows
More information about your system
No response
Description
No installed .NET SDK was found on the computer. If it is installed, make sure it can be found through the PATH environment variable. C# Dev Kit does not work without a supported version of SDK. After installing the SDK, you need restart the VS Code session, or the computer.
dotnet --info
Host:
Version:      8.0.7
Architecture: x86
Commit:       2aade6beb0
RID:          win-x86
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.7 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.22 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.7 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.7 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x64   [C:\Program Files\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

@Zoro263 can you confirm what's your windows architecture? is it x64?
The dotnet --info results above show that you might have an issue with PATH.
Type the command where.exe dotnet and see if x86 is returned first. If so and your system is x64, follow the instructions at https://github.com/dotnet/core/issues/5962#issuecomment-780084535.
Let me know if this solves your issue!


Crash on registering device UDID

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[INSERT OUTPUT HERE]
$ fastlane run register_devices devices: ".Device name"= && match development --force
[12:52:37]: ------------------------------
[12:52:37]: --- Step: register_devices ---
[12:52:37]: ------------------------------
[12:52:37]: To not be asked about this value, you can specify it using 'username'
Optional: Your Apple ID:
Looking for related GitHub issues on fastlane/fastlane...
➡  fastlane reporting apple developer website is down
https://github.com/fastlane/fastlane/issues/5918 [closed] 19 💬
06 Dec 2016
🔗  You can ⌘ + double-click on links to open them directly in your browser.
/Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/actions/register_devices.rb:23:in run': [!] undefined method map' for "":String (NoMethodError)
Did you mean?  tap
Did you mean?  tap
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/runner.rb:239:in block (2 levels) in execute_action' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in execute_action'
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/runner.rb:217:in block in execute_action' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/runner.rb:213:in chdir'
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/runner.rb:213:in execute_action' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/one_off.rb:41:in run'
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/one_off.rb:22:in execute' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/commands_generator.rb:191:in block (2 levels) in run'
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/commander-4.4.3/lib/commander/command.rb:178:in call' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/commander-4.4.3/lib/commander/command.rb:153:in run'
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in run_active_command' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in run!'
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in run!' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/commands_generator.rb:302:in run'
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/commands_generator.rb:42:in start' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/fastlane/lib/fastlane/cli_tools_distributor.rb:59:in take_off'
from /Users/romanvolkov/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.14.1/bin/fastlane:15:in <top (required)>' 	from /Users/romanvolkov/.rbenv/versions/2.3.3/bin/fastlane:22:in load'
from /Users/romanvolkov/.rbenv/versions/2.3.3/bin/fastlane:22:in `'
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
[INSERT OUTPUT HERE]
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.2

Ruby
2.3.3

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.rbenv/versions/2.3.3/bin/fastlane

Host
Mac OS X 10.12.2 (16C67)

Ruby Lib Dir
~/.rbenv/versions/2.3.3/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Is homebrew
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
fastlane_version "2.12.0"

default_platform :ios

platform :ios do
  #
  # Learn more here: https://github.com/fastlane/setups/blob/master/samples-ios/distribute-beta-build.md 🚀
  #
  lane :beta do |values|
    # Fabric generated this lane for deployment to Crashlytics Beta
    # set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
    gym(scheme: 'Snapajob', export_method: 'development')

    emails = values[:test_email] ? values[:test_email] : [] # You can list more emails here
    groups = values[:test_email] ? nil : nil # You can define groups on the web and reference them here

    crashlytics(api_token: '',
             build_secret: '',
                   emails: emails,
                   groups: groups,
                    notes: '', # Check out the changelog_from_git_commits action
            notifications: true) # Should this distribution notify your testers via email?

    # for all available options run `fastlane action crashlytics`

    # You can notify your team in chat that a beta build has been uploaded
    # slack(
    #   slack_url: "https://hooks.slack.com/services/YOUR/TEAM/INFO"
    #   channel: "beta-releases",
    #   message: "Successfully uploaded a beta release - see it at https://fabric.io/_/beta"
    # )
  end
end

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.14.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
1.5.1

i18n
0.8.0

json
1.8.3

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.8.5

activesupport
<IP_ADDRESS>

CFPropertyList
2.3.5

claide
1.0.1

colored
1.2

nanaimo
0.2.3

xcodeproj
1.4.2

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.0

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.2

colored2
3.1.1

highline
1.7.8

commander
4.4.3

excon
0.54.0

faraday
0.11.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.0.1

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.26

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.0

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.3

faraday_middleware
<IP_ADDRESS>

io-console
0.4.5

generated on: 2017-02-03

The main issue it
run': [!] undefined methodmap' for "":String (NoMethodError)
Did you mean? tap
Did you mean? tap
I'm not sure it's related to code signing

Hey @RomanVolkov! 👋  It looks like this crash is coming from way that register_devices is getting called. It is not currently supported to call it on the command line with a hash of devices. Instead, its best practice to follow the example here: https://docs.fastlane.tools/actions/#register_devices
Let us know if you have any problems down the line! 🐙


Workaround for JCE Unlimited Strength Jurisdiction policy files ?

I don't know much about the ins and outs of the issue above (I use an oracle JDK is it required for the openjdk ?). Is there any workaround available to automate the acquisition of these files ?

http://stackoverflow.com/a/22492582

http://stackoverflow.com/a/22492582
Summary:
Options are:

Install the unlimited strength policy files.
Skip the JCE API and use another cryptography library such as Bouncy Castle.
Bypass JCE restrictions by using reflection

doesn't using the Bouncy Castle API still require you to install the unlimited strength policy files? otherwise wouldn't it will limit the key size allowed?

https://stackoverflow.com/questions/41580489/how-to-install-unlimited-strength-jurisdiction-policy-files#answer-46883499


Site/app implementation details

Corrected:
Tracking the implementation details for how a request is made to an Experience Service from the client is important for support, debugging and usage analysis. This PR provides a way of providing this information in a structured way.
Created a new general purpose Implementation schema that records the API name and Version.
Defined the Adobe Extension that sets the location for implementation details for Analytics, Target and Identity Service. Will be used in future with ExperienceEvent.

@trieloff @kstreeter @cmathis

@jwen-adobe can you please review this to see if it conforms to your expectations for an extension.

@trieloff can you please review these changes. Note I think the validators are not working right. There is an error on the nodejs version I think and an overly strict uri test.

@trieloff @kstreeter can you please review, I have rolled in all the recommendations I have at this point.
Also note when this and the web PR are merged I will do a refresh of ExperienceEvent to include several example that represent a journey, rolling in all updates.

Looks good to me now. @cdegroot-adobe: I've tightened the definition back to uri in b56905c. Let me know if that's good for you and I'll merge.

@kstreeter please merge


google-chrome: add darwin support

Closes: https://github.com/NixOS/nixpkgs/pull/162436
Closes: https://github.com/NixOS/nixpkgs/pull/162467
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

Thanks you for the review

CC @jnsgruk for testing.

So the update-script seems fine to me now:
❯ nix-shell maintainers/scripts/update.nix --argstr package google-chrome
this derivation will be built:
  /nix/store/gfsc1r8h09psmgp6m4h5m23dczzh5412-packages.json.drv
these 7 paths will be fetched (8.44 MiB download, 41.84 MiB unpacked):
  /nix/store/p5441mp6wwpdh65qamaixvd092cwr45h-bash-interactive-5.2p26
  /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52
  /nix/store/psfazaip7ywf3vzxfd6ngjn9zwmla7gl-libidn2-2.3.7
  /nix/store/n07l5k5kwxd7954wl7xk6v0qwxz536m3-libunistring-1.1
  /nix/store/7ka1d6qli0bci8d1k9b7zw0jrd2s2q1k-ncurses-6.4
  /nix/store/va84gp6s9mk8cyv2k8xmfsai2b33zx7v-readline-8.2p10
  /nix/store/nda0h04bakn2damsd06vkscwi5ds4qjd-xgcc-13.2.0-libgcc
copying path '/nix/store/nda0h04bakn2damsd06vkscwi5ds4qjd-xgcc-13.2.0-libgcc' from 'https://cache.nixos.org'...
building '/nix/store/gfsc1r8h09psmgp6m4h5m23dczzh5412-packages.json.drv'...
copying path '/nix/store/n07l5k5kwxd7954wl7xk6v0qwxz536m3-libunistring-1.1' from 'https://cache.nixos.org'...
sourcing setup hook '/nix/store/dv5vgsw8naxnkcc88x78vprbnn1pp44y-patchelf-0.15.0/nix-support/setup-hook'
sourcing setup hook '/nix/store/i4iynx9axbq23sd0gyrc5wdb46zz6z8l-update-autotools-gnu-config-scripts-hook/nix-support/setup-hook'
sourcing setup hook '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh'
sourcing setup hook '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh'
sourcing setup hook '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh'
sourcing setup hook '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh'
sourcing setup hook '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh'
sourcing setup hook '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh'
sourcing setup hook '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh'
sourcing setup hook '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh'
sourcing setup hook '/nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh'
sourcing setup hook '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh'
sourcing setup hook '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh'
sourcing setup hook '/nix/store/aazf105snicrlvyzzbdj85sx4179rpfp-set-source-date-epoch-to-latest.sh'
sourcing setup hook '/nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh'
copying path '/nix/store/psfazaip7ywf3vzxfd6ngjn9zwmla7gl-libidn2-2.3.7' from 'https://cache.nixos.org'...
copying path '/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52' from 'https://cache.nixos.org'...
copying path '/nix/store/7ka1d6qli0bci8d1k9b7zw0jrd2s2q1k-ncurses-6.4' from 'https://cache.nixos.org'...
copying path '/nix/store/va84gp6s9mk8cyv2k8xmfsai2b33zx7v-readline-8.2p10' from 'https://cache.nixos.org'...
copying path '/nix/store/p5441mp6wwpdh65qamaixvd092cwr45h-bash-interactive-5.2p26' from 'https://cache.nixos.org'...

Going to be running update for following packages:
 - google-chrome-127.0.6533.88

Press Enter key to continue...

Running update for:
 - google-chrome-127.0.6533.88: UPDATING ...
 - google-chrome-127.0.6533.88: DONE.

Packages updated!

But when I build the package and try to run the result on Linux I get the following:
 ~/code/nixpkgs  add-darwin-support-google-chrome                                                                                 venv
❯ nix build .#legacyPackages.x86_64-linux.google-chrome --impure

 ~/code/nixpkgs  add-darwin-support-google-chrome                                                                                 venv
❯ ./result/bin/google-chrome-stable
./result/bin/google-chrome-stable: line 1042: /nix/store/1vgw377741i15sq8z97shln7k62awwks-google-chrome-127.0.6533.88/share/google/chrome/google-chrome: cannot execute: required file not found

So the update-script seems fine to me now:
It won't actually run all the steps unless there is actually a update available.

Here's how I reproduced the error:
Set the darwin and Linux chrome version to a older one, like <IP_ADDRESS>, tinkered the hash for a bit.
Then I ran the update script.

It works on my side?
https://github.com/user-attachments/assets/adc11381-243a-408a-9a55-6709ae1f3fd1

The more concerning failure to me was not being able to run result/bin/google-chrome on my machine...

The more concerning failure to me was not being able to run result/bin/google-chrome on my machine...

I'm not sure why that's the case, I haven't remove any deps or changed the installScript...
Do you guys have any idea on what could be causing it? @JohnRTitor @jnsgruk

Sorry I ran out of time to get to this later in the week. I'll try to get a better look next week.

Result of nixpkgs-review pr 332229 run on x86_64-linux 1

2 packages built:

google-chrome
netflix

Hmm, I'm not sure what to do here - I still cannot make this work:
 ~/code/nixpkgs  add-darwin-support-google-chrome
❯ nix build .#google-chrome --impure --rebuild

 ~/code/nixpkgs  add-darwin-support-google-chrome                                                                                ❌127
❯ ./result/bin/google-chrome-stable
./result/bin/google-chrome-stable: line 1042: /nix/store/1vgw377741i15sq8z97shln7k62awwks-google-chrome-127.0.6533.88/share/google/chrome/google-chrome: cannot execute: required file not found

I've tried removing the result and rebuilding, but I always end up with the same error :/

Could you try rebasing the branch on top of master? or you could just run it from nixpkgs-review.

Aha! I've found the problem I think... that file /nix/store/1vgw377741i15sq8z97shln7k62awwks-google-chrome-127.0.6533.88/share/google/chrome/google-chrome is a bash script that starts #!/bin/bash, rather than #!/usr/bin/env bash.
It's a wrapper... and if I run /nix/store/1vgw377741i15sq8z97shln7k62awwks-google-chrome-127.0.6533.88/share/google/chrome/chrome the browser starts fine.
@DontEatOreo/@JohnRTitor could you take a look at why that's not being patched (anymore?)? (I can't get much more time on this today, but I could look next week)

Could you try rebasing the branch on top of master? or you could just run it from nixpkgs-review.

I've rebased, but I get the same issue. I've pushed the branch anyway so it's up to date

Oh, I have services.envfs enabled, which is why I could not catch this bug.
(envfs, provides a /bin/bash)

Looks like strictDeps = true was causing the error.
It was not in the previous revision, I have explicitly disabled it (though it is disabled by default, anyway). @jnsgruk this should work correctly now.

That got it - thank you @JohnRTitor!
I don't think we should be backporting this - given that it's not security related. The diff is quite large, though, so I suspect we'll need to be careful backporting upcoming security releases, and possibly do so manually until the next release.

It's definitely not a security fix but rather can be considered a package addition, which is a valid reason for backport. The diff is indeed large, but the linux section is more or less the same (ignoring the indentation changes).
If we choose to not backport this, it will be harder to backport version upgrades in future. The changes for the linux section is very insignificant.

It's definitely not a security fix but rather can be considered a package addition, which is a valid reason for backport. The diff is indeed large, but the linux section is more or less the same (ignoring the indentation changes).
If we choose to not backport this, it will be harder to backport version upgrades in future. The changes for the linux section is very insignificant.

I agree. Alright, on the grounds that the Linux side is mostly unchanged, let's backport it - though I'm expecting some manual changes required (as they were in the last)

I think there is an update available. @jnsgruk could you checkout this branch and push the update using the update script? Let's not create another PR for that :)

I think there is an update available. @jnsgruk could you checkout this branch and push the update using the update script? Let's not create another PR for that :)

Done, though I still got that weird libxml2 issue and had to run it in a shell with libxml2 explicitly stated

Exactly, I wonder why. This will likely break auto updaters like ryantm bot. @DontEatOreo could you investigate?
At worst we might need to wrap the update script with makeBinPath or something.

Exactly, I wonder why. This will likely break auto updaters like ryantm bot. @DontEatOreo could you investigate?
At worst we might need to wrap the update script with makeBinPath or something.

Figured it out - see https://github.com/NixOS/nixpkgs/pull/332229/commits/a71c2d6d7bf2ae3aa73202870908e36def870e25
🙂

Sorry for the delay! I will take a look rn.

Sorry for the delay! I will take a look rn.

Don't worry - I think we're all sorted! Just waiting for the eval check and I'll merge.

Result of nixpkgs-review pr 332229 run on x86_64-linux 1

2 packages built:

google-chrome
netflix

LGTM!

Result of nixpkgs-review pr 332229 run on x86_64-linux 1

2 packages built:

google-chrome
netflix

This needs a manual backport.


MissingClientIDException

So I thought I would make a new issue for that now.
It crashes at GetChatter but not on other API requst as far as I tested now.
So I thought it was my fault so I tested with you Test App and still got the same error.

Looking into this now.

Looks like it auto closed the issue. Feel free to reopen it.
The problem looks like it was in the testing app and not the library. See the commit above.

For me it still crashes with no client-Id at the same part in the example app.


3.1.1.  2D Mouse zoom does not behave same as 3D on Mac OS X.

Godot version:
3.1.1 stable
OS/device including version:
Mac OS X Mojave
Issue description:
Magic Mouse zooming does not work in 2D editor at all. However works fine in 3D Editor
Holding down CTRL+Mouse finger slide, zooms properly in 3D. There is even a setting in Editor Settings.
However CTRL+Mouse finger slide in 2D does NOT zoom. Instead it scrolls the viewport up/down left or right instead of zooming.  Also there are no Editor settings for zoom 2D.
Editor settings available for keyword Zoom

Maybe someone with more understanding can look at this code and give me a hint as to the issue. Keeping in mind that CTRL+Magic Mouse wheel works for 3D. I can compile and test if needed. Thanks.
and in godot/platform/osx/os_osx.mm
- (void)scrollWheel:(NSEvent *)event
In godot/editor/plugins/canvas_item_editor_plugin.cpp
Method: bool CanvasItemEditor::_gui_input_zoom_or_pan(const Ref<InputEvent> &p_event)

Just ran into this as well with 3.2.1. Not a great UX when the very first thing you try with a new engine doesn't work as expected ;-)
I've seen a variety of issues brought up for this, but no solutions. Is it addressed in anything more recent than 3.2.1?
If not, maybe someone with some in-depth knowledge of the code can give an outline of what needs to be done to fix it?

This issue still exists on v4.1.2
I cannot zoom with the mouse in 2D like in 3D.

I tried with 4.1.1 and it does indeed look like zooming with the magic mouse in 2D has broken since my fix.
In addition, the actions when scrolling via scroll wheel and magic mouse seem inconsistent:

mouse

action

3D
normal

zoom

3D
normal
control
zoom

3D
magic

tilt

3D
magic
control
zoom

2D
normal

zoom

2D
normal
control
pan vertical

2D
magic

pan vertical

2D
magic
control
pan vertical

I would suggest this issue be reopened.


Fix terminating containers

Containers components should be non-terminating (c.f. point n.1 here).
This PR adds a script to check that containers components are non terminating (./tests/check_non_terminating.sh, used as PR check too):

It also patches the registry devfiles that failed to pass the test with:
container:
   image: (...)
+  args: ["tail", "-f", "/dev/null"]

or
container:
   image: (...)
+  command: ["tail", "-f", "/dev/null"]

This is the list of patched devfiles:
stacks/dotnet50/devfile.yaml
stacks/dotnet60/devfile.yaml
stacks/dotnetcore31/devfile.yaml
stacks/java-openliberty-gradle/devfile.yaml
stacks/java-openliberty/devfile.yaml
stacks/java-quarkus/devfile.yaml
stacks/java-websphereliberty-gradle/devfile.yaml
stacks/java-websphereliberty/devfile.yaml
stacks/java-wildfly-bootable-jar/devfile.yaml
stacks/nodejs-angular/devfile.yaml
stacks/nodejs-nextjs/devfile.yaml
stacks/nodejs-nuxtjs/devfile.yaml
stacks/nodejs-react/devfile.yaml
stacks/nodejs-svelte/devfile.yaml
stacks/nodejs-vue/devfile.yaml
stacks/nodejs/devfile.yaml
stacks/php-laravel/devfile.yaml
stacks/python-django/devfile.yaml
stacks/python/devfile.yaml

Which issue(s) this PR fixes:
https://github.com/devfile/api/issues/681
PR acceptance criteria:

[x] Contributing guide
[x] Test automation
[ ] Documentation

How to test changes / Special notes to the reviewer:
I have added the following lines in the repo README file Running the tests section:

From the root of this repository, run tests/check_non_terminating.sh.

The test script will validate each devfile stack under stacks/, verifying that the components of type container are terminating.

The test script retrieves the image, command and args of a container component and uses them to run a pod and wait until it reaches the Running state:kubectl run test-terminating -n default --attach=false --restart=Never --image="<image>" --command=true -- "<command>" "<args>"

Each container component must be non-terminating. If the default image entrypoint is terminating an args (preferred) or command should be specified in the defile (e.g. ["tail", "-f", "/dev/null"]).

/test all

It looks like the changes aren't playing nicely with odo:
 ✗  Failed to start component with name "java-openliberty-gradle". Error: Failed to create the component: the supervisord program devrun not found
+ error=true

All of the stacks are failing with the same error
@l0rd @kadel

/retest

CI now passing with odo v2.5.1 👍

@l0rd Can this be moved out of Draft / WIP now?

@l0rd Can this be moved out of Draft / WIP now?

no, please don't merge this yet.
The majority of users still use 2.5.0. and more importantly, the OpenShift connector (vscode plugin) is still based on 2.5.0. If you merge this now, it will break them.

@kadel I will wait for your approval to merge this

@kadel can we merge this one now?

@kadel can we merge this one now?

We are getting close. Currently, we a little over 60% of users on a version that includes fix.
Let me just double-check with IDE plugins if they have the majority of their users on the fixed version as well.
BTW: I will be on PTO for two weeks. If it is possible let's wait with this till I'm back. It will break all odo < 2.5.1 versions and I would like to be here for that.

The latest versions of all IDE plugins based on odo are on 2.5.1.
The majority of odo users that have telemetry enabled are on 2.5.1 as well.
🟢 We can merge this PR.

🎉 Thank you @kadel I will rebase and merge the PR Tuesday when I come back from PTO.

🎉 Thank you @kadel I will rebase and merge the PR Tuesday when I come back from PTO.

@l0rd will you be rebasing soon?

@johnmcollier I am still in vacation. I will be back next week and will rebase it.

@johnmcollier do you know why the ci/prow/v4.7-registry-test PR check is failing?

/retest

this this change using odo v3 tests that I'm currently working on, and all tests that were passing before this change are passing with this as well.
/lgtm

It looks like the test failure is due to the recent issues with the OpenShift CI

@amisevsk thanks for the review, I will address the comments later today.

@johnmcollier do you know why the ci/prow/v4.7-registry-test PR check is failing?

Sorry, just saw this. Not sure what's going on with OpenShift CI, it seems like our test script isn't even getting executed. I've followed up with QE to see what's going on.

@amisevsk I should have address most of your points in the last 4 commits, please have a look.


move css-tree to dependencies

To address https://github.com/indooorsman/esbuild-css-modules-plugin/issues/8

Thanks a lot


kubectl: versioned directory, static files

The kubectl cmd reference attempts to version the files in the static_includes directory as well as the toc.yaml file. Typically, this structure is manually updated per release, but has not been kept up to date. Periodically the toc.yaml file requires a change for successful doc generation.

create a script to update the static files in this repo for new releases.
create a designated branch for new releases (version the files).

Plan to write up some notes I have about suggested way to accomplish this task.
Temporarily assigning myself until I publish the notes.
/assign

See PR #108 .

/close


Use templating in post

I'm trying to write a post in the content folder that pulls in some data from the data folder. However, I don't appear to have access to templating functions in the post.

See shortcodes in the documentation.


export individual animation options

This hopefully addresses my concerns re: not being able to just create an object that meets the interface required by the animations without being too disruptive to the code base.

Finally got to testing this today and it seems to be working fine post-deployment to npm. Thanks!


pull request for e2e test at 01/10/2017 07:45:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Rename this project to nitropy for consistency?

The plan is to split this project into a library part (pynitrokey) and a CLI part (nitropy), though the names might still change.  That would also solve this issue.


wiki gone missing

it appear that the wiki is not working.  @caniszczyk did you by chance disable it?

Fixed!


Sort D3 entities by overlaps

Hey @manalishah can you sort the D3 entities in order from:

Maximum overlap (most overlapping entities between NLTK and CoreNLP/NER)

Also can you clean up the viz a bit (the 0 shows kind of odd). Thanks!

Hey @chrismattmann, D3 entries in the form of most overlap is done. It definitely makes more sense that way.
I am working on cleaning the D3


Make systests work with internal Jenkins CI system.

@pjbreaux, @mattgreene
What issues does this address?
Fixes #565
What's this change do?
Adds a Jenkinsfile to facilitate our move to Jenkins for internal systest CI.
Where should the reviewer start?
n/a
Any background context?
no

Holding off on the merge until we clear the next nightly run.


Host networking touch-ups

ping @mavenugo PTAL

Deploy preview for docsdocker ready!
Built with commit deb202f6c05f9f6abc2e20dca2a00d5d5b878afa
https://deploy-preview-8582--docsdocker.netlify.com

ping @arkodg PTAL

Thanks! Let me go ahead and merge


Use a static-discovery element for our default slave HC config. It segue...

...s better into listing multiple options

Core - Full Integration Build 348 is now running using a merge of 983ff2f35826ee0f2b989615cfb8409b9ee06a57

Linux Build 1067 is now running using a merge of 983ff2f35826ee0f2b989615cfb8409b9ee06a57

Windows Build 774 is now running using a merge of 983ff2f35826ee0f2b989615cfb8409b9ee06a57

Windows Build 774 outcome was SUCCESS using a merge of 983ff2f35826ee0f2b989615cfb8409b9ee06a57
Summary: Tests passed: 2932, ignored: 95 Build time: 0:15:51

Linux Build 1067 outcome was SUCCESS using a merge of 983ff2f35826ee0f2b989615cfb8409b9ee06a57
Summary: Tests passed: 2932, ignored: 95 Build time: 0:19:38

Core - Full Integration Build 348 outcome was FAILURE using a merge of 983ff2f35826ee0f2b989615cfb8409b9ee06a57
Summary: Tests failed: 1 (1 new), passed: 2848, ignored: 432 Build time: 0:41:10
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.smoke.subsystem.xml.StandardConfigsXMLValidationUnitTestCase.testHostSlave: java.lang.AssertionError: 1:2796 systemId='file:/opt/buildAgent/work/1fc20602fe290bd2/full/testsuite/integration/smoke/target/StandardConfigsXMLValidationUnitTestCase1894768738004622035xml' cvc-enumeration-valid: Value '${jboss.domain.master.protocol:remote}' is not facet-valid with respect to enumeration '[remote, http-remoting, https-remoting]'. It must be a value from the enumeration. a possible cause may be that a subsystem is not using the most up to date schema.
	at org.junit.Assert.fail(Assert.java:88)
	at org.jboss.as.test.smoke.subsystem.xml.AbstractValidationUnitTest$ErrorHandlerImpl.error(AbstractValidationUnitTest.java:279)

Related failure, xsd needs tweaking to allow for expressions for the protocol

Once https://github.com/wildfly/wildfly/pull/7117 is merged the test failure should go away. The xsd is ok; there are lots of places where an expression violates the xsd.

Windows Build 781 is now running using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea

Linux Build 1074 is now running using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea

Core - Full Integration Build 355 is now running using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea

Windows Build 781 outcome was SUCCESS using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea
Summary: Tests passed: 2932, ignored: 95 Build time: 0:18:26

Linux Build 1074 outcome was SUCCESS using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea
Summary: Tests passed: 2932, ignored: 95 Build time: 0:21:29

Core - Full Integration Build 355 outcome was FAILURE using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea
Summary: Tests failed: 1, passed: 2867, ignored: 377 Build time: 0:52:07
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.smoke.subsystem.xml.StandardConfigsXMLValidationUnitTestCase.testHostSlave: java.lang.AssertionError: 1:2778 systemId='file:/opt/buildAgent/work/1fc20602fe290bd2/full/testsuite/integration/smoke/target/StandardConfigsXMLValidationUnitTestCase9139331266476195957xml' cvc-enumeration-valid: Value '${jboss.domain.master.protocol:remote}' is not facet-valid with respect to enumeration '[remote, http-remoting, https-remoting]'. It must be a value from the enumeration. a possible cause may be that a subsystem is not using the most up to date schema.
	at org.junit.Assert.fail(Assert.java:88)
	at org.jboss.as.test.smoke.subsystem.xml.AbstractValidationUnitTest$ErrorHandlerImpl.error(AbstractValidationUnitTest.java:279)

retest this please

Windows Build 792 is now running using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea

Linux Build 1087 is now running using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea

Core - Full Integration Build 366 is now running using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea

Windows Build 792 outcome was SUCCESS using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea
Summary: Tests passed: 2932, ignored: 95 Build time: 0:16:57

Linux Build 1087 outcome was SUCCESS using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea
Summary: Tests passed: 2932, ignored: 95 Build time: 0:20:32

Core - Full Integration Build 366 outcome was SUCCESS using a merge of 9846e18cc5e1b8b8202cd3940071da0f9e0dfeea
Summary: Tests passed: 2868, ignored: 377 Build time: 0:50:28


Update request: cudaPackages.cudnn 8.9 → 9.0

Package name: cudnn
Latest released version: 9.0.0

Current version on the unstable channel: <IP_ADDRESS>
Current version on the stable/release channel:

[x] Checked the nixpkgs pull requests

Available at https://developer.nvidia.com/cudnn-downloads?target_os=Linux&target_arch=x86_64&Distribution=Agnostic&cuda_version=12.
Not yet visible in https://developer.download.nvidia.com/compute/redist/cudnn/?
Notify maintainers
@NixOS/cuda-maintainers

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

@SomeoneSerge the new URL is https://developer.download.nvidia.com/compute/cudnn/redist/
Please also see Table 7 https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#parsing-redistrib-json


Store & Load DTD locally

This prevents network call in XmlDocucument.Load to load the DTD

Hi @aateeque, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

relates to #1424

@aateeque merged! Thanks for contributing 👍


getItemsObject([keys-array])

Method to get many items at once. If array param. As object with keys and values.

Not testet yet.


Need an example for a .Net Core API (no cshtml) and how to deploy to IIS 8 on an Azure VM

Need an example for a .Net Core API (no cshtml) and how to deploy to IIS 8 on an Azure VM.

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

ID: 2984100d-7d78-2115-40f4-4b9478a5a5bc
Version Independent ID: 24ac6adc-6779-b847-ce81-c9d36e4b067b
Content: Quickstart for Azure App Configuration with ASP.NET Core
Content Source: articles/azure-app-configuration/quickstart-aspnet-core-app.md
Service: azure-app-configuration
GitHub Login: @yegu-ms
Microsoft Alias: yegu

Thanks for the feedback! We are currently investigating and will update you shortly.

Thank you @davidekarasek for your feedback. Assigning this to @yegu-ms to further evaluate the doc enhancement request and update it accordingly.

In the meantime, can someone just write out the steps to make sure that a .Net SendGrid app or service can run under IIS 10 on Azure? Is there any special configuration?
The IIS 7.5 example has irrelevant information since there is no SMTP allowed on Azure, as far as I've been told.  That's the specific clarification I'm looking for, and the reason we're using the SendGrid email service in the first place is because SMTP is not allowed on Azure.
-David

@davidekarasek The .NET Core quickstart shows how to access App Configuration from .NET Core code. There is no special configuration required. The service provider plugs directly into the .NET configuration system.
#please-close

Thank you. I was able to get this to work inside a Web API controller.
I had to change this:* var response = await client.SendEmailAsync(msg);*
to this:* SendGrid.Response* response = await client.SendEmailAsync(msg).
ConfigureAwait(false);
I needed to capture the response object to return to the client (indirectly
by adding httpStatusCode in the response to our app's custom Summary class)
Second, since this is a web request called from a generic web client via an
AJAX post, ConfigAwait(false) is chained to the await method call.
Without this, the call hangs, though the email is sent.
Also, I needed to set up the code so it can send an email from our HTML5
client, which is just JavaScript.
    public class Summary
    {
        public string Status { get; set; }
        public bool Success { get; set; }
    }

public class Email
{
    public string ToAddress { get; set; }
    public string ToName { get; set; }
    public string FromAddress { get; set; }
    public string FromName { get; set; }
    public string MessagePlainText { get; set; }
    public string MessageHtml { get; set; }
    public string Subject { get; set; }
}

public class EmailController : ApiController
{
private CBRRescueAPI.Services.DataRepository DataRepository;
    public EmailController()
    {
        // uncomment to use a DataRepostory class
        // this.DataRepository = new DataRepository();
    }

    public JsonResult Post(Email email)
    {
        System.Web.Mvc.JsonResult jsonResult = null;
        jsonResult = SendMail(email);
        return jsonResult;

    }

    private System.Web.Mvc.JsonResult SendMail(Email email)
    {
        System.Web.Mvc.JsonResult jsonResult = null;
        Summary Summary = new Summary();

        string jsonData = null;
        string apiKey = null;

        try
        {
            Execute().Wait();

            async Task Execute()
            {
                Environment.SetEnvironmentVariable("SENDGRID_API_KEY",

"MyKey");
                apiKey =

Environment.GetEnvironmentVariable("SENDGRID_API_KEY");
var client = new SendGridClient(apiKey);
var from = new EmailAddress(email.FromAddress,
email.FromName);
var subject = email.Subject;
var to = new EmailAddress(email.ToAddress,
email.ToName);
var plainTextContent = email.MessagePlainText;
var htmlContent = email.MessageHtml;
var msg = MailHelper.CreateSingleEmail(from, to,
subject, plainTextContent, htmlContent);
SendGrid.Response response = await
client.SendEmailAsync(msg).ConfigureAwait(false);
Summary.Status = response.StatusCode.ToString();
Summary.Success = response.StatusCode ==
System.Net.HttpStatusCode.Accepted;
jsonData = JsonConvert.SerializeObject(new
{
Summary
}, Formatting.Indented);
}
        }
        catch (Exception ex)
        {
            Summary.Success = false;
            Summary.Status = ex.Message.ToString();

            jsonData = JsonConvert.SerializeObject(new
            {
                Summary
            }, Formatting.Indented);
        }

        // Return Json Result
        jsonResult = new System.Web.Mvc.JsonResult { Data = jsonData,

JsonRequestBehavior = JsonRequestBehavior.AllowGet };
        return jsonResult;

    }

}

}
On Thu, May 16, 2019 at 1:52 PM Ye Gu<EMAIL_ADDRESS>wrote:

@davidekarasek https://github.com/davidekarasek The .NET Core quickstart
https://docs.microsoft.com/en-us/azure/azure-app-configuration/quickstart-dotnet-core-app
shows how to access App Configuration from .NET Core code. There is no
special configuration required. The service provider plugs directly into
the .NET configuration system.
#please-close
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/31144?email_source=notifications&email_token=ABRVAFJTUF6XVXGA3SBBFC3PVWNOHA5CNFSM4HMT2PRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVSSOJY#issuecomment-493168423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRVAFL5SGYUHQPU6YQ4TITPVWNOHANCNFSM4HMT2PRA
.

--
David Evan Karasek
<EMAIL_ADDRESS>


Make IMono awaitable

This is only an idea: as IMono<> essentially represents an eventually received value, it makes it quite close in mind to what Task<> can do. To increase interoperability with existing .NET code, it could implement custom awaiter methods and allow to be returned directly from async/await code.
C# allows to build custom awaiters using indirect API, which could be consolidated into two interfaces (representing iterator pattern and implemented by Task):
interface IMono<T>
{
    IMonoAwaiter<T> GetAwaiter();
}

interface IMonoAwaiter<T> : INotifyCompletion
{
    bool IsCompleted { get; }
    void OnCompleted(Action continuation);
    T GetResult();
}

// use
public async IMono<int> ComputeInner()
{
    return Mono.From(() => 1);
}

public async Task<User> ComputeOuter()
{
    var id = await ComputeInner();
    return await db.GetUserAsync(id);
}

This way you can not only build monos from tasks, but also be able to use monos in async/await code at zero cost.

Hi. This project is currently not maintained.


support custom linter

ale is awesome 👍 ale has a large builtin linter set, and still have many PR to add or fix linter. Define a linter is easy, but define a linter in my own vimrc is no so easy.
After reading ale's help doc, I write some code in my vimrc like:
" ...
call ale#linter#Define('php', {
                        \   'name': 'foo',
                        \   'executable': 'foo',
                        \   'command_callback': 'AleFooCommand',
                        \   'output_stream': 'stdout',
                        \   'callback': 'AleFooCallback',
                        \})

It works! The linter foo is enabled for php file. However, the linter foo is the only linter enabled for php. All the builtin linters have been disabled!!!
I have no choice but check the code. It reads the ale#linter#Define method will fill the variable s:linters. If we call ale#linter#define in vimrc, the s:linters will be none empty, and then ale#linter#GetAll will return without loading the builtin linters under ale_linters.
What should we do?
Maybe we could offer a g:ale_post_linter_loading option to set an closure. After loading all builtin in linters and before return them, we let ale#linter#GetAll call the closure defined in g:ale_post_linter_loading, and make it possible to add custom linter on fly.

By the way, ale has a huge builtin linter sets does not mean all linters of all filetypes should be added into the ale_linters dir. As ale is a great framework. It make sense to maintain a core builtin linters to satisfy the common usage, and make the user be able to add their own linters easily, without changing the ale code base. This paragraph is just a personal thought on linter. Just for your information.

You should define your linters inside your runtime path in a directory with the format ale_linters/<filetype>/<linter_name>.vim. ALE loads all linters like so:
execute 'silent! runtime! ale_linters/' . a:filetype . '/*.vim'

You could create an ale_linters directory inside your ~/.vim directory, for example. (Or whatever directory name Windows uses, if you're on Windows.)
I'll make a note to add this information to the Vim help file. Defining linters inside a vimrc file is not supported.

I'll also note, I don't intend on breaking compatibility with any custom linters defined for ALE until version 2.0.0. I'm following semver semantics. So you should expect any custom linters to continue working until then. (If they don't, I will fix it.)


feat(createGlobalState): improve type inference

Description
Provide overloads for case when initialState were provided, so currentValue is always type of S.
Solves Object is possibly 'undefined'.(2532) error while accessing hook value.
Type of change

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

Checklist

[x] Read the Contributing Guide
[x] Perform a code self-review
[ ] Comment the code, particularly in hard-to-understand areas
[ ] Add documentation
[ ] Add hook's story at Storybook
[x] Cover changes with tests
[ ] Ensure the test suite passes (yarn test)
[ ] Provide 100% tests coverage
[ ] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[ ] Make sure types are fine (yarn lint:types).

I will work on the checking ts types in tests here


Allow opting-out of response headers modification when auto-decompression is enabled

Whenever reqwest receives a compressed response, and the corresponding decompressor is enabled, both Content-Encoding and Content-Length are removed from the response headers’ set.
This PR adds decompress_without_header_modification() to the ClientBuilder for opting out of that behavior.

Rather than adding yet another flag on the clientBuilder, I wonder if it would be better to offer a way to modify the response's decompressor after it has been constructed.

Users interested in Content-Encoding and Content-Length can initially disable decompression, extract the mentioned headers and then re-enable decompression.
Users can select the decompressor for responses that have been constructed from http::Response.

Closing this as users can always use their own decompression mechanism which doesn't modify response headers instead of the built-in one.
For future reference, here is one way to do it:
use brotli::Decompressor as BrotliDecoder;
use flate2::read::{GzDecoder, ZlibDecoder};

pub enum CompressionType {
    Gzip,
    Deflate,
    Brotli,
}

fn decompress<'a>(
    reader: &'a mut impl Read,
    compression_type: Option<CompressionType>,
) -> Box<dyn Read + 'a> {
    match compression_type {
        Some(CompressionType::Gzip) => Box::new(GzDecoder::new(reader)),
        Some(CompressionType::Deflate) => Box::new(ZlibDecoder::new(reader)),
        Some(CompressionType::Brotli) => Box::new(BrotliDecoder::new(reader, 4096)),
        None => Box::new(reader),
    }
}

This PR uses the same approach but adds more wrappers to distinguish between IO and decoding/decompression errors.


jquery 'too much recursion' error when showSearchInputInDropdown is false

I have the following piece of code:
function set_subtipo_espectaculo_selectivity() {
    $('#subtipo').selectivity({
        allowClear: false,
        placeholder: 'Seleccione un subtipo de espectáculo',
        showSearchInputInDropdown: false
    });

Which produces this error:
too much recursion
/script/jquery.min.js
Line 4614

But if I comment showSearchInputInDropdown it works perfectly. Now, the code with or without the error does its job, but I find it odd to produce such error.

Same problem with this code:
$("#selector").selectivity({
    allowClear: false,
    showSearchInputInDropdown: false,
});

Any solutions yet?

Tío. Si inicializas el$ ('#subtipo').selectivity en disable. Y en tu función set_subtipo_espectaculo_selectivity lo habilitas??

@dominicmartin Nothing yet.
@Oxicode Simplemente lo inicializo en $(document).ready(function () { set_subtipo_espectaculo_selectivity() });

Hey guys, sorry for the late reply! I have investigated the issue and started working on a fix. The proper fix is a bit complicated though, so please bear with me :) Hope to keep you posted!

Okay, I've pushed updated builds to the repository just now. Can you test whether they solve your problems? If it's fixed I would like to release a new version. Thanks!

I just tested it and the fix works. Thanks!

Good to hear! Hope to publish the new release soon!


Show ggrc logo

Hey @vladan-m this makes the logo visible, but there are a few issues:

Everything in #page-header gets replaced on the client side, so we shouldn't have any content there.
I removed .rowfluid, because the logo should probably be of a fixed width, also I don't think having .rowfluid with a single span12 element makes sense.
My solution breaks the header into two lines, but you can probably fix that, right?

@Smotko  Thanks a lot. I will check it out and let you know if I need some more help.


How to add EVM pallets to substrate full node with NPOS consensus ?

Can anyone explain me the step and version to add frontier pallets to existing substrate full node?

They might help you
https://github.com/chainx-org/frontier/commit/d93f5ffdaafa3471cda17557276df894fa770fc3
https://github.com/chainx-org/ChainX/releases/tag/v4.3.0


JotGLTexture.m line 208

in -[JotGLTexture unbind]

Number of crashes: 1
Impacted devices: 1

There's a lot more information about this crash on crashlytics.com:
https://fabric.io/milestonemade/ios/apps/com.milestonemade.looseleaf/issues/586431ea0aeb16625b890003

crash from #1687


zstd-sys: Don't use target* cfg in build.rs to fix Windows cross-compile

This issue got exposed with CC upgrading to 1.0.77 and now detecting the .S file extension to pass on to ml64.exe (MASM) on Windows; we don't have that on our cross-compiling (from Linux to Windows) CI setup, hence uncovered that this build script was using the target_os flag from the host in the build script to make a decision on what to compile for the target.

Curiously this implies the .S file must have compiled fine for us on cc 1.0.76 and prior, or somehow got skipped (expecting errors when ZSTD_DISABLE_ASM isn't defined...).

Indeed, thanks for identifying and fixing this issue!

Indeed as found in https://github.com/rust-lang/cc-rs/issues/754 the compiler was previously ignoring .s files, only looking at .asm.

Is it possible to make a bugfix release with this fix? This library lies upstream of a cross-compiled project I'd like to make a release for.

Just published zstd-sys 2.0.2.

As per https://github.com/rust-lang/cc-rs/issues/754#issuecomment-1325702826 I am in hindsight not entirely sure if this is the right solution: since it was compiling just fine before in a cross-compilation setup, were we perhaps having an advantage because clang-cl is available and could compile the ASM even for Windows targets?
If that's true, perhaps we should instead check/force the compiler to be used when cross-compiling, instead of disabling it outright because of expecting ml64.exe to be used.
If anything cc just backed out of the change and now uses clang-cl again for .S files (although the community doesn't seem to have agreed yet on that distinction) like it did before.


Application docs 404 on 1.7.x

As a user, while attempting to gain access to the application docs from the CF-server, I get 404 errors.
See here.

@sabbyanandan this seems to be working now.

Ah, I didn't clarify what is breaking. It is the app-links in the table. Here's an example.

Maybe {scs-app-starters-docs-htmlsingle} is in the Core, and CF-server docs don't have that attribute defined in it locally.


⚠ 2 Minutes de génie (gitlab page) has degraded performance

In f67a294, 2 Minutes de génie (gitlab page) (https://2mdg.gitlab.io/) experienced degraded performance:

HTTP code: 200
Response time: 695 ms

Resolved: 2 Minutes de génie (gitlab page) performance has improved in eb4329b.


font-awesome and air-gaps

We run a copy of the website on an air-gapped environment for easier reference for our analysts. Since the update to v14 we have experienced issues loading any page until explicitly cancelled. This is caused by client attempting to load font-awesome.min.css from https://cdnjs.cloudflare.com/ajax/libs/font-awesome/<version</css/font-awesome.min.css
I would like to suggest to include the font in the application to allow for offline hosting. The MIT license should allow for it.

We just addressed this in the latest version of the website today (version 4.1.0). Let us know if you have any issues with it!

The specific issue was fixed however I believe there is one more we should move locally. It doesn't affect performance or usability but the app is trying to access:
https://cdnjs.cloudflare.com/ajax/libs/uswds/3.7.1/fonts/source-sans-pro/sourcesanspro-regular-webfront.woff22
to which it was referred by
https://cdnjs.cloudflare.com/ajax/libs/uswds/3.7.1/css/uswds.min.css
This points me this to this line:
https://github.com/mitre-attack/attack-website/blob/fa7f502b74bf93886101449e72411c281179fae2/attack-theme/templates/general/base-template.html#L46

Hi @ForsetiJan, just a quick update to let you know that we have removed the USWDS CDN link from the base-template.


Update crate dependencies and rust edition

Simple PR to make the crate up-to-date.
Changelog:
bump crate version
update crate dependencies
update to latest rust edition

Moved to #30


Constructor's polymorphism bug

The settings of the sigma instances are not taken into account by the renderer when instantiating sigma with container as first argument instead of inside a first object argument:
for instance:
s = new sigma(
  'container',
  {settings: {
    drawEdges: false
  }});

displays edges, while:
s = new sigma({
  container: 'container',
  settings: {
    drawEdges: false
  });

does not.

@RouxRC, can you remind me whether this polymorphism is expected and/or documented?

nope, my bad, I guess I typed it from adapting examples but it does not seem like an official way to instantiate sigma, so you can close and forget about it if you like, although passing the container as first argument and settings as second would be my preferred choice


os.uname not supported on windows, use platform.uname

os.uname raises an exception on windows platform. using platform.uname instead should be compatible on all platforms.

Coverage decreased (-5.07%) to 88.406% when pulling 30d41e79d8328a9ef79579a0b0756e572958c4ee on bugchk:windows into 841d4638a389036469bed2ba4633e3a09de62709 on daniellawrence:master.

It seems to be an issue with travis since master now has the same error with python 2.6.
@daniellawrence What do you think we should do about this problem with travis ?

Hey @bugchk,
Thanks for taking the time to put this fix together :+1:
If you can git rebase your branch of the latest mast it should result in a good build.
the commands are going to look something like the below.
git remote add daniellawrence https://github.com/daniellawrence/graphitesend
git fetch all
git rebase remotes/daniellawrence/master
git push

Cheers,
Danny

Coverage remained the same at 93.478% when pulling 6ab656535e0b7c148d945858af081127531b4ada on bugchk:windows into 841d4638a389036469bed2ba4633e3a09de62709 on daniellawrence:master.

@daniellawrence Not quite sure if that went correctly. Let me know if it isnt and i can make a new pull request.
Thanks!
Chris


Tax Setting page - Text should be change

Describe the bug

Create Taxes From Here -> Create Tax,
No SubTax Added -> No Sub Tax Found
Provide some Description about this Template
Rupee symbol should be ₹

Rupee symbol should be Setting page

https://www.berrycast.com/conversations/67c2963b-6d37-5efd-aa8d-44ac7e4c4acb


Reverse-engineer the LED matrix driving Logic in FPGA

Hi,
This is a great work, guys! But it'll be even greater if the original LED matrix driving logic in FPGA can be reverse-engineered and shared here! I'm currently working on a project to develop a FPGA LED matrix display driver using Xilinx LX9. Would love to have some reference codes handy.
Thanks!

Let me try to answer your question in parts, going from output (LED matrix) to input (GbE):

The output format is HUB75, which is e.g. documented and implemented by Henner Zeller.
The mapping from HUB75 pins to J600/J601 pins is documented in doc/hub75b_hat.md
The mapping from J600/J601 pins to FPGA pins is outlined in doc/hardware.md
Other FPGA pins are described there as well
The mapping from the GbE ports (PHY0/PHY1) to the FPGA pins is outlined there as well.
So the one thing you are looking for probably (me too, BTW), is a documentation of the description of the network protocol?

This is a great work, guys! But it'll be even greater if the original LED matrix driving logic in FPGA can be reverse-engineered and shared here! I'm currently working on a project to develop a FPGA LED matrix display driver using Xilinx LX9. Would love to have some reference codes handy.

Before closing this issue, allow me to add a shameless link to the RTL for the FPGA that drives my LED cube. My code is written is SpinalHDL, but there should be plenty of Verilog implementations for HUB75 drivers.

@MarcelWaldvogel Yes, I'm on 6th line ,looking for Doc. to turn on firs led with RGB value no matter which language used on system )p


Add good explaination what's wrong on failed tests

Example output:
IA32_FEATURE_CONTROL: FAIL

It should display a text what's broken/ what's to do here to fix it.

Print required size of memory ranges if possible.
Give advice which Chapter in document XXX to consolidate


Update dependencies table to use TBB 4.4.6

As suggested by @Idclip in this PR (https://github.com/AcademySoftwareFoundation/openvdb/pull/416), bumping the minimum version dependencies table for TBB from 4.4 to 4.4.6.
We have been successfully building against 4.4.6 for over a month in our CI and I haven't seen a single memory allocation bug that we sporadically ran into using 4.4.0, so it looks like this was a good guess.

Can you also bump the MINIMUM_TBB_VERSION cmake variable in the root cmake?

Can you also bump the MINIMUM_TBB_VERSION cmake variable in the root cmake?

Good catch, done.

Can you also bump the MINIMUM_TBB_VERSION cmake variable in the root cmake?

Good catch, done.

I had to revert this change unfortunately - include/tbb/tbb_stddef.h doesn't define the patch version so CMake only knows major.minor for it's version.

I had to revert this change unfortunately - include/tbb/tbb_stddef.h doesn't define the patch version so CMake only knows major.minor for it's version.

Ah annoying, thanks for trying!


g++/gcc cannot find header files in/or libtensorflow_cc.so

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04 on docker (image: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04)
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): source
TensorFlow version: r2.3
Python version: 3.7.6
Installed using virtualenv? pip? conda?: No
Bazel version (if compiling from source): 3.1.0
GCC/Compiler version (if compiling from source): 7.5.0
CUDA/cuDNN version: 10.1/7.6
GPU model and memory: RTX 2080 Super - 8GB

Describe the problem
I'm building tensor flow from source for a C++ project using the guide here: https://www.tensorflow.org/install/source
I can generate the .so files using the bazel build however, when i try to link the lib to my program, i get
fatal error: tensorflow/cc/saved_model/loader.h: No such file or directory
Location of build files:
root@167c90dbc0fe:~# ls -l /tensorflow/bazel-bin/tensorflow/
total 427692
drwxr-xr-x  5 root root      4096 Sep 17 19:17 c
drwxr-xr-x  6 root root      4096 Sep 17 19:16 cc
drwxr-xr-x  6 root root      4096 Sep 17 18:28 compiler
drwxr-xr-x 19 root root     12288 Sep 17 19:19 core
lrwxrwxrwx  1 root root        21 Sep 17 19:19 libtensorflow_cc.so -> libtensorflow_cc.so.2
lrwxrwxrwx  1 root root        25 Sep 17 19:19 libtensorflow_cc.so.2 -> libtensorflow_cc.so.2.3.0
-r-xr-xr-x  1 root root 399797080 Sep 17 19:19 libtensorflow_cc.so.2.3.0
-r-xr-xr-x  1 root root    178414 Sep 17 18:39 libtensorflow_cc.so.2.3.0-2.params
lrwxrwxrwx  1 root root        32 Sep 17 18:30 libtensorflow_framework.so.2 -> libtensorflow_framework.so.2.3.0
-r-xr-xr-x  1 root root  37893936 Sep 17 18:30 libtensorflow_framework.so.2.3.0
-r-xr-xr-x  1 root root     47188 Sep 17 18:20 libtensorflow_framework.so.2.3.0-2.params
drwxr-xr-x 10 root root      4096 Sep 17 19:06 stream_executor

Source file: load_saved_model.cpp
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include "tensorflow/cc/saved_model/loader.h"

using namespace std;

int  main(int argc, char* argv[]){
    printf("Will load and serve a saved model...")
}

Compiling the source file using the following:
g++ -L/tensorflow/bazel-bin/tensorflow/ -ltensorflow_cc -ltensorflow_framework  -o /object_detection/load_saved_model -c /object_detection/load_saved_model.cpp
results in:
root@167c90dbc0fe:/object_detection# g++ -L/tensorflow/bazel-bin/tensorflow/ -ltensorflow_cc -ltensorflow_framework -I/tensorflow/bazel-bin/  -o /object_detection/load_saved_model -c /object_detection/load_saved_model.cpp
/object_detection/load_saved_model.cpp:4:10: fatal error: tensorflow/cc/saved_model/loader.h: No such file or directory
 #include "tensorflow/cc/saved_model/loader.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Provide the exact sequence of commands / steps that you executed before running into the problem

git clone https://github.com/tensorflow/tensorflow.git
git checkout r2.3
bazel clean
root@167c90dbc0fe:/tensorflow# ./configure

You have bazel 3.1.0 installed.
Please specify the location of python. [Default is /usr/bin/python3]:

Found possible Python library paths:
  /usr/local/lib/python3.6/dist-packages
  /usr/lib/python3/dist-packages
Please input the desired Python library path to use.  Default is [/usr/local/lib/python3.6/dist-packages]
/usr/local/lib/python3.6/dist-packages
Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: N
No OpenCL SYCL support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]: N
No ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.

Do you wish to build TensorFlow with TensorRT support? [y/N]: N
No TensorRT support will be enabled for TensorFlow.

Found CUDA 10.1 in:
    /usr/local/cuda-10.1/targets/x86_64-linux/lib
    /usr/local/cuda-10.1/targets/x86_64-linux/include
Found cuDNN 7 in:
    /usr/lib/x86_64-linux-gnu
    /usr/include

Please specify a list of comma-separated CUDA compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus. Each capability can be specified as "x.y" or "compute_xy" to include both virtual and binary GPU code, or as "sm_xy" to only include the binary code.
Please note that each additional compute capability significantly increases your build time and binary size, and that TensorFlow only supports compute capabilities >= 3.5 [Default is: 3.5,7.0]: 3.5, 7.0, 7.5

Do you want to use clang as CUDA compiler? [y/N]: N
nvcc will be used as CUDA compiler.

Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]:

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]:

Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: N
Not configuring the WORKSPACE for Android builds.

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details.
	--config=mkl         	# Build with MKL support.
	--config=monolithic  	# Config for mostly static monolithic build.
	--config=ngraph      	# Build with Intel nGraph support.
	--config=numa        	# Build with NUMA support.
	--config=dynamic_kernels	# (Experimental) Build kernels into separate shared objects.
	--config=v2          	# Build TensorFlow 2.x instead of 1.x.
Preconfigured Bazel build configs to DISABLE default on features:
	--config=noaws       	# Disable AWS S3 filesystem support.
	--config=nogcp       	# Disable GCP support.
	--config=nohdfs      	# Disable HDFS support.
	--config=nonccl      	# Disable NVIDIA NCCL support.
Configuration finished

bazel build --jobs=8 --verbose_failures --config=cuda -c opt //tensorflow:libtensorflow_cc.so

Target //tensorflow:libtensorflow_cc.so up-to-date:
  bazel-bin/tensorflow/libtensorflow_cc.so
INFO: Elapsed time: 3582.131s, Critical Path: 175.91s
INFO: 11806 processes: 11806 local.
INFO: Build completed successfully, 16884 total actions

Run the load_saved_model.cpp

root@167c90dbc0fe:/object_detection# g++ -L/tensorflow/bazel-bin/tensorflow/ -ltensorflow_cc -ltensorflow_framework -I/tensorflow/bazel-bin/  -o /object_detection/load_saved_model -c /object_detection/load_saved_model.cpp

/object_detection/load_saved_model.cpp:4:10: fatal error: tensorflow/cc/saved_model/loader.h: No such file or directory
 #include "tensorflow/cc/saved_model/loader.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Additional info
How can i link the generated .so files to my cpp program?
I also tried

moving the .so files to /usr/lib/x86_64-linux-gnu/ followed by ldconfig
Adding the .so location to a .conf file and then adding the conf file to ./etc/ld.so.conf.d which didn't help either.

Thanks

I think that you need to include (-I) tensorflow/cc/saved_model/ from the source code dir.

It was an issue with the build targets which I could figure out from 40538 . Sad that the official build from source leaves much to desired
Changing my bazel build command to
bazel build --jobs=8 --config=v2 --copt=-O3 --copt=-m64 --copt=-march=native --verbose_failures //tensorflow:install_headers //tensorflow:tensorflow //tensorflow:tensorflow_cc //tensorflow:tensorflow_framework //tensorflow/tools/lib_package:libtensorflow

generates the header files. (I was missing esp  //tensorflow:install_headers earlier)

@borarak Yes //tensorflow:install_headers is not documented.
Can you open a new Doc type issue specific for this (or a PR if you can) Thanks.

@bhack Sure, i will raise an issue and try to do a PR this weekend, thanks

I'm yet to raise a PR but if it helps anybody I have documented all information for installation and setup of the C++ API here: https://github.com/borarak/tensorflow2_cpp

This is my gist explaining how to compile TF .so and also create headers step-by-step: https://gist.github.com/rangsimanketkaew/f372eca5ded50ca9a0cc61d3021a1c3a


Use SBO suite projects in aggregated ES/SPARQL views

In fact, the list of projects fetched from SBO suite endpoint will be used to create:

CrossProject resolver
Aggregated ES and SPARQL views

Ok, I'll merge it and will see if it works.


Update gulp-spawn-mocha to 3.3.1

Signed-off-by: Bob Wombat Hogg<EMAIL_ADDRESS>

Coverage remained the same at 95.787% when pulling 7561dd2feefc6527b6433c8adb84b9c1b0745e1a on rhoggSugarcrm:gulp-spawn-mocha-3.3.1 into 8df3a924358885d7a2285f9ea06948172611cb5e on sugarcrm:master.


Overhaul qemu disks

This change fully re-implements the way qemu disks are handled to be more in accordance with how proxmox handles qemu disks. as discussed in https://github.com/Telmate/terraform-provider-proxmox/issues/778 and https://github.com/Telmate/proxmox-api-go/issues/187

feature has been implemented.
documentation has been updated.
examples have been updated.

sadly this pull undoes https://github.com/Telmate/terraform-provider-proxmox/pull/767 as the wwn is not yet supported in https://github.com/Telmate/proxmox-api-go
@mleone87 I did some manual testing and i think it would all work. But would it be an idea to create a release candidate and notify the users who where experiencing the issues?

nice point @rogerfachini

@rogerfachini if i understand you correctly then the ide, sata, scsi, virtio blocks would each have cdrom, disk, passthrough as an unordered list.
The downside of this is that validation during the planning phase would not be possible. Instead it will catch the error during the execution phase.

So I've tried reworking the schema to:
disks {
  scsi {
    disk {
      size = 8
      number = 0
    }
    disk {
      size = 32
      number = 1
    }
  }
}

But when disk 0 gets removed it wants to recreate the existing disks.
The planning stage looks as follows:
~ disks {
  ~ scsi {
    - disk {
      - size = 8
      - number = 0
      }
    - disk {
      - size = 32
      - number = 1
      }
    + disk {
      + size = 32
      + number = 1
      }
    }
  }

So far I've tried typeSet (unordered list) and typeList (ordered list).

Hey, any updates on this issues? Looking foreword to get this PR merged as soon as possible

Currently, i don't know how to implement the schema suggested by @rogerfachini . As far as i understand from the Terraform documentation, we would need to do the state management ourselves. Currently, this PR is blocked by the decision on which schema needs to be implemented.

Hi!
I really want to see this PR merged.
We use a provider to manage a VM with 3-4 disks. The provider breaks its state and in fact it can only be used for primary VM deployment. His behavior is not predictable. Because of this, we lost industrial VMs several times.
I would be very grateful if this PR gets into the master.

What about this feature ?

@Tinyblargon ready to merge?

@Tinyblargon If I can help let me know

@mleone87 I've started working on this again in a new branch. Yesterday, i tried to merge master back into it, but the amount of merge conflicts is astounding.

Superseded by #892


[FLINK-19873][Formats/json]Skip DDL change events for Canal data

What is the purpose of the change
Skip DDL change events for Canal data
Brief change log
Skip DDL change events for Canal data
Verifying this change
This change is already covered by existing tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

@wuchong Finished.

Rebased and trigger the build again.

Build is passed: https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=8854&view=results
Merging...


Migrate server from spyder-terminal

Fixes #1

As this is a new repo, feel free to work on master for now rather than opening pull requests. ;-)


as an addon

why don't you try to make it as an addon for automatic1111.  just a suggestion

why don't you try to make it as an addon for automatic1111.  just a suggestion

I thought on that but it could limit my future implementation of new brushes which, on web applications, performance and poor tablet event handling can undermine the user experience.


Is there a place we could call pyplot.ion() safely?

It would be nice if we could do this for the user to minimize the bluesky "hello world" code, but we should only do it if (1) there is a clear way to override it and (2) we can do it in a context where the user has signaled that they want interactive plots. For example, import bluesky should certainly not affect the state of pyplot.ion()/ioff(). But maybe using LivePlot(...) could.

I am concerned that there is no "safe" place to do this that will not eventually be surprising or confusing.
As we move towards GUIs for interactive viz and / or more helper scripts to do the actually RE initialization, we can pass on putting this someplace in the bluesky codebase.


Separate touchpad movement script into smaller, more composable scripts

The VRTK_TouchpadMovement script provides a lot of functionality in a single script.
This will also require VRTK_TouchpadMovement and VRTK_TouchpadWalking to be deprecated
A proposal is to split this up into smaller chunks like so:
Touchpad Interaction Script
new script called VRTK_TouchpadInteraction that deals with the basics of what happens when you touch the touchpad. You would also apply the script to the controller alias rather than it being generic.
It has the following parameters:

GameObject: Control Object Override - If this is blank then the action will be applied to the PlayArea, if it's provided then the action is applied to the game object.
ButtonAlias: Primary Activation Button - If this is not undefined, then the specified button has to be pressed to initiate the action
ButtonAlias: Action Modifier Button - If this is not undefined, then the specified button when pressed will call the action's modifier (e.g. multiply speed)
Script: X Axis Action - The script to run if the x axis on the touchpad changes. (if one not provided then auto create the slide action)
Script: Y Axis Action - The script to run if the y axis on the touchpad changes. (if one not provided then auto create the slide action)

Touchpad Actions
The actions all adhere to a common interface and provide an action to happen upon the touchpad axis changing. (these may need to be restricted to X/Y axis)
Base Touchpad Action
An abstract that all actions inherit

Enum: Forward Direction Device {This Controller, Headset, Controlled GameObject} - The object to use for the forward direction (the action when the Y axis changes).

This Controller is the forward of the controller with the script attached.
Headset is the forward of the HMD
Controlled GameObject is the forward of the game object being controlled (e.g. PlayArea)

float: X Axis Deadzone - The threshold of the X Axis to ignore input presses from.
float: Y Axis Deadzone - The threshold of the Y Axis to ignore input presses from.

Slide Touchpad Action
Will cause the controlled gameobject to slide around.

float: Max Speed - The maximum speed the object will move.
float: Deceleration - The speed in which the object decelerates when the axis isn't being touched.
float: Speed Modifier Multiplier - The number to multiply the speed by if the modifier button is pressed.

Warp Touchpad Action
Causes the object to warp to a new position
Rotate Touchpad Action
Causes the object to rotate around an axis

Complete with https://github.com/thestonefox/VRTK/pull/906


deploy-director failed with "ssh: no key found"

Deploy with Concourse 2.5.1:
Execution traces:
Deploying Director @ https://opsman.xxx ...
=================================================================================
attempting to apply changes to the targeted Ops Manager
{"type": "step_started", "id": "bosh_product.deploying"}
===== 2017-01-16 22:10:07 UTC Running "bosh-init deploy /var/tempest/workspaces/default/deployments/bosh.yml"
Deployment manifest: '/var/tempest/workspaces/default/deployments/bosh.yml'
Deployment state: '/var/tempest/workspaces/default/deployments/bosh-state.json'

Started validating
  Validating release 'bosh'... Finished (00:00:09)
  Validating release 'bosh-azure-cpi'... Finished (00:00:00)
  Validating release 'uaa'... Finished (00:00:17)
  Validating cpi release... Finished (00:00:00)
  Validating deployment manifest... Finished (00:00:00)
  Validating stemcell... Finished (00:00:24)
Finished validating (00:00:52)

Started installing CPI
  Compiling package 'ruby_azure_cpi/87c15bcd83a9a6011b6001be68e58c59ec1c5dcb'... Finished (00:01:21)
  Compiling package 'bosh_azure_cpi/d1a2205e5fb47cfdbe8a99e21f506b2f9e67999b'... Finished (00:00:47)
  Installing packages... Finished (00:00:00)
  Rendering job templates... Finished (00:00:00)
  Installing job 'azure_cpi'... Finished (00:00:00)
Finished installing CPI (00:02:10)

Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-azure-hyperv-ubuntu-trusty-go_agent/3312.12'... Finished (00:01:28)

Started deploying
  Creating VM for instance 'bosh/0' from stemcell 'bosh-stemcell-7b23d0d5-400b-42c0-9135-34c533f09f52'... Finished (00:03:49)
  Waiting for the agent on VM 'copsmanvalroot-fef273b6-da7d-4193-5965-feb08bfcf53e' to be ready... Failed (00:00:00)
Failed deploying (00:03:51)

Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)

Command 'deploy' failed:
  Deploying:
    Creating instance 'bosh/0':
      Waiting until instance is ready:
        Starting SSH tunnel:
          Parsing private key file '/tmp/bosh_ec2_private_key.pem':
            ssh: no key found
===== 2017-01-16 22:18:32 UTC Finished "bosh-init deploy /var/tempest/workspaces/default/deployments/bosh.yml"; Duration: 504s; Exit Status: 1
{"type": "step_finished", "id": "bosh_product.deploying"}
Exited with 1.
could not execute "apply-changes": installation was unsuccessful

This error happens if two parameters pcf_ssh_key_pub and pcf_ssh_key_priv were set. I have no error in deploy-director if there two parameters set with value 'generate'.


Can't re-open Franz, missing menubar icon.

I'm running meet franz 5.0.0 -15beta and When I close it I need to login and out from my Ubuntu desktop to open it again.
It don't have any menubar icon either - this is annoying as if I close the window I need to out and in again.

Can you please update your initial issue with all the necessary information like macOS version, exact Franz version and so on. Please use this template, it makes tracking and reproducing issues much easier.

See: https://github.com/meetfranz/franz/issues/786#issuecomment-438227456


Unit tests for config module

Description
Unit tests for config module
Type of change

Unit tests (no changes in the code)

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #104 (3d6c801) into master (c38764e) will increase coverage by 8.78%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   10.50%   19.28%   +8.78%
==========================================
  Files           3        3
  Lines         419      420       +1
==========================================
+ Hits           44       81      +37
+ Misses        370      328      -42
- Partials        5       11       +6

Impacted Files
Coverage Δ

config.go
68.51% <100.00%> (+68.51%)
:arrow_up:

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 c38764e...3d6c801. Read the comment docs.


Issue: 3474  Update organizations_controller#update

Remove hard coded flash alert and add validation error messages
Issue:3474

Resolves #3474
Description

Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update
Documentation update

How Has This Been Tested?

Screenshots

@jadekstewart3 @lokisk1155 had already had this assigned to him and has an existing PR up: #3494
Is it OK to close this and you can pick up something else?

Ahhh, yes of course. I apologize, Im new here, and am tying to get a feel for how this works.

No worries! Thanks for your help!


fix schema compare dropdown not selecting correct db when multiple active connections

This PR fixes https://github.com/microsoft/azuredatastudio/issues/12779. This missing parenthesis was causing the string comparison to fail when looking for the previously selected server connection, so it was defaulting to the most recent connection when there were multiple active connections.
https://github.com/microsoft/azuredatastudio/blob/a3cddbc8aadf4106fd9877b111ec64b3d609cc61/extensions/schema-compare/src/dialogs/schemaCompareDialog.ts#L559-L564

Pull Request Test Coverage Report for Build 723612468

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.004%) to 43.53%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 723580283:
0.004%

Covered Lines:
26113

Relevant Lines:
54825

💛  - Coveralls

This doesn't fully solve the problem. If the pre-populated server is the first in the list, the issue is resolved. But if the server (that we are using for schema compare in Source) is second in list, the pre-populated server info in Source falls back to the first server (and the first listed database).

@SakshiS-harma  not sure i fully understand - this changes compare server names (not database names) - so why the right server name wont be picked?

@udeeshagautam the problem @SakshiS-harma found was when connecting with windows auth instead of username and password. "Default" gets put in parenthesis for the connection names in the dropdowns for windows auth, but that wasn't getting set in the sourceEndpointInfo, so the string comparison wasn't working correctly.

Ah thanks both for the clarification!


The scraper is now return status 403

Todo:

test cookies
test headers

Happens in:

product detail retrieval get_shopee_product_detail()
shop's username conversion (basic shop information endpoint) >> need to use shop_id digit (not a smooth behaviour)

@akherlan
Hi, I have the same problem.
Now Shopee returns 403 to the request of https://shopee.com/api/v4/item/get..
Do you have any ideas to solve the problem?

Hi @ryomasuda4611! Still can't work on this project. But I found others having similar problems too on StackOverflow.


V2: replace URL types with a 3rd party library

As per #4470, the URL types - everything inheriting from AnyUrl are messed up, it may just be weird edge cases that don't work, but getting URLs to be validated correct is a really hard task and shouldn't be included in pydantic.
In V2, we should use a 3rd party library for URL parsing and validation, ideally in rust as part of pydantic-core.

Also #1665 - remove user_required.

I can recommend yarl.URL

This is done, we're using the URL crate from rust.


Add features to disable commands or tags

This pull request allows for tags as a whole and specific commands to be enabled or disabled either in the entire server or in a specific channel

We also need to add a table to the database with this pull 😄


More flexible parameterized statements

I am creating whole SQL in sequence of if-else statements which can result in something like this
sql = """
SELECT *
FROM a
WHERE x = $1 AND y = $3
"""
ps = db.prepare(sql)
ps(1, 2, 3)

But this returns postgresql.exceptions.IndeterminateTypeError. Is there any work around. It is quite difficult to re-index all parametrized statements. I see in other libraries non index version, just position or name based vesrion.
sql = """
SELECT *
FROM a
WHERE x = $ AND y = $
"""
ps = db.prepare(sql)
ps(1, 3)

or

sql = """
SELECT *
FROM a
WHERE x = $x AND y = $y
"""
ps = db.prepare(sql)
ps(x=1, foo=2, y=3) or ps({x:1, foo:2, y:3})

I don't think so.
If you want to use parameterized statements and maintain the invariant at the SQL level, I think you will have to refer to $2.
SELECT ...
WHERE x = $1 AND y = $3 AND COALESCE($2::int = $2, TRUE)

Not sure if there's a more succinct way to consume $2 or not. The transfer waste here is insignificant given low overhead(frequency or argument size). Given a high overhead, naturally, it would be preferable to drop the additional argument on the client side.
The alternative is to adjust the parameters ($1 and $2) and discard the unwanted value using a lambda or equivalent:
ps = db.prepare(...)
return (lambda x,y,z: ps(x,z))

The downsides here is that you have to adjust the indexes and the lambda ends up hiding the Statement instance. You'll have to choose the desired execution method at the point the lambda is created (.rows, .__call__, .chunks, etc).
Another alternative is packing the parameter set into a single value using JSON, hstore, or even ARRAY where
you would access the parameters relative to $1. The downside (or upside in some cases :) here is that you essentially circumvent the driver's type handling. This is similar to using symbolic parameters.
Other Libraries
The examples you have given of alternative parameter forms both have their shortcomings in the context of this discussion.
The purely positional placeholders do not maintain the invariant (two parameters not three) and passing three arguments will either raise a TypeError(in python) or silently drop one of the arguments. It would, at least possibly, be ambiguous to the Statement interface which one should be dropped. Adding or removing placeholders would affect the statement's invocation signature.
The symbolically identified form has to make a similar choice. Drop the additional argument or raise an exception noting the reception of an unused argument. Presuming that it is acceptable for the Statement to drop arguments has risk. It could be the case that the wrong statement was being invoked. In fact, for consistency with Python's choice, it should raise a TypeError:
def kwonly(kw1=1, kw2=2):
    return kw1 + kw2

kwonly(kw1=10, notaparam=50, kw2=20)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: kwonly() got an unexpected keyword argument 'notaparam'

Okay, so Python allows a sink, **kw, for the exceptions, but it must be explicitly stated.
Generally
Personally, I consider the symbolic parameters (for both caller and callee) to be superior to indexed. While indexed is equally capable, you have to adhere to the constraint (normally) imposed by its succession on one side of the function or both. Conceptually, we're strictly interested in making the connection between a value held by the caller and a set of reference points in the callee.
The indexed form is likely reasonable as an implementation detail, but for human consumption? Not so much.
Closing, but feel free to followup.

Thanks for explanations. May be I did not explain my expectation clearly enough.

I agree that number of placeholders and parameters have to be equal.
I expect that passing parameters to prepared statement is defence against SQL injection
I would appreciate possibility of positional or named syntax as it seems to me as more flexible
As a workaround probably this syntax is also possible to consume $2 ($2 IN (NULL) IS NULL)
Finally I can manage in my if-else sequence to construct SQL with correctly indexed parameters. It is something like this, but this is what I would like to avoid

whereStr = 'WHERE a = $1'
sqlData = [a]
if b != None:
    whereStr += ' AND b = $2'
   sqlData.append(b)
elif c != None:
    whereStr += ' AND c = $3' if b != None else ' AND c = $2'
    sqlData.append(c)

sql = 'SELECT ..... {where}'.format(whereStr)
db.prepare(sql)(*sqlData)

py-postgresql is mostly interested in exposing what PostgreSQL offers via a Python interface. The dbapi20 driver has limited support for named parameters, but I would advise against its use.
The only way this driver will support positional or named syntax outside of dbapi20 is if PostgreSQL provided the feature itself.
When rendering a query in this fashion, an index state may be helpful:
import itertools
def index_generator():
    for i in itertools.count(1):
        yield "$" + str(i)

def mkwhere(b):
    allocp = iter(index_generator()).__next__

    whereStr = 'WHERE a = ' + allocp()
    if b is not None:
        bparam = allocp()
        whereStr += ... + bparam

    whereStr += ... + allocp()

    return whereStr

Thanks for tip. Finally I have something like this
sqlWhereTmpl = 'WHERE st.type = ${}'
sqlData = ['blue']

# more expression
if count != None:
        sqlWhereTmpl += ' AND st.count = ${}'
        sqlData.append(count)

sqlWhere = sqlWhereTmpl.format(*range(1,len(sqlData)+1))

Thanks for tip. Finally I have something like this
sqlWhereTmpl = 'WHERE st.type = ${}'
sqlData = ['blue']

# more expression
if count != None:
        sqlWhereTmpl += ' AND st.count = ${}'
        sqlData.append(count)

sqlWhere = sqlWhereTmpl.format(*range(1,len(sqlData)+1))