text:
🛑 Website is down

In d386fc7, Website (https://www.mygameplatform.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in fd638a5 after 20 minutes.

repo: mygameplatform/status


text:
What is relationship with code running on mymonero.com?

I compiled mymonero-core-js using current master and wanted to use them in openmonero along with new send_coins.js. However, generated MyMoneroCoreCpp_WASM.js and MyMoneroCoreCpp_WASM.wasm are different than those used on mymonero website. And off course send_coins.js does not work with the files obtained by compilation of mymonero-core-js. So how the files on mymonero.com were compiled?
Also, is there any github repo for the files used in mymonero.com? It would simply tracking changes in the files.

I think that mymonero-core.js. If you compare what is on mymonero.com (https://mymonero.com/js/lib/mymonero-core.js?3) and what mymonero-core-js generates (what it generates for me can be seen here ), big differences can be seen.
Just in the first line differecese are obvious. mymonero.com has
!function(i,A){"object"==typeof exports&&

and from compilation we get:
var MyMoneroCoreCpp = (function() {
  var _scriptDir = typeof document !== 'undefined' && documen

When I use the generated code with the send_coins.js?9 I get the following error:
angular.min.js:123 ReferenceError: mymonero_core_js is not defined
    at m.$scope.sendCoins (send_coins.js?7:185)

So I don't know why there are differences between what compiling mymonero-core-js produces, and what is on mymonero.com. Do I need to checkout some specific version or commit from mymonero-core-js to be in sync with mymonero.com?

Mymonero-core.js which is used on mymonero.com right now is simply the product of running https://github.com/mymonero/mymonero-core-js/blob/master/bin/package_browser_js

As for mymonero_core_js not being defined, you need to use a script tag to include mymonero-core.js

Thanks! bin/package_browser_js solved the problem.
btw, https://github.com/mymonero/mymonero-core-js/blob/master/README.md does not contain anything about this, thus I didn't know I should use it. Maybe could something about it added to README for futuer reference?

Good idea! Thought i had it in there.

Closing issue. Seems to be solved.
Thanks again.

source: gharchive/issue

authors: moneroexamples paulshapiro

repo: mymonero/mymonero-core-js

license_type: permissive

license_source: github-api


text:
Add blank id to bad params list

Fixes #53

Codecov Report

Merging #54 (f06cfe6) into main (8079a53) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   93.54%   93.54%
=======================================
  Files          16       16
  Lines        2759     2759
=======================================
  Hits         2581     2581
  Misses        133      133
  Partials       45       45

Impacted Files
Coverage Δ

generator/converter.go
97.03% <ø> (ø)

generator/testmoqs/types.go
0.00% <ø> (ø)

Codecov Report

Merging #54 (f06cfe6) into main (8079a53) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head f06cfe6 differs from pull request most recent head 495c33a. Consider uploading reports for the commit 495c33a to get more accurate results

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   93.54%   93.54%
=======================================
  Files          16       16
  Lines        2759     2759
=======================================
  Hits         2581     2581
  Misses        133      133
  Partials       45       45

Impacted Files
Coverage Δ

generator/converter.go
97.03% <ø> (ø)

generator/testmoqs/types.go
0.00% <ø> (ø)

Codecov Report

Merging #54 (495c33a) into main (8079a53) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   93.54%   93.54%
=======================================
  Files          16       16
  Lines        2759     2759
=======================================
  Hits         2581     2581
  Misses        133      133
  Partials       45       45

Impacted Files
Coverage Δ

generator/converter.go
97.03% <ø> (ø)

generator/testmoqs/types.go
0.00% <ø> (ø)

source: gharchive/pull-request


text:
Boolean returned as Object Buffer

Hi this is my first attempt with this node module, so perhaps I'm doing something wrong.
My query, returns boolean fields like this {"type":"Buffer","data":[1]} instead of true or false
This is how I do the query:
connection.query("SELECT * FROM Projects;", function(err, rows) {
...

Hi @lviggiani MySQL has no boolean type that I am aware of. Are you trying to emulate it with some other type? What does the CREATE TABLE look like for that Projects table?

You're right... it's actually not boolean. Here is the create table spec for that field:
exist bit(1) NOT NULL

Yea, I have seen that being used as a fill int (though usually TINYINT(1) is more common, imo). You can use our type casting definitions to do the conversations automatically (https://github.com/mysqljs/mysql#type-casting). There is an example in that section for TINYINT(1), but you should be able to change the field.type in the example to BIT for your use-case.

authors: dougwilson lviggiani

repo: mysqljs/mysql

license: mit

license_source: bigquery


text:
Improper escaping of punctuation characters in password

I noticed I was having connection issues recently on my previously working node.js app. Not sure if this is related directly to the mysql wrapper or an underlying npm library, however here goes:
The password I was using was auto-generated by a password manager, and contained some ASC-II punctuation characters. The password (as it is now changed) was h1gWs1]'_nblx[aE(*;=md?>a
I could connect fine from the command line mysql client both locally on my Mac and on the Ubuntu 16.04 server. However when connecting via the mysql wrapper in nodejs (using bookshelf & knex), I receive a
code: 'ER_ACCESS_DENIED_ERROR',
  errno: 1045,
  sqlMessage: 'Access denied for user \'user\'@\'blah\' (using password: YES)',
  sqlState: '28000',
  fatal: true }

After much troubleshooting trying to identify what the issue was, I ended up changing the password to one with just alphanumeric characters, and it worked.
I'm posting this here, rather than with knex etc as I've tested & demonstrated the password being passed unaltered down to this library, thus ruling out knex etc as contributing factors to the issue.
Hopefully this can help someone. This stack had lots of other tools, languages and utilities connecting to it just fine with that password, so it seems like this is a genuine bug.

Weird, there is no escaping this library does as part of the password at all. I'll get a MySQL server setup with a user with that password to see what is going on. Can you provide the following information?

Version of this module you are using.
Version of Node.js you are using.
The version of MySQL you are using.

Thank you! Also if you know what the issue is, pull requests are certainly welcome!

Recreated issue on both 2.14.1 and 2.15.0
Nodejs 8.3.0
Aurora MySQL 5.6.10a

Thanks! What is Aurora MySQL? Can you link me to the download site? If this is a different dialect lile MariaDB us, it's possible the auth works slightly different. We test against MySQL community edition and MariaDB right now though our CI and do one off tests against the Azure MySQL.

Amazon Aurora is a scalable drop-in replacement to MySQL https://aws.amazon.com/rds/aurora/details/
I've also just tested this on stock MySQL 5.6.27 and the issue persists.

Thanks! Yep, I was able to replicate with 5.6 MySQL community edition as well:
$ npm i mysql
+ mysql@2.15.0
added 11 packages in 1.725s

$ cat test.js
const mysql = require('mysql')

const connection = mysql.createConnection({
  user: 'test_user',
  password: "h1gWs1]'_nblx[aE(*;=md?>a"
})

connection.query('SELECT 1', (err, rows) => {
  if (err) throw err
  console.log(rows)
  connection.end()
})

$ docker run -d --name mysql-1842 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -e MYSQL_DATABASE=test -p 3306:3306 mysql:5.6
Unable to find image 'mysql:5.6' locally
5.6: Pulling from library/mysql
85b1f47fba49: Pull complete
27dc53f13a11: Pull complete
095c8ae4182d: Pull complete
0972f6b9a7de: Pull complete
a11a67190c24: Pull complete
908252bea0ce: Pull complete
ffe3d1ca6af8: Pull complete
e4a48a0019b4: Pull complete
3b57faa79614: Pull complete
55c3e5a390ed: Pull complete
7a6f5c78394b: Pull complete
Digest: sha256:2528302501835852673c6594a825c14894b16c41b46cdf036b81426700fdb469
Status: Downloaded newer image for mysql:5.6
20dd9e97d881a8559523476d790a0330a9221ce4801d651080d39a5e58c7dc24

$ docker exec mysql-1842 mysql -e 'select version()'
version()
5.6.37

$ docker exec mysql-1842 mysql -e 'grant all privileges on *.* to "test_user"@"localhost" identified by "h1gWs1]'"'"'_nblx[aE(*;=md?>a"'

$ docker exec mysql-1842 mysql -u test_user -p'h1gWs1]'"'"'_nblx[aE(*;=md?>a' -e 'select version()'
version()
5.6.37
Warning: Using a password on the command line interface can be insecure.

$ node test.js
/mysql-1842/test.js:9
  if (err) throw err
           ^

Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'test_user'@'172.17.0.1' (using password: YES)
    at Handshake.Sequence._packetToError (/mysql-1842/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14)
    at Handshake.ErrorPacket (/mysql-1842/node_modules/mysql/lib/protocol/sequences/Handshake.js:130:18)
    at Protocol._parsePacket (/mysql-1842/node_modules/mysql/lib/protocol/Protocol.js:279:23)
    at Parser.write (/mysql-1842/node_modules/mysql/lib/protocol/Parser.js:76:12)
    at Protocol.write (/mysql-1842/node_modules/mysql/lib/protocol/Protocol.js:39:16)
    at Socket.<anonymous> (/mysql-1842/node_modules/mysql/lib/Connection.js:103:28)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    --------------------
    at Protocol._enqueue (/mysql-1842/node_modules/mysql/lib/protocol/Protocol.js:145:48)
    at Protocol.handshake (/mysql-1842/node_modules/mysql/lib/protocol/Protocol.js:52:23)
    at Connection.connect (/mysql-1842/node_modules/mysql/lib/Connection.js:130:18)
    at Connection._implyConnect (/mysql-1842/node_modules/mysql/lib/Connection.js:461:10)
    at Connection.query (/mysql-1842/node_modules/mysql/lib/Connection.js:206:8)
    at Object.<anonymous> (/mysql-1842/test.js:8:12)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)

So I'm trying to figure out what is wrong. The auth part of this module hasn't changed in many years, and looking at the protocol docs (http://web.archive.org/web/20160604101728/http://dev.mysql.com/doc/internals/en/secure-password-authentication.html#packet-Authentication::Native41) it seems like this module's doing the right thing:

SHA1( password ) XOR SHA1( "20-bytes random data from server"  SHA1( SHA1( password ) ) )

I wonder if there is something going on with encoding on any of those pieces. Do you know what the working ones are doing?

I'm unfamiliar with the internals of MySQL authentication, perhaps setting up a series of test cases and confirming the functionality of the various components in Auth.js might be a good starting point.
Particularly with type inference built into javascript when a string is broken down into respective bytes and one byte happens to be a number?
nr = this.xor32(nr, this.add32(this.mul32(this.add32(this.and32(nr, [0, 63]), [0, add]), [0, c]), this.shl32(nr, 8)));
Where c is the current password byte being processed and c could be 'a' or c could be '3' and is then submitted to functions which operate on it with ^ or +. In these instances it would be easy for '3' to by interpreted as 3 rather than its ASC-II value 51.
Or with utf8 conversion creating some variances in the entered password from its byte represented value?
 var stage1 = sha1((Buffer.from(password, 'utf8')).toString('binary'));
Not saying I've found the answer as I haven't tested this yet, but these are the two scenarios I can think of having looked over what's going on in there briefly.

Yea, I was just doing that and I think everything checks out. Here is the different stages for that password:
20 bytes from server: 0x703d7c796e3a745a483a28565c4b4041624d3b7e
password: 0x6831675773315d275f6e626c785b6145282a3b3d6d643f3e61 ("h1gWs1]'_nblx[aE(*;=md?>a")
sha1(password): 0x6a0b9be92e5bb4d34117abfb8bbf0ede6636165d
sha1(sha1(password)): 0xb3f769264b2a53597cad44ed134e01ef95352db5
20 bytes <concat> sha1(sha1(password)): 0x703d7c796e3a745a483a28565c4b4041624d3b7eb3f769264b2a53597cad44ed134e01ef95352db5
sha1(20 bytes <concat> sha1(sha1(password))): 0x1bbee829d46fad7e04cac9c3ef657871342f72a0
0x6a0b9be92e5bb4d34117abfb8bbf0ede6636165d xor 0x1bbee829d46fad7e04cac9c3ef657871342f72a0: 0x71b573c0fa3419ad45dd623864da76af521964fd
    0b0110101000001011100110111110100100101110010110111011010011010011010000010001011110101011111110111000101110111111000011101101111001100110001101100001011001011101
    0b0001101110111110111010000010100111010100011011111010110101111110000001001100101011001001110000111110111101100101011110000111000100110100001011110111001010100000
    0b0111000110110101011100111100000011111010001101000001100110101101010001011101110101100010001110000110010011011010011101101010111101010010000110010110010011111101

So

var stage1 = sha1((Buffer.from(password, 'utf8')).toString('binary'));

gives the stage1 value as the hex form 0x6a0b9be92e5bb4d34117abfb8bbf0ede6636165d which certainly seems right, right? Is that the SHA1 you would expect for that password?

Another plan could be to figure out exactly which characters in the password are causing the issue, and then see which bits are 1 in those characters compared to the ones that work. You'd think if something was wrong with the routine it just won't work with any password, rather than only passwords with certain characters. Typical of Oracle (who remove the protocol docs from their site -- ugh) it's possible that the documentation itself may not actually 100% represent the algorithm in some way?

MySQL stores the sha1(sha1(password)), and selecting it shows that the mysql library does at least get that value correct:
$ docker exec mysql-1842 mysql -e 'select password from mysql.user where user = "test_user"'
password
*B3F769264B2A53597CAD44ED134E01EF95352DB5

Ok, sorry, I was on a goose chase for no reason... I didn't realize that I granted a user test_user@localhost by the user denied was 'test_user'@'172.17.0.1'. Of course it was denied, because test_user was not allowed to connect from 172.17.0.1 in the setup I made. I re-did the setup and just allowed any host, instead of only allowing localhost. It works 100% fine with this module and the password you gave, as in I cannot reproduce the issue. Please take a careful look at my setup below and let me know exactly what is different between our setups so I can take another look:
$ npm i mysql
+ mysql@2.15.0
added 11 packages in 1.302s

$ node -v
v8.3.0

$ cat test.js
const mysql = require('mysql')

const connection = mysql.createConnection({
  user: 'test_user',
  password: "h1gWs1]'_nblx[aE(*;=md?>a"
})

connection.query('SELECT 1', (err, rows) => {
  if (err) throw err
  console.log(rows)
  connection.end()
})

$ docker run -d --name mysql-1842 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -e MYSQL_DATABASE=test -p 3306:3306 mysql:5.6
20dd9e97d881a8559523476d790a0330a9221ce4801d651080d39a5e58c7dc24

$ docker exec mysql-1842 mysql -e 'select version()'
version()
5.6.37

$ docker exec mysql-1842 mysql -e 'grant all privileges on *.* to "test_user" identified by "h1gWs1]'"'"'_nblx[aE(*;=md?>a"'

$ docker exec mysql-1842 mysql -u test_user -p'h1gWs1]'"'"'_nblx[aE(*;=md?>a' -e 'select version()'
version()
5.6.37
Warning: Using a password on the command line interface can be insecure.

$ node test.js
[ RowDataPacket { '1': 1 } ]

I'm going to close this since I haven't heard back in 30 days.

authors: ChrisHughes dougwilson


text:
affectedRows and changedRows are undefined in SELECT query result

I'm using mysql v2.17.1 to access MySQL v5 DB. Here are the screenshots from my project:

In my code I log the results from a simple SELECT query: select * from users; but both affectedRows and changedRows are undefined

Please help. Thank you in advance.

The mysql protocol does not return those values for SELECT statements.

authors: dougwilson hieuhlc


text:
[Inquiry] Killing a Node.js frequently while developing

I have a question. While I am developing my node.js server, I will be killing and restarting the server by either a SIGKILL using CTRL+C or via Nodemon which would restart the Node.js server.
Is this safe? I just want to make sure so I don't have problems down the line.
Thanks!

Hi @PolymorphiK this module is just standard JavaScript and itself doesn't have issues with that.

authors: PolymorphiK dougwilson


text:
Added defaults.timeout to default config.

This fixes https://github.com/mzabriskie/axios/issues/111, as suggested by @lovell.
Not sure what versions we want to support so haven't altered .travis.yml. Tests pass locally and fixes the issue for me.

do you have this fix in any tag? i'm getting same error here

@krolow just barely merged it. Will be releasing a new version with fix soon.

alright looking for to get the release :+1:

authors: bananaoomarang krolow mzabriskie

repo: mzabriskie/axios


text:
🛑 mziyut.com is down

In 07a10d4, mziyut.com (https://mziyut.com) was down:

HTTP code: 500
Response time: 81 ms

Resolved: mziyut.com is back up in 2d9fbf3 after 17 minutes.

repo: mziyut/upptime

license: MIT


text:
Consultation on the parameters of the 'spectral library search' module

Hi, l came cross the MS2 spectral matching or searching problems, for instance, L-arginine has good MS2 spectral by QE-pluspositive mode acquisition. Fragments like m/z 158.0925, 130.0964,116.0706 ,70.0652 etc. were well generated by HCD collision of L-Arginine, However, mzmine did not recoanize L-arginine ms2 or has no match to Arginine or no match with m/z 175.1190 (l can see it in the feature list). We set quite large m/z tolerance range. Can you kindly work out the possible reasons? Thanks

Did you create the batch with the mzwizard?
The feature resolver step has MS2 grouping activated with wide enough tolerances?

Yes, I can match some MS2. Do we need to expand some mz tolerances，such as 20ppm.

Did you create the batch with the mzwizard? The feature resolver step has MS2 grouping activated with wide enough tolerances?

10 ppm mz tolerance is really wide, dont you think it is enough?

Quadrupol isolation of precursor ions is usually not very narrow thats why 0.01 or even more is good. Sometimes the data is not correctly recalibrated leading to difference between measured mz and precursor mz in MS2 metadata.
You can also try to change the retention time filter and allow wider window.

Or maybe your mass detection on MS2 is too high of a noise level. You can use a factor of lowest signal with 2 or even just 1 to include all signals for now

Thank you, is that possible that you give a try? I will upload one MS2 raw data and batch file.  We tried many parameters and have no luck unfortunately.

repo: mzmine/mzmine


text:
range bug: unable to move value1 pointer once it's been positioned to value2 pointer

Thank you for this great slider! I will be using it on tld-list.com and some other projects.
Bug:
When you have a range (i.e. value1 and value2), and you slide the value1 pointer to the same position of the value2 pointer, the value1 pointer cannot be moved again. If the value2 pointer is in the max right hand position, both pointers become locked.
Reproduce:

Go here: https://jsfiddle.net/7ok4atrj/
Slide the left pointer (value1) all the way over to the right, on top of the value2 pointer. Release mouse button.
Attempt to move value1 pointer.

Firefox 102.0.1 and Chrome 114

Thank you for the feedback. The issue should be fixed in v4.0.28
https://jsfiddle.net/rosehip/p1f7qtm9/1/

authors: mzusin timbowhite

repo: mzusin/toolcool-range-slider


text:
Try out Fjall and see how it compares to redb for blob storage

https://crates.io/crates/fjall
https://discord.com/channels/949724860232392765/982212661964046357/1287734714202853416

:wave: I have recently been reading into iroh
Let me know how it goes!


text:
[sentry]: pointless skipOperation

https://github.com/n1ru4l/envelop/blob/352c921a83478cfeaede173d77ff6ab3b1114c4a/packages/plugins/sentry/src/index.ts#L109-L112
By default, skipOperation is resolves to isOriginalGraphQLError, which would always return false for args, which is never an error.

Can you provide a failing test for this? skipOperation is () => false by default. 🤔
https://github.com/n1ru4l/envelop/blob/352c921a83478cfeaede173d77ff6ab3b1114c4a/packages/plugins/sentry/src/index.ts#L93

Can you provide a failing test for this? skipOperation is () => false by default. 🤔
https://github.com/n1ru4l/envelop/blob/352c921a83478cfeaede173d77ff6ab3b1114c4a/packages/plugins/sentry/src/index.ts#L93

Hm, right... 🤔
I must have confused it with const skipError = pick('skipError', defaultSkipError); the three times I checked before opening this lol


text:
Add StatementResponse to the api

Hi, just used your crate in https://github.com/gklijs/ksqlDB-GraphQL-poc/tree/main/rust-data-creator which is a wip. It worked great, but for now I just use serde_json::Value as the return type fro the execute_statement. I think it would be nice if the StatementResponse which is already defined in the Examples would be part of the api.
There might be valid reason not to do this. Like it might break, but you could always use another return type if you wish to do so.

Thanks for the explanation, I'll give create a try and you know how it goes. Just FYI I'm just started using KsqlDB, and didn't even look up the actual Rest api yet.

It worked nicely, I already refactored a bit, so the ksqldb part is now in a separate module. https://github.com/gklijs/ksqlDB-GraphQL-poc/blob/main/rust-data-creator/src/ksqldb.rs I shared it on the Confluent slack, and they also send a tweet about it https://twitter.com/ksqlDB/status/1377640035957186568.
Nice work, thanks a lot.

Glad to hear it! Awesome stuff!
Thanks, I really appreciate the shout out. Let me know if you come across any features you'd like to see in the crate.

authors: gklijs naamancurtis

repo: naamancurtis/ksql-db-rs


text:
Variable Positioning

I would love it if I could move it a bit down (/right) so that it's not below a more important overlay. I was thinking of something like how other mods do it, with corner presets and x&y offsets after that.

Hello, I really love that idea. And I would even add scaling 🥰
Greetings.

I have tried a small implementation for config. This requires you have modmenu, but you can set the X,Y offset of the HUD in config.
but, I haven't been able to test it yet because I can't run Minecraft due to personal GPU issues.

Later today I'll download it or pull the branch and build it and try it out, I'll tell you how it goes.

This time I simply allowed x,y values to be put in the config, so if you know of a better way or implementation of this, please let me know :pray:
or is this enough?

This time I just simply made it so I can put x,y values in the config, so if you know of a better way or an implementation of that, please let me know :pray:
or is this enough?

Here is artifacts of latest commit.
Compiled artifacts for b52b5ba6609914fa1ceaf037866937d43ec6740b.zip

So I checked it out, and it is enough for what I really needed, but I noticed a problem. When I try to edit the x value, it Alt+Tabs out of the game.

It swiyches out of the game when I click on th input field in the modmenu settings. But only for the x value not for the other one.

@obp3ter Just to be sure, could you tell me what version of modmenu you have?
and, I did not make it clear due to my mistake, but perhaps the Cloth Config API also needed to be installed. Please let me know the version of this as well.

Cloth Config API 7.0.72 & Mod Menu 4.0.0

@obp3ter hmm, I still couldn't reproduce it. It may be a bug in Cloth Conifg or something?
I think it is unlikely that this is a bug in OffersHUD unless it is fundamentally wrong, since OffersHUD only uses a simple usage.
https://github.com/naari3/offers-hud/blob/main/src/main/java/net/naari3/offershud/config/ModConfig.java
https://github.com/naari3/offers-hud/blob/main/src/main/java/net/naari3/offershud/config/ModMenuIntegration.java
I will try to reproduce tomorrow on another environment(macOS).

I still have my doubts, but I will merge the PRs for now. https://github.com/naari3/offers-hud/pull/27

Well, I'm using Windows so I don't think the mac testing is relevant for this, I'll reinstall everything, maybe something helps.

@mrniddala I also implemented scaling features at #28

With this version, I don't have the problem anymore, and I don't see why it changed.

Released on CurseForge, modrinth and GitHub Releases. thanks! @obp3ter @mrniddala
https://www.curseforge.com/minecraft/mc-mods/offershud/files/3841741
https://modrinth.com/mod/offershud/version/v1.1.0
https://github.com/naari3/offers-hud/releases/tag/v1.1.0


text:
Tips for fixing Unhandled exception

Hello and thank you this very nice thing!
I've noticed that if the ip number is wrong (DHCP or typo) the node dies with unhandled exception.
Can you give me a hint where to look for this, maybe you have an idea how to fix it?
I'm running it with node js v4, so I've done some very minor modifications of your code, I think it is not related.
Thanks in advance
Jens
29 Sep 15:03:27 - [info] Started flows
Error: connect ETIMEDOUT 192.168.1.31:8009
29 Sep 15:03:29 - [red] Uncaught Exception:
29 Sep 15:03:29 - Error: connect ETIMEDOUT 192.168.1.31:8009
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:14)

Well that seems to be just bad error handling on my side. I am trying to fix it for the newest version.

I've fixed this in a pull request & a huge improvement. Please merge.  #3

thx. merged and closed :)

You can download version 0.0.4 from NPM which contains the fixes and enhancement

Hello and thanks for the update.
Unfortunately, it still crashes with NodeJS v4 if the IP of the GH device is invalid. (there's only v4 on the platform I'm using). The crash happens 30-60 sec after the text was sent.
Maybe you can give me some hints on how to prevent the crash, I dont mind 'ugly' fixes like adding try catch or to add a test of the tcp connection before invoking the real action.
Error: connect ETIMEDOUT 192.168.1.31:8009
24 Oct 09:37:49 - [red] Uncaught Exception:
24 Oct 09:37:49 - Error: connect ETIMEDOUT 192.168.1.31:8009
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:14)

Unfortunately this error lies deep inside one of the dependency node modules, which I have not figured out exactly yet.
The quick workaround is to use Exception node built-in in NodeRED.
You can find more details here
https://developer.ibm.com/recipes/tutorials/nodered-exception-handling-framework/#r_step5
I'm not sure if it's possible to perform self catching within this node. I'll do some research.

Thanks for the idea! I tried it immediately but neither Catch "All Nodes" or Catch "selected nodes=GoogleNotify" did the job. Too bad.
What do you think about the not-very-elegant solution to test the IP before continuing? (where and which api's)
Jens

Do you mind re-opening this issue , it is still a problem with the crash if the IP is incorrect.

Well it is not closed. I closed the duplicate one which had less info.

authors: jenskastensson nabbl torinnguyen


text:
Fixed syntax errors in fr.lang.php

Added a backslash before two instances of single-quotation marks ( ' ), one in each of lines 24 and 26. They are supposed to be part of the localised string, but compiler would interpret it as string opener/closer.

+1

repo: nabeelio/phpVMS


text:
Image Upload

A button to upload images and automaticly put the image link
so that there is not needed to upload it via ftp

For where, pages?

authors: nabeelio vangelisb

repo: nabeelio/phpvms


text:
Error with /NToastNotify/js/dist/toastr.js?v=201803200122

Hey there, I don't know if I made a mistake configuring the new version (downloaded v5.0) but it seems like the view component tries to load the toastr.js file from NToastNotify folder but it does not exist within wwwroot so it errors out...
Would you have an idea of what could cause that issue?
Thanks in advance.

It looks like the tilde (~) is evaluated at runtime and corresponds to wwwroot in my case, don't know how to solve this issue externally to NToastNotify

Or if you could share the whole startup class code it would be better. Possible issue could be with the StaticFiles middle ware.

You need to add NToastNotify as middleware in the configure method so add the app.UseNToastNotify();  line before .UseMvc()
 // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
      app.UseNToastNotify();
      app.UseMvc();
}

Yup I added NToastNotify as you mentioned and also just before useMvc() but it still gives the same error.
As you also said I effectively use the static files middleware,  what could be the root cause ?

Could you share your startup code please?

I do t have access to it right  now but I will post it tomorrow morning :)

Ok so here is the Configure method of the startup code:
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)         {
            app.UseAuthentication();

            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
                app.UseDatabaseErrorPage();
                app.UseBrowserLink();
                app.UseMiddleware<StackifyMiddleware.RequestTracerMiddleware>();
            else
            {
                //app.UseStatusCodePagesWithReExecute("/Home/CustomErrorPages/{0}");
                app.UseExceptionHandler("/Home/Error"); // Handles runtime errors (caused by our code)
            }
            // Localization:
            var locOptions = app.ApplicationServices.GetService<IOptions<RequestLocalizationOptions>>();
            app.UseRequestLocalization(locOptions.Value);

            app.UseStaticFiles();

            app.UseNToastNotify();

            // Main MVC with default route template
            app.UseMvc(routes =>
            {
                routes.MapRoute(
                    name: "default",
                    template: "{controller=Home}/{action=Index}/{id?}");
            });
}

Well everything looks normal here.  Cannot see anything that may cause this issue. What about your csproj file? Can you share that as well? It could be a SDK/framework version issue but I am not sure. So just to reconfirm the only error you are getting is a 404 not found error while getting /NToastNotify/js/dist/toastr.js?v=201803200122 from the server. Right?

Hmmm... I will have to double check. But if I'm not wrong, yes the 404 was the only error I had (client side), I will take a look at the server side logs.

Just checked, I only have a 404, both on client and server side.
Here is my csproj file:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <UserSecretsId>HiVoLab-D34D16E6-9BAB-48F5-8745-1C6FD18973D1</UserSecretsId>
    <TypeScriptToolsVersion>2.6</TypeScriptToolsVersion>
    <!--<PreserveCompilationContext>true</PreserveCompilationContext>-->
  </PropertyGroup>

  <PropertyGroup>
    <MvcRazorCompileOnPublish Condition="'$(Configuration)' == 'Release'">true</MvcRazorCompileOnPublish>
    <!-- If set to false, this will keep the refs directory in the publish output (required to compile the views, useful in case we need to debug in Dev. environment on Production server) See: https://github.com/aspnet/Mvc/issues/6021-->
    <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>
    <AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>
    </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Localization.AspNetCore.TagHelpers" Version="0.3.0" />
    <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.6" />
    <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.3" PrivateAssets="All" />
  </ItemGroup>

  <ItemGroup>
    <!-- EF Core .NET CLI tools, includes dotnet-ef -->
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" />
    <!-- Command line tool to manage user secrets for Microsoft.Extensions.Configuration. -->
    <DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="2.0.0" />
    <!-- Build-time references required to enable Razor view compilation as part of building the application. -->
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" Version="2.0.3" PrivateAssets="All" />
    <!-- Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views. -->
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
  </ItemGroup>

  <!--Custom added packages-->
  <ItemGroup>
    <PackageReference Include="GenFu" Version="1.4.22" />
    <PackageReference Include="Humanizer" Version="2.2.0" />
    <PackageReference Include="NodaTime" Version="2.2.4" />
    <PackageReference Include="Sendgrid" Version="9.9.0" />
    <PackageReference Include="NToastNotify" Version="5.0.0" />
    <PackageReference Include="StackifyMiddleware" Version="2.1.1" />
    <PackageReference Include="WkWrap.Core" Version="1.0.7" />
    <PackageReference Include="AutoMapper" Version="6.2.2" />
    <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="3.2.0" />
    <PackageReference Include="Newtonsoft.Json" Version="11.0.1" />
    <PackageReference Include="ZXing.Net" Version="0.16.2" />
  </ItemGroup>

  <ItemGroup>
    <None Include="wwwroot\css\*" />
    <None Include="wwwroot\documents\*" />
    <None Include="wwwroot\fonts\*" />
    <None Include="wwwroot\images\*" />
    <None Include="wwwroot\js\*" />
    <None Include="wwwroot\WkHtmlToPdfRoot\*" />
    <Compile Remove="Shame\**" />
    <Content Remove="Shame\**" />
    <Content Remove="Views\DeprecatedViews\*" />
    <EmbeddedResource Remove="Shame\**" />
    <None Remove="Shame\**" />
  </ItemGroup>

  <ItemGroup>
    <Content Remove="wwwroot\images\DieleXLab-light-horizontal.svg" />
  </ItemGroup>

  <ItemGroup>
    <None Remove="wwwroot\WkHtmlToPdfRoot\footer-fr.html" />
  </ItemGroup>

  <ItemGroup>
    <Content Include="src\Libs\Candlestick\candlestick.min.css">
      <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
    </Content>
    <Content Include="src\Libs\Candlestick\candlestick.min.js">
      <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
    </Content>
  </ItemGroup>

  <ItemGroup>
    <Folder Include="src\Libs\Datatables\Dist\" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Update="Resources\SharedResources.fr.resx">
      <Generator>ResXFileCodeGenerator</Generator>
    </EmbeddedResource>
    <EmbeddedResource Update="Resources\Views\Account\Login.en.resx">
      <Generator>ResXFileCodeGenerator</Generator>
    </EmbeddedResource>
    <EmbeddedResource Update="Resources\Views\Account\Login.fr.resx">
      <Generator>ResXFileCodeGenerator</Generator>
    </EmbeddedResource>
    <EmbeddedResource Update="Resources\Views\Home\Index.fr.resx">
      <Generator>ResXFileCodeGenerator</Generator>
    </EmbeddedResource>
    <EmbeddedResource Update="Resources\Views\SampleReports\SingleResultReport.fr.resx">
      <Generator>ResXFileCodeGenerator</Generator>
    </EmbeddedResource>
    <EmbeddedResource Update="Resources\Views\SampleReports\_SampleGenericInformationPartial.fr.resx">
      <Generator>ResXFileCodeGenerator</Generator>
    </EmbeddedResource>
  </ItemGroup>
</Project>

Ok I found the problem (not caused by NToastNotify), it is caused by my web.config file which redirects requests for static files to be served directly by IIS, which seem to be unable to handle the embedded views correctly, I will have to dig a little deeper to find a solution, but it does not rely/depend on NToastNotify so I will close this issue.
Thanks for your time and ideas :)

@os1r1s110 Have you found a solution for this?
The project works fine on my development machine, but when I publish to production, I started to see those errors.

I found the problem.
I was using WebOptimizer (LigerShark.WebOptimizer.Core) but only in production.
This was causing the error.

authors: arapinha nabinked os1r1s110

repo: nabinked/NToastNotify


text:
teracopy@3.9.2: hash check failed

Installing 'teracopy' (3.9.2) [64bit] from naderi bucket
teracopy.zip (8,0 MB) [=======================================================================================] 100%
Checking hash of teracopy.zip ... ERROR Hash check failed!
App:         naderi/teracopy
URL:         https://www.codesector.com/files/teracopy.zip
First bytes: 50 4B 03 04 14 00 00 00
Expected:    f508babcf303682c95d7b6abe35c1c379d9f0dc81da91a040525331f01d14981
Actual:      2f38a23c854b953238030864e9ed3c39fd8f158fac480191b539efef349fb0c9

@reaseno Thank you for reporting.

authors: naderi reaseno

repo: naderi/scoop-bucket

license: Unlicense


text:
Instructions

Hi,
could you please add more instructions how to use it?
Thanks

I made a wiki of py2rb usage example.
Will this be your helpful?

authors: BlazPerus naitoh


text:
about --gradient_checkpointing setting for fine-tuning this model

I encountered a critical issue when attempting to fine-tune the model with gradient checkpointing enabled. The training crashes with the following traceback:
torch.utils.checkpoint.CheckpointError: torch.utils.checkpoint: Recomputed values for the following tensors have different metadata than during the forward pass.

It seems that we need to use memory.reset() before forward, so why you can enable --gradient_checkpointing for training? Could this be related to enabling ZeRO Stage 3? Any tips for avoiding such issues would also be helpful. Thank you!

The current code does not support ZeRO stage 3. Refer to our newer code. Gradient-checkpointing is necessary to save GPU memory during training.

Thanks for your answer ! I wonder why it doesn't support ZeRO stage 3. Is it that the current trainer does not support ZeRO stage 3, or is it that our memory module design does not support it? Moreover, I really appreciate the ingenious design of this memory module, but I've always been puzzled as to why it must restrict the batch_size to 1?

Our new code supports stage 3. When batch size bigger than 1, there may be padding tokens. I don't want to compress padding tokens. So I restrict the batch size to 1.
However, it is possible to modify the beacon module to ignore the padding tokens so as to support bigger batch size. It is also possible to designate the positions to compress so that the packing technique can be used. Currently I have no time to implement all these functionalities but hopefully I can finish them later.

repo: namespace-Pt/UltraGist


text:
Allow custom className for root element

Is your feature request related to a problem? Please describe.
The root element has the react-calendar-timeline class name, which can't be customised. (There's also the rct-outer class name underneath it as well.)
Describe the solution you'd like
I'd like to be able to pass className or additionalClassName to the top-level Timeline.
Describe alternatives you've considered
It could be possible to override the class name and change it entirely, rather than just adding a class. I have no particular preference on this.

@rmccue thank you. This will be released later today.

released in 0.28.0

authors: Ilaiwi rmccue

repo: namespace-ee/react-calendar-timeline


text:
Fix restart of container

PR to fix #8.
Fix was slightly more complicated (to fix the same issues with the TLS enable)

Looks good to me and merging now, thanks @msroest

repo: namshi/docker-smtp


text:
"⚡ Instant Clone & Deploy" TailwindCSS Example not working

This is the error that Vercel gives.

please try mode 16

authors: chen-rn nandorojo

repo: nandorojo/solito


text:
🛑 deterre.ch is down

In 8be0770, deterre.ch (https://deterre.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: deterre.ch is back up in 3fee12b after 9 minutes.

repo: nanhosting/monitoring


text:
Current block + unchecked blocks greater than total blocks

Description of bug:
Current block + unchecked blocks total to something greater than the current
Count from https://www.nanode.co/blocks at time of writing. 7,526,602
Current block my node is at: 7526527
Current uncheck blocks is at: 575
Shouldn't the total blocks always be equal to the current block plus the unchecked blocks?
I attempted to clear unchecked blocks. Which seemed to fix the issue but its back up to a few hundred over after about 40 minutes
http://104.131.186.33/
Used the following command to get a live block count from the RPC server.
curl -d '{ "action" : "block_count" }'
Steps to reproduce the issue:

Installed docker node
Let run for >24hours

Describe the results you received:
Block count seems incorrect and a large number of blocks are marked as unchecked.
Describe the results you expected:
Current block and unchecked to equal total blocks. Expected node to eventually run through all the unchecked blocks.
Additional information you deem important (e.g. issue happens only occasionally):
Environment:
Ubuntu 16.04.3
Docker version 17.12.0-ce, build c97c6d6
Node version 11.2
logs
Log full of
[2018-04-05 04:33:01.059488]: Block BLOCK_ID was republished to peers

nanodes node also has unchecked blocks, which means their blocknumber there is there count not count+unchecked so you shouldnt worry

repo: nanocurrency/raiblocks


text:
PWM available wrong on Arduino Mega

Running the following code:
for i in range(54):
    print(i, my_arduinotree.pin.get('D%d'%i).pwm.available)

results in
0 False
1 False
2 False
3 False
4 True
5 False
6 False
7 False
8 False
9 False
10 True
11 True
12 True
13 True
14 False
15 False
16 False
...

A lot of those should actually be True as seen here "PWM: 2 to 13 and 44 to 46" at https://www.arduino.cc/en/Main/arduinoBoardMega

You are right, advanced PWM functions are hardcoded for Uno compatible boards.
Arduino Mega implementation is missing.

authors: Krastanov ponty

repo: nanpy/nanpy


text:
Error parsing empty toml entry

Description

{} cannot be parsed as Angle

Was not the bug of N-CONST.


text:
Improvements to Readme

As soon as the Plugin is availble on PyPI the installation instructions need be changed. Also a short describtion with pictures or a video could be added, as well as some how to's for the main functionalities.

how to's have been added.

repo: napari-storm/napari-storm


text:
Documenting how to get button information from MouseEvent

📚 Documentation
The information of how to get which button generated the event can be found here
And here is an example using napari:
import napari

viewer = napari.Viewer()
pt_layer = viewer.add_points()

@pt_layer.mouse_drag_callbacks.append
def _click_callback(layer, event):
    if event.button == 1:
        print('left')
    elif event.button == 2:
        print('right')
    elif event.button == 3:
        print('middle')

napari.run()

We might also want to consider using our own napari mouse event that would give us additional control over what aspects of this event are available

This information is found in the vispy docs here https://vispy.org/api/vispy.app.canvas.html?highlight=mouseevent#vispy.app.canvas.MouseEvent along with some additional properties added here https://github.com/napari/napari/blob/ea3fadcfbc54d630271e0e32f151371dfb499a8b/napari/_qt/qt_viewer.py#L900-L919
I think it would be good to get this stuff added here too https://napari.org/howtos/connecting_events.html#listening-for-mouse-events - maybe @kevinyamauchi and @alisterburt can help with some of the details here as they've used this API a lot

authors: JoOkuma sofroniewn

repo: napari/napari


text:
✨ Allow layer list view to be more flexible

Overview of design need

Is there an existing GitHub issue this design work pertains to?
More than two layers in the layerlist should be visible without scrolling on small screens #1710
Heuristic: Layer panels layout #18
Heuristic: Layer controls relationships #19

In a sentence or two, describe the problem to be solved for users
There is often extra, unused space below the layer controls, and meanwhile the layers list is getting cut off, forcing user to scroll to see more than two layers in the list. Ideally the heights of the layer controls and layer list would adjust or would be adjustable, or else might be set a little higher so more layers can be shown and less blank layer control area (but need to verify the varying heights of layer controls, per layer type).

What level of design is needed? (Choose all that apply)

[ ] User experience research:  high-level recommendation/exploration of user needs, design heuristics, and / or best practices to inform a design experience
(Use this option when you feel there’s a challenge to be solved, but you’re curious about what the experience should be — may involve research studies to understand challenges/opportunities for design)
[ ] information flow / conceptual: organizing and structuring of information flow and content, including layout on screen or across multiple steps
[X] Visual: creating mockups, icons, etc
(If choosing this level alone, it means that the content to be mocked up and its organization is already known and specified)

Is design a blocker?

[ ] Yes: engineering cannot proceed without a design first
[X] No: engineering can create a first version, and design can come in later to iterate and refine

If selecting Yes, how much design input is needed to unblock engineering? For example, is a full, final visual design needed, or just a recommendation of which conceptual direction to go?
T-shirt size

[X] ●○○○○ XS: able to be done in a typical workday or two
[ ] ●●○○○ S: able to do within one sprint, if also working on other things in the sprint
[ ] ●●●○○ M: able to do within one sprint, if it is the sole focus
[ ] ●●●●○ L: will likely take more than one sprint to complete, but less than two
[ ] ●●●●● XL: a very large experience to be determined or overhauled, will need to be broken down further

Ideally the heights of the layer controls and layer list would adjust or would be adjustable,

I think one thing we definitely want to avoid here is "reflow" every time someone selects a different layer.  If the layer controls start having variable height based on the number of widgets in them, then it the layers themselves would "jump around" as you selected different ones.  If the layer controls were below the layers, that might work, but I'm not sure that feels as natural...  thoughts?

Yeah jumping of top of layer list top would not be ideal. I'm not sure about having the layer controls below the list or not. It's hard to tell if I'm just used to it being how it is now. But one argument for teh controls being below the layers list is that they are dependent upon the layer selected. So it could actually be more intuitive if they controls aer lower, since they are a dependency on what is selected (could be above them). But not sure. Ideally the user would ahve the control to change the height of each section relative to each other... @tlambert03 or @goanpeca (or others), do you know if it's possible to make the height of layer controls relative to height of layers list adjustable in UI by user, while they are in panel form?

@tlambert03 or @goanpeca (or others), do you know if it's possible to make the height of layer controls relative to height of layers list adjustable in UI by user, while they are in panel form?

pretty much everything is possible! :)  the ratio of dock widget heights can be adjusted with QtMainWindow.resizeDocks


text:
Remove slow decorator cont.

🧰 Task
Following on from #3705 it would be nice to remove our remaining uses of @pytest.mark.timeout as it continues to cause spurious test fails - see discussion in https://github.com/napari/napari/pull/3734#issuecomment-999786044.
The remaining uses of @pytest.mark.timeout cover cases where we want to make sure that computation is not triggered on a full dask array for things like calculating our contrast limits - see https://github.com/napari/napari/blob/3069f2dcc94a00c9ae4643fd171325ac2afb05dd/napari/layers/utils/_tests/test_layer_utils.py#L76-L83 for example.
We added this test as we were previously having lots of slowdowns at this point.
I can see a couple different options.

We could just drop the decorator. Tests will keep passing. If we accidentally trigger compute on full array then we'll get massive arrays generated and test suite will fail ungracefully.
We could drop the test entirely, leaving regressions untested. (But then hopefully enable more benchmarking with asv where we'd see a temporal regression).
Rewrite the test so that it doesn't have the timeout but will fail more gracefully by potentially letting us check for compute using smaller arrays that won't crash the system. We might be able to use something modified off of https://github.com/pydata/xarray/blob/5e8de55321171f95ed9684c33aa47112bb2519ac/xarray/tests/test_dask.py#L39-L43 and https://github.com/pydata/xarray/blob/5e8de55321171f95ed9684c33aa47112bb2519ac/xarray/tests/init.py#L127-L132 from xarray.

At this point I'm open to any of those three options. My least favorite is (1) as it seems like just kicking a problem down the road. My most favourite is probably (3), but that might take some work.
I can't imagine we're the first project to try and write a test like this either though, so we might be able to ask the dask / xarray folks for help.
What do @GenevieveBuckley @tlambert03 @jni and others think?

Yeah, I like option 3 best. @tlambert03 had a pattern somewhere that counted the number of actual chunk computations in a dask array, which can probably be reused here? I think I wrote this test (?) a while back before I'd seen that pattern.

Dumb dask newbie idea: could we use delayed to wrap a function that bumps a counter of some sort, then make a dask array out of that? This way we can just look at the counter to see how many times it was called.

not dumb!  that's pretty much exactly the pattern that @jni is referring to.  we use it here:
https://github.com/napari/napari/blob/b88926c1fe14d2a938d059d8cf8d4da6043a324f/napari/layers/_tests/test_dask_layers.py#L18-L30
(we can't just use @delayed because we want it to look like an array, so we use map_blocks)

actually, just realized there's a fixture below that you can probably reuse:
https://github.com/napari/napari/blob/b88926c1fe14d2a938d059d8cf8d4da6043a324f/napari/layers/_tests/test_dask_layers.py#L88
(that one does use delayed along with da.stack to make it like an array)

authors: brisvag jni sofroniewn tlambert03


text:
Fix #718, add user-specified extra modules to build

Describe the contribution
Add a new setting that can be set in targets.cmake, to enable users to add extra custom functions/modules to CFE core executable.
This can be used, among other things, for future support of a modular/customizable message header structure.
Fixes #718
Testing performed
Build and execute CFE, confirm normal operation/sanity check.
Build and execute all unit tests, confirm passing.
Expected behavior changes
Any user-supplied library can be added to the build.
System(s) tested on
Ubuntu 20.04
Additional context
This general concept can also be used to provide replacement implementations of core modules (e.g. TBL, FS) with some additional tweaking to exclude those modules from the subsequent build of CFE core.
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Withdrawing this one, see PR #740 instead which also includes this and some other things.

repo: nasa/cFE


text:
Error building frontend app

Have been running into this error below building the frontend app npx parcel build src/index.html --no-cache. I'm running node version 18.15. Is there any dependency that I misconfigured?
The error message is:
Error: Invalid regular expression: /^[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*$/: Invalid property name in character class at /openplayground/app/node_modules/@parcel/packager-js/lib/ScopeHoistingPackager.js:91

Weird, did you make any changes to the frontend code?

You can also try deleting parcel cache folder as well as node_modules folder and rebuild

Closing the issue due to inactivity. Feel free to reopen if needed.

authors: AlexanderLourenco shangqing-li zainhuda

repo: nat/openplayground


text:
Cannot decensor large video files

While testing the decensoring of a large video file (906MB, length: 22:16), I have run into an issue where the program stops
working while throwing an error that is has reached a memory limit of about 450MB. Previous testing with a much lighter file (7.25MB, length: 0:27) reveals that the program does indeed work as intended (provided you use a workaround for issue #11).
This is far below what my machine should be capable of handling, I would at least have expected it to do a few gigabytes, given that I have 32GB of RAM and 11GB of VRAM.
PC specs:

CPU: Intel i7-9700k
GPU: Nvidia GeForce RTX 2080 Ti
RAM: Corsair Vengeance LPX 32GB (2 x 16GB) DDR4 3000MHz

CPU-Z full PC specs:
specs.txt
Here's the relevant commandline output:
2020-06-29 14:05:00.125065: I tensorflow/core/common_runtime/bfc_allocator.cc:816] Sum Total of in-use chunks: 437.27MiB
2020-06-29 14:05:00.127624: I tensorflow/core/common_runtime/bfc_allocator.cc:818] total_region_allocated_bytes_: 458508544 memory_limit_: 458508696 available bytes: 152 curr_region_allocation_bytes_: 917017600
2020-06-29 14:05:00.131488: I tensorflow/core/common_runtime/bfc_allocator.cc:824] Stats:
Limit:                   458508696
InUse:                   458508544
MaxInUse:                458508544
NumAllocs:                     908
MaxAllocSize:             51380224

2020-06-29 14:05:00.135537: W tensorflow/core/common_runtime/bfc_allocator.cc:319] ****************************************************************************************************
2020-06-29 14:05:00.138928: W tensorflow/core/framework/op_kernel.cc:1479] OP_REQUIRES failed at constant_op.cc:77 : Resource exhausted: OOM when allocating tensor of shape [] and type float
2020-06-29 14:05:00.141894: E tensorflow/core/common_runtime/executor.cc:641] Executor failed to create kernel. Resource exhausted: OOM when allocating tensor of shape [] and type float
         [[{{node roi_align_mask_1/truediv/x}}]]

