RFC: deprecation of cargo-apk/ndk-build in favor of x

Moving this into separate issue to increase discoverability.

I (and hopefully I'm not alone) should check out your tool and evaluate how much all the extra automation improves my workflow;

that would be the first step, really looking forward to get your feedback on this.

At the same time, evaluate what we're missing in contrast to cargo-apk, or just in general;

There are a couple of differences between cargo-apk and x --platform android:
2.1 cargo-apk uses readelf to automatically add third party libraries to apk. We could generalize it using llvm-objdump to make it work cross platform.
2.2 C++ has not been tested, think it's just a matter of including the libc++
2.3 cmake has not been tested, but think we agreed previously that cmake should fix any issues instead of us working around it
2.4 manifest is parsed from the manifest.yml android: manifest:  section. this is to enable the same workflow in flutter, rust and flutter/rust apps. should be mostly compatible (superset of existing manifest features converted from toml to yaml)
2.5 ndk-debug is not supported. I have a work in progress x lldb command which should be cross platform. this is on my todo list.
2.6 not all resource stuff is supported in the rust aapt port. mostly just allows setting a icon mipmap and launch screen, as flutter does it's own cross platform resource management. this is probably the biggest downside, but hardcore android devs likely use gradle instead of a prebaked tool like x or cargo-apk.
2.7 x currently repackages the android ndk (basically just takes the sysroot and leaves the rest). this means we currently only support the latest ndk. in the future we can see about supporting multiple ndk/sdk versions accross windows/macos/ios/android, at the moment you just get what we give you.

Set up a clear deprecation plan for cargo-apk. I don't want to maintain it and I don't think others should either, they should instead contribute to x;
I can perhaps take some of the burden of porting the bugfixes and features from here to x;

That would be cool, but let's start with 1 first :)

We deprecate and remove cargo-apk and ndk-build (caveat: we can also decide to keep ndk-build and slim it down to be useful for x and others).

By removing the reliance on shell/python scripts spread out through the ndk and doing everything in rust, ndk-build is not really that useful anymore. Instead there is a bit of code to handle each platform in various places without requiring much special handling for android. You can simply call cargo.use_ndk(path: &Path) or cargo.use_xwin(path: &Path) or cargo.use_ios_sdk(path: &Path).

I'm then not sure what to do with cargo-subcommand. Perhaps we need that crate pulled apart to have a separate library for the manifest format and parsing (perhaps including .cargo/config.toml). Some other tools already have/do that, doesn't a separate crate like it exist already?

Not sure about this one. Can probably move some of the code in xcli/src/cargo/mod.rs to cargo-subcommand. Another possibility would be to fold cargo-subcommand and xcli/src/cargo/mod.rs into a cargo utility crate inside the x monorepo, as I expect x to be the main "consumer".
Originally posted by @dvc94ch in https://github.com/rust-windowing/android-ndk-rs/pull/238#issuecomment-1089020231
cc cargo-apk contributors/maintainers: @msiglreith @francesca64 @katyo @JasperDeSutter
https://github.com/cloudpeers/x

that would be the first step, really looking forward to get your feedback on this.

Overall I'm quite happy with this:

Awesome to see automatic downloading of SDK tools, we built a similar thing over the weekend but having it integrated directly is great;
Not sure how everyone feels about downloading repacked NDKs/SDKs from your repo instead of the "official" version from the Android repo (even if it is straightforward to check how the CI put it together);
Perhaps I'd like to use the installed NDK on my system instead of redownloading, not sure if that's already configurable;
Indeed running in the problem of native code not compiling, sent a PR to fix the sysroot but it may need some more polishing;
Also missing libc++_shared.so as you mentioned below, that'll just need to be added;
Great to see logs for the current process and run appear directly!;
Would be awesome if it could work with -v color too :);
Could use some more verbose logging, in particular what target Build rust is running for, and what device is deployed to (just to make sure cmdline arguments come through correctly).

And that's where I'm at now. Will need to fix that libc++_shared.so dependency and then we'll see how it looks from there but I think this is as good/close as it gets!

There are a couple of differences between cargo-apk and x --platform android:
2.1 cargo-apk uses readelf to automatically add third party libraries to apk. We could generalize it using llvm-objdump to make it work cross platform.

We'll need to port that indeed to make Android library inclusion work.

2.2 C++ has not been tested, think it's just a matter of including the libc++

As mentioned above, needing libc++_shared.so indeed.

2.3 cmake has not been tested, but think we agreed previously that cmake should fix any issues instead of us working around it

I don't think we discussed cmake before, but we're not a fan of it in our project for requiring every user to install cmake. We've even replaced it with cc in one of our dependencies to be a bit faster and leaner (though that is of course a complete mess, since the project at hand has all their configuration in CMake which we either "replicated" in Rust or just hardcoded :vomiting_face:).

2.4 manifest is parsed from the manifest.yml android: manifest:  section. this is to enable the same workflow in flutter, rust and flutter/rust apps. should be mostly compatible (superset of existing manifest features converted from toml to yaml)

Sounds like serde coming in clutch, we can just move our original manifest structure from ndk-build in here? Someone just needs to update it with recent PRs.

2.5 ndk-debug is not supported. I have a work in progress x lldb command which should be cross platform. this is on my todo list.

cargo apk gdb was missing symbols for me too, hope this solution works a bit better. If it can somehow integrate with vscode lldb (ie automatically attach or whatever, when ran from the vscode terminal) that'd be amazing, but I have no idea if it's feasible.

2.6 not all resource stuff is supported in the rust aapt port. mostly just allows setting a icon mipmap and launch screen, as flutter does it's own cross platform resource management. this is probably the biggest downside, but hardcore android devs likely use gradle instead of a prebaked tool like x or cargo-apk.

I don't use any of this, don't remember if cargo-apk supported it even? Let's focus on app bundles etc first.

2.7 x currently repackages the android ndk (basically just takes the sysroot and leaves the rest). this means we currently only support the latest ndk. in the future we can see about supporting multiple ndk/sdk versions accross windows/macos/ios/android, at the moment you just get what we give you.

Yeah as mentioned above it'd be great if:

The NDK from official sources can be used;
A pre-installed NDK (through env vars) can be used instead of redownloading it - maybe even depending on a configured version in manifest.yml;
It seems x doctor shows system tools which can also originate from one of the Android sources (adb), perhaps they should be included and loaded from this repackaged/detected "NDK"?

Set up a clear deprecation plan for cargo-apk. I don't want to maintain it and I don't think others should either, they should instead contribute to x;
I can perhaps take some of the burden of porting the bugfixes and features from here to x;

That would be cool, but let's start with 1 first :)

1. is done, and I started with the first bugfix already :stuck_out_tongue:

We deprecate and remove cargo-apk and ndk-build (caveat: we can also decide to keep ndk-build and slim it down to be useful for x and others).

By removing the reliance on shell/python scripts spread out through the ndk and doing everything in rust, ndk-build is not really that useful anymore. Instead there is a bit of code to handle each platform in various places without requiring much special handling for android. You can simply call cargo.use_ndk(path: &Path) or cargo.use_xwin(path: &Path) or cargo.use_ios_sdk(path: &Path).

Let's deprecate ndk-build too then.

I'm then not sure what to do with cargo-subcommand. Perhaps we need that crate pulled apart to have a separate library for the manifest format and parsing (perhaps including .cargo/config.toml). Some other tools already have/do that, doesn't a separate crate like it exist already?

Not sure about this one. Can probably move some of the code in xcli/src/cargo/mod.rs to cargo-subcommand. Another possibility would be to fold cargo-subcommand and xcli/src/cargo/mod.rs into a cargo utility crate inside the x monorepo, as I expect x to be the main "consumer".

