AI Controlled Rockets: Game crash after recent update

I can load up my save game. But after I unpause, it crashes.
NullReferenceException: Object reference not set to an instance of an object
Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) (at <8c239b169b544cce8b8bc7ddd2d09e10>:0)
GameUtil.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, Grid+SceneLayer sceneLayer, UnityEngine.GameObject parent, System.String name, System.Int32 gameLayer) (at <9411b2c55a4e44e68a95bd3ba148e05c>:0)
GameUtil.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, Grid+SceneLayer sceneLayer, System.String name, System.Int32 gameLayer) (at <9411b2c55a4e44e68a95bd3ba148e05c>:0)
KnastoronOniMods.RocketControlStationNoChorePrecondition.b__2_0 (System.Object obj) (at <3b4d42be961f435fb5284f443264fbc1>:0)
Scheduler.Update () (at <9411b2c55a4e44e68a95bd3ba148e05c>:0)
GameScheduler.Update () (at <9411b2c55a4e44e68a95bd3ba148e05c>:0)
Build: U42-510972-S

Compiling the version from 6. June (a5d3a4a22d1b88c734931c7539d221f9c2b8ca5d), fixed the crash.

Exact same issue.
NullReferenceException: Object reference not set to an instance of an object
Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) (at <8c239b169b544cce8b8bc7ddd2d09e10>:0)
GameUtil.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, Grid+SceneLayer sceneLayer, UnityEngine.GameObject parent, System.String name, System.Int32 gameLayer) (at <9411b2c55a4e44e68a95bd3ba148e05c>:0)
GameUtil.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, Grid+SceneLayer sceneLayer, System.String name, System.Int32 gameLayer) (at <9411b2c55a4e44e68a95bd3ba148e05c>:0)
KnastoronOniMods.RocketControlStationNoChorePrecondition.b__2_0 (System.Object obj) (at <3b4d42be961f435fb5284f443264fbc1>:0)
Scheduler.Update () (at <9411b2c55a4e44e68a95bd3ba148e05c>:0)
GameScheduler.Update () (at <9411b2c55a4e44e68a95bd3ba148e05c>:0)
Build: U42-510972-S

I pushed an update that should fix this crash

That fixed it for me, thanks


Google Authentication 2.0 not working properly

@Audran-wol provide detail information for this issue

Has the issue been fixed ? If not, I would like to work on it . I am a Full Stack Developer. Let me know if you would be willing to take the pull request if you like the code changes I would do.

Hi @Audran-wol ,
I have an idea of what the problem might be with Google Authentication 2.0. Could you please assign this issue to me so I can work on it?


Add files via upload

Updating compliance file for REUSE.

 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.

Need other fixes!


Update with new information

Summary
Plenty of new officers have joined ACM, update with their information. Note: This issue doesn't require any code changes, just adding into the db.
Task List

[x] New Dev officers
[x] New Education officers
[x] New HackUTD officers

Additional Context
Make sure to include subdocuments for each role with appropriate start times. Set end time for new officers to be Sat Jun 19 2021... the front-end right now just assumes that if that's the end-date then it'll display their tenure as Start-date to Present instead of Start-date to End-date.

Updated in firestore ✅


Support removing obsolete linked clones

Vagrant 1.8 allows you to use linked clones.
Removing an outdated box does not remove the master (base) image from VirtualBox so far. Would be great if this can be done by this plugin.

This plugin aims to remove everything outdated. I think it should remove old versions of masters if they are updated. It is not a plugin to remove unused boxes. So i feel this really is outside the scope, sorry.

I think it should remove old versions of masters if they are updated.

@bbrala This is exactly what I meant, so I'm asking you to reconsider this feature request.

It doesnt do that? If that is true, i indeed feel it should.

Since this plugin is now core vagrant, please reopen this issue there if it persists.
Regards, Bjorn


Improvement/modules into theme

Related issues
https://github.com/DivanteLtd/vue-storefront/issues/3139
closes https://github.com/DivanteLtd/vue-storefront/issues/3139
Short description and why it's useful

[x] homepage module
[x] promoted offers modules
[ ] claims [WIP]
[x] UI store (needs to be careful - deps on core)
[x] Move order history to order module
[x] Move social-share (from core) to theme

Screenshots of visual changes before/after (if there are any)

Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and currently important rules acceptance

[ ] I read and followed contribution rules
[ ] I read the TypeScript Action Plan and adjusted my PR according to it
[ ] I read about Vue Storefront Modules and I am aware that every new feature should be a module

@filrak
I have some difficulties moving Claims module into theme.
I have made all the necessary refactor for claims in the commit #bf431f5 (last one). I got the build error
Error during render : /error
TypeError: Cannot set property 'claimsCollection' of undefined
    at Object.beforeRegistration (src/themes/default/modules/claims/hooks/beforeRegistration.ts:9:36)
    at VueStorefrontModule.module.exports../core/lib/module/index.ts.VueStorefrontModule.register (core/lib/module/index.ts:104:20)
    at server-bundle.js:1648:45
    at Array.forEach (<anonymous>)
    at registerModules (core/lib/module/index.ts:19:10)
    at Module../src/themes/default/index.js (src/themes/default/index.js:26:16)
    at __webpack_require__ (webpack/bootstrap:25:0)
    at Module.<anonymous> (core/app.ts:1:0)
    at Module../core/app.ts (server-bundle.js:282:30)
    at __webpack_require__ (webpack/bootstrap:25:0)

And in beforeRegistration hook in claims we want to assign a value to claimsCollection on $db property, which (I guess) has not been created yet.
Vue.prototype.$db.claimsCollection = new UniversalStorage(localForage.createInstance({
    name: (config.storeViews.commonCache ? '' : dbNamePrefix) + 'shop',
    storeName: 'claims',
    driver: localForage[config.localForage.defaultDrivers['claims']]
  })

@filrak It would be great, if you could have a look on it ;-)

Changes as we discussed in a call ;)

@patzick we need your okejka aswell

is it ready for merge?


Query Parameters

I remember some discussion of default query parameters we should use for querying. I remember there was one in particular that was almost required for Seqr but that information seems to be lost. I want to make sure results/sensitivity are correct to compare with blastx.