Full output:
output.txt

Hello,
Try to close out as many processes as possible that are consuming VRAM.
I reccommend segmenting videos into clips, namely clips with visible mosaics. The resolution will also have an affect, if try lower resolution videos as well

Hi,
Splitting the video into segments works, it's just a pain in the ass to work with. Even then, a limit of only 450MB seems unjustified, there should be an option to increase this limit

Can you view the Task Manager's Performance tab, and see what the dedicated GPU memory usage is? My 2060 super utilizes 6.7 to 6.8GB of vram.
Keep in mind that loading and propogating any frame or image through a convolutional nueral net takes a massive amount of memory, that is not something I can change. The typical research gpus can have up to 12-16gb of vram available. This is why it is essential that you close out all possible background apps.
Otherwise, if its not the vram allocation then it could be some general memory allocation issue for the long video. Because each frame of the video must be processed, I highly recommend trimming the video to avoid making the AI waste processing on uncensored clips.

Idle GPU usage:

GPU usage while decensoring:

Here's what copying the performance tab outputs:
GPU 0

	NVIDIA GeForce RTX 2080 Ti

	Driver version:	26.21.14.4166
	Driver date:	06/12/2019
	DirectX version:	12 (FL 12.1)
	Physical location:	PCI bus 1, device 0, function 0

	Utilisation	4%
	Dedicated GPU memory	1,8/11,0 GB
	Shared GPU memory	0,1/16,0 GB
	GPU Memory	1,8/27,0 GB

