Added TensorFlow 2.0 in Action

Hi,
Stjepan from Manning here. I thought this title might be a good match for your list. Thank you for considering it.
Best,

Thank you.
Best,
On Mon, Jan 10, 2022 at 5:36 PM jtoy @.***> wrote:

Merged #178 https://github.com/jtoy/awesome-tensorflow/pull/178 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/jtoy/awesome-tensorflow/pull/178#event-5867276674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANDIEMODXJBF4GWQIUT4LXTUVMDIBANCNFSM5DXGEACA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Stjepan Jureković
Manning Publications - Marketing
@.***


Add AMD support

Re-opening accidentally closed #616 for 3.4-WIP
(fyi, you dont need open pull requests to merge in branches, just rebase or cherry-pick the commits off the pull branch and reference the pull in a commit -- i.e. "add AMD support closes #616" and github will handle the rest)

This is in the process of being implemented for 5.8.0 in #1562.


Visualise event analytics

Through activity logs, we have a simple built-in analytics system on Dribdat. This has been visualised by hand from past events like this:

(Source)
Make it possible to see graphs like this directly in the platform, and export data via API. An infographic type display showing how many participants, projects, contributions there are, would be great. For inspiration see https://github.com/features/insights

This has been added in form of a very plain graph to the /dashboard call, which we use for digital signage.

With support for external analytics, as well as a link in the footer to a public API (see README), closing this issue for now.


Update LiveView Dependency

This will also allow a new rc Release on Hex.

@maennchen thanks! I'll try it out for a couple of days and release v0.1.0.


Checkbox state can't be changed more than once

Before you Submit
Before you create a new issue, make sure that you have:

[x] Read the FAQ for possible documented solutions or troubleshooting steps;
[x] Checked the existing issues for possible duplicates;
[x] Read and accepted the Contributor Guidelines;
[x] Read and accepted the Code of Conduct;
[x] Read and accepted the License terms.

Type of issue

[x] Bug
[ ] Feature request
[ ] Update of existing feature
[ ] Documentation
[ ] Other:

Description
When an item is changed from checked to unchecked (or unchecked to checked) it will only save the change to the database the first time, and subsequent changes won't persist.
Expected Behaviour
The checkbox state should be saved at every alteration.
Current Behaviour
Only the first change is saved.
Steps to Reproduce