Right, we'd need to fill that in. What's the current parameter being used ( I don't have a computer to access until later today ) ?
Simply & DRY
-----Original Message-----
From: Mike Panciera [notifications<EMAIL_ADDRESS>Sent: Monday, September 14, 2015 12:50 PM Eastern Standard Time
To: NCBI-Hackathons/seqr
Subject: [seqr] Query Parameters (#42)
I remember some discussion of default query parameters we should use for querying. I remember there was one in particular that was almost required for Seqr but that information seems to be lost. I want to make sure results/sensitivity are correct to compare with blastx.
—
Reply to this email directly or view it on GitHubhttps://github.com/NCBI-Hackathons/seqr/issues/42.

Right now it's just "sequence:" and nothing else

Perhaps we can add mm ( minimum should match) = 50% for now . The smaller value will include more distant homologous but possible more false positives.
We can also add another flavor : tanimoto score ( will send in another update on this soon), that might better rank the hits.
Simply & DRY
-----Original Message-----
From: Mike Panciera [notifications<EMAIL_ADDRESS>Sent: Monday, September 14, 2015 02:23 PM Eastern Standard Time
To: NCBI-Hackathons/seqr
Cc: Han, Lianyi (NIH/NLM/NCBI) [C]
Subject: Re: [seqr] Query Parameters (#42)
Right now it's just "sequence:" and nothing else
—
Reply to this email directly or view it on GitHubhttps://github.com/NCBI-Hackathons/seqr/issues/42#issuecomment-140166164.


Make dispatched natively-bubbling event types bubble

According to [1], 'input', 'beforeinput', 'keypress' and 'select'
bubble.
This patch allows my jQuery delegated event handlers that
were triggering on native 'input' events to also trigger on
bililiteRange input events.[2]
[1]
http://www.w3.org/TR/DOM-Level-3-Events/#h-event-types-list
http://www.w3.org/TR/DOM-Level-3-Events/#legacy-event-types
(MDN disagrees about the 'select' event bubbling, but I guess
W3C is a more canonical source than an MDN article that says
it could use a technical review.
https://developer.mozilla.org/en-US/docs/Web/Events/select
)
[2] for an explanation, see http://stackoverflow.com/q/26423742

I hadn't used event bubbling but it looks right. Thanks for your input

Thanks!


Webargs does not support Marshmallow "load_from" field attribute.

I have a following schema:
class KidSchema(Schema):
    name_field = fields.String(attribute='name', dump_to='name', load_from="name", required=True)
    gender = fields.String(required=True,
                           validate=validate.OneOf(choices=(models.MALE, models.FEMALE)))
    birthday = fields.DateTime(required=True, format='iso8601')
``

I declared it this way, because "name" attribute is used in Schema class, so I don't want to override it.
But when I use this schema in ```use_with``` it throws error ```Required field "name_field" is not found```

I am unable to reproduce this bug. The following test passes:
    def test_load_from_is_respected(self, web_request, parser):
        web_request.json = {'name': 'Steve'}

        class MySchema(Schema):
            name_field = fields.Str(required=True, load_from='name')

        result = parser.parse(MySchema(strict=True), web_request)
        assert result == {'name_field': 'Steve'}

        @parser.use_args(MySchema(strict=True), web_request)
        def viewfunc(args):
            return args
        assert viewfunc() == {'name_field': 'Steve'}

Can you please post code to reproduce the error?

Yes, I also could not reproduce this now. Probably it was wrong parameter name


123

add GPU function to no_meta_demo

I merge your 123 branch to xgsun and now I delete your branch. Next time when you contribute to the project, you still need to create a temp branch from the latest xgsun branch.


CDH: credentials should be optional in the configuration toml

I'm trying to launch cdh configured for offline_fs_kbc where I don't want to load any credentials but I'm getting missing field \credentials`` errors.
Here is the configuration file and execution output:
$ cat cdh_conf.toml
socket = "unix:///run/confidential-containers/cdh.sock"

[kbc]
name = "offline_fs_kbc"
url = ""
kbs_cert = ""
$ sudo ../target/x86_64-unknown-linux-gnu/release/confidential-data-hub -c cdh_conf.toml &
[4] 1053939
$ [2024-03-21T15:03:07Z INFO  confidential_data_hub] Use configuration file cdh_conf.toml
thread 'main' panicked at confidential-data-hub/hub/src/bin/confidential-data-hub/config.rs:79:65:
called `Result::unwrap()` on an `Err` value: invalid config

Caused by:
    missing field `credentials`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Then I added an empty [credentials] section to the toml file and got another error:
$ cat cdh_conf.toml
socket = "unix:///run/confidential-containers/cdh.sock"

[kbc]
name = "offline_fs_kbc"
url = ""
kbs_cert = ""

[credentials]
$ sudo ../target/x86_64-unknown-linux-gnu/release/confidential-data-hub -c cdh_conf.toml &
[4] 1054383
$ [2024-03-21T15:06:52Z INFO  confidential_data_hub] Use configuration file cdh_conf.toml
thread 'main' panicked at confidential-data-hub/hub/src/bin/confidential-data-hub/config.rs:79:65:
called `Result::unwrap()` on an `Err` value: invalid config

Caused by:
    invalid type: map, expected a sequence
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Alright, an empty [[credentials]] didn't work either because now it requires resource_uri and path...

Hi @wainersm TOML crate seems not intelligent enough to handle empty arrays thus I explicitly fix that in a PR.
BTW, [[credentials]] items should have double square brackets rather than single.


[Bug] Using multiple hooks in the same component will init wrong request

Describe the bug
I put 2 hooks (useForm and useEditableTable) on the same Edit component:

useForm (resource_A) will init request to /api/resource_A/:id_of_resource_A --> it's correct.
useEdittableTable (resource_B) will also init request to /api/resource_B/:id_of_resource_A --> it's maybe wrong if this ID of entity not exists on resource_B

To Reproduce
Steps to reproduce the behavior:

Go to file /src/pages/post/edit.tsx
Put both useForm({ resource: 'posts' }) and useEditableTable({ resource: 'categories' }) inside EditComponent
Please make sure that is not exists category with ID 123.
Switch to the browser and go to localhost/posts/edit/123
Open tab network on developer tool to see that EditComponent init 2 requests to /api/posts/123 and /api/categories/123. In while the category 123 not exists, so the notification will push error after 3 times.

Expected behavior

Add one option to prevent the useEdittableTable hook will not retrieve detail.

Screenshots

Desktop (please complete the following information):

OS: Ubuntu
Browser: Firefox
Version: 97.0
Used dataProvider: Strapi-v4

Hi,
I think there is a problem with the useForm hook.
I don't know if that's enough, but for this line:
    const [id, setId] = React.useState<string | undefined>(idFromParams);
would be:
const [id, setId] = React.useState<string | undefined>((!resourceFromProps || resourceFromProps===resourceFromRoute) ? idFromParams : undefined);

Hey @vihu96 ,
Looks cool! Do you want to create a pull request?

Yes @omeraplak, please do it ASAP.

Hey @vihu96 @Hori9600 ,
We've released 3.5.1! please update all refine dependencies. Thank you!


IGAPP-790: Upgrade maplibre to 5.12.1

Upgraded to current maplibre version (5.12.1)
Updated maplibre deps
fixed missing marker icon by using new maki icons

Note
Due to still existing dependencies to jcenter even with the updated version we have to keep the jcenter repo in the gradle build, created new ticket for "jcenter removal"
Tested native on android & ios

I think the .DS_Store file should not be added.

couldn't get it work with
git rm .DS_Store
any ideas?

I think the .DS_Store file should not be added.

couldn't get it work with git rm .DS_Store any ideas?

Reset to the commit in which the file was added, undo that commit, commit all files again except dsstore file, and cherrypick other commits.

Tested on iOS simulator. Do we really want brown icons? 😛

I can update the style repo again if there are any color suggestions, please open a ticket 😛
Just kept it default

Fine for now, lets use icons designed by Nikola :)


Tabster async autoroot initialization breaks certain Fluent scenarios

This happened during the Modalizer revamp: Modalizer revamp by mshoho · Pull Request #218 · microsoft/tabster (github.com)

Reported issue: [Bug]: dialog directly mounted with open=true could not get focus · Issue #26824 · microsoft/fluentui (github.com)
Repro (also in the bug): Sandbox - CodeSandbox (csb.app)

What seems to be happening is that since<EMAIL_ADDRESS>is that the autoroot creation is now async. This means that when a Fluent component that uses tabster is mounted, it generates errors because only the first usage of tabster initialized the autoroot. Since this is async, the React component can't actually use tabster on first render.

In the repro:

The dialog is mounted
tabster does not exist
dialog initializes tabster
dialog uses modalizer
tabster error -> no autoroot created
tabster creates autoroot
modalizer is inactive because there was not root
can't tab any element in the dialog
use the console to call .focus() on an element
now the modalizer is active

@bsunderhus can you please share where/how this issue was fixed? I can still repro the issue with "@fluentui/react-components": "9.49.1".

We've updated latest tabster versions in Fluent v9 and the newest version should have this problem solved. Can you share a reproduction of the problem with "@fluentui/react-components": "9.49.1". @angelo-mollame ?

I created an issue and added repro steps here: https://github.com/microsoft/fluentui/issues/31421


make a circle-based hole into a polygon with a L.circle()

After a lot of researches I couldn't find a way to make this work.
I suppose myPolygon = L.polygon([polygonCoords, circleCoords], myOptions).addTo(map); should work but how do you retrieve circleCoords from initial L.circle(circleCenter, circleOptions)?
Actually, I read nothing about this in the Leaflet documentation
I hope I'm a really bad reader, thanks for your enlightments
Originally posted by @Itemshopp in https://github.com/Leaflet/Leaflet/issue_comments#issuecomment-433458278

Hi, great to hear that you find Leaflet useful!
However, this issue tracker is used for reporting bugs and discussing new features.
For questions on using Leaflet, please use Stack Overflow or GIS Stack Exchange.
If you are really sure that this is a bug in Leaflet, please provide a more effective bug report, and in particular all the information requested in the issue template (provided when you create a new issue), so that we can effectively investigate and hopefully resolve it.

Thanks a lot for your answer, I thought it was a bug because a similar issue was created 5 years ago and also closed by your leaflet team saying it was implemented [ cfr: https://github.com/Leaflet/Leaflet/issue_comments#issuecomment-433458278 ] but nothing I tried worked.
If you think the best way is to translate the circle in a circle-shaped polygon, then nothing has been implemented about it and I'm sorry for my false issue.
Thanks a lot for your help


Prevent creation of blank elements

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

set VAR '' creates a list containing a blank element. We can prevent this by just declaring the variable directly. There's no need in declaring the variable prior to referencing it.
Before
$INFOPATH: set in global scope, exported, a path variable with 2 elements
$INFOPATH[1]: |/opt/homebrew/share/info|
$INFOPATH[2]: ||

After
$INFOPATH: set in global scope, exported, a path variable with 1 elements
$INFOPATH[1]: |/opt/homebrew/share/info|

I don't have knowledge for fish specifically, but this is intentional for INFOPATH and MANPATH on other shells (ending with :), because an empty last element denotes that the system default should be appended.

I don't have knowledge for fish specifically, but this is intentional for INFOPATH and MANPATH on other shells (ending with :), because an empty last element denotes that the system default should be appended.

Doesn't an empty trailing colon indicate the current directory and is in general frowned upon? In any case, it does have any bearing in the Fish shell.

I believe INFOPATH shares a similar mechanic

Yup:

However you set INFOPATH, if its last character is a colon (on MS-DOS/MS-Windows systems, use a semicolon instead), this is replaced by the default (compiled-in) path. This gives you a way to augment the default path with new directories without having to list all the standard places.

The default (sh) case should be deemed to have its environment variables set correctly for both macOS and Linux, as it's been iterated over for years now. All other shell cases must produce the same output at the system level as the default case.

https://github.com/Homebrew/brew/blob/1da5cbc81a21dbf4c452df8271a2edcf6d4ca2e5/Library/Homebrew/cmd/shellenv.sh#L12-L13


BAU DWP KBV debugging - build up token request

Proposed changes
What changed
Try a barebones http token request including the body - this should return 200
Why did it change
Temporary DWP KBV debugging code

Temporary debugging code so ignoring sonar


Fixing issue #1170

Add an empty alt attribute for <img tag , to fixing broken empty image placement in firefox
as suggested by @bharatjilledumudi

Thanks!


Inject AmazonS3 into S3ManagedLedgerOffloader

Rather than creating it directly in the offloader, inject the AmazonS3
object so that it can be mocked for testing.
Master Issue: #1511

retest this please


[comunity] Issues templates and tags

We really need this!
Last three days I work with issues here. it's painfully sometimes. I think if we make issues templates our life will be better.
But I am bad with English and I cannot do it. Anyone can send a PR?
P.S. Tag it with good first issue, help wanted please :)

You are good enough. Try to provide something simple. Package, node versions and os, current behaviour and expected behaviour. Bad english may be fixed by somebody else.

And big thanks for your work

Big thanks from my side as well. You might copy/adjust Rollup's own issue templates from here: https://github.com/rollup/rollup/tree/master/.github
Reusing those would probably also improve coherence of the ecosystem. There are also targeted issue templates in https://github.com/rollup/rollup/tree/master/.github/ISSUE_TEMPLATE

Closed via #217


enhancement: Add better component and event API docs

Right now they are almost non-existent, apart from the "X component. See XProps" boilerplate. The events don't even have that.

Good points, although I have tried to make the components docs nice, they are still lacking, some even completely. And events are basically non-existing, as you said. I would say writing the docs as doc comments is the way to go


Use periodic batching as base class

@DixonDs Changed the base class and used the PeriodicBatching. Same way the slack sink works.

Thanks @Franklin89 !


Default config

I thought I'd share the small changes I made to my projectable config to make it more comfortable/intuitive for me. Of course, these changes are based off my opinions and perspective, so feel free to ignore this.
https://gist.github.com/fresh2dev/0c732dfd3750d9a187b441497d42320b
Changes:

allow many commands/special_commands to be defined in long-form using [commands] / [special_commands] blocks instead of single-line mapping.
kill background processes with ctrl-x rather than ctrl-c.
scroll the preview pane with ctrl-j/k instead of ctrl-d/u # more vim-friendly
show hidden by default
scroll up/down three with ctrl-u/d instead of ctrl-n/p # more vim-friendly
execute a command with : instead of e  # more vim-friendly
intuitive colors for git modifications:  added=green, new=red, and modified=yellow. Marks are cyan.

P.S., please take the number of issues I'm submitting as a form of flattery, projectable is exciting!

These look awesome! I agree - long-form is probably best for [commands] and [special_commands]. I'll try to enforce that style more in CONFIG.md. I think the default git coloring also probably deserves a change.
Thank you for all the changes you suggested in the issues, they've really helped out!

Glad some of my suggestions were helpful. Thank you for being attentive and swift, and for creating this exciting tool :clinking_glasses:


Can't connect in case of offset error

Hello my friend!
Still trying to connect to two sensors but getting such error:
[16/09/2021, 15:02:27] [Test Temperature & Humidity] a4:c1:38:66:7d:80 (LYWSD03MMC) Connecting
[16/09/2021, 15:02:31] [Test Temperature & Humidity] a4:c1:38:66:7d:80 (LYWSD03MMC) Connected
[16/09/2021, 15:02:32] [Test Temperature & Humidity] Device Info cached!
[16/09/2021, 15:02:32] [Test Temperature & Humidity] Device Info cached!
[16/09/2021, 15:02:32] [Test Temperature & Humidity] Device Info cached!
[16/09/2021, 15:02:32] [Test Temperature & Humidity] Device Info cached!
[16/09/2021, 15:02:32] [Test Temperature & Humidity] Device Info cached!
[16/09/2021, 15:02:33] RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 1. Received 3
at boundsError (internal/buffer.js:83:9)
at Buffer.readUInt16LE (internal/buffer.js:240:5)
at NobleScanner.onReadThermometer (/usr/local/lib/node_modules/homebridge-mijia-thermometer/src/noblescanner.ts:150:22)
at Characteristic.emit (events.js:315:20)
at Noble.onRead (/usr/local/lib/node_modules/homebridge-mijia-thermometer/node_modules/@abandonware/noble/lib/noble.js:437:20)
at NobleBindings.emit (events.js:315:20)
at NobleBindings.onRead (/usr/local/lib/node_modules/homebridge-mijia-thermometer/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:411:8)
at Gatt.emit (events.js:315:20)
at Object.callback (/usr/local/lib/node_modules/homebridge-mijia-thermometer/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:538:14)
at Gatt.onAclStreamData (/usr/local/lib/node_modules/homebridge-mijia-thermometer/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:133:26)
If i set 1 in offset parameter - it will just write to log: connecting -> connected and nothing more.

Node.js
v14.15.0

NPM v6.14.8

P.S. can't send you an email, because deamon tells that email is not working. Maybe you have another one?

Just pushed a new version. Offset issue fixed.

same issue after update:
[27/09/2021, 10:56:32] [Test Temperature & Humidity] a4:c1:38:50:13:6e (LYWSD03MMC) Connected
[27/09/2021, 10:56:33] [Test Temperature & Humidity] Device Info cached!
[27/09/2021, 10:56:33] [Test Temperature & Humidity] Device Info cached!
[27/09/2021, 10:56:33] [Test Temperature & Humidity] Device Info cached!
[27/09/2021, 10:56:33] [Test Temperature & Humidity] Device Info cached!
[27/09/2021, 10:56:33] [Test Temperature & Humidity] Device Info cached!
[27/09/2021, 10:56:34] RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 1. Received 3
at boundsError (internal/buffer.js:83:9)
at Buffer.readUInt16LE (internal/buffer.js:240:5)
at NobleScanner.onReadThermometer (/usr/local/lib/node_modules/homebridge-mijia-thermometer/src/noblescanner.ts:234:22)
at Characteristic.emit (events.js:315:20)
at Noble.onRead (/usr/local/lib/node_modules/homebridge-mijia-thermometer/node_modules/@abandonware/noble/lib/noble.js:437:20)
at NobleBindings.emit (events.js:315:20)
at NobleBindings.onRead (/usr/local/lib/node_modules/homebridge-mijia-thermometer/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:411:8)
at Gatt.emit (events.js:315:20)
at Object.callback (/usr/local/lib/node_modules/homebridge-mijia-thermometer/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:538:14)
at Gatt.onAclStreamData (/usr/local/lib/node_modules/homebridge-mijia-thermometer/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:133:26)
[27/09/2021, 10:56:34] Got SIGTERM, shutting down Homebridge...
I'm using internal bluetooth adapter of Raspberry and in Home app temp and humidity are still 0.

Actual version is:
Homebridge Mijia Thermometer
homebridge-mijia-thermometer v1.7.2
after a restart i got only:
27/09/2021, 10:57:04] [Test Temperature & Humidity] Stopped scanning.
[27/09/2021, 10:57:04] [Test Temperature & Humidity] a4:c1:38:50:13:6e (LYWSD03MMC) Connecting
[27/09/2021, 10:57:04] [Test Temperature & Humidity] a4:c1:38:50:13:6e (LYWSD03MMC) Connecting
[27/09/2021, 10:57:20] [Test Temperature & Humidity] a4:c1:38:50:13:6e (LYWSD03MMC) Connected
[27/09/2021, 10:57:20] [Test Temperature & Humidity] a4:c1:38:50:13:6e (LYWSD03MMC) Connected
But no temp and hum data in home app.


Requirement of amuse-devel requires different installation instructions

As per commit https://github.com/omuse-geoscience/omuse/commit/6aacba69e9e0d4d2a6c2d8ee840a27f51f39b64a where the dependency on amuse-framework was changed to amuse-develop in setup.py, the installation instructions are out of date.
amuse-develop should be installed by cloning the amuse repository (https://github.com/amusecode/amuse) and following the installation instructions in https://amuse.readthedocs.io/en/latest/install/howto-install-AMUSE.html#development-build

I believe this should be part of #64


Problems running init for Java function

Running riff init java --handler function.Dummy results in:
function path /Users/trisberg/Test/riff/dummy/dummy.java does not exist

Supplying the --artifact option using riff init java --handler function.Dummy -a dummy.jar results in:
language java conflicts with artifact file extension dummy.jar

I fixed the init issues but it seems that create doesn't work. The InitOptions doesn't seem to be populated with the chained commands and I get:
$ riff create java -f . -a target/upper-1.0.0.jar --handler functions.Upper
function path /Users/trisberg/Test/riff/upper/.jar does not exist

Any thoughts?  @dturanski

@trisberg - Looking at it. artifact is not getting populated for some reason.


fix(binder): bind correlated column without intermediate RwError

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Construction of RwError includes capturing the backtrace, which becomes very slow (~300ms) in single binary debug mode after recent toolchain bump. When we bind correlated columns, intermediate errors when stepping outer queries layer by layer does not need the backtrace. This PR changes these intermediate errors from RwError to ErrorCode.
Before toolchain bump:
| e2e_test/batch/./basic/subquery.slt.part                     .. [OK] in 684 ms

Current main:
| e2e_test/batch/./basic/subquery.slt.part                     .. [OK] in 13621 ms

This PR:
| e2e_test/batch/./basic/subquery.slt.part                     .. [OK] in 829 ms

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
#6157

LGTM as a workaround. 🤔

LGTM as a workaround. 🤔

... and the real solution being #2366 🤦


Error with TEAM portal not loading

https://main.d1ga660566c672.amplifyapp.com/static/media/Home.fa54de9b326fa07ff2d54a33f32c2697.svg
Uncaught (in promise) TypeError: e is undefined
h App.js:77
promise callbackQq/h/< App.js:77
promise callbackh App.js:74
Qq App.js:70
Fl React
unstable_runWithPriority scheduler.production.min.js:18
React 3
M scheduler.production.min.js:16
onmessage scheduler.production.min.js:12
7234 scheduler.production.min.js:12
Webpack 10

We have Azure Ad integrated with identity center as our IDP. This issue occurs after the TEAM solution  has been successfully deployed. We think something to do with attribute mapping but not sure.

You can put some print statements in between if you are still struggling with the issue.
I had the similar issue as my UI was loading n loading, having the similar exception along with having error Fetching group ids so after putting some debugging in between, found that it was not able to fetch the groups and relevant information.
Mine was integrated with the Jumpcloud.


Use Length Aware Paginator

closes #74

yea, I think phpstorm removed it

Everything else looks fine! @fenos I think that this can be merged.


Readonly mode notification

Discussed in https://github.com/provectus/kafka-ui/discussions/1766

Originally posted by omicronn88 March 26, 2022
Hi guys. I really like what you're doing, but I was wondering maybe you could add a readonly notification to users when they try to perform write operations when cluster is added in a readonly mode? So that they know that it's on purpose.

read only works on firefox, edge, but not on chrome =)

@djakupovic wdym? it does, I checked it within this week. Please raise a new issue with your details.

After conversations with @Haarolean , this issue will be on hold waiting for RBAC completion

TODO:

for the operations unavailable for read-only mode, enable the same "unable to perform operation" tooltips which are present for the same buttons/controls when the RBAC is on.


Corrects a typo: sever -> server

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/organization/Get-ExchangeSettings.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance/Get-TransportRule.md
:white_check_mark:Succeeded
View (exchange-ps)

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


I wanted you to note this point. Thats why I opened this as an issue. A good detailed document will never do any bad. Its really hard to find how to use this. Please update this doc so that users with all levels of experience like novice to professionals can seamlessly use this.

Related: https://github.com/google/google-auth-library-nodejs/issues/53

@nidhind in the meantime, you might like google-auto-auth. This library (google-auth-library-nodejs) intends to match that API (google-auto-auth's) more closely in the future, but for getting started quickly, it might be helpful for now.

We've updated the main README.md in release 0.9.8.  Please take a look at the changes in #85, and let me know what you think.

I guess little more details needs to be added.  A _working clone-able example _like this one: https://github.com/ParsePlatform/parse-server-example will be very nice. Thanks for your effort.


Mayaqua: Fix compilation with external iconv

This small modification is needed for external iconv. This patch is carried in OpenWrt.

There's actually a dedicated CMake module: https://cmake.org/cmake/help/latest/module/FindIconv.html

Upon looking at this again, this commit is totally wrong.
In OpenWrt, we pass -DICONV_LIB_PATH="$(ICONV_PREFIX)/lib" to CMake, which evaluates to the proper directory. This is why the patch works.
Properly fixing iconv support is beyond me at this time.


Rotary Encoder issue

Hi
I did some tests with the latest version of the DCmotor Repo. I use a ATMEGA 2560. I found 2 issue's:

The example script of the dc-open-loop does not compile. Refs to library and the motor class is wrong

#include "SimpleFOCDCMotor.h" //This must be #include "SimpleDCMotor.h" I think
// DCDriver object - this is the only thing needed for open-loop control.
// There are different types to choose from, please select the correct one
// that matches your motor driver hardware.
DCDriverSpeedDir driver = DCDriverSpeedDir(2, 3); \\??

I tested with a rotary encoder into the dc-position and dc-velocity example scripts. It does compile. After entering a value the motor start spinning until it reaches the max voltage. In the monitoring output the 2 column on the right remains zero (no readout of the Rotary encoders). I tested the encoders separate with another SimpleFoc script and they are working fine. Also the callibration is skipped. Debug output:

MOT: Init
MOT: Enable driver.
MOT: Monitor enabled!

(no calibration)
Monitoring output (target 5,0)
5.0000	3.3387	0.0000	0.0000
5.0000	3.3455	0.0000	0.0000
5.0000	3.3524	0.0000	0.0000
5.0000	3.3593	0.0000	0.0000
5.0000	3.3661	0.0000	0.0000

If you have any questions please let me know
Regards

Thank you for your tests and your error report! I am sorry you are having troubles.
Regarding the example, this has been fixed and will be in the next release.
Regarding the rotary encoder, think it is a different problem. The DCMotor calls the sensor.update() method, so if the sensor is linked to the motor and correctly initialised, then it will work. I think there must be a different problem regarding the sensor initialisation.
Regarding the calibration, DC motors don't need a motor calibration, but we are also skipping the sensor index search. We should add this in a future version of the library. I will make a separate issue for this.

Thx. Regarding the encoder. I also had the problem with I2C and SPI sensors. Hapily, yesterday I found this discussion https://community.simplefoc.com/t/simpledc-problem/3980/8. The solution was to add motor.sensor_direction = Direction::CW;. That did the trick.  In the same discussion is was mentioned that driver.pwm_frequency = 5000; in setup is missing in some examples.

Thanks for the feedback! I'm glad you solved your problem, and if it is ok I will close this issue.
Regarding the pwm_frequency, maybe I will add it to more examples, but it's really a matter of user choice and the driver used, some drivers can work with much faster frequencies. Ideally you want the frequency to be > 24kHz, so it is not in the audible range. The the solution will be more quiet.


How can I start a Superset web server rather than development server in this project?

Question : When I type superset --help , there is no option for "runserver " but only "run" . Who knows how to deal with it? Thank you ! #question

https://apache-superset.readthedocs.io/en/latest/installation.html#a-proper-wsgi-http-server

have you solved this?I get the same question like you.Hope you can help,Thanks a lot!

have you solved this?I get the same question like you.Hope you can help,Thanks a lot!

sorry , I just get your question.....the link above tells us the great way, you can run "gunicorn
-w 10
-k gevent
--timeout 120
-b  <IP_ADDRESS>:6666
--limit-request-line 0
--limit-request-field_size 0
--statsd-host localhost:8125
superset:app",


Fix build warning (part 1): Add XML comments for Csharp classes

Add XML comments to fix the build warnings in the 5 files below:
ConfigurationService.cs
Accumulator.cs
Broadcast.cs
DoubleRDDFunctions.cs
Option.cs
OrderedRDDFunctions.cs

Hi @hebinhuang, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Hebin Huang). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Current coverage is 76.41%

Merging #366 into master will decrease coverage by -0.26% as of cb90905

@@            master    #366   diff @@
======================================
  Files           45      45
  Stmts         4681    4681
  Branches       417     417
  Methods
======================================
- Hit           3589    3577    -12
  Partial        180     180
- Missed         912     924    +12

Review entire Coverage Diff as of cb90905

Powered by Codecov. Updated on successful CI builds.

LGTM

I have added the comments for Option.isDefined. Please review it again

a typo in Accumulator.cs ? whether -> where?
///
47   +        /// Indicates whether the accumulator.
48   +        /// When deserialized in C# worker, isDriver is false.
49   +        ///
50   +        [NonSerialized]
43 51            protected bool isDriver = false;

LGTM


Need rename status "cancelled" to "canceled" in online transaction

In masternet:

In design:

Checked


VM Workload Auto-registration Fails due to Can't find Workloadgroup

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
When using Istio's auto-registration function for VM workloads, I found the auto registration process always fails. On the istio-sidecar side in the VM, envoy prints the following log:
upstream terminated with unexpected error rpc error: code = FailedPrecondition desc = auto-registration WorkloadEntry of ip-10-10-65-247.mesh-east-istio failed: cannot find WorkloadGroup mesh-east-istio/mesh-east-istio-vm

My setup is as follow:

workloadgroup:

apiVersion: networking.istio.io/v1alpha3
kind: WorkloadGroup
metadata:
  name: "mesh-east-istio-vm"
  namespace: "mesh-east-istio"
spec:
  metadata:
    labels:
      app: mesh-east-istio-vm
  probe:
    tcpSocket:
      port: 8087
  template:
    labels:
      app: mesh-east-istio-vm
    network: vm-network
    serviceAccount: mesh-east-istio

mesh config on the VM

defaultConfig:
  binaryPath: /usr/local/bin/istio-envoy # envoy binary file for istio to use, should be distinguishable from the Consul' envoy
  discoveryAddress: istiod-nlb-mesh-001.stg.mngd.int.engtools.net:15012
  meshId: mesh1
  proxyMetadata:
    CANONICAL_REVISION: latest
    CANONICAL_SERVICE: mesh-east-istio-vm
    ISTIO_META_CLUSTER_ID: mngd-eks-stg-mesh-001
    ISTIO_META_AUTO_REGISTER_GROUP: mesh-east-istio-vm
    ISTIO_META_DNS_CAPTURE: "false"
    ISTIO_META_MESH_ID: mesh1
    ISTIO_META_NETWORK: vm-network
    ISTIO_META_WORKLOAD_NAME: mesh-east-istio-vm
    ISTIO_METAJSON_LABELS: '{"app":"mesh-east-istio-vm","service.istio.io/canonical-name":"mesh-east-istio-vm","service.istio.io/canonical-revision":"latest"}'
    POD_NAMESPACE: mesh-east-istio
    SERVICE_ACCOUNT: mesh-east-istio
    TRUST_DOMAIN: cluster.local
  readinessProbe:
    tcpSocket:
      port: 8087
  tracing:
    zipkin:
      address: zipkin.istio-system:9411

envoy's cluster.env

CANONICAL_REVISION='latest'
CANONICAL_SERVICE='mesh-east-istio-vm'
ISTIO_INBOUND_PORTS='*'
ISTIO_LOCAL_EXCLUDE_PORTS='22,15090,15021,15020'
ISTIO_METAJSON_LABELS='{"app":"mesh-east-istio-vm","service.istio.io/canonical-name":"mesh-east-istio-vm","service.istio.io/canonical-revision":"latest"}'
ISTIO_META_AUTO_REGISTER_GROUP='mesh-east-istio-vm'
ISTIO_META_CLUSTER_ID='mngd-eks-stg-mesh-001'
ISTIO_META_DNS_CAPTURE='false'
ISTIO_META_MESH_ID='mesh1'
ISTIO_META_NETWORK='vm-network'
ISTIO_META_WORKLOAD_NAME='mesh-east-istio-vm'
ISTIO_NAMESPACE='mesh-east-istio'
ISTIO_SERVICE='mesh-east-istio-vm.mesh-east-istio'
ISTIO_SERVICE_CIDR='*'
POD_NAMESPACE='mesh-east-istio'
SERVICE_ACCOUNT='mesh-east-istio'

This setup used to work in the 1.21.2 version, but right now it doesn't work with 1.22.0 and the error logs stated at the begin are printed by envoy.
Version
client version: 1.22.0
control plane version: 1.22.0
data plane version: 1.22.0 (36 proxies)

Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.12-eks-adc7111

Additional Information
No response

    ISTIO_META_AUTO_REGISTER_GROUP: mesh-east-istio-vm
But your WG name is mesh-east-istio? (No -vm)

Workload group name is also mesh-east-istio-vm:
apiVersion: networking.istio.io/v1alpha3
kind: WorkloadGroup
metadata:
  name: "mesh-east-istio-vm"
  namespace: "mesh-east-istio"
spec:
  metadata:
    labels:
      app: mesh-east-istio-vm
  probe:
    tcpSocket:
      port: 8087
  template:
    labels:
      app: mesh-east-istio-vm
    network: vm-network
    serviceAccount: mesh-east-istio

And from the error log
upstream terminated with unexpected error rpc error: code = FailedPrecondition desc = auto-registration WorkloadEntry of ip-10-10-65-247.mesh-east-istio failed: cannot find WorkloadGroup mesh-east-istio/mesh-east-istio-vm

We can see istio is searching for workloadgroup mesh-east-istio-vm under the namespace mesh-east-istio

oops, sorry mixed up the name and namespace

Is there anyother error from istiod, any kube client related error

Sorry for the late reply.
I didn't notice any error on the istiod side and kube client side. The CRD creation for workloadgroup went smoothly.


Pushshift API updates

PR To incorporate changes to PMAW to reflect changes to PushShift API. Quick fixes
Changes to the api include renaming of after & before params to since & until.
Sort renamed to order.
metadata structure has changes, so made updates to:
Checking for "down" shards
Request size to enable batching of request threads
Will update documentation soon

Hi there,
I took a look at your pull request and noticed some issues with the tests and performance. The test results showed that PushShift API requests timed out, and there were also failures and hanging tests.
It seems that the issues may be related to the PushShift API itself. Do you think that could be the case? If so, it might be helpful to reach out to the PushShift API team to see if they can provide any insights or assistance.
Here are the details of the failing and hanging tests:

33% of test_filter_fn failed.
75% of test_search_comments and test_search_submissions failed after hanging for a few minutes.
test_search_submission_comment_ids and test_response hangs indefinitely.

Hey @eddvrs I'll review the PR today/tomorrow. thanks for the contribution!!

Hi there.
I've been following progress on the PushShift subreddit, and they're undergoing a lot of change all at once- Moving servers to a new data centre, reloading historical data, and at the same time have made some breaking changes to the API itself. At this point- it's difficult to know which of those is causing downstream problems in pmaw.
The API has been a bit flakey since then, additionally there is no data older than 3rd November 2022 available. The unit tests themselves probably also need updating - if they're set up to test on data older than 03/11/2022, then they simply won't work. I did some basic functional testing, but wasn't confident enough to review the unit-tests themselves. I'll take another look this evening.

good to know! I'll update the unit tests before releasing


Feature Request: Add tag for release 0.3.0

Hi, thanks for this crate!
I was wondering if any maintainers would be willing to tag the commit used for at least https://crates.io/crates/markdown/0.3.0 but potentially older releases as well. That'd be helpful in triaging issues.

@wooorm do you know when the next release will be? I found this crate on crates.io and followed the seemingly standard practice of adding a crate. Is 0.3.0 not a commit in this repo?

Is 0.3.0 not a commit in this repo?

It is not

See the intro in the readme

Note: this is a new crate that reuses an old name. The old crate (0.3.0 and lower) has a bunch of problems. Make sure to use the new crate, currently in alpha at 1.0.0-alpha.21.


[1.10.2] TPS issue - 1.1.1

Running SkyFactory 3.0.6
FluxNetworks-1.10.2-1.1.1
Server with around 10-20 people on it is experiencing severe TPS drops due to Flux Networks according to Timings & VisualVM.
https://timings.aikar.co/?id=486a6f8dd220472da5a13cf5a2fdbd77#timings
https://toastynetworks.net/rsampler.php?id=5c0d95c4cb604e84ae30b42059f28c89
Download the NPS profile that shows you the lag from the above link.
Looking forward hearing from you.
At this point we are going to ban the mod from our server until this issue gets resolved, it's currently unplayable =/

Update SonarCore and Flux Networks

Your commits do not show that this would resolve lag, thank you though!
Maybe try to comment out your Commits better?
Will try with newer builds.


change from using app.import to this.import

using this.import is the preferred way of importing dependencies, especially when nesting addons.  I'm hoping that this fix will help some of our font awesome dependency issues in our consuming app (web-directory)
see https://github.com/ember-cli/ember-cli/pull/5877

it should work 2.7 and above.  If we want to support previous to that, then there's a polyfill we can use https://github.com/ember-cli/ember-cli-import-polyfill


Add LICENSE and MANIFEST.in

Added MIT License (assuming you want this)
This is for legal compatibility for pipenv vendoring

Signed-off-by: Dan Ryan<EMAIL_ADDRESS>

Yeah, the library is already listed as being under MIT, so we should have a license with it. Thanks Dan!

thanks for the quick merge Nate


Executing hyprlock triggers hypridle to think it has resumed

When executing hyprlock from hypridle, it runs all the resume commands that came before it (ex. dimming screen, dpms off)
This is a hyprlock issue and the first bad commit is 69d37d2663bdd69a4d7891baf68acf4f81a5610a

True but same with swaylock.
So it is probably a idle notify bug in hyprland.

Hi,
I encountered a similar problem with hyprlock and hypridle, where executing hyprlock would trigger hypridle to execute all previous resume commands, such as dimming the screen and turning off DPMS.
I found a possible solution that addresses this issue. You can check out my approach here: Swaylock and Hyprlock Trigger Idle Resume Event Disrupting Screen Brightness.
This method involves adjusting the configurations for swayidle and hypridle to handle screen brightness and DPMS, ensuring that hyprlock does not incorrectly trigger resume events.
I hope this helps with your issue!


http://www.jira2scrumboard.com is down

First I would like you for a great service, the best free way to print cards from Jira!
But, the site seems to be down - I can't print cards for the new sprint :'(

Hello lundhgren,
My apologies, I thought I have replied to your message yesterday. Unfortunately, the host, where the website was running, was shut down by my former employer who provided it graciously for the last 2 years. Without funding for this small project, I am looking for an alternative, but I cannot guarantee if the website will be up again. However, you can install it pretty easily if you have a small VM, or a Linux/Unix based OS (work fine on macOS and Linux). Let me know if you need help to install it, I will be happy to improve the documentation.
Thanks

Ok, I understand. I managed to to get MAMP running and I have installed the packages with "php composer.phar install", but theme.css and compile.js is missing. I suppose it's some bundling issue? Is there another command I should run as well, or is it an environment issue (missing components or similar)?


Setup Gitlint.

@alexmv The changes are made. I think they look good to be merged now, still consider reviewing and add any more suggestions if required.

For the files copied from zulip/zulip, can you add a comment noting that's the case?

Resolved the minor merge conflict when rebasing and merged, thanks @LoopThrough-i-j!
One thing I noticed is that mypy prints a bunch of debug output that it doesn't on zulip/zulip; can you look into whatever flag we need to suppress that?
mypy      | Running mypy for `zulip`.
mypy      | Success: no issues found in 69 source files
mypy      | Running mypy for `zulip_bots`.
mypy      | Success: no issues found in 75 source files
mypy      | Running mypy for `zulip_botserver`.
mypy      | Success: no issues found in 7 source files
mypy      | Running mypy for `tools`.
mypy      | Success: no issues found in 2 source files

Sure will check and push a fix. Thanks for the merge.


cmd/go: maintain a GOPATH-wide go.sum

vgo keeps a global cache. In the same way it should keep a global go.modverify file, reminiscent of ssh's known_hosts.
This reduces the TOFU window of attack to just the first time a developer machine fetches a repository, which combined with the repository's go.modverify provides a strong trust waterfall.
When developers maintain multiple projects it will also make the risk of detection propagate to multiple communities, making targeted attacks even more different.
Finally, it could eventually be compared against and merged with any new go.modverify encountered, making verification automatic and making trust also flow from users back to the developer.
Aside from security, it will also provide more pressure against changing tag values, because it will be harder to remove a pin.
While the cache might need size management and/or expiration features, the global go.modverify should not reach meaningful size issues, preventing eviction attack and providing permanent pinning. (And maybe the base for future gossiping features.)

Strong agree - the class of information being kept in go.modverify makes more sense in some kind of central location, rather than being split up across projects.

To clarify, I think it's important for it to be both in the repository (#24116) and in a global location, possibly with cross-pollination.
The go.modverify in the repository is critical to ensure users have only a single well-understood point of security failure: fetching the source.

I agree with that.
For instance, package golang.org/x/net  actually repo locates is github.com/golang/net. This is pretty creepy when you clone a new repo and stuck at a go build error.

Not yet. We're fixing one thing at a time. The first thing to fix is management of versions at all. The second thing is verification. There's no need to do both at once. We've gotten by this long with "go get" with no modverify. Let's get versions into go first, and then turn our attention to verifying.

I have a (non-global) counterproposal in #28802. I'll follow up with @FiloSottile to try to better understand how the differences play out under various possible threat models.

Re @bcmills's comment, #28802 would probably help but is not a complete solution. For example, it does not address go get -u. This issue is about a complete solution.

@FiloSottile explained to me off-issue that "global" here really meant "GOPATH-wide".
(Note the mention of "global cache".)

For what it's worth, I think a GOPATH-wide go.sum is a mistake. It introduces a new not-automatically-managed piece of state into what is supposed to be a stateless cache. We've worked hard to eliminate state and state manipulations (like needing to run "go install" to populate the stateful cache that is GOPATH/pkg). The notary should take care of the underlying need here.
The only override for a problem here would be to edit the GOPATH-wide go.sum, which is what I mean by having a not-automatically-managed piece of state. Now the cache is not a cache.
For a similar reason I think we should probably not do #28802: recovering from a problem is too hard and depends on manipulating state outside the current module.

The sumdb support caches results from the checksum database but also reauthenticates them before use. That has the effect of maintaining a GOPATH-wide go.sum but avoids the state problems I mentioned in the last comment. I'm going to close this as addressed by use of the checksum database with this caching (and otherwise not something we want to do).


Revert "Revert "front-end changes to convert consent date based on patient timezone""

Revert of revert, Amy's changes
uwcirg/true_nth_usa_portal/pull/1182

Beyond the conflict needing a rebase - is this ready to again be merged?

Hello @ivan-c! Thanks for updating the PR.

In the file portal/views/portal.py, following are the PEP8 issues :

Line 614:42: E711 comparison to None should be 'if cond is None:'

Hi, Paul, I meant to follow up with Ivan.  @ivan-c Ivan, not sure if you have reviewed this. I'd love to have these changes merged as they address one of the stories that was assigned to me (https://www.pivotaltracker.com/story/show/149409969) for Eproms August release.  I have rebased this branch. I didn't make the fix suggested by PEP8.  I wasn't sure if that would break anything.

Holding off on merging this change, not sure if Mo still wants it

closing this now,  will re-open when Mo has firmed the requirements for htis.


Store headers or block numbers for valid forkchoice states

Describe the feature
The ForkchoiceStateTracker tracks the latest VALID forkchoice state, latest SYNCING forkchoice state, and the latest overall forkchoice state received:
https://github.com/paradigmxyz/reth/blob/f55d88b8c4c78c6a42c2d31dc08659e7a608e31e/crates/consensus/beacon/src/engine/forkchoice.rs#L4-L16
Validating a forkchoice state requires having the entire header, so we should be able to include either full sealed headers for the latest valid forkchoice state, or a BlockNumHash.
Additional context
No response

Ping @Rjected on this one, close or keep? If keep, add the M-prevent-stale label

closing this one, not sure it's really needed for anything atm


OSD Config - Move Items: please add a "hide"

Hi,
i use mx12, which has 6 channels. all are used. it would be fantastic, if i can hide the motor infos from the borders in the move menu.
Thx,
Michi

Hi,
I would also prefere to be able to disable certain items permanently instead of using a channel to switch it dynamically. For example, all the ESC data (single esc) is not reaaaally that interesting to me, I love a minimalistic interface =) Voltage is close to all I need, overall pulled mah is also nice, maybe current A draw, but that would be it.
Cheers!
Schemen

You could actually set that up using the arm switch by manipulating the minimum and maximum switch position on the radio. The arm function and the display function would be the same. In the new KISS GUI you can configure the level of the arm switch.

Mh, so if I arm everything disappears, just the thing I need is here?
Still, I would love to see a static setting. Do you know how much work this would be?

If you put it on arm, you would not see any item while disarmed. Only when armed, a few items would appear - depending where you arm switch level is set at (on your radio).
The work is not the problem, however I'm a bit challenged with program space, so I have to think twice before I implement a new idea. But I thought about it yesterday and found an easy way so it would at least not inflate the KISS OSD code by much. Mostly programming in the config tool. Will take a while though, busy at work these days and won't be before the 2.4 release. So the suggestion with the arm switch is a workaround for in between.

Okay, cool! I am currently looking into this regarding the KISS OSD PDB solution for ImpulseRC. We're looking into this as well!
Thanks for your input!

You can now set the "DV CHANNEL" to "FIXED" which enables you to statically turn on and off OSD items. Will be part of 2.4 release, commited in master.


What's the exact goal of LiDAR perception module?

System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04):
Apollo version (5.0):

I am not sure whether the goal of LiDAR perception is to:
a. percept all the obstacles which have impacts on the driving behavior
b. or only percept the vehicle, non-vehicle, pedestrian, these 3 classes

For example, if there is a rock on the road which definitely has impacts on the driving behavior, is LiDAR perception module's responsibility to detect it as an unknown class? or just ignore it?
The same example generalizes to small animals on the road, should LiDAR perception module detect it or not? Note that I only consider LiDAR, no other sensors.
Thanks in advance!

Currently lidar is used for mapping/localization/perception. In perception, we facilitates two lidar-based object detection approaches: One is to detect multiple objects (pedestrian, cyclist, motorcycle, sedan, truck, and more) using CNN and the other is to detect and segment objects using min-cut which detects any object in lidar data.

Currently lidar is used for mapping/localization/perception. In perception, we facilitates two lidar-based object detection approaches: One is to detect multiple objects (pedestrian, cyclist, motorcycle, sedan, truck, and more) using CNN and the other is to detect and segment objects using min-cut which detects any object in lidar data.

Thanks a lot for the reply!
I found codes about NCUT which could be Normalized-Cut. Can you give me a hint on where the code is used? Since when I use the previous Apollo version, there is no NCUT or min-CUT in the codebase

Currently lidar is used for mapping/localization/perception. In perception, we facilitates two lidar-based object detection approaches: One is to detect multiple objects (pedestrian, cyclist, motorcycle, sedan, truck, and more) using CNN and the other is to detect and segment objects using min-cut which detects any object in lidar data.

Also, I just wonder that is the CNN segmentor responsible for detecting all the objects on the road, or it is responsible for only detecting the classified obstacles?

得到障碍物的位置，速度，加速度等信息。具体的处理流程请参考https://github.com/ApolloAuto/apollo/blob/master/docs/specs/3d_obstacle_perception_cn.md ——回复参考来自Apollo开发者社区issue达人赛 https://apollo.auto/developer/questiondata_cn.html?target=395


Recent 4.4.1-RC changes cause crashes reading HDF4 and HDF5 files

Please provide as much of the following information as you can, as applicable to the issue being reported.  Naturally, not all information is relevant to every issue, but the more information we have to start, the better!

Environment Information

Feel free to skip this if the issue is related to documentation, a feature request, or general discussion.

What platform are you using? (please provide specific distribution/version in summary)

[ X] Linux
[ ] Windows
[ X] OSX
[ ] Other
[ ] NA

32 and/or 64 bit?

[ ] 32-bit
[ X] 64-bit

What build system are you using?

[ X] autotools (configure)
[ ] cmake

Can you provide a sample netCDF file or C code to recreate the issue?

[ ] Yes (please attach to this issue, thank you!)
[ X] No
[ ] Not at this time

Summary of Issue
Recent 4.4.1-RC crashes with HDF4, HDF5 files
Steps to reproduce the behavior
First let me say that things work more or less as expected/intended with NCO and RC2 on netCDF4 files. Second, I have not updated the underlying HDF4/5 libraries. That said:
NCO fails in nc_inq_varid() when reading HDF4 files. The failures seemed to be caused by changes to 4.4.1 development between 20160212 and 20160514 (i.e., things were working fine until I installed RC2).
It seems to happen on all HDF4 files, and results in
zender@frazil:~/nco/data$ ncks -m hdf.hdf
ERROR: nco_inq_varid() reports requested variable "date_int" is not defined in file
nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_inq_varid()
nco_err_exit(): ERROR Error code is -49. Translation into English with nc_strerror(-49) is "NetCDF: Variable not found"
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)
ncdump does not seem to have any problems with HDF4 files (NCO ncks -m does lots of calls that ncdump does not do).
Also, the (lack of) an _NCProperties attribute in HDF5 files seems to cause unhappiness when opening such files. ncdump also has problems opening HDF5 files. here's what ncdump used to do (before 4.4.1-RC2) on small HDF5 test file:
zender@grele:~$ ncdump -h /home/zender/data/hdf/tdset.h5
netcdf tdset {
dimensions:
phony_dim_0 = 10 ;
phony_dim_1 = 20 ;
phony_dim_2 = 30 ;
variables:
int dset1(phony_dim_0, phony_dim_1) ;
double dset2(phony_dim_2, phony_dim_1) ;
}
Now it gives this:
zender@frazil:~/nco/data$ ncdump -h /home/zender/data/hdf/tdset.h5
netcdf tdset {
dimensions:
phony_dim_0 = 10 ;
phony_dim_1 = 20 ;
phony_dim_2 = 30 ;
variables:
NetCDF: Invalid dimension ID or name
Location: file ncdump.c; line 1697
int dset1(
ncks on the same file, with RC2, implicates _NCProperties code:
zender@frazil:~/nco/data$ ncks -m /home/zender/data/hdf/tdset.h5
HDF5-DIAG: Error detected in HDF5 (1.8.15-patch1) thread 0:
#000: ../../src/H5Adeprec.c line 243 in H5Aopen_name(): can't open attribute: '_NCProperties'
major: Attribute
minor: Can't open object
#001: ../../src/H5Aint.c line 451 in H5A_open_by_name(): unable to load attribute info from object header
major: Attribute
minor: Unable to initialize object
#002: ../../src/H5Oattribute.c line 537 in H5O_attr_open_by_name(): can't locate attribute: '_NCProperties'
major: Attribute
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (1.8.15-patch1) thread 0:
#000: ../../src/H5Adeprec.c line 243 in H5Aopen_name(): can't open attribute: '_NCProperties'
major: Attribute
minor: Can't open object
#001: ../../src/H5Aint.c line 451 in H5A_open_by_name(): unable to load attribute info from object header
major: Attribute
minor: Unable to initialize object
#002: ../../src/H5Oattribute.c line 537 in H5O_attr_open_by_name(): can't locate attribute: '_NCProperties'
major: Attribute
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (1.8.15-patch1) thread 0:
#000: ../../src/H5Adeprec.c line 243 in H5Aopen_name(): can't open attribute: '_NCProperties'
major: Attribute
minor: Can't open object
#001: ../../src/H5Aint.c line 451 in H5A_open_by_name(): unable to load attribute info from object header
major: Attribute
minor: Unable to initialize object
#002: ../../src/H5Oattribute.c line 537 in H5O_attr_open_by_name(): can't locate attribute: '_NCProperties'
major: Attribute
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (1.8.15-patch1) thread 0:
#000: ../../src/H5Adeprec.c line 243 in H5Aopen_name(): can't open attribute: '_NCProperties'
major: Attribute
minor: Can't open object
#001: ../../src/H5Aint.c line 451 in H5A_open_by_name(): unable to load attribute info from object header
major: Attribute
minor: Unable to initialize object
#002: ../../src/H5Oattribute.c line 537 in H5O_attr_open_by_name(): can't locate attribute: '_NCProperties'
major: Attribute
minor: Object not found
dset1: type NC_INT, 2 dimensions, 0 attributes, compressed? no, chunked? no, packed? no
dset1 size (RAM) = 1020sizeof(NC_INT) = 200*4 = 800 bytes
dset1 dimension 0: phony_dim_0, size = 10 (Non-coordinate dimension)
dset1 dimension 1: phony_dim_1, size = 20 (Non-coordinate dimension)
HDF5-DIAG: Error detected in HDF5 (1.8.15-patch1) thread 0:
#000: ../../src/H5Adeprec.c line 243 in H5Aopen_name(): can't open attribute: '_NCProperties'
major: Attribute
minor: Can't open object
#001: ../../src/H5Aint.c line 451 in H5A_open_by_name(): unable to load attribute info from object header
major: Attribute
minor: Unable to initialize object
#002: ../../src/H5Oattribute.c line 537 in H5O_attr_open_by_name(): can't locate attribute: '_NCProperties'
major: Attribute
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (1.8.15-patch1) thread 0:
#000: ../../src/H5Adeprec.c line 243 in H5Aopen_name(): can't open attribute: '_NCProperties'
major: Attribute
minor: Can't open object
#001: ../../src/H5Aint.c line 451 in H5A_open_by_name(): unable to load attribute info from object header
major: Attribute
minor: Unable to initialize object
#002: ../../src/H5Oattribute.c line 537 in H5O_attr_open_by_name(): can't locate attribute: '_NCProperties'
major: Attribute
minor: Object not found
dset2: type NC_DOUBLE, 2 dimensions, 0 attributes, compressed? no, chunked? no, packed? no
dset2 size (RAM) = 3020sizeof(NC_DOUBLE) = 600*8 = 4800 bytes
dset2 dimension 0: phony_dim_2, size = 30 (Non-coordinate dimension)
dset2 dimension 1: phony_dim_1, size = 20 (Non-coordinate dimension)

I believe this issue has been resolved, as per discussion in the other thread?  Or am I confusing two separate things? May as well ask here while I go try to sort it out.

Yes, I think all of these problems have been addressed and solved.

I think a serious bug remains with HDF4 files. The patches so far have been aimed at fixing the API (that issued is closed), the noisiness during loggin (issue is understood, but noisiness still plagues me), and another issue seen only in HDF4 files. It is the first issue described above: "NCO fails in nc_inq_varid() when reading HDF4 files. ...". Since I updated to RC2 NCO cannot read any HDF4 file. It always fails with  nc_strerror(-49)  = "NetCDF: Variable not found". These failures occur, I think, the first time nc_inq_varid() is called. The variable being inquired of is in the file. But libnetcdf returns an error. Best I can tell this behavior is due to libnetcdf changes between 20160212 and 20160514.

Thanks for weighing in Charlie; I'll try to duplicate the issue.  On my end, hdf4 files are opening properly with ncdump, but I will try to duplicate with NCO+RC2 and work my way backwards.

Using the hdf4 files fetched from a remote server during the netcdf tests, I see the following:
$ ./ncdump /working/MOD29.A2000055.0005.005.2006267200024.hdf

Using ncks:
$ ./ncks /working/MOD29.A2000055.0005.005.2006267200024.hdf
ERROR: nco_inq_varid() reports requested variable "Latitude" is not defined in file
nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_inq_varid()
nco_err_exit(): ERROR Error code is -49. Translation into English with nc_strerror(-49) is "NetCDF: Variable not found"
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)

Latitude exists in the file, as seen using ncdump -h.  ncdump -h from master as well as v4.4.0 show the same information, so I'm not sure what exactly is going on, but I'll dig into it.  I'm participating in the EarthCube/ESIP workshop on software quality (small world) so it may be Friday before I can really dig into this.

If memory serves, some (all?) hdf4 files contain
an attribute that contais a lot of metadata (HDF4 EOS?).
The netcdf-c library (and hence also ncdump) makes
no attempt to parse that attribute. Is it possible that ncks
attempts to do that parsing and that the attribute if bad?

I'm torn between conflicting conclusions; the test results for libnetcdf have not changed, suggesting that either nothing has changed or we have a hole in our testing.  But the behavior for ncks has changed depending on the version of libnetcdf, suggesting that it's something in libnetcdf.  I'm in this EarthCube workshop today and tomorrow but I'll try to figure out what's going wrong, where; hopefully it's a simple issue.

@DennisHeimbigner that is possible though it seems disconnected to explaining why nc_inq_varid() returns an error for a variable that does exist.

same file hdf.hdf in following three examples.get it at
http://dust.ess.uci.edu/tmp/hdf.hdf
this file contains many variables, including a variable named "one":
NCO with pre-RC2 libnetcdf
zender@grele:~$ ncks -v one hdf.hdf
one: type NC_FLOAT, 0 dimensions, 1 attribute, compressed? no, chunked? no, packed? no
one size (RAM) = 1*sizeof(NC_FLOAT) = 1*4 = 4 bytes
one attribute 0: long_name, size = 3 NC_CHAR, value = one

one = 1

NCO with RC2 libnetcdf
zender@frazil:~/nco/data$ ncks -v one hdf.hdf
ERROR: nco_inq_varid() reports requested variable "one" is not defined in file
nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_inq_varid()
nco_err_exit(): ERROR Error code is -49. Translation into English with nc_strerror(-49) is "NetCDF: Variable not found"
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)

ncdump with RC2 libnetcdf
zender@frazil:~/nco/data$ ncdump -v one hdf.hdf
ncdump: one: No such variable

Just to keep my ducks in a row; @czender is it ok to integrate that file into a netcdf-side test and/or include it in the distribution (if needed), depending on the ultimate issue?

In any event, I can craft a test script with this file to use with git bisect to figure out where the error was introduced.  I'll follow up here once I've had a chance.

Note to self; it appears to be related to the -v flag, at least with ncdump; parsing a general ncdump call shows that the one variable is contained within the larger data dump.

The issue does appear to be hdf4 specific; using the latest development code to dump the file cdl and then generate a netCDF-4 classic file from the resultant .cdl file results in a binary nc4 file that we can query as expected via ncdump (generated file attached).
hdf.nc4.zip
Hopeful that there's just a switch statement somewhere missing a specific case.

hdf.hdf is simply an HDF4 version of NCO's standard test file in.nc. You are welcome to include it but know that in.cdl is GPL'd. This bug is generic to all HDF4 files so it's easy to create your own example of the problem.

Ok, initial exploration indicates that yet another variable(s) isnot
being hashed.

Wiring in a test to guard against future regressions, but the pull request #273 issued by @DennisHeimbigner appears to fix this issue with ncdump and ncks, in anecdotal fashion. Once the test is wired in I'll merge the pull request.

I was able to duplicate the issue reported by @czender ; #273 is now merged, and I can no longer recreate the issue.  Nominating to close unless I hear differently.  Also, changing the assignee to @DennisHeimbigner since he did all the work.


fix bug in average ring buffer and add negative duration protection to scheduler decision maker

Description
The average ring buffer has an edge case where discarding the max and min outliers from the average calculation can result in the average being negative due to the max and min not ever being reset even when the max and min value is ultimately discarded from the ongoing buffer. So the way it's set up it keeps the absolute max and absolute min duration for this function that has ever occurred. I just got rid of the max and min outlier discarding for now because I don't think it's adding much value and to appropriately update the max and min would require a performance hit to the ring buffer. I've also added negative duration buffer protection to the scheduling decision maker so that if such a case were introduced again in the future, the scheduling decision maker can more gracefully handle it and still fallback to scheduling containers when there are stale activations rather than thinking the amount of containers to schedule is negative.
Here is a raw example of how things can go wrong.
There is an edge case on the (sum - max - min) / (size - 2) calculation. The max never gets reset even if the element leaves the buffer. So say you have a random activation that takes 60s to run. The normal case is that all other activations take 50ms. If the buffer size is 10, then the sum should = 500 assuming the 60000 activation has left the buffer. however the max value will still be set to 60000.
(500 - 60000 - 50) / (10 - 2) = -7443ms
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[X] Scheduler
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[X] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[X] I signed an Apache CLA.
[X] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #5396 (8f3f04d) into master (4e2dea1) will decrease coverage by 72.26%.
The diff coverage is 0.00%.

:exclamation: Current head 8f3f04d differs from pull request most recent head f05bf00. Consider uploading reports for the commit f05bf00 to get more accurate results

@@            Coverage Diff             @@
##           master   #5396       +/-   ##
==========================================
- Coverage   76.77%   4.52%   -72.26%
==========================================
  Files         240     240
  Lines       14600   14596        -4
  Branches      634     672       +38
==========================================
- Hits        11209     660    -10549
- Misses       3391   13936    +10545

Impacted Files
Coverage Δ

...rg/apache/openwhisk/common/AverageRingBuffer.scala
0.00% <0.00%> (-27.28%)
:arrow_down:

...core/scheduler/queue/SchedulingDecisionMaker.scala
0.00% <0.00%> (-98.97%)
:arrow_down:

... and 203 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Good catch 👍

@bdoyle0182 Thank you for handling this.
It makes sense to me. 👍

I realized this commit fixed my annoying issue for a long time as well.
@bdoyle0182, thanks again :)