The frustrating thing about this is that this error occurs after a bunch of hours, somewhere amidst the process. There is not even a hint about what those 450MB would refer to, since neither the GPU nor the RAM are particularly busy with this task

This is why you should edit the clips (Windows default has a video trimmer), because many of those hours are spent on trying to decensor a bunch of scenes that have nothing to censor. I don't know why your utilization is so low, but there are two phases to decensoring:
The first phase uses ESRGAN and performs resizing to calculate a decensored approximation, then the second phase determines what area needs to be decensored. This might be using your CPU, as there are some issues with this old ESRGAN architecture, CUDA, and the rtx Turing architecture.
The second phase uses MaskRCNN, which i have better optimized for GPU usage.
Either case, try out the Google Colab notebook for videos, you may get assigned a Tesla P100 which is quite powerful. If the esrgan workaround issue is still present, you can still edit code from the colab.

Well I guess colab doesn't like me:

Just to be clear: I have already done the decensoring through splitting the video, with both ESRGAN and DCP, where DCP has better results, but is more time consuming to work with. It's just an annoyance to not be able to put the whole thing in and simply wait.

In case you're interested in the results:
https://filetransfer.io/data-package/at4Ir1Kq

It seems that it is phase 2 where the GPU really has to work:

GPU 0

	NVIDIA GeForce RTX 2080 Ti

	Driver version:	26.21.14.4166
	Driver date:	06/12/2019
	DirectX version:	12 (FL 12.1)
	Physical location:	PCI bus 1, device 0, function 0

	Utilisation	5%
	Dedicated GPU memory	10,6/11,0 GB
	Shared GPU memory	1,0/16,0 GB
	GPU Memory	11,6/27,0 GB