Turn on Database Inspector (View > Tool Windows > Database Inspector >
Run the application
Once the app is running, select the "item" table in Database Inspector and check live updates
Add a list item and check the checkbox, the "itemStatus" value changes to "1"
Uncheck the item, the "itemStatus" value stays on "1" instead of changing to "0"

Possible Solution
Screenshots
Other Relevant Information

While working on the popup menu to delete an item, I created an interface called refreshAdapter which I use to update the recyclerview after deleting the item from the database.  I used the same interface to update the Status.  As per the screenshots, when checked, the itemStatus value changes to 1.  When it is unchecked, the value changes to 0.  This should fix the reported bug.   I will push my changes to GitHub tomorrow and assuming you are happy, I can close this issue then.

While working on the popup menu to delete an item, I created an interface called refreshAdapter which I use to update the recyclerview on deleting the item from the database.  I have used the same interface to update the Status.  As per the screenshots, when checked, the itemStatus value changes to 1.  When it is unchecked, the value changes to 0.


Add .svg to url-loader, and update documentation?

Is this a bug report?
No

Which terms did you search for in User Guide?

Adding .svg images
Environment

node -v: v6.11.3
npm -v: 3.10.10
yarn --version (if you use Yarn): 1.2.1
npm ls react-scripts (if you haven’t ejected<EMAIL_ADDRESS>
In the user guide it says that:

To reduce the number of requests to the server, importing images that are less than 10,000 bytes returns a data URI instead of a path. This applies to the following file extensions: bmp, gif, jpg, jpeg, and png. SVG files are excluded due to #1153.

Bugs #1153 and #1180 are fixed. Should we add .svg to url-loader too? And update the user guide? I have a lot of small .svg files that could be a data URI?

That issue says why it's disabled; inlining svgs breaks fragments. So it probably won't change unless you have a different solution for that case?

oh, sorry about that 🤦♂


Footnotes persisting through repeated use of Markdown instance

Hi!
Most state clears, as it should, between convert() calls, but for some reason, footnotes persist. For instance:
import markdown

m = markdown.Markdown(extensions=['extra'])
# (using 'extra' extension to make footnotes work; using 'footnotes' is sufficient though.)

t1 = """
This is a test. ["Testing is fun."][1].

 [^1]: It sure is!
"""

t2 = """
This does not contain footnotes.
"""

print(m.convert(t1))
print("----")
print(m.convert(t2))

Will output:
$ python mdtest.py

This is a test. ["Testing is fun."][1].

It sure is! ↩

----

This does not contain footnotes.

It sure is! ↩

Reinitializing the converter between calls works, but for my purposes that is a convoluted workaround.
Thanks!

(fwiw, calling m.reset() between calls is also sufficient, but seems like it shouldn't be necessary)

This is  feature, not a bug. Suppose you had a blog with multiple posts on your homepage. Each footnote reference would need to be unique. If we completely reset the footnotes after processing each post, this would not be possible. However, the current implementation makes this work seamlessly.
Note that this is fully documented. Except for the rare circumstances where you do not want to "reset," it is expected that a call to reset be made between every call to convert. Note that using the markdown.markdown wrapper function gives you a new class instance each time it is called, so you get a fresh start with each call. In my experience, most people use the function and never encounter this issue. The class is at a lower level for more advanced usage and requires more effort (like calling reset) to use.


migrations for backup system not checked in

(ocp)alex@brainviz1:~/open-connectome/django$ python manage.py migrate
System check identified some issues:

WARNINGS:
ocpuser.NIFTIHeader.channel: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
	HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
registration.RegistrationProfile.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
	HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Operations to perform:
  Synchronize unmigrated apps: ocpca, overlay, staticfiles, messages, synaptogram, catmaid, registration
  Apply all migrations: sessions, admin, djcelery, auth, contenttypes, ocpuser, ocpviz
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  No migrations to apply.
  Your models have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
(ocp)alex@brainviz1:~/open-connectome/django$ python manage.py makemigrations
System check identified some issues:

WARNINGS:
ocpuser.NIFTIHeader.channel: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
	HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
registration.RegistrationProfile.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
	HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
You are trying to add a non-nullable field 'backup_id' to backup without a default; we can't do that (the database needs something to populate existing rows).
Please select a fix:
 1) Provide a one-off default now (will be set on all existing rows)
 2) Quit, and let me add a default in models.py
Select an option:

Note that you can set django fields to be NULL by using blank=True in the models.py file.

@randalburns Added the backup code. I think he has not pushed the migrations. Will talk to him when I get a chance.

I think this is now resolved in the microns branch.


Double check Hue refresh token logic

Doesn't look right

Also remove outdated info from README about Hue local API

ALSO update Travis CI build indicator in README


[Core] 🌍 Builtin plugin i18n support

Thanks to 冷泡茶OuO@Discord  for zh_TW translations

I'll make a simpler i18n and support custom command actions for locale specific via JSON.
{
  "fallback": "en-US",
  "translations": {
    "_locales": [
      "en-US"
    ],
    "general": {
      "active": "Pengu Loader is active!"
    },
    "actions": [
      {
        "name": "Home",
        "perform": "https://pengu.lol"
      },
      {
        "name": "Create ARAM",
        "perform": "$create.aram"
      }
    ]
  }
}


edit mockpathopen

Proposed change
The problem with the MockPathOpen class is that its init method is empty and there is hardly any information or any logic associated with it. That might confuse some of the developers and cause them to assume that the code is not complete. Such an improvement, either of the document or the code, is minimal and since it will only make things more understandable, this encourages better test case design in the long run.
This issue was prioritized to eliminate any ambiguity and enhance the quality of the available code. Forever handling code with unexplained empty init methods can cause developers some unnecessary debug and assumption troubles. Addressing it early ensures smoother collaboration eases maintenance and test setups are robust in the ensuing development phases.
Type of change

[ ] Dependency upgrade
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Deprecation (breaking change to happen in the future)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist
[ ] I have followed the perfect PR recommendations
[ ] The code has been formatted using Ruff (ruff format homeassistant tests)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.

To help with the load of incoming pull requests:

[ ] I have reviewed two other open pull requests in this repository.

This PR seems not to resolve any existing issue.


update docker instructions

relates to issue #22

@glennon

@glennon docker-instructions work on Mac, fail on Windows with the following error:
PS C:\Users\Antonio\Desktop\demos\internal-demos> docker run -it -p 80:80 arogi/internal-demos
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint stupefied_nobel (3e714c36d8c258eb17a88f05e290979bba6c3aab5541c912c9f4c96f9c44d8bf): Error starting userland proxy: Bind for <IP_ADDRESS>:80: unexpected error Unix.Unix_error(Unix.EACCES, "bind", "").

The above error was found to be a blocked port. Can be solved by running the container on a different port, e.g. 81:80 rather than 80:80


Hotfix/1.2.5

fix for duplicated unpublished workflows issue
(do not close, for review purposes)

Coverage increased (+0.04%) to 73.238% when pulling 526158b261bcd9b1809658675fcb73471bca8006 on hotfix/1.2.5 into 22bfd517e3c4a7a746c0abe0c808fbd872d531f8 on master.

Coverage increased (+0.04%) to 73.238% when pulling 526158b261bcd9b1809658675fcb73471bca8006 on hotfix/1.2.5 into 22bfd517e3c4a7a746c0abe0c808fbd872d531f8 on master.

Coverage increased (+0.02%) to 73.222% when pulling df4c61255428218ddca4c84c18b0f8fcb6d6ec43 on hotfix/1.2.5 into 22bfd517e3c4a7a746c0abe0c808fbd872d531f8 on master.

Coverage increased (+0.02%) to 73.222% when pulling 1dd26db45ec9373782ed69e829f16267971b51cd on hotfix/1.2.5 into 22bfd517e3c4a7a746c0abe0c808fbd872d531f8 on master.


merge package template from arlac77/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(devDependencies): update<EMAIL_ADDRESS>from template

.travis.yml

chore(travis): add node versions 9

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[occupancy-sensing]Updated occupancy sensing cluster SDK & Sample app(all-clusters-app) implementation to Rev 5 (Matter 1.4)

Updated occupancy sensing cluster SDK implementation based on XML changes(PR#34163) for Occupancy Sensing rev 5

Updated occupancy sensing cluster sample app(all-clusters-app) implementation to Rev 5 in the zap and matter file of all-clusters-app

Remove "occupancy-sensor-server" from "ClientDirectories" in zap_cluster_list.json to resolve a building issue found from rebuilding the chip-tool

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Can anybody help to merge, if it's approved? Thank you


android err!!!!RNFetchBlob.DocumentDir!!undefined is not an object

package.json
"react-native-fetch-blob": "^0.10.8",
"react-native-pdf": "^3.0.15",
In my react native app, IOS works fine, but in the android app, undefined is not an object rnfetchblog.documentdir. I have checked many issues, but I haven't seen a clear solution

Just started getting this issue for no reason.

Also getting this error

I'm seeing the opposite - getting this error on iOS, but it works on Android for me

https://github.com/wkh237/react-native-fetch-blob/issues/706#issuecomment-394759849


Runs before the final run should discount outcome

If we are using run_before_dempotency the outcome of the runs should be discounted until we get to the last run, it which case it needs to pass.

This is going to get totally revamped


Projects require unique expressions names error in substrait producer/consumer

Describe the bug
Datafusion substrait consumer is unable to produce/consumer a substrait plan that uses the same column names with different aliases
To Reproduce
import substrait.gen.proto.plan_pb2 as plan_pb2
from datafusion import SessionContext
from datafusion import substrait as ss

ctx = SessionContext()
sql_query = "SELECT PS_PARTKEY K1, PS_SUPPKEY AS K1 FROM 'partsupp'"

substrait_proto = plan_pb2.Plan()
substrait_plan = ss.substrait.serde.serialize_to_plan(sql_query, ctx)

Error:
DataFusion error: Plan("Projections require unique expression names but the expression \\"partsupp.ps_partkey AS k1\\" at position 0 and \\"partsupp.ps_suppkey AS k1\\" at position 1 have the same name. Consider aliasing (\\"AS\\") one of them.")')

Expected behavior
No response
Additional context
No response

same column names with different aliases

Isn't the repro trying to alias different column names (PS_PARTKEY, PS_SUPPKEY) to same alias (K1)? Why would you want to do that? 😅

same column names with different aliases

Isn't the repro trying to alias different column names (PS_PARTKEY, PS_SUPPKEY) to same alias (K1)? Why would you want to do that? 😅

Ahh...that was my mistake.  One of those should be k2.  I was trying to get a more simple repro of a much larger query with multiple joins.  However...now that I have a more proper query, I am running into a different issue.
This is the query I have now:
SELECT p1.PS_PARTKEY supp_key, p2.PS_PARTKEY cust_key
FROM
    'partsupp' p1,
    'partsupp' p2

And this is the substrait error from that:
DataFusion error: NotImplemented("Unsupported operator: CrossJoin:\\n  SubqueryAlias: p1\\n    TableScan: partsupp projection=[ps_partkey]\\n  SubqueryAlias: p2\\n    TableScan: partsupp projection=[ps_partkey]")')

So the original issue that I was hitting was datafusion trying to run a substrait plan generated from DuckDB.  And the error from that is the same error as I put in the description.

I added to the substrait support epic: https://github.com/apache/datafusion/issues/5173

Hmm not sure how you got the NotImplemented error - maybe somehow running a quite old DataFusion? However with the query

SELECT p1.PS_PARTKEY supp_key, p2.PS_PARTKEY cust_key
FROM
    'partsupp' p1,
    'partsupp' p2

I do get the same error as you originally:
#[tokio::test]
async fn roundtrip_implicit_cross_join() -> Result<()> {
    roundtrip("SELECT p1.a p1_a, p2.a p2_a FROM data p1, data p2").await
}

Error: Plan("Projections require unique expression names but the expression \"data.a\" at position 0 and \"data.a\" at position 1 have the same name. Consider aliasing (\"AS\") one of them.")

This is because Substrait doesn't include aliases neither for tables nor for columns. I'm trying to see if I can add that into Substrait, it'd make these things easier to support: https://github.com/substrait-io/substrait/pull/648

Hmm not sure how you got the NotImplemented error - maybe somehow running a quite old DataFusion? However with the query

Ahhh yea...i was on an older version.

Given that names don't matter in Substrait (the final names are provided) is the problem solvable within the Substrait consumer for Datafusion?  Shouldn't the consumer be able to rename the columns to whatever it wants?
Stepping further back I wonder if the check is needed at all here -- is it trying to prevent extra work or is it trying to prevent confusion on its part later on?  It may be designed for the case where the fields are named the same but are from different sources which isn't happening here.  Perhaps the check needs to be made more precise?

Given that names don't matter in Substrait (the final names are provided) is the problem solvable within the Substrait consumer for Datafusion?

As discussed on the Substrait ticket, yes it can be solved, but not in a nice way.

Shouldn't the consumer be able to rename the columns to whatever it wants?

It can, however given the user has named the columns/tables in one way in the original plan, it can be quite confusing to the user if the columns/tables are named much differently in the actually executed plan.

Stepping further back I wonder if the check is needed at all here -- is it trying to prevent extra work or is it trying to prevent confusion on its part later on? It may be designed for the case where the fields are named the same but are from different sources which isn't happening here. Perhaps the check needs to be made more precise?

This plan results in a cross join, so the fields do refer to different sources, or same table but different sides of the join, so they are different columns.


Build Spring Boot demo app inside a container on CDD.

I found it useful to not have to build the app before deployment, but instead build it inside a container while deploying. I think this might be useful for others as well.

Amazing, thank you so much for that! I will add as a separated app in the main READE.


Update accentColor to get better contrast ratio

#8dd6f9 on #ffffff has a very low contrast ratio (1.6) – it may make readers hard to read the contents.
I suggest #2868ca for a better AA contrast ratio (5.35).
Before:

After:

Thank you for the great article.

I tried #1d78c1 from the webpack color palette but its contrast ratio was only 4.66 and was not enough. (Even webpack document site uses #144f80 for accent(link) color)

@lqez - Thanks for the detailed feedback 😄#2868ca looks great to me for the better readability. Appreciate it! 👍

@lqez - Just for your information, since I would like to stick to the key color in Webpack Branding Guidelines, I did put the #8dd6f9 color back for the application theme color and did update the link text colors with #144f80 which is being used on the webpack official website. Again, I appreciate your considerate feedback 😄


Problems installing 0.12.x with handlebars templates

I am new to sails and so I started by installing 0.11.1 with handlebars as the templating engine:
 npm install -g<EMAIL_ADDRESS> npm install -g sails-generate-views-handlebars
 # create repo
 sails new sailor --template=handlebars
 npm install --save handlebars
 npm install --save consolidate

Worked like a charm but then I realised that the hook for Swagger only worked with 0.12 and possibly only with the code on master. So I then preceeded to walk a little closer to the bleeding edge with:
npm uninstall -g sails
npm install -g git://github.com/balderdashy/sails
# ...

This didn't go so well. Tons of errors on the install. Here's a small clipping:

In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~
/Users/Ken/.node-gyp/4.0.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,

If I had to guess it may have something to do with me using node 4.0.0 but this did work just fine with Sails 0.11.1. After a cascade of errors, however, it does install. I then create two new projects:
sails new foo
sails new bar --template=handlebars

Lifting foo appears to work (in this bare bones example) but lifting bar gives the following error:

info: Could not find module: handlebars in path: /path/to/repo/mine/bar/node_modules
/usr/local/lib/node_modules/sails/node_modules/express-handlebars/lib/express-handlebars.js:38
if (this.extname.charAt(0) !== '.') {

TypeError: Cannot read property 'charAt' of undefined
at new ExpressHandlebars (/usr/local/lib/node_modules/sails/node_modules/express-handlebars/lib/express-handlebars.js:38:21)
at Function.create (/usr/local/lib/node_modules/sails/node_modules/express-handlebars/index.js:22:12)
at layoutshim (/usr/local/lib/node_modules/sails/lib/hooks/views/layoutshim.js:36:26)
at Hook.initialize (/usr/local/lib/node_modules/sails/lib/hooks/views/index.js:62:7)
at Hook.bound [as initialize] (/usr/local/lib/node_modules/sails/node_modules/lodash/dist/lodash.js:729:21)
at /usr/local/lib/node_modules/sails/lib/hooks/index.js:75:14
at /usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:451:17
at /usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:441:17
at _each (/usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:46:13)
at Immediate.taskComplete (/usr/local/lib/node_modules/sails/node_modules/async/lib/async.js:440:13)
at processImmediate [as _immediateCallback] (timers.js:371:17)

Note: on reinstalling 0.11.1 I realise that the compilation errors I was referring to were present in this build too. I suspect -- just guessing -- this is node 4.0.0 related but that its ultimately inconsequential. The key difference though is that handlebars based services work in 0.11.x.

Thanks for the heads up @ksnyde.  Just to make sure we're on the same page: the handlebars generators are community-supported features that won't be officially sponsored by development hours from our core team for Sails v1.0 (however runtime support for consolidate-compatible view engines like Handlebars will).  We're working on Node 4 support and should have a patch soon :)

Thanks @mikermcneil, sorry for the noob question but are you saying the issue above is likely to be resultant of template generation not doing something correctly (versus a runtime processing issue)? If that's the case, where is the best place for me to submit this type of issue?

It looks like this is an issue with Node 4 / express-handlebars.  Would you try this again with the latest version of Sails?

@mikermcneil I don't think that a 0.12 series of Sails has been published with the node 4 fixes yet. Has it?


ci-automation: publish test results, add to GC

This change adds copying test results to the build cache server, and adds respective deletion to the garbage collector.
Also, the patch fixes an issue with torcx publishing (manifest publishing had arch hard-coded).

Re-capturing conversation from https://github.com/flatcar-linux/scripts/pull/232#discussion_r812171729 ff. since the underlying code changed and the conversation is not visible anymore:
Kai

I would test for existence first before doing the call because it would fail.

Jeremi

The .tap and _kola_temp/ may not match any files and will cause rsync to fail

Thilo

Ah, gotcha. In that case, kola did not run at all, and the script would have aborted earlier (since we use set -euo pipefail).

Kai

Yes, was talking about that. In this case we would still fail here because rsync does not find a file under the unexpanded name, so no problem with having it missing.

I believe we would fail earlier - no .tap file means no test started successfully, which would make the script fail when trying to collect tap files for analysis (line 158ff.). And it's OK to fail then, because test runs failed.

Cherry-picked to flatcar-3033, flatcar-3066, flatcar-3139.


Fixes & changes that are not related to specific Issues

Summary

Fix USER PREFERENCES to actually be under Preferences
Added new PROJECT SETTINGS stored in ProjectSettings
Fixes to work at smaller scales by changing magnitude check
(optional) Fix to not snap to a 0.001 grid via project settings
Fix to retain layer on generated GameObjects
Added new optional feature to not save meshes in scene files, via Project Settings
Added new menu item under Edit/Realtime-CSG/ to destroy all helper surface meshes

Changelog

All references to .sqrMagnitude changed to .magnitude when being compared to a NON squared constant, which should allow making changes at a much smaller scale without generating invalid brushes.
Moved the current USER PREFERENCES to actually appear under Edit/Preferences menu item in the Unity Editor, since they're stored per user and NOT per project.
Introduced a new settings provider which is based on a ScriptableObject stored in ProjectSettings to store actually project-wide settings

Whether or not to Save Meshes Per Scene
Whether or not to Snap to a 0.001 grid (as per GridUtility.CleanPositions) regardless of snapping settings

Changed all possibly-touched checks to EditorApplication.isPlayingOrWillChangePlaymode to instead use RealtimeCSG.CSGModelManager.IsInPlayMode to allow a little more flexibility with different options.
Added changes so that meshes can NOT be saved to Scene files if chosen, and updated relevant parts of code so that those meshes get regenerated regardless of RealtimeCSG being enabled.
Added helper menu item at Edit/Realtime-CSG/Destroy All Helper Surface Meshes In Scene which destroys all helper surface meshes in a scene, since absolutely nothing else destroys them, meaning they stay forever after being generated.

Useful for when Save Meshes Per Scene is initially turned off since it strips out all useless meshes.

Updated gameObject generation code so that layer is preserved on creation.

Pending the poll I posted in discord, it would be safe to disregard the changes I requested once it ends. Otherwise, everything here looks good!

Before I merge this, is it completed?


The gap between KCFcpp and KCFpy?

I have run your code, but I found the performance has some gap between these cpp and py version.
1. the cpp version has a better scale invariance
2. the py version is easily tend to lose target

and I still run some other version of cpp code such as vojirt/kcf and foolwood/KCF, they remain the same problems.
Do you have worked out this weird problem?

Sorry for my late reply. Did you change the parameters in line 59 in 'run.py', if you didn't, it may explain your question:
tracker = kcftracker.KCFTracker(False, True, False)  # hog, fixed_window, multiscale
You can set the first parameter True for tracking robustness, and set the third parameter True for scale invariance. (I update it now)
I haven't test the the code systematically, so although this code is translated line-by-line from KCFcpp, there may still be some problems.

Thank you very much!


Problems about small/large objects reporting

Hi,
We are facing the following problems about reporting the position of large and small objects:
We can successfully identify the target vessel and report the position. We received the feedback vessel_id_success in mbzirc/phase and mbzirc/target/stream/status. When we report the position of the small object, the feedback of mbzirc/target/stream/status is stream_started, and we can see that the position report of the small object has been received in the terminal of simulator. However, we didn't get any feedback, such as small_object_id_success or small_object_id_failure.
It looks like this screenshot below, in the right-top of which is output of our own code, the second line takes mbzirc/phase as input while the third line takes mbzirc/target/stream/status as input, others are not relevant.

We did have updated the simulator environment to the very newest commit. So I wonder what I may do wrong. Thanks in advance.

just checking if your operations are done in this order:

spawn all vehicles in start gate before doing anything.
video stream is started before reporting targets

You can also double check the events logged in /tmp/ign/mbzirc/logs/events.yml. One possibility is that it could be vehicle attempting to report the small target or stream images is spawned later into simulation after the phase has changed to started?
You can take a look at the steps listed in https://github.com/osrf/mbzirc/pull/195 to see how we are testing target reporting. See if you are doing something different that we are not expecting.


Generated bottom half face always blur.

I use nearly 4w high quality talking head data to train wav2lip288x288. I found that during training, the generated bottom half face always blur. I try to use GAN loss and perceptual loss, but it doesn't help. What should I do. Is the wav2lip model structure has limitation on image quality? Or any loss can improve this?

预处理完的图片清晰化怎么样，你先检查一下

预处理完的图片清晰度怎么样，你先检查一下

GT data after s3fd detection and resize is high quality.

是不是288像素太低了，我目前用的256的模型，生成的下半张脸就很模糊


Document is incorrect

HidRegisterMinidriver cannot be called from UMDF driver.
The call requires use of PDRIVER_OBJECT which is not defined in UMDF headers, only KDMF.

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

ID: d4ed427e-a01a-368b-7422-2dea0aec50a3
Version Independent ID: 1730981a-bdca-ba26-b8a1-301473678bb2
Content: Minidrivers and the HID class driver
Content Source: windows-driver-docs-pr/hid/minidriver-operations.md
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

Hi @LarryK348, thanks for opening this issue. @PageWriter-MSFT, can you take a look?

Hi @LarryK348 thanks for the feedback, apologies for the delay getting back to you.  I had a quick look at the page you reference.  Can you be more specific which sentence of the page you're referencing?  Also note that if you have a specific change to propose, you can click the Edit button on the page and open a PR

Closing due to inaction.  Feel free to reactivate as needed.  Thanks!


Unhandled exception: Upon starting

Description: Attempted initial run
Version: 1.6.7
OS: Windows-10-10.0.22000-SP0 (64-bit)
Type: <class 'AttributeError'>
Value: 'NoneType' object has no attribute 'split'
Traceback:

  File "C:\Program Files (x86)\CDDA Game Launcher\cddagl\ui\views\main.py", line 1412, in showEvent
    self.refresh_builds()
  File "C:\Program Files (x86)\CDDA Game Launcher\cddagl\ui\views\main.py", line 3266, in refresh_builds
    self.refresh_changelog()
  File "C:\Program Files (x86)\CDDA Game Launcher\cddagl\ui\views\main.py", line 3292, in refresh_changelog
    body = entry['body'].split('####'),

Fixed in https://github.com/DazedNConfused-/CDDA-Game-Launcher/releases/tag/v1.6.8 thanks to @RundownRhino


scrollbar always at the bottom using class component

hi @goldenyz , is there any way to make the scrollbar fixed at the bottom where you don't need to scroll down. i want to do like a chatbox.

I have de same problem. It is automatically scrolls down but i want it to start from top.


Proxy support

Version
OS: Windows 10 version 1607
Bot Framework Emulator: v4.1.0
Node: v10.9.0
node-fetch<EMAIL_ADDRESS>Describe the bug
I work behind a company proxy and when I start a new conversation the BotFramework Emulator is not able to connect to the login.microsoftonline.com API, in order to obtain the access_token, as explained in your documentation.
Here is the error:
request to https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
This is because the BotFramework Emulator ignore both the system proxy and the HTTP_PROXY env variable.
To Reproduce
Steps to reproduce the behavior:

Being behind a proxy (you can use Fiddler on Windows which create a local proxy at http://localhost:8888 )
Setup the system proxy and ENV variables:
HTTP_PROXY=http://localhost:8888
HTTPS_PROXY=http://localhost:8888
NO_PROXY=localhost,<IP_ADDRESS>
Open Bot Framework Emulator and connect to a bot inserting Url, AppID and AppPassword
Wait and you won't see the API call through the proxy (This means if you have internet access only passing through the proxy, the emulator cannot reach the URL and will receive the timeout error)

Expected behavior
The expected behavior is that the Emulator use one of the following solution:

system's proxy configuration (proxy, proxy ignore list, etc)
env variables proxy's configuration (HTTP_PROXY, HTTPS_PROXY, NO_PROXY)
custom proxy's configuration you can edit in the settings' pane

Screenshots

Additional context
In previous versions this behaviour was not present.
I see in your code (https://github.com/Microsoft/BotFramework-Emulator/blob/master/packages/emulator/core/src/facility/botEndpoint.ts#L117) you are using node-fetch and this module support http.agent but by default it's null (https://github.com/bitinn/node-fetch#options).
Reproduce error in node-fetch
Code to reproduce the behaviour outside of the Emulator context:
let tokenEndpoint = 'https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token'
let fetch = require("node-fetch")

let appId = "<your App ID>"
let appPwd = "<your App Password>"
let body = {
    "grant_type": 'client_credentials',
    "client_id": appId,
    "client_secret": appPwd,
    "scope": appId + '/.default'
}

fetch(tokenEndpoint, {
    method: 'POST',
    body: new url.URLSearchParams(body),
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    }
  })
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));

Code to fix the behaviour outside of the Emulator context:
let tokenEndpoint = 'https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token'
let fetch= require("node-fetch")

let appId = "<your App ID>"
let appPwd = "<your App Password>"
let body = {
    "grant_type": 'client_credentials',
    "client_id": appId,
    "client_secret": appPwd,
    "scope": appId + '/.default'
}

let HttpsProxyAgent = require('https-proxy-agent');
var proxy = process.env.http_proxy
var agent = new HttpsProxyAgent(proxy);

fetch(tokenEndpoint, {
    method: 'POST',
    body: new url.URLSearchParams(body),
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    agent: agent
  })
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));

