No GPIO real actions happening

Install - all went OK.
Set up json file, Hombridge works, and I can switch from Apply Home App the demo GPIO-7 switch on/off, but there is no any real actions happening on the GPIO exit. Also tested the sample light sensor script. The same, all kind of works, but real 3.3/0V status on the GPIO pin is not read.
Why?

See homebridge log file, where GPIO-onoff is writing, but nothing happens on real GPIO pin
[3/17/2017, 3:32:00 PM] Loading 0 platforms...
[3/17/2017, 3:32:00 PM] Loading 1 accessories...
[3/17/2017, 3:32:00 PM] [GPIO-7] Initializing GPIO-OnOff accessory...
[3/17/2017, 3:32:00 PM] [GPIO-7] Initializing 'out' GPIO accessory on pin 7
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-111 │
└────────────┘

[3/17/2017, 3:32:00 PM] Homebridge is running on port 51826.
[3/17/2017, 3:32:06 PM] [GPIO-7] Writing Characteristic value 1 as true
[3/17/2017, 3:32:06 PM] [GPIO-7] Wrote GPIO value
[3/17/2017, 3:32:07 PM] [GPIO-7] Writing Characteristic value 0 as false
[3/17/2017, 3:32:07 PM] [GPIO-7] Wrote GPIO value
[3/17/2017, 3:32:08 PM] [GPIO-7] Writing Characteristic value 1 as true

Is 7 the correct pin number for the GPIO port? The actual number to use may be different depending on the hardware platform you're using.
If the number is correct, can you see if one of the example of the onoff package works for you, for example the blinking LED example at https://github.com/fivdi/onoff/blob/master/examples/blink-led.js (onoff is the package used to actually write to the GPIO port).
If that works, then maybe the user the runs Homebridge doesn't have the rights to write to the GPIO file system. Non-root users may not be able to enable and disable GPIO ports.
If you found no problems, but it still isn't working, you can try another Homebridge GPIO package to see if it works, like https://www.npmjs.com/package/homebridge-gpio (the package this package is based on).

To start with there is something strange with installation one regular jessie. On dietpi i didn't have this issue.
pi@raspberrypi:/ $ sudo npm install -g homebridge-gpio-onoff
\

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.3.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/build'
CXX(target) Release/obj.target/epoll/src/epoll.o
SOLINK_MODULE(target) Release/obj.target/epoll.node
COPY Release/epoll.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/build'
<EMAIL_ADDRESS>/usr/local/lib/node_modules/homebridge-gpio-onoff
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>

Also if I create blink-led.js and try to run it
Get following
pi@raspberrypi:/root $ sudo node blink-led.js
module.js:327
throw err;
^
Error: Cannot find module '../onoff'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/root/blink-led.js:3:12)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
pi@raspberrypi:/root $

Installation of onoff package is smooth though
pi@raspberrypi:/root $ npm install onoff
|

<EMAIL_ADDRESS>install /root/node_modules/onoff/node_modules/epoll
node-gyp rebuild

make: Entering directory '/root/node_modules/onoff/node_modules/epoll/build'
CXX(target) Release/obj.target/epoll/src/epoll.o
SOLINK_MODULE(target) Release/obj.target/epoll.node
COPY Release/epoll.node
make: Leaving directory '/root/node_modules/onoff/node_modules/epoll/build'
<EMAIL_ADDRESS>node_modules/onoff
└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

At the same time this package that also is using onoff works perfect
https://github.com/kraigm/homebridge-gpio-garagedoor

There seems to be a problem using sudo npm, which creates a readonly directory that cannot be written (permission to access), see for example http://stackoverflow.com/questions/29468404/gyp-warn-eacces-user-root-does-not-have-permission-to-access-the-dev-dir.
As this plugin is basically a personal stab at creating a simple read/write GPIO Homebridge plugin, I don't have it installed globally. Instead, I have it checked out in ~/homebridge-plugins and have Homebridge look in that directory for plugins. That way, I don't have to sudo install the package. That is also the reason npm install onoff doesn't give an error; you have left out the sudo.
As for the blink-led.js problem: the first instruction in that file is
var Gpio = require('../onoff').Gpio

which loads the library from the parent directory, which makes sense within the onoff package directory structure. If you want to run it locally, you can checkout the entire onoff repository or change it to something like
var Gpio = require('onoff').Gpio

to load a locally installed onoff package.

Thank you, but still I didn't get how to fix it.
This is what I did, but still no reaction.
pi@raspberrypi:~ $ cd /usr/local/lib/node_modules
pi@raspberrypi:/usr/local/lib/node_modules $ sudo npm install onoff
|

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/onoff/node_modules/epoll
node-gyp rebuild

make: Entering directory '/usr/local/lib/node_modules/onoff/node_modules/epoll/build'
CXX(target) Release/obj.target/epoll/src/epoll.o
SOLINK_MODULE(target) Release/obj.target/epoll.node
COPY Release/epoll.node
make: Leaving directory '/usr/local/lib/node_modules/onoff/node_modules/epoll/build'
<EMAIL_ADDRESS>onoff
└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>pi@raspberrypi:/usr/local/lib/node_modules $ sudo npm install -g homebridge-gpio-onoff --unsafe-perm
\

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll
node-gyp rebuild

make: Entering directory '/usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/build'
CXX(target) Release/obj.target/epoll/src/epoll.o
SOLINK_MODULE(target) Release/obj.target/epoll.node
COPY Release/epoll.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/build'
<EMAIL_ADDRESS>/usr/local/lib/node_modules/homebridge-gpio-onoff
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>pi@raspberrypi:/usr/local/lib/node_modules $ sudo adduser $USER gpio
The user pi' is already a member of gpio'.
This is directory where are plugins
pi@raspberrypi:/usr/local/lib/node_modules $ ls -l
total 56
drwxr-sr-x 5 pi     pi    4096 Mar 14 14:07 homebridge
drwxr-sr-x 3 nobody pi    4096 Mar 21 20:43 homebridge-gpio
drwxr-sr-x 4 nobody pi    4096 Mar 21 21:33 homebridge-gpio-garagedoor
drwxr-sr-x 3 pi     pi    4096 Mar 22 09:37 homebridge-gpio-onoff
drwxr-sr-x 3 root   staff 4096 Mar 21 21:12 homebridge-gpio-relay
drwxr-sr-x 3 root   staff 4096 Mar 14 14:12 homebridge-gpio-shutter
drwxr-sr-x 4 nobody pi    4096 Mar 14 14:11 homebridge-harmonyhub
drwxr-sr-x 3 nobody pi    4096 Mar 14 14:32 homebridge-people
drwxr-sr-x 4 nobody pi    4096 Mar 14 14:09 homebridge-rcswitch-gpiomem
drwxr-sr-x 3 nobody pi    4096 Mar 14 14:10 homebridge-suncalc
drwxr-sr-x 3 nobody pi    4096 Mar 14 14:12 homebridge-telldus
drwxr-sr-x 3 nobody pi    4096 Mar 14 14:10 homebridge-wol
drwxr-sr-x 9 root   staff 4096 Mar 14 12:15 npm
drwxr-sr-x 5 pi     pi    4096 Mar 22 09:37 onoff
What do you mean with, I don't have such "I have it checked out in ~/homebridge-plugins"
I'm not too much expert in node.js.
Though I got good work done on garage doors, gates opening, and blocking.
But I can't figure out hot to get onoff working.

You can specify a specific directory in which to look for plugins using the -P argument when starting Homebridge, for example:
./bin/homebridge -P ~/homebridge-plugins/

So I have my package installed there:
cd ~/homebridge-plugins
git clone https://github.com/krisbreuker/homebridge-gpio-onoff.git