as it seems, this works fine for small files, but not for large ones

Apparently I was wrong after all, it did finish the task with a large file:

Still, this raises the question, what the error on my first attempt was about and if this error occurs randomly. I have no clue what those 450 MB are referring to.

repo: natethegreate/hent-AI


text:
Add set-elem navigator

This is the set analogue to map-key. Used to change the value of a particular element in a set.
Open question as to what the behavior should be if the element does not exist in the set.

Implemented in master.

repo: nathanmarz/specter


text:
[+] Feature Request: -j | --json Output

Hi, thanks for this awesome cli/lib.
It would be nice if some of the cli (that produce output) had a option to output in json.
-p,--preview exsists, but a native -j,--json would be very handy as I currently have to use bash magic to parse the output.
I implemented a somewhat basic -j | --json output for ec2-ls at : https://github.com/Azathothas/libaws-cli/blob/master/cmd/ec2/ls.go
[
  {
    "name": "test",
    "type": "t2.micro",
    "state": "running",
    "id": "i-02f6dc5jk89cbdf23",
    "image": "ami-0cf2b4e026cdb7210",
    "kind": "ondemand",
    "security-group": "launch-wizard-2",
    "tags": ""
  },
  {
    "name": "ivn_ec2_arm_t4g",
    "type": "t4g.small",
    "state": "running",
    "id": "i-033f1321fff312130",
    "image": "ami-07564a09643c45542",
    "kind": "ondemand",
    "security-group": "launch-wizard-1",
    "tags": ""
  }
]