Related issues:

https://github.com/Microsoft/BotFramework-Emulator/issues/1055
Discussion about ENV HTTP_PROXY support in node-fetch: https://github.com/bitinn/node-fetch/issues/195

[bug]

@Fed29 - We are accepting contributions from the community! Please feel free to take a crack at this fix. I'm happy to help with this if you need it.

Also need to verify if ngrok works with HTTP/S proxy. If it don't, we need to give a warning in case the user set HTTP_PROXY env.

This is the implementation I have planned:
packages/app/maiin/src/main.ts
const fetch = require('node-fetch');
global.fetch = function (...args) {
    // No Proxy
    if (!process.env.HTTPS_PROXY) {
        return fetch(...args);
    }
    const [urlOrRequest, requestInit = {}, ...rest] = args;
    // URL is first param attach the proxy
    // to the RequestInit
    const HttpsProxyAgent = require('https-proxy-agent');
    const agent = new HttpsProxyAgent(process.env.HTTPS_PROXY);
    if (typeof urlOrRequest === 'string') {
        requestInit.agent = agent;
    } else {
        urlOrRequest.agent = agent;
    }
    return fetch(urlOrRequest, requestInit, ...rest);
};

Fetch is now available on the global object for node. This does not require passing around a custom fetch object nor does it require a ponyfill as a dependency in core.