is test_cam.py not completed?

I find the test_cam.py in develop branch, but not in master branch.And test_cam.py in develop have error in code.The test_cam.py is not completed,right?

Hi
Apologies for the delay, a working version of CAM will be committed by next week. It is temporarily removed for verification and testing. We are super these weeks due to Chinese new year.

@taoyilee
Thank you.
Happy Chinese new year.
And gou nian wang wang wang   :D

Hi there,
CAM code is ready now, @brucechou1983  would you mind combine the PR from #13. Thank you.

#16 is merged. Close issue.

wow.Great.Thank you.


Webinterface Sound Controls not working with USB Sound

Hi,
first, thanks for that great project :-)
Im using a external USB Soundcard (Soundblaster Play).
I did manage to get the Card working.
Everything is working fine except the volume control via webinterface.
I discoverd that i have to use different command to adjust Volume
amixer -D hw:U0x41e0x30d3 sset Speaker 100%
Think it is due to the command amixer sset ´PCM´ 100% is not working.
I was able to adjust the Control Script for RFID but i do not know what and where i have to adjust the files for the webinterface to get it to work there as well.
Think it has to be adjustet like i did it in the control script.
Can you please help me.
Thanks

Sorry, done i did found it index.php.
I adjusted the line and volume control is working.

@svo08 can you please post your solution here, so I can include it in the code. I was thinking of adding this for HiFiBerry anyway. So this could be a good addition.