your cli is very cool!
typically i am either awking at the cmdline, or using libaws as a go sdk.
some things output json, but not all. might be nice to standardize output at some point, but not sure it's worth the effort. there are 153 cli entrypoints.
the cli is just a gateway to using the lib as a go sdk. for more serious use, always use the sdk directly.
infra-ls outputs yaml in a very standardized way. you can use it to list instances and everything else in your account. pipe it to yq.

authors: Azathothas nathants

repo: nathants/libaws


text:
Nested Form not visible in Edit Page

Hi Nathan,
I am having a Parent form but and one child form.
TemplateCode => Parent Form.
ChildTemplate => ChileForm.(This is a nested form which belongs to Parent Form)
Issue is while save record with no data in ChildTemplate, form is not getting displayed under edit page as it gets displayed in New Page.
So i just want a blank data to be appeared for ChildTemplate form when there is no data in ChildTemplate form so that user can enter records in edit mode.
Please Help.

Hi @apjanvekar, this is a good introduction, but very vague for me to help you find an error.
I do not understand the relations or the explicit behaviour that fails or is wanted.
Please show me the

actual associations and accepts_nested_attributes_for statements (check do you have a reject_if: :all_blank option?)
do you have relevant validations? that would block saving?
the views: do you correctly iterate over the associations