I am not a fan of polluting the global namespace. But it will just do the trick for the first bullet point and not clamping down on "cross platform" support on Emulator Core. 👍

@justinwilaby did you check if https-proxy-agent will retrieve proxy settings from WININET? Proxy settings on Windows is not exposed via HTTP_PROXY_AGENT env.

I downloaded recent version and still have same problems while being behind company proxy, while it is fine for v3 still cannot connect on local host using emulator v4; I have two variables http_proxy and https_proxy defined in my environment; once  those are deleted emulator works fine but I do not have access to the external world..

I just tried the last version (4.4.1) this morning behind a proxy, and bypassing ngrok for local usage.
I can send a message from the emulator to the bot, but the bot cannot send this message back to the emulator.
Finally I ended up by using the version 4.09 alpha, which is working as expected and without special configuration.


fix foreign key string column sizes

Changes the foreign keys on DruidMetric.datasource_name and DruidColumn.datasource_name to match the referenced column size.
Also changes the migration script that creates the foreign keys.  Was this the best thing to do?  Should I also create a new migration script for existing databases?
This fixes #337.

Coverage decreased (-0.2%) to 81.002% when pulling d81d39c5667af9e61219481916ffcb3d35b259f4 on aljones:bugfix-datasources-fk into 83d5ad216a9a82ac727965f7607480764535ffb8 on airbnb:master.


links are not colored

I don't know if this is on purpose, but links are shown as white text and not accent color.
https://github.com/mirus-ua/hugo-theme-re-terminal/blob/fab58b1697f22639672dc1756b42707a8134c844/assets/css/main.scss#L60
If a is changed from inherit to var(--accent) this is "fixed"

Hello. Thanks, you raised the topic.
The suggested changes affect all links, including buttons and menus, so they will definitely break backward compatibility without making a version bump.
Are you interested in a different color for links inside articles? I'm asking because better understating may helps to find out a solution

Thank you for your work.
I was thinking in coloring all links but definitively didn't thought about buttons.
I was looking for something like this in my website: https://amannolem.cat/relats/  but as you can see I use quite little elements.
I don't know what is your ideal for the theme. I can always add some personal css into my website, you know :)

I see what you are trying to achieve. Maybe it's a good idea to add an optional CSS variable --link-color to the scope of the article layout because, indeed, some people prefer to highlight links with some color. These changes won't help you to colorize menu items, though...

That sounds really nice!

That sounds really nice!

Would you like to contribute? Or I can do it when I have some time. Just asking to prevent double work

I think you can go on this one. I'm not that good with sass, but I'll learn

https://github.com/mirus-ua/hugo-theme-re-terminal/pull/25 was merged
Use --article-link-color: var(inherit); /* for you, who want to colorize your article links */ in your static/style.css to colorize article links


Error: "Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/hello_world.app/Info.plist"

Environment
$ react-native info

  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
      Memory: 20.59 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 9.11.2 - ~/.nodenv/versions/9.11.2/bin/node
      npm: 6.3.0 - ~/.nodenv/versions/9.11.2/bin/npm
      Watchman: 4.7.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
      Android SDK:
        Build Tools: 26.0.0, 26.0.3, 27.0.3, 28.0.2
        API Levels: 23, 26, 28
    IDEs:
      Android Studio: 3.1 AI-173.4907809
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.4.1 => 16.4.1
      react-native: 0.56.0 => 0.56.0
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Description
Error
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/hello_world.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

All Log
$ react-native init hello_world
This will walk you through creating a new React Native project in /Users/yusk/hello_world
Installing react-native...
Consider installing yarn to make this faster: https://yarnpkg.com

><EMAIL_ADDRESS>install /Users/yusk/hello_world/node_modules/fsevents
> node install

[fsevents] Success: "/Users/yusk/hello_world/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

+<EMAIL_ADDRESS>added 766 packages from 362 contributors and audited 15204 packages in 59.981s
found 0 vulnerabilities

Setting up new React Native app in /Users/yusk/hello_world
Installing React...
+<EMAIL_ADDRESS>added 1 package and audited 15228 packages in 9.722s
found 0 vulnerabilities

Installing Jest...
npm WARN deprecated<EMAIL_ADDRESS>1.2.0 should have been a major version bump
+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 291 packages from 244 contributors, updated 1 package and audited 33333 packages in 28.288s
found 0 vulnerabilities

To run your app on iOS:
   cd /Users/yusk/hello_world
   react-native run-ios
   - or -
   Open ios/hello_world.xcodeproj in Xcode
   Hit the Run button
To run your app on Android:
   cd /Users/yusk/hello_world
   Have an Android emulator running (quickest way to get started), or a device connected
   react-native run-android
$ cd hello_world
$ react-native run-ios
Scanning folders for symlinks in /Users/yusk/hello_world/node_modules (19ms)
Found Xcode project hello_world.xcodeproj
Launching iPhone 6 (iOS 11.4)...
Building using "xcodebuild -project hello_world.xcodeproj -configuration Debug -scheme hello_world -destination id=C0F60DD0-07DE-403F-92D4-86302D96CF00 -derivedDataPath build"
▸ Building React/yoga [Debug]
▸ Check Dependencies
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.h
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/yoga/yoga/YGMacros.h
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/yoga/yoga/YGEnums.h
▸ Compiling Yoga.cpp
▸ Compiling YGNode.cpp
▸ Compiling YGStyle.cpp
▸ Compiling YGFloatOptional.cpp
▸ Compiling YGEnums.cpp
▸ Compiling Utils.cpp
▸ Compiling YGLayout.cpp
▸ Compiling YGNodePrint.cpp
▸ Analyzing YGFloatOptional.cpp
▸ Analyzing Yoga.cpp
▸ Analyzing YGStyle.cpp
▸ Analyzing YGNode.cpp
▸ Analyzing YGEnums.cpp
▸ Analyzing Utils.cpp
▸ Analyzing YGLayout.cpp
▸ Analyzing YGNodePrint.cpp
▸ Building library libyoga.a
▸ Building React/jsinspector [Debug]
▸ Check Dependencies
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/jsinspector/InspectorInterfaces.h
▸ Compiling InspectorInterfaces.cpp
▸ Analyzing InspectorInterfaces.cpp
▸ Building library libjsinspector.a
▸ Building React/privatedata [Debug]
▸ Check Dependencies
▸ Copying /Users/yusk/hello_world/node_modules/react-native/ReactCommon/privatedata/PrivateDataBase.h
▸ Compiling PrivateDataBase.cpp
▸ Analyzing PrivateDataBase.cpp
▸ Building library libprivatedata.a
▸ Building React/double-conversion [Debug]
▸ Check Dependencies
▸ Running script 'Install Third Party'
** BUILD FAILED **

The following build commands failed:
	PhaseScriptExecution Install\ Third\ Party /Users/yusk/hello_world/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/hello_world.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/hello_world.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Have you already tried running another (older) emulator, e.g. react-native run-ios --simulator="iPhone 8"

Reiterating what Marc said in #14423 at the start of the year. This error plainly indicates the project failed to compile or link. You'll need to look further up in your output for a hint of the root cause. I've opened #21303 in order to help people who run into this issue, and will lock this thread to avoid causing more confusion.
Duplicate of #21303


Refactoring of MetricName for Metrics 5.0

This pull request is a collection of various bug-fixes and improvements to MetricName. Either accept as is, or use it as a basis for discussion.
NOTE: non-backwards compatible changes, but since MetricName has not yet been released this is not an issue (if this pull request is accepted before the release of 5.0.0).
Major changes (each in separate commits):

Bug-fix: Defensive copy of tags in constructor.
Bug-fix: tagged should replace any previous tags (compare with implementation of join).
Harmonization of resolve, tagged, join and build.

resolve changed to vararg, to also replace build(String...)
static join (vararg) changed to append(MetricName). All usages of join (vararg) were 2 args, and were replaced with e.g. prefix.append(name).
static empty() is now exposed.

Changed comparator to follow conventions, i.e. shorter string/sequence is smaller than longer string/sequence.
Keep tags sorted internally, and optionally expose that in the API as well.