This is mainly to ease development (see https://github.com/nfarina/homebridge#plugin-development), but it also circumvents the sudo npm problem installing onoff.
I'm also by no means an expert in Node or Homebridge (or GPIO for that matter), but this is the setup that works for me. This plugin is also work in development, however I haven't had much time to spend on this project unfortunately...

And in which directly you have installed onoff?

Ah, I forgot to add after the clone command:
cd homebridge-gpio-onoff
npm install

This will install the onoff dependency locally within the homebridge-gpio-onoff directory, without the use of sudo npm.

So, in my set-up homebridge and plugins are here, and are found OK.
onoff I placed also there as you see below.
Shall in install in this directory, as I don't have anything like ~/homebridge-plugins?
cd /usr/local/lib/node_modules
ls -l
total 56
drwxr-sr-x 5 pi     pi    4096 Mar 14 14:07 homebridge
drwxr-sr-x 3 nobody pi    4096 Mar 21 20:43 homebridge-gpio
drwxr-sr-x 4 nobody pi    4096 Mar 21 21:33 homebridge-gpio-garagedoor
drwxr-sr-x 3 root   staff 4096 Mar 21 21:12 homebridge-gpio-relay
drwxr-sr-x 3 root   staff 4096 Mar 14 14:12 homebridge-gpio-shutter
drwxr-sr-x 4 nobody pi    4096 Mar 14 14:11 homebridge-harmonyhub
drwxr-sr-x 3 nobody pi    4096 Mar 14 14:32 homebridge-people
drwxr-sr-x 4 nobody pi    4096 Mar 14 14:09 homebridge-rcswitch-gpiomem
drwxr-sr-x 3 nobody pi    4096 Mar 14 14:10 homebridge-suncalc
drwxr-sr-x 3 nobody pi    4096 Mar 14 14:12 homebridge-telldus
drwxr-sr-x 3 nobody pi    4096 Mar 14 14:10 homebridge-wol
drwxr-sr-x 9 root   staff 4096 Mar 14 12:15 npm
drwxr-sr-x 5 pi     pi    4096 Mar 22 09:37 onoff
I did then your set-up instructions
pi@raspberrypi:/usr/local/lib/node_modules $ sudo git clone https://github.com/krisbreuker/homebridge-gpio-onoff.git
Cloning into 'homebridge-gpio-onoff'...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 16 (delta 6), reused 16 (delta 6), pack-reused 0
Unpacking objects: 100% (16/16), done.
Checking connectivity... done.
pi@raspberrypi:/usr/local/lib/node_modules $ cd homebridge-gpio-onoff
pi@raspberrypi:/usr/local/lib/node_modules/homebridge-gpio-onoff $ sudo npm install
\

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll
node-gyp rebuild

make: Entering directory '/usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/build'
CXX(target) Release/obj.target/epoll/src/epoll.o
SOLINK_MODULE(target) Release/obj.target/epoll.node
COPY Release/epoll.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/build'
<EMAIL_ADDRESS>node_modules/onoff
└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Still no reaction, while on HomeKit App all looks working fine, and logs is OK.
[3/22/2017, 10:07:55 AM] [GPIO-40] Wrote GPIO value [3/22/2017, 10:07:55 AM] [GPIO-40] Writing Characteristic value 0 as false
[3/22/2017, 10:07:55 AM] [GPIO-40] Wrote GPIO value [3/22/2017, 10:07:55 AM] [GPIO-40] Writing Characteristic value 1 as true
[3/22/2017, 10:07:54 AM] [GPIO-40] Wrote GPIO value [3/22/2017, 10:07:54 AM] [GPIO-40] Writing Characteristic value 0 as false
[3/22/2017, 10:07:53 AM] [GPIO-40] Wrote GPIO value [3/22/2017, 10:07:53 AM] [GPIO-40] Writing Characteristic value 1 as true
[3/22/2017, 10:07:38 AM] Homebridge is running on port 51826.
031-45-749 I
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
Load homebridge-harmonyhub.HarmonyHub [3/22/2017, 10:07:38 AM] [GPIO-40] Initializing 'out' GPIO accessory on pin 40
[3/22/2017, 10:07:38 AM] [GPIO-40] Initializing GPIOOnOff accessory...
[3/22/2017, 10:07:38 AM] Loading 1 accessories...
[3/22/2017, 10:07:38 AM] Loading 0 platforms...
[3/22/2017, 10:07:38 AM] ---
[3/22/2017, 10:07:38 AM] Loaded config.json with 1 accessories and 0 platforms.
[3/22/2017, 10:07:38 AM] ---
The pin number I should use is the physical pin on RPI?

I don't think it's a good idea to use /usr/local/lib/node_modules as plugins directory. Maybe you can create a directory like /usr/local/lib/homebridge-plugins:
mkdir /usr/local/lib/homebridge-plugins
cd /usr/local/lib/homebridge-plugins
git clone https://github.com/krisbreuker/homebridge-gpio-onoff.git
cd homebridge-gpio-onoff
npm install

Use npm install without sudo for the last step, that will cause the problems you're describing.
Then you can run Homebridge using
./bin/homebridge -P /usr/local/lib/homebridge-plugins/

without su root rights I can't create anything in /usr/local/lib/
even mkdir /usr/local/lib/homebridge-plugins
therefore sudo or su

Ok, but can you do mkdir ~/homebridge-plugins instead then? And use that directory for the homebridge-gpio-onoff plugin?

Did all that, the same (all loads and logs are OK), BUT no real impact on the GPIO pin
pi@raspberrypi:~ $ mkdir ~/homebridge-plugins
pi@raspberrypi:~ $ cd ~/homebridge-plugins
pi@raspberrypi:~/homebridge-plugins $ git clone https://github.com/krisbreuker/homebridge-gpio-onoff.git
Cloning into 'homebridge-gpio-onoff'...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 16 (delta 6), reused 16 (delta 6), pack-reused 0
Unpacking objects: 100% (16/16), done.
Checking connectivity... done.
pi@raspberrypi:~/homebridge-plugins $ cd homebridge-gpio-onoff
pi@raspberrypi:~/homebridge-plugins/homebridge-gpio-onoff $ npm install
/

<EMAIL_ADDRESS>install /home/pi/homebridge-plugins/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll
node-gyp rebuild

make: Entering directory '/home/pi/homebridge-plugins/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/build'
CXX(target) Release/obj.target/epoll/src/epoll.o
SOLINK_MODULE(target) Release/obj.target/epoll.node
COPY Release/epoll.node
make: Leaving directory '/home/pi/homebridge-plugins/homebridge-gpio-onoff/node_modules/onoff/node_modules/epoll/build'
<EMAIL_ADDRESS>node_modules/onoff
└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>pi@raspberrypi:~ $ homebridge -P ~/homebridge-plugins/
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[3/22/2017, 10:54:05 AM] Loaded plugin: homebridge-gpio-onoff
[3/22/2017, 10:54:05 AM] Registering accessory 'homebridge-gpio-onoff.GPIO-OnOff'
[3/22/2017, 10:54:05 AM] ---
[3/22/2017, 10:54:05 AM] Loaded config.json with 1 accessories and 0 platforms.
[3/22/2017, 10:54:05 AM] ---
[3/22/2017, 10:54:05 AM] Loading 0 platforms...
[3/22/2017, 10:54:05 AM] Loading 1 accessories...
[3/22/2017, 10:54:05 AM] [Switch] Initializing GPIO-OnOff accessory...
[3/22/2017, 10:54:05 AM] [Switch] Initializing 'out' GPIO accessory on pin 40
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-111 │
└────────────┘

[3/22/2017, 10:54:05 AM] Homebridge is running on port 51826.
[3/22/2017, 10:54:57 AM] [Switch] Writing Characteristic value 1 as true
[3/22/2017, 10:54:57 AM] [Switch] Wrote GPIO value
[3/22/2017, 10:54:58 AM] [Switch] Writing Characteristic value 0 as false
[3/22/2017, 10:54:58 AM] [Switch] Wrote GPIO value
this is nano /home/pi/.homebridge/config.json
{
"accessories": [{
"accessory": "GPIO-OnOff",
"name": "Switch",
"pin": 40,
"direction": "out"
}],
"bridge": {
"username": "CD:22:3D:E3:CE:81",
"name": "Sauna",
"pin": "031-45-111",
"port": 51826
},
"platforms": []
}

Hello all,
I am having sort of the same issue. I have no errors in my logs. I can toggle the switch from my IOS and I get no errors, but no real change in the pin. I have also installed the garagedoor gpio plugin and works good. If I test the blink.js it works good and toggles the pin.
My homebridge is running as homebridge user, and my modules are nobody:pi. But the garagedoor gpio works perfect. Can anybody guide me in the proper direction?
One thing I noticed also is that after I try the blink.js code I get a warning from IOS at the switch, and in the logs I notice this:
Before using blink.js
[Facade Lights] Writing Characteristic value 1 as true
[Facade Lights] Wrote GPIO value
After using blink.js
[Facade Lights] Writing Characteristic value 1 as true
{there is no second line}
If I restart homebridge "sudo systemctl restart homebridge" it works again.
Now, the real issue is that npm onoff can write to the pin, gpio-onoff cannot.
Please...


configd: startup sometimes fails to bring up the socket in time

Workaround exists: wait a little longer for configd to come up. It seems we need a retry/delay for the socket on configctl invokes.
via: https://forum.opnsense.org/index.php?topic=731.0

fixed with :
https://github.com/opnsense/core/commit/b282f65db57ee4a0c16416077326d989e879ec53
https://github.com/opnsense/core/commit/f43baf4a6437d7e0ac23a27c89ebf19a7d971594
https://github.com/opnsense/core/commit/064de35257a1277670e4bd485b27e057548ee95a

thank you! :)


refactor(material/menu): remove MDC classes from markup

After #27377 and #27378 we no longer use MDC classes directly in the markup. Instead we either use our own styles or we target our selectors with MDC mixins. However, the MDC classes were left in to reduce the amount of internal breakages. These leftover styles can still cause styles to bleed in from the MDC list so this change removes any remaining references.

Nice!


Command tapis jobs outputs list fails w a rendering error

Describe the bug
tapis jobs outputs list <job_uuid> fails with the following error:
"lastModified": Object of type 'datetime' is not JSON serializable
Expected behavior
CLI responses should always display either a humanized or ISO date string for lastModified

This appears to be a generalized issue, since tapis files list -v fails, too.

Tested the default and the all the -f $FORMAT options all are working as expected w/ human readable lastModified dates.


Error when signtransaction in Sui wallet in version<EMAIL_ADDRESS>