I am assuming you have an empty form that is displayed when creating a new TemplateCode, but if you do not fill any of the nested forms, the intermediate levels are not saved? Is that correct?

Closed due to inactivity.

authors: apjanvekar nathanvda

repo: nathanvda/cocoon


text:
Fix: Match links to a single file with their dot extensions

Tentative fix for #156 .
I thought the issue came from url-parse.ts but nothing in the code was wrong, so I went up the chain, until I found that the initial decorator matcher was stopping at whitespace, commas,...and the dot character. The matcher was always sending a truncated path to parse-url.
Removing it and testing locally got me the expected result.
# Now it behaves as expected:

https://github.com/nathonius/obsidian-github-link/blob/main/src/github/url-parse.ts

And of course, the href value is the expected one.

Apologies for the delay, it's been a very busy time for me. I'll try and look at this before the new year.

No problem, hope you're taking enough rest for the year's end. And thanks again for all your work on the extension

So this will work to fix urls that are a file path, but it will cause problems if used within a sentence, for example:
Created issue for this: https://github.com/nathonius/obsidian-github-link/issues/156.
So I think we need to be smarter about this, but I'm not sure how. 🤔
I played around with the regex for a while and came up with this:
https://regex101.com/r/bXPVza/1
/(?<!]\()https:\/\/github\.com\/([A-z\d\-_~+#%&=*@?\/]*(.[\S\n])*)[^\n\s]/g

I think I'll add some unit tests for various URLs that should and should not match and refine the regex

I'd like to work on that, since now the brain teaser got to me =D

I've pushed a new commit that checks multiple GitHub URLs against the matcher Regexp, and played a bit more with the Regexp.
Tested, it works on my machine:

Simplified the RegExp according to the QualityGate recommendation, and ran a lint on the code.
Runs great even with dots, or many links on a single line!

authors: joshleaves nathonius

repo: nathonius/obsidian-github-link


text:
Don't Merge: Initial attempt at registry schema

What's in this PR?
Based on #223 I wanted to make a first draft of a schema for the voter report summaries. The main thing I'm curious about here is how we should handle active/inactive. I added it as two columns here, but for each demographic should we only count active voters, or potentially split each one into active/inactive (given that purged seems to be a registration status in some states)?
References
Progress on: #223

Created registry-schema branch instead to work off of

repo: national-voter-file/national-voter-file


text:
Move to Github actions

It's difficult to get this to fit into the reusable workflow because this runs on the management account with a different role to the other terraform scripts and there's enough input variables already so I've just manually created these two jobs.

I copied and pasted the GITHUB_TOKEN and GITHUB_OWNER. It turns out they're not needed so I've taken them out.

repo: nationalarchives/tdr-grafana


text:
#all_there? - Initial Recursion Logic

Fully TDD'd, with semi-functional test coverage and logic which partially works.
ping @tgaff for review/help/usage pointers (I know you asked).
NB: This currently is not "fully" compatible with .expected_items.

This now in theory "begins" to use .expected_items - But I've not given it anywhere near enough mileage to test this. @tgaff if you're up for giving this a bit of a runabout let me know if it works as you'd expect.

@faceless7171 @ineverov could you both take a look at this. See if it works / you can spot any issues.

re-ping @tgaff / @faceless7171 - Could you give me some feedback on this, otherwise I'll probably just leave it be.

Yes, sure, I will take a look!

This is now fully up to date with v3.2 of the gem, and has been tidied up and slightly optimised. There's still a chunk more stuff to do. But I think I'm going to get this released sooner rather than later and then work on splitting it out into its own gem, as there's a whole heap of stuff that's not possible with the recursion strategies we've uncovered.

@luke-hill Sorry was a little bit busy. For the things I can see this is looks good, great job!


text:
Warlock (Revised II)

Error: Service Unavailable
{
  "status": 503,
  "method": "PUT",
  "url": "/api/update/rGOo7pnGPZaH"
}

Server rebooted.  not sure what issue is, but closing this for now.

repo: naturalcrit/homebrewery


text:
User Experience Optimization

[refactor] Integrate all scripts into installer.sh
[feat] support k3s install
[feat] Clone code during installation
[refactor] Change the method of generating templates

自定义参数安装时，需要能支持只覆盖"repos"的部分字段。

初始化安装环境过程中，如果"git clone"出错，需要中断程序的执行。

文档中应该补充执行本地脚本文件的方式。

authors: XunionX gaozheng-cn

repo: nautes-labs/installer


text:
After selecting Update on a Job Button Receiver navigation takes you to Jobs general

Environment

Nautobot version (Docker tag too if applicable): 2.1.2
Python version: 3.11
Database platform, version: Postgres, unsure
Middleware(s): No

Steps to Reproduce

Create Job Button Receiver
Filter to buttons, then edit the one receiver that I just created
Enable the Job Button Receiver, then select Update at the Bottom
Taken to the Jobs list view

Expected Behavior
I expected to be taken back to just the filtered Job Button Receiver, really just a list view that has the job that I just updated listed there. So I can have this fixed by having Job Button Receivers show up in the Job list by default. :D

Observed Behavior
I'm taken to a view that I can't see the Job that I just finished updating.

Note that #5150 changed the behavior of the Job list view to show job button receivers and job hook receivers by default - will be in 2.1.3.

I'm good with closing this out @glennmatthews with that in the plan. Just one of the things that I am like, this is peculiar.

authors: glennmatthews jvanderaa

repo: nautobot/nautobot


text:
Api for device-type import using yaml file

Environment

Python version: 3.8.10
Nautobot version: 86dd597cb7-d4fzc (v1.1.0)

Proposed Functionality
Nautobot allows to import device-types with their interfaces, power connectors, etc via the GUI providing a yaml file. This functianality should be available as an API.

Use Case
As "Tammy" the Tools Integrator I want to be able to automatically add device-templates to nautobot using a yaml file such is used in GUI to import it.

Database Changes
None

External Dependencies
None

Thanks for the feature request!
IMO this is related to #254 as a broader discussion - it's odd to me that for device-types (only) we support import from YAML/JSON and not CSV, while all other models support import from CSV and not YAML/JSON. Ideally we should support CSV as well as YAML/JSON both for import and export of all models.

authors: glennmatthews jifox


text:
[WIP] CI Integration Testing Improvements

As a result of #1173 we need to do more testing in docker.  Unfortunately, that slows things down a bit.  The purpose of this PR is ultimately test the production built containers.  Some things we are doing in this PR:

[ ] Create a workflow for CI on Pull Requests, this process should be similar to the existing one however based on a suggestion by @glennmatthews remove python 3.7 and 3.8 assume if 3.6 and 3.9 pass then we are good enough for a PR
[ ] Create a workflow for push/merge to develop, next, or main this workflow should run all of the same tests, but this time execute these tests inside the built docker containers.  (Linting excluded still run that quickly outside of the containers)
[ ] Merge workflows should test all supported python versions
[ ] Run the unit tests in the -dev containers and run the integration tests in the prod container

Some current challenges:

[ ] Integration tests currently rely in django to provide a test db and expose the app on a random port.  Running the tests from outside of the container causes issue.  Current ideas for solutions would be to either add selenium as a prod dependency or have a static testing DB and run the tests using selenium but not through django
[ ] On merge should we run unit tests first or run unit tests + integration tests at the same time
[ ] MySQL unittests are currently failing inside docker containers, this can be re-produced locally maybe @jathanism can take a look

Please note there are several TODOs in this PR for me to cleanup before submission.  Currently I am running the "ci - merge" process on a PR so it can be tested, this will need to change.

@jathanism I've done a bit more work on getting the integration tests working in the prod container.  So far I've had to force the port to 8080 to always hit the prod container, force the prod container to use the test db... Next I'm going to have to install the dummy plugin.  I'm wondering if we need to rethink running the integration tests in the prod containers... I really like the idea but we are going to have to work quite a bit of tweaks

@glennmatthews @nniehoff @jathanism I think most of these items have been addressed, correct?
Safe to close?

@glennmatthews @nniehoff @jathanism I think most of these items have been addressed, correct?
Safe to close?

I think so but let's let Nick make the final call since this is his baby monkey.

@bryanculver no, I don't think this has been resolved at all.  I was waiting for @jathanism to give the testing in MySQL containers a look but I'm sure he has forgotten.  This PR probably needs some love to catch up with the current baseline.

Closed. Tracking stale PRs in #2812.
We should move this to an entire epic around improving CI complete with user stories.

authors: bryanculver jathanism nniehoff


text:
enable custom links for more component model subclasses

Closes #2946
What's Changed
Add  the custom_links to more ComponentModel subclasses, so we can create custom links for e.g. device interfaces.
Screenshots

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example App Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

* Is there a reason you didn't add custom links to `ConsoleServerPort` as well?

There isn't, I missed it and added it now.


text:
🛑 BarefootEdu is down

In 547220d, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in e09c64f after 1 hour, 23 minutes.

repo: navadhiti/upptime


text:
🛑 BarefootEdu is down

In 0aff30b, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in a073fa7 after 7 minutes.


text:
🛑 BarefootEdu is down

In eba50e9, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in b7f31a1 after 21 minutes.


text:
🛑 Harmony Bot Website is down

In 0bf56ac, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 5bc80d5.


text:
🛑 Harmony Bot Website is down

In b856088, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 938d906.


text:
🛑 Harmony Bot is down

In 450a9f5, Harmony Bot ($HARMONY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot is back up in 40df8ae.


text:
🛑 Harmony Bot Website is down

In 9b406a2, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in adfec06.


text:
🛑 Harmony Bot Website is down

In 3fc1610, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 0ea63b0.


text:
🛑 Harmony Bot Website is down

In db23cee, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 9488a40.


text:
🛑 Harmony Bot Website is down

In 10bd090, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 00493a4.


text:
🛑 Harmony Bot Website is down

In 014dcee, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in adbb5d3.


text:
🛑 Harmony Bot Website is down

In ca5d502, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 44283e6.


text:
🛑 Harmony Bot Website is down

In 79efcbd, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 6ce5393.


text:
Search by path

Do you guys provide a way to search by a path or an application? :)
I've been using that feature in Jennifer to see the performance of a specific API.

Aggregation (and by extension statistics) is definitely on our road map, but we don't have one ready just yet.
It should be added in the next couple of releases.

Hope it will be soon!

authors: Xylus honeyAndSw

repo: naver/pinpoint


text:
Metrics for Designsystemet

Hvorfor
Det har blitt etterspurt at vi utreder muligheten til å innhente data/statistikk som kan brukes til å

underbygge behov/nytten av å ha et designsystem (budsjettforhandlinger)
gjøre det enklere å prioritere og planlegge arbeidet fremover

Hvordan
Ting som har blitt diskutert:
Google Analytics og Hotjar for design.nav.no:

Dette har vi og er lett tilgjengelig på analytics.google.com og hotjar.com. Usikker på hvor stor verdi denne dataen har - eller hva vi kan bruke den til.
Vi har allerede diskutert å fjerne Hotjar-feedback fra design.nav.no da denne er lite egnet for å ha noe dialog med brukerne våre.

Antall nedlastinger av frontend-komponenter:

Dette er data som allerede er lett tilgjengelig, f.eks. her: https://npm-stat.com/charts.html?package=nav-frontend-core&from=2017-01-01&to=2020-01-01
Vanskelig å trekke noen gode slutninger basert på denne dataen da bevegelser i antall nedlastinger gjerne bare kan bety at team har endret sine rutiner for prodsetting (som har lite med designsystemets kvaliteter å gjøre).

Bidrags-data på Github (statistikk over tekniske bidrag til frontend-rammeverket):

Lett tilgjengelig her: https://github.com/navikt/nav-frontend-moduler/pulse/monthly

Scanning av kodebaser på Github etter forekomster av komponentene våre:

Tidkrevende arbeid da det er vanskelig å kartlegge alle kodebasene og hva de brukes til (mye er eksperimentell kode som ikke er prodsatt f.eks.).
Kan brukes til å overvåke hvor hyppig folk oppdaterer komponentene sine. Uklart hvilken verdi denne innsikten kan ha for oss.

Scanning og analyse av Git-historikk i utvalgte kodebaser:

Tidkrevende arbeid, og usikkert på om vi har noen gode kandidater.
Virker uansett å være mest verdifullt for å kunne selge inn eller forsvare selve konseptet med designsystemer - og gir heller lite verdifull data over tid for å se noe trend/utvikling i et allerede etablert designsystem.

Spørreundersøkelser/intervju (ala den Mia gjennomførte med alle designerne)

Tidkrevende og stort sett manuelt arbeid, men er kanskje den metoden jeg har mest tro på for å gi data og innsikt vi kan bruke.

Jeg og @Miaag hadde et innledende møte i dag med Tobias for å diskutere mulighetene her. Ble enige om at Tobias undersøker hvor omfattende det vil være å f.eks. tilpasse denne roboten til å scanne alle kodebasene under navikt-organisasjonen på jakt etter pakkene våre. I første omgang er håpet å kunne få noe innsikt i andelen av frontend-prosjekter som bruker designsystemet.
Avventer tilbakemelding fra Tobias.

repo: navikt/Designsystemet


text:
Tilbakemelding
Er det meningen at innholdet skal være tilgjengelig i DOM når kortet er lukket? Hadde kanskje været greit at det var en prop for om innholdet skal rendres eller ikke når den er lukket.

Lukker denne for nå, hvis dette fortsatt er et problem kan vi gjerne gjenåpne issuet å se videre på det 🙌

repo: navikt/aksel


text:
Deploy av branch new-soknad med tag 20220315134015-082bebb

082bebb083bfad158eebe11fd1a0c5c5afbe5655

/promote dev-gcp

repo: navikt/foreldrepengesoknad


text:
Spesielle åpningstider og avvikstekst på kontaktmodul

Når du legger inn spesielle åpningstider og avvikstekst på https://portal-admin-dev.oera.no/admin/tool/com.enonic.app.contentstudio/main/default/edit/02250637-f3d2-49ec-b024-303544b37ac8, så forsvinner teksten om åpent nå/stengt nå.
Dette er vel en bug?
Skjermdump 1. Viser tomt avviksfelt og da vises åpent nå.

Skjermdump 2. Viser avvviksfelt med tekst og da forsvinner åpent nå.

Har også testet at samme problem gjelder for stengt nå. Og at dette ikke bare gjelder forhåndsvisningen i CS, men at samme problem gjelder for produktsidene, se feks: https://www.ekstern.dev.nav.no/tiltakspenger

Diskutert nærmere med Janne 29. november:
Vi har lagt inn en mer beskrivende hjelpetekst, men lar feltet for avvik fungere slik det gjør i dag hvor det kun brukes dersom det er et teknisk avvik som gjør at det ikke gir mening å vise åpningstid. For mer planlagte avvik slik som innskreket åpningstid, så bruker vi selve ingressfeltet istedet.

authors: jannebye terjeofnorway

repo: navikt/nav-enonicxp-frontend


text:
Teamdokumenthandtering url oppdatering

I NAIS sitt Kubernetes miljø ble det innført overgang fra standard namespace "default" til team namespace "team". Denne endringen påvirket også URL-ene for Kubernetes-tjenesteoppdagelse. Det ble slutt på oppretting av ressurser i default namespace den 29. september 2021.
Tidligere var en vanlig NAIS tjenesteoppdagelses-URL i Kubernetes som følger: "http://app.default/". Her refererte "default" til standardnavneområdet der tjenesten var plassert. Men nå, med innføringen av teamnavneområder, har URL-en blitt endret til "http://app.team/". Dette betyr at "team" erstatter "default" i URL-en og representerer det tilhørende teamet eller prosjektet som tjenesten tilhører.
For å lette denne overgangen ble det manuelt opprettet service redirects i default namespacet.
Vi ser at appen deres har en referanse til en av teamdokumenthandtering sine redirect service adresser. Denne patchen tar ned risiko for at dette skal feile i produksjon ved misforståelser, opprydding eller annet i default namespace til NAIS clusteret.

Oppdaterte også ingresser for dev som peker på dev.intern.nav.no (Buypass signert) for teamdokumenthandtering sine apper. Fordel med det er at man slipper custom truststore ved testing av kall mot nais.preprod.local

repo: navikt/syfoinntektsmelding


text:
🛑 ESTAT is down

In a5d4d27, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 29e33c9.

repo: nbbrd/sdmx-upptime


text:
🛑 ISTAT is down

In 14a97a8, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in ba486cf.


text:
🛑 ESTAT is down

In 2518188, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 2aeebb2.


text:
🛑 ESTAT is down

In 96ed1db, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 5829a16 after 9 minutes.


text:
🛑 ISTAT is down

In 3a325c0, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 6a23b8c after 1 hour.


text:
🛑 ESTAT is down

In 894730d, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in dc69c24 after 13 minutes.


text:
🛑 ISTAT is down

In a6ec182, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 3d005eb after 13 minutes.


text:
🛑 EC_DG_EMPL is down

In ad32912, EC_DG_EMPL (https://webgate.ec.europa.eu/empl/redisstat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EC_DG_EMPL is back up in a21b6ca after 48 minutes.


text:
🛑 ISTAT is down

In 14cabfe, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 4644367 after 6 minutes.


text:
🛑 NBB is down

In b86daf5, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 693 ms

Resolved: NBB is back up in 92e9ddd after 6 minutes.


text:
🛑 ISTAT is down

In 3d70b3a, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in b830055 after 19 minutes.


text:
🛑 OECD is down

In b242380, OECD (https://stats.oecd.org/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OECD is back up in 33d22a9.


text:
🛑 ESCAP is down

In 99b5acf, ESCAP (https://api-dataexplorer.unescap.org/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESCAP is back up in 29cfac7.


text:
🛑 INSEE is down

In fb95d21, INSEE (https://bdm.insee.fr/series/sdmx/dataflow/all/all/latest/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: INSEE is back up in 62d3884.


text:
⚠ File access (beta) has degraded performance

In 2b057c1, File access (beta) (https://beta.fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 3136 ms

Resolved: File access (beta) performance has improved in ca643ae.

repo: nbitzz/status


text:
🛑 Wrapperr is down

In ac3bd17, Wrapperr ($SECRET_SITE018) was down:

HTTP code: 502
Response time: 413 ms

Resolved: Wrapperr is back up in 99a2186 after 10 minutes.

repo: nboxdev/upptime


text:
Use pycharm pep8 formatter

I formatted everything using pycharm's nice formatter.

Please fix your formatter, it just changed every   to  , which shows up as a really big change to GitHub and will mess with our formatting.

Please fix your formatter, it just changed every   to  , which shows up as a really big change to GitHub and will mess with our formatting.

I disagree; I approve of this change. It changes the hard tabs to four spaces, which is proper per PEP8

Please fix your formatter, it just changed every to , which shows up as a really big change to GitHub and will mess with our formatting.

I disagree; I approve of this change. It changes the hard tabs to four spaces, which is proper per PEP8

I disagree; I don't think this is the place that it should be done as there is a lot of noise in the PR because several files have been completely changed due to this and it makes it hard to sift through all of this. This should be in a different PR.

I retract my statement

repo: nbuilding/N-lang


text:
Add a more comprehensive example

Use both Listener and Client objects in JSON-RPC protocol
Demonstrate raw message exchange within comments
Add example_test file with a //result comment, to be compiled and executed by Travis

Closing in favor of: https://github.com/nbusy/neptulon/issues/27

repo: nbusy/neptulon


text:
Abstract notion of Fitness and unify its usages

Main purpose is to unify usages of Fitness, giving multi- and single- objective fitness common interface.
Add PrioritisedFitness that generalizes single-objective optimization for the case of secondary quality metrics.
This will allow to simplify usages of the so-called supplementary_metrics in optimisers, completely hiding them.
This PR also introduces base abstract Comparable class, and Fitness inherits from it.

Hello @gkirgizov! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file fedot/core/utilities/data_structures.py:

Line 99:38: W292 no newline at end of file

У меня в run_regression_example в ходе оптимизации иногда выпадает
default() takes 2 positional arguments but 3 were given
Не знаю, в этом ли PR-е дело.

authors: gkirgizov nicl-nno pep8speaks

repo: nccr-itmo/FEDOT


text:
DX Custom Rule

Hi guys,
I'm writing a Vue app with a form containing 3 fields (ID, Profile, Account). All 3 are number fields.
I need to write a validation rule that checks that at least one of the 3 is populated.
From what I understood - I could do this with a custom rule.
I have 2 questions:

Is there a way to debug dx expressions? I'm happy to figure them out - but find it hard without being able to see them evaluate.
My idea was to use a rule like the example below on each of the 3 fields and to tell each one to fire the other 2 rules, so that they all update at roughly the same time.

Can you please see if I'm on the right track? I've tried various expressions, but I can't seem to hit the right one and I also don't see the two other rules fire when the first one evaluates....
This is the rule on the "id" field:
"rules":{
"customRule": [{
"script": "dx: !{{$root.Victim.identityNumber}}  && !{{$root.Victim.profileNumber}} && !{{$root.Victim.accountNumber}} ",
"errMsg": "You need to specify at least one of the following: an ID Number or Profile number or Account number",
"linkItems": [
{
"fieldPath": "profileNumber",
"customRuleIdx": 0
},
{
"fieldPath": "accountNumber",
"customRuleIdx": 0
}
]
}]
}
Many thanks,
D

Q：Is there a way to debug dx expressions? I'm happy to figure them out - but find it hard without being able to see them evaluate.
A: You can use function type of dx to debug the value, refer to https://github.com/ncform/ncform#dx-expression

Q: My idea was to use a rule like the example below on each of the 3 fields and to tell each one to fire the other 2 rules, so that they all update at roughly the same time.
A: Refer to this example: https://codepen.io/daniel-dx/pen/eYBKXVL. But there has some problems:

you must hide the "*" symbol by your self

Thanks Daniel!
I totally missed the note about function-style dx expressions - that's really brilliant.  Does this mean that the dx-syntax is just there to enable a shorter form for writing very simple expressions or is there a performance penalty in choosing one style over the other? I would imagine the dx-expressions must be slightly slower - since they need to be parsed/processed? (probably not even measurable for most common situations).
I'll leave this issue open until the bug is fixed. If you have another issue tracking the bug - please feel free to close this one.

If you want to pass the schema to server, you can only use the string-style dx.
And if you just write the schema in the code, you can feel free to use the function-style

authors: NedDerick daniel-dx

repo: ncform/ncform


text:
Add pickup date/window to the admin order page

Feature Description

Need to specify the pickup date, and range of pickup windows.
Use the VueDatePicker to specify the date.
On the page, have a start time, and end time.  Create checkboxes for 30 minute pickup windows, with the ability to uncheck and then that 30 minute window is not presented to the guest.
For example:
Start Time: 11 am
End Time : 2 pm

[X] 11:00 am - 11:29 am
[X] 11:30 am - 11:59 am
[ ] 12:00 pm - 12:29 pm (this is left unchecked and is not presented)
[ ] 12:30 pm - 12:59 pm (this is left unchecked and is not presented
[x] 1:00 pm - 1:29 pm
[x] 1:30 pm - 1:59 pm

Expected solution

Testing

Fixed in 089d1bc097aa6ff4b7f228d15b14b16f7340e900

repo: ncosd/food-pantry-app


text:
Onedrive file with "～" character in name is incorrectly read as "~"

What is the problem you are having with rclone?
rclone failed to list (read) filenames with "～" character in OneDrive (Business account). It incorrectly read the "～" character as "~". ( "～" != "~" )
Demo:
# mkdir /tmp/test && cd $_
# echo test > '～.txt'
# ls
～.txt
# rclone copy . odrive:/test/
# rclone ls odrive:/test/
        5 ~.txt

It does upload the file with the correct "～.txt" filename (confirmed in OneDrive web page), but read it with the wrong "~.txt" filename.
I only find this phenomenon in OneDrive (business) backend. Rclone read the correct filenames from Google Drive backend.
What is your rclone version (output from rclone version)
rclone v1.45

os/arch: linux/amd64
go version: go1.11.2

Which OS you are using and how many bits (eg Windows 7, 64 bit)
Debian sid, x64
Which cloud storage system are you using? (eg Google Drive)
Onedrive Business
The command you were trying to run (eg rclone copy /tmp remote:tmp)
see above
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
# rclone  -vvv ls odrive:/test
2019/01/15 07:11:13 DEBUG : rclone: Version "v1.45" starting with parameters ["rclone" "-vvv" "ls" "odrive:/test"]
2019/01/15 07:11:13 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
        5 ~.txt
2019/01/15 07:11:15 DEBUG : 5 go routines active
2019/01/15 07:11:15 DEBUG : rclone: Version "v1.45" finishing with parameters ["rclone" "-vvv" "ls" "odrive:/test"]

I am having the same problem right now.
It seems clear to me that the current way rclone is dealing with OneDrive-illegal characters is objectively wrong. rclone should use some sort of escape sequences instead, to identify OneDrive-illegal characters, so that the conversion properly works both ways?

This bug should be fixed by #3148. You can try the beta build of the PR to see if it handles all cases correctly.
It will encode the normal ~ if it is the first character in a name when uploading as ～ (the FULLWIDTH variant) and undo this replacement when downloading the file from OneDrive.
A filename beginning with a ～ (FULLWIDTH) will be uploaded as ‛～ to differentiate between the the normal ~.
#3148 currently does not distinguish between personal and business OneDrive.

I've merged the fix for this to master now which means it is in the latest beta and will be released in v1.50

authors: B4dM4n ncw sagan sroby

repo: ncw/rclone