Thank you for taking a look at the tags feature and improving it! Backward compatibility is not an issue for the features introduced in the 5.0, because we haven't had a stable release yet. I will review the PR shortly.

LGTM, thanks for the contribution.

@arteam, version 5.0.0 of dropwizard metrics is already on Maven central. Is that a mistake?
For example, io.dropwizard.metrics5:metrics-core:5.0.0 is on maven central (01-Feb-2018)
BTW, when is metrics 5.0.0 planned to be released?


Add missing next increments in Invoker.invokeN5 where objCount <= 5

A fix for issue #22. I briefly scanned though the rest of the class and didn't see any others missing the increment.

Got left behind. Looking at it now.

I thought I saw others but then I realized the last switch in each of these methods does not need to increment next. Will merge. Thank you!

Oh, I did notice you added no test for this. If there's any way you can do that, it would be a great help. I'm not sure how you triggered this to happen...just pass <= 5 arguments for a 5 arg function?

I'll take a crack at unit test this weekend, I forget how I triggered it originally, but it was via jnr-ffi's magic.

Great, thanks very much for your help! Sorry for the delay getting this in.
On Tue, Mar 8, 2016 at 9:47 AM, Ben Doerr<EMAIL_ADDRESS>wrote:

I'll take a crack at unit test this weekend, I forget how I triggered it
originally, but it was via jnr-ffi's magic.
—
Reply to this email directly or view it on GitHub
https://github.com/jnr/jffi/pull/23#issuecomment-193831460.


Mulitple bars

Great plugin 👍
One little issue I came across is that on page load I hook into all ajax request, to call go(0) and increment that with a timer.
When I have like several ajax going, one after the other, not asynchronous.. then multiple bars get created. They all look like they execute at the same time.. but actually its the delay when i set go(100) at the end of one, it spans out to 100% and fades out... while the next request, on the same nanobar variable object calls go(0) and a new html bar gets created on the UI? "under the previous one"
Then if I got several fast ajax calls, the bar stack under each other.. looks wierd.
I tried to add flags, is loading, is timer set.. obviously by the time the first ajax finished the next on checks the flag, it says yes the previous call ended, start a new one.
I would have thought it would just use the same bar?

This might be the same issue i came to report..      You can see after every reload the nano bar becomes not so nano.... it grows by 1 bar after every load...  how can I stop this?     here is it in action:  https://explorer.notallmine.net/txsPending/    loads after every 10 seconds...   it eventually takes over the whole page with one big loading bar lol

.nanobar .bar {
visibility: hidden;
}
    .nanobar .bar:first-child {
       visibility: visible;
   }

@ppumkin 's fix is working for me.. but seems like a bug.    those hidden divs are still building up in the background lol..

🤷♂


Terminal versions after 1.14.2282.0 won't start

Windows Terminal version
1.14.2282.0
Windows build number
10.0.22000.0
Other Software
No response
Steps to reproduce
I can only run WT at version 1.14.2282.0. If I install any newer version it fails to start (no window appears, no process is listed in Task Manager, etc.). Even when attempting to start from the command prompt/PowerShell with wt.exe, nothing is reported back to the console. This would be fine except it appears that Windows Terminal is getting updated in the background somehow so each time I restart my Azure DevTestLabs VM I need to uninstall, reinstall, & overwrite settings.
Microsoft Store is blocked on my VM so I have to manually install WT from the GitHub releases and would not assume that it would be auto-updated.
Expected Behavior
launch as normal and not be updated automatically
Actual Behavior
Any version above 1.14.2282.0 fails to start and results in an Application Error in the Windows Application Event Log as follows:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>100</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2022-10-13T14:40:52.2829793Z" />
    <EventRecordID>10596</EventRecordID>
    <Correlation />
    <Execution ProcessID="13228" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>(redacted)</Computer>
    <Security />
  </System>
  <EventData>
    <Data>WindowsTerminal.exe</Data>
    <Data>1.15.2209.28003</Data>
    <Data>6334cd9b</Data>
    <Data>Windows.UI.Xaml.dll</Data>
    <Data>10.0.22000.978</Data>
    <Data>82655b66</Data>
    <Data>c000027b</Data>
    <Data>00000000004a3e02</Data>
    <Data>31f8</Data>
    <Data>01d8df11cae1f6ed</Data>
    <Data>C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.15.2713.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe</Data>
    <Data>C:\Windows\System32\Windows.UI.Xaml.dll</Data>
    <Data>17440c44-24fe-4338-add1-cb36a6c31dee</Data>
    <Data>Microsoft.WindowsTerminal_1.15.2713.0_x64__8wekyb3d8bbwe</Data>
    <Data>App</Data>
  </EventData>
</Event>

Oof! Is there a chance that you're running "Windows N" (the no-media SKU) on that host?

Yes, System > About is reporting Windows 11 Enterprise N (21H2)

Argh! Thank you for reporting it and confirming.
This is a /duplicate of #14104, for which a fix is being released shortly.
If you need to get unblocked today, installing the media feature pack will help. I'm sorry about the issue.


refactor: profiler implementation

The purpose of this PR is to refactor numeric and text column profiler implementation. The new approach has more modular and easy-to-maintain code. Lots of nested if/else and for loop logic have been refactored.

The consequence is that, while they will help with future refactors and work, they probably won't have helped us making sure that the refactoring didn't change the outcome of profiling.

Actually, that was my main goal to add this test. In the previous code, some fields weren't tested. So, I added some extra checks that the outcome didn't change with my refactor.

I think there's a simple solution:
could you run profiling on a few of the tables of adventureworks with the unrefactored version of the profiling logic and > one with the current changed on this branch.
check the numbers match and drop a few screenshots in the PR description maybe?

Definetely, will do it now


Prevent writing json file again if data has not changed

Currently the extension seems to write a json for a lot of games on Playnite startup. This can be an issue in large libraries with thousands of entries, ideally it should be detected if the new data is the same as the current one and don't write if that is the case.
993 json files are written in my library of 4,720 entries on each startup although I don't know why it happens to some games and not to others.

Another issue is that the extension keeps writing json files with no info and without changes from the previous state of the file. For example, file 57f17815-a772-4e7e-a8e4-d25be0f55155.json is written the first time I select a game after I start Playnite, always with the same content:
{"Items":[],"Id":"57f17815-a772-4e7e-a8e4-d25be0f55155","Name":"A Hat in Time"}

With the version 2.0, the plugin don't reload the data in playnite starting.

Just to let know that this is not an issue in Playnite 9 and the issue can be closed.


Update to latest version of OmniSharp, which includes MSBuild support for OSX/Linux

This change updates to the latest version of OmniSharp, which includes some support for MSBuild projects (i.e. .csproj and .sln) on OSX/Linux. I've tested this with some sample Unity projects and found that IntelliSense, Find All References, Go to Definition, etc. are generally working.
cc @gregg-miskelly, @caslan, @chuckries
Also, @MattGertz

:+1:

@DustinCampbell are we taking this through escrow? Or do you want to wait for the next release? If the next release, I would probably recommend merging to master instead.
Otherwise LGTM

We're in Escrow now, we'll be sure to bring it up there.

Oh, one other thing: do you want to update readme.md?

@gregg-miskelly: I'll update that separately in master.

Just approved. :smile:


Refactor: Collections and output types

Fixes:

Build errors on pages to be built for pdf and/or epub but not html

Changes:

Refactor frontmatter to expect outputs key, which can be a String or Array with possible values epub|pdf|html|none|false
Set output type in .env QUIRE_OUTPUT
Adds a current collection that only includes pages that should be included in the current output type being built, specified in .env.QUIRE_OUTPUT
Add computed permalink property to eleventyComputed

While excluding a page from a collection is straightforward, excluding a page from the eleventy build is less so. The consensus seems to be that setting permalink: false is the best way to do this, and I've added the computed permalink to eleventyComputed to do so, but I also had to add various data checks to prevent build failures when it seems like eleventy begins to attempt to build excluded pages, even though they are... excluded. However, the excluded pages do not exist in the final output.

Unfortunately these changes now exclude sections without landing pages from the menu and TOC. Still thinking about a solution for this. I'm not sure what the most logical way to specify in frontmatter that you want a template to be represented in the menu or TOC, but not built into a page, when you also want to be able to specify that a template shouldn't be built or represented in the menu. Seems like we might need a special key for section indexes without landing pages.

Unfortunately these changes now exclude sections without landing pages from the menu and TOC. Still thinking about a solution for this. I'm not sure what the most logical way to specify in frontmatter that you want a template to be represented in the menu or TOC, but not built into a page, when you also want to be able to specify that a template shouldn't be built or represented in the menu. Seems like we might need a special key for section indexes without landing pages.

Per our discussion, something like:
---
title: Subsection in Table of Contents
outputs: none
toc: true
---

Nota bene: for pages that are not excluded from outputs the default is `toc: true` however you may want a non-linked subsection heading to appear in the table of contents.

When a template front-matter sets `outputs` to `none` or `false` the page will be excluded from the build and not appear in the table of contents. To include a non-built page as a subsection heading in the table of contents, set `outputs: none` *and* `toc: true`


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3391

Questions ?
Please refer to the Backport tool documentation


Extend Delve backend RPC API to be able to make a Delve REPL front-end console in a IDE

Some commands are better in a console interface, to create a console in a IDE it would be much easier if the API has also REPL front-end support.
Example: https://github.com/Microsoft/vscode-go/issues/186
Please discuss with @lukehoban I am just the ticket man :)

Thanks @gertcuykens.
To provide some more technical details on the issue here:
IDE integrations make calls through the RPC API, so ensure that they can programmatically invoke commands and read results in a structured way.
However, in some cases, the IDE integration may want to support also allowing users to drop into a REPL where they can send commands to the current instance of dlv using the same front-end commands as the dlv binary.
Right now, the structure of Delve doesn't appear to make this possible.  There is no way to invoke the Delve front-end code (terminal/command.go) from the RPC API (server/rpc/client.go).  This design is nicely decoupled.  But it doesn't support this IDE scenario (unless the IDE effectively re-implements terminal/command and stays up to date with it).