Is it xcli or xbuild btw :wink:?
Importing cargo-subcommand history into the x monorepo sounds like a good idea, yes (if you think there's a good use for it). Perhaps we need to merge or recreate open PRs first though.

2.1 cargo-apk uses readelf to automatically add third party libraries to apk. We could generalize it using llvm-objdump to make it work cross platform.

We'll need to port that indeed to make Android library inclusion work.

Opened an issue https://github.com/cloudpeers/x/issues/47

A pre-installed NDK (through env vars) can be used instead of redownloading it - maybe even depending on a configured version in manifest.yml;

sounds good

It seems x doctor shows system tools which can also originate from one of the Android sources (adb), perhaps they should be included and loaded from this repackaged/detected "NDK"?

maybe, although most linux distros, brew and choco have a way to install adb natively. I think this one is fine to just pick up from PATH. you need to use the system package manager for installing clang/llvm, openjdk, libimobiledevice anyway, although maybe some day someone builds a tool in rust that works for android, ios and desktop.

Is it xcli or xbuild btw?

Was a last minute name change because xcli was already taken on crates.io

It seems x doctor shows system tools which can also originate from one of the Android sources (adb), perhaps they should be included and loaded from this repackaged/detected "NDK"?

maybe, although most linux distros, brew and choco have a way to install adb natively. I think this one is fine to just pick up from PATH. you need to use the system package manager for installing clang/llvm, openjdk, libimobiledevice anyway, although maybe some day someone builds a tool in rust that works for android, ios and desktop.

For Windows we'll use clang/llvm from the Android NDK I suppose? Will be much easier to bundle adb there too, instead of having to document how to install adb manually or through one of the many different package managers that exist for Windows nowadays :disappointed:

Is it xcli or xbuild btw?

Was a last minute name change because xcli was already taken on crates.io

Shall we update the folder name too? Was a bit confusing to find xbuild under xcli, I thought that was just a helper crate at first :slightly_smiling_face:

Not sure if x should become a package manager. When it comes to setting up rust/clang/llvm, I think since rustup distributes most of it already, adding clang wouldn't be that far fetched. Like brew on macos choco is the defacto windows package manager, I think we can rely on it.

Shall we update the folder name too? Was a bit confusing to find xbuild under xcli, I thought that was just a helper crate at first slightly_smiling_face

Contacted the owner of the squated x crate. Still hopeful we might get a better crate name.

X does not need to become a package manager, it is already repackaging/bundling pieces from SDK/NDK and adb could come with that. I personally have no-one in my circle using choco nor knowing about it much, I guess its popularity depends on the field?
Here's hoping we can take over the x name (not even xcli) :grin:

well it's the package manager preinstalled on github action runners, which means it's on every windows machine I use :man_shrugging:

Justed tested the raqote example from the repository and the experience was quite nice so far, as it mostly worked out of the box (even on Windows!) - including automatic log output 👍
For now my only suggestion would be to re-use as much as possible of the prebuilt tools included in the ndk/sdk on Android, but that's already point of prev. discussion. Having to install llvm/adb (+ other tools?)/choco along with manually putting them into the path env variables on Windows can be annoying and error prone in case of version conflicts.

@MarijnS95 at some point we should pull the trigger on this. what are your current feelings towards rm -rf cargo-apk ndk-build?

@dvc94ch as just mentioned in #364 I don't feel ready for that yet until all the needed features have landed in xbuild; at the same time I'm growing more and more fond of cargo-apk's codebase :sweat_smile:

That's fine with me, but you can't complain if you don't get help maintaining it.

@dvc94ch I won't complain about needing help, but receiving a review is always appreciated. I do need help reviewing the non-deprecated ndk/ndk-sys crates though :wink:
Also keep in mind winit is still using cargo-apk in the CI, CC @rib and @msiglreith.


Bugfix - Added the hp_bh1750 library to the lib_deps list

This PR Resolves #447.
The dependency for the BH1750 light sensor was missing, causing the builds to fail. It looks like I forgot to add the hp_bh1750 library to the list of lib_deps in the platformio.ini file when I added the BH1750 sensor earlier this week. My apologies. Adding the library to the lib_deps list seems to resolve the issue.

@whatisbyandby  Totally OK, I updated the pio ini file this week and the updated documentation on the Learning System hasn't been published.
Thanks for fixing.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for interface-typed collections and properties

Hi!
I added the functionality and unit tests for supporting

interface-typed properties
e.g.:

public class Building{
    public virtual IAddress Address {get;set;}
}
public interface IAddress{
    string Street{get;set;}
}
public class Address : IAddress{
    public virtual string Street{get;set;}
}

Having properties with interface types worked before, but when assigning a new instance (e.g. building.Address = new Address()) that instance was not wrapped in a proxy.

also added the support for collections with interface-elements
e.g.:

public class Building{
    public virtual IList<IFloors> Floors {get;set;} = new List<IFloor>();
}
public interface IFloor{
    int Number{get;set;}
}
public class Floor : IFloor{
    public virtual int Number{get;set;}
}

Before, when trying to call building.AsTrackable().Floors.Add(new Floor()) you would get an exception from castle dynamic proxy

Will have a look soon.


Lightbulb always brings error: "Running the contributed command:'_internal_command_delegation' failed""

It's impossible to me to use the lightbulb in any language using the current insider build. Everytime I want to apply a quick fix I receive the message

Running the contributed command:'_internal_command_delegation' failed.

I'm on a Windows 10 machine

Version 1.7.0-insider (1.7.0-insider)
788caba5a3ca1c2b137353f4384bb0e026db1a31
2016-10-21T23:33:37.032Z
OS X: 10.12 (16A323)

Same on Ubuntu 16.04
Version 1.7.0-insider Commit 788caba5a3ca1c2b137353f4384bb0e026db1a31 Date 2016-10-21T23:36:48.362Z Shell 1.3.8 Renderer 52.0.2743.82 Node 6.5.0

Also getting under VSCode Version 1.7.0-insider (1.7.0-insider)
Using Win 8.1
angular-cli: 1.0.0-beta.16
node: 6.7.0
os: win32 x64
I'm assuming this is a bug related to VSCode changes


Replace "Zulip Standard" with "Zulip Cloud Standard".

There were no occurrences of "zulip standard". Replaced "Zulip standard" and "Zulip Standard".

Merged, thanks for cleaning this up @amanagr!


Problems with games

Microsoft PowerToys version
0.70.0
Installation method
Chocolatey
Running as admin
No
Area(s) with issue?
General
Steps to reproduce
Every time I go to open any game Powertoys takes control of my keyboard, which means that the famous WASD to move in the game does not respond correctly, sometimes the character starts moving by itself in one direction and I'm forced to close Powertoys to regain control of the character.
A few months ago the exact same thing had happened, at the time I had already reported the problem but it was solved by deactivating the Keyboard Manager, which currently doesn't seem to work and I can't even figure out which function is causing the problems
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

That's pretty weird... Try to disable some PowerToys to check which one might be the culprit? /needinfo

/reportbug
do you have any keyboard remaps enabled?

Yes I'm using Logitech Software to control and remap my keyboard, but also closing it, nothing change, so the problem is with Powertoys. Here's the bug
PowerToysReport_2023-05-31-21-54-37.zip

@serafinisamuele try two things,

upgrade to 0.70.1
turning off Quick Accent.  I'm betting this is getting invoked while playing the game

/needinfo
clint looking at data:
looking at this list,

Quick accent is on
maybe one would be Peek with the known ctrl-space bug which was fixed in 0.70.1 but the keys are default ctrl+space

KBM has no mappings so no matter what we could rule that out.
    "enabled": {
        "AlwaysOnTop": true,
        "Awake": false,
        "ColorPicker": true,
        "FancyZones": true,
        "File Explorer": true,
        "File Locksmith": true,
        "FindMyMouse": false,
        "Hosts": false,
        "Image Resizer": true,
        "Keyboard Manager": false,
        "Measure Tool": true,
        "MouseHighlighter": false,
        "MouseJump": false,
        "MousePointerCrosshairs": false,
        "MouseWithoutBorders": false,
        "PastePlain": true,
        "Peek": true,
        "PowerRename": true,
        "PowerToys Run": true,
        "QuickAccent": true,
        "RegistryPreview": true,
        "Shortcut Guide": false,
        "TextExtractor": true,
        "Video Conference": false
    },

Yes, it works properly now, thanks so much for investing in it!


Flutter upgrade

Could you update the packages version to be compatible with the latest Flutter version as well?

@radikris if you had the chance to solve this since then, could we get a PR with the change pls?
We are also blocked by this on our project atm

#7 @sagarkarki99 please check out this pr, it fixes this current issue.
Merge it if you can, because it blocks many people from upgrading.

Hey @radikris,
Thank you for raising this issue. I will take a look into this.
Apology for the late response.


Scroll to top upon clicking "Next" button

Resolves #44.
It's such a small PR that I also shoehorned some cleaning into it. But this single line is the one which does the magic:
https://github.com/Australian-Genomics/CTRL/blob/fbbeea4ba683bb140414907478f158d5c1b95b62/app/javascript/consent-form.vue#L271

I removed smooth scrolling from this PR because it's causing the cucumber tests to be very flaky and commentators on https://github.com/w3c/csswg-drafts/issues/3744 note that smooth scrolling isn't well-supported by browsers.


regexp for website adresses

in registration forms, we need to add regexp for check valid website addresses****

PR https://github.com/hospitalrun-ua/pandaid/pull/36


Support some "raw" image format in cjxl/djxl

Is your feature request related to a problem? Please describe.
I want to use cjxl to compress raw RGB images (e.g. obtained from JavaScript ImageData) to JPEG XL.
Describe the solution you'd like
It is very easy and fast to convert RGB image data to some raw image format (like TIFF, BMP, or MIFF, i.e. which is not compressed). I want that cjxl can encode at least one of them.
Describe alternatives you've considered
It is possible to convert TIFF image to, for example, PNG, and then to JPEG XL. But an intermediate compression makes it much slower than directly converting a raw image to JPEG XL.
Additional context
No additional context.

I believe .pnm would be easiest solution here. It has a text header with the x/y size and format, you can specify binary format so the file would be a concatenation of this header plus the raw RGB data. This is already supported by cjxl. A "raw" image format requires somehow to pass the image size, color space, bits per pixel. etc; so I don't think something simpler than this would be possible in the cjxl command line.

Thank you! I will use it.

That reminds me, it would be useful to extend the pnm reader/writer to pam, which is basically the same thing but it can also do alpha (and in principle any number of extra channels, but likely most software that supports pam only understands rgba).

bmp is much more common than ppm, it will be great if it supported

Bmp is also a rather hairy format with lots of weird features that are not so easy to implement (it's basically memdumps of whatever bizarre internal structs the internal microsoft image apis have been using over the decades). Do not recommend.

What about piping stdout from decoder lol

Exactly such:
     https://github.com/libjxl/libjxl/issues/3921#issue-2639083059


Add task to install additional 3rd party System Apps

This would be via deb-get or cmk-get

created the 3rd party app installer task


Concise instructions (building in all the troubleshooting steps to this list)

I think this may help users getting this thing up and running without much trouble.
it took me a while to get things to run and I went through the entire issue list, and compiled steps into integrating all the solutions, i'm pretty sure (90%) that  this should cover all the problems.
thank you to all the contributors before me (too many to name) for this list.  please review and let me know if this works along the same path, there are some detours, but I think it will be as complete as possible.
Installation Instructions for passcore:

[Assuming you've downloaded the latest zip]<<
1 - Unblock the zip (properties > unblock)
2 - unpack into any directory
3 - Install IIS + IIS Application Development Tools (all but CGI)
4 - Install a self signed personal certificate with the name of the website (eg. password.mydomain.com)
5 - Install HttpPlatformHandler from Web Platform Installer --> http://www.iis.net/downloads/microsoft/httpplatformhandler
6 - Install .Net Framework 3.x, 4.x (Server Features may have this as well) --> http://www.microsoft.com/en-us/download/details.aspx?id=42643
7 - Verify and install powershell version 4.0 is installed (in powershell $PSVersionTable.PSVersion)
8 - Install Visual C++ 2013 Redist -->  http://www.microsoft.com/en-us/download/details.aspx?id=40784
9 - Run powershell as admin: $Branch='dev'; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))
10 - while in elevated powershell -> cd %passcore_home%/approot/src/Unosquare.passcore.web/ ; dnu restore
a - if dnu restore does not work, run "dnvm install latest" first (then go back to item 9)
11 - [OPTIONAL IF TESTING NEWLY CREATED USERS] - Ensure password min policy is set to 0 days: GPO_name\Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy
a - https://technet.microsoft.com/en-us/library/hh994570(v=ws.11).aspx
12 - Create the Application Pool in IIS: Find Application Pools and Right Click > add application pool
a - name: passcore application pool
b - .net CLR version: no managed code
c - managed pipeline: integrated
d - start immeidately: unchecked
13 - Right Click the application pool > advanced settings
a - start mode: alwaysrunning
b - idle time-out: 0 << never idles
c - OK
14 - Go back to IIS manager and create a new site
a - Right click sites > add website
b - Site name: passcore website
c - application pool: select the created application pool: passcore application pool
d - physical path: find the path to the unzipped directory > wwwroot (not the parent directory)
e - binding: (type) https / (ip address) All UnAssigned / (port) 443
f - ssl cert: select the self signed cert that was created in option 4
15 - cd %passcore_home%/approot/src/Unosquare.passcore.web/; edit > appsettings.json

Edit the following:
"AppSettings": {
"RecaptchaPrivateKey": "",
"PasswordChangeOptions": {
"UseAutomaticContext": false,  << change to false
"LdapHostname": "", << hostname of ad server
"LdapPort": 389,
"LdapUsername": "", << admin user name
"LdapPassword": ""  << admin password
16 - (re)start the application pool and website
17 - browse to https://
a - if browsing does not work: cd into approot/src/Unosquare.passcore.web/ then run: dnvm install -u
b - restart iis: iisreset
c - try again.
let me know if this list works -- it builds into the fact that the user has not installed iis or anything, so it really takes you in from scratch.
again thanks for all the contributors previous to me=)

Thanks so much! I just added this post in the Readme file under the Troubleshooting section!

Hi I am completely unsure why but step 10a fails saying dnu doesn't exsist.
I go back to 9 and everything seems to install fine.
also I have no option for startmode to change to always running.
Bottom line I cannot get the page to load.
a blank page comes up and says loading but it never loads.
Can you please help me figure out what is wrong.

Between step 9 and 10 you need to launch a new Powershell instance.

I created the self signed cert and I'm getting stuck at "continue to this website" I click to move on and it is stuck loading forever.  No error, no logs.  Thoughts?

First of all, thank you for this guide. However, same finding as @CJK2014. Testing on both 2008R2 and 2012, the page never finishes loading through IIS and eventually times out. No failed request tracing, nothing in the logs. Running dnvm version 1.0.0-rc1-update2 with all packages installed to Unosquare.passcore.web. Interestingly, running the %passcore_home%/approot/web script manually successfully launches the app and allows connectivity on localhost:5000, but it seems that the webplatformhandler module (v1.2) is not correctly proxying connections to the app instance. I tested running http/https with all firewalls disabled under a privileged user (to rule out common pitfalls). Any ideas?

I was able to resolve my issue.  I noticed my DNU restore was actually failing when running from the directory listed here:
10 - while in elevated powershell -> cd %passcore_home%/approot/src/Unosquare.passcore.web/ ; dnu restore
The error showed that it couldn't find packages, so i ran it in passcore/approot and it finished with 97 updates.  I then rebooted my server and everything is now working.

10 - while in elevated powershell -> cd %passcore_home%/approot/src/Unosquare.passcore.web/ ; dnu restore
a - if dnu restore does not work, run "dnvm install latest" first (then go back to item 9)
If 'a' also doesnt work, also run "dnvm upgrade" and then try step 10 again.

Step 10 still fails.
Cannot find path and also dnu is not a recognized term.
What am I doing wrong?

Morning,
I'm also stuck with step 10..... Cannot find the path c:\passcore_home\approot\src\Unosquare.passcore.web/

Had the same problem @krencastro and @kassend. You have to change \Unosquare.passcore.web to \Unosquare.PassCore.Web
For some reason it's case-sensitive.

Thank you Sir,
I've actually downloaded the 2.0.2 Beta version of March 2016. Will try it tomorrow
Regards,Derrick
On Wednesday, December 7, 2016 8:14 PM, nulleddeviant<EMAIL_ADDRESS>wrote:

Had the same problem @krencastro and @kassend. You have to change \Unosquare.passcore.web to \Unosquare.PassCore.WebFor some reason it's case-sensitive.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi nulleddeviant,
I'm still doing something wrong. Getting Service Unavailable 503 error
Thanks
On Wednesday, December 7, 2016 8:14 PM, nulleddeviant<EMAIL_ADDRESS>wrote:

Had the same problem @krencastro and @kassend. You have to change \Unosquare.passcore.web to \Unosquare.PassCore.WebFor some reason it's case-sensitive.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Kassend,
After some google-fu, t's possible your application pool identity isn't set
correctly. Go to IIS > Application Pool > PassCore Application Pool >
Right-Click on that application pool > Click 'Advanced Settings...' > Go
down to 'Identity' and change it to custom account with the account you're
using to access it (you'll have to put that account's name and password).
That should fix the 503 error. My page isn't displaying at all so I'm stuck
on that part, but hopefully it works for you!
On Thu, Dec 8, 2016 at 7:03 AM kassend<EMAIL_ADDRESS>wrote:

Hi nulleddeviant,
I'm still doing something wrong. Getting Service Unavailable 503 error
Thanks
On Wednesday, December 7, 2016 8:14 PM, nulleddeviant <
<EMAIL_ADDRESS>wrote:
Had the same problem @krencastro and @kassend. You have to change
\Unosquare.passcore.web to \Unosquare.PassCore.WebFor some reason it's
case-sensitive.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/unosquare/passcore/issues/24#issuecomment-265724615,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXTsMvVdEsEUv00EL2av1Sfllan7kvFyks5rF_HzgaJpZM4Im3PB
.

Brilliant - it's working
Thanks a mil!
On Thursday, December 8, 2016 4:32 PM, nulleddeviant<EMAIL_ADDRESS>wrote:

Kassend,
After some google-fu, t's possible your application pool identity isn't set
correctly. Go to IIS > Application Pool > PassCore Application Pool >
Right-Click on that application pool > Click 'Advanced Settings...' > Go
down to 'Identity' and change it to custom account with the account you're
using to access it (you'll have to put that account's name and password).
That should fix the 503 error. My page isn't displaying at all so I'm stuck
on that part, but hopefully it works for you!
On Thu, Dec 8, 2016 at 7:03 AM kassend<EMAIL_ADDRESS>wrote:

Hi nulleddeviant,
I'm still doing something wrong. Getting Service Unavailable 503 error
Thanks
On Wednesday, December 7, 2016 8:14 PM, nulleddeviant <
<EMAIL_ADDRESS>wrote:
Had the same problem @krencastro and @kassend. You have to change
\Unosquare.passcore.web to \Unosquare.PassCore.WebFor some reason it's
case-sensitive.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/unosquare/passcore/issues/24#issuecomment-265724615,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXTsMvVdEsEUv00EL2av1Sfllan7kvFyks5rF_HzgaJpZM4Im3PB
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks guys.  I got mine to work.
I only ran to an issue in number 9 and 10.  where in the DNVM isnt existing and i had to browse github to this url to download the zip file for the dnvm.  https://github.com/nurtenkovacheva/DnvmInstall    after that it was smooth sailing.

@mycel02 I am running into the same issue since the address no longer exists for #9. I have downloaded the zip file and extracted it. What syntax did you use to get #9 to work with the extracted zip files?

Hi,
Sorry to have only seen your email today.
I had to copy the ps1 to a folder and changed it to this.
I think i ran this
$Branch='dev'; iex ((new-object net.webclient).DownloadString(c:\newfolder
dnvminstall.ps1
https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))
Thanks.
Mike
On Fri, May 12, 2017 at 11:40 PM, jbgoheels<EMAIL_ADDRESS>wrote:

@mycel02 https://github.com/mycel02 I am running into the same issue
since the address no longer exists for #9
https://github.com/unosquare/passcore/issues/9. I have downloaded the
zip file and extracted it. What syntax did you use to get #9
https://github.com/unosquare/passcore/issues/9 to work with the
extracted zip files?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/unosquare/passcore/issues/24#issuecomment-301111426,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AavLtUYqG3j-ytn-zjEOLyOunJoor7Yxks5r5H1SgaJpZM4Im3PB
.

--
Stanley.

404 file not found
Jeremy M. Robertson
Network Administrator
Office:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
[X]
From: mycel02<EMAIL_ADDRESS>Sent: Thursday, May 18, 2017 1:02 AM
To: unosquare/passcore<EMAIL_ADDRESS>Cc: Jeremy M. Robertson<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [unosquare/passcore] Concise instructions (building in all the troubleshooting steps to this list) (#24)
Hi,
Sorry to have only seen your email today.
I had to copy the ps1 to a folder and changed it to this.
I think i ran this
$Branch='dev'; iex ((new-object net.webclient).DownloadString(c:\newfolder
dnvminstall.ps1
https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))
Thanks.
Mike
On Fri, May 12, 2017 at 11:40 PM, jbgoheels <notifications<EMAIL_ADDRESS>wrote:

@mycel02 https://github.com/mycel02 I am running into the same issue
since the address no longer exists for #9
https://github.com/unosquare/passcore/issues/9. I have downloaded the
zip file and extracted it. What syntax did you use to get #9
https://github.com/unosquare/passcore/issues/9 to work with the
extracted zip files?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/unosquare/passcore/issues/24#issuecomment-301111426,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AavLtUYqG3j-ytn-zjEOLyOunJoor7Yxks5r5H1SgaJpZM4Im3PB
.

--
Stanley.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/unosquare/passcore/issues/24#issuecomment-302309172, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATPQvLAjbKcHTXt3b5cJXe4xqNxAPmd8ks5r697ngaJpZM4Im3PB.
CONFIDENTIALITY NOTICE
This message and any included attachments are intended only for the use
of the individual or entity to which it is intended and may contain
information that is privileged, confidential, and exempt from disclosure
under applicable law.
Unauthorized forwarding, printing, copying, distribution, or use of this
information is strictly prohibited and may be unlawful.
If you are not the intended recipient, please promptly delete this message
and notify the sender of the delivery error by e-mail,
or you may notify<EMAIL_ADDRESS>of the error.

Hi Jeremy,
When i was doing the project previously, i was able to access it using that url.  But it seems that its no longer available.
Seaching github I found other repositories on the dnvm which you might be able to try
I believe this one is better as this has the dnvm.cmd which you can run via the command line and should automate as much of the install
https://github.com/nurtenkovacheva/DnvmInstall
This only has the .ps1 file and would need a bit of wrangling to get it to work.
https://github.com/xaviermignot/dnvminstall
Thanks
Mike


Rename quickstart as tutorial

Fixes #8359
Update the "quickstarts" to use the more popular search term "tutorial". For a further classification in our set of tutorials these are referred to as "introduction to C#" tutorials.

@dend This PR includes redirections that move some of the YML files for interactive tutorials.  That doesn't work with the build system. What's the fix?

Ready for review @JennieHubbard

So what happens with the yml redirects? do you have to go through Akamai?
This page should also be revised, no?

Ah never mind my question about the yml. I see how they were done now.


Upgrade version number to 0.41.0

Upgrade version number to 0.41.0
The CHANGELOG changes are:
# What's Changed
* Fix setup for `aarch64-unknown-linux-gnu` platform by @adpaco-aws in https://github.com/model-checking/kani/pull/2864
* Do not override `std` library during playback by @celinval in https://github.com/model-checking/kani/pull/2852
* Fix docker build step in release workflow by @adpaco-aws in https://github.com/model-checking/kani/pull/2854
* Fix path-dependent failures in `assess-artifacts` test by @adpaco-aws in https://github.com/model-checking/kani/pull/2849
* Automatic toolchain upgrade to nightly-2023-11-11 by @github-actions in https://github.com/model-checking/kani/pull/2870

**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.40.0...kani-0.41.0

### Breaking Changes

* Set minimum python to 3.7 in docker container and release action by @remi-delmas-3000 in https://github.com/model-checking/kani/pull/2879
* Delete `any_slice` which has been deprecated since Kani 0.38.0. by @zhassan-aws in https://github.com/model-checking/kani/pull/2860

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

Here is the full auto-generated release notes:
## What's Changed
* Fix path-dependent failures in `assess-artifacts` test by @adpaco-aws in https://github.com/model-checking/kani/pull/2849
* Do not override `std` library during playback by @celinval in https://github.com/model-checking/kani/pull/2852
* Fix docker build step in release workflow by @adpaco-aws in https://github.com/model-checking/kani/pull/2854
* update in visualizing trace option by @muqsit-azeem in https://github.com/model-checking/kani/pull/2855
* Update Rust toolchain to 2023-11-06 by @zhassan-aws in https://github.com/model-checking/kani/pull/2858
* Delete `any_slice` which has been deprecated since Kani 0.38.0. by @zhassan-aws in https://github.com/model-checking/kani/pull/2860
* Fix setup for `aarch64-unknown-linux-gnu` platform by @adpaco-aws in https://github.com/model-checking/kani/pull/2864
* Automatic toolchain upgrade to nightly-2023-11-07 by @github-actions in https://github.com/model-checking/kani/pull/2862
* expect() does not take format strings by @matthiaskrgr in https://github.com/model-checking/kani/pull/2865
* Automatic toolchain upgrade to nightly-2023-11-08 by @github-actions in https://github.com/model-checking/kani/pull/2866
* const-ify `cover` by @jswrenn in https://github.com/model-checking/kani/pull/2867
* Automatic toolchain upgrade to nightly-2023-11-09 by @github-actions in https://github.com/model-checking/kani/pull/2868
* Automatic toolchain upgrade to nightly-2023-11-10 by @github-actions in https://github.com/model-checking/kani/pull/2869
* Automatic toolchain upgrade to nightly-2023-11-11 by @github-actions in https://github.com/model-checking/kani/pull/2870
* set python to 3.7 in docker container and release action by @remi-delmas-3000 in https://github.com/model-checking/kani/pull/2879
* Update dependencies from `cargo update` by @jaisnan in https://github.com/model-checking/kani/pull/2883

## New Contributors
* @muqsit-azeem made their first contribution in https://github.com/model-checking/kani/pull/2855
* @matthiaskrgr made their first contribution in https://github.com/model-checking/kani/pull/2865
* @jswrenn made their first contribution in https://github.com/model-checking/kani/pull/2867

**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.40.0...kani-0.41.0

I believe these are also user-facing:
* expect() does not take format strings by @matthiaskrgr in https://github.com/model-checking/kani/pull/2865
* const-ify `cover` by @jswrenn in https://github.com/model-checking/kani/pull/2867

and @zhassan-aws did
* Update Rust toolchain to 2023-11-06 by @zhassan-aws in https://github.com/model-checking/kani/pull/2858


Cache or store images locally

I noticed that using map yesterday it used 1 gig of data. Yes that much on downloading pokemon images over and over and over again in a city that had 100s of them. this can be avoided by simply storing the images locally either cached once downloaded one or just including them with app to begin with. the only thing app should need to actually download is the data from server which is mostly text parsing. As for the map itself I don't think that used most of data either but could probably cache that a little better too.
Ultimately the issue here is that app uses entirely way too much data.

This app only download a JSON file every 5sec. Images are stored localy

It used up one gig doing that? it doesn't reload map from google over and over? it's loading something big frequently.

If you're scanning a large area the JSON file can be quite large. Not near my development pc right now, but I've seen my requests reach a megabyte easily with pokestops included. Combine that with leaving the app running in the background (1 request per 20 seconds, instead of 5 seconds) adds up really fast.

On 9 aug. 2016, at 21:31, Adam<EMAIL_ADDRESS>wrote:
It used up one gig doing that? it doesn't reload map from google over and over? it's loading something big frequently.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Depends on how much data your server is sending back, if GZIP is enabled on the server, etc.
For example my server is set to cover an entire city, so my JSON returns are much larger than someone with one scan worker going. It doesn't just send back data for where you are viewing - it's all the data the server has. When this is happening every 5 seconds, even a 5k JSON payload would hit 42megs in 12 hours. Generally the JSON is much larger than that.
The maps aren't reloaded that often (that's all behind the scenes Apple logic), but it is a vector-based map so even if it was the data wouldn't be a lot. It isn't like this is using satellite maps.

Fair enough. guess next question. Maybe option to change frequency to higher number. I'd be ok with a 20-30 second delay. it'll mean slower notifications but i don't think 30 seconds will make or break it. if I'm not near the spawn I miss out anyways :)


bosh-257 breaks spec.networks

bosh 257 seems to break this spec <%= spec.networks.send(spec.networks.methods(false).first).ip %> for trying to figure out the IP in boshreleases. We're not using cloud-config yet, it also prints out a warning before it fails during deployment preparation / filling out the erb templates: Deprecation: Ignoring cloud config. Manifest contains 'networks' section.
I already had 3 different boshreleases fail deployment because of this.
Started preparing deployment > Preparing deployment. Done (00:00:00)

Error 100: Unable to render instance groups for deployment. Errors are:
   - Unable to render jobs for instance group 'authproxy_z1'. Errors are:
     - Unable to render templates for job 'authproxy'. Errors are:
       - Error filling in template 'registrar_settings.yml.erb' (line 9: nil is not a symbol nor a string)
       - Error filling in template 'properties.sh.erb' (line 16: nil is not a symbol nor a string)

line 9 and line 16 are the spec.networks.send(spec.networks.methods(false).first).ip lines..
It also seems to break a simpler <%= spec.networks.redisnet1.ip %>:
Started preparing deployment > Preparing deployment. Done (00:00:00)

Error 100: Unable to render instance groups for deployment. Errors are:
   - Unable to render jobs for instance group 'redis-ha_z1'. Errors are:
     - Unable to render templates for job 'redis'. Errors are:
       - Error filling in template 'redis.conf.erb' (line 61: undefined method `ip' for nil:NilClass)
     - Unable to render templates for job 'redis-sentinel'. Errors are:
       - Error filling in template 'redis-sentinel_ctl.erb' (line 35: undefined method `ip' for nil:NilClass)
       - Error filling in template 'post-start.erb' (line 45: undefined method `ip' for nil:NilClass)

It looks like spec.networks.* is not returning anything.

it worked in bosh 256.10 still, so this problem was introduced with bosh 257.

@JamesClonk hmm. looks like one of the ruby 2.3 upgrade fixes did not get merged. we are merging this in and are planning to release 257.1 version (https://www.pivotaltracker.com/story/show/122561571).

Fixed in v257.1.


Broadcast, history, log, and sms modules.

Added broadcast, history, log and SMS (requires root) modules

@Loubaris


fix image rendering in streamed apps on Viya 4

Currently when deploying images as part of a streamed app, they are not returned correctly, likely due to API changes in Viya 4.
checking the details in a "successfully returned" image (loaded with SAS Drive) and an unsuccessful one, the differences are:

unsuccessful
successful

"contentDisposition": "filename=\"player.png\";",
"contentDisposition": "attachment;filename*=UTF-8''sonic.png",

"typeDefName": "file",
"typeDefName": "file_png",

It's likely to be the typeDefName value causing the issue

List of available typeDefName values available here:  https://gist.github.com/allanbowe/32a47a78e386b3517dd22f292108f2f9

via Hubstaff
User: Sabir Hassan
Project: SASjs cli - https://app.hubstaff.com/projects/2310875
Date Range: 01/13/23 - 01/17/23
Work session total: 21:01:10
Billable: Yes
Grand total: 21:01:10


Migrated Models and Integrated Personal Data Page With Firebase

Description
This PR achieves the following things:

Copies the Model Classes from the cloud functions to the web-client app along with the necessary changes to meet the ESLint Rules
Makes changes to the model classes to make use of types and libraries available for the frontend rather than the server environment (@sabind please review this part, the models can be found at web-client/src/models)
Makes changes to the model class interfaces (in the frontend only, these changes will be made in the cloud functions models as another PR @sabind ) to meet the requirements and the tackle the issues noticed while developing this (we can't save geocode result directly in firebase as it doesn't support custom data types, I was getting this error)
Moves all interfaces to the models directories along with the necessary changes in the components and containers and thus solved the issue @telmodias mentioned as a todo
created the actions, reducers and functions for Reading, Writing and Updating data in firestore for the "User" collection and it's "privilegedInformation" Sub Collection.
Added option in the "PersonalDataForm" Component to let users choose whether to allow us to use their Facebook Display Picture or not.
Integrated the "PersonalDataFormContainer" with the action for creating/updating the profile details whenever the user submits the data and ensured that the data is being saved.

Motivation
Testing Guidelines
Release Checklist

[ ] This code has unit tests
[ ] I have a plan to verify that these changes are working as expected after deploy
[ ] I have a plan for how to revert, rollback, or disable these changes if things are not working as expected

Security Checklist
This PR creates, modifies, or deletes:

[x] API routes: API routes, parameters, or user authorization
[ ] Authentication: Authentication mechanism
[ ] Credentials: Server side credentials, or secrets in configuration / source code
[ ] Cryptography: Encryption, hashing, certificates, signatures, random numbers, etc.
[x] User data: personal information handling, logs, error messages, etc.

Additional Notes
This PR is a part towards integrating the "Personal Data" Section of the app.
This PR doesn't complete the epic.
The tasks that are yet to be done:

Automatically routing users who haven't completed their address, to this page when they login.
Auto filling the data that the user has entered previously if the user visits the page again. (Autofilling for when user comes to the page for the first time is done by not done for the second time, however, this is not a likely scenario as people are not allowed to visit this page once completed, but this might be addressing an issue for a feature later in the app)

These issues will either be addressed in a later PR or in the same PR once if I am able to finish these before this PR is merged.

Overall looks looks really good. I updated a few tiny things, but no real changes.

Makes changes to the model class interfaces (in the frontend only, these changes will be made in the cloud functions models as another PR @sabind ) to meet the requirements and the tackle the issues noticed while developing this (we can't save geocode result directly in firebase as it doesn't support custom data types, I was getting this error)

@ashwinkjoseph what was the change you made that resolved this?

@sabind  The changes are that instead of saving the geocoded result directly from Google, I am Stringifying it into JSON and then parsing the JSON string into object, thus removing any custom properties that Google has put.
But this still considers the geo point as an array or a map.
In order to perform geospatial queries in the future it is advisable to store it as a GeoPoint data type.
Since I made the change for storing the user's raw input into the address fields, separately from the google geocoder result, I decided to add these coordinates into the address fields with the data type as the GeoPoint data type of Firebase.
You have already merged the PR in the backend 10 or so hours ago.

Looks good to me.

We could also do this on the backend, but I don’t mind doing it on the front end either.
As long as it all gets saved it looks good to me.


support has many through on schema.yaml

Working example:
# 'books' collection
books:
 attributes:
   - name: name
     type: string

# 'book_authors' intermediary collection
book_authors:
  relationships:
    belongs_to:
      - books
      - authors

# 'authors' collection
authors:
  attributes:
    - name: name
      type: string

  relationships:
    has_many:
      - books:
          through: book_authors
          # collection: books  # defaults to 'books' collection
          # foreign_key: author_id # defaults to {related}_id (author_id)
          # far_key: # defaults to '{relation}_id' (book_id)
          # local_key: _id # defaults to _id
          # required: true # defaults to false, since our priority is to be as free as possible
          # on_delete: restrict # 'restrict', 'cascade' or 'none' (defaults to 'none')
          # on_update: cascade  # 'restrict', 'cascade' or 'none' (defaults to 'none')


Add .Update operation and fix .Insert operation

.Update operation allows for Array's subscripting to work as expected. .Insert is fixed to work as Array's insert:atIndex.

Test are failing because encrypted env variables are not accessible in forked repositories. I will merge this and make a new release.


Build failure: breakpad, fcitx5-mozc

Steps To Reproduce
Steps to reproduce the behavior:

nix build nixpkgs#fcitx5-mozc

Build log
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/6lmz5k9p6pnlg6ksckhwid7x5ylfxiwz-breakpad-unstable-3b3469e.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/66q2wkwmx6gw5dnci29pycplxm5q99if-breakpad-3b3469e
source root is breakpad-3b3469e
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./autotools/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./autotools/config.guess
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing libtool script ./autotools/ltmain.sh
configure flags: --disable-dependency-tracking --prefix=/nix/store/pj8ddvmpicmcp2m89afj45z29h3nyg08->
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/b>
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin>
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
...skipping...
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual >
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual >
g++  -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-compare -Wunused-loca>
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual >
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual >
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual >
src/processor/exploitability_linux.cc: In static member function 'static bool google_breakpad::Explo>
src/processor/exploitability_linux.cc:519:11: error: argument 1 null where non-null expected [-Werro>
  519 |     fclose(objdump_fp);
      |     ~~~~~~^~~~~~~~~~~~
In file included from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/cstd>
                 from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/ext/>
                 from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/bits>
                 from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/stri>
                 from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/bits>
                 from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/bits>
                 from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/ios:>
                 from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/ostr>
                 from /nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/include/c++/12.3.0/iost>
                 from ./src/google_breakpad/processor/minidump.h:88,
                 from ./src/google_breakpad/processor/exploitability.h:44,
                 from ./src/processor/exploitability_linux.h:41,
                 from src/processor/exploitability_linux.cc:37:
/nix/store/x8lqlydsxbrwvf6p7v18gws8kn1xl37f-glibc-2.38-23-dev/include/stdio.h:183:12: note: in a cal>
  183 | extern int fclose (FILE *__stream) __nonnull ((1));
      |            ^~~~~~
cc1plus: all warnings being treated as errors
make: *** [Makefile:5666: src/processor/exploitability_linux.o] Error 1

Additional context
Add any other context about the problem here.
Notify maintainers
@berberman  @GovanifY

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
> nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.8, NixOS, 23.11 (Tapir), 23.11.20231024.8efd5d1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Solved, sry for that.


upload tsdb block to cortex

It would be nice if cortex-tool would gain a block upload feature that enables posting a block to block storage, e.g. after a cortex downtime.

💯
We currently deploy Cortex using a custom image with some command line tools (gsutil,boto,etc) that would allow for an operator to manually upload blocks to object storage if they were responding to an incident. If we enabled this in the cortextool it would fill this gap nicely and ideally have support for all of the existing TSDB object storage backends.
However, ideally an implementation should be rather lightweight since the cortextool is starting to become a bit bloated. See #100


[Feature Addition]: Web App for Vehicle Live Risk Prediction

Pull Request for ML-Crate 💡
Issue Title:[Feature Addition]: Web App for Vehicle Live Risk Prediction #602

Info about the related issue (Aim of the project) : 'The aim is to create a web app for the Vehicle Live Risk Prediction project.
Name: Shivansh Mahajan
GitHub ID: https://github.com/shivansh-2003
Idenitfy yourself: Data Scientist

Closes: #issue number that will be closed through this PR
Describe the add-ons or changes you've made 📃

I have updated xgboost.py file
I have created Web app directory
I have created app.py and readme.md
I have also created pickle file in model folder and Readme.md file
I have updated README.md
I also created REadme.md file in dataset folder

Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[☑] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
I have tested the vehicle live risk prediction app by running the app on Streamlit and verifying the result by testing various inputs .
Checklist: ☑

[☑] My code follows the guidelines of this project.
[☑ ] I have performed a self-review of my own code.
[☑] I have commented my code, particularly wherever it was hard to understand.
[☑] I have made corresponding changes to the documentation.
[☑] My changes generate no new warnings.
[☑] I have added things that prove my fix is effective or that my feature works.
[☑] Any dependent changes have been merged and published in downstream modules.

Create a single file for the models implemented, do not use so many files for every models you have implemented.
@shivansh-2003

sir i have deleted the extra models file and only kept xgboost file and if any other changes required please let me know

I have modified the existing xgboost file with visualization and madel training and pickle file creation

All the requested changes have been catered . Video demonstration is uploaded in web app folder and link is also provided in readme file . I have restored all the extra model files that i have deleted and renamed all readme file . Deleted .ds/store file.

I have completed all issues except of video embed feature because a/q to your instruction embed is not created by copying local file video

I have completed all issues except of video embed feature because a/q to your instruction embed is not created by copying local file video

Just drag and drop the video file from your local system to the README while editing it.

Just drag and drop the video file from your local system to the README while editing it.
Done sir

sir i have completed all the requested task

Please share your email address for further communication.
@shivansh-2003

Please share your email address for further communication. @shivansh-2003

Share it ASAP.

<EMAIL_ADDRESS>


Why the evaluation results during training and testing different?

The following two results are different:

The evaluation result logged in the training phase
The evaluation results obtained by running test.py using corresponding checkpoint in the training log

It is really confusing, what exactly are the difference between the two?

The model inference process may have some randomness, but the results should be similar.


Which section would multi GPU setup belong to?

https://github.com/hyprwm/Hyprland/issues/2622
In the issue mentioned above, i promised i would document the results to the wiki, given how common this setup is.
In which section would this page belong to and what should i name it?

@vaxerski friendly ping

Hi! Given that I was able to make my laptop work thanks to @WasteOfO2 's guide, I would love to have the guide to be easily available to everyone :smile:

Hi! Given that I was able to make my laptop work thanks to @WasteOfO2 's guide, I would love to have the guide to be easily available to everyone smile

<3

Hey @WasteOfO2 , you closed the issue but your page is still not in the sidebar tree :/

Hey @WasteOfO2 , you closed the issue but your page is still not in the sidebar tree :/

Odd, will fix in a PR

@ItachiSan it has been fixed, closing the issue


Change Citation Styles

I would like to change the citation style to a different format. For example in one of the styles mentioned here. In the project, is there some setting to change the citation style?

You can alter the options passed to biblatex in the config.tex file you run locally.


Arrow buttons does not work correctly

... if you often click the arrows, you will get an empty page.
After that you only can go back the parameter page.

Maybe is an encoding problem? After pushing the arrows you can see that the link would be encoded for the x time.


Add Connected components of a graph

Add code for number of connected components in a graph. Properly comment the code.

I will take this. Please assign it to me


Backport Allow configuring node-cidr-mask-size flag on kube-controller-manager to 0.35.x release

What does this PR do?
See https://github.com/giantswarm/cluster/pull/320

[x] CHANGELOG.md has been updated (if it exists)

CI unfortunately still pushes this as 1.3.0-4091868870405b5d779206c4c90650dcb6731eaf, so I need to work around this now :(

Wait actually I don't think I need to do this. The release should just work this is just for the release

I changed the title because otherwise it ends up in the commit history like that and it wasn't adding a lot of information in the context of the release branch.


DO NOT MERGE Topology changes - Testing

This branch is used to test failing cluster e2e tests

Not needed anymore


Move logic from hardhat patches

hey there guys @yivlad @rzadp
I think this commit introduced a packaging bug (or I'm dumb?) because I cannot upgrade from 2.0.1 without adding "@types/sinon-chai": ""^3.2.3" to my devDependencies explicitly.
I spent about an hour debugging it and whenever I upgrade the package, I need to explicitly re-add the devDependencies on @types/sinon-chai
Here is the build error I get without the fix:
> @redacted/packagename
$ yarn hardhat compile
$ /path/to/node_modules/.bin/hardhat compile
Compiled 100 Solidity files successfully
$ /path/to/node_modules/.bin/tsc
../node_modules/@ethereum-waffle/chai/dist/esm/types.d.ts:2:23 - error TS2688: Cannot find type definition file for 'sinon-chai'.

2 /// <reference types="sinon-chai" />
                        ~~~~~~~~~~

Found 1 error in ../node_modules/@ethereum-waffle/chai/dist/esm/types.d.ts:2

error Command failed with exit code 2.

So in order to build your package it is looking for those types. and users have to figure out they need the dependency in dev dependencies.

Hey @stoooops,
what version of ethereum-waffle are you using? I'm wondering cause we no longer have dependency to sinon-chai specified in that way


Passing over GRanges to IGV.js

Hello!
Is it possible to pass over a GRanges object in R to this application?
Thanks for the help!

Sorry this seems to a problem requiring wrapper R objects and not related to this package.


Update protobuf version, allow newer matplotlib, update GitHub Actions test workflow

https://github.com/carlthome/audiotools/actions/runs/10043629844

loving this - thank you! that'd be so helpful for https://github.com/mudler/LocalAI !


Mongobetween custom code to read from secondaries breaks with new commit to Coinbase code

Error:
# github.com/coinbase/mongobetween/mongo
mongo/mongo.go:307:56: too many arguments in call to conn.ReadWireMessage
        have (context.Context, []byte)
        want (context.Context)
completed script

committed code to fix issue


Update for catalog-v001.xml - add ontologies from etc/imports

ontology-publisher expects that all ontologies it processes:

be accessible in some folder within in https://github.com/edmcouncil/fibo
be registered as such in catalog-001.xml

Currently catalog-001.xml does not register the ontologies stored in https://github.com/edmcouncil/fibo/tree/master/etc/imports.
I think we should add them to catalog-001.xml.

@mereolog I'm not sure that's appropriate, or something we want to do.  It means that every time those ontologies are updated by an external authority, we will need to re-commit them and manage them ourselves.  We don't do that with the 240 LCC ontologies, why would we do so with specification metadata and skos?

I agree that in general this kind of management may be expensive and should be avoided.
The reason for the proposal was to guard off possible interruptions in the import mechanism. The tradeoff here is that ontology-publisher sometimes encounters a glitch when it cannot get the imported ontologies from the internet - sometimes there is a problem within our infrastructure, but sometimes it is "them".
Anyway if we can accept these situations, i.e., when continuous integration process is interrupted or terminated because of the import problems, there is no need to version-control for these ontologies. But in this case I would suggest removing the https://github.com/edmcouncil/fibo/tree/master/etc/imports folder as its being there may be confusing.

@mereolog That makes sense to me.


Not playing back for some reason

On the latest branch, OpenUTAU refuses to playback the audio. I can see that It resamples and load caches just fine.
So my suspicion is that there might be a sound card selection issue when multiple sound cards are present on a system.
A good solution to this issue will be being able to select the desired sound card from a list of installed sound cards.

I'd look somewhere else first. I have several sound devices and never had issue with them. It should use the Windows default sound card.

I also had the same issue I tried multiple resamplers but still won't playback but will work with a VSQX or UST. Seems to be a USTX that causes the issue.

Hi!
Just did a fresh install of OpenUtau and it's not playing back for me either, despite the bank being successfully installed and a correct lyric inputted (using namine ritsu). The playhead just refuses to move. there's no clear attempt to load a cache either

I think I may have found the issue:
OpenUTAU wants to use the default sound device but the current sound device does not match that so when OpenUTAU tries to play it will try to play through the wrong sound device(Most programs seem to have a way around that) but fail
I found a way to fix it on a user end and set the default sound device and make it work.
Follow these steps

Make sure that you set it to the one that you use the most
Fyi: this worked for me but i don't know if it will work for you

Now it is possible to select playback device in preferences.


Set ignore blur based on mouse position.

On Windows where the scrollbar is displayed permanently when the contents is scroll-able, clicking the scroll bar (to start dragging) triggered the blur of the input. This caused the menu to close.
The issue doesn't occur on Mac and you are able to click/drag the scrollbar. I guess Mac doesn't trigger the blur event when clicking part of the system UI.
My solution is to enable/disable the ignoring of the blur based on if the mouse has entered/left the menu. Clicking the menu item would still run and hide the menu as normal. After the changes Mac still behaves as normal.
The other few lines of my commit are removing trailing commas so the code matches the rest.
Hope this makes sense and is okay.

Which browser are you experiencing this in? Seems to work as expected in Edge on Windows 10. I'm not saying it's not a problem, just want to be able to verify before we deploy a fix.

@CMTegner I was testing on IE 11. My mistake for not mentioning that - I had assumed it was the way Windows handled click events on the scroll bar compared to Macs.
It appears @pikelnys has done a better job of explaining the issue within his PR. The only difference between our PR's is the trailing commas I have removed.

Superseded by #222.


Make auto-generated files read-only

This PR is to assist new contributors to the repo and hopefully reduce the number of times that people try to edit the auto-generated files.
It makes these files read-only by default and also directs them to run go generate ./... and more importantly, read the instructions in CONTRIBUTING.md.

Awaiting LGMT+Approval from any other contributor to this repo.

Merging #2323 (c28324a) into master (3e8a7f0) will decrease coverage by 0.00%.
The diff coverage is n/a.

This report can be ignored.

Thank you, @raynigon !
Merging.


router-tests/update-config.sh is broken on main

Component(s)
router
Component version
main
wgc version
main
controlplane version
main
router version
main
What happened?
Checked out main and ran:
➜  router-tests git:(main) cd router-tests
➜  router-tests git:(main) ./update-config.sh
2024/04/05 10:46:37 Error: Unsupported subscription protocol '' at n3 (:453:41501(37))
exit status 1
I'm unable to update the test config.
Environment information
Environment
OS: Mac OS 14.4.1
Package Manager: pnpm 8.15.6
Router configuration
No response
Router execution config
No response
Log output
No response
Additional context
No response

Fixed with #702
Thank you for the report!


Update dependencies in flutter_localizations module

Use case
Current flutter SDK:
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_IN)
    • Flutter version 1.12.13+hotfix.8 at /home/kasim/flutter
    • Framework revision 0b8abb4724 (2 days ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

I'm getting following message in packages get command.
Because <my-app> depends on flutter_localizations any from sdk which depends on intl 0.16.0, intl 0.16.0 is required.
So, because <my-app> depends on intl ^0.16.1, version solving failed.

Proposal
Please update intl from 0.16.0 to 0.16.1 in flutter_localizations module.

Hi @kasimr-oxc
It was changed in this commit, for master channel intl 0.16.1 is already used


[Feature Request] ComposeBy / ICompositionRoot with an instance and / or injection

Currently when using ComposeBy, the class that implements ICompositionRoot is instantiated using System.Activator and it is not possible to easily pass parameters to the composition root.
A concept that I miss from StructureMap is the ability to use an instance of its Registry class (rather than just the registry class's type), so that it can be constructed with a few parameters before the container uses it to register anything.
It would be helpful if I had the ability to do either or both of these:

Call ComposeBy with an already-instantiated object that implements ICompositionRoot.
Allow the option of having Stashbox instantiate / buildup the composition root object(s) so that parameters / members can be injected into them.

Hey,
I think these are good features to have in Stashbox, I'll implement and publish them in the next release! Thanks!

I pushed a new version to my release nuget feed which contains this feature, could you please check it out that it works as you expected? Thanks!

I had a look at the new features yesterday and all looks good. Thanks for the quick response!

released in v2.7.4


Added external links

Coverage decreased (-47.0%) to 52.331% when pulling cde4c4a0020f46aeaea17ae24c3b5b60fbab757c on feature_external_link into 448d8cf4e0fb571a82ec180bf8b15bbaefa8ffbe on master.

Oke

Euh


instaclone remote, for automation

@jlevy This seems to do what I want: prints out the remote location based on the current config, for automation. Then I can use another tool to see if that location exists: aws s3 ls for example.
Or is there a better way?

:+1: LGTM. It's also a helpful debugging command to validate the instaclone.yml settings.


Dynamically handle test adapter activation

fixes https://github.com/microsoft/vscode-python/issues/23234

Closing this for now, we can bring this back possible after we figure out comms.


client rpc memory leakage

Every time we call client.rpc with the same SupabaseClient, a new isolate is created and never destroyed, which result in the multiple _compute in the call stack hogging the memory.

@zhushuihua Thanks for reporting this! A fix has been published. You can use the latest version of it by running dart pub upgrade supabase in your project!


configurable filters

resolves #10

Coverage decreased (-2.2%) to 97.765% when pulling 35328bf9729497bd69a4aa469f8a633cffa81469 on towards-point-two into 0ac67e245bebb2dd3aee2936b0f6028ba77e2aff on master.

Coverage decreased (-2.2%) to 97.765% when pulling 764b2a27253d4ca7264747bc402cdef9b331dd1e on towards-point-two into 0ac67e245bebb2dd3aee2936b0f6028ba77e2aff on master.

Coverage decreased (-0.6%) to 99.438% when pulling 6c72012f18cf058e8e69878cb14835926a08602d on towards-point-two into 0ac67e245bebb2dd3aee2936b0f6028ba77e2aff on master.


OpenXR Support

Is your feature request related to a problem? Please describe.
Add a VR implementation based on OpenXR, similar to the current OpenVR integration.
More info: https://www.khronos.org/openxr/
This also came up in #722
Additional context
This could be attractive because Facebook might sponsor OpenXR development, as they did for the Godot engine.

FYI, I just finished implementing and testing OpenXR support in Focus Engine with success:
https://github.com/phr00t/FocusEngine/tree/master/sources/engine/Xenko.VirtualReality/OpenXR
You might be able to use some of this code -- although it is targeting Vulkan.

That's very cool, thanks for letting us know! That will definitely become handy as soon as someone works on it.

While a PR regarding this issue was implemented (#1483), it is not yet supported on all graphics API

Current state of the implementation running on Quest3 from @Aggror :

Turned on dev mode the quest 3
Started a new project with the VR template.
Connected both through cable as well as Airlink
Checked the existing documentation but everything was already setup correctly.
... but unfortunately not working right away. The split view in the editor works, but I was not seeing any updates regarding movement nor updates on the quest 3 itself.
interestingly when I start the application, MetaVr en SteamVR start automatically as well.
launching Airlink on the quest 3, you can actually see the latest build from stride in the Overlay menu.
I haven't gotten it to work natively/standalone on quest 3. Through virtual desktop, no problem though

Current state of the implementation running on Quest3 from @Aggror :

Turned on dev mode the quest 3
Started a new project with the VR template.
Connected both through cable as well as Airlink
Checked the existing documentation but everything was already setup correctly.
... but unfortunately not working right away. The split view in the editor works, but I was not seeing any updates regarding movement nor updates on the quest 3 itself.
interestingly when I start the application, MetaVr en SteamVR start automatically as well.
launching Airlink on the quest 3, you can actually see the latest build from stride in the Overlay menu.
I haven't gotten it to work natively/standalone on quest 3. Through virtual desktop, no problem though

I have the same problem with my Meta Quest 3. When I try to run the Stride VR template, this starts my Meta Link app and the Steam VR app, but the build solution suddenly closes. I have tried using Virtual Desktop but have had the same result. I have also tried to change the default Open XR from Meta to Steam VR, and I still have the same problem. The build solution only runs when I do not have my Meta Quest 3 connected to my computer, but when that happens, I can not test the VR template!?


idlharness and unions

https://bugzilla.mozilla.org/show_bug.cgi?id=1280275

This issue has been moved to https://github.com/w3c/web-platform-tests/issues/7173; please continue all discussion there.


No wrap to links

There is no wrapping for links, it goes outside the container and spoils the UI!
Apart from that, the website is very neat and clean. Absolutely loved it!

Also, try adding a favicon to your project: a cherry on the cake!

Thank you very much @tusharnankani for pointing out this bug. 😦 I will fix it very soon.
And yes adding a favicon is a great idea. Surely gonna do it and close this issue.
Thanks.😁

Adding overflow-wrap: break-word; or overflow-wrap: anywhere; here should fix the issue.
https://github.com/ChoukseyKhushbu/Gitzilla/blob/c47f765447e03f53fca097a076c938df0dd091fa/src/index.scss#L210-L213

Adding overflow-wrap: break-word; or overflow-wrap: anywhere; here should fix the issue.
https://github.com/ChoukseyKhushbu/Gitzilla/blob/c47f765447e03f53fca097a076c938df0dd091fa/src/index.scss#L210-L213

Yup!  @KartikSoneji. You could also have created a PR if you have figured out the solution. I would be happy to merge it.
But no issues, I have fixed it by myself :sweat_smile:
Also @tusharnankani it would be great if you have also provided the tests (username/profiles) which would reproduce this bug. It would have been easier to test. :hugs:

Yes, I should have mentioned it, @ChoukseyKhushbu My bad!
It was infact @KartikSoneji's username. XD


How to Run Python Script to Kivi Android App

I am new at Kivy and trying to make an android app that can run my python....when i open that app my script should be started to run and it should print on screen...suppose i have helloworld script made in python....so when i open my made android app...so it should run that helloworld.py and print on screen hello world...so i don't have any idea that how can id o this using kivy??...will you please guide me

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10968387-how-to-run-python-script-to-kivi-android-app?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).

Github issues are used only for bug reports, please use our support channels to get help: https://github.com/kivy/kivy#support.


added draft of doing partial exports using copy to

looks fine for me.

@mikethebeer Made some changes, let me know if you're happy with them :)


Make ppx_irmin compatible with ppxlib.0.18.0

ppxlib.0.18.0 upgraded its AST to 4.11 which lead to a change in string constant representation. This PR make ppx_irmin compatible with the newest ppxlib.
You probably will want to wait for the release to go through before merging this!

I've shifted this to https://github.com/mirage/repr/pull/14, since ppx_irmin is now ppx_repr.


[Firefox] Avoid displaying the indeterminate loadingBar when disableStream=true is set (PR 10714 follow-up)

While PR #10714 did address the disableRange=true case, it also managed to "break" the disableStream=true case instead since the indeterminate loadingBar is now displayed when it shouldn't; sorry about that!
The solution is simple enough though, don't attempt to fallback to _fullRequestReader.onProgress when handling "incomplete" loading information. Edit: Smaller diff with https://github.com/mozilla/pdf.js/pull/10742/files?w=1
/cc @timvandermeij

/botio unittest

/botio-linux preview

Thank you!


Add Ameba in "Apps Using SmartTabLayout" list

I've added Ameba as one of the apps using SmartTabLayout.

:+1:


Else if statement

Is there any support for writing an if else statement like this (inlining the second if statement so that it is an else if)
if (condition)
{
...
}
else if (condition)
{
...
}

I couldn't figure out how to do this using an IfElseStatement. Can this be supported?

Yes we already support this. You could write this in this way:
var statement = new IfElseStatement(
	new IfStatement(condition1)
	{
		// statements for your if
	},
	// this is the else statement
	new IfStatement(condition2)
	{
		// statements for your first else if
	})

If you want more else if, you could just use another IfElseStatement as the Else part:
var statement = new IfElseStatement(
	new IfStatement(condition1)
	{
		// statements for your if
	},
	// this is the else statement
	new IfElseStatement(
		new IfStatement(condition2)
		{
			// statements for your first else if
		},
		new IfElseStatement(
			new IfStatement(condition3)
			{
				// statements for your second else if
			},
			new MethodBodyStatement[] {
				// statements for your else
			})));

this will write:
if (condition1)
{
		// statements for your if
}
else if (condition2)
{
			// statements for your first else if
}
else if (condition3)
{
				// statements for your second else if
}
else
{
				// statements for your else
}

I must be doing something wrong - https://github.com/Azure/autorest.csharp/pull/4649/files#diff-e951b5dd9fe84a348c5597b47c30f38972a39dce8d6659979415eafff9ac77daR292
results in https://github.com/Azure/autorest.csharp/pull/4649/files#diff-b5885dc51aea9777fab38b62bda018e5b0fd20dd6fb9f887fd3878639c61c6c9R490-R524

I must be doing something wrong - #4649 (files)
results in #4649 (files)

yes from the generated code, we are having:
if (...)
{
	// ...
}
else
{
	if (...)
	{
		// ...
	}
}

which just works but it is not ideal, somewhere is wrong.

Since we have moved to MGC and this has a workaround - I believe our new mechanism does  not have this issue (I assume?), I would like to close this issue


Wipe memory on boot (to 0xff), add rst 038h handler (to guard execution of uninitialized memory)

I'm curious about the issue that this solves. I really like being able to dump/inspect memory after boot/crash, and I haven't seen any ill-effect of ram being accidentally executed. Would it make sense to have this as a moslet and execute it if desired? I do agree the RST38H default handler should be well behaved.

Just checking - is this cold boot only?


Android fix

This fix from upstream Go will resolve https://github.com/tailscale/tailscale/issues/2450 by trying accept4() first and falling back to accept() on ENOSYS.
As accept4() was added in Linux 2.6.28, I doubt very much that we ever run on a system which does not have it. So this will change the implementation of Accept() on all Linux platforms, but in a way which is very well exercised in other projects.

This does not look like what I expected.
I'm trying to cherry-pick exactly one change: https://github.com/golang/go/commit/903b25178e51fa96d37a91b020747ce236ba04f0

@josharian did this in https://github.com/tailscale/go/commit/6fa85e8201f1f75fb7323eb48a0b24274a6e33b2


path '/' in multiple levels should be treated as single '/'

path '/'
children

path '/'
children

path '/hello'

final route path must be /hello not ///hello

trim trailing slash as well


this._mapComponent is not defined

I copy all the code you give, but "Uncaught ReferenceError: this._mapComponent is not defined" appear, can u tell me where's the _mapComponent?

In my project I have something like the following to access the map component.
const Map = React.createClass({
  handleMapMounted(map) {
    this._map = map;
  },
  render() {
    const GoogleMapComponent = withGoogleMap(props => (
      <GoogleMap>
         // other props
      </GoogleMap>
    ));

    return (
      <GoogleMapComponent
        // other props
        onMapMounted={this.handleMapMounted}
      />
    )
  }
});

Does that answer your question? (I'm a user not a contributor)

Please refer to Getting Help section in the README (or #469).


always use platformio 4.3.4 in CI

... because version 5.x, which is used by default when doing pip install is causing problems at the moment
$ make ci

platformio ci --board=uno --board=esp01 --board=nano33ble --lib="src" examples/custom_hal/custom_hal.ino

Error: HTTPSConnectionPool(host='api.registry.ns1.platformio.org', port=443): Max retries exceeded with url: /v2/boards (Caused by SSLError(CertificateError("hostname 'api.registry.ns1.platformio.org' doesn't match either of '*.platformio.org', 'platformio.org'",),))

make: *** [ci] Error 1

Coverage remained the same at 96.341% when pulling fc5692043707326092057aa601488f70febb9118 on use_specific_platformio_version_in_ci into 8a56f7a8393746e9eac8f7411dfd7980f885e2a8 on master.


Konstellation: Upgrade codebase version

Merged, but would be great if y'all could add key_algos, slip44, fees, and binaries as well if possible @Yurist-85 🙏
See Osmosis as a reference.

Ok, sure. Thank you.


monix.execution.misc.AsyncSemaphoreSuite consistently failing in Scala 2.12 community build

seen at e.g. https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/2165/consoleFull
there was a green run as recently as Nov 10 (https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/2159/), so this must be due to a very recent change

Thanks @SethTisue for the report.
The error that I'm seeing happened, but should have been fixed on master.
From where is the community build pulling?

oh, we're frozen at 18f91fdf5 since I haven't pushed the cats 1.0.0-RCx upgrade through the community build yet
when I'll push that through, I'm not sure, so for now I'll disable your test suite in the community build, but I'll include a note to re-enable it at the time we unfreeze

@SethTisue this error happens because I upgraded Minitest's API and it breaks compatibility with the commit that you mentioned.
So another way to fix the error is to also freeze Minitest at https://github.com/monix/minitest/tree/v1.1.0

ah, interesting, okay, I'll think about it at the time I push the cats upgrade though


Converting kubectl to k8s,k8s_fact module

Converting kubectl to k8s fact module:

same as #808

We will use #808 as an umbrella issue to track this.


Support ability to use cyclonedx-maven-plugin

Currently, Syft is used to generate SBOMs. The fidelity of the resulting SBOM is very low. It does not contain provenance information of included dependencies. This information is typically included in the case of CycloneDX when leveraging the CycloneDX maven plugin as a part of the build.  Maven plugins usually have access to the entire dependency graph during build time which means the SBOM contains information that can only be discovered during build time:

issue URLs
maven repository containing the resolved dependencies
project pages
test dependencies

Describe the Enhancement
Allow a maven build to contribute a CycloneDX document generated during build time.
Possible Solution
Java buildpack could discover a file such as ${project.artifactId}-${project.version}-cyclonedx.xml or ${project.artifactId}-${project.version}-cyclonedx.json and include it in the resulting cnb-sboms layer.
Motivation
CycloneDX documents generated during the maven build process will have access to more information about dependencies that can be fed into the bill of material CycloneDX document.

I moved this to the Maven repo, as this discussion seems Maven-specific. We might be able to implement something Maven-specific, but I'd really rather see things consistent across build tools.

If I understand you right @xyloman you're saying that we run the plugin but don't add it to pom.xml, which I'd overlooked and makes a lot of sense. Thanks for clarifying that.
My concerns with running the plugin:

How would the plugin be downloaded and installed? We'd need to sort this out as we like to support use cases where there is no network to download things.
Adding time to the build. I'd like to see how much time this takes. Right now, syft is very fast so we can always run it. If this were to add seconds onto the build, we might need to implement RFC #0044 and require it be opt-in so we keep the builds fast.

As far as taking an externally generated SBOM, I'm not sure that we would want to do that. Part of the benefit of having buildpacks generate the SBOM is that it's done in a way that's harder to tamper with (it's done as part of the build and put into the image itself, so if you change it the image changes too). If we take in something external, we're blindly trusting that and then reporting it as correct, which I think could be misleading. I think if you want to go this route, then it's probably best to just create and manage your SBOM outside of buildpacks. You can certainly just ignore what buildpacks generate and scan your app files and the buildpack generated image directly.

2. As far as taking an externally generated SBOM, I'm not sure that we would want to do that. Part of the benefit of having buildpacks generate the SBOM is that it's done in a way that's harder to tamper with (it's done as part of the build and put into the image itself, so if you change it the image changes too). If we take in something external, we're blindly trusting that and then reporting it as correct, which I think could be misleading. I think if you want to go this route, then it's probably best to just create and manage your SBOM outside of buildpacks. You can certainly just ignore what buildpacks generate and scan your app files and the buildpack generated image directly.

I don't think that we have to blindly report it as correct @dmikusa. CycloneDX has some capabilities to provide sbom provenance I believe - didn't really read about it, but metadata.tools.[] comes to mind.
The use case I have in mind is actually about SBoM data that is provided by the build system - that just happens to be a build system external to CNB.
The way I picture this is, that for helpers we install and dependencies we download we are the experts when it comes to creating good quality SBoMs - for the application code base, we might be as well, in terms of selecting a default. But I think we have to accept and acknowledge that the developer might be the better expert.

@loewenstein I believe you're correct that a developer that's putting effort into generating their own SBOM can put out a more accurate SBOM than what we can do with automatic scanning. The automatic scanners will only get you so far, they all have their faults.
That said, I still don't think we should include what the developer or any external entity generates in the image as if buildpacks generated it. If you're getting it from pack sbom download, I think users will have an expectation that is provided by the buildpack. That means a.) secure/safe and b.) if there are problems with its contents, they'll complain to us and we'll respond. If we take something external and return it, that violates both a.) and b.).
Maybe if there is a very, very clear way to show that some part of the SBOM is generated externally we could include it, but even then I still think it's better done some other way, external to what buildpacks are doing.
I suppose if you really wanted to have your SBOM included in with buildpack SBOM data then you could create your own "External SBOM" buildpack, take in the external file, and then include that as the SBOM for that buildpack.

The most accurate way to generate an SBOM is to use the build system to do so. The cyclonedx-maven-plugin provides the most robust and accurate cyclonedx SBOM for a maven project. There is similar capabilities in the gradle ecosystem. The issue here is a desire to balance an ecosystem concern with an accuracy concern. My proposal has been to tackle the accuracy concern because the ecosystem has provided a clear answer use the build system maven/gradle to generate the SBOM if accuracy is your biggest concern. In future versions of Spring Boot the maintainers have decided that if a plugin such as cyclonedx-maven-plugin is included in the pom.xml then the sbom generated by it will be picked and exposed via the SBOM accutator endpoint.  If buildpacks leverage a different mechanism (e.g. syft) then the app will present a different SBOM than the SBOM returned by buildpacks. I am advocating that buildpacks should allow the buildsystem to contribute an SBOM. If the SBOM is placed in a well known location, leverage it over syft.

@xyloman So I'd like this to eventually be pluggable so people can choose their SBOM provider. There's nothing particular about Syft, aside from that's where we started.
I've heard a little about what Spring Boot is doing with SBOM and it looks cool. We'll have to discuss how that specifically is integrated, or if we do. Since it's available through Actuator, you don't really need it available in the buildpacks layers too. I do agree that having it plus the buildpack's Syft (or another tool) generated SBOM, which could be different, would be confusing. So we'll have to sort that out, maybe we just turn off SBOM generation if Spring's going to do it.
My question for you would be, does it matter how you get the SBOM information? If it's in the image and you can get it from Actuator or if it's in the image and you run pack sbom download? Or do you prefer having it outside the image?
I'm also curious how you verify your SBOM to make sure it hasn't been altered. Do you sign them with some tool? If so, what tool?
Thanks!

@dmikusa Yeah, I think the ability to suppress an SBoM for user provided code is the minimum that we have to provide - maybe you are right and there's no need to inject it into the image though.


ELB's?  Clarification

Hey Guys,
Sorry to be a bother, but could someone please clarify the subnet tagging part if this setup.   Basically, I checked out tack did a make all, was happy and am working on a service that should according to my research, setup an ELB automagically when running an AWS kubernetes cluster.
After some additional reading, I found this linked to from your README, but Im afraid that I dont quite understand/grok it yet.
https://github.com/kubernetes/kubernetes/blob/master/pkg/cloudprovider/providers/aws/aws.go#66
Here's my service file:
---
apiVersion: v1
kind: Service
metadata:
  # Expose the management HTTP port on each node
  name: myapp-ui
  labels:
    app: myapp-ui
spec:
  ports:
  - port: 80
    name: http
  selector:
    app: myapp-ui
  type: LoadBalancer

kubectl describe svc myapp-ui
Name:			myapp-ui
Namespace:		default
Labels:			app=myapp-ui
Annotations:		<none>
Selector:		app=myapp-ui
Type:			LoadBalancer
IP:			<IP_ADDRESS>
Port:			http	80/TCP
NodePort:		http	30915/TCP
Endpoints:		<IP_ADDRESS>:80
Session Affinity:	None
Events:
  FirstSeen	LastSeen	Count	From			SubObjectPath	Type		Reason				Message
  ---------	--------	-----	----			-------------	--------	------				-------
  2d		2m		777	service-controller			Normal		CreatingLoadBalancer		Creating load balancer
  2d		2m		768	service-controller			Warning		CreatingLoadBalancerFailed	(events with common reason combined)```
Any explanation, help would be appreciated.

Thanks

You are hitting #178

Yup that fixed it!...   Thanks for the prompt response.


On Screen Keyboard & Mame ROM Scraping.

Hey Aloshi,
I was just scraping some of my games, and there is a couple of things i have noticed and hoped it might be possible to implement,

When scraping game, if a game is not found, you can manually search for it, But if your using a controller there is no way (that i can see) to enter text unless you have a keyboard connected, So would it be possible to have a basic On Screen Keyboard?
Currently it seems as though the scrapers are not able to find games based on mame's naming system, My initial thought was to simply specific a zip file in the mame command-line, but there was no joy with that due to mame not accepting anything but there own naming convention. So would it be possible to implement some sort of feature that would automatically take mame ROM names from a list and search using a real name for the game, For instance, it could look in an XML file for "mslug" and see the real name is "Metal Slug" and use that for scraping.

I hope they made sense, if not I'll be happy to clarify.
Keep up the good work :)

+1 for the on screen keyboard. I have a wireless keyboard connected, so I'm able to work around that, but it'd be handy to be able to just use the controller.

The on-screen keyboard is absolutely neccessary in my opinion.
For the MAME stuff. As far as I know ES already has a database of MAME games included, but it's stone old. I think MAME 0.037bleh.

+1 for the On Screen Keyboard.


Moving Cursor Fast

Include a feature that is moving cursor fast by pressing long h,j,k,l.
if we press this button for long time, cursor should move fast in relevant direction.

I want this Too !!! It will be better if I can control the speed when press this button for long time.

I've seen this kind of request several times (mainly from Vim beginners).
Yes, that might be sometimes useful, but I don't think it's a Vim way.
Vim provides a variety of motions. See :help motion.txt.
E.g. To move left and right, w, b, f, t, etc.
To move up and down, Ctrl-U, Ctrl-D, Ctrl-F, Ctrl-B, H, L, etc.
You can also precede a count before motions. E.g. 3j.
There are also some plugins that enhance such motions.
Utilizing them might be better.
If you still want to use hjkl, your OS might have a setting to change the key repeat rate.


Possibility to show a dataset that is still not open

We wanted to use ckan to make public the inventory of datasets of a public organization (even the ones that are still not open). This way we would be transparent regarding existing datasets and be able to prioritize the opening process taking into account the interest and demand of citizens.
However, we are concerned with communicating this clearly. In this sense, this extension could address this showing not only the level of maturity of open datasets, but also that some datasets exist but are still not open (no stars or other visual solution). This could solve our concern.

Yes a dataset that has not been published will have no resource URL will receive 0 stars. e.g. on data.gov.uk we show such datasets like this: https://data.gov.uk/dataset/sheep-and-goats-annual-inventory
If you have ideas for communicating this better then do suggest something.