Hi, not sure if it is possible to add the volume command to config file.
Then there will be a single place, single command to replace.
As i wrote in the post im using a different sound card (USB One).
I was able to get it work with description in the docs.
$ cat /proc/asound/modules
There is a way to adress with amixer the HW Card.
So "amixer sset ´PCM´ 100%" was not working but adressing sound card with
"amixer -D hw:U0x41e0x30d3 sset Speaker 100%"
So i had to replace the string amixer sset ´PCM´ with "amixer -D hw:U0x41e0x30d3 sset Speaker"
I did this in index.php in htdocs and in the control script rfid_trigger_play.sh

hm hm hm. Thinking how this could be a global setting... Any thought? You mention if should be in the config file, but that is limited to PHP. This also requires changes in the bash script (as you also point out).

@svo08 I added a new file that is serving the web interface and the bash script:
https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/master/scripts/playout_controls.sh.sample
Possibly this might help?


JSON schema for Taplo

You could submit a schema for Taplo for autocompletions and docs in its VS Code extension.
The easiest way would be to use schemars and this project could have some VS Code IDE support with minimal effort.

Cool idea. My only concern is the fact that i add new capabilities and require to change the format by adding more attributes or having attributes support additional data types.

Yeah, it's generally a good idea to version config files this complex, at least that's how taskfile handles major changes. (although Taplo doesn't handle these kind of complex schemas nicely yet (#57))
On a second thought, I'm planning to create some kind of repository, as every tool supports fetching via http instead of bundling schemas, this would make everything a lot more flexible.

created an issue in taplo for it. once that is implemented, i'll work on creating a schema and uploading it to that new repo.
otherwise it will break very often.

tamasfe/taplo#58

@sagiegurari This is now implemented for Taplo, and the documentation is here if you're still interested.

this is great. I'll work on that. thanks a lot

Started working on this one, but seems to be a lot of effort.
Would love to get some help with this.

Started working on this one, but seems to be a lot of effort.
Would love to get some help with this.

I can look into this

I can look into this

feels like ruat struct->json schema might be a good standalone project

feels like ruat struct->json schema might be a good standalone project

Such project exists, this is what I also usually use, just slap derive(JsonSchema) on the structs in question and call schema_for!() somewhere.
The taplo-cli has schemars as a normal dependency, and it has a command to print its own config schema, but I have no idea how much bloat and compilation time it actually adds. Should something similar be done here as well?

Such project exists, this is what I also usually use, just slap derive(JsonSchema) on the structs in question and call schema_for!() somewhere.
The taplo-cli has schemars as a normal dependency, and it has a command to print its own config schema, but I have no idea how much bloat and compilation time it actually adds. Should something similar be done here as well?

Someone has submitted a schema (https://github.com/tamasfe/taplo/pull/164), so I believe this can be closed.
It seems to be hand-crafted, so I don't know how updates will be handled, nonetheless it should provide a better experience in IDEs than a generated one.

@tamasfe thanks a lot, I see the PR
1500 lines by hand is crazy :)


Translation bug

I think I found a tiny bug, or perhaps an enhancement.
If you press Translate on a post that's in english already, you get an error:
ArgumentOutOfRangeException: 'from' must be a valid language Parameter name: from : ID=1116.V2_Json.Translate.4449FEBB
Screendump attached:

I am still receiving this error
'Translate' appears on posts in my language and when clicked it prints:
ArgumentOutOfRangeException: 'from' must be a valid language  Parameter name: from : ID=0639.V2_Json.Translate.492EF0CB
I am using the code directly from git without any modifications -- any ideas?


Docker Community Edition (CE ) for Mac and Windows link is not valid any more

The new link for the Docker Community Edition (CE ) for Mac and Windows is
https://hub.docker.com/search/?type=edition&offering=community

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

ID: d9ddab88-0658-98e6-ead1-2521359e417a
Version Independent ID: 41efa23d-02b1-63e8-f240-ba5dbae21712
Content: Development Process for Docker Based Applications
Content Source: docs/standard/microservices-architecture/docker-application-development-process/index.md
Product: dotnet
Technology: dotnet-ebooks
GitHub Login: @nishanil
Microsoft Alias: nanil

Thank You @skewl84 for your feedback. These are fixed in the mentioned PR and will go live soon.


Ambiguity errors in Swift<->ObjC bridging

The overloads where Error == Swift.Error are causing ambiguity errors.

Nevermind, there aren't ambiguity errors, it's just bad compiler errors because I screwed up the generics clause in the client code.


incorrect init of var $a_sname in rules.php and scenes.php

the rules-tab did not show any rules. the same with the scenes-tab.
the problem is caused by the initialisation of $a_sname as a string.
it should be initialised as a Array!

Hello,
Thanks for your report but, as rules and scenes work correctly for me and for many downloaders, I need some additional information to understand.
This is a lazy initialization with an empty string instead of an array and it'll be corrected.
Meanwhile, with my php version and configuration, the only time it could cause a problem is when there's no data to display (which is very uncommon for rules and scenes).
Could you tell me if you have configured some strict mode for types and give me your PHP version too ?
I know that php 7 could be more strict about data type and I want to verify that the problem comes from that.

Hello,
your assumption about me using php 7 is correct.
To be precise i am using php 7.1.8, running on macOS Sierra with MAMP pro version 4.
After i changed the initialisation of #a_sname to an array ( like so: $a_sname=[]; )
both scenes and rules work fine (see attached screenshots; before and after change )
Let me know if you need more information. (php_error.log perhaps)
best regards,
Ruud Lagcher

On 16 Dec 2017, at 21:29, FredBardin<EMAIL_ADDRESS>wrote:
Hello,
Thanks for your report but, as rules and scenes work correctly for me and for many downloaders, I need some additional information to understand.
This is a lazy initialization with an empty string instead of an array and it'll be corrected.
Meanwhile, with my php version and configuration, the only time it could cause a problem is when there's no data to display (which is very uncommon for rules and scenes).
Could you tell me if you have configured some strict mode for types and give me your PHP version too ?
I know that php 7 could be more strict about data type and I want to verify that the problem comes from that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/FredBardin/phpMyHue/issues/8#issuecomment-352209367, or mute the thread https://github.com/notifications/unsubscribe-auth/ARgKFwnNJcXLnrcsSMNdmeBrufqC0Kl8ks5tBChFgaJpZM4Q9vSA.

Hello,
Thank you for you confirmation about php 7.
It's a good thing to know this kind of behavior to prevent it.
The correction will be included in the next release (I hope before the end of this year).
Else your fix is totally ok.
I prefer explicitly "$a_name=array();" but "$a_name=[];" works too of course.


Adding Analytics logging for JSRefactor, Live Preview, Quick Edit and more features

This PR is related to adding analytics log for following features in brackets:

JSRefactor:

Rename
TryCatch
WrapInCondition
ConvertToFunction
CreateGetterSetter
ExtractToVariable
ExtractToFunction

QuickEdit: open

QuickDoc:

Open
ReadMore

Live Preview: Open

Project Settings: Edit in url

MultiCursor: Use

Just one more question @sobisht
What is going to happen, if we are just running tests?

@navch Since unit tests will call the entry functions. Logging will be sent for the unit tests also.


This page need updating

This page along with few other sections of the Hunting needs updating. Most of the screenshots are not relevant with the current Sentinel GUI.  Options and menu selections are changed, therefore, too confusing to follow

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

ID: 883ee2e9-ca7d-39aa-0927-234b8883d298
Version Independent ID: ae005f9e-d15d-b7ab-a396-3408985103c3
Content: Use notebooks with Azure Sentinel for security hunting
Content Source: articles/sentinel/notebooks.md
Service: azure-sentinel
Sub-service: azure-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

Thank you for your comment! We are dedicated to improving the accuracy of our documentation. I will be giving this issue my attention.

#assign:yelevin

This page has been thoroughly edited, so I'm closing this issue.

#please-close


Just a placeholder for the GIF in the docs.

This workaround enables us to host the GIF here on Github, without actually adding the GIF to the lib code.

As Github MD is silly with img tags and scaling, re-uploading with smaller size 😞

 [Open Source] react-hot-typer library


Implement _contentsEqual on Windows

Compared to the POSIX implementation, this:

Uses the same _compareFile and _compareDirectory utilities.
Implements Symlink comparison with _destinationOfSymbolicLink
Doesn't handle devices since there's no reasonable way to check for
that equivalence on Windows (as far as I'm aware). If given a device, it
will instead always return false. This is probably fine since devices
tend to be less file like on Windows anyways.

@swift-ci please test linux

@millenomi - any additional comments from you?

@swift-ci please test Linux

@swift-ci please test linux

@swift-ci please test linux

I think that all the review comments have been addressed, lets get this merged.


MADS: Hyundai: Independent control with LFA button

Confirmed the button states are working as described by the control policy.


Succeed to execute 'Rename' action under one attached SAS ADLS blob container with permissions 'List, Read, Move'

Storage Explorer Version: 1.21.0-dev
Build Number: 20210806.4
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 18.04/ MacOS Big Sur 11.4
Architecture: ia32/x64
How Found: Exploratory testing
Regression From: Not a regression
Steps to Reproduce

Expand one ADLS Gen2 storage account -> Blob Containers.
Create a blob container -> Upload a blob.
Right click the blob container -> Click 'Get Shared Access Signature...'.
Select permissions 'Read, List, Move' -> Create and copy the SAS URL.
Open the connect dialog -> Attach the blob container via the copied SAS URL.
Switch to the attached blob container.
Rename the blob -> Check the result of the rename action.

Expected Experience
Fail to rename the blob due to insufficient permission.
Actual Experience
Succeed to rename.

@v-kellyluo A rename is a move operation. Rename and move use the same API. Therefore, this is by design.


Minor typos fixed and enhanced readability

Type of request

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

Checklist:

[x] My code follows the code style of this project.
[x] I agree with die CLA.
[x] I have read the CONTRIBUTING docs.
[x] I have added/updated necessary documentation (if appropriate).

thanks for your PR - i will check the details tomorrow. BR Matthias

I also set up the automatic CLA check bot today, as it was not yet configured for this repo.


Local Client Server Key verification

Current dependencies on/for this PR:

main

PR #42

PR #43

PR #44   👈

PR #45

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #42

PR #43

PR #44   👈

PR #45

This comment was auto-generated by Graphite.


could not install in Mac , sqlite3/v3.0.8/node-v0.11.14-pre-darwin-x64.tar.gz not found

hi , I use npm install sqlite3 , bad request with this url:
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.0.8/node-v0.11.14-pre-darwin-x64.tar.gz

npm install sqlite3
npm http GET https://registry.npmjs.org/sqlite3
npm http 304 https://registry.npmjs.org/sqlite3
npm http GET https://registry.npmjs.org/sqlite3/-/sqlite3-3.0.8.tgz
npm http 200 https://registry.npmjs.org/sqlite3/-/sqlite3-3.0.8.tgz
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan

<EMAIL_ADDRESS>install /Users/apple/Documents/ios/Ghost/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.0.8/node-v0.11.14-pre-darwin-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.0.8/node-v0.11.14-pre-darwin-x64.tar.gz
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.0.8/node-v0.11.14-pre-darwin-x64.tar.gz (falling back to source compile with node-gyp)

What version of node are you on? I don't think 0.11 is supported any longer.
Try with io.js v2.3.1 or node v0.12.x.
Keep in mind that node is out of date, so you'll probably have best success with io.js. I'll find out in a few minutes.

I don't think 0.11 is supported any longer.

Correct and @wahaha2099 is clearly running node v0.11.x. Closing: the fix is to run v0.10.x or v0.12.x.


Support Spark array_union function

Array_union returns an array of the elements in the union of array1 and array2,
without duplicates. In Spark, NaNs are treated as equal, but in C++ they are
treated as different in EQ comparison.

The comparisons EQ, GT, GE, LT, and LE, when either or both operands is NaN
returns FALSE.

This PR adds Spark array_union function. It inserts NaN to the array only once
as NaNs are treated as equal.
Spark's implementation: ArrayUnion.

@PHILO-HE Would you like to take a review? Thanks!

Presto:
select ARRAY_UNION(array[1, 2, NaN()], array[1, 3, NaN()]);
           _col0
---------------------------
 [1.0, 2.0, NaN, 3.0, NaN]
(1 row)

Spark:
spark.sql("SELECT array_union(array(1, 2, cast('NaN' as double)), array(1, 3, cast('NaN' as double)))").show(false)
+-------------------------------------------------------------------------------+
|array_union(array(1, 2, CAST(NaN AS DOUBLE)), array(1, 3, CAST(NaN AS DOUBLE)))|
+-------------------------------------------------------------------------------+
|[1.0, 2.0, NaN, 3.0]                                                           |
+-------------------------------------------------------------------------------+

Covered by feb98f6c98bdd16d1c548cad82b5456bbad0593f.