Would it be unacceptable to run a dlv frontend with dlv connect and communicate with it using pipes?
It seems that the biggest problem is that the API is not reentrant, especially Command, so you would have to make sure no two calls are ever made simultaneously.

@aarzilli
Good suggestion - connecting with dlv connect would be an acceptable solution I think.
Unfortunately, it doesn't seem to work when connecting to a headless server that is in the middle of a debug session that has been accepting RPC requests from another client.  I tried this, and I can connect, but any commands I try to execute hang dlv.
c:\dd\go\src\github.com\lukehoban\hello>dlv connect <IP_ADDRESS>:2345
Type 'help' for list of commands.
(dlv) sources

If I then continue the other client to the end of the debug session, the dlv connect session unhangs with:
Command failed: read tcp <IP_ADDRESS>:4991-><IP_ADDRESS>:2345: wsarecv: An existing connection was forcibly closed by the remote host.
(dlv)

Is this expected?

It seems the server only accepts one connection, probably the correct behavior give how the API works. I've added a flag to allow multiple clients in PR #395.

Closed by c277b2715750a46153b2974f66eec84d438f669c


"Preparing the recognizer" never ends

Hey there,
first, thanks for the work. Unfortunately, I can not get past this error, which prevents the usage:
2019-11-29 11:02:41.878 9779-9796/org.kaldi.demo V/KaldiDemo: Could not read symbol table from file /storage/emulated/0/Android/data/org.kaldi.demo/files/sync/model-android/words.txt

Same as https://github.com/alphacep/kaldi-android-demo/issues/8 ? Which version do you try?

Looks very similar yes. I just cloned (~ 10 Minutes ago)

Please check CR+LF in words.txt file

Sorry, can you clarify?

CR+LF was replaced by CR only, now working.

Ok, looks good then, same as #8

Maybe nice addition: I can work with both endings (CR only / LF only). But only get results delivered back with LF. CR only is causing empty results.


[Bug] Amplify Gen2: AuthMode Type Mismatch ('userPool' vs 'userPools') Causes Authentication Failures

Environment information
## Environment
System:
  - OS: macOS 15.1.1
  - CPU: (10) arm64 Apple M1 Pro
  - Memory: 133.06 MB / 32.00 GB
  - Shell: /bin/zsh

Binaries:
  - Node: 20.9.0
  - npm: 10.1.0
  - pnpm: 8.10.5

NPM Packages:
  - aws-amplify: 6.10.0
  - @aws-amplify/backend: 1.8.0
  - @aws-amplify/backend-cli: 1.4.2
  - @aws-amplify/backend-data: 1.2.1
  - @aws-amplify/backend-auth: 1.4.1
  - aws-cdk-lib: 2.171.1
  - typescript: 5.7.2

Describe the bug
AuthMode Type Definition Mismatch in Amplify Gen2
Description
There is a type definition mismatch between the runtime implementation and TypeScript types for AuthMode in Amplify Generation 2. The runtime expects 'userPools' (plural) as a valid auth mode, but the TypeScript type definition only includes 'userPool' (singular). This leads to TypeScript errors and potential runtime authentication issues.
Current Behavior

TypeScript type AuthMode includes 'userPool' (singular)
Runtime implementation expects 'userPools' (plural)
This causes type errors when trying to use the correct runtime value
When using 'userPool' (as suggested by types), results in authentication errors