Uncaught (in promise) Error: Transaction failed with the following error. Error executing transaction with request type: Error: RPC Error: The response returned from RPC server does not match the TypeScript definition. This is likely because the SDK version is not compatible with the RPC server. Please update your SDK version to the latest. Result received was: {"EffectsCert":{"certificate":{"transactionDigest":"FZ5ZdgXupt52DsR35SQzsfp9HDZu5U8xtGD3pavvh5mM","data":{"transactions":[{"Call":{"package":{"objectId":"0x9d4ec0c375dd96f27eb209fc4700072b9dbc6d64","version":1,"digest":"TLp6TWHzgmk8eFANJrK+d3fYiQaegJ09wqMKk/nq7Ck="},"module":"cf123","function":"init_inventory_and_listing"}}],"sender":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978","gasPayment":{"objectId":"0x09a29d48a9682ac361d4f5e1ee72828ec0c5d259","version":990,"digest":"NorStp5nsHPFE8PWWKIPoLDxXb9+aThLnREygo92Ag4="},"gasPrice":109,"gasBudget":10000},"txSignature":"AKd6MplFgJW/KZ98p896My8MaDnQ7rvoWgeLW92KhmH8A+oQ/u9lesSGZDAIV0ywkwU2rVA65edWMFGbycHTvgCrXQbO2LG8ily1zHN1CBRZopIYEV/tfP2U/21B+G8IgQ==","authSignInfo":{"epoch":5,"signature":"AZULiW41vwfeodnCe4GOLivC8yILX3OaCqOTMU0ZhuR2mVniPqcAldygikyuXGmIfA==","signers_map":[58,48,0,0,1,0,0,0,0,0,26,0,16,0,0,0,0,0,1,0,4,0,6,0,7,0,8,0,10,0,11,0,12,0,14,0,15,0,18,0,19,0,20,0,22,0,24,0,25,0,27,0,29,0,31,0,32,0,33,0,35,0,36,0,37,0,39,0,40,0]}},"effects":{"transactionEffectsDigest":"Nu/gLCN43wv4+jen2J3MzgT8g6JOxIbm18I69oJ67PM=","effects":{"status":{"status":"success"},"gasUsed":{"computationCost":32809,"storageCost":58,"storageRebate":16},"transactionDigest":"FZ5ZdgXupt52DsR35SQzsfp9HDZu5U8xtGD3pavvh5mM","created":[{"owner":{"Shared":{"initial_shared_version":991}},"reference":{"objectId":"0x0964fc427475a849a254c4b104d650112a22e4a7","version":991,"digest":"wz6kZY1zcDbPeQKkhMaln6UtjLuPXRfYxbGl42xcq1o="}},{"owner":{"AddressOwner":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978"},"reference":{"objectId":"0xdcc1a2cfff8fedd90627125210766eda8a8cda0e","version":991,"digest":"9nuMifbsi0ZvJgA8SVDvEqa91b8Vg9Ub2BR9H5seWLw="}}],"mutated":[{"owner":{"AddressOwner":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978"},"reference":{"objectId":"0x09a29d48a9682ac361d4f5e1ee72828ec0c5d259","version":991,"digest":"nh0qi+Y73k9SNKkg3mbqjsIKFxrPkF5AKPQ2TQ9nESU="}}],"gasObject":{"owner":{"AddressOwner":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978"},"reference":{"objectId":"0x09a29d48a9682ac361d4f5e1ee72828ec0c5d259","version":991,"digest":"nh0qi+Y73k9SNKkg3mbqjsIKFxrPkF5AKPQ2TQ9nESU="}},"events":[{"coinBalanceChange":{"packageId":"0x0000000000000000000000000000000000000002","transactionModule":"gas","sender":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978","changeType":"Gas","owner":{"AddressOwner":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978"},"coinType":"0x2::sui::SUI","coinObjectId":"0x09a29d48a9682ac361d4f5e1ee72828ec0c5d259","version":990,"amount":-32851}},{"newObject":{"packageId":"0x9d4ec0c375dd96f27eb209fc4700072b9dbc6d64","transactionModule":"cf123","sender":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978","recipient":{"Shared":{"initial_shared_version":991}},"objectType":"0x3a36e10ffd9a68382320aa06665eb4b3635812c6::listing::Listing","objectId":"0x0964fc427475a849a254c4b104d650112a22e4a7","version":991}},{"newObject":{"packageId":"0x9d4ec0c375dd96f27eb209fc4700072b9dbc6d64","transactionModule":"cf123","sender":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978","recipient":{"AddressOwner":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978"},"objectType":"0x3a36e10ffd9a68382320aa06665eb4b3635812c6::inventory::Inventory","objectId":"0xdcc1a2cfff8fedd90627125210766eda8a8cda0e","version":991}},{"moveEvent":{"packageId":"0x9d4ec0c375dd96f27eb209fc4700072b9dbc6d64","transactionModule":"cf123","sender":"0xacd021b72dab0bfccad015b9e55dd8a8acb5d978","type":"0x3a36e10ffd9a68382320aa06665eb4b3635812c6::listing::CreateListingEvent","fields":{"listing_id":"0x0964fc427475a849a254c4b104d650112a22e4a7"},"bcs":"CWT8QnR1qEmiVMSxBNZQESoi5Kc="}}],"dependencies":["82aghwoeykMk7FAg8XEZPGJFRPQyayxJhL86Zn2feqCZ","CjSTMRMcCn5z2dhmqFimwF2hxqwxZf11NKfKSouuYNSr"]},"authSignInfo":{"epoch":5,"signature":"AbjKTp0Ww12Xqj4zXQp1uRTHaZDWoj+Rj7PAzWxdlzLYWs06zcbvyv1Q167tRC4neA==","signers_map":[58,48,0,0,1,0,0,0,0,0,28,0,16,0,0,0,0,0,1,0,3,0,4,0,7,0,8,0,10,0,11,0,12,0,13,0,14,0,16,0,18,0,19,0,20,0,22,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,35,0,39,0,40,0]}},"confirmed_local_execution":true}}

i tried update lastest version of SUI wallet and wallet-kit but it's doesn't work

@thienvip107 hi, the Suiet Wallet Kit's SDK version already updated to the latest version 0.25.0 you can checkout here: https://github.com/suiet/wallet-kit/blob/3c68f788dcadccdc5448d97eb7d8045c9a407f65/packages/kit/package.json#L26

the reason might be currently devnet's sui fullnode version is not same as the testnet, so the data structure is differen across devnet & testnet

https://sui.io/resources-sui/testnet-wave-2-is-now-live/ You can checkout this documentation, testnet's Sui node version is locked at v0.22.0:

I just packed another wallet-kit version 0.1.17-testnet with Sui sdk v0.23.0, this package should be capable with testnet, but not avaliable to devvnet.

ok , thanks


[BXMSPROD-670] add rhsa-errata-content job

This job generates the content needed when creating the RHSA Errata
Thank you for submitting this pull request
JIRA: (please edit the JIRA link if it exists)
https://issues.redhat.com/browse/BXMSPROD-670
referenced Pull Requests: (please edit the URLs of referenced pullrequests if they exist)
https://github.com/kiegroup/jenkins-pipeline-shared-libraries/pull/181

How to retest a PR or trigger a specific build:

* a pull request please add comment: Jenkins retest this

I guess jira.getCVEsFromRelease and rhsaErrata.getCVEList calls should change in case the signature changes due to env agnostic refactoring

Done, thanks!


⚠ Fetchers has degraded performance

In ad1b731, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 271 ms

Resolved: Fetchers performance has improved in 1b6db7e.


Unable to load json modules in Stryker

Summary

Stryker config

module.exports = function(config){
  config.set({
        mutator: "typescript",
        packageManager: "npm",
        reporters: ["html", "clear-text", "progress"],
        testRunner: "mocha",
        transpilers: ["typescript"],
        testFramework: "mocha",
        coverageAnalysis: "off",
        tsconfigFile: "tsconfig.json",
        mutate: ["src/**/*.ts", "src/**/*.json", "!src/Interfaces/**/*.ts"]
 });
}

Test runner config

    "mocha": {
        "delay": true,
        "noOpts": true,
        "timeout": 25000,
        "colors": true,
        "require": [
            "source-map-support/register"
        ],
        "recursive": true,
        "spec": "build/test/**/*.test.js"
    },

Stryker environment

+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>deduped
| +--<EMAIL_ADDRESS>deduped
+--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>deduped
+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>deduped
+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>deduped
| +--<EMAIL_ADDRESS>deduped

+--<EMAIL_ADDRESS>
Test runner environment

nyc mocha

Your Environment

software
version(s)

node
v10.15.1

npm
6.11.3

Operating System
Windows 10

Add stryker.log

stryker.log

@nicojs Thanks for replying, I have prepared this mcve for you test(https://github.com/mega6382/stryker-ts-test). There are two issues in total that I am facing. First is that the json files are not being copied over to the build directory when I run stryker, but they are when I run tsc. You can test this by:

Run npm run test to see that it works with simple tsc and using mocha directly.
run npm run stryker to see that it does not work with stryker

Also, when I hard code the value of the json module to test stryker without it, it doesn't run any tests and gives the warning "WARN InitialTestExecutor No tests were executed". Now, this has something to do with me surrounding my tests with (async (): Promise<void> => {/**TEST HERE**/})(); which I need because the tests in my actual code are on async functions and http calls. You can test this by:

Remove the import data line from app.ts and comment the const data declaration.
Run npm run test to see that it works using mocha directly.
run npm run stryker to see that it does not work with stryker

I'll be waiting to here back from you.

@nicojs Any update on this?

I would personally categorize this as a feature request, since JSON is not 100% the same thing as JavaScript.
I would recommend considering use of .conf(ig).js or .conf(ig).ts files as a workaround.

@brodybits OK, but there is still a problem, if you were to checkout the repo I shared above you can see that there is still a problem even if I were to hard code the values in the TS file. Can you help me with that please?

@mega6382 I fixed up src/test/unit/app.test.ts as follows:
import { app } from "../../app/app";
import { expect } from "chai";

  describe("app", () => {
    it("should return string", async () => {
      const result = await app();
      expect(result).to.equal("Test string");
    });
  });

Works for me now, I hope it is clear. You should be able to find the explanation elsewhere, if needed.
I was also wondering why you have "|| true" in the package test script entry, does not look right. Maybe I am missing something here.
Please keep in mind that I am not a maintainer, just wanted to help the user community out a little. Considering that most open-source projects are run by overworked volunteers, a little extra patience, research, and debugging on the part of the users would be much appreciated.

@brodybits I had already the tried the approach that you have mentioned above, but it is not feasible for me to use it in my actual code. Because I need to use the instance of app in multiple tests in the same file.  This code works when simply running with mocha, I would just like to know why it doesn't in stryker.
You can ignore the "|| true".

Is this issue still present?

Hi! I'm closing this issue for now. If it still persists with Stryker version 4, please open a new issue. Thanks!


⚠ Mobitopup has degraded performance

In d31501e, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 11177 ms

Resolved: Mobitopup performance has improved in d3399a5.


[Bug] Ignored videos being deleted

Current Behavior
When a video file that is not in the automated transcode extension list is scanned, it is deleted.
Expected Behavior
Videos not of the target type are left alone.
Steps To Reproduce
run handbrake docker with non ts files in the folder and when scanned and ignore they are deleted
Environment

OS: ubuntu server
OS version: 22.04
CPU: Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz
Docker version: Docker version 20.10.22, build 3a2c30b
Device model: whitebox
Browser/OS: not used

Container creation
---
version: "3"
services:
  handbreak:
    image: jlesage/handbrake
    container_name: handbrake
    ports:
      - 5800:5800
    volumes:
      - $APPDATA/handbreak:/config
      - /bucket/media/tv:/watch
      - /bucket/media/tv:/output
    environment:
      USER_ID: 65534
      GROUP_ID: 1001
      AUTOMATED_CONVERSION: 1
      AUTOMATED_CONVERSION_PRESET: "GENERAL/Fast 1080p30"
      AUTOMATED_CONVERSION_KEEP_SOURCE: 0
      AUTOMATED_CONVERSION_OUTPUT_SUBDIR: SAME_AS_SRC
      AUTOMATED_CONVERSION_VIDEO_FILE_EXTENSIONS: "ts"

Container log
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S26/S26E07.mp4' (abec75737bd9a9fedd280f86dd0d3237) has an extension not part of the inclusion list.
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S26/S26E07.mp4' (abec75737bd9a9fedd280f86dd0d3237) is not a video, ignoring...
[autovideoconverter] Removed /watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S26/S26E07.mp4'.
[autovideoconverter] Removed directory '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S26'.
[autovideoconverter] Waiting 5 seconds before processing '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S30/S30E11.mp4'...
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S30/S30E11.mp4' (2fcf658fbcefd0b6090283bac4650e2f) has an extension not part of the inclusion list.
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S30/S30E11.mp4' (2fcf658fbcefd0b6090283bac4650e2f) is not a video, ignoring...
[autovideoconverter] Removed /watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S30/S30E11.mp4'.
[autovideoconverter] Removed directory '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S30'.
[autovideoconverter] Waiting 5 seconds before processing '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S20/S20E09.mp4'...
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S20/S20E09.mp4' (1c967ee432642bf9e0ca743b1ec33410) has an extension not part of the inclusion list.
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S20/S20E09.mp4' (1c967ee432642bf9e0ca743b1ec33410) is not a video, ignoring...
[autovideoconverter] Removed /watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S20/S20E09.mp4'.
[autovideoconverter] Removed directory '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S20'.
[autovideoconverter] Waiting 5 seconds before processing '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S29/S29E02.mp4'...
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S29/S29E02.mp4' (fd877e01786e45437d103fd45c2ba275) has an extension not part of the inclusion list.
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S29/S29E02.mp4' (fd877e01786e45437d103fd45c2ba275) is not a video, ignoring...
[autovideoconverter] Removed /watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S29/S29E02.mp4'.
[autovideoconverter] Removed directory '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S29'.
[autovideoconverter] Waiting 5 seconds before processing '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S24/S24E14.mp4'...
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S24/S24E14.mp4' (b1b089b156f70b49dd16eee17b0a271d) has an extension not part of the inclusion list.
[autovideoconverter] File '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S24/S24E14.mp4' (b1b089b156f70b49dd16eee17b0a271d) is not a video, ignoring...
[autovideoconverter] Removed /watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S24/S24E14.mp4'.
[autovideoconverter] Removed directory '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD/S24'.
[autovideoconverter] Removed directory '/watch/Survivor/Survivor.S16-S30.1080p.WEBRip.DDP5.1.x264-MiXeD'.

Container inspect
No response
Anything else?
No response

The file is removed because AUTOMATED_CONVERSION_KEEP_SOURCE is set to 0.
Also, I see that both /output and /watch are mapped to the same folder on the host.  Note that the automatic video converter has not been designed for this scenario.  It's probably better to have a separate watch folder and let the automatic video converter move the file to its final location once the conversion is done.

@rssnyder, do you have any update on this ?


Add translation script to nekoyume init

Fix #74

Codecov Report

Merging #75 into master will decrease coverage by 0.48%.
The diff coverage is 16.66%.

@@            Coverage Diff            @@
##           master     #75      +/-   ##
=========================================
- Coverage   77.68%   77.2%   -0.49%
=========================================
  Files          17      17
  Lines        1564    1566       +2
=========================================
- Hits         1215    1209       -6
- Misses        349     357       +8

Impacted Files
Coverage Δ

nekoyume/cli.py
25.68% <16.66%> (-0.53%)
:arrow_down:

nekoyume/api.py
57.89% <0%> (-1.76%)
:arrow_down:

nekoyume/models.py
74.75% <0%> (-0.29%)
:arrow_down:

nekoyume/app.py
95.74% <0%> (+1.62%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcf48f5...eb6e2d5. Read the comment docs.


Installation failed, but distro seems to be working

I tried installing the latest release and got this error message when installing
PS C:\Users\u\Downloads\Arch> .\arch.exe
Installing...
ERROR:Installation Failed!
HRESULT:0x0
Press any key to continue...

However running arch.exe results in a working shell and uname -a gives the following output:
PS C:\Users\u\Downloads\Arch> .\arch.exe run uname -a
Linux XPS15 4.4.0-17134-Microsoft #81-Microsoft Sun May 20 01:14:00 PST 2018 x86_64 GNU/Linux

oh,,sorry...!
probably that issue from new Launcher program...
Please wait as soon as I fix it...

Or I think that it will be fine if you use an older version.
https://github.com/yuk7/ArchWSL/releases/tag/18030400

sorry,
It seems there was a mistake in the program code.
I'll fix.
thanks.

I fixed launcher program and published it.
I think this issue was solved

Getting a different error:
PS C:\dev\arch> .\arch.exe Installing... ERROR:Installation Failed! HRESULT:0x80070005 Press any key to continue...

I think this error is not the same.
0x80007005 is unknown error.
please try these:

reboot computer (Windows 1803's WSL Service is unstable)
run wslconfig /u Arch command for full uninstall instance.
run in eleveted-shell.

Yes,that HRESULT is E_ACCESSDENIED.
UNKNOWN is 0x80004005.
I was misunderstanding.

I tested newer installer on 1803,
but it works...
hmm...

Retried today. Everything is working as expected now. Thanks :)


Get Relation data in Search results

Hi,
Sorry I am bit new to Laravel and here I am stuck. Will appreciate your help.
Basically I got Model called ProductCategory  which can have subcategories. So in my model I have:
protected $with = [
        'media',
        'meta',
        'parent',
        'children',
    ];

public function parent()
    {
        return $this->belongsTo(self::class, 'parent_id');
    }

    public function children()
    {
        return $this->hasMany(self::class, 'parent_id');
    }

Now the problem is that in  ProductCategoryController->Show(...)  function I am getting the parent object but in ProductCategoryController->Search(..)  I dont.
Please see attachements .. they will make more sense.

Do you have any ideas ? ... I spent a few hours and I couldnt figure out  :(
Thanks
Sergiu

Hello,
I'm pretty sure this because you use a query SQL join on search method, so "$with" property cant apply in this case.
Just add manually a query join with his parent and it should work.

Thanks @adr1enbe4udou1n
I thoight so  but I tried to put this in search function:
$query->leftJoin('product_categories', 'product_categories.id', '=', 'parent_id');
but I got :
"SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'product_categories' (SQL: select count(*) as aggregate from product_categories left join product_categories on product_categories.id = parent_id)
/**
     * Show the application dashboard.
     *
     * @param Request $request
     *
     * @throws \Exception
     *
     * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator|\Illuminate\Http\JsonResponse|\Symfony\Component\HttpFoundation\BinaryFileResponse
     */
    public function search(Request $request)
    {

        /** @var Builder $query */
        $query = $this->productCategories->query();

        if (! Gate::check('view product_categories')) {
            // Filter to only current user's posts
            $query->whereUserId(auth()->id());
        }

        $query
            ->leftJoin('product_categories', 'product_categories.id', '=', 'parent_id');

        /** @var RequestSearchQuery $requestSearchQuery */
        $requestSearchQuery = new RequestSearchQuery($request, $query, [
            'name',
            'summary',
            'body',
        ]);

        if ($request->get('exportData')) {
            return $requestSearchQuery->export([
                'name',
                'status',
                'product_categories.created_at',
                'product_categories.updated_at',
            ],
                [
                    __('validation.attributes.title'),
                    __('validation.attributes.status'),
                    __('labels.created_at'),
                    __('labels.updated_at'),
                ],
                'product_categories');
        }

        return $requestSearchQuery->result([
            'product_categories.id',
            'product_categories.name',
            'product_categories.slug',
            'product_categories.status',
            'product_categories.created_at',
            'product_categories.updated_at',
        ]);

    }```

It's because you join with the same table with same alias.
Try with a different alias :
https://stackoverflow.com/questions/24570209/not-unique-table-alias-in-mysql?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

Getting there :
I done this
$query             ->leftJoin('product_categories as parent', 'parent.id', '=', 'product_categories.parent_id');
but in the response 'parent' value  is still null
Do i need to modify search function somehow as I think it somehow needs to be included in response.
??
Thanks
Serg

You must explicit the property of the parent you want get in the results. Example :
return $requestSearchQuery->result([             'product_categories.id',             'product_categories.name',             'parent.name',             'product_categories.slug',             'product_categories.status',             'product_categories.created_at',             'product_categories.updated_at',         ]);

Perfect that worked..  👍
But how come you could get 'owner' object in PostController->search()  but in this case I have to be granular ?
Ideally I would like to get the whole object in the search result
Thanks
Sergiu

Ha in fact i get this owner thanks to "$with" property.
For posts I use users join only for make order by working.
So indeed strange its not working on your side, maybe a particular case as its the same table/object ?

Ha just re-looked quickly your code and finded why your parent was null, i didnt see it.
You're simply forget to add parent_id in your sql fields so we should have :
return $requestSearchQuery->result([
            'product_categories.id',
            'product_categories.name',
            'product_categories.parent_id',
            'product_categories.slug',
            'product_categories.status',
            'product_categories.created_at',
            'product_categories.updated_at',
        ]);

The related ids is mandatory for getting "with relation" working ;)

@webdesign7  He used Eager loading. You can check in laravel docs also.  You can also do it bro .And I guess you are duplicating lot of things why don't you abstract some of code to methods
Thanks

Don't worry keep learning :)


Re-enable zstd-support in cross-compilation

There were some issues with zstd in #163, let's try re-enabling it.

I think there's a bootstrapping issue here. We'd need a native llvm-config for the cross-compilation builds, but we're only building that one in the same PR...

No, that's incorrect. Please revert 0271056

No, that's incorrect. Please revert 0271056

Done, thanks; I'd normally rebase out those garbage commits, but didn't want to touch yours if not necessary. So far, this PR was more exploratory than anything... :)

Rebasing should be fine as long as the my commits remain intact.


TLD should not start with an underscore character

https://github.com/egberts/bind9_parser/blob/7530fccd6655ab8aa73db50b484709e95f3c4d14/tests/test_domain.py#L56

Since this is an esoteric TLD and given that an explosion of TLD has occurred by ICANN,  this package/module will defer such validation to the end-user.
Marked as 'wont fix'.


Mangement API

The API needs to be able to edit/create the following resources:

[ ] Users
[ ] Websites

Suggested endpoints for the API:

/user/:id
/site/:id

Ok


Rename project?

Now that we actually have CS241 support (#73), it may be time to rename this thing.
My ideas:

cskit
stocstk
… maybe cstk? I don't like this one as much...
@maxnz stograde (I like this one)
@maxnz csgtk

@rye, @maxnz, @drewvolz thoughts?

Maybe stograde or csgtk (for cs grading toolkit)?

stograde has a nice ring to it.

I like sto cs and any subset of the word grade as stems. So perhaps stograde or csgkit or something like that.

I like stograde.
I'll probably start the renaming process tomorrow?

I think we can close this now


keras is not working on docker container and not throwing errors though

I'm having a weird problem with keras.
I commented the problem in this question: stack question
and that's it.
I'm trying to run this example just to test keras on a docker-container. And model.fit or model.evaluate are not working at all, it just gets stock without throwing any error.

it just stopped there.
Outside the docker container it works properly though.
My dockerfile is here
And I call it this way:
@app.route('/ocr/test_keras', methods=['GET'])
def test_keras():
    Thread(target=continue_test_keras, args=()).start()
    return jsonify('Success')

def continue_test_keras():
    tk.run()
    print('tests done')

where tk is this gist
it would be nice at least having an error log or an exception. But just stocking there, I don't have a clue, what I could be.
I read this issue, but I'm using tensorflow, and as I use a dockerfile, it reinstalls always everything again.
{
    "floatx": "float32",
    "epsilon": 1e-07,
    "backend": "tensorflow",
    "image_data_format": "channels_last"
}

I'm closing this, because I found out, that it doesn't have to do with the docker container. I entered to the docker container and executed there the code, and it worked.
So, I suppose it has to do with flask.
I'm gonna open another issue, because I tried everything from here: 2397 and it still no working with tensorflow as backend

Well I'm gonna write the answer here, because it's easier.
The problem was with uwsgi. Somehow Keras didn't work there.
I just followed the instructions of this github repo and now it's working.

I'm having the same issue with a keras/tensorflow/flask/docker combination

is your project public?
Or could you provide a bit more information?
If your project is not public, maybe you can upload a gist


Compatibility with Python 3.12

This project won't work in 3.12 due to the dependency on distutils which was deprecated in 3.10 and removed in 3.12. The recommended replacement for distutils.version.StrictVersion is packaging.version.parse.
Additionally, this adds a patched version for aiohttp, a dependency of textual-dev  (see aio-libs/aiohttp#7646), which works with Python 3.12.

Nathaniel, thank you so much! I wasn't paying enough attention...


Error adding a new image

I a Refinery CMS demo set up on an Ubuntu server. From a windows computer I ssh'ed into the Ubuntu machine and ran the Refinery CMS on port 3300. My issue is that after going into refinery from my web browser on the Windows machine (Chrome if that's somehow relevant) everything works fine until I try to add a new image.


Dashboard available from outside with API key

Nice work! Just one comment above otherwise LGTM (after a superficial review).
pre-commit (https://github.com/icubam/icubam/blob/master/doc/contributing.md#code-style) does help for dealing with linters :)

Nice work! Just one comment above otherwise LGTM (after a superficial review).
pre-commit (https://github.com/icubam/icubam/blob/master/doc/contributing.md#code-style) does help for dealing with linters :)

thanks! Gabriel also pointed it to me. better indeed


Update cmake for system install

This is a fix for #366 that adds the following features:

The cmake configuration files are installed so that find_package can resolve them correctly.
An option to use system installed libraries instead of the built in modules.

Could you also fix the pipeline that's failing?

Thank you @geiseri for your contribution!


Cull Sentry alerts

Some Sentry alerts indicate a problem that should be fixed, while others, such as reCAPTCHA violations, are just FYI. Configure the Sentry stream so that the level of severity is apparent, fatal errors rise to the top, and non-fatal issues are quieter.

Filtered out ReCAPTCHA issues having to do with invalid requests, limited cache errors to Metro (shared tenancy with other apps).


Add License

"As a developer, I want to know the terms of any applicable licenses before using a particular boilerplate."

Proposal: we should use MIT, copyright to Fullstack Academy of Code.


TabletGroupWatcher update to handle servers being shutdown

The change updates TabletGroupWatcher to remove servers being shutdown from being sent as candidates for assignment. There was previous logic (e.g. v1.10) that filtered the servers being shutdown from being included in the candidate list.
Verified that on t-server shutdown the tablets are unloaded and assigned to a different host (with HostRegexTableLoadBalancer).
# Configured system with sample tablets; and 5 t-servers:
# Shutdown one t-server:
$> bin/accumulo admin stop localhost:9997

# Manager logs report unload and t-server being shutdown is not in candidate list:
...
[manager.EventCoordinator] INFO : tablet 1;20230601_1728;20230601_1727 was unloaded from localhost:9997
...
[balancer.HostRegexTableLoadBalancer] DEBUG: Sending 40 tablets to balancer for table test_1 for assignment
  within tservers [localhost:10000[10001cc843d0007], localhost:10003[10001cc843d000a],
  localhost:10004[10001cc843d000b], localhost:10005[10001cc843d000c]]

Closes #3368

The change updates TabletGroupWatcher to remove servers being shutdown from being sent as candidates for assignment. There was previous logic (e.g. v1.10) that filtered the servers being shutdown from being included in the candidate list.

@dtspence Can you please point out where that filtering was occurring? I'm trying to find where the change occurred, to evaluate if there was any intention behind that change, or if it was an accident. Because it's weird that the other current tservers list would now be completely unused and unneeded... it seems like it would have been put there for a reason. Do you know if the change occured in TabletGroupWatcher, or some calling code? Was it broken by #1761?

@dtspence Can you please point out where that filtering was occurring? I'm trying to find where the change occurred, to evaluate if there was any intention behind that change, or if it was an accident. Because it's weird that the other current tservers list would now be completely unused and unneeded... it seems like it would have been put there for a reason. Do you know if the change occured in TabletGroupWatcher, or some calling code? Was it broken by #1761?

@ctubbsii - the relevant information is in links in this comment: https://github.com/apache/accumulo/issues/3368#issuecomment-1571292545. It looks like in 1.10 there were separate sets being used, and then they were consolidated into TabletLists (likely in #1761). It's kind of hard to tell from the diff if that was the cause. It was easier for me to track it down using the links to the code in the referenced comment.

@ctubbsii - Specifically destinations is passed to flushChanges at https://github.com/apache/accumulo/blob/1.10/server/master/src/main/java/org/apache/accumulo/master/TabletGroupWatcher.java#LL214C26-L214C38, not the current set of tservers.

@ctubbsii - Specifically destinations is passed to flushChanges at https://github.com/apache/accumulo/blob/1.10/server/master/src/main/java/org/apache/accumulo/master/TabletGroupWatcher.java#LL214C26-L214C38, not the current set of tservers.

Okay, I got it now. It looks like the mistake was in the change to flushChanges in #1761. The parameter name was currentTServers, but it was passed destinations. But, outside that method, there was a currentTServers in the run method. It looks like the parameter name for flushChanges got misunderstood to be the same as the currentTServers variable, when it never actually was... it was always destinations by the wrong name.
Okay, after reviewing the details, I'm confident this fixes the issue in 2.1.0. However, I'd like to keep the original destinations name, rather than rename the variable. It just makes the already complicated code history easier to follow when we're not arbitrarily changing variable names alongside the substantive changes. And, in this case, I don't think adding "valid" to the variable name makes it more clear.

I'm fine with that. However, I'm about to log off until at least Sunday. Not sure if @dtspence will get to it over the weekend. You may have to make the change yourself and merge if you not done before you start an RC.

Will merge as-is. There's an outstanding question above about logging. If people care about that and want to add the message back in, it can be done as a follow-up PR.

Oops, this was targeting the main branch, instead of 2.1. I'll cherry-pick back to 2.1.

Cherry-picked back in 8cb090ab88022af883c3b656f92295bf93da55c1


fix(chat): use only first line for conversation name (Issue #912)

Description:
<SHORT_DESCRIPTION>
Issues:

Issue #912

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


Can’t add second account

Hi,
I noticed that my second account didn’t work. When I try to add it I get an error. Works fine in the Kia app.
Logger: custom_components.kia_uvo.config_flow
Source: custom_components/kia_uvo/config_flow.py:63
Integration: Kia Uvo / Hyundai Bluelink (documentation, issues)
First occurred: 16:51:15 (1 occurrences)
Last logged: 16:51:15
Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 203, in login
authorization_code = self._get_authorization_code_with_redirect_url(
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 1146, in _get_authorization_code_with_redirect_url
parsed_url = urlparse(response["redirectUrl"])
KeyError: 'redirectUrl'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/kia_uvo/config_flow.py", line 159, in async_step_user
await validate_input(self.hass, user_input)
File "/config/custom_components/kia_uvo/config_flow.py", line 63, in validate_input
token: Token = await hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 208, in login
authorization_code = self._get_authorization_code_with_form(
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 1242, in _get_authorization_code_with_form
intUserId = "".join(parse_qs(parsed_url.query)["intUserId"])
KeyError: 'intUserId'
Region and Brand of car
Sweden. Kia Niro phev
Version of the integration
Latest
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context

All EU logins are broken.  Other bugs have been opened for this.   The api was changed by Kia Hyundai.

Same for me ... Integration is not working anymore "Config Not Ready: 'int_user_id'"

Closing as duplicate


doc: remove proto in rfc, link to proto file in codebase

Let's remove the duplicated proto in rfc. We now just link the proto to the proto file in codebase.
It has been a maintainer burden.

lgtm so long as the code files are current with the deleted spec

@heyitsanthony I will do a double checking again before merging this.

double checked. Merging

Lgtm thanks!


1.0.1

Codecov Report

Merging #8 (a2c758f) into main (23a4795) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines           99        99
  Branches         2         2
=========================================
  Hits            99        99

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23a4795...a2c758f. Read the comment docs.


Swift 3 Release?

Swift 3 Release?

I'm using the code from this PR https://github.com/Haneke/HanekeSwift/pull/338 and it's compiling. I cannot test/try it with my app because I have to make a lot of changes before 😱
My Podfile has this at the moment:
pod 'HanekeSwift', :git => 'https://github.com/jasonnoahchoi/HanekeSwift', :branch => 'swift3'

Any idea when this will be merged in?

@lluisgerard it's compiled and working for me.

I think we need to update the documentation if swift 3.0 is updated.

right @rlam3 #349

Strange to see that the last commit on master was done on Apr 21, 2016.
@rlam3 are you sure the master branch is using Swift 3? Or should se use the Swift 3 branch?

@alpennec right it's not on master for now, I'm updating to 2.3 and then I will check 3.0 but the branch 3.0 has been reported as "working"

I would like a HanekeSwift Swift 3 cocoapods release, since we're using it in one of our internal dependencies, and you can't specify a :git dependency through a podspec. which breaks our build.
Not having a swift 3 pod is a severe hindrance for bigger projects, please consider publishing a Release Candidate from your swift 3 branch that we could use.

@alpennec Like @StupidDutchName said. It is becoming a hinderance for development projects not to have a swift 3 version of cocoapods. Hope to see a full release to the master branch soon! Thanks!

I cannot release an internal dependency because pod spec lint checks out dependencies based on the podspec file which cannot specify a :git parameter, and thus checks out the master branch / latest cocoapods release. This is a severe hindrance for us.


Create generate_select_logs_query2

line 69 was changed from dbt_model_usage to {{ target_model.database }}
resolves #
This is a:

[ ] documentation update
[x] bug fix with no breaking changes
[ ] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
Description & motivation

Checklist

[x] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[x] Snowflake

[ ] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)

Hi @GuyakobovZoominfo can you please add some context about the bug this change is supposed to address? Also, this change won't do anything in its current form. I think you meant to edit macros/common/generate_select_logs_query.sql line 69 instead of adding this new file to the project root?

the reason for this update is because snowflake gets this error:
SQL compilation error: Invalid identifier DBT_MODEL_USAGE.INFORMATION_SCHEMA.QUERY_HISTORY
and yes, its only a change of that specific part in this line, no need to create a new file


Handle NullPointerException when sending email alerts

Description
This PR improves the handling of NullPointerException while ACS is sending email alerts, which can occur due to the recipient list being empty (or null).
I also took the liberty to improve some log messages and added unit test cases that address this part of the code.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

How Has This Been Tested?
I ran all related unit tests and they all passed successfully.

@blueorangutan package

Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_multiplication_x: suse15. SL-JID 1656

@blueorangutan package

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1658

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 1725

I'll check it locally.

@blueorangutan package

@joseflauzino a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1748

@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2571)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34632 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5649-t2571-kvm-centos7.zip
Smoke tests completed. 91 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File


closes #1839 dummy function created

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[ ] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[ ] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[ ] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[ ] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[ ] Address any updates needed for vignettes and/or templates
[ ] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[ ] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

This is awesome!!!  use devtools::document() to get your function to the NAMESPACE and render the documeantion, .Rd files.  This will fix a lot of the issues in the CI checks.
Also run styler::style_file() on the files your created for the styler check.

Thank you, @PavloChaika  and @bms63. In the Development Process Guide, there is a dead link [i.e. 404 Not Found] at the admiral contribution model link near the top of the Guide.
Love the checklist compiled here!

You almost got them all!!  USe spelling::update_wordlist() to fix the spelling failing check.  The links might just be a timeout issue not really sure yet on that one.

@PavloChaika did you have anymore questions?   If not, then we can close out this PR

@bms63 no more questions


Call pip with the subprocess module.

Pip is not supposed to be imported. The recommended method is to call pip as a subprocess, see https://pip.pypa.io/en/latest/user_guide/#using-pip-from-your-program
I have decided to use subprocess.call over subprocess.check_call because the latter throws an exception when a package fails to install. The rlbottraining package fails to install if the python version is below 3.7 but is not required to succesfully run rlbot.

This will make things more robust, great! I typed up a long concern about finding the wrong pip on the system path, but then I finally noticed you're using sys.executable, "-m", "pip", that's clever :)
Because of that, I'm sure this will work even for people on Linux/Mac who run python3 run.py so I'm happy.


Project import generated by Copybara.

Project import generated by Copybara.

Ah, looks like the pipeline is failing due to a missing dependency for the @com_github_google_uuid library in the API-repo specific WORKSPACE file. It seems like this dependency was added in MR!4055.

Fixed the missing @com_github_google_uuid dependency!


(PUP-4954) Don't initialize environment object in indirector requests unless it's used

Previously, any indirector request to a URI that had the appropriate
environment/indirector/key pathing would cause the request to
initialize an environment object. With directory environments, this
does not work - the agent probably doesn't have a dir for the
environment of the request, so initializing the environment object
fails.
This change makes initialization of the request-associated environment
object lazy, such that it only happens if the environment is actually
requested. It also makes a small change to the http indirected_routes
logic so that it does not force creation of the environment object
simply to query its name.

:metal:

Kicking off an acceptance test with https://jenkins.puppetlabs.com/view/All in One Agent/view/Manual/view/Puppet Agent Ad-Hoc/job/platform_aio-suite_stage-intn_adhoc/45/

Manually ran from the package and all acceptance passed. This looks ok to me. :+1:

Based on comments in https://tickets.puppetlabs.com/browse/PUP-4954?focusedCommentId=226298&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-226298, I'm not understanding why this is only an issue for filebuckets? For example, the agent pluginsyncs in an environment, and it likely doesn't have a directory named for that environment.

@joshcooper We use puppet File resources for plugins. Those bypass the indirector in various terrible ways in order to stream directly to disk, so we don't end up hitting the path where we create an indirector request object.
At least, that's what I think is happening. I'm still trying to figure out which way is up in the pluginsync code path

Pretty sure we do use the indirector, e.g. https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/file/content.rb#L215
For example, in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/file/source.rb#L180, we're passing the environment to use when executing file_metadata request.

PUP-4653 may actually completely change how/if this needs to be fixed. This commit was written against a checkout of stable and opened against master. Master contains a59239d5f9e954cb605bfee48d0280bbe6f6c1aa from @ffrank, which changes the way pluginsync interacts with environments in request generation. I'm gonna revist this with master and see what things look like.
For now, I'm going to close this PR and kick the ticket back to doing. Part of why it looks weird on master is that it is weird on master - it was written to solve a particularly problematic codepath that no longer eixsts.

I worked with @ffrank on that PR, happy to talk later today about it.


Allow variable shadowing

Use reactions to vote, 👍 for yes, 👎 for no

disallow variable declarations from shadowing variables declared in the outer scope

http://eslint.org/docs/rules/no-shadow

Do you have a use case for when this is a bad thing?

There's no case where this rule is a problem, it's just a convenience factor with callbacks, mostly targeting using the err variable in scopes
Possibly could allow specific ones, like err, to compromise if you feel strongly about this rule

I do feel that scope shadowing is a very important concept for all developers to understand in JS, so having a rule that safeguards you against that is like protecting someone from diving below the surface of water.

They should understand, but in a medium to long file godamn it's confusing to read.

Alright, what if only err was allowed to be shadowed?

Alright, what if only err was allowed to be shadowed?

Why it might even be the most critical thing not to shadow!?
I think believe that having to disable the no-shadow rule is more of symptom of needing to do refactoring.

Fair enough


Fix compile error when Azure SDK is targeting .NET 6.

Description
When I tried to do https://github.com/Azure/azure-sdk-for-net/pull/28911 which basically adds .NET 6 to the .NET Azure SDK, it resulted in compile errors due to the code in this repository. As such this change is a prerequisite of that pr.
Checklist
To ensure a quick review and merge, please ensure:

[x] The PR has a understandable title and description explaining the why and what.
[x] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[x] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[x] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

cc: @annelo-msft for reviews.

I have made changes above to use the span version of WriteAsync where the framework provides it for Stream when it implements .NET Standard 2.1. Since Core > 2.1 implements it and that the Azure SDK targets .NET Framework, Standard 2.0, Core 3.1, and now .NET 6 I think it should be fine after this.

I found more that can use System.Memory as well (Stream.Write()).

This should be ready for review, just waiting on when you all have time to review.

Still working on this.

cc: @annelo-msft any thoughts on anything else that may cause compile errors when targeting .NET 6 on the Azure SDK?

Thank you @AraHaan  for your contribution, let me ping @christothes, @AlexanderSher, @annelo-msft, @JoshLove-msft , @m-nash @jsquire .

I have made the requested changes.

@AraHaan Sorry for the late response. This PR is different after a series of changes. I have a question: why await stream.WriteAsync(_bytes, 0, _bytes.Length, cancellation).ConfigureAwait(false); doesn't compile under .Net 6? I checked the [API doc](await stream.WriteAsync(_bytes, 0, _bytes.Length, cancellation).ConfigureAwait(false);) and it should still work under .Net 6.
Is there any benefit to use await stream.WriteAsync(_bytes.AsMemory(), cancellation).ConfigureAwait(false);? The former one seems more performant. Thanks.

The former still compiles, but it generates Visual Studio warnings about using the span versions instead of them (and if warnings as error is enabled it ends up emitting errors instead).

I have made the requested changes.

/azp run autorest.csharp

@AraHaan branch is out of date with feature/v3 can you please sync to the latest so the CI can run and validate?

/azp run autorest.csharp

I wish I could see why that smoketest is failing.

I wish I could see why that smoketest is failing.

@AraHaan Normally it's due to timeout:

ECONNRESET

/azp run autorest.csharp

/azp run autorest.csharp


Workflow for contributions to the wiki/tutorial

Some parts of the wiki/tutorial are currently stubs. I would like to help updating it, but don't have write access. What is your preferred way for contributions to the wiki?

@greole the easiest for now would be to create a private fork and create merge requests.

@greole , @fritzgoebel did a bit of updating of our Wiki. What he did was create a repo called ginkgo wiki https://github.com/fritzgoebel/ginkgo_wiki/wiki and updated the wiki there by copying from our wiki. We could all then review it and then he updated the ginkgo-project/ginkgo wiki

@pratikvn Ok, I created a own copy of the wiki  at https://github.com/greole/ginkgo-wiki. There I can edit it and if you like the changes someone with write access can then push the changes back to https://github.com/ginkgo-project/ginkgo.wiki.git.

Yes, unfortunately, there does not seem to be a way to create a PR for the wiki. You can edit your repo and whenever you have a page that you want us to review, feel free to ping @ginkgo-project/reviewers and we can review and update the page into Ginkgo.


Lint for Hugo aliases with absolute paths

This is a Feature Request

What would you like to be added

Create a new lint, applied to new pull requests, that checks for front matter that adds a Hugo alias with a leading /.
For example, reject this:
---
title: Some Kubernetes page
weight: 10
aliases: [/some-page/,/some-other-thing/]
---

Why is this needed
Based on experience from the fix in PR #18895 and some other stuff I wasn't involved in, it seems like this site never has a use for Hugo aliases that have a leading /.
If that's the case, how about linting for that? It can be a local check and also happen in CI.
Comments
/kind feature
/priority backlog

@Colstuwjx if you have the appetite for a pull request to add this, I'm all for it.

/remove-lifecycle stale


Indicator is not working in mobile view.

Describe the bug
We have a list of images that are shown and hidden conditionally. On load, we display one set of slides along with the indicators, and the slides work perfectly fine. However, once we display the other set of images, the slider works but the indicators do not function with the slider.
Expected behavior
The indicators should work correctly when we conditionally show the other set of images.
Additional context
Tested in browser in mobile view.
This is the code we are calling on indicator click to move to that sliders
`
      handleIndicators () {
          const indicatorSlide = (index) => {
            const hasSliderElement = document.querySelector(".has-indicators");
            if (hasSliderElement) {
        setTimeout(() => swiffyslider.slideTo(hasSliderElement, index));}
        };
        const indicators = document.querySelector("ul.slider-indicators").getElementsByTagName("li");
        indicatorSlide(0);

      for (let i = 0; i < indicators.length; i++) {
        indicators[i].addEventListener("click", function (event) {
          event.preventDefault();
          event.stopImmediatePropagation();
          indicatorSlide(i);
        });
      }
}
`

Swiffy slider is markup first. If you have one set or number of slides in mobile view and another set or number of slides in desktop mode, you create to indicator sections and use responsive css to hide and show the correct one.


Package is not triggered reliably on project open.

Hey there! I've been giving this package a try, and noticed that there seems to be an edge case in which it isn't loaded by Atom. It works beautifully in every instance where the editor window and the project are opened at the same time---clicking "File: Open," running the atom command, or dropping a folder onto the application icon---but fails to trigger if the window is opened first. Dragging and dropping a folder, clicking "File: Add Project Folder," and choosing a repo from the Project Manager package's menu with an empty window all fail to load the status indicator.
I wish I knew the Atom API well enough to make a constructive suggestion, but please do let me know if I can at least offer any more troubleshooting data. And thanks in advance for looking into it!

Fixed by #82. Thanks for the merge, @tombell!


Derelict icon hotfix

About the PR

Fixed derelict borg not seeing icons
Why / Balance

Technical details

Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

Seems good as many lawsets still would require knowing who is/isn't crew and this is the current way we handle it.

It was just forgotten and got noticed during a secret playtest tm

oh wait, I already approved :clueless:

oh wait, I already approved :clueless:

10 point for enthusiasm, though


docs: Clarify how to set GIPHY API key in settings.

https://chat.zulip.org/#narrow/stream/127-integrations/topic/Giphy.20installation

Merged, thanks @amanagr!


A scale layer for "mean network"

We already have a Dropout layer, but in the paper Improving neural networks by preventingco-adaptation of feature detectors they mention At test time, we use the “mean network” that contains all of the hidden units but with their outgoing  weights  halved  to  compensate  for  the  fact  that  twice  as  many  of  them  are  active. But I did not find layer that could accomplish it.
I am not sure about name of this layer and where to put it in source codes, so comments are welcome.
Or perhaps layer like this is not wanted in swift-apis?

@kongzii the Dropout layer is already handling the scaling---it just does so in the opposite way. As you can see here, at training time the values are scaled by 1 / keepProbability. So, if your probability is set to 0.5 this means that at train time the values are doubled. You can also think of this as keeping them fixed at training time and halving them at inference time (which is not exactly equivalent but serves the same purpose here).

@kongzii the Dropout layer is already handling the scaling---it just does so in the opposite way. As you can see here, at training time the values are scaled by 1 / keepProbability. So, if your probability is set to 0.5 this means that at train time the values are doubled. You can also think of this as keeping them fixed at training time and halving them at inference time (which is not exactly equivalent but serves the same purpose here).

Nice. I missed this, thanks.


Add beep voice pack description

I think I made a mess of committing the PR, but the actual edit hopefully makes sense!
The only bit I'm unsure of is the Translate markdown, which I hope displays the buttons to press to get to recorded voice packs, but doesn't show up in preview.
Cheers

The only other thing I can think to do is to edit the wording of the overview to say "Voice prompts, cycle computer style beeps, and text notifications are features..." or something of that nature.


Updates

Pull Request Test Coverage Report for Build 38

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.458%

Totals

Change from base Build 36:
0.0%

Covered Lines:
62

Relevant Lines:
62

💛  - Coveralls


add Jordan

Jordan University Of Science and Technology

@RashedMaaitah I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host cit.edu.jo not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Optimize SDK retry logic on healthy nodes

Problem
There are two places the SDK requests nodes or node account IDs from the network.

When freezing a transaction or executing a query; during these events, the network would provide a list of the most healthy node account IDs.
When executing a transaction or query; during these events the request would ask for the most healthy node proxy for a given node account ID. The health of any particular node is determined by:

The number of times it has been used
The last time it was used
The number of times it has encountered a bad gRPC status
If it is in the process of backing off

These fields are updated each time a node is used to perform a gRPC call. When a gRPC call results in a bad gRPC status the node increases its exponential back-off and is marked unhealthy for the duration of the back off, and when a node doesn't receive a bad gRPC call the node decreases its exponential back-off.
During request execution, as aforementioned, a request will ask for the healthiest node proxy for a provided node account ID from the network. However, this may result in the network still returning an unhealthy node proxy if all the node proxies for a node account ID are deemed unhealthy. If this occurs the SDK would wait until that node proxy becomes healthy before continuing with the request.
A couple of enhancements:

Requests would not wait for the node proxy to become healthy, and instead, the request would move onto another node account ID and hence another node.
Initially, the SDK would perform a request level exponential backoff when it encounters a BUSY response code.
Removed the request level back-off when a BUSY response code is encountered which on the surface looks fine, but we eventually needed to alter this as it resulted in account creation requests failing very quickly since account creation is throttled way down.

Reference Issues
https://github.com/hashgraph/hedera-sdk-java/issues/788
Solution
Instead of sorting the list of nodes by health and providing the most healthy nodes to the requests, the network would use two lists (one for healthy nodes, and one for unhealthy nodes) and it would randomly pick a node from the healthy list.
Given the recent updates, we've made to the SDK such as transaction ID generation upon encountering TRANSACTION_EXPIRED Hedera response code, and building signed transactions on demand we can push the SDK even further to not pre-select a list of node account IDs to use per request.
Instead, we can make it so requests fetch a node from the network and build a request for that particular node on demand. This would mean the requests have access to all the nodes in the network upon execution instead of only 1/3rd which should increase the likeliness of requests succeeding.
Alternatives
No response

merged to develop


WARNING: DATA RACE

Hi! We're building the exporter in our gitlab CI/CD and sometimes there is an error in the self-tests.
There are some stack traces after a warning WARNING: DATA RACE after a connection failure err="dial tcp: i/o timeout". I'm not sure which of these two is the root cause. I attach the full log file from the gitlab pipeline, so you can see all version numbers of everything. Hopefully it tells you something useful.
So far the issue is not very repeatable. It just happened twice so far and rerunning the job succeeded right away.
logfile.txt

I guess I would even change the sleep to something very long and the timeout to a few seconds. In that case, even very bad luck with scheduling, the connection time out is probably not going to happen, but waiting for the command to complete will time out. Which seems to be the point of the test.

Going to close but if this issue still happening let me know.  I haven't been seeing the race conditions lately so hopefully cleared up.


Clarify that used Repositories should use / extend the SpecificationRepository

Nice package! Took me some searching to understand that my Repositories need to either:

be configured to "be" the SpecificationRepository
extend the SpecificationRepository

Maybe a small section about this in the README?

I have just merged some changes that add a note to the top of the README.
The requirement to extend SpecificationRepository is gone, you can use a combination of the SpecificationRepositoryTrait and SpecificationAwareInterface in your own custom repository classes now.
The old SpecificationRepository class is still provided for backwards compatibility though (or if you don't mind extending).

Great! Closing issue 😉


Fix account page past games opponent field

If I joined a game, the opponent field should display the game creator username. Right now the logic simply reads the opponent field from DB.

Also if a game is available (i.e. user created a game but no one joined yet) the opponent field is empty.

This will throw error if game.opponent is null


e2e: add internal workspaces schema to workspaces client

This was causing test failures, since the workspace client wasn't informed of how to deal with internal workspaces.  This should be safe to revert once #126 is merged.

oof, a docker failure


Show the name and job/role from a character's ID on right-click

Description

More of a feature request, and it may tie in with oldchat / examinelog but I wanted to capture it on Github.
When a user right-clicks on a character, it should show the job or role from their ID in brackets next to their name. This will help newer players establish the link between the different jobs and their uniforms, and will help people identify each other in general.
@Peptide90 if you happen to find any issues this is related to, would you please link them to this one?

I might be interested to tackle this part, but I heard this piece would need more discussion on the maintainer side about how it would work. I'm not quite up to speed on ECS just yet so I might leave it alone for now.

we have ID examine in the examine menu


[mobile] login page ui is too small on the mobile device

responsive css is not working on login page

Fixed at 07e24bfa32aacb6b7d870f2fc0b97a7e17630aad
Please verify and close if fixed properly.

Verfied :+1:


Tutorial adding command

Added remark command as per tutorial

There was an error in RemarkCommandTest

Fixed Checkstyle issues. Reminder to all to do a full build including tests and checkstyle.


[FEATURE]  QwenEmbeddingModel limit texts size, it need batch embed method

Is your feature request related to a problem? Please describe.
{"statusCode":400,"message":"batch size is invalid, it should not be larger than 25.: payload.input.contents","code":"InvalidParameter","isJson":true,"requestId":"62b84a0b-2929-9977-ae0d-2ae028d7bb23"}
Describe the solution you'd like
support like ingestor.ingest(document, batchSize);
Describe alternatives you've considered

Additional context

cc @jiangsier-xyz


Experimental Decorator error even after specifying in tsconfig.json

From @rajeevkumarsharma on January 1, 2016 15:7
{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "noEmitOnError": false,
    "rootDir": ".",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": false,
    "sourceRoot": "",
    "inlineSourceMap": false,
    "inlineSources": false
  },
  "files": [
    "app/app.ts"
  ]
}

It still show error on decorator class
Copied from original issue: Microsoft/vscode#1730

This works for me using the latest 0.10.6 build. See attached screen shot:

@rajeevkumarsharma pls ping me if you can reproduce using 0.10.6. Steps would be helpful as well.

Duplicates #1740

From @rajeevkumarsharma on January 7, 2016 6:43
Hi Dirk,
It still persist with 0.10.6 on Linux. Here are some screenshots attacked.
Thanks

Closing

From @SergeySolonko on May 20, 2016 12:57
+1
Have same problem.
VScode Version 1.1.1 (1.1.1)
MacOS X El Capitan

From @Mosho1 on May 22, 2016 10:58
+1, (1.1.1 on windows 10)

From @AdamWillden on May 20, 2016 14:48
I also get the same issue but it is inconsistent (1.1.1 Windows)

Moving to TS team since it still shows up on 1.1.1 which uses 1.8.9 (tsserver)

From these snapshots, looks like the file you are getting the error in is not part of the tsconfig.json file.
rest.ts does not seem to be mapped by the tsconfig.json specified, which only lists app/app.ts. if this is the issue, then it is not going to pick up this tsconfig.json as a configuration source.
At this point i do not have much details to piece together a repro. please provide a project i can use to reproduce the issue.

try with this configuration
{
  "compileOnSave": false,
  "compilerOptions": {
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "module": "commonjs",
    "moduleResolution": "node",
    "noEmitOnError": true,
    "noImplicitAny": false,
    "outDir": "../dist/",
    "rootDir": ".",
    "sourceMap": true,
    "target": "es5",
    "inlineSources": true
  },

  "files": [
    "main.ts",
    "typings.d.ts"
  ]
}

I've played a lot with different versions of config, no luck

@dbaeumer I've tried to change typescript.tsdk
"typescript.tsdk": "/usr/local/lib/node_modules/typescript/lib"

I've used
$ tsc --version
Version 1.8.10

No luck, are you sure that this issue is related to tsserver ?

From the screen shots, the file that is showing the errors is ./app/lib/rest.ts but in both the config above and the screenshots, the "files": [] does not include the the displayed file.  When a file is not included in the "files" array, they are not part of the project, and vscode will apply default compiler options, which has experimental decorators as false, which would display the errors visible in the screenshot.  I highly doubt this has anything to do with tsserver and instead has to do with likely an improperly configured project.

ok, what about next example:

Hi,
You may use exclude instead files (where u need to put all files reference)

If you want to use files options only than add all files you want to apply these settings.

@SergeySolonko i can not reproduce this still.. i have your tsconfig.json, and a file and still can not see any issues.

Please provide a repro project the exhibits the issue.

@mhegazy https://github.com/SergeySolonko/vscode-test try this one

Thanks. i see the issue now. the problem is in your tsconfig.json there is a missing file. "typings.d.ts". the file does not exist which causes a problem in loading the project. we have fixed this issue in nightly builds, here is the issue: https://github.com/Microsoft/TypeScript/issues/8334, and the PR: https://github.com/Microsoft/TypeScript/pull/8504.
Removing the missing file from tsconfig.json, should resolve the issue, or updating to the latest nightly, see https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Nightly Builds.md#visual-studio-code

Closing in favor of #8334

That doesn't make sense, VSCode should read tsconfig and enable all specified options, It shouldn't be related to the project files.
Other words: if experimentalDecorators option is enabled - VSCode should hide that error

it is not about VSCode. this is coming from the ts side of things.
The server tries to load the config file. before #8504, if a file was not found, it failed to read the config file, which was a bug. the bug should be fixed in the latest nighties, and it should work now.


Vignettes fail for examples using relocated bundled data

Examples in the vignettes that are reading bundled GAMBLR data, that has now been relocated to their own dedicated repo need to be updated.
For instance;
Error: processing vignette 'ssm_tutorial.Rmd' failed with diagnostics:
   object 'grch37_ashm_regions' not found

I did some exploration on this and it looks like this is happening because these new objects are not exported. Adding the @export tag fixes this issue but I think the bigger problem is that the load_all() acts differently from install() and when the package is installed, only the version of the bundled data specified in config during the installation step is returned and cannot be changed then, which is different from the load_all() step and is not what we want.

I proposed a potential fix for this issue in the most recent commit on my PR.

Which commit had the potential fix?

This commit.


New status: KILLING

Implements https://github.com/azkaban/azkaban/issues/1122: Azkaban to have KILLING status transition.

New status transition after kill() is called: .. -> KILLING -> KILLED.
Don't set the status to KILLED before all job threads have exited.

Execution graph:

Execution Job List:

History:

After this change, I would like to rename these private booleans:

JobRunner: killed -> cancelRequested
FlowRunner: flowKilled -> killRequested

Otherwise it's quite easy to assume that those killed booleans mean already having KILLED status, when it can also be KILLING.

Thanks.
Given other priorities, I am afraid it will take me a while to review this change. @chengren311 do you have the bandwidth to review?
cc @ameyamk

@HappyRay I'm reviewing this change.

Thanks @chengren311

Thank you @chengren311! Fixed the bad formatting. Waiting for your thoughts on that ImmutableMap.

@chengren311, could I have your verdict on https://github.com/azkaban/azkaban/pull/1172#discussion_r120729789 ?

Changed to ImmutableMap.. @chengren311: I've resolved all comments so far.

@chengren311: now fixed per comments, rebased & resolved conflicts.

@chengren311 anything else?

Hm.. bump? :)

@chengren311 (same story as for the stuck pipeline fix..) I'd like to have this in use ASAP. What do you think, will you be able to review and get this merged on this side soon? I'd rather do it that way but can of course apply on our fork if not possible to prioritize here.

@juhoautio sorry for the delayed response and thanks for your active contribution! I am keeping reviewing this PR and will work with you on getting this merged ASAP. Thanks!

Added commit:
Fix KILLED vs. FAILED status propagation
Bring back original assertions in FlowRunnerTest2.

@juhoautio also maybe i missed something from your PR, but where do we set job status from killing to killed?

also how would killing status work with concurrent execution options?

where do we set job status from killing to killed

This is handled by existing code in JobRunner#doRun.
It's basically like this:
    runJob();
    if (isKilled()) {
      finalStatus = changeStatus(Status.KILLED);
    }

also how would killing status work with concurrent execution options?

KILLING blocks in a pipeline the same way that RUNNING does. This may actually make the pipelining more robust in some situations. I think that before introducing KILLING status, RemoteFlowWatcher may have seen KILLED and deemed it as finished, allowing a pipelined job to be unblocked, even if the blocking job run had not completely ended yet.

Tests revealed a race condition that can make the flow not terminate.
I need to figure it out before this is ready for production.
I managed to reproduce the failure once locally, and for that test run I found this in the logs:
INFO [JobRunner-job6-1] [derived-member-data-2] Job job6 finished with status KILLING in 0 seconds

That should not happen, as this is logged in a branch of FlowRunner.JobRunnerEventListener.handleEvent that handles event.getType() == Type.JOB_FINISHED. When handleEvent is called, the status should already be KILLED?

Ha, found & fixed. Added commit: Fix a race condition that prevents setting KILLING->KILLED (by making JobRunner.killed volatile).

@juhoautio thanks for fixing this race condition!
How about FlowRunner's flowKilled? I suspect it has the same risk.

Great catch.
Added commit:
Better thread safety in FlowRunner

Make the boolean flags volatile, because these are accessed from different threads.

thanks for working on this

@juhoautio Are you still interested in bringing back KILLING status?

@jamiesjc definitely! Also it's been working without any problems on our deployments after those fixes that were made soon after introducing it.

@jamiesjc is there some way to proceed right now?

@juhoautio Could you submit a new PR? We'll merge it and then deploy.

cc @HappyRay @chengren311

Yes. I guess I'll just revert the previous revert commit and resolve possible conflicts.

Here: https://github.com/azkaban/azkaban/pull/1509


Cannot retrieve map data

I have been running the weather radar for a while now but recently had a power outage. When I restarted my pi and the weather radar it brings me to the same localhost page but the map is not there or any weather data. It just says "Cannot retrieve map data. Did you enter an API key?". I double checked my API keys and even tried new ones but I still get the same error. Any ideas on how to fix this?

I'm having the same error but have not been able to identify the cause.  I've obtained new keys and it did not resolve the issue.

Be sure you have entered the LAT/LON values. This seems to break the code somewhere, for some, when not populated. One person stated they had to trim to 4 decimal places as opposed to 6. xx.xxxx
A reboot may be needed too.

Thank you! This fixed it for me

Removing my Geolocating key and manually entering the LAT/LON (5 digits worked for me) resolved this issue for me as well


Fix evm token transfer

evm/builder depends on AssetConfig for assets configuration, token type should be added to it.

Thanks a lot for the PR!
FYI, I just pushed a bunch of updates that we had internally.


Apply the model to other areas (e.g. Yosano, Kyoto)

Done.
Yosano data can be accessed with point=4