CBLAS C++ bindings

Opening this PR so we can track changes. Works with both test and benchmark suites. Breaking changes are that prototype methods do not return a new Vector/Matrix, instead operations (add, scale etc) edit the current Vector/Matrix in-place for improved performance.

"travis please", I imagine you saying this like you would say a certain expletive starting with "b"
:smile: :rocket:

This is awesome, Mateo. I'm going to start a branch for GPU support, too.
What's the 'opt` prefix for?

Haha, exactly. Thanks! opt is for optimization.

Is it possible to include nblas only if the build is successful, otherwise make it "fall back" into using default behaviour?
Also, here are outputs from the new bigmatrix.js and bigvector.js benchmarks:
data = randomArray(4096, 4096)
a = Matrix(data)
b = Matrix(data).scale(2)

Matrix.identity(4096) x 11.25 ops/sec ±4.05% (33 runs sampled)
Matrix.magic(4096) x 2.63 ops/sec ±1.01% (11 runs sampled)
Matrix.zeros(4096, 4096) x 11.32 ops/sec ±0.96% (32 runs sampled)
Matrix.ones(4096, 4096) x 11.07 ops/sec ±0.89% (32 runs sampled)
Matrix.augment(a, b) x 3.90 ops/sec ±0.73% (14 runs sampled)
a.add(b) x 40.34 ops/sec ±0.44% (54 runs sampled)
a.subtract(b) x 39.72 ops/sec ±0.48% (53 runs sampled)
a.scale(Math.random()) x 62.61 ops/sec ±0.43% (66 runs sampled)
a.multiply(b) x 0.39 ops/sec ±4.62% (5 runs sampled)
a.transpose() x 3.35 ops/sec ±0.76% (13 runs sampled)
a.diag() x 26,803 ops/sec ±2.84% (85 runs sampled)
a.trace() x 19,368 ops/sec ±2.62% (82 runs sampled)

Done!
data = randomArray(262144)
a = Vector.ones(data)
b = Vector.ones(data).scale(2)

Vector.zeros(262144) x 643 ops/sec ±7.11% (73 runs sampled)
Vector.ones(262144) x 631 ops/sec ±7.37% (70 runs sampled)
Vector.range(0, 262144) x 234 ops/sec ±5.07% (78 runs sampled)
Vector.combine(a, b) x 49.98 ops/sec ±4.88% (66 runs sampled)
a.add(b) x 3,493 ops/sec ±0.42% (92 runs sampled)
a.subtract(b) x 3,446 ops/sec ±0.69% (94 runs sampled)
a.scale(Math.random()) x 9,500 ops/sec ±4.97% (93 runs sampled)
a.normalize() x 9,013 ops/sec ±4.15% (87 runs sampled)
a.dot(b) x 3,876 ops/sec ±6.95% (70 runs sampled)
a.magnitude() x 9,754,164 ops/sec ±3.12% (89 runs sampled)
a.angle(b) x 2,829 ops/sec ±1.83% (90 runs sampled)
a.project(b) x 2,298 ops/sec ±2.41% (84 runs sampled)

I think you'd need some kind of optional require. If nblas is installed it will require it. If not you'll get an empty object back.
I think you can wrap the nblas require in a try...catch. Or use something like this: optional

Breaking changes: vector.buffer member removed, vector.values changed to vector.data, removed memcpy dependency by rewriting Vector.combine() and Vector.push()

Yes, for performance reasons: https://en.wikipedia.org/wiki/In-place_matrix_transposition

Working on generating a C++ LAPACK binding for node as well.

Trying to compare numpy and vectorious performance.
$ python -m timeit -s "import numpy as np; a = np.random.rand(262144); b = np.random.rand(262144)" "np.add(a, b)"
1000 loops, best of 3: 441 usec per loop

$ python -m timeit -s "import numpy as np; a = np.random.rand(262144); b = np.random.rand(262144)" "np.dot(a, b)"
10000 loops, best of 3: 182 usec per loop

$ python -m timeit -s "import numpy as np; a = np.random.rand(262144); b = np.random.rand(262144)" "a * np.random.random_sample()"
1000 loops, best of 3: 289 usec per loop

Converted to ops/sec, operations are for two vectors of size 262144:
Numpy

numpy addition: 2,267 ops/sec
numpy dot: 5,494 ops/sec
numpy scale:  3,460 ops/sec

Vectorious

vectorious add: 3,493 ops/sec
vectorious dot: 3,876 ops/sec
vectorious scale: 9,500 ops/sec

We could attach a tmp – or whatever we want to call it – variable (TypedArray) of the same size and type as the Vector/Matrix to the prototype.
Like
// ... in constructor
this.tmp = new this.type(this.length); // for vector
this.tmp = new this.type(this.shape[0] * this.shape[1]); // for matrix

// ... in add
for (var i = 0; i < this.length; i++)
  this.tmp[i] = this.data[i] + vector.data[i];

// ... or with nBLAS
nblas.copy(this.data, this.tmp); // copy data to tmp
nblas.axpy(vector.data, this.tmp); // add data with tmp and put result in tmp

Then we have the original vector/matrix (this.data) and the result (this.tmp) accessible. Just a thought, haven't really thought it through yet.

@waylonflinn @metabench check out https://github.com/codeforscience/webdata

@mateogianolio thanks!

How's this for a wrapper?
function vector(f, ...args) {
  var fArgs = f
    .toString()
    .replace(/[\[\( \)\]]/g, '')
    .split('=>');

  var op = fArgs.shift();
  if (!(op in vectorious.Vector))
    return f(...args);

  fArgs = fArgs[0]
    .split(',')
    .map(num);

  return vectorious.Vector[op](...fArgs);
}

var a = vector(range => (0, 5)),
    b = vector(ones => 5).scale(10),
    c = vector(zeros => 2);

console.log('a: ' + a);
console.log('b: ' + b);
console.log('c: ' + c + '\n');

// custom in-place operation
vector(a => a.data[0] = 5, a);

console.log('a: ' + a);

a: [0, 1, 2, 3, 4]
b: [10, 10, 10, 10, 10]
c: [0, 0]

a: [5, 1, 2, 3, 4]
b: [10, 10, 10, 10, 10]

After thinking about it for a while, I think the best way to move forward is to add a result argument to all prototype functions. If the extra argument is supplied perform the operation in-place, otherwise return a copy.


Configure Mailgun SMTP

what

Add support for SMTP

why

So we can track deliverability and reduce spam rate

@osterman Could you clarify what do you mean?
Slackin uses Slack REST API to send invites - there isn't any SMTP client, just post to https://${org}.slack.com/api/users.admin.invite url.

Never mind. Slack sends the emails =)


Mutations not mutating state

I am writing my own project in Nuxj.js and nearly everything is working. There is 1 thing that isn't working and I'm hoping you can help me.
I am using the Vuex store in Nuxt.js and I have everything setup. I can confirm that my action is called and that the mutation called in the commit works. However if I change anything in the state in the mutation ten the state doesn't change. Here is my action
import axios from 'axios'
import * as ACTIONS from './action-types'

const actions = {
  async [ACTIONS.FETCH_TRAINING_TYPES_ACTION] ({ commit }) {
    let {data} = await axios.get('http://localhost:8080/api/students')

    commit('setStudents', data)
  }
}

export default actions

The commit invokes the following mutation
const mutations = {
  setStudents (state, payload) {
    console.log('1: ' + payload)
    state.students = payload
    console.log('2: ' + state.students)
  }
}

export default mutations

The first console log prints the payload which contains the right data so the mutation is invoked properly. The second console log prints the state.students and it prints the right value so the state is updated. However when viewing the vex state in the chrome Vue extension I can see that the state is empty and also if I print the state value state.students it's empty.
It's starting to look like a bug where the state changes aren't persisted or something.

@martijnhiemstra are you using vuex modules or do you have everything in one namespace?

As far as I know I have everything in 1 namespace. How can I tell?
In the project root I have a directory called store and in the store directory I have a file called index.js
import Vuex from 'vuex'

import mutations from './mutations'
import actions from './actions'
import getters from './getters'

const createStore = () => {
  return new Vuex.Store({
    state: {
      trainingTypes: null,
      trainings: null,
      students: null,
      companies: null,
      counter: 0
    },
    getters,
    mutations,
    actions
  })
}

export default createStore

As you can see my getters, mutations and actions are in seperate files also in the store directory. Is that okay?

@martijnhiemstra then you don't use the namespaced modules. Did you try to call your mutation out of a component method? Did that work for you? You can check the action calls in the developer toolbar and inspect the payload there. Hope this will lead you to the problem you are facing

Thanks for the tip. The funny thing about this all is I have another mutation and it works perfectly.
increaseCounter: function (state) {
   state.counter++
   state.students = 12
}

I goto the Vuex tab and I can see that counter and students is updated in the state. However for some reason my other mutation doesn't update the state even though the property trainingTypes in the state is  updated and I can verify that the state property is updated. This is my component where I do the call to the action:
import { mapState } from 'vuex'
import { FETCH_TRAINING_TYPES_ACTION } from<EMAIL_ADDRESS>
export default {
  fetch ({ store }) {
    store.dispatch(FETCH_TRAINING_TYPES_ACTION) // This one doesn't update the state
    store.dispatch('inceaseCounter')  // This 1 does work and update the state
  },
  computed: mapState([
    'trainingTypes',
    'students'
  ])
}

I think I found the issue. If I add a button to the page that looks like this:
Click me
Then the list is loaded. I think it is a sync issue. When the component is drawn a call is done to the backend using axios. It is executed and the state is updated however because of some really weird syncing issue the state is reverted or the state property change is ignored. Then when I click the button, even though the axios call is async it does get updated. Does this have to do with the fetch property of the component not doing it's job?

@martijnhiemstra dispatch actions of vuex are always running asynchronous. So you would do this in your fetch:
  async fetch({store}){
   const data = await store.dispatch('YOUR_API')
   console.log(data)
  }

Don't forget to return the promise inside of your action.

Because this bug report seems to be inactive for quite some time, I'll close it now. If you feel like it deserves some attention because it's not fixed, feel free to ping me and I'll reopen it.


snapshot did not close file after using

https://github.com/pingcap-incubator/tinykv/blob/d13ccb8785702ecdf17368bf2350f7f82c58cab5/kv/raftstore/snap/snap.go#L379-L385
this part is using for building snapshot, it opens metafile and 3 cf files, but it seems the files did not closed.  Also, in NewSnapForSending, NewSnapForReceiving, NewSnapForApplying are not close file too.
Or, these files has been closed and I miss something?

seems you're alright. I forget to close the files


feature request: direct toggling of scanlist numbers in MR mode

when using the longpress 5 shortcut, it would be nice to take a direct number input to toggle that scanlist number instead of going through all the permutations.
would be extra handy with 3 scanlists :wink:

an easy way to do this might be to hijack the Function option for 1(Band), 2(A/B) and 3(VFO MR). Since you already have differing functions when the function button is activated (compared to long-press), it shouldn't be too weird/difficult to get used to.

when using the longpress 5 shortcut, it would be nice to take a direct number input to toggle that scanlist number instead of going through all the permutations.
would be extra handy with 3 scanlists 😉

Do you mean long press 5 + ? Potentially, 10 scan lists(0-9)?
I do feel just 2 scan lists is not flexible.

10 lists... don't dream.

I'm not sure I see the advantage in this feature request. At the moment, longpress 5 adds to scanlist 1, then you have 1&2, then 2, then off. It's no a million button-presses. Is this, in fact, a request for more scanlists?

Teasing : there will be a third list in the next version.
Now a longpress 5 allows you to cycle between :

list [0] (channels in no list)
list [1] (channels in list 1)
list [2] (channels in list 2)
list [3] (channels in list 3)
list [1, 2, 3] (channels in list 1 or 2 or 3)
all (all channels...)

It works well enough as it is.

But direct toggling is much easier~~
https://github.com/armel/uv-k5-firmware-custom/assets/1832555/bb91e668-b084-4c49-bda8-bde096ae9481

Also, just an idea for direct selection of scanlists while scanning:
https://github.com/armel/uv-k5-firmware-custom/assets/1832555/e1f44d9a-d675-4700-9790-1f85f6616814

Also, 10 scanlists may be too much, but I think 6 should be doable without too much trouble, maybe...

Added to v3.0...


From zwave-js/zwavejs2mqtt - Looses connection to controller....

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
YES, BUT a Home Assistant developer has told me to come here
Is your problem within ZWaveJS2MQTT?
NO, my problem is NOT within ZWaveJS2MQTT
Checklist

[X] I have checked the troubleshooting section and my problem is not described there.

[X] I have read the changelog and my problem was not mentioned there.

Describe the bug
See: https://github.com/zwave-js/zwavejs2mqtt/issues/2081
zwave-js: 1) Looses the ability to update nodes (after < 5 minutes w 150 devices) ; 2) Ability to read from nodes still functions; 3) Neighbors and devices slowly disappear
zwavejs2mqtt: 6.1.1
zwave-js: 8.9.0-beta.1
home id:<PHONE_NUMBER>
home hex: 0xdefb762d
Device information
Manufacturer:  Aeotec might be a common factor
Model name: All models
Node ID in your network: All nodes
How are you using node-zwave-js?

[X] zwavejs2mqtt Docker image (latest)
[ ] zwavejs2mqtt Docker image (dev)
[ ] zwavejs2mqtt Docker manually built (please specify branches)
[ ] ioBroker.zwave2 adapter (please specify version)
[ ] HomeAssistant zwave_js integration  (please specify version)
[ ] pkg
[ ] node-red-contrib-zwave-js (please specify version, double click node to find out)
[ ] Manually built from GitHub (please specify branch)
[ ] Other (please describe)

Which branches or versions?
No response
Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
Yes (please describe)
If yes, where did it work?
Prior version may have worked.
Attach Driver Logfile
See other thread - has logs and suspicions.

zwave-js: 8.9.0-beta.1 seems to be broken.
Please, try update to zwave-js: 8.9.0-beta.3 and test it again.


Fix widget conflict on Primer Design

Issue: https://github.com/BV-BRC/issues/issues/1122
Using standard id attributes can cause conflicts in the routing system. The widget tries to create itself again but can't since the id is hard coded in the html template.
Relying on the dojo-attach-points is safer or incrementing the id attribute with a counter if you have to. In this case the .js file relies on the dojo attribute anyway.
@mshukla1 you may want to make mention of this for devs to be aware of. The MSA.html template has an incrementing example from @JacobPorter as well.

In the MSA case it appears the id isn't referenced in the JS code anyway; is it only there for the binding to the label in the template?

Looks like ${id} is the standard mechanism. Also found this discussing the issue. https://marisks.net/2016/03/08/fixing-dojo-widget-id-conflict/

Also here - the id is indeed used in the label reference. How does removing the ID from the widget affect that?

Ahh it has a label. No breaking changes but proper markup semantics would dictate using an increment method.
It's sort of hacky either way imo. Removing it and the form will work just fine in our case. Increment it and you could generate N copies of the widget maliciously.

I'll update this whichever way you think, of course. Just not sure.

It appears adding the ${id} is dojo standard practice.

It appears adding the ${id} is dojo standard practice.
We should probably also make a pass through the other service tools to find similar instances. Perhaps this is the cause of some of the odd behavior we've seen.

Yeah, I'd say many, if not most, of the job forms have labels not bound explicitly. They work but I agree it's not best overall.

Added id="${id}_internal_oligo" to that for now and addresses the problem from the issue.


Chords not always working

I reported this but the report seems to have disappeared.
Sometimes shorthands stop working, e. g. "kj" for "change". "kj" appears instead of "change".
If I press Return and start a new line the function is restored.
I have had this problem while writing in Sublime Text and in Notepad++.
I have not been able to find what causes it to stop working.
This is Zipchord 2, and I have not changed the settings from default.

Apologies, it might have been closed when I assumed this was no longer as issue.
It would be great if we could find a series of steps that can reliably reproduce this issue.
One thing to try -- I released a "debug" version of ZipChord that has some extra features. If you use that version, you can open a "Key Visualizer" from the ZipChord tray menu. if you leave it open as you type in these applications, you could notice if the key presses actually at some point stop being recognized/visualized by ZipChord.
The "Debug" version does not store or send any data so it's completely private to test what's happening. (Unless you manually decide to save the input/output to a local file using the console).

The other thing you can try is the following:

Download the zipchord-dev version under the latest release
On the About tab of this version, check the "Log this session (debugging)" option.
Type some short text in the application where you experience the problem.
Re-open the ZipChord window. This will stop the debugging and will open a text file with the debug information.

If you could attach the debug file here, I'm going to see what might be going causing the issue.  But it could be that in those applications, some keypresses -- for some reason -- are not being sent to ZipChord. That's why I suggested trying the Key Visualizer first.


api/positions not working after upgrade from 3.7 to 3.8

api/positions stopped working after upgrade. Chrome is giving ERR_INVALID_RESPONSE and CURL raw response is
Device access denied - SecurityException (PermissionsManager:182 < PositionResource:78 < ...).

All devices are visible in web interface and nothing changed since upgrade so should not be permission issue. Any hints how to get this resolved? Thank you!

Just tested and everything works correctly for me.

I am getting a few weird responses. One of them being this one.
It seems to happened when I use HTTP basic auth on GET /api/positions

without params, I get the above response
with params - deviceId, from and to, it responds with a GPX xml though.

There seem to be no issues with session cookies though. Other endpoints (at least devices, groups, geofences) seem fine with basic auth as well.
I am running a build with the latest commit 6dc245d.

If you want JSON format, you have to include following header:
Accept: application/json

As for "access denied" error, try to restart the server. It seems like you have some problem with permissions.

I made a clean install of the v3.8 release and replaced relevant files from the 6dc245d build.
Miraculously, everything is working as expected.
On hindsight, I had made the upgrade from v3.7 to v3.8 a dirty one. Maybe, the error was because I had inadvertently overwrote or removed something then.

Access denied error did not disappear on first restart but now after reinstall and few service shutdowns api/positions seemd to return and all seems good at the moment, I'll observe how it goes from now on. Thank you for this great application and your help.

I am also having the same issue on Version 3.9.
I can access devices but not positions.
Using Postman to test the api.

@kirantpatil, you have to provide Accept header.

Thank you Sir, it works now.

Restart will fix the problem for a while but later again same issue returned: .../api/positions gives SecurityException (PermissionsManager:182 < PositionResource:65 < ...)
Can confirm that adding this header to client side request fixed the problem:

Accept: application/json

Well, the error means that your user doesn't have access to the device.

Yes it indicates some kind of permission issue, but .../api/devices works fine with exactly the same settings + privileges and .../api/positions works after either a) by adding this Accept header to request or b) by restarting the Traccar service.
This occurred in two different servers so it should not be because of the environment. We have customized all ports from 50xx to 60xx though but I don't think that affects. I tried to inspect wrapper.log.xxx for details but nothing new has appeared in a few days. This issue appeared only after switcing to latest Traccar version.
Same privileges work fine for web interface but I can't get .../api/positions working with Chrome without restarting Traccar service. For PHP CURL the Accept -header fixed the issue without restart so from our application's perspective everything is working fine for now.

You definitely have to provide "Accept" header.


Ink bottle lose type when placed back into cauldron

Once you use a bottle to pull the ink out of a cauldron, if you happen to re-place the ink back in the cauldron and take it back out again, it looses whatever color it was, and just becomes "Ink Bottle".

Minecraft: 1.16.4
Forge: 35.1.36
Mantle: 1.16.5-1.6.79
Inspirations: 1.16.5-1.2.2

Please give a bit more information. Did the cauldron contain anything else? There is logic for mixing ink bottles in Inspirations, so if you had another color in there it would mix, or if you had normal water

Nothing else was in the cauldron. I was mass-dying white-stained glass, so I was making up multiple white dye bottles. I placed a Bucket of water in, and was rapidly filling empty bottles. Going too fast I would accidentally re-pour the last bottle back into the empty cauldron.
After testing it does have the same effect on all dyes. I can make up a gif of it tomorrow if you'd like to see it in action.

Fixed in 1.2.3


Custom contract on a LogReceiverService

Type

Question

NLog version: 4.3.3
Platform: ..Net 4.5
in case of a FEATURE REQUEST:
I'm having at the moment a big solution with different projects sending logs to LogReceiverService. And I would like to use an interface so I have only 1 installation of Nlog in 1 project of my solution.
So I created a new interface to call instead of "NLog.LogReceiverService.ILogReceiverClient" but when I initialize my logger, it's still looking for the contract "NLog.LogReceiverService.ILogReceiverClient"
Is this a normal operation. Is there a way to change this contract?
Thank you!

is the new interface inhering from NLog.LogReceiverService.ILogReceiverClient?
Do you get an error? Can you paste it?

I tried with and without inhering, I have the same behaviour with both.
the error I get is that there is no way of finding an endpoint with the name "XX"  and the contract
"NLog.LogReceiverService.ILogReceiverClient" there is no way for me to change this contract...

Sorry, I don't have enough WCF experience to help you with this. Maybe you can try on stackoverflow.

Ok, i'll try stackoverflow and come with an answer
Thank you for your help

Is this still an issue?

Yes, i didn't find a solution..

Can you paste the full stacktrace and internal log. Let me see if I am able
to help.
On Jul 4, 2016 2:39 AM, "tbelqdx"<EMAIL_ADDRESS>wrote:

Yes, i didn't find a solution..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NLog/NLog/issues/1448#issuecomment-230216049, or mute
the thread
https://github.com/notifications/unsubscribe/AAmxyRAKiUtj-L-GmynjzzTh0lCbpmR9ks5qSKqagaJpZM4IaKPi
.

I'm sorry I don't have the source code anymore...

Closing this due to inactivity. Please let us know if this still an issue and please provide the requested info.


#UnitTestVajramAnnotationProcessors

Currently there are no unit tests for the java annotation processors VajramModelGenProcessor and VajramImplGenProcessor.
Because of this we are only able to test the happy scenarios and not able to test validation failures and non-happy scenarios.
We need to Add support for testing these annotation processors in which can run these annotation processors over various vajram classes and test all the scenarios

Ref:
https://stackoverflow.com/a/18620422
https://blog.jooq.org/how-to-unit-test-your-annotation-processor-using-joor/


Can we get a swift example for using this?

Also please update the example for version 3.0.4

I haven't written the swift demo yet, I will write it in the future


[dev-2.0] "x-openapi-router-controller" support.

Openapi Generator has a x-openapi-router-controller param for routing in the generated yaml spec file. Would it be possible to support this alongside x-swagger-router-controller?
I did a quick test and added the line
self._router_controller = self._operation.get('x-openapi-router-controller')
after
self._router_controller = self._operation.get('x-swagger-router-controller')
in abstract.py and this successfully fixed the problem.
Would this be the correct way to fix this issue or should the generator use x-swagger-router-controller?

Good idea. We'll probably still need to support x-swagger-router-controller for backwards compatibility.
Can you make a pull request? I'm happy to review it.

Hey @wheelsandmetal , can you test out and review #688 ? Thanks!


Undefined class constant 'ZipArchive::EM_NONE'

After upgrade to php 7.2 I get
Error - Undefined class constant 'ZipArchive::EM_NONE' in DOCROOT/fuel/vendor/comodojo/zip/src/Comodojo/Zip/Zip.php on line 77
Version 3 installed with
Zip version | 1.15.4
Libzip version | 1.1.2

The issue seems to be related to the version of libzip. PHP 7.2 supports the selection of zip encryption methods only if compiled against libzip ≥ 1.2.0 and the 3.x branch of comodojo/zip has a strict dependency on that functionality.
There is no easy solution, but I see two options:

switch back to comodojo/zip 2.x, that does not support the creation of encrypted zip files
upgrade your PHP/libzip to a newer version (PHP 7.2 is out of active support since 30 Nov 2019 and will receive security updates until 30 Nov 2020). The next version of the 3.x branch of comodojo/zip will have the min-php flag set to 7.3.

I hope this can help solving your issue.

my app is running on ths environment
https://phpinfo-74.frb.io
with zlib 1.2.11 (seems to be the latest version).
Any idea?

According to the PHP documentation:

Note:
This function is only available if built against libzip ≥ 1.2.0.

It looks like you have 1.1.2 (zlib is not used by this lib).

thanks for the clarification - was reading too fast. we check with the hoster to update libzip

fortrabbit won't upgrade for now - is there a workaround?
I see the missing constant is set as default in /comodojo/zip/src/Comodojo/Zip/Zip.php:204 but cant see how I could use that in my code
$addZip = $manager->addZip(\Comodojo\Zip\Zip::open($ZipFileA))->addZip(\Comodojo\Zip\Zip::open($ZipFileB));
where I add Zip archives.

@cord I'm afraid there is no easy workaround, that constant is used by the lib to determine and set the right encryption mode.
If you have no option to upgrade you libzip, you can consider using comodojo/zip ^2.1, that has the same APIs but no extra functionalities (ref. CHANGELOG.md). In that case please be aware that there is no plan to release additional versions based on the 2.X branch (i.e. 2.1.1 is the last one) and you'll be using pretty old code (Aug 2017).


gnome-extension-manager: 0.4.0 -> 0.4.1

Description of changes
https://github.com/mjakeman/extension-manager/releases/tag/v0.4.1
Take note, the version string hasn't changed so it may appear as v0.4.0 in the 'About' dialog.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

[x] package build on x86_64-linux
[x] executables tested on x86_64-linux

(Not sure if we should set those newly added meson options :thinking:)

Those options seems to be used for certain error dialogs encouraging to report to more appropriate channels first. Pretty neat idea.
Anyways, I think we should set those options.


Improve the PyPi upload pipeline

The pipeline should only publish when pushed to master not PR.
TestPyPI should be the target when no tags are pushed and PyPI when pushed with tags.

Functionality implemented, when pushing to main package is uploaded to testPyPi. To be noted the version number needs to be manually incremented or the pipeline will fail. When release is made publish will be done to PyPi make sure to publish with tags that correspond to the correct version number e.g. v0.0.4


Link shown for using trimmed/illink 404s

Description
When using dotnet publish on a trimmed .NET application, it displays an aka.ms URL, https://aka.ms/dotnet-illink, which as of writing 404s.
Steps to reproduce

Create an empty .NET Console application.
Run dotnet publish -c release /p:RuntimeIdentifier=win10-x64 /p:PublishSingleFile=true /p:SelfContained=true /p:PublishReadyToRun=true /p:PublishTrimmed=true

In the output, you'll see a link along the lines:

Optimizing assemblies for size, which may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink

This takes you to https://docs.microsoft.com/en-us/dotnet/core/deploying/trim-self-contained, which currently 404s.

I think it should point to https://docs.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-self-contained.


Fixing missing closing span tag

Hi, I spotted there is a missing closing span tag in line no-25 in the index.html file. Can you assign me this issue so that I can fix it?

sure , but if you can add more code or anything to contribute because adding 1,2 words might create problem for quality contribution, and hacktoberfest review every pr .

yes,sure!

In the temperature toggle in input and label in lines no 29 and 30 I think the 'for' attribute should be compared with the 'id' attribute ie -"unit" but it is matched with the class attribute. Could you check this I would like to fix this bug.

In the temperature toggle in input and label in lines no 29 and 30 I think the 'for' attribute should be compared with the 'id' attribute ie -"unit" but it is matched with the class attribute. Could you check this I would like to fix this bug.

you can work on it !


Feature Request: Connect Options - Allow Authorization Header

Feature Request
I'd like to connect to a browserWSEndpoint that is protected by authentication. It would be nice to be able to provide an Authorization Bearer <token> on the connection, and every request thereafter to that endpoint.
I'm specifically wanting the Authorization Header, but this probably could just be generic to allowing any headers on all requests.
I vision within the connect options, provide a headers option
https://github.com/puppeteer/puppeteer/blob/v9.1.1/docs/api.md#puppeteerconnectoptions
Example:
browser = await puppeteer.connect({
      browserWSEndpoint: "ws://my.server",
      headers: {
        Authorization: "Bearer hunter2"
      },
});

I'd imagine the change would happen here:
https://github.com/puppeteer/puppeteer/blob/943477cc1eb4b129870142873b3554737d5ef252/src/common/BrowserWebSocketTransport.ts#L21
To be something similar to:
https://github.com/websockets/ws/issues/473#issuecomment-240074672
I did see page.setExtraHTTPHeaders(headers), but I don't think this what I'm looking for as it shouldn't just be for a specific page, but for all websocket requests to the server.
https://github.com/puppeteer/puppeteer/blob/v9.1.1/docs/api.md#pagesetextrahttpheadersheaders

Please leave open :)

still valid

@jayflo Good catch! Finally got around to experimenting with some local changes using patch-package and I can confirm the correct area to add the headers to is https://github.com/puppeteer/puppeteer/blob/f42336cf83982332829ca7e14ee48d8676e11545/packages/puppeteer-core/src/common/NodeWebSocketTransport.ts#L30-L32
Would be great to be able to optionally configure additional headers from puppeteer.connect() to that function


Rethink warning about 'no validation file' when loading or creating a model with default deepforecast_config.yml

The most basic thing we do triggers a warning that is confusing to users:
>>> from deepforest import main
>>> model = main.deepforest()
Reading config file: /home/ethan/miniconda3/envs/DeepForest/lib/python3.11/site-packages/deepforest/data/deepforest_config.yml
No validation file provided. Turning off validation loop
...

We've gotten a number of questions (#557, #655, #653), about this warning and it is particularly confusing if users add a validation file in the code and then create a trainer, since they are seeing an error that implies that this didn't work, but it's actually occurring before the validation file is defined and the trainer created.

Yes, in general I think it actually could be silent without a problem.


rviz module is not being tested by CI

because interactive_markers is not found.

Resolved by adding missing dependencies to package.xml in #149


Hide console/terminal

Hi,
This is again a newbie question:
All tests I did on Windows had a console window that was around since the .Net Core project was a console one. While useful for debugging and such, this isn't something I want for release. Is there a way to not show (or hide) the terminal window?

As of .NET 3.0, you can set <OutputType>WinExe</OutputType> in your csproj or pass /p:OutputType=WinExe as an argument to dotnet publish to avoid the console window.


Wrong Zone Sizes after reboot

Microsoft PowerToys version
0.37.0
Running as admin

[ ] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
You must have you Windows Taskbar higher than normal (in my case: two lines).
If your restart your Computer and auto start PowerToys with Fancy Zones, the higher Taskbarsetting is not recognized and the lower border of the defined Zones is there, where it should be only with a Taskbar of height "1 line".
Because of the in many application the lower information Bar (or controls) are hidden behind the taskbar.
Opening Fancy Zones Layout Editor (without editing the zones actually), correctly recognizes the height of the taskbar and sets the lower border to the right position.
✔ Expected Behavior
The Lower Border of the Defined Zones should automatically be adjusted to the height of the Taskbar correctly at startup .
❌ Actual Behavior
See "Steps to reproduce"
If your restart your Computer and auto start PowerToys with Fancy Zones, the higher Taskbarsetting is not recognized and the lower border of the defined Zones is there, where it should be only with a Taskbar of height "1 line".
Because of the in many application the lower information Bar (or controls) are hidden behind the taskbar.
Other Software
No response

Thank you for reporting! Linked your report against another issue #11180


Possible Conflict with Google Maps plugin

Hello,,
The plugin is amazing. it does the job perfectly. however, i had an issue making it work with my app that works with Google Maps plugin for cordova. loading an ad was breaking the map so i worked it around by loading the ad first and then load the map with the admob.events.onAdLoaded event. however, once i load the map the ad is moving to the top. it's very unclear to me why this is happening and what could i do for it.
Any suggestions?

I have the same issue

Can you mention more details so to find out where could the issue be.
On Fri, Sep 16, 2016, 07:54 cesar omar<EMAIL_ADDRESS>wrote:

I have the same issue
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/appfeel/admob-google-cordova/issues/53#issuecomment-247512505,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATVPrKqo2CtDpR77u9XnJuXJL8QS2c8ks5qqhLmgaJpZM4JfFuz
.

i've been testing for some time.
if the the maps loads first than admobs, the map disappear.
if admobs loads first than maps, the map is loaded on down, admobs on top, even if the bannerAtTop is false.
if the maps leads first than admobs and overlap is true, it works only the first time.
i didn't see any style/css changes, nor errors on adb

I have the same issue
When install "cordova-plugin-googlemaps" and "cordova-admob" i can not compile, but i can compile if only one of this are installed

Closing this as I'm no longer attending this issue.


Browse / Tail logs via web interface?

ISSUE TYPE

Feature request

SUMMARY

I'd like a log 'recent events' (particularly errors) section to appear on the devilbox index, or a live tool made available under the Tools menu that can render/tail the various logs in /var/log
Goal

I mostly need to be able to quickly check for recent php errors. Currently I have to ssh to the machine running devilbox, then enter the shell, then tail -f /var/log/php/php-fpm.error. A web interface would make that significantly easier.

Hello @frumbert. This feature is not new, and some ideas/alt solution, were given in report #597

Another option is you can turn the logs into a host shared mount so you can access them.
I added this volume to the php container in the docker-compose.overrides.yml:
volumes:
- ${DEVILBOX_PATH}/log/php-fpm-${PHP_SERVER}:/var/log/php:rw${MOUNT_OPTIONS}

+1 to keep this feature on the roadmap

@frumbert and @cytopia Hello guys
As I've already said in feature #597 , both feature requests are pretty close.
I've worked on a solution that is up and running. I'll propose it on my repository https://github.com/llaville/flames today !
This solution is based on vector.


xcode error Module 'GoogleMapsBase' not found

Hi, I tried doing the Option 2 in installation
On build I am getting the error.
Attempts so far from another thread is to add  s.compiler_flags = '-fno-modules’ on google maps podspec
Tried removing whole ios folder and react-native eject then run pod install again. Still ends up on this error.
Podfile looks like this
.....................
rn_path = '../node_modules/react-native'

  pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
  pod 'React', path: rn_path, subspecs: [
    'Core',
    'RCTActionSheet',
    'RCTAnimation',
    'RCTGeolocation',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTSettings',
    'RCTText',
    'RCTVibration',
    'RCTWebSocket',
    'BatchedBridge'
  ]

  pod 'GoogleMaps'  # Remove this line if you don't want to support GoogleMaps on iOS
  pod 'react-native-maps', :path => '../node_modules/react-native-maps'
  pod 'react-native-google-maps', :path => '../node_modules/react-native-maps'  # If you need GoogleMaps support on iOS
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == 'react-native-google-maps'
      target.build_configurations.each do |config|
        config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
      end
    end

    if target.name == "React"
      target.remove_from_project
    end
  end
end

rn: 0.49.5
rnm: 0.17.1

I recently made a fresh example build with pods and GoogleMaps with no issues.
https://github.com/alvelig/react-native-maps-pods-example.
Try to check it out or build through the README.MD. If it does not help, let me know.


Apply for Homebridge Verified status

The list of tasks to do are in https://github.com/homebridge/verified
I'm sure we'll learn a lot from it.

I would be keen to see this one :) how is the progress going to meet the required conditions?

I just read through the requirements and it seems like this module ticks all of them.
The only one that I'm not sure about what they actually mean with

The plugin must not start unless it is configured.

I've created the verification request anyway at https://github.com/homebridge/verified/issues/113. Hopefully the team will help us with identifying any missing bits :)

I assume that means the plug-in should not fire up unless it has a 'config' placed in the config.json file? I find they are normally very helpful :) thanks for the update!

Approved!! 🚀

Nice work! :)


[docs] Fix Link typings in the react-router example

[x] I have followed (at least) the PR section of the contributing guide.

Closes #32306

@danilo-leal  - it is green now - yeah

Could you please also update the LinkRouterWithTheme demo to be consistent with the example (type the forwardRef argument)?

@michaldudak the LinkRouterWithTheme.tsx was already correct: https://github.com/mui/material-ui/blob/master/docs/data/material/guides/routing/LinkRouterWithTheme.tsx#L36


Improve ergonomics

It's hard to remember all of the configuration methods. Sometimes they aren't so obvious in isolation (what is preferring a grabber visibility deep in this component hierarchy?). It's hard to discover the apis for quick configuration. I am leaning towards something similar to environment(_, _). Like this:
Text("hello")
  .sheet(\.prefersGrabberVisible, true)
  .sheet(\.detents, [.medium()])

The sheet method name makes sense, but other ideas should be considered as well:

.presentation(...)
.pageSheet(...)
.presentationPreference(...)
.sheetPreference(...)

There isn't really much prior art around organized interaction with Preferences aside from creating bespoke methods like environment interactions.
I will note that using preferences the KV way doesn't make it completely obvious that we are moving upwards like a typical preference setting might. Likely important to keep preference somewhere in the signature.
Another useful tool may be a property wrapper to be able to read from preferences:
@Preference(\.pref)
var pref

This opens the potential for simplifying the entire configuration pipeline.
Food for though 🍎

Result of the investigation was to use enums & associated values:
struct SheetContentView: View {
  var body: some View {
    Text("Hello World")
        .sheetPreference(.grabberVisible(true))
  }
}

This satisfies the following:

Easy to remember, understand without context, and provides useful code completion.
Can be extended to provide new and tangential configuration options

The reason enums are used instead of key paths is that there is no equivalent struct to  EnvironmentValues for preferences. It wouldn't really make sense to have one either, since preferences aren't consolidated that way. Enum provides most of the same functionality and shape as the KeyPath api.


iOS Simulator crashes on Intel Mac

I've the same problem on an Intel Mac Mini with Godot 3.4.stable, and Xcode 13.1, described here: https://github.com/godotengine/godot/issues/44681. The iOS Simulators don't show up. I can add manualy i386 arm64 to Excluded Architectures, then the iOS Simulators show up, and I can compile, but the build crashes on the Simulator.
Any news/fixes about this Intel iOS Simulator problem? Thanks.
Originally posted by @MikeFrom in https://github.com/godotengine/godot/issues/44681#issuecomment-992535431

Related to https://github.com/godotengine/godot/issues/45209.

@MikeFrom Can you provide a Xcode project to test?
I can confirm this, it is still happening for me: The iOS Simulators don't show up and i need to add manualy i386 arm64 to Excluded Architectures to appear, but the game doesn't crash on Xcode after i try to run on Simulator.

Same here, Godot 3.4.4 ,simulators don't show up , add i386 arm64 to Excluded Architectures, not crash but build failed
ld: entry point (_main) undefined. for architecture arm64
Any way to fix this. ?

After several tests , I have to trun on the checkbox of  the armv7 in the Godot export window , and then add i386 arm64 to Excluded Architectures ,and choose standard in Architectures
to be able to build & run the simulators , hope it helps

I had the same issue, but insted of excluding architecture i set "Build Active Architecture Only" to true for the Debug Configuration.


The tutorial link is broken

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@Herman-Wu Could you provide us with the link to the document you are referring to ?

@Herman-Wu We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Fix some typos in the french translation

Thank you both! Looks like there's a conflict caused by https://github.com/heroku/12factor/pull/152/commits/58e0bb9f7bafaf55c5b76f45a8bbc09edc4d1c1c, which added systemd - would you mind taking a look at it @smalesys ?

The specific change in the French content is here.

Done :)

Wonderful, thanks a lot! :)


Feature count error in test_incident_hot_spots_desktop (and Pro)

Automated tests for ArcGIS 10.5 (ArcMap) throwing an error for Hot Spots in Incident Analysis.
Expected Behavior
Should not error. Something in 10.5 that is changing how the features are being analyzed?
Current Behavior
Error from the automated tests in Desktop:
test_incident_hot_spots_desktop (patterns_tests.IncidentHotSpotsTestCase.IncidentHotSpotsTestCase)Traceback (most recent call last):
  File "D:\GitHub\solutions-geoprocessing-toolbox\utils\test\patterns_tests\IncidentHotSpotsTestCase.py", line 92, in test_incident_hot_spots_desktop
    self.assertEqual(featureCount, int(7302))
AssertionError: 7286 != 7302

Error in Pro:
test_incident_hot_spots_pro (patterns_tests.IncidentHotSpotsTestCase.IncidentHotSpotsTestCase)Traceback (most recent call last):
  File "D:\GitHub\solutions-geoprocessing-toolbox\utils\test\patterns_tests\IncidentHotSpotsTestCase.py", line 75, in test_incident_hot_spots_pro
    self.assertEqual(featureCount, int(7302))
AssertionError: 7286 != 7302

Possible Solution

Steps to Reproduce (for bugs)

Open command prompt in solutions-geoprocessing-toolbox repo folder
cd .\utils\test
.\TestKickStart.bat

Context
During 10.5 testing of tools with automated tests.
Your Environment

Version used: ArcMap 10.5 and ArcGIS Pro 1.4.1
Environment name and version (e.g. Chrome 39, node.js 5.4): N/A
Operating System and version (desktop or mobile): Windows 10

This fails for me also (in ArcMap 10.4.1) - but with different error:
test_incident_hot_spots_desktop (patterns_tests.IncidentHotSpotsTestCase.IncidentHotSpotsTestCase)Traceback (most recent call last):
  File "C:\Users\----\Documents\GitHub\solutions-geoprocessing-toolbox\utils\test\patterns_tests\IncidentHotSpotsTestCase.py", line 89, in test_incident_hot_spots_desktop
    self.fail('Exception in IncidentHotSpots_iaTools for Desktop toolbox \n' + msg)
AssertionError: Exception in IncidentHotSpots_iaTools for Desktop toolbox
Failed to execute. Parameters are not valid.
ERROR 000732: Input Incident Boundary Features: Dataset C:\Users\----\Documents\GitHub\solutions-geoprocessing-toolbox\utils\test\patterns_tests\data\scratch.gdb\outputHotSpots does not exist or is not supported
ERROR 000732: Bounding Polygons Defining Where Incidents Are Possible: Dataset C:\Users\----\Documents\GitHub\solutions-geoprocessing-toolbox\utils\test\patterns_tests\data\scratch.gdb\outputHotSpots does not exist or is not supported
Failed to execute (IncidentHotSpots).

Verify with/after #563

Verified running in test cases.


Godot 4 Beta 17 breaks typed arrays

Related to: https://github.com/godotengine/godot/pull/69248
Problem:
The method _update_cached_children on BTNode crash every time because it use the method map to iterate through their children and return an array which seems like it doesn't specify the type.

Expect several breaks on this beta release.

A quick solution for BTNode is to replace the function entirely
func _do_execute(delta:float):
	_register_execution_start()
	_blackboard.set_data("delta", delta)
	_blackboard.set_data("previously_running_nodes", Array(_previous_running_nodes))
	_blackboard.set_data("running_nodes", [])

	_children[0]._execute(_actor, _blackboard)

#	Delete this comments
#	var running_nodes:Array[BTNode] = _blackboard.get_data("running_nodes", [])

	var running_nodes:Array[BTNode] = []
	var blackboard_data = _blackboard.get_data("running_nodes", [])
	for data in blackboard_data:
		running_nodes.push_back(data as BTNode)

	if _previous_running_nodes != running_nodes:
		for n in _previous_running_nodes:
			if not running_nodes.has(n):
				n._stop( _blackboard)

		if not running_nodes.is_empty():
			var running_node_names:Array[String] = running_nodes.filter(func(n): return n.is_leaf()).map(func(n): return str(n.name))
			on_running.emit(running_node_names)
		else:
			on_idle.emit()
		_previous_running_nodes = running_nodes
	_register_execution_stop()

Notice that the change in BTNode would make the method _node_as_bt_node useless


Test task does not declare test listeners as inputs

Expected Behavior
build cache should be invalidated when your scripts change
Current Behavior
cache doesn't always expire when buildsrc plugins change
Context
I experienced an issue where cached code passed due to tasks being skipped even though I had changed my kotlin buildSrc plugins
Steps to Reproduce
this is a really good question, I committed this to github, due to a bug in my build script, the build passed, it shouldn't have because there are empty test suites, it was failing locally.
https://github.com/xenoterracide/iw-ppm-backend/commit/3c900629bafdd1a513b8a55678b917db646d34ac
Your Environment
❯ ./gradlew --version

------------------------------------------------------------
Gradle 7.1.1
------------------------------------------------------------

Build time:   2021-07-02 12:16:43 UTC
Revision:     774525a055494e0ece39f522ac7ad17498ce032c

Kotlin:       1.4.31
Groovy:       3.0.7
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          11.0.12 (Eclipse Foundation 11.0.12+7)
OS:           Linux 5.10.60-1-MANJARO amd64

sorry, no build scan as the build ran on CI

Could you pls. try to provide us with a reproducer or a build scan showing the problem? We need to know which task is involved, what invocation you use and other such information.

Could you pls. try to provide us with a reproducer or a build scan showing the problem? We need to know which task is involved, what invocation you use and other such information.

I can try, but all of that information is available from that commit.  If I try that and that works, is that satisfactory?

yes, that process I just described worked
❯ git checkout 3c90062~1
❯ ./gradlew clean build
❯ git checkout 3c90062
❯ ./gradlew build --scan
❯ ./gradlew clean build --scan
❯ rm gradle.properties
❯ ./gradlew build --scan

passing build that shouldn't
https://scans.gradle.com/s/3vxkr2ocppkz6
then I did a clean build, and that still passed
https://gradle.com/s/2oyepvglm7hiu
last I disabled the build cache and it failed
https://gradle.com/s/2oyepvglm7hiu

Can you post the link to the third build scan please?

https://gradle.com/s/lgzn26kcdzytq also updated above, didn't realize I had pasted the same one twice, sorry

@xenoterracide Thank you for reporting. The problem seems to be the following:

Gradle detects the task implementation of the task as not changed, since the Test task is a built-in task and the Gradle version stayed the same
The Test task does not declare the testListeners as an input.

The Test task not declaring the testListeners as an input is probably the main problem. I wonder what we could do here. What you can do manually is to declare an input via the runtime API to the Test task, which contains the implementation and the list of test listeners.
I'll change the issue description to Caching does not take test listeners into account or something like that.

I don't know if it's a second bug, but it gets me that running the clean didn't clear it either.

seems like this is probably still an issue ;)


The update from gopass 1.8.2 to 1.8.3 looks to have broken OTP for me

Summary
Updated gopass from 1.8.2 to 1.8.3, not all OTP are not working for me.
Steps To Reproduce
Set authpauth URI in simple pass form.
Use gopass 1.8.2 = gopass otp -c otp/path/item (OK)
Use gopass 1.8.3 = gopass otp -c otp/path/item
Error is : Error: No OTP entry found for otp/path/item: no totp entry in secret
Environment

OS: Linux
OS version: Ubuntu 18.04
gopass Version: 1.8.3
Installation method: tar + deb from github

Additional context
https://github.com/gopasspw/gopass/blob/dec28c396069e6ef16e2b52467a6b4a0e70958a2/pkg/otp/otp.go#L36
The update from gopass 1.8.2 to 1.8.3 looks to have broken OTP for me.
All my OTP are plain password with autpauth://totp/... URI format.
And now all of them are not working with gopass 1.8.3.
Could this be related to the change done 11 days ago?

See PR -> https://github.com/gopasspw/gopass/pull/1006

https://github.com/gopasspw/gopass/commit/90bb3877356a56d9e3f23597723bf3b352596f1a fixed the issue for me.


docs: make control panel and info window text readable in dark mode

Before:

After:

Thanks a lot! Would you mind letting prettier run over it? I can't even tell what it is complaining about, but running prettier --write examples/examples.css should fix it.
https://github.com/visgl/react-google-maps/actions/runs/7130950729/job/19447472227?pr=126#step:5:22

Thanks a lot! Would you mind letting prettier run over it? I can't even tell what it is complaining about, but running prettier --write examples/examples.css should fix it.
https://github.com/visgl/react-google-maps/actions/runs/7130950729/job/19447472227?pr=126#step:5:22

Done, thanks!


Update utility network samples to use service geodatabase

This PR updates utility network samples so that the maps use service geodatabases. Please see /common-samples/2410 for more info.
Note: Since sample server 7 updates have not yet been merged (it is blocked until further notice), you will need to adjust the service URL and input credentials to test the samples. Please refer to #1026 for instructions on how to test.

I've marked this as a draft for now until we can test with the new SS7 updates.

SS7 updates have gone live! This PR is now ready for reviews. You no longer have to edit your hosts file in order to test.
Please note that Create load report and Configure subnetwork trace do not need service geodatabases since they don't have maps.


Fix for cordova projects located in paths with spaces

We had an issue very similar to #47.
The shell execution of the cordova version script silently failed because the full path where our cordova project was located contained whitespaces (and other conflicting characters like '(' and '(' ). As a result, the promise returned by getPlatformVersionsFromFileSystem rejected and no changes to the xcode project were applied by this plugin. Wrapping the script command in quotation commands solved the problem for us.

Bump!!

Also, thank you @TheLiquidSky !

Thanks @TheLiquidSky !
Now I remember that this part of code had been copy/paste from the Cordova sources: https://github.com/apache/cordova-lib/blob/7.0.x/cordova-lib/src/cordova/platform_metadata.js#L68-L85 for this PR.

Yay, thanks @akofman


FTP Activation Problem

FTP Activation Problem After installing the plugin, writing the required settings, and saving, when you upload a file, this error appears
Fatal error: Uncaught Error: Call to undefined function ftp_connect() in H:\root\home\ramymohi200-001\www\upload\plugins\kj_ftp\ftp.php:75 Stack trace: #0 H:\root\home\ramymohi200-001\www\upload\plugins\kj_ftp\init.php(450): kleeja_ftp->open('ftp..........', '.......', '.......', '21', '', false, false, '60') #1 H:\root\home\ramymohi200-001\www\upload\plugins\kj_ftp\ftpUploader.php(306): getKleejaFtpInstance() #2 H:\root\home\ramymohi200-001\www\upload\index.php(65): ftpUploader->upload() #3 {main} thrown in H:\root\home\ramymohi200-001\www\upload\plugins\kj_ftp\ftp.php on line 75

make sure that the extension of the ftp for PHP is active


Support for SOAP WSDL Extensibility Elements

Description:
I was trying to import a SOAP API as pass through and I noticed that the WSDL file failed validation. The only error message displayed in the Publisher portal is "WSDL content validation failed" and there was no additional information provided(See the screenshot). I tried previewing the API calls using the browser developer tools and noticed that the WSDL failed due to "WSDL extensibility element not supported" (See the screenshot attached). A prospect who has worked with the earlier version confirmed that it was supported with earlier version of the API Manager(I think it was version APIM 3.2 or 2.X)
![Uploading Screen Shot 2021-12-20 at 15.46.11.png…]

Steps to reproduce:
Below are the steps used

On the API tab in WSO2 APIM Publisher portal, click on Create a new API
Import a WSDL
Browse for the WSDL containing the WSDL extensibility elements
sample WSDL file can be provided on request.

Affected Product Version:
WSO2 API Manager 4.0
Environment details (with versions):

OS: Mac/Windows
Client: NA
Env (Docker/K8s): NA

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

Thanks,
Puneet<EMAIL_ADDRESS>

Here is a cut down sample which reproduces the problem.  At this stage the 4.0.0 demo is on hold.
Let me know if we can help.
Paul
play1.wsdl.txt

The fix has been done using the following PRs.

https://github.com/wso2/carbon-apimgt/pull/10686
https://github.com/wso2/carbon-apimgt/pull/10732
https://github.com/wso2/carbon-apimgt/pull/11145
https://github.com/wso2/carbon-apimgt/pull/11360


Refactor and check ready code for markdown parser

Refactor code from issue https://github.com/metarhia/metacms/issues/2
and try to use it.
const tags = [
      // starts, ends, tag start, tag end, true = replace / false = as is
      ['##', '\n', '
', '
', false],
      ['#', '\n', '
', '
', false],
      ['**', '**', '', '', true],
      ['*', '*', '', '', true],
      ['~~', '~~', '', '', true],
      ['``', '``', '
', '
', true],
      ['`', '`', '', '', true],
      ['>', '\n', '
', '
', false],
      ['-', '\n', '
', '
', true, ['\n\n', '\n\n', '
', '
']],
      ['\n\n', '\n\n', '
', '
', true],
    ];

    const parse = (md) => {
      const stack = [];
      let n = 0;
      const length = md.length;
      const res = [];
      let tag, close, found, ul;

      while (n < length) {
        // console.log(md.charAt(n), md.charCodeAt(n));
        if (close && md.substr(n, close[1].length) === close[1]) {
          res += close[3];
          if (close[5] && md.substr(n, close[5][1].length) === close[5][1]) {
            res + close[5][3];
          }
          stack.pop();
          if(close[4]) n += close[1].length;
          if(stack.length > 0){
            close = stack[stack.length - 1];
          } else {
            close = null;
          }
        } else {
          found = false;
          for (tag of tags) {
            if (md.substr(n, tag[0].length) === tag[0]) {
              if (tag[5] && md.substr(n-tag[5][0].length, tag[5][0].length) === tag[5][0]) {
                res + tag[5][2];
              }
              res += tag[2];
              stack.push(tag);
              close = tag;
              found = true;
              n += tag[0].length;
              break;
            }
          }
          if (!found) {
            res += str[n];
            n++;
          }
        }

      }
      return res;
    };

I refactor this code. Put result to https://codepen.io/artificialman3000/pen/poLwZdg . Сhar-by-char cycle used here. I think that this way of implementation will become very complicated and has restrictions. For example, we have to wrap lists with blank lines, whereas in accordance with specification wrapping of lists is not required.

I refactor this code. Put result to https://codepen.io/artificialman3000/pen/poLwZdg . Сhar-by-char cycle used here. I think that this way of implementation will become very complicated and has restrictions. For example, we have to wrap lists with blank lines, whereas in accordance with specification wrapping of lists is not required.
I examined markdown libraries marked and showdown. These libraries do not split markdown into lines but both use reqular expressions which simplify code.

I refactor this code. Put result to https://codepen.io/artificialman3000/pen/poLwZdg . Сhar-by-char cycle used here. I think that this way of implementation will become very complicated and has restrictions. For example, we have to wrap lists with blank lines, whereas in accordance with specification wrapping of lists is not required.
I examined markdown libraries marked and showdown. These libraries do not split markdown into lines but both use reqular expressions which simplify code. Marked library parse markdown into lexems as a pre-processing operation.
I viewed specification https://github.github.com/gfm/ . It contains direct instructions how to implement algorithm of parsing and advises construct the tree of elements.
I think we may create a declarative description of lines for block elements as Timur proposed, parse tree of its and then parse inline elements using char-to-char method. We also may use lexical preprocessing for the both steps.


use contract address instead of code address

use contract address instead of code address
fix tx trace conversion

#1863
#1862  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kariy and the rest of your teammates on  Graphite

Merge activity

Apr 22, 10:33 PM EDT: @kariy started a stack merge that includes this pull request via Graphite.


Laravel 11 Support Needed

Laravel 11 Support Needed
yadahan/laravel-authentication-log v1.6.0 requires illuminate/support ^7.30.4|^8.40.0|^9.0|^10.0 -> satisfiable by illuminate/support[v7.30.4, v7.30.5, v7.30.6, v8.40.0, ..., v8.83.27, v9.0.0-beta.1, ..., v9.52.16, v10.0.0, ..., v10.48.2].

Hi,
Thank you for using this package.
I added Laravel 11 support in the new release v1.7.0.


Shared library support

The goal for this branch is to flip things around so TCMU can be used as a library by existing applications such as QEMU or others that have their own event loop. This will require that libtcmu give the client the file descriptors to wait on. This allows the client to have control over the whole spectrum of parallelization options, from every device being handled by a single thread, to each device being given its own thread, or something in between.
libtcmu would handle parsing netlink and also registering as a handler with tcmu-runner over DBus, as well as handling the low-level parts of the TCMU udev interface and supplying basic SCSI command emulation routines that clients can use if desired.

Very cool, Andy!
What about the dependencies? Do things still work without DBus, when devices are configured manually?

Thanks, Oleg. Dependencies at the moment just are libnl3 for netlink. I do want DBus support not only in tcmu-runner but also libtcmu. The two C DBus options right now are Glib's GDBus and systemd's sd-bus, if one of those is an easier dependency for you to accept than the other. If not, we at least can have a conditional build flag to exclude DBus support.


lxd 2.21: disk quota ignored and weird disk quota exceeded when starting or setting quota

On ubuntu xenial 16.04.3, lxd 2.21, btrfs:
Info:
lxc info
config:
core.https_address: '[::]:8443'
core.proxy_http: http://<IP_ADDRESS>:3128
core.proxy_https: https://<IP_ADDRESS>:3128
core.trust_password: true
api_extensions:

storage_zfs_remove_snapshots
container_host_shutdown_timeout
container_stop_priority
container_syscall_filtering
auth_pki
container_last_used_at
etag
patch
usb_devices
https_allowed_credentials
image_compression_algorithm
directory_manipulation
container_cpu_time
storage_zfs_use_refquota
storage_lvm_mount_options
network
profile_usedby
container_push
container_exec_recording
certificate_update
container_exec_signal_handling
gpu_devices
container_image_properties
migration_progress
id_map
network_firewall_filtering
network_routes
storage
file_delete
file_append
network_dhcp_expiry
storage_lvm_vg_rename
storage_lvm_thinpool_rename
network_vlan
image_create_aliases
container_stateless_copy
container_only_migration
storage_zfs_clone_copy
unix_device_rename
storage_lvm_use_thinpool
storage_rsync_bwlimit
network_vxlan_interface
storage_btrfs_mount_options
entity_description
image_force_refresh
storage_lvm_lv_resizing
id_map_base
file_symlinks
container_push_target
network_vlan_physical
storage_images_delete
container_edit_metadata
container_snapshot_stateful_migration
storage_driver_ceph
storage_ceph_user_name
resource_limits
storage_volatile_initial_source
storage_ceph_force_osd_reuse
storage_block_filesystem_btrfs
resources
kernel_limits
storage_api_volume_rename
macaroon_authentication
network_sriov
console
restrict_devlxd
migration_pre_copy
infiniband
maas_network
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
tls
environment:
addresses:

<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
architectures:
x86_64
i686
certificate: |
certificate_fingerprint: 71261d282d756e652c08bb308c5dadf32f85e8807d229690347e0cda0ef1da2e
driver: lxc
driver_version: 2.1.1
kernel: Linux
kernel_architecture: x86_64
kernel_version: 4.4.0-116-generic
server: lxd
server_pid: 3678
server_version: "2.21"
storage: btrfs
storage_version: "4.4"

Problem description
disk quota ignored. Still see the host disk:
Steps to reproduce:

Before actions, to gather infos:

In the container:
root@elasticsearch:~# df -m
Filesystem     1M-blocks   Used Available Use% Mounted on
/dev/sdb<PHONE_NUMBER>09    156662  49% /
none                   1      0         1   0% /dev
udev              100736      0    100736   0% /dev/tty

-> this is the host disk
root@elasticsearch:/# du -sm .
[ .. ]
54567	.
-> real used size of the container

Trying to set quota:
lxc config device set elasticsearch root size 100GB
error: The device doesn't exist

oops, no root disk.
2:  add root disk:
lxc config device add  elasticsearch root disk pool=default path=/ size=100GB
Device root added to elasticsearch
lxc config show elasticsearch
devices:
root:
path: /
pool: default
size: 100GB
type: disk
ok

Stopping container
lxc stop elasticsearch

starting container:
error: open /var/lib/lxd/containers/elasticsearch/backup.yaml: disk quota exceeded

huh?

trying to set quota, again
lxc config device set elasticsearch root size 80 Gb
error: open /var/lib/lxd/containers/elasticsearch/backup.yaml: disk quota exceeded

Trying again:
lxc config device set elasticsearch root size 80GB
-> ok

lxc config show elasticsearch
devices:
root:
path: /
pool: default
size: 80GB
type: disk

Trying again: lxc config device set elasticsearch root size 100GB
lxc config show elasticsearch
devices:
root:
path: /
pool: default
size: 100GB
type: disk

Trying again: lxc config device set elasticsearch root size 80GB
ok

starting container
lxc start  elasticsearch
->ok

Looking inside container:
root@elasticsearch:~# df -m
Filesystem     1M-blocks   Used Available Use% Mounted on
/dev/sdb<PHONE_NUMBER>00    156562  49% /
none                   1      0         1   0% /dev
udev              100736      0    100736   0% /dev/tty
tmpfs                  1      0         1   0% /dev/lxd
tmpfs                  1      0         1   0% /dev/.lxd-mounts

-> nothing changed
By the way, what  should  be set in /etc/fstab? Container's one  is empty.
Regards.

Unlike zfs, btrfs doesn't create a mount table entry per subvolume, so while the quota is applied by LXD, it is not visible in the df output. That's due to how btrfs works internally and not something LXD can do anything about unfortunately.
To check on your quotas, you need to manually interact with the btrfs quotas using btrfs qgroup. Also note that as mentioned in our documentation, btrfs quotas aren't hierarchical and so it is trivial for any user in your container to bypass the quota, simply by creating a subvolume.
As for /etc/fstab, no content is required for your container to function.

Oh and for the quota errors when applying it to the container, this comes straight from btrfs, so btrfs must have though you were running out of disk space within the rootfs of your container. This may have been because you're actually using more space than the quota (or right around the size of the quota) or it could be because of mis-balanced metadata/data at the btrfs layer, in which case you may want to run a btrfs balance operation on your storage pool.


OneDrive restore has log-level debug on

The following line was outputted when running corso restore --bacup <id> --file <file name> --folder <folder>
2022-10-12T03:46:42.421Z	INFO	operations/restore.go:140	Discovered 1 items in backup cfcc2292-d4e4-4eff-9459-3256b676b615 to restore

Fixed with #1302


[TRAVIS] OSX: find blas version after all brew operations

brew can change versions on packages due to dependencies etc. So we need to find the BLAS version
just before starting to build.
Fixes #356

If this works, we'll need similar changes in SIRF, and  indeed our installation instructions.

oh well. one job fails with
.../SIRF-SuperBuild/sources/Gadgetron/toolboxes/core/cpu/math/cpp_blas.cpp:7:18: fatal error: 'cblas.h' file not found

no travis job scheduled for some reason. I'll close and reopen

By the way, brew says
==> Pouring openblas-0.3.9.mojave.bottle.tar.gz
==> Caveats
openblas is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BLAS and LAPACK in the Accelerate framework.
For compilers to find openblas you may need to set:
  export LDFLAGS="-L/usr/local/opt/openblas/lib"
  export CPPFLAGS="-I/usr/local/opt/openblas/include"
For pkg-config to find openblas you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"

So, are we sure we need this version specific code? https://github.com/CCPPETMR/SIRF-SuperBuild/blob/01a15530fcdbc90204e01719300e04346d7d6ec4/.travis.yml#L377-L379

The current strategy fails as brew list --versions openblas  returns more than 1 version and we get
-DCBLAS_INCLUDE_DIR=/usr/local/Cellar/openblas/0.3.7 0.3.9/include -DCBLAS_LIBRARY=/usr/local/Cellar/openblas/0.3.7 0.3.9/lib/libblas.dylib

This now works fine. @rijobro could you make the equivalent change in SIRF and adjust install instructions (wiki I guess).
let's squash merge this.


run() does not return data (vinyl-fs 2.3.0 problem)

Hello there :smile:
by using grunt-contrib-imagemin I found out there is a problem with the current imagemin, that is caused by an incompatibility between stream-combiner2 1.1.1 and vinyl-fs 2.3.0 (which was released yesterday). The new vinyl-fs version removes the ability to apply readable events to the dest stream, but stream-combiner2 relies on this event.
I created a PR for vinyl-fs (https://github.com/gulpjs/vinyl-fs/pull/142), but maybe it's a temporary solution to pin vinyl-fs to 2.2.x in imagemin.
What do you think about it? Fact is, that imagemin 4 is broken at the moment, if you rely on the data argument of the run() callback. Because of the aforementioned incompatibility it's always empty.
Thanks
Ben

I added "vinyl-fs": "2.2.0" to my package.json removed node_modules and reinstalled all modules and seems to work. Thanks!

As a temporary solution I added vinyl-fs to my project's package.json to avoid crashes when running the grunt task.
A bugfix would be greatly appreciated.

+1

+1

+1

+1

Worked for me. "I added "vinyl-fs": "2.2.0" to my package.json removed node_modules and reinstalled all modules and seems to work. Thanks!" @wardpeet

@giamma13 @Fridus @anbestephen @sisu4u Removed your meaningless +1 comments.

Fixed in https://github.com/gulpjs/vinyl-fs/pull/145.
Thanks for the report, @benurb.


inetLatency fails on some non-English versions of Windows

Describe the bug
The ping wrapper used for the Windows version of inetLatency relies on parsing specific English text that is translated in some non-English versions of Windows.
https://github.com/sebhildebrandt/systeminformation/blob/a9f346a69ae74cc40b947a73d739450e3b34b7a9/lib/internet.js#L163
The output it's expecting is as follows:
Approximate round trip times in milli-seconds:
    Minimum = 5ms, Maximum = 5ms, Average = 5ms

On a Spanish version of Windows for example, here's the actual output from ping:
Tiempos aproximados de ida y vuelta en milisegundos:
    Mínimo = 14ms, Máximo = 15ms, Media = 14ms

Environment:

systeminformation package version: Latest (v4.0.6)
OS: Windows 10
Hardware: Unrelated

Additional context
Issue was found downstream at GitSquared/edex-ui#414.
A possible fix could be to parse from ms instead of min, since the millisecond units are consistent across languages (I think).

Ahh, ok, will fix this ... sorry!

V4.0.7 just released ... can you try it?

@sebhildebrandt Seems to be working now. Thanks for the quick fix!

@sebhildebrandt V4.0.7 still doesn't cover Chinese situation, here is a typical Chinese output sample:
>ping <IP_ADDRESS> -n 1

正在 Ping <IP_ADDRESS> 具有 32 字节的数据:
来自 <IP_ADDRESS> 的回复: 字节=32 时间=174ms TTL=53

<IP_ADDRESS> 的 Ping 统计信息:
    数据包: 已发送 = 1，已接收 = 1，丢失 = 0 (0% 丢失)，
往返行程的估计时间(以毫秒为单位):
    最短 = 174ms，最长 = 174ms，平均 = 174ms

Notice that a ，(\uff0c Chinese comma) is not compatible with ,(\u002c English comma) in https://github.com/sebhildebrandt/systeminformation/blob/ad0d1c6cc088e36622e10f73f351a184ea37fbce/lib/internet.js#L163
Maybe judge by line.endsWith("ms") would meet the needs?

Very clear. Have already an idea for that ;-)

So I published a fix (v4.0.8) that handles also Chinese output. Hope this works as expected.


Copy code-icon.svg to near where it is used

@joaomoreno Please take a look (fixes #19541)

@joaomoreno Could you be more specific what needs to be done here?

Sure, sorry if I was ambiguous.
cp resources/code-icon.svg src/vs/workbench/parts/welcome/page/electron-browser
cp resources/code-icon.svg src/vs/workbench/parts/welcome/walkThrough/electron-browser

And then change both references
background-image: url('../../../../../../../resources/code-icon.svg');

to
background-image: url('code-icon.svg');

@joaomoreno Got it: I'll do that in the distro repo, right? Also: I can move them since they are only used for the welcome ux. And: src/vs/workbench/parts/welcome would probably be ok, so I can share it between the two subfolders?

Now I understand why the current solution is as is! And the fix likewise! The icon is in the distro repo! That's pretty bad.
I'm more in favour of using a meaningful icon for each of the features instead of the product icon. From https://vsicons.azurewebsites.net/, the VSTS Bowtie Icon Font collection, I suggest the following icons:

For the Welcome, search for alert. The second icon, which is a flag, would do the trick. Alternatively, maybe devices or globe?
For the interactive playground, search for run. Any of those play button icons should work perfectly. Alternatively the log icon is pretty good too.

What do you think?
It would be great to have a solution which isn't hacky, scales and doesn't make the build work even more.

@joaomoreno Let's fix the technical issue first and discuss the icon choice later. The only additional "work" the build does with this is to overwrite the icon as part of its existing mixin step. (Not sure which part you consider hacky.)

I already do what you suggest (except I placed the icon at src/vs/workbench/parts/welcome). I reverted the change to gulpfile.mixin.js in my second commit. I'll just merge that since it seems pretty clean. I've opened #20131 for revisiting the icons.

Cool. I just don't see the matching VS icon in the right folder in the insiders and stable qualities, in the distro repo.

Hah! I better merge that from my private branch, thanks! :)


Loss has gone crazy after several epochs

First of all, thank you so much for the valuable contribution to the community,
I followed your instructions and successfully train the network with 51M_deeplab_all.json config, everything was fine for several first epochs:
Train Epoch: 12 [100]/[100] Loss: 2.269440 mIoU: 0.841808 Teacher mIoU: 0.853646 Supervised Loss: 0.094498 Knowledge Distillation loss: 0.529225 Hint Loss: 2.269440 Teacher Loss: 0.085739
    epoch          : 12
    loss           : 2.269439737395485
    supervised_loss: 0.09449830075891891
    kd_loss        : 0.5292251629404502
    hint_loss      : 2.269439737395485
    teacher_loss   : 0.08573895626434005
    train_teacher_mIoU: 0.8536455017769807
    train_student_mIoU: 0.8418077072807909

Since then, the losses of student model have somehow drastically surged to an irrational number:
Train Epoch: 13 [100]/[100] Loss:<PHONE_NUMBER>5023.046875 mIoU: 0.189571 Teacher mIoU: 0.840491 Supervised Loss: 1254511.242623 Knowledge Distillation loss:<PHONE_NUMBER>372.598633 Hint Loss:<PHONE_NUMBER>5023.046875 Teacher Loss: 0.089963
    epoch          : 13
    loss           :<PHONE_NUMBER>5023.05
    supervised_loss: 1254511.2426230733
    kd_loss        :<PHONE_NUMBER>372.599
    hint_loss      :<PHONE_NUMBER>5023.05
    teacher_loss   : 0.08996338581684793
    train_teacher_mIoU: 0.8404906695894594
    train_student_mIoU: 0.1895712015614291
Do you have any idea about this kind of error? I'm using torch: 1.8.0+cu111 and torchvision 0.9.0+cu111.
Thank you very much!

Can you tell us which teacher model you used?

Thank you for your reply!
I've tried the DeeplabWV3_all.json and Deeplabw3plus_incremental.json config file and in addition to this error, the validation procedure after a certain of val_interval was also not working, the error was: the loss (hint loss) has no property backward.
Seems the loss has become a float number rather than a tensor after the validation process...

Here is the full traceback:
There is no update ...
Traceback (most recent call last):
File "train.py", line 92, in
main(config)
File "train.py", line 73, in main
trainer.train()
File "/home/gvh205/src/base/base_trainer.py", line 85, in train
result = self._train_epoch(epoch)
File "/home/gvh205/src/trainer/layerwise_trainer.py", line 251, in _train_epoch
loss.backward()
AttributeError: 'float' object has no attribute 'backward'
Thanks so much!


[lambda][alert] adding support for sns as a source

to @airbnb/streamalert-maintainers
size: small
work in progress for #64
changes

Adding sns source support
Updating tests to include sns sources

anotha commit


add mobilenet v2

Thank you @brettkoonce !! This is great.

This doesn't build on the latest nightly, but there's an upstream patch if you merge with master.

@texasmichelle rebased + squashed atop master!


Corrected .plus() example

Hi Michael,
Great work on this module, i really enjoy using it!
I just found one issue with docs. Hope that helps.
0.1 + 0.3 + 0.7 = 1.1

Thanks for the feedback and the corrections, Jakub.


'super' must be called before accessing 'this' in the constructor of a derived class.

Hi @cmwhited,
Thanks for publishing this repo, I'm looking at it for a project I'm working on.
This is a relatively minor nit but in the example subclass the code calls super but refers to "this" which isn't available at that time. In my code I've specified these two params as static members of my class.

Good catch. In my use, I use static getters. I will update the docs

@cmwhited could you post that here? or update the docs? the code in the docs still hits the TS error


Forward all application and audit logs to CDC Splunk

As part of our CDC ATO, we need to forward all application and audit logs into the CDC Splunk instance. Since we have more stringent retention requirements under HIPAA than CDC enforces on logs in Splunk, this does not absolve SimpleReport of its responsibility for retaining audit logs.

done.


issue with rustpython --install-pip

on ubuntu 20.04
i am getting this

File "/home/user/.cargo/git/checkouts/rustpython-f8ef4d934ac33cd8/4c39668/vm/pylib-crate/Lib/zipimport.py", line 259, in load_module
exec(code, mod.dict)
File "/tmp/tmp_1qijfve/pip.zip/pip/_vendor/cachecontrol/filewrapper.py", line 6, in
ModuleNotFoundError: No module named 'mmap'

while running
rustpython --install-pip

Yes, this is recently broken because they started to require mmap. We don't have fix right now.

See also #3544

#3755 is not enough to run pip again

As mmap is necessary but not sufficient to run pip, what do we need to tackle next?


add option to add a hardcoded gradient of the action

Performance-wise, it would be very beneficial to add the option of having a hardcoded gradient of the action function S(x::Path) in the (g)MAM solvers.

Yes, I guess by gradient you mean the functional derivative of S here with respect to the path? This would also be very useful for langevinmcmc. Maybe this can also be done symbolically? We have derived explicit equations for a general drift b and covariance matrix.

Yes that is exactly what I mean. In the end, it will be something in term of b and derivative of it.


Fixes to dev testing

Consolidate "test" directory
Fix Kustomize to deploy all CRDs in "make install"
Fix README to include testing

Also use consistent names across controllers for configmaps and services

/lgtm

/approve


HIGH: Make all workspace room members "known" to the admins

Problem:
A workspace owner pays for activity in their workspace room.  And anybody can invite anyone to that room.  When you do, it notifies admins that someone has been invited in the #admins room.  However, because the admins have no relationship with the invited person, the invited person shows as "Hidden".
Solution:
If Alice invites Bob to a room, and Cathy is the workspace admin, then Cathy should "know" Bob and see Bob's primary login.  After all, Alice could have only invited Bob using Bob's primary login, so by inviting him, she's in effect introduced Bob to Cathy.

Issue for query timing here: https://github.com/Expensify/Expensify/issues/373736

Continuing to work on the query.

Will start working on this again soon.

Ok PR is in review: https://github.com/Expensify/Auth/pull/10537

PR was deployed.


Missing Math.h

.pio/libdeps/esp32-c6-devkitc-1/I2SClocklessLedDriver/src/I2SClocklessLedDriver.h:31:10: fatal error: Math.h: No such file or directory

Try with
math.h instead of Math.h
Let me know
Yves

Yeah it looks like it should be all lowercase


Newly-released package fails to install: 403 from CDN

Describe the bug
I just released pulumi-honeycomb==0.0.11, which is impossible to install due to an error that seems to originate on the pypi CDN:
Collecting pulumi-honeycomb==0.0.11
  ERROR: HTTP error 403 while getting https://files.pythonhosted.org/packages/9c/cd/a4923847851502a5ea8cee74338009da6aa07083482fc921cb3dc00f7702/pulumi_honeycomb-0.0.11.tar.gz#sha256=bfbed43b107842f9dde3fd30b0b1e47e110df7a6401ae9bea77f2dd58fca78a7 (from https://pypi.org/simple/pulumi-honeycomb/)
ERROR: Could not install requirement pulumi-honeycomb==0.0.11 from https://files.pythonhosted.org/packages/9c/cd/a4923847851502a5ea8cee74338009da6aa07083482fc921cb3dc00f7702/pulumi_honeycomb-0.0.11.tar.gz#sha256=bfbed43b107842f9dde3fd30b0b1e47e110df7a6401ae9bea77f2dd58fca78a7 (from -r requirements.txt (line 38)) because of HTTP error 403 Client Error: Forbidden for url: https://files.pythonhosted.org/packages/9c/cd/a4923847851502a5ea8cee74338009da6aa07083482fc921cb3dc00f7702/pulumi_honeycomb-0.0.11.tar.gz for URL https://files.pythonhosted.org/packages/9c/cd/a4923847851502a5ea8cee74338009da6aa07083482fc921cb3dc00f7702/pulumi_honeycomb-0.0.11.tar.gz#sha256=bfbed43b107842f9dde3fd30b0b1e47e110df7a6401ae9bea77f2dd58fca78a7 (from https://pypi.org/simple/pulumi-honeycomb/)

Expected behavior
Package gets downloaded & installation is attempted.
To Reproduce
pip install pulumi-honeycomb==0.0.11
Visiting these URLs above results in an error with <Message>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.</Message>.
My Platform
OS: Linux (nixOS 21.11)
:;    python --version
Python 3.9.6
:;    pip --version
pip 21.1.3 from /nix/store/5isc0y4805gw20qf1wlsywvzfxs73h0x-python3.9-pip-21.1.3/lib/python3.9/site-packages/pip (python 3.9)

Additional context

ditto:
https://files.pythonhosted.org/packages/6e/31/c34cfd091d71fa823217f47ca120e853e451f2a264f85b66c1b1fe3f0f87/nz-flow-naturalisation-0.1.4.tar.gz

Thanks for the report, we are looking into it, please follow along here for updates: https://status.python.org/incidents/bt0tzq7x2fk2?u=szv0ry9nhcbg
No need to add additional "me too"s at this time, please 👍 the OP instead.

FWIW it's not just new files - I just ran into this issue trying to install v8-cffi - this file in particular from 2016: https://files.pythonhosted.org/packages/0b/14/f24f90fa45f0ac2e990e483d9276bd049fd6ace4b6cbe7179e1fb9199d27/v8-cffi-0.2.1.tar.gz

This should now be resolved, please let us know if you are still able to reproduce.


Implement configu generate Command in @configu/cli

Suggestion
Implement the configu generate command with --dir and --name flags. This command will create an integration module in the specified directory, ready to be injected into the system.
Motivation
Simplifies the creation of integration modules by automating the setup process. Developers can quickly generate the necessary files and structure with a single command, improving productivity and reducing manual setup effort.
Context
The configu generate command will take a directory (--dir) and module name (--name) as inputs, creating a pre-configured integration module that is ready for injection into the project.

I would like to do it

@lyle45 you got it :)

@lyle45 are you still on it?
because we want to deliver this feature soon.

@davidmeirlevy hi David. Sorry was preoccupied. Will do it today hopefully

if you need any help with that, don't hesitate to reach me on our discord channel.

@lyle45 I see that it takes too much, and this is a very core feature of configu that we must deliver very soon.
So I need to re-assign it.

Im happy to pick this up :)

@jamesL92 you can checkout from my branch..

@davidmeirlevy yeah my apologies. Couldn't get to it. Sorry


SCUBA-177: Admin API improvements

Rename the admin API URL parameter recordLog to logId to be consistent with the API response.
Add a AdminReadRaftCseq response type

Change LGTM, can we also update the unit tests?

With don't have any tests in this repo for now (the client is used only by scuba CTST tests).
The test workflow only runs a linter.

LGTM My recommendation is to have unit tests at some point.

I created SCUBA-178 as a reminder.


[ENHANCEMENT] technique for variant modeling

I've always thought that OWL named graphs are a good mechanism for modeling variants. In the simplest case, create one description for common assertions and one for each variant. Then there are two scopes for reporting and analysis: common plus variant 1, common plus variant 2. This extends to nested subvariants and arbitary combinations of variants, e.g., space optical plus ground optical, space RF plus ground RF, excluding optical/RF combinations.
I think we have everything we need to do this now with the exception of specifying multiple variant description roots (i.e., bundles) in build.gradle and the nesting the resulting analysis products under the appropriate variant. This seems like a really clean way to go about it and doesn't require any new notation or vocabulary for variants per se.
I suppose we could make a separate branch in git for each variant but that seems almost impossible to manage.
It might be helpful for the UI to have a perspective for each description root and hide anything not transitively imported by it. Switching perspectives is just a click.
Thoughts?

Simple example with two variant designs for a mission.


rebase: update go-ceph to v0.10.0

This commit updates the go-ceph to the latest release. More details about the release at https://github.com/ceph/go-ceph/releases/tag/v0.10.0
backport of #2147
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

codespell is failing #2000 and #2153 need to be backported to release-v3.3 branch first.

@mergifyio rebase

/test ci/centos/mini-e2e-helm/k8s-1.20

/test ci/centos/mini-e2e/k8s-1.19

/test ci/centos/upgrade-tests-rbd

All the E2E failure was due to ETCD timeout


Add continuous benchmark for tenants

Only merge after defragmentation (tenants) is released.

Add new dataset: random-768-100-tenants (1M points, 768 dimension, keyword field "a" in the payload, 100 tenants, 200 search requests)
Add new experiment config: qdrant-all-on-disk-scalar-q (scalar quantization, everything on disk. Note that, payload index is not on_disk yet as it is not merged yet)
Add new config: qdrant-continuous-benchmarks-with-volume (use volume qdrant_storage, set memory limit)
Modify/Add scripts to run filtered search by tenant with memory limitation.
Introduce payload_index_params in engine's config.
Introduce tenants in dataset's config.

Example CI run (just the new staff): https://github.com/qdrant/vector-db-benchmark/actions/runs/10368483155
Example CI run (all the benchmarks): https://github.com/qdrant/vector-db-benchmark/actions/runs/10370380270
All engines: https://github.com/qdrant/vector-db-benchmark/actions/runs/10371551520

New run for all the benchmarks: https://github.com/qdrant/vector-db-benchmark/actions/runs/10402105457


avoid throwing exceptions on bad input data

Resolves exceptions being thrown on 'NoneType' object has no attribute 'has_header' when bad input data is passed.
We occasionally have issues with spammers hitting out site throwing the below error, this should resolve the issue

Exception Value:
'NoneType' object has no attribute 'has_header'

/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/utils/cache.py in patch_response_headers, line 243

All bugfixes require an accepted ticket.


Parameter re-use

I am creating templates to use for multi-stage builds. I would like to pass in a list of environments as parameters to each template and iterate over them, but I would like to define the list of environments in one place (ideally in its own template). Is it possible to use a template for defining default parameter values?

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

ID: 6724abea-bbdc-bf66-ed5e-3214fa6c3e66
Version Independent ID: 4f8dab21-3f0e-da32-cc0e-1d85c13c0065
Content: Job and step templates - Azure Pipelines
Content Source: docs/pipelines/process/templates.md
Product: devops
Technology: devops-cicd
GitHub Login: @vtbassmatt
Microsoft Alias: macoope

That's not possible today. Please feel free to file a suggestion on Developer Community, though, as I think that idea has a lot of merit.


Contributors validate registrar identity

Once the registrar has validated their identity to state-2( #8 ), the user can go back to the dashboard and the see that it requires an action from his part. The user will be displayed the identity that is stored on IPFS to verify that his information were saved properly.
A button to confirm the data is valid will prompt to do a tx from his wallet to confirm on chain his identity and mint the NFT representing his identity

Done in protocol-frontend.
It is missing the display of the IPFS file


DL-6801-AWRS Update AWRS statement inline with latest DAC

serviceHeaderName apparently is no longer used and should be removed according to https://jira.tools.tax.service.gov.uk/browse/PLATUI-945
Also not included in the template for partially compliant service


Add rc-gemd

rc-gemd is a simple rc script for hosting a gemini server on a plan9-based operating system.
I find rc-gemd pretty slick and probably the smallest server implementation i have seen to date.

@mcpcpc Thank you 🌈


Log datasette access IPs

Overview
Relates to #3664
Right now, our datasette instance only logs out the IP of the load balancer it sits behind. Useless!
If we shove datasette behind nginx, we can then use nginx's "real IP" module to grab the IPs of the clients that the load balancer is forwarding.
This PR does that, and:

reorganizes the deploy logic slightly so there is less duplication between the various deploy targets: "metadata" is an early exit, but everything else should share all the logic except for "how do we take this Dockerfile and deploy it?"
make --local target actually use Docker - this makes the deploy slightly slower but also much closer to what is actually getting deployed on fly.io

Testing
How did you make sure this worked?
I did a fast deploy to our staging server:
$ python publish.py --staging --only ferc2_xbrl.sqlite --only ferc6_xbrl.sqlite

Then I went to the staging url: https://catalyst-coop-pudl-staging.fly.dev/
And I saw my IP show up in the fly.io live logs:
https://fly.io/apps/catalyst-coop-pudl-staging/monitoring
Which I verified with a quick curl icanhazip.com / asking other people to do the same.
# To-do list
- [x] Review the PR yourself and call out any questions or issues you have

Yeah, the 502 is happening because nginx will start up and become available before datasette is fully initialized. Since the staging server shuts down with inactivity, you'll see a 502 first every time the VM comes out of inactivity.
In terms of how to transfer logs to a bucket: the official solution is fly-log-shipper: https://github.com/superfly/fly-log-shipper.

We can't declare victory on tracking logs until we set up the sink right? Any idea how the fly-log-shipper actually runs? Also, looks like there isn't a GCS sink :(

We'd have to set up the sink to declare victory, yes. The quick-start in their docs seems reasonable.
The confusing thing about the GCS sink is that it's clearly supported by Vector, the library that fly-log-shipper uses... but the fly-log-shipper docs seem to omit GCS from the documentation. So we could try configuring Vector for GCS, or we can shove the logs into S3 and then pull them into GCS separately.


formatting fieldnotes unexpected bits

Linebreaks, even inside the text are ignored (HTML whitespace rules)
formatting elements work, but ending with > is screwy
HTML Elements like DIV, LI, IMG, etc. will cause some issues
An <li> actually breaks the behavior as well


KOGITO-2087: Test KogitoRuntime

JIRA Ticket: https://issues.redhat.com/browse/KOGITO-2087
Description: Add first scenarios for testing the KogitoRuntimes
Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

I successfully ran the new feature and the tests are working fine. However, I disabled the feature until we can integrate it to the pipeline.

Few minor points, otherwise looks good to me.
Side note - this is an initial implementation, will be extended with another PR once this is merged. The extended PR will introduce KogitoRuntime image cache and better image building.

Comments have been addressed. Can you take another look?
I ran this feature after the changes and they are still working fine.

@ricardozanini That will be addressed in separate JIRA. IMHO the tests themselves should be already able to run on k8s, we just need to check it.

@ricardozanini From my local check the BDD framework seems to work with minikube too, the only issues are few OpenShift specific checks (can be easily adjusted), and the main challenge - routes.

@ricardozanini From my local check the BDD framework seems to work with minikube too, the only issues are few OpenShift specific checks (can be easily adjusted), and the main challenge - routes.

I also did the K8s support work for BDD test (including Ingress support and other adjustments). This work was stopped but is here: https://github.com/Sgitario/kogito-cloud-operator/tree/KOGITO-128-tests. Once this ticket is finished, we would need to recover it as part of another ticket.

@Sgitario @sutaakar fine to me to handle this support in a new JIRA following up this one, if it's covered in this sprint (version 0.11.0). Many thanks for your effort, really appreciated.


Update subscription plans

A/C:

Use Stripe's Price metadata to determine how many slots will be available on each subscription
Update Premium page to show those subscriptions

Since we only provide a single feature, this doesn't make sense.