Error Details
When attempting to create an order with userPool (as suggested by types):
Error: NoValidAuthTokens: No federated jwt
    at headerBasedAuth (webpack-internal:///(action-browser)/./node_modules/@aws-amplify/api-graphql/dist/esm/internals/graphqlAuth.mjs:49:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GraphQLAPIClass._graphql (webpack-internal:///(action-browser)/./node_modules/@aws-amplify/api-graphql/dist/esm/internals/InternalGraphQLAPI.mjs:150:29)
    at async eval (webpack-internal:///(action-browser)/./node_modules/@aws-amplify/data-schema/dist/esm/runtime/internals/operations/get.mjs:47:42)

Recovery Suggestion: "If you intended to make an authenticated API request, review if the current user is signed in."

Expected Behavior
The TypeScript type definition should match the runtime implementation by including 'userPools' as a valid value for AuthMode, preventing both type errors and runtime authentication issues.
Reproduction Steps

Create a new Amplify Gen2 project
Try to use userPools as the auth mode:

const order = await client.models.Order.create(
  orderData,
  {
    authMode: 'userPools', // Type error here
    authToken: token
  }
);

Observe the TypeScript error:

Type '"userPools"' is not assignable to type 'AuthMode | undefined'.

If using 'userPool' as suggested by types, observe the runtime error as well as the [docs]:(https://docs.amplify.aws/react/build-a-backend/data/customize-authz/per-user-per-owner-data-access/)

NoValidAuthTokens: No federated jwt

Current Workaround
Currently, developers need to use type assertions to work around this issue:
authMode: 'userPools' as any

Additional Context
The AuthMode type is currently defined as:
export type AuthMode = 'apiKey' | 'iam' | 'identityPool' | 'oidc' | 'userPool' | 'lambda' | 'none';

This type definition enforces using 'userPool' (singular), but the runtime implementation requires using 'userPools' (plural). When we use the working runtime value 'userPools', TypeScript shows a compilation error because it's not included in the AuthMode type.
This leads to a situation where using the correct runtime value ('userPools') works at runtime but fails TypeScript compilation, forcing developers to use type assertions as a workaround.
Impact
This type mismatch:

Forces developers to use type assertions
Creates confusion about the correct value to use
Reduces type safety by requiring workarounds
Can lead to runtime authentication failures when following the type definitions
Wastes development time debugging what appears to be an authentication issue but is actually a type definition mismatch

Reproduction steps
Reproduction Steps

Create a new Amplify Gen2 project
Try to use userPool as the auth mode within an NextJS action

//amplifyServerUtils.ts
import { createServerRunner } from '@aws-amplify/adapter-nextjs';
import config from<EMAIL_ADDRESS>import { cookies } from 'next/headers';
import { getCurrentUser, fetchUserAttributes, fetchAuthSession } from 'aws-amplify/auth/server';
import { AuthError, AuthUser } from 'aws-amplify/auth';

export const { runWithAmplifyServerContext } = createServerRunner({
  config,
});

export interface AuthResult {
  user: AuthUser | null;
  isAuthenticated: boolean;
  token?: string;
}

export async function getServerSideUser(): Promise<AuthResult> {
  try {
    const result = await runWithAmplifyServerContext({
      nextServerContext: { cookies },
      operation: async (contextSpec) => {
        const user = await getCurrentUser(contextSpec);
        const session = await fetchAuthSession(contextSpec);
        const token = session.tokens?.idToken?.toString();
        return { user, token };
      },
    });

    return {
      user: result?.user ?? null,
      isAuthenticated: true,
      token: result?.token,
    };
  } catch (error) {
    if (error instanceof AuthError) {
      return {
        user: null,
        isAuthenticated: false,
        token: undefined,
      };
    }

    console.error('Unexpected error in getServerSideUser:', error);
    return {
      user: null,
      isAuthenticated: false,
      token: undefined,
    };
  }
}

// actions.ts
'use server';
export async function submitOrder(orderData: OrderFormData) {
  try {
    const { user, token } = await getServerSideUser();

    const order = await client.models.Order.create(
      orderData,
      {
        authMode: 'userPools', // Type error: not assignable to type 'AuthMode'
        authToken: token
      }
    );
  } catch (error) {
    console.error('Error:', error);
  }
}

Hey @ykethan, thanks for raising the issue! We'll investigate and see what's going on there, and get to back to you for next steps

@georgechristman - userPool is the expected runtime value as well. Here's the relevant line in the source. The library is likely defaulting the auth mode to one specified in the outputs file. My guess is if you pass in any-other-value as the authMode you'll see the same behavior.
Could you please share the contents of ./amplify/data/resource.ts with us here so we can reproduce?

Hi @iartemiev, please see attached. Yes I saw the code and it's very strange. It does not function with userPool but does function with userPools.
import { type ClientSchema, a, defineData } from '@aws-amplify/backend';
import { postConfirmation } from '../functions/auth/post-confirmation/resource';
const schema = a
.schema({
Order: a
  .model({
    userID: a.string().required(), // Either individual userId or dealerId
    orderNumber: a.string().required(),
    totalAmount: a.float().required(),
    listingIDs: a.string().array().required(),
    paymentStatus: a.enum(['PENDING', 'PAID', 'FAILED', 'REFUNDED']),
    paymentMethod: a.string(),
    paidAt: a.datetime(),
    createdAt: a.datetime().required(),
    updatedAt: a.datetime().required(),
  })
  .secondaryIndexes((orderIndex) => [
    orderIndex('orderNumber').name('orderNumberIndex'),
    orderIndex('paymentStatus').name('paymentStatusIndex').sortKeys(['createdAt']),
    orderIndex('userID').name('userIDIndex').sortKeys(['createdAt']),
  ])
  .identifier(['userID', 'orderNumber'])
  .authorization((allow) => [allow.ownerDefinedIn('userID').to(['create', 'read'])]),

})
.authorization((allow) => [allow.resource(postConfirmation)]);
export type Schema = ClientSchema;
export const data = defineData({
schema,
authorizationModes: {
defaultAuthorizationMode: 'apiKey',
apiKeyAuthorizationMode: {
expiresInDays: 30,
},
},
});

Hi @iartemiev, please see attached. Yes I saw the code and it's very strange. It does not function with userPool but does function with userPools.
import { type ClientSchema, a, defineData } from '@aws-amplify/backend';
import { postConfirmation } from '../functions/auth/post-confirmation/resource';

const schema = a
  .schema({

    Order: a
      .model({
        userID: a.string().required(), // Either individual userId or dealerId
        orderNumber: a.string().required(),
        totalAmount: a.float().required(),
        listingIDs: a.string().array().required(),
        paymentStatus: a.enum(['PENDING', 'PAID', 'FAILED', 'REFUNDED']),
        paymentMethod: a.string(),
        paidAt: a.datetime(),
        createdAt: a.datetime().required(),
        updatedAt: a.datetime().required(),
      })
      .secondaryIndexes((orderIndex) => [
        orderIndex('orderNumber').name('orderNumberIndex'),
        orderIndex('paymentStatus').name('paymentStatusIndex').sortKeys(['createdAt']),
        orderIndex('userID').name('userIDIndex').sortKeys(['createdAt']),
      ])
      .identifier(['userID', 'orderNumber'])
      .authorization((allow) => [allow.ownerDefinedIn('userID').to(['create', 'read'])]),
  })
  .authorization((allow) => [allow.resource(postConfirmation)]);

export type Schema = ClientSchema<typeof schema>;

export const data = defineData({
  schema,
  authorizationModes: {
    defaultAuthorizationMode: 'apiKey',
    apiKeyAuthorizationMode: {
      expiresInDays: 30,
    },
  },
});

After investigating, we've found that the authMode type is correct. However, the problem lies in the method used to generate the client for server components.
For server components in Next.js, you should use generateServerClientUsingCookies instead of the client-side generateClient. This is documented in the AWS Amplify documentation for Next.js server runtime integration: https://docs.amplify.aws/react/build-a-backend/data/connect-from-server-runtime/nextjs-server-runtime/
Here's an example of how to set up your configuration files:

amplifyConfig.ts (shared config for client-side and server-side with custom auth for link verification and guest access)

import type { ResourcesConfig } from 'aws-amplify';
import outputs from<EMAIL_ADDRESS>
export const getAmplifyConfig = (): ResourcesConfig => {
  return {
    Auth: {
      Cognito: {
        userPoolId: outputs.auth.user_pool_id,
        userPoolClientId: outputs.auth.user_pool_client_id,
        identityPoolId: outputs.auth.identity_pool_id,
        signUpVerificationMethod: 'link',
        allowGuestAccess: true,
        loginWith: {
          oauth: {
            domain: outputs.auth.oauth.domain,
            scopes: outputs.auth.oauth.scopes,
            redirectSignIn: outputs.auth.oauth.redirect_sign_in_uri,
            redirectSignOut: outputs.auth.oauth.redirect_sign_out_uri,
            responseType: outputs.auth.oauth.response_type as 'code',
          },
        },
      },
    },
  };
};

amplifyClientConfig.ts (for client-side):

'use client';

import type { Schema } from '@/amplify/data/resource';
import { Amplify } from 'aws-amplify';
import { generateClient } from 'aws-amplify/api';
import outputs from<EMAIL_ADDRESS>import { getAmplifyConfig } from './amplifyConfig';

Amplify.configure(outputs);

const currentConfig = Amplify.getConfig();
const customConfig = {
  ...currentConfig,
  ...getAmplifyConfig(),
};

Amplify.configure(customConfig, { ssr: true });

export default function AmplifyClientConfig() {
  return null;
}

export const client = generateClient<Schema>();

amplifyServerConfig.ts (for server-side):

import { Amplify } from 'aws-amplify';
import outputs from<EMAIL_ADDRESS>import { getAmplifyConfig } from './amplifyConfig';

Amplify.configure(outputs);

const currentConfig = Amplify.getConfig();
const customConfig = {
  ...currentConfig,
  ...getAmplifyConfig(),
};

Amplify.configure(customConfig);

export const updatedConfig = Amplify.getConfig();

amplifyServerUtils.ts (for server-side utilities):

import type { Schema } from '@/amplify/data/resource';
import { createServerRunner } from '@aws-amplify/adapter-nextjs';
import { generateServerClientUsingCookies } from '@aws-amplify/adapter-nextjs/data';
import { cookies } from 'next/headers';
import { updatedConfig } from './amplifyServerConfig';

export const { runWithAmplifyServerContext } = createServerRunner({
  config: updatedConfig,
});

export const cookieBasedClient = generateServerClientUsingCookies<Schema>({
  config: updatedConfig,
  cookies,
});

With this setup, you can use the cookieBasedClient in your server components like this:

server component

import {cookieBasedClient} from '../lib/amplifyServerUtils'

export async function createOrder(order: Order) {
  const order = await cookieBasedClient.models.Order.create(
    orderData,
    { authMode: 'userPool' }
  );
}

This approach ensures that you're using the correct client for server-side operations while maintaining the user's authentication state through cookies.

Feel free to adjust or expand on this response as needed for your GitHub issue.


Error on "ebpf_exporter --config.file=ebpf_exporter/examples/bio-tracepoints.yaml" on Ubuntu 20.04

I am using the bcc package in the ubuntu standard repo with version "0.12.0-2" . The error log is

/virtual/main.c:38:1: warning: declaration of 'struct tracepoint__block__block_rq_issue' will not be visible outside of this function [-Wvisibility]
TRACEPOINT_PROBE(block, block_rq_issue) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint__##category####event(struct tracepoint##category####event *args)
^
:272:1: note: expanded from here
tracepoint__block__block_rq_issue
^
/virtual/main.c:40:13: error: incomplete definition of type 'struct tracepoint__block__block_rq_issue'
if (args->dev == 0) {
~~~~^
/virtual/main.c:38:1: note: forward declaration of 'struct tracepoint__block__block_rq_issue'
TRACEPOINT_PROBE(block, block_rq_issue) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:272:1: note: expanded from here
tracepoint__block__block_rq_issue
^
/virtual/main.c:45:19: error: incomplete definition of type 'struct tracepoint__block__block_rq_issue'
key.dev = args->dev;
~~~~^
/virtual/main.c:38:1: note: forward declaration of 'struct tracepoint__block__block_rq_issue'
TRACEPOINT_PROBE(block, block_rq_issue) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:272:1: note: expanded from here
tracepoint__block__block_rq_issue
^
/virtual/main.c:46:22: error: incomplete definition of type 'struct tracepoint__block__block_rq_issue'
key.sector = args->sector;
~~~~^
/virtual/main.c:38:1: note: forward declaration of 'struct tracepoint__block__block_rq_issue'
TRACEPOINT_PROBE(block, block_rq_issue) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:272:1: note: expanded from here
tracepoint__block__block_rq_issue
^
/virtual/main.c:54:21: error: incomplete definition of type 'struct tracepoint__block__block_rq_issue'
val.bytes = args->bytes;
~~~~^
/virtual/main.c:38:1: note: forward declaration of 'struct tracepoint__block__block_rq_issue'
TRACEPOINT_PROBE(block, block_rq_issue) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:272:1: note: expanded from here
tracepoint__block__block_rq_issue
^
/virtual/main.c:62:1: warning: declaration of 'struct tracepoint__block__block_rq_complete' will not be visible outside of this function [-Wvisibility]
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:64:19: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
key.dev = args->dev;
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:65:22: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
key.sector = args->sector;
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:89:42: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
latency_key.dev = new_encode_dev(args->dev);
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:104:39: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
size_key.dev = new_encode_dev(args->dev);
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:106:13: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
if (args->rwbs[0] == 'W' || args->rwbs[0] == 'S' || args->rwbs[0] == 'F' || args->rwbs[1] == 'W' || args->rwbs[1] == 'S' || args->rwbs[1] == 'F') {
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:106:37: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
if (args->rwbs[0] == 'W' || args->rwbs[0] == 'S' || args->rwbs[0] == 'F' || args->rwbs[1] == 'W' || args->rwbs[1] == 'S' || args->rwbs[1] == 'F') {
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:106:61: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
if (args->rwbs[0] == 'W' || args->rwbs[0] == 'S' || args->rwbs[0] == 'F' || args->rwbs[1] == 'W' || args->rwbs[1] == 'S' || args->rwbs[1] == 'F') {
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:106:85: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
if (args->rwbs[0] == 'W' || args->rwbs[0] == 'S' || args->rwbs[0] == 'F' || args->rwbs[1] == 'W' || args->rwbs[1] == 'S' || args->rwbs[1] == 'F') {
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:106:109: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
if (args->rwbs[0] == 'W' || args->rwbs[0] == 'S' || args->rwbs[0] == 'F' || args->rwbs[1] == 'W' || args->rwbs[1] == 'S' || args->rwbs[1] == 'F') {
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category####event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
/virtual/main.c:106:133: error: incomplete definition of type 'struct tracepoint__block__block_rq_complete'
if (args->rwbs[0] == 'W' || args->rwbs[0] == 'S' || args->rwbs[0] == 'F' || args->rwbs[1] == 'W' || args->rwbs[1] == 'S' || args->rwbs[1] == 'F') {
~~~~^
/virtual/main.c:62:1: note: forward declaration of 'struct tracepoint__block__block_rq_complete'
TRACEPOINT_PROBE(block, block_rq_complete) {
^
/virtual/include/bcc/helpers.h:874:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint##category####event(struct tracepoint##category##__##event *args)
^
:278:1: note: expanded from here
tracepoint__block__block_rq_complete
^
2 warnings and 14 errors generated.
2020/09/17 21:59:05 Error attaching exporter: error compiling module for program "bio"

I am sorry. I didn't run the script as root. Gg


creating floor plans programmatically

Hey @kriscarle
sorry to be creating an issue while I actually want to ask you couple of questions. I wasn't sure how else to get hold of you. and this is related.
I just found your project, looking for an opensource solution to create and display floorplans.
I saw you also have an editor, I presume its a UI allowing to create floorplans. but I dont like UI editors, dragging stuff around with a mouse. There are several company trying to offer that service...
anyway, what I'd like to do, is create some sort of domain specific language, maybe in ruby, to generate whatever file your viewer can display.
on your readme, you are talking about a missing app/media folder, but I am not seeing anywhere you mention what I can place in that folder? does it look like a specific filename? what format are supported?
I see you linked to physics.ohio-state.edu floorplans. these are sure great examples. but DWG are binary, I would not know how to generate these things...
I see you mention a bit of SVG... does your viewer accept SVG ? or turn DWG into SVG ?
I guess, If I am able to generate floorplans in SVG, I could then just pipe it in imagemagick and have png of them ?
Do you have any suggestion for me? is your viewer a good fit for what I'm trying to do?
thanks

I can not find the  app/media folder,I want to test the whole example .

The app/media folder wasn't included, unfortunately I don't have the SVG versions of the floor plans anymore.  This code was intended to work with SVGs exported from CAD floor plans like the AutoCAD DWG files and allow them to be interactive in the browser (pan/zoom/hover/click/dynamic styling/etc). You can use the open-source GDAL ogr2ogr tool to convert DWGs http://www.gdal.org/drv_cad.html


What is the new application?
BankID is Sweden's most common e-ID.
Version control is done using XML against vks.bankid.com (https://www.bankid.com/en/foretag/enterprise/automatic-version-control)
User-agent needs to be: BankIDSecurityProgram
Installer URL can be found here:  https://www.bankid.com/en/foretag/enterprise
Example request:
<?xml version="1.0" encoding="utf-8"?>
<autoUpdateRequest><requestVersion>1.1</requestVersion><requestSequenceNr>1</requestSequenceNr><uhi>g+o9gYX4DcDZkQexT49puYWbWpO4</uhi><version><IP_ADDRESS></version></autoUpdateRequest>

Example response:
<?xml version="1.0" encoding="UTF-8"?>
<autoUpdateResponse><responseVersion>1.2</responseVersion><responseSequence>2</responseSequence><action>OK</action><bbdt>Njk2MzI0ODgtYWI4NC00ZGEyLWE=</bbdt><value>1705235039</value><time>1702643039</time><nptDelta>1296000</nptDelta></autoUpdateResponse>

I am not sure if the BankID application generates some unique content in the request that is being verified by the version controll server. If that's the case it will probably be difficult to get the latest version.
But I hope this can be done anyway.
Vendor site
https://www.bankid.com
Does the vendor require a sign-in to download the app?
No
Does the application include an updater?
Yes
Have you reviewed the list of supported applications?

[X] Supported apps at: https://stealthpuppy.com/evergreen/apps/

I'm getting hit with a Captcha response when querying the XML. Highly likely to be because I'm outside Sweden, so creating a function for this could be challenging

Hi Aaron, wouldn't that be strange? Swedish citizens should be able to run the version check even when they are abroad.
Did you set the User-Agent to: BankIDSecurityProgram

Got this working with:
$params = @{
    Uri              = "https://vks.bankid.com"
    UserAgent        = "BankIDSecurityProgram"
    ContentType      = "application/xml; charset=utf-8"
    Body             = '<?xml version="1.0" encoding="utf-8"?><autoUpdateRequest><requestVersion>1.1</requestVersion><requestSequenceNr>1</requestSequenceNr><uhi>g+o9gYX4DcDZkQexT49puYWbWpO4</uhi><version><IP_ADDRESS></version></autoUpdateRequest>'
    #Headers          = @{ "Accept-Language" = "sv-se" }
    #TransferEncoding = "gzip"
    Method           = "POST"
    UseBasicParsing  = $true
    Verbose          = $true
}
iwr @params

However, there's not much I can do with the response to turn it into an evergreen download URL. If we were to post the request with version <IP_ADDRESS> and get back <IP_ADDRESS>, for example, that could be turned into a URL.

Hi!
Great that you got the version info working.
Regarding the downloaInstall package (bankid.com)https://www.bankid.com/en/foretag/enterprise/install-packaged URL, the following info comes from: https://www.bankid.com/en/foretag/enterprise/install-package
The .exe file (which is auto-updating) is always downloaded from: https://install.bankid.com/api/file-download/Win
The file is downloaded via a redirect and is called BankID_installation_x_y_z.exe (x_y_z is replaced with the current version).
The MSI file, resided in a zip file, is downloaded here: https://cdn.bankid.com/bisp/win/BankID_installation_x_y_z.zip (x_y_z is replaced with the current version).
With this info, it should be possible to generate the download links, or am I wrong?
Best regards,
Jasper

Från: Aaron Parker @.>
Skickat: den 27 mars 2024 13:25
Till: aaronparker/evergreen @.>
Kopia: Jasper Metselaar (HDa) @.>; Author @.>
Ämne: Re: [aaronparker/evergreen] [New App]: BankID (Issue #603)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
However, there's not much I can do with the response to turn it into an evergreen download URL. If we were to post the request with version <IP_ADDRESS> and get back <IP_ADDRESS>, for example, that could be turned into a URL.
—
Reply to this email directly, view it on GitHubhttps://github.com/aaronparker/evergreen/issues/603#issuecomment-2022640837, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATR33FILK7XUO7MASSKSBWLY2K3DTAVCNFSM6AAAAABAWNO6AOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRSGY2DAOBTG4.
You are receiving this because you authored the thread.Message ID: @.***>

The XML in the response data doesn't provide any version data that relates to the download URLs, e.g. https://cdn.bankid.com/bisp/win/BankID_installation_7_14_2.exe, https://cdn.bankid.com/bisp/win/BankID_installation_7_14_2.zip


added realm to htpasswd configuration, added bcrypt hint

The realm is required to prevent an InvalidConfigException in BasicAccessFactory from zendframework/zend-expressive-authentication-basic.
Since it's checked and RFC 2617 says "The realm attribute (case-insensitive) is required for all authentication schemes which issue a challenge.", it should be save to add it to the docs.
Also the .htpasswd file must use bcrypt hash algorithm, otherwise a RuntimeException is thrown.
Provide a narrative description of what you are trying to accomplish:

[ ] Are you fixing a bug?

[ ] Detail how the bug is invoked currently.
[ ] Detail the original, incorrect behavior.
[ ] Detail the new, expected behavior.
[ ] Base your feature on the master branch, and submit against that branch.
[ ] Add a regression test that demonstrates the bug, and proves the fix.
[ ] Add a CHANGELOG.md entry for the fix.

[ ] Are you creating a new feature?

[ ] Why is the new feature needed? What purpose does it serve?
[ ] How will users use the new feature?
[ ] Base your feature on the develop branch, and submit against that branch.
[ ] Add only one feature per pull request; split multiple features over multiple pull requests
[ ] Add tests for the new feature.
[ ] Add documentation for the new feature.
[ ] Add a CHANGELOG.md entry for the new feature.

[ ] Is this related to quality assurance?

[x] Is this related to documentation?

@steffenbrand thanks!


Roll Flutter Engine from 9566b25c7319 to d7e2bcfbe6a1 (1 revision)

https://github.com/flutter/engine/compare/9566b25c7319...d7e2bcfbe6a1
2024-08-13<EMAIL_ADDRESS>Roll Fuchsia Test Scripts from 8WCo7tLjg_GoImlj5... to Kq699Ii76C_pozQ9Y... (flutter/engine#54532)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Mobile - Support GRC-20 token

Describe the task
Support GRC-20 token standard

Import token
Show balance
Transfer

Version test: https://www.diawi.com/qrcode/link/uq6F7d
Device test: IP 11
Validation passed

Import token
Show balance
Transfer


refactor: use transparent bg for landing images

Render in dark mode before:

Render in dark mode after :

Thanks a lot for your contribution !


How to run mitmdump/mitmproxy in background through terminal

Steps to reproduce the problem:
I'm using mitmproxy/mitmdump for http debugging and save responses as har file.
I've used below command through terminal  and it works fine
mitmdump -b <host> -p <port> -s "~/mitmproxy-0.17/examples/har_extractor.py ./result_file"
But when I tried to run this background by using '&' at the end, command is working but file not saved.
mitmdump -b <host> -p <port> -s "~/mitmproxy-0.17/examples/har_extractor.py ./result_file" &
What is the expected behavior?

I need to Start mitmproxy in background
Capture the traffic
Save as har file
Stop mitmproxy (Kill process)

And I need to run  these steps through ruby script. I'm calling shell commands in ruby script.
What went wrong?
Not able to save file when run in background.
Unable to Kill process when run in foreground
Mitmproxy Version: mitmproxy 0.17
Operating System: MAC OSX EI Capitan (10.11.2)

Thanks for the report. I don't think this is a mitmproxy issue though.

Maybe you can use other tools to do it. Such as pm2.


program: don't delete this.graph in deactivate

There's no need to delete this.graph here (as far as I can tell), and by not deleting
it we enable tests that call deactivate() to validate graphs.
@juttle/developers @dmajda

+1


[Feature Request] Add blink to the colon to indicate pass of time

Could you add a boolean property blink that controls if the colon blinks every half interval?
If blink==false, then this component works like without this feature.
If blink==true, and assume interval==1000, then the colon would toggle every interval/2 millisecond:
For example current time is 10:24:33

Time 0
10:24:33

Time 500
10:24 33

Time 1000
10:24:34

Time 1500
10:24 34

Time 2000
10:24:35

PS: If the output time format is HH:MM, then blink that colon instead.

Thank you for request. I will see how I can implement this as soon as I can.

I have tried to implement this before my computer started having problems.
I was unsuccessful in making this work. I will try in the future again.

Good morning @asvrada :)
I implemented this in version 5.0.0-beta1 Especially for you, sorry for the long delay.
Take a look and tell me if it makes your dream come true.
All the best Anthony


Project

Hi,
besides the Twitter account (https://twitter.com/GermanyCovid) there is now also a discordbot with this API. You can invite it at germanycovid.de/discord. I would be happy if this bot could also be listed.

PR is written