npm install error for Node v6.3+ due to "node-inspector" dev dependency in package.json

After cloning this repo, I executed npm install and got error. I am using node v7.2.0 and npm v4.0.2. I believe npm install error affects people using Node v6.3 or greater.
Here is the relevant snippet of npm-debug.log:
123423 error Darwin 16.1.0
123424 error argv "/Users/kimbaudi/.nvm/versions/node/v7.2.0/bin/node" "/Users/kimbaudi/.nvm/versions/node/v7.2.0/bin/npm" "install"
123425 error node v7.2.0
123426 error npm  v4.0.2
123427 error code ELIFECYCLE
123428 error<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build`
123428 error Exit status 1
123429 error Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.
123429 error Make sure you have the latest version of node.js and npm installed.
123429 error If you do, this is most likely a problem with the v8-debug package,
123429 error not with npm itself.
123429 error Tell the author that this fails on your system:
123429 error     node-pre-gyp install --fallback-to-build
123429 error You can get information on how to open an issue for this project with:
123429 error     npm bugs v8-debug
123429 error Or if that isn't available, you can get their info via:
123429 error     npm owner ls v8-debug
123429 error There is likely additional logging output above.
123430 verbose exit [ 1, true ]

The issue is "node-inspector" dev dependency in package.json (https://github.com/node-inspector/v8-debug/issues/7).
I resolved this issue by simply removing "node-inspector" dev dependency from package.json and re-running npm install.

Howdy! We don't currently support node v7.
For future, you can always checkout our Travis.CI build page for what versions of node are currently working. Anything under allowed failures is versions we plan to support but are currently breaking the build. https://travis-ci.org/meanjs/mean


Fix st2-run-pack-tests script

This pull request fixes two issued I discovered while testing the packages:

Make sure we activate virtualenv before we try to upgrade pip (previously it would try to install it into global namespace).
Make sure we add /opt/stackstorm/st2/bin to $PATH so it works on package installations (previously this wasn't added to $PATH so the script wouldn't work out of the box on package based installations)/

On a related note - I also need to make a change to install st2tests with packages.
This way running st2-run-pack-tests will work out of the box on package based installations which means we don't need to rush #3204 too much (imo).

^ I will work on thing described above for v2.2.1 (it should be quite a straight forward change).


non-issue ;-) unable to extract view + unable to extract comment count for vid.me extractor

> youtube-dl https://vid.me/NlcJ
[Vidme] NlcJ: Downloading webpage
WARNING: unable to extract view count; please report this issue on http://yt-dl.org/bug
WARNING: unable to extract comment count; please report this issue on http://yt-dl.org/bug
[download] Destination: Girl_pees_outside_in_front_of_friends-NlcJ.mp4
[download] 100% of 1.40MiB in 00:07

For me this is not an issue. Becuase there is written "please report this issue" in error message I did this :-)

This issue should be fixed in the next release of youtube-dl. Thank you for the report!


The ArgMax circuit doesn't work with MP-SPDZ

The compiled ArgMax circuit doesn't work with MP-SPDZ, because of the errors with constants:
/MP-SPDZ ((704049e1)) ~> PLAYERS=2 Scripts/compile-run.py -E semi circuit -M          Wed Jun 26 12:47:40 2024
Default bit length for compilation: 64
Default security parameter for compilation: 40
Compiling file Programs/Source/circuit.mpc
Traceback (most recent call last):
  File "/MP-SPDZ/Scripts/compile-run.py", line 14, in <module>
    prog = compiler.compile_file()
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/MP-SPDZ/Scripts/../Compiler/compilerLib.py", line 452, in compile_file
    exec(compile(infile.read(), infile.name, "exec"), self.VARS)
  File "Programs/Source/circuit.mpc", line 6, in <module>
    wires[10] = wires[9] - wires[7]
                ~~~~~~~~~^~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'NoneType' and 'sint'

I think I fixed this with https://github.com/namnc/circom-2-arithc/commit/6e280217b1662350fd550f55ffb42b89fbfe3bda. BUT up to @curryrasul to confirm.
The issue should be due to 2 things:
The naming of a constant signal does not take into account multiple instances of a template, e.g. Switcher.const_signal_0 appears multiple times with different signal ids --> naming could be more robust with differentiation between instances, e.g. Switcher_0.const_signal_0 and Switcher_1.const_signal_1
This leads to merging based on constant signal names failed as now every signal has the same name are merged into one even though it should be all of them --> merging can be more robust, e.g. by appending signal id at the end we can keep every const signal, e.g. Switcher.const_signal_0_18, Switcher.const_signal_0_24. --> ALSO what I have done inside the fix.

Yes @namnc , thanks a lot, it works now!


Feature Request - Chiptune/Multitrack support

Would be cool to be able to playback scene/multitrack audio.  It looks like there's already a chiptune module that could be on the node side to pass a PCM stream to the audio player component.
https://github.com/Guichaguri/node-chiptune

It seems like there is a library similar to Howler for chiptune, called chiptune.js. Dusk Player is closely integrated with the howler library, and adding support for chiptune would mean changing the entire player back-end.
So as of now I don't think this will be possible.


pull request for e2e test at 11/12/2016 09:15:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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


fix: Change chlorine science pack cost to 100 instead of 2500

additionally slightly increase the time from 15s to 30s
I think the cost was a bit to high. I increased the cost and time a bit though.

Tech has been moved out of Sea Block and into Angel's Petrochemical Processing


map! prevents side effects in nom 5

Hey all,
I ran into a quite far-reaching issue while migrating to the nom 5 beta.
If I got the diff correctly, you introduced a tiny function call for the map! macro here:
https://github.com/Geal/nom/commit/e6f3c6fcbe23bd456bf5474ead6c249a2b75188e
The argument, however, is a Fn closure which prevents mutable borrows.
Is this intended?
I started to use map! for side effects quite often.
I'm regularly scanning over a buffer to update an existing state in-flight via these side effects, effectively leaving the remaining state untouched.
That turned out to be a quite elegant pattern that is no longer working without interior mutability.
Can this argument be lifted to FnMut?

Rust version : rustc 1.35.0 (3c235d560 2019-05-20)
nom version : 5.0.0-beta1
nom compilation features used: default

Test case
Example test case:
#[macro_use]
extern crate nom;

use nom::number::complete::{le_u8, le_u32, le_f64};
use nom::IResult;

fn foo() {
  let buffer = &b"a"[..];
  let some_side_effect: f64 = 0.0;

  do_parse!(
    buffer,
    fields: le_u32 >>
    count!(|input: &[u8]| -> IResult<&[u8], ()> {
        switch!(input, le_u8,
            // No longer allowed in nom 5 due to Fn closure
            0 => map!(le_f64, |v| { some_side_effect = v })
        )},
        fields as usize
    ) >>
    (())
  );
}

After skimming the issues I understand now that this function call is, in fact, a crucial aspect of nom 5. And immutable captures are probably sufficient most of the time.
But I found nom to be a very appealing tool to scan quite primitive wire formats.
And there I oftentimes do not really want to pay for a Vec if a side effect per match does the same.

yes, I'm not sure switching to FnMut will be possible. It's still possible to get the side effect you want in a Fn with interior mutability, though. cf https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4eacbb3f86ff67698e6b7596b42b7623

I understand. Yes, that's exactly what I did first but it spread far to many Cells. I ended up folding state copies which unfortunately puts a fair amount of trust in the compiler.
I'd argue that side effects are probably not too uncommon especially in more performance sensitive scenarios.
If you have a rather small amount of output types and can live with dirty state, side effects will always be exactly what you want.
Otherwise the compiler has to do non-trivial reasoning to eliminate all the copies.
(Which is particularly undesirable if you use nom where it really shines - primitive recursive descent wire format decoders)

with 84d1ac025ba2 the trait bound is FnMut, this should be testable soon

nom 6 is released now :partying_face:


Support for JSX

Versions:

VueJs: 2.4.4
Vee-Validate: 2.0.0-rc.23

Description:
I'm trying to use it with JSX but the validator always return true. Using the template syntax it work's as expected. I need some help 😢
Steps To Reproduce:
<div class="form-group">
  <input
    type="text"
    name="email"
    v-validate={"'required|alpha|min:3'"}
    class="form-control"
    placeholder="E-mail"
  />
</div>

//or v-validate="'required|alpha|min:3'"
//or v-validate={'required|alpha|min:3'}

field prop:
{
  "email": {
    "untouched": true,
    "touched": false,
    "dirty": false,
    "pristine": true,
    "valid": true, <---
    "invalid": false,
    "validated": false,
    "pending": false,
    "required": false
  }
}

Looking the vee-validate.esm.js, I discovery that binding.expression is always undefined no matter how the rules are passed:
Generator.resolveRules = function resolveRules(el, binding) {
  if (!binding || !binding.expression) { //binding.expression always undefined
    return getDataAttribute(el, 'rules');
  }

A workaround is add the prop data-vv-rules, I don't if is a Vue problem or VeeValidate. 😞

I've never used JSX before, always preferred the SCF template style instead. I will look into it

I was reading this:
https://github.com/vuejs/babel-plugin-transform-vue-jsx

Vue directives

Note that almost all built-in Vue directives are not supported when using JSX, the sole exception being v-show, which can be used with the v-show={value} syntax. In most cases there are obvious programmatic equivalents, for example v-if is just a ternary expression, and v-for is just an array.map() expression, etc.

For custom directives, you can use the v-name={value} syntax. However, note that directive arguments and modifiers are not supported using this syntax. There are two workarounds:

Pass everything as an object via value, e.g. v-name={{ value, modifier: true }}

Use the raw vnode directive data format:

const directives = [
  { name: 'my-dir', value: 123, modifiers: { abc: true } }
]

return <div {...{ directives }}/>

Not sure if this will help but have you tried moving the double quotes (") outside of the braces ({ })?

v-validate={"'required|alpha|min:3'"}

v-validate="'required|alpha|min:3'"
or
v-validate="{required: true, alpha: true, min: 3}"

I've tried, but nothing works
Em ter, 21 de nov de 2017 às 18:52, Dahje<EMAIL_ADDRESS>escreveu:

Not sure if this will help but have you tried moving the double quotes (")
outside of the braces ({ })?
v-validate={"'required|alpha|min:3'"}
v-validate="'required|alpha|min:3'"
or
v-validate="{required: true, alpha: true, min: 3}"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/baianat/vee-validate/issues/995#issuecomment-346157224,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHU990_4wQR5V3ZDVjVr9jwgh9nv6gmCks5s4zgXgaJpZM4QmNa8
.

--

Daniel Prado
Full Stack Developer
<EMAIL_ADDRESS><EMAIL_ADDRESS>Skype: daniel.prado09
+55 (15) 99161.6293

OK I brushed a little bit on JSX, for directives you need to provide an expression as well as a value, while the value is eventually is being used as the rules value source, the expression is being checked to determine if the user has passed anything at all. In template files both are passed without issues. But in JSX passing both makes no sense. More about that here.
Here is an example workaround for this issue for now. I have pushed a small fix for it so it would first check the value which will be up with the next release.

Thank you @logaretm!
Just for future checks, an easy workaround is just add the data-vv-rules.
<input
  type="email"
  name="email"
  v-model={this.model.email}
  v-validate
  data-vv-rules={'required|email'}
  placeholder="E-mail"
/>

How would one use the event modifiers in JSX?
https://baianat.github.io/vee-validate/api/directive.html#directive-modifiers

using directives is the only way I have found so far:
https://codesandbox.io/s/korqwxj94r


test: pkg/envoy ParseEnvoyServiceNodeID with less than 5 chunks in the NodeID string

In pkg/envoy ParseEnvoyServiceNodeID() does not have good unit test coverage.
It would be great to write a small test for this function.

ref #1489


ci: add deployment workflow

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added Config for the Azkaban Executor Config

Added a Configuration for the executor so that executor hostname Ip can be used as host. By Default, it picks up the Canonical Hostname

Pull Request Test Coverage Report for Build 5761

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.003%) to 43.462%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractJob.java
2
37.93%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractProcessJob.java
3
54.64%

Totals

Change from base Build 5739:
-0.003%

Covered Lines:
15014

Relevant Lines:
34545

💛  - Coveralls

Pull Request Test Coverage Report for Build 5761

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.003%) to 43.462%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractJob.java
2
37.93%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractProcessJob.java
3
54.64%

Totals

Change from base Build 5739:
-0.003%

Covered Lines:
15014

Relevant Lines:
34545

💛  - Coveralls

Can somebody please merge this

Can somebody please merge this


Implement Brent's method for 1d optimisation

Another good derivative-free optimisation algorithm (which we'll likely use to polish the extremes in odin-js's batch runs), Brent's algorithm for 1d optimisation.
There are convergence guarantees that exist in 1d that don't in higher dimensions, so this is worth a slightly different interface. The algorithm here will outperform simplex on a 1d problem I'd expect, and should do quite well on our interpolated ODE traces.

So, once this is used in odin-js, might the result of wodinFit be a Brent rather than a Simplex? I guess Brent and Simplex could support a shared interface - for step(), result() etc

We can't actually use this for wodinFit because Brent's requires a bounded interval to search in (Simplex searches from a point anywhere in n-dimensional space). Where we'd use this is transparently in the findExtremes() function, via the one-shot fitBrent function


Make it easier to build libraries

Right now, libraries are built as a dependency of another project, such as the PHP, Python or Ruby builds.
Make it easier and possible to build these libraries as entities of their own, so that it's easier to work and, soon, publish these libraries as well.

More things to do

[ ] Build libsqlite
[ ] Publish builds of libuuid, libsqlite, zlib
[ ] Create docs/examples on how to use them

This is addressed by https://github.com/vmware-labs/webassembly-language-runtimes/pull/74.
All currently built libraries were release subsequently.


complex.cuh not found when running exe generated by pyinstaller

I am using Pyinstaller to build a stand alone exe for my PYQT5 GUI with cupy computations. I created a spec file to specify the added data, pathes and hiddenimports. My program are fully working under Python complier.
The exe are successfully built. The GUI window can be opened with running the generated exe. However, there was error message when running the software (I have push button at GUI for doing some Cupy computations). Please see below:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Skynet1\AppData\Local\Temp\_MEI89842\cupy\core\include\cupy/complex.cuh'
After checking. I found the error may happen at
data0 = cupy.subtract(a, b)
Where a and b are 2D numpy liked cupy arrays.
I tried to add the cupy.core.include or cupy.core.include.cupy  into hiddenimports, but none of them working. I did not specify any system path at this location. No idea how to fix this and why this part will call "complex.cuh"
My hiddenimports in the spec file.
hiddenimports=['fastrlock', 'fastrlock.rlock', 'cupy.core.flags','cupy.core.carray','cupy.core','cupy.core._kernel','zmq.backend','cupy.core._scalar','cupy','cupy.cuda','cupy.cuda.memory_hooks','cupy.fft','cupy.lib','cupy.core.include'],
Can anyone give me some suggestion and advice?
Thank you

CuPy refers to the header files under cupy/core/include at runtime to compile CUDA kernels.
I guess hiddenimports does not work as it is not a Python module. Refer to the comment below:
https://github.com/cupy/cupy/issues/1262#issuecomment-391316488

I had the same issue and the fix in that comment worked for me too! In order to build (and use) CuPy within a pyinstaller-built executable on my Windows 10 workstation, I needed to add the following to my spec file:
hiddenimports=['fastrlock',
			    'fastrlock.rlock',
			    'cupy.core.flags',
			    'cupy.core._routines_indexing',
			    'cupy.core._dtype',
			    'cupy.core._scalar',
			    'cupy.core._ufuncs',
			    'cupy.core._routines_sorting'
			   ],

and
a.datas += Tree(venv_root + "\\\Lib\\site-packages\\cupy\\core\\include\\cupy", ".\\cupy\\core\\include\\cupy")

Adding the hiddenimports was necessary to get import cupy as cp to work, but anytime I tried to use some CuPy functionality the app would complain about complex.cuh. Copying over the missing library folders fixed that issue and now CuPy is working flawlessly in a beautiful, portable EXE. 😎


Way cannot be added to relation

URL
https://www.openstreetmap.org/edit?node=4294262327#map=19/50.70340/-3.30986
How to reproduce the issue?
Note that https://www.openstreetmap.org/relation/3720599 has a gap in it, as shown by http://ra.osmsurround.org/analyzeRelation?relationId=3720599 .  Browse to the gap in iD http://ra.osmsurround.org/analyzeMap?relationId=3720599 .
I can see two relations either side of the gap and only one in the gap.  When I try and add the way in the gap to the other relation, it is not shown.
Screenshot(s) or anything else?

Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
2.29.0
Which browsers are you seeing this problem on?
Firefox

I can’t reproduce the issue in this case, but I have seen something similar in the past. Forcing iD to load the whole relation may allow you to work around this issue. You can either open iD from this relation page or search for the relation ID in iD’s main search bar, then select the relation. Another workaround I’ve had success with in the past is to select an existing member of the relation, remove it from the relation, and undo the change. I have no idea why this works.

Yes, opening iD from https://www.openstreetmap.org/relation/3720599#map=19/50.70354/-3.30988 did work.

This one was very intriguing… The code for this combo box is very simple (see here): it just shows all relations which are loaded and intersect the map screen. After a bit of digging I found that the relation in question did have a too small bounding box in tree.js for some reason. I was able to narrow it down to a pretty old part of iD's code (introduced in 5f1e40561aab2bafd72cf8f265f9bc10b60e0454). Its interesting that this was not causing problems earlier.


WasmGo documentation

I am trying to execute a WASM file. I created this file:
// +build js,wasm ignore
// hello_world.go

package main

func main() {
	println("Hello, world!")
}

Then compile:
PS D:\Desktop> $env:GOOS = 'js'
PS D:\Desktop> $env:GOARCH = 'wasm'
PS D:\Desktop> go build -o hello_world.wasm hello_world.go

So now I have a WASM file. But I dont know how to execute it. I checked here:
https://github.com/Xe/olin#go
but it just says:

run with the testing shim

How do I do that? That same section, has this link:
https://github.com/Xe/olin/tree/master/internal/abi/wasmgo
but the link is broken.

looks like the folder was moved here:
https://github.com/Xe/olin/tree/master/abi/wasmgo


create kisarazu.txt

I want to use JetBrains IDE, especially IntelliJ IDEA and CLion. but the entry for my school hadn't added. so I added it.

The infomation for my school is http://www.kisarazu.ac.jp/en/

@proelbtn If the email domain which you wish to add is kisarazu.ac.jp, please rename lib/domains/jp/kosen-ac/kisarazu.txt to lib/domains/jp/ac/kisarazu.txt. Which email domain you wish to add?

Sorry, but What I want to add is kisarazu.kosen-ac.jp.

@proelbtn Thank you for the clarification! Pull request merged.

Thank you for adding my school's domain.


this way will be faster

I don't really see any reason to be concerned about speed, how much time could this possibly save?


Warning: Instance ec_1638754037291 has been disposed

Version
5.2.2
Link to minimal reproduction
No response
Steps To Reproduce
After upgrading to echarts 5.2.2, continuously getting this Instance ec_1638754037291 has been disposed warning in console.
I'm using angular 9 and on ngOnDestroy method already dispose the echarts instance but still keep getting several warnings
in the console.
ngOnDestroy() {
if (this.chart) {
      this.chart.dispose();
      this.chart= null;
    }
}

Please advise how I can resolve this warning.
Current Behavior
Getting this warning Instance ec_1638754037291 has been disposed message even if echart Instance has been dispose.
Expected Behavior
Waning message should not be displayed
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

I'll provide demo for the issue soon. In meantime, you can check this https://medium.com/@kelvinau4413/memory-leak-from-echarts-occurs-if-not-properly-disposed-7050c5d93028. This is the same issue what I'm currently facing in echarts v5.2.2
Even after applying the solution mentioned in above shared URL, keep getting warnings in console.

It depends on your code. Generally speaking, you should not hold or use an instance that has been disposed. So you can firstly do a quick check if there is other places are still using a disposed instance.

In my project, implemented seven to eight different types of echarts graphs and each graphs has it's own instance. I'm not disposing any of these instances in my code. But after updating echarts to v5, I'm getting warnings in console so in order to solve it, I'm trying to dispose the instance on ngOnDestroy. but it seems this solution is also not working.
Is there is any other way to remove console warning?

This warning is introduce in the newer versions. It only happens when you are using instances that has been disposed.


Use new logo on our app

Light mode:

Info

there is both filled and transparent, png and SVG

@exezbcz Thanks for putting all the images into the description of this issue. Unfortunately, Github does not allow us to download the image resources directly, so you have to move them into Figma for us.

@Jarsen136 ah did not know that, on it

Unfortunately, Github does not allow us to download the image resources directly, so you have to move them into Figma for us.

Or am I missing something?

here in the handoff:

https://www.figma.com/design/JXNtryaNYhY0XJNArzvPQx/Handoff?node-id=1287-18959&t=G2zvZIs0tHFhrVS2-11

Unfortunately, Github does not allow us to download the image resources directly, so you have to move them into Figma for us.

Or am I missing something?

It works now but I don't know why. It may be my first internet use ; )

Oh, I just found an issue. The beta logo should also be there... Could you please add it? @exezbcz

Oh, I just found an issue. The beta logo should also be there... Could you please add it? @exezbcz

True, forgot like always when changing the logo xd

@Jarsen136 added

feel free to export the desired format from figma - the logo is grouped wit the "beta"
https://www.figma.com/design/JXNtryaNYhY0XJNArzvPQx/Handoff?node-id=1287-18959&t=z6pQYJPkqEu9NtEj-11


Missing plugins and goals

As there's Mvn! to launch a shell, I miss some plugins and goals:
archetype:generate
dependency:tree
exec:java
help:describe

Even autocompletion on properties like exec.mainClass for exec:java (it can be retrieved from help:describe to not hardcode all)
Let me know if sounds interesting to work on PR

I think that adding some built-in goals would be a good thing.
Any PR would be appreciated.

Ok, working on it


serverpod generate --watch is not robust to even parameter name changes

Describe the bug
Numerous kinds of changes are not picked up when running serverpod generate --watch.
One example of this is when you change the name of a parameter in an endpoint. The endpoints.dart that is generated does not pick up the new parameter name, and so it has a compile error.
Other examples are more extreme, for example adding or removing an endpoint function, renaming an endpoint, or even renaming a file.

Thanks for reporting this!
This is clearly a bug so we will take a look at it.

Here's an example:
Endpoint code before the change:

Generated code before the change:

Endpoint code after the change: (profileUserId is changed to targetUserId):

Generated code after the change:

This is off-topic for this bug, but I just want to also add the general observation that the serverpod generate --watch capability needs to be made much more robust in general -- e.g. if an exception is thrown during generation, the generator (or the watch process) shouldn't just crash and die. serverpod generate is currently brittle in all sorts of ways (there are several other bugs I know have been reported already about exceptions being thrown during generation).

We should definitely do a better attempt at not crashing when using --watch. I feel like this would be reasonably easy to implement.

This should be fixed now by these three PRs:

https://github.com/serverpod/serverpod/pull/1634 - We no longer crash in generate watch mode.
https://github.com/serverpod/serverpod/pull/1655 - We now detect changes that influence endpoint files correctly.
https://github.com/serverpod/serverpod/pull/1672 - We now don't try to create endpoints from invalid dart syntax.


叶佳雯

16210130095 叶佳雯

Homework01.html.zip

homework02.zip

homework03.zip

homework04-06.zip

homework07.zip

homework08.html.zip


update version after change for minitest

Change: https://github.com/rubyatscale/packs-rails/pull/71

Duplicate of Stephan's PR


Authorization HTTP header is inserted as parameter even though there is securityScheme defined

I have defined securitySchemes as follows:
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: AUTHORIZATION

But when I'm generating a schema file, seems like AUTHORIZATION header is being constantly suggested as parameter:
      parameters:
      - name: AUTHORIZATION
        in: header
        required: true
        schema:
          type: string
        example: AuthorizationExampleSecretKey

From my understanding this isn't necessary or even contradicts to OpenAPI specification. Can we somehow parse securitySchemes for headers that should not be added as parameters?

According to https://swagger.io/docs/specification/authentication/, we can refer to security schemes in security property.
And there is no need to include such security parameters in the parameters property.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

paths:
  /billing_info:
    get:
      summary: Gets the account billing info
      security:
        - ApiKeyAuth
      # parameters: []
      # ^.. no need!!
      responses:
        '200':
          description: OK

Such handling is not implemented.
PR welcome.

Implemented in #166


dependency updates and various fixes

I updated some of our dependencies to their current versions. This lead to some breaking / deprecated changes. Subsequent commits were created for these problems.
I think only 'various fixes of problems found by IntelliJ analysis' should be reviewed since all other commits simply make everything run again.

This change is

Current coverage is 93.02% (diff: 100%)

Merging #53 into master will decrease coverage by <.01%

@@             master        #53   diff @@
==========================================
  Files           277        277
  Lines          3357       3356     -1
  Methods           0          0
  Messages          0          0
  Branches        206        205     -1
==========================================
- Hits           3123       3122     -1
  Misses          172        172
  Partials         62         62

Powered by Codecov. Last update a8fb358...4e43bb3


Could not connect to Redis when choosing a non-default port

Upon configuring KeyDB to use a non-default port the following error occurs:
$ keydb-cli
Could not connect to Redis at <IP_ADDRESS>:6379: Connection refused
not connected>

In this instance I am using 6366 but it tries to connect to 6379 as shown above.
I've set the port to 6366 when running install_sever.sh and the config file contains the following:
port 6366
KeyDB is running in the background just fine and my website happily uses it through port 6366.
OS: Ubuntu 16.04

The issue is that you haven't told keydb-cli which port to connect to, so its trying the default.  Use:
keydb-cli -p 6366

Thank you!

Happy to help!


Spaces and collections samples

Brief description: I added code samples to reflect the SDK updates made in https://github.com/kontent-ai/management-sdk-net/pull/256
GitHub or Jira issue URL: KCL-11869
When do you need the code to go public? 29.1.2024
Is the pull request complete and ready for review? Yes

Hey @AdamZ-Kontent, thanks for the changes. I reviewed them and made two small adjustments: a blank line deletion and a change from toPromise to toAllPromise in the example of getting variants by collection.
Merging and closing.


Made qt-pods compatible.

I have added your repository to https://github.com/cybercatalyst/qt-pods-master. I think you are right and I will rename my other projects, too.

Looks good, thanks!  qt-pods looks like a good idea, hopefully you can get some traction with it.


Share data challenge with OP Numba Nerds

Joined the Numba Nerds sync today. Once we have the impact metrics and data challenge specs, we can share with the Numba Nerds discord channel. (They love the idea of having lots of data in a warehouse that's easy to use.)

Shared with Vonnie and in the Numba Nerds discord channel. Will post on Dework once we are ready to go live.


[Slider] Support drawing as a bar or handle

Add an option to allow drawing as either a bar or a handle.
I really like the bar style. Not sure if you do. I kinda expect you to decline this PR, but I thought I'd send it anyway.

Woohoo! Thanks 😁


Test coverage of chunking responses needs improvement

https://github.com/influxdb/influxdb/pull/2465 showed that our coverage of chunked responses needs improvement.

No longer valid, since chunking implementation is changing.


Embassy release TODO

This is an attempt at capturing remaining work needed for crate releases. Feel free to edit/propose changes.

[x] embassy-executor

[ ] embassy-cortex-m

pending cortex-m-rt interrupt model work (@Dirbaio maybe expand on this) will do later
[x] document public APIs

[ ] embassy-net

[ ] document public APIs
[x] use a non-git smoltcp version

[ ] embassy-usb

[x] document public APIs
[ ] dependencies: embassy-usb-driver

[ ] embassy-usb-driver

[x] document public APIs

[ ] embassy-hal-common

[x] document public APIs

[ ] embassy-embedded-hal

[x] document public APIs

[ ] embassy-nrf

[ ] dependencies: embassy-cortex-m, embassy-hal-common, embassy-embedded-hal, embassy-usb-driver
[x] document public APIs
#980 - remove instance generics we can do later, no need to do before release

[ ] embassy-stm32

[ ] dependencies: embassy-cortex-m, embassy-hal-common, embassy-embedded-hal, embassy-usb-driver, embassy-net
#980 - remove instance generics we can do later, no need to do before release
[ ] document public APIs

[ ] embassy-lora

[ ] dependencies: embassy-stm32, embassy-hal-common

[x] embassy-boot: ready!

[ ] embassy-boot-nrf

dependencies: embassy-nrf, embassy-boot

[ ] embassy-boot-stm32

dependencies: embassy-stm32, embassy-boot

It would be nice to add embassy-rp to the release tasks too.

What's the preferred way of documentation w.r.t. this planned release?
Single function documentation as docstrings, sure.
But for bigger "how to" guides or MWEs, should they go on the website, docstrings at the module level or as per-chip examples (like we currently have but with more documentation) or a"book"?
I'd be open to documenting more stuff as I progress in my projects using embassy. Having a stable release soon-ish would be great.

@lulf many of the crates were recently released on crates.io.
Could we update this issue to reflect this and see if there are any remaining tasks (crates to be released)?

All is released from what I can tell, closing.


The database init  run_database_init.py returns an error (killed)

Hi, the database init script run_database_init.py return an error, looks like a connection timeout from the first glance.

Here is the output:

/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/site-packages/langchain/embeddings/__init__.py:29: LangChainDeprecationWarning: Importing embeddings from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

`from langchain_community.embeddings import VertexAIEmbeddings`.

To install langchain-community run `pip install -U langchain-community`.
  warnings.warn(
Killed
gleb@instance-1:~/genai-databases-retrieval-app/retrieval_service$ ```

- And if I check in the database it doesn't show any relations:
```assistantdemo=> \dt+
Did not find any relations.
assistantdemo=> ```

- From AlloyDB log
```"2024-03-19 13:37:18.931 UTC [8514]: [1-1] db=assistantdemo,user=postgres LOG:  [pqcomm.c:974]  could not receive data from client: Connection reset by peer; (original error: Connection reset by peer)"```

Solved.


feat: add improved search input and algolia dependencies

The type of this PR is: Feature

This PR resolves FX-3180
Description

Introduces algolia dependencies (algoliasearch, react-instantsearch-native, @types/react-instantsearch-native)
Add a search bar that doesn't do anything other than being able to change its text on improved search screen

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Add algoliasearch and react-instantsearch-native dependencies - gkartalis

@gkartalis We have a process for "New dependency RFCs" (example).
I think we should create a new issue to briefly explain why we want to pull these dependencies in, mention alternate approaches, and solicit some feedback from others (particularly the mobile practice).
Some example alternative approaches which we might list:

Don't use Instantsearch.JS and use the algolia api client directly
Don't query algolia directly but instead expose a GraphQL interface which will proxy requests to Algolia

Looks amazing, nice work @gkartalis ! 🤩
question, non-blocking: One general thought about naming — I wonder if the ImprovedFoo convention will age well. At some point this just becomes the implementation instead of the the improved one. Should the names be simplified to reflect that?
~Improved~SearchInput
~Improved~SearchResults
etc…

+1 to this - great example is Artsy's use of "New Selling Options" (AKA BNMO) for like, oh, 3 years after buy now and make offer were launched 😀
If we want to have some way of differentiating them from the old names, we could consider AlgoliaSearchInput etc. I think that would age better but it still tells us very clearly that this is not the old components.


Issue/5349 cleanup old agents (#5586)

Pull request opened by the merge tool on behalf of #5586

Merged in 971d2c6e29bb400b358a1a53d1138ac8734c093f


Occasional parts on random channels

since a few days ago i'm experiencing unprovoked parts
eg i see " You have left channel #scala/scala" even though i was talking there a few minutes ago
all i see in server log is  "PONG :irc.gitter.im"
i'm using hexchat on windows
this doesn't happen on freenode or other servers, but happens about once an hour on a random channel (one of 9 i'm on) on gitter

This might have to do with the recent changes in this PR https://github.com/gitterHQ/irc-bridge/pull/93
cc @Gargaj

I can confirm that I get this too. It seems most likely to happen if I also have the gitter web client open.

Same here, on Weechat. Let me know if I can help sorting this out.

same with pircbotx
joining channel again doesn't seem to do anything

Same, on weechat.

Attempting to join channel again after PART has led to not being able to receive new messages as well.

sigh.
unreliable gateway is unreliable.

I'm running into this issue on Weechat constantly. It happens every 2-3 days. Extremely frustrating.


Layouts doesn't work

Hi! I'm trying to make tabs layout, but seems like it doesn't work, i copied exactly code snippet you mentioned in documentation

but in editor nothing happens

i'm using assembly definition and adding today.comes.saintsfield.Runtime as reference. Even if i moving script out of asmdef folder it doesn't work too
Maybe i'm missed something
Thanks in advance!

Hi,

Ensure you have SaintsEditor enabled.
If still not working, there might be another plugin that has higher priority overriding UnityEditor.Editor, see this comment to have a basic debugging

If it sitll not working, I'll need to know your Unity version, and the way you enable SaintsEditor in your project ), and a output of your CustomEditor (You might use pastebin for the large output)

You're a wizard! It works now!
Btw, are you planning to make site with structured documentation (like github pages with mkdocs or something)
Because it is easy to lost a bunch of important information in this endless readme file
If no then i will be happy to help doing this for you

are you planning to make site with structured documentation

As a lot of things still pending to be done, plus some improvements in plan, well, at least I won't do it in a short time. It'll be much much later...

If no then i will be happy to help doing this for you

Yeah sure, that'll be nice. Well, if it's github pages I guess for new version I can sync new/changed content with PR. I never tried online service before so not sure how things can be updated. But anyway, I'm not really worried about the choice :)
If so I'll add a link in README to that site.

This issue is closed as solved. If you still have issue about this, please comment below and I'll re-open it.

 I enabled SaintEditor and it works now! Btw, are you planning to make site with structured documentation (like github pages with mkdocs or something)? Because it is easy to lost a bunch of important information in this endless readme file If no then i will be happy to help doing this for you

Hi, it's now there:

[!TIP]
A better document with TOC & Search: saintsfield.comes.today


Spanish translation for Rails 6 version

Hi! in the last week I work on tutorial translation for Spanish version, I did it only with Rails 6 version.

Thank you for your comments :)
I reviewed all your recommendations, I attended them and now I think everything is ready

Thank you for your work. I merge changes and create a new release on github.


Clear

https://github.com/termux/termux-elf-cleaner/tree/master

Ch

A first-level heading

Can you please elaborate the issue?
It seems like this isn't an issue. It could be spam.

Blocked and reported for spam.


Refactor data generator runner into exported package

We want to be able to use most of the functionality of this tool as a package we can import into other Go binaries, so this refactors the run() function from the main package into a generator package that can be imported and used.  Since Run() still takes the same arguments, several of which are custom types that are non-trivial to recreate by the caller, the methods main uses to create those parameters of calling Run() are also extracted out to the new generate package as they are part of the data generation process.
The existing test cases seem to cover the critical functionality here to ensure it's not breaking.  I will also be testing this branch internally with our own tools to ensure we can call the generator.Run() method as expected.

I guess I should note that I ran the tests on this personally and they all passed but the automated test suite seems to just be broken in master outside of the context of this refactor. PR #28 (accidentally) fixes the RandomBinary issue at least.


Update Microsoft.AspNetCore.Mvc.Razor.Extensions.Test to use the Razor integration testing code

Microsoft.AspNetCore.Razor.Evolution.Test has good infrastructure for integration testing. We should be using that in the Microsoft.AspNetCore.Mvc.Razor.Extensions.Test project instead of some one-off thing.

Also, we currently have a duplicate LineMappingSerializer in Razor.Extensions.Test. We should share the type instead.

While I'm at it I should add an integration test for razorpages which doesn't use @model as per this

303636db13b9fa382f17abda7ad0eaf9a7b429d2


facts: refact ceph_uid fact (bp #4948,#5526)

There's no need to set this fact with a set_fact
We can achieve this in ceph-defaults
Backport: #4948
Backport: #5526
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1875058
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>(cherry picked from commit bcc673f)

jenkins test centos-non_container-all_daemons

jenkins test centos-container-all_daemons

jenkins test centos-container-all_daemons

jenkins test centos-container-all_daemons


Add acknowledgement

This research is supported by the Defense Advanced Research Projects Agency (DARPA) and the Air Force Research Laboratory (AFRL) under contract number FA8650-17-C-7715.


Some more confusion fun

@boyinggong, I was playing around with some confusion matrix stuff too this afternoon, you think we can combine this code?
The functions just creates confusion matrix, gets probability threshold with lowest # of wrong predictions, and plots prop of wrong predictions vs prob thresholds
Also when saving the figures (both ROC and confusion plots), can we plot all 16 plots into 1 figure using subplots?
#110

I think they are pretty much the same? It's just that I put them all in one function? And I didn't calculate the probability threshold, but calculated the area of the curve. I will try to combine the plots.

ok, just copy and paste whatever in this pull request that makes the scripts/functions cleaner and better documented

@boyinggong , let me know if you want me to combine this pull request and #110

I'm doing this.

closing, see #110


Added tests for log levels and logging to file.

Also fixed a bug where debug info could not be logged due to the variable only being set in xfpga's cmake instead of at the top level.

Coverage increased (+0.04%) to 80.393% when pulling 90cf5ce8c20c648fbc014d0faa334d3b676b1cda on itbarraz/add_log_tests into 85e9c3c7786e3cd2b376e807399933072f03f394 on master.

@r-rojo For the OPAE_DBG test it requires building with -DCMAKE_BUILD_TYPE=Debug. I suppose we can use some #ifdef to handle that case but I don't think we want to add this to travis CI since it would require another build step.


Update CODE_OF_CONDUCT.md

As per the issue #45  I update the file with all require changes
I added the following topics -
How to contribute (fix bugs, add features)
Steps for submitting changes
Project setup instructions
Rules for code style
Code of conduct for respectful behavior
Enhance the project structure
Add the help and support section
Add the pull request section
Add issue report process section
Also , I tried to make ik more interative.
If any further changes required please tell me.

Please add the lebels of
Hacktoberfest
Gssoc24 extd
And level 2
It will be a great help from your side


Can't create a scope and resolve services in local schema field middleware

Describe the bug
I use middleware to resolve a service (IMediator) in its own scope so that all downstream things have their own scope, specifically DbContext to support parallel exec and DbContext pooling.
This has worked perfectly in remote schemas but fails in local schemas. The service can't be found.
[AttributeUsage(AttributeTargets.Method)]
public class UseResolverScopedMediatorAttribute : ObjectFieldDescriptorAttribute
{
	private static readonly string _injectedArgumentName = "mediator";
	public override void OnConfigure(
		IDescriptorContext descriptorContext,
		IObjectFieldDescriptor descriptor,
		MemberInfo member)
	{
		descriptor.Use(next => async context =>
		{
			using var scope = context.Service<IServiceProvider>().CreateScope();
			var mediator = scope.ServiceProvider.GetRequiredService<IMediator>();
			context.ModifyScopedContext(c => c.SetItem(_injectedArgumentName, mediator));
			await next(context);
		});
	}
}

// Example resolver method
[UseResolverScopedMediator]
public async Task<string> GetXyzAsync(
    [ScopedState] IMediator mediator) => await mediator.Send(...);

If I chuck a breakpoint in the middleware delegate, I can successfully do these:
context.Service<IServiceProvider>().GetService<IMediator>();
context.Service<IMediator>();
But the actual code, trying to resolve a service from the created scope fails:
No service for type 'MediatR.IMediator' has been registered.
To Reproduce
See above.
Expected behavior
Should be able to create my own scope and get a service resolved from it.
Desktop (please complete the following information):

OS: Win 10 latest
Version: 10.5.2

Workarounds
Extremely nasty but does the job in case anyone runs into this before it's fixed:
context.Service<IHttpContextAccessor>().HttpContext.RequestServices.CreateScope().ServiceProvider.GetRequiredService<IMediator>()

From Michael on slack:

ok found the issue

We are passing on the application service provider instead of the request service provider
https://github.com/ChilliCream/hotchocolate/blob/04ccc1081b40e079914c94156b201c4666eb2341/src/Stitching/Stitching/Client/RemoteRequestDispatcher.cs#L80

The buffered request should also store the service provider of the requests:
https://github.com/ChilliCream/hotchocolate/blob/04ccc1081b40e079914c94156b201c4666eb2341/src/Stitching/Stitching/Client/BufferedRequest.cs#L8

and then we need to pass this on

This is solved with 11.


Resource: Update types and labels based on new specs.

Specs PR: https://github.com/census-instrumentation/opencensus-specs/pull/235.

Fixed in https://github.com/census-instrumentation/opencensus-java/pull/1805.


Fix HTTP whois for .nr domains

The HTTP whois for .nr domains seems to require an additional url parameter to return correct results for not-registered domains. So I added the url parameter to the .nr domain adapter.
Example:

https://www.cenpac.net.nr/dns/whois.html?subdomain=3qceea2e2ac&tld=nr&whois=Submit returns an html page containing "This domain is not registered"
https://www.cenpac.net.nr/dns/whois.html?subdomain=3qceea2e2ac&tld=nr does not return the correct result

In contrast, WHOIS records for existing domains are returned correctly with or without the "whois=Submit" param (see https://www.cenpac.net.nr/dns/whois.html?subdomain=google&tld=nr&whois=Submit).
PS: Thanks for the great project!

Thanks!


fix(ssr): fix global variable name conflict

Description

closes https://github.com/vitejs/vite/issues/17698

Passing global as ssr evaluation parameter is probably not necessary since ssrLoadModule is assumed to run on NodeJs and global should be available anyways.
Looking at v5 vite runtime, v6 module runner, and vite-node, they don't pass global at all and it looks safe to just remove it on ssrLoadModule side without breaking anything.
https://github.com/vitejs/vite/blob/6bdff8b807341a5f6c616558a2ddc9b5d0eb62ab/packages/vite/src/runtime/esmRunner.ts#L17-L24

/ecosystem-ci run


Subsetting of fonts

Fonts are one of the crucial assets of the website.
They have direct impact on the layout / theme (obviously) and the overall usability of the website. Furthermore, search engines reward fast loading times, tiny to none layout shifts, ...
As of now, the project uses three different fonts:

Mona Sans (default font for text bodies, sans-serif, variable font)
Crimson Pro (serif, just used for quotes)
Hack (monospaced, for source code)

All of them do include a rather huge set of glyphs, most likely a lot of them will be completely unused. Subsetting removes glyphs from the font, making the required filesize smaller.
Requirements

[ ] include subsetting into the build process
[ ] remove all un-used features of the fonts
[ ] determine un-used glyphs automatically
[ ] output format should be woff2
[ ] Licensing might be an issue

[ ] SIL OFL v1.1 prohibits, that derivative works (and subsetting the font might count as that) are distributed under the same name

Tools

https://github.com/chrissimpkins/fontname.py

change the (internal) name of a font
might be required because of licensing issues

Resources

https://24ways.org/2011/creating-custom-font-stacks-with-unicode-range/


[Go Live] [March 22]

Push to live

Docs Build status updates of commit 058debd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/saas-offer/saas-offer-flat-rate-pricing.png
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/conversations/channel-and-group-conversations.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/appsource/prepare/include-saas-offer.md
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/extend-m365-teams-message-extension.md
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/outlook-teams-messaging-ext.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/outlook-web-compose-more-apps.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/overview.md
:white_check_mark:Succeeded
View

msteams-platform/task-modules-and-cards/cards/cards-format.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


cf install-plugin pcfdev-v0.16.0-osx reports zero version

After cf install-plugin pcfdev-v0.16.0-osx we receive the message Plugin pcfdev v0.0.0 successfully installed. which is incorrect, or misleading.

Hi @Zteve,
Thanks for reporting this. We are aware of the issue. It's difficult for us to configure this correctly due to the way our pipeline promotes release candidates (ex. 0.16.1-rc.1) to releases (ex. 0.17.0 or 0.16.1).
I'll leave this issue open for now.
-Stephen

The recommended method for installing PCF Dev has changed. Instead of running cf install-plugin, you can now run the plugin binary directly to install it. This suppresses the confusing Plugin pcfdev v0.0.0 successfully installed. message.
We're still working on a way to get the right version number into the plugin, but I'm closing this issue for now.


Use @types npm repo

Past typescript 2.0, should use @types rather than typings. Should also improve the flow of the build as well

#121


Release workflow

Sets up an automated workflow using semantic-release to analyze commits, create changelog, and tag new release.
Commits are expected to follow the Conventional Commits format.
When manually triggered in GitHub actions, it will also create the GitHub release and upload the tarball asset. The creation of the release will subsequently trigger the publish workflow to push the package to npm and the GitHub package repo.

It might be helpful to mention the commit format in CONTRIBUTING.md.


WithDur output format could be improved

When doing
logger.Debug().WithDur("total_time", time.Since(startTime))

I get
"total_time":33256358542

If I swap to using a string:
logger.Debug().WithStr("total_time", time.Since(startTime).String())

Produces the expected / more useful output
"total_time":"30.99228175s"

This is a really good point: it's non-obvious for me that this will output Unix nano.
However, I think a. making it a string representation of a number, and b. making it default to seconds, are both kind of iffy propositions. Defaulting to Unix nano is expected by DD's "duration" standard field, eg.
I would not be against updating the interface to something like:
type proposedDurationFieldSetters interface {
	// I do not like WithDur ;)

	// WithDurations is a type-safe convenience for injecting a
	// time.Duration field (or time.Duration fields: how they are stored is
	// implementation-specific).
	//
	// WithDuration values are Unix nanosecond timestamps encoded
	// in JSON as numbers. Use WithDurationStrings for more human-
	// readable string values.
	WithDurations(fieldName string, dur ...time.Duration) Entry

	// WithDurationStrings is a type-safe convenience for injecting a
	// time.Duration field (or time.Duration fields: how they are stored is
	// implementation-specific).
	//
	// WithDurationStrings values are human-readable strings,
	// formatted using the time.Duration String method.
	WithDurationStrings(fieldName string, dur ...time.Duration) Entry
}

@iaburton thoughts?

@hews if you don't smirk when you type WithDur we may reach an impasse.
Again I'd like to try to keep the interface as small as possible. Instead maybe this should be an option for "human readable time/numbers" ? Some people might want that, others might not care since only computers will be parsing/using it. (Though I suppose in the latters case you may not want/care about JSON either).
For example zerolog has on it's version (which our driver calls)

Dur adds the field key with duration d stored as zerolog.DurationFieldUnit. If zerolog.DurationFieldInteger is true, durations are rendered as integer instead of float.

Those are globals that would actually change it for our driver (a function I don't like much, globals, but users of zerolog could do that).
Conversely logrus does not have a "duration" method and seems to rely on the types own MarshalJSON/MarshalText/encoding if not reflect. I'm assuming @joshrendek is using the logrus driver.
For behavior related things I'm leaning towards options (that can be driver specific or not) rather than interface methods. Creators of the loggers (main) / choosers of the drivers (main) should have control over that behavior, not the users (modules/consumers). Similarly to how go.mod/deps work in Go, or the database/sql interface this was partially based on.
Thoughts @hews ?

Creators of the loggers (main) / choosers of the drivers (main) should have control over that behavior, not the users (modules/consumers).

This is a good point: time / date / duration and other such should match across all logs for an instance. Driver-specific options would be smart here, but the format may be a big enough issue that we want to offer up a new shared interface that all drivers need to implement so that people can easily identify a way to set this:
logger, err := log.Open("logrus", nil, log.FormatDurationReadable(), log.FormatTimeUnixNano())

Alright, I am going to put an update into v2 that will make sure that the expected output aligns across all field types, including this.


Update spotify-playing.py conditional

Relates to this issue.
Changes conditional logic in makeSVG function to check if data["item"] is returned as None when playing a podcast.

Apologies, made a complete mess of this - please ignore


Forwarding multiple ports using same domain

Should it be possible to forward multiple ports using the same subdomain? When I run e.g. ssh -R test:123:localhost:123 -R test:345:localhost:345 domain.com I would expect both ports 123 and 345 to be forwarded from test.domain.com to my local machine on the same ports. But I receive:
Starting SSH Forwarding service for tcp:123. Forwarded connections can be accessed via the following methods:
Service console can be accessed here: https://test.domain.com/_sish/console?x-authorization=9qWkxP25Gj5rBLlzu60f
HTTP: http://test.domain.com
HTTPS: https://test.domain.com

The subdomain test.domain.com is unavailable. Assigning a random subdomain.
Starting SSH Forwarding service for tcp:345. Forwarded connections can be accessed via the following methods:
Service console can be accessed here: https://w0owyh.domain.com/_sish/console?x-authorization=oSgDtyWzAn5G8H8YuUBy
HTTP: http://w0owyh.domain.com
HTTPS: https://w0owyh.domain.com

Is this by design, something that could be fixed through configuration, or a feature request?

Tcp tunnels, it seems to work fine after an upgrade v1->v2, sorry. Thanks for a very useful project!


mir_bridge stays on still waiting for connection to <IP_ADDRESS>

Hi. While trying this package I faced the constant appearing of the warning: still waiting for connection to <IP_ADDRESS>.
My computer is connected to MiR network, I tried both WiFi and Ethernet.
Do you know what could be the root of the problem? Is it on MiR's side or on mine?
Thanks in advance for the help.

Can you ping the IP from your computer? Can you open the web interface at http://<IP_ADDRESS> in a browser? Alternatively, can you open it at http://mir.com? If yes, what is the IP address of mir.com from your computer?

Thanks for your answer Martin.Yes I could ping the IP, I can access MiR interface in both ways. Furthermore I can export the ROS Master Uri and read from the MiR topics, all this using the IP <IP_ADDRESS>, that's why found it weird that there was this connection issue.

I am currently having the same problem. I am able to connect to MiR's interface through chrome and I am also able to see all the topics/services/etc. when exporting ROS Master URI. However, rosbridge does not work.
My ROS version: Melodic
MiR100 software version: 2.3.0
MiR API version: 2.0.0
MiR IP: <IP_ADDRESS>
I have also tried to see if roslibpy could work, but it did not.

I am also experiencing this issue.
I am trying to test out this package for my MiR500. I am able to ping/connect to the MiR, but the mir_bridge node gets stuck waiting for connection to the robot.
My ROS version: Melodic
MiR500 software version: 2.7.1
MiR IP: <IP_ADDRESS>

Hmmm. There seem to be multiple people having this problem. Let's try to narrow this down.
My ROS version: Kinetic
MiR100 software version: 2.3.1
MiR IP: <IP_ADDRESS>
How to run
export ROS_MASTER_URI=http://localhost:11311
roslaunch mir_driver mir.launch

This works for me (i.e., I get past the "waiting for connection" message, and I can use rostopic echo scan etc.)
Connection debugging
$ nmap <IP_ADDRESS>

Starting Nmap 7.01 ( https://nmap.org ) at 2019-08-06 17:36 CEST
Nmap scan report for <IP_ADDRESS>
Host is up (0.00056s latency).
Not shown: 995 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
80/tcp   open  http
8080/tcp open  http-proxy
8888/tcp open  sun-answerbook
9090/tcp open  zeus-admin

Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds

# In order to capture the following dump, I put in an `exit()` call in mir_bridge.py so that it exits after establishing the connection. Then I started tcpdump and afterwards mir_bridge.py.
$ sudo tcpdump -s 0 -v -nn -A -i enp2s0 'host <IP_ADDRESS> && port 9090'
tcpdump: listening on enp2s0, link-type EN10MB (Ethernet), capture size 262144 bytes
17:52:28.599552 IP (tos 0x0, ttl 64, id 60019, offset 0, flags [DF], proto TCP (6), length 60)
    <IP_ADDRESS>.46482 > <IP_ADDRESS>.9090: Flags [S], cksum 0x9a0b (incorrect -> 0xfb03), seq 105644737, win 29200, options [mss 1460,sackOK,TS val 679556715 ecr 0,nop,wscale 8], length 0
E..<.s<EMAIL_ADDRESS>(.6k........
17:52:28.600022 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    <IP_ADDRESS>.9090 > <IP_ADDRESS>.46482: Flags [S.], cksum 0xad2d (correct), seq<PHONE_NUMBER>, ack 105644738, win 28960, options [mss 1460,sackOK,TS val<PHONE_NUMBER> ecr 679556715,nop,wscale 7], length 0
E..<<EMAIL_ADDRESS>.-.........
.{=.(.6k....
17:52:28.600060 IP (tos 0x0, ttl 64, id 60020, offset 0, flags [DF], proto TCP (6), length 52)
    <IP_ADDRESS>.46482 > <IP_ADDRESS>.9090: Flags [.], cksum 0x9a03 (incorrect -> 0x4ca7), ack 1, win 115, options [nop,nop,TS val 679556715 ecr<PHONE_NUMBER>], length 0
E..4.t<EMAIL_ADDRESS>(.6k.{=.
17:52:28.600262 IP (tos 0x0, ttl 64, id 60021, offset 0, flags [DF], proto TCP (6), length 244)
    <IP_ADDRESS>.46482 > <IP_ADDRESS>.9090: Flags [P.], cksum 0x9ac3 (incorrect -> 0x9dde), seq 1:193, ack 1, win 115, options [nop,nop,TS val 679556715 ecr<PHONE_NUMBER>], length 192
E....u<EMAIL_ADDRESS>(.6k.{=.GET / HTTP/1.1
Upgrade: websocket
Connection: Upgrade
Host: <IP_ADDRESS>:9090
Origin: http://<IP_ADDRESS>:9090
Sec-WebSocket-Key: S8MDimtGSEm9xaLaHulK3g==
Sec-WebSocket-Version: 13

17:52:28.600673 IP (tos 0x0, ttl 64, id 7446, offset 0, flags [DF], proto TCP (6), length 52)
    <IP_ADDRESS>.9090 > <IP_ADDRESS>.46482: Flags [.], cksum 0x4b6f (correct), ack 193, win 235, options [nop,nop,TS val<PHONE_NUMBER> ecr 679556715], length 0
E..4<EMAIL_ADDRESS>.{=.(.6k
17:52:28.601998 IP (tos 0x0, ttl 64, id 7447, offset 0, flags [DF], proto TCP (6), length 181)
    <IP_ADDRESS>.9090 > <IP_ADDRESS>.46482: Flags [P.], cksum 0x701f (correct), seq 1:130, ack 193, win 235, options [nop,nop,TS val<PHONE_NUMBER> ecr 679556715], length 129
E<EMAIL_ADDRESS>.{=.(.6kHTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: +1/LjDXGuZprJ4T9kS/Mu/PjwEk=

17:52:28.602012 IP (tos 0x0, ttl 64, id 60022, offset 0, flags [DF], proto TCP (6), length 52)
    <IP_ADDRESS>.46482 > <IP_ADDRESS>.9090: Flags [.], cksum 0x9a03 (incorrect -> 0x4b5e), ack 130, win 119, options [nop,nop,TS val 679556717 ecr<PHONE_NUMBER>], length 0
E..4.v<EMAIL_ADDRESS>(.6m.{=.
17:52:28.898377 IP (tos 0x0, ttl 64, id 60023, offset 0, flags [DF], proto TCP (6), length 52)
    <IP_ADDRESS>.46482 > <IP_ADDRESS>.9090: Flags [F.], cksum 0x9a03 (incorrect -> 0x4a35), seq 193, ack 130, win 119, options [nop,nop,TS val 679557013 ecr<PHONE_NUMBER>], length 0
E..4.w<EMAIL_ADDRESS>(.7..{=.
17:52:28.898855 IP (tos 0x0, ttl 64, id 7448, offset 0, flags [DF], proto TCP (6), length 52)
    <IP_ADDRESS>.9090 > <IP_ADDRESS>.46482: Flags [F.], cksum 0x4897 (correct), seq 130, ack 194, win 235, options [nop,nop,TS val<PHONE_NUMBER> ecr 679557013], length 0
E..4<EMAIL_ADDRESS>.{>.(.7.
17:52:28.898864 IP (tos 0x0, ttl 64, id 60024, offset 0, flags [DF], proto TCP (6), length 52)
    <IP_ADDRESS>.46482 > <IP_ADDRESS>.9090: Flags [.], cksum 0x9a03 (incorrect -> 0x490a), ack 131, win 119, options [nop,nop,TS val 679557014 ecr<PHONE_NUMBER>], length 0
E..4.x<EMAIL_ADDRESS>(.7..{>.

# This is while mir_bridge.py is running:
$ sudo netstat -apn | grep 9090
tcp        0      0 <IP_ADDRESS>:42014    <IP_ADDRESS>:9090      ESTABLISHED 16621/python

@ben-greenberg: Currently, this repo is only fully compatible with MiR software 2.3.1 and earlier; you'll run into trouble on MiR software 2.7.1. However, this first step (establishing the connection) should work.
Tomorrow I'll try to test it with melodic.

I've just tested it successfully on melodic - so it doesn't make a difference whether it's melodic or kinetic.
Everyone who is having problems: could you run the commands from my last comment and paste the results here? I have no clue why your robots behave differently from mine. :)

Also make sure that you are not using the robot's IP as the ROS master, but the local PC:
export ROS_MASTER_URI=http://localhost:11311

@mintar I haven't had time to test it, however the IP export could be the issue, as I was exporting the ROS Master from the robot IP and not from my own computer. I'll let you know as soon as I test it. Thanks.

Dear @mintar
I have the same problem connecting to MiR100, software version 2.7.1.
I can ping and connect to the robot through the web interface, however,  it fails to establish connection through ROS Bridge.
This problem has happened recently and I didn't have it before.
I have already tried exporting the ROS_MASTER_URI but no luck.
I was wondering if you could help me solve this problem.
Thanks.

I was able to solve the above issue: it is probably related with the version of the 'websocket-client' python module installed in your system.
In fact debugging the mir_bridge.py I found the right place to look at: https://github.com/websocket-client/websocket-client/issues/467
So I decided to switch back to version 0.52.0 of the websocket-client installed in my system (ubuntu 18.04) as described here (https://github.com/websocket-client/websocket-client/issues/467#issuecomment-470881828) :

pip uninstall websocket
pip uninstall websocket-client
pip install websocket-client==0.52.0

After this the mir_bridge worked as expected.

Thanks for your helpful comment, @liesrock ! I think this might be the solution.
The default version of websocket on Ubuntu 18.04 (when installed via apt install python-websocket) is 0.44.
The default version of websocket on Ubuntu 20.04 (when installed via apt install python3-websocket) is 0.53.
These are the versions that mir_robot expects for melodic and noetic respectively, so you should use them. Of course, if you install stuff using pip, it messes everything up, as usual.
In the noetic branch of this repo, I've adapted mir_robot to  websocket versions >= 0.49 a while ago: https://github.com/dfki-ric/mir_robot/commit/27af75a512f204fbc8eb61f1f9f96e0099bde55f
If you for some reason use websocket 0.53, but are not using noetic, you should cherry-pick that commit.


Upgrade failed

Hello,
On a fresh deployment of Remnux on Virtualbox the upgrade is failing. The internet connectivity ran into issue during the upgrade process. Now the upgrade is not getting resumed, throwing error:
`emnux@remnux:/var/cache/remnux/cli/v2023.7.1$ remnux upgrade
><EMAIL_ADDRESS>> remnux-version: v2021.15.2

> downloading v2023.7.1
>> downloading remnux-salt-states-v2023.7.1.tar.gz.asc
>> downloading remnux-salt-states-v2023.7.1.tar.gz.sha256
>> downloading remnux-salt-states-v2023.7.1.tar.gz.sha256.asc
>> downloading remnux-salt-states-v2023.7.1.tar.gz
> validating file remnux-salt-states-v2023.7.1.tar.gz
> validating signature for remnux-salt-states-v2023.7.1.tar.gz.sha256
> extracting update remnux-salt-states-v2023.7.1.tar.gz
> using previous mode: dedicated
> upgrading/updating to v2023.7.1
>> Log file: /var/cache/remnux/cli/v2023.7.1/saltstack.log

Update returned exit code not zero
Error: Update returned exit code not zero
    at ChildProcess.<anonymous> (/snapshot/remnux-cli/remnux-cli.js:569:23)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

Sometimes problems occur due to network or server issues when
downloading packages, in which case retrying your operation
a bit later might lead to good results.

To determine the nature of the issue, please review the
saltstack.log file under /var/cache/remnux/cli in the
subdirectory that matches the REMnux version you're installing.
Search for the log file for "result: false" messages and look at
the surrounding lines to diagnose the issue.

For assistance go to https://github.com/REMnux/remnux-cli/issues
`

Saltstack log:
[`remnux@remnux:/var/cache/remnux/cli/v2023.7.1$ cat saltstack.log
[DEBUG   ] Missing configuration file: /etc/salt/minion
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: remnux
[DEBUG   ] Using importlib_metadata to load entry points
[ERROR   ] 'EntryPoints' object has no attribute 'items'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args
    mixin_after_parsed_func(self)
  File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 887, in __setup_extended_logging
    log.setup_extended_logging(self.config)
  File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging
    providers = salt.loader.log_handlers(opts)
  File "/usr/lib/python3/dist-packages/salt/loader/__init__.py", line 686, in log_handlers
    _module_dirs(
  File "/usr/lib/python3/dist-packages/salt/loader/__init__.py", line 148, in _module_dirs
    for entry_point in entrypoints.iter_entry_points("salt.loader"):
  File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 43, in _wrapped
    return f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points
    for entry_point_group, entry_points_list in entry_points.items():
AttributeError: 'EntryPoints' object has no attribute 'items'
Usage: salt-call [options] <function> [arguments]

salt-call: error: Error while processing <function LogLevelMixIn.__setup_extended_logging at 0x7f869fe674c0>: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 210, in parse_args
    mixin_after_parsed_func(self)
  File "/usr/lib/python3/dist-packages/salt/utils/parsers.py", line 887, in __setup_extended_logging
    log.setup_extended_logging(self.config)
  File "/usr/lib/python3/dist-packages/salt/log/setup.py", line 414, in setup_extended_logging
    providers = salt.loader.log_handlers(opts)
  File "/usr/lib/python3/dist-packages/salt/loader/__init__.py", line 686, in log_handlers
    _module_dirs(
  File "/usr/lib/python3/dist-packages/salt/loader/__init__.py", line 148, in _module_dirs
    for entry_point in entrypoints.iter_entry_points("salt.loader"):
  File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 43, in _wrapped
    return f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/salt/utils/entrypoints.py", line 62, in iter_entry_points
    for entry_point_group, entry_points_list in entry_points.items():
AttributeError: 'EntryPoints' object has no attribute 'items'](`url`)
`

Any fix to this issue ?
Thanks.

Hi @faisalusuf , if you run the following, you should be able to rerun the installer without issue.
sudo python3 -m pip install 'importlib-metadata<5.0.0'

@digitalsleuth Seems it worked. Thanks for your help really appreciate it.

No problem, glad everything worked out!


fix: tool tree check if path is inside project workspaces

I asked Andrii to test it on windows just in case something may break with paths, but it works fine


Add traffic data and IP address to Radius Accounting messages

In reference to #2363 this pull request adds support for traffic data (bytes_in/out) in IP address fields in the Radius Accounting messages.

@fvanroie looks good at a first glance, I'll try to merge this shortly


Update Frank/Frank repository with pending commits from the moredip/Frank repository

There are a couple of commits in the moredip/Frank repository which never made it to the Frank/Frank repository, more specifically from these pull requests:

Bug-fix: Fall back to orientation via status-bar when orientation via device fails
Allowing UIAlertViews be queryable in iOS7

This PR brings these commits to the Frank/Frank repository.
Figured this out while troubleshooting the orientation command, which is still broken in Frank/Frank.

Thanks!

Is there any chance that this recent Frank activity means that Frank is being resurrected and updated for iOS 9 and Xcode 7? I've been a big Frank user, and sometimes contributor, in the past but have been evaluating Appium and Calabash as alternatives since the apparent death of Frank.

No promises from me. I thought I was going to have a good chunk of time in 2015 to investigate reimplementing Frank on top of Apple's new automated UI testing framework, which would hopefully help Frank deal with major iOS releases without breaking so many things, but more pressing things have taken more of my time than I expected. I still would like to do this, but it's just a matter of finding the time to do so.


Slider will not lose focus when releasing mouse outside of the window.

I noticed when playing around with sparky that when using the debug menu if I released the mouse outside of the application window after I had clicked on the slider it would not release focus. Maybe it isn't relevant since it is only used for debugging right now.

No this is very much relevant, and is a bug. This happens with the window in general, not just the slider. You can easily replicate this if you use the mouse to move the camera (whilst holding down a mouse button and ALT in Test3D), drag the mouse outside the window, and release the mouse button. This will be fixed in the future.

Fixed in March 2016 release.


[10/10/2022]: Add a drop-down for About us.

Task 2
Add a drop-down for About us. In the dropdown, we want to add
Who are we?

This will direct you to the same about us page on the website
of Conduct

This will direct you to a new subpage with the code of conduct

-Make sure it's reflected on both the Arabic and English pages.

Do you want to be assigned for this task @okerekechinweotito ?

@BatoolMM I would like to be assigned this Task. Thank you

Hello @BatoolMM
My name is Jolade, I am an Outreachy applicant, I will love to work on this issue.
thank you.

working on it too

@okerekechinweotito Please use teh issue template which asks specifically about a description of the issue and weather you wants to be assigned to it!
@Jolah1 and @Mublin There are other task in issue #12 which you can work on it!

@BatoolMM  I have updated the issue inline with the issue-template. Please review it and let me know if you would like any changes.


[BUG] Potential memory leak in <IP_ADDRESS>

From an env, we saw increased usage of heap memory after enabling KoP and GC is not able to reclaim much memory:

Heap dump indicating it's likely a leak caused by KoP, that's it keep creating persistent cursors without closing any:

Full dump: https://drive.google.com/file/d/1LBUWAZlfm84YnPGKQRZLyLZQ_tVmpYNG/view?usp=sharing

Though the cursor's name contains "persistent", the cursor is still non-durable cursor. "persistent" is just a part of the full topic name. So when you restart the broker, these cursors should be removed.
There are some bug fixes for cursor leak:

https://github.com/streamnative/kop/pull/839 in <IP_ADDRESS>, the cursor leak happens when a consumer is closed.
https://github.com/streamnative/kop/pull/794 in <IP_ADDRESS>, the cursor leak happens when a topic has multiple consumer groups.

@MarvinCai Looks like we need to upgrade the customer environment to the latest 2.8.1.x.


how to visualize the the predict results in eval process?

I can find the command "python tools/test.py ${CONFIG_FILE} ${CKPT_PATH} --eval 'mAP' --eval-options 'show=True' 'out_dir=${SHOW_DIR}'" that used to visualize the results in the eval process in the old version of chineses guide document ,but the new version guide document in English ,there is no command to show it ,so what's the command in the new version mmdetection3d v1.1.0?

https://mmdetection3d.readthedocs.io/zh_CN/latest/user_guides/visualization.html. Please use the latest 1.1.1 branch which supports visualization better.

https://mmdetection3d.readthedocs.io/zh_CN/latest/user_guides/visualization.html. Please use the latest 1.1.1 branch which supports visualization better.

Hi! I follow the link you provided to visualize the ground-truth box in nuScenes dataset
And I got this error:
python tools/misc/browse_dataset.py configs/base/datasets/nus-mono3d.py --task mono_det --output-dir ./output
09/25 13:17:10 - mmengine - INFO - ------------------------------
09/25 13:17:10 - mmengine - INFO - The length of the dataset: 168780
09/25 13:17:10 - mmengine - INFO - The number of instances per category in the dataset:
+----------------------+--------+
| category             | number |
+----------------------+--------+
| car                  | 517166 |
| truck                | 93259  |
| trailer              | 28466  |
| bus                  | 16671  |
| construction_vehicle | 15882  |
| bicycle              | 11154  |
| motorcycle           | 11777  |
| pedestrian           | 213239 |
| traffic_cone         | 91774  |
| barrier              | 150210 |
+----------------------+--------+
/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/visualization/visualizer.py:196: UserWarning: Failed to add <class 'mmengine.visualization.vis_backend.LocalVisBackend'>, please provide the save_dir argument.
warnings.warn(f'Failed to add {vis_backend.class}, '
[                                                  ] 1/168780, 0.2 task/s, elapsed: 4s, ETA: 719244sTraceback (most recent call last):
File "tools/misc/browse_dataset.py", line 152, in
main()
File "tools/misc/browse_dataset.py", line 123, in main
for i, item in enumerate(dataset):
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 409, in getitem
data = self.prepare_data(idx)
File "/home/xzt/Downloads/mmdetection3d-1.1.0/mmdet3d/datasets/det3d_dataset.py", line 387, in prepare_data
example = self.pipeline(input_dict)
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 58, in call
data = t(data)
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmcv/transforms/base.py", line 12, in call
return self.transform(results)
File "/home/xzt/Downloads/mmdetection3d-1.1.0/mmdet3d/datasets/transforms/formating.py", line 119, in transform
return self.pack_single_results(results)
File "/home/xzt/Downloads/mmdetection3d-1.1.0/mmdet3d/datasets/transforms/formating.py", line 210, in pack_single_results
gt_instances_3d[self._remove_prefix(key)] = results[key]
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/structures/instance_data.py", line 151, in setattr
if len(self) > 0:
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/structures/instance_data.py", line 306, in len
return len(self.values()[0])
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/torch/_tensor.py", line 589, in len
raise TypeError("len() of a 0-d tensor")
TypeError: len() of a 0-d tensor
I thougt it was the 'save_dir' is different from the args 'output_dir' at first, so I add the save_dir in /miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/visualization/visualizer.py
but I still got error, which looks like :
File "tools/misc/browse_dataset.py", line 152, in
main()
File "tools/misc/browse_dataset.py", line 123, in main
for i, item in enumerate(dataset):
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 409, in getitem
data = self.prepare_data(idx)
File "/home/xzt/Downloads/mmdetection3d-1.1.0/mmdet3d/datasets/det3d_dataset.py", line 387, in prepare_data
example = self.pipeline(input_dict)
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/dataset/base_dataset.py", line 58, in call
data = t(data)
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmcv/transforms/base.py", line 12, in call
return self.transform(results)
File "/home/xzt/Downloads/mmdetection3d-1.1.0/mmdet3d/datasets/transforms/formating.py", line 119, in transform
return self.pack_single_results(results)
File "/home/xzt/Downloads/mmdetection3d-1.1.0/mmdet3d/datasets/transforms/formating.py", line 210, in pack_single_results
gt_instances_3d[self._remove_prefix(key)] = results[key]
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/structures/instance_data.py", line 151, in setattr
if len(self) > 0:
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/mmengine/structures/instance_data.py", line 306, in len
return len(self.values()[0])
File "/home/xzt/miniconda3/envs/detr/lib/python3.8/site-packages/torch/_tensor.py", line 589, in len
raise TypeError("len() of a 0-d tensor")
TypeError: len() of a 0-d tensor
It looks like the second image didn't load successfully, only one image was generated. The training process can runs successfully and my environment is
mmcv==2.0.0rc4
mmdet==3.0.0rc5
mmdet3d==1.1.0   (I also tried 1.1.1 still this error)
mmengine==0.8.4
torch==1.9.0+cu111
torchvision==0.10.0+cu111


Propagate and handle errors in dds gateway

Brief feature description
In iox_to_dds.inl and dds_to_iox.inl methods which are returning an cxx::expected are called but the error case is dismissed with IOX_DISCARD_RESULT. Either the cxx::expected is propagated to the user so that they can handle it or it has to be handled internally.
When this issue is closed the IOX_DISCARD_RESULT has to be gone and whenever the gateway is unable to work the user should be notified via the API.

Moved to https://github.com/eclipse-iceoryx/iceoryx-gateway-dds/issues/3


test 1

Signed-off-by: Frederic Giloux<EMAIL_ADDRESS>

Pipelines as Code CI/simple-pipeline has failed.

StatusDurationName

✅ Succeeded
37 seconds
fetch-repository

❌ Failed
31 seconds
check

Pipelines as Code CI/simple-pipeline has failed.

StatusDurationName

✅ Succeeded
14 seconds
fetch-repository

❌ Failed
20 seconds
check

Pipelines as Code CI/simple-pipeline has failed.

StatusDurationName

✅ Succeeded
14 seconds
fetch-repository

❌ Failed
20 seconds
check

Pipelines as Code CI/simple-pipeline has successfully validated your commit.

StatusDurationName

✅ Succeeded
17 seconds
fetch-repository

✅ Succeeded
20 seconds
check

Pipelines as Code CI/simple-pipeline has successfully validated your commit.

StatusDurationName

✅ Succeeded
19 seconds
fetch-repository

✅ Succeeded
20 seconds
check

Pipelines as Code CI/simple-pipeline has failed.

StatusDurationName

✅ Succeeded
14 seconds
fetch-repository

❌ Failed
28 seconds
check


Internal Server Error

When using the start_tnd returns
"  File "/home/lem/.local/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "/home/lem/.local/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/home/lem/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "/home/lem/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "/home/lem/Desktop/TinderGPT/main.py", line 33, in load_main_page_tnd
    dating_connector.load_main_page()
  File "/home/lem/Desktop/TinderGPT/driver/connectors/tnd_conn.py", line 52, in load_main_page
    if self.driver.find_element('xpath', self.close_tnd_gold_enforser_xpath):
  File "/home/lem/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 831, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "/home/lem/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
    self.error_handler.check_response(response)
  File "/home/lem/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: /html[1]/body[1]/div[2]/main[1]/div[1]/div[1]/div[3]/button[2]/span[1]"

Also when using /opener goes to the "likes sent" as the first girl, instead of the actual first girl.

Solved the issue by changing :
    if self.driver.find_element('xpath', self.close_tnd_gold_enforser_xpath):
        self.driver.find_element('xpath', self.close_tnd_gold_enforser_xpath).click()
        print('Tinder gold enforcer closed')

To:
    if self.driver.find_elements('xpath', self.close_tnd_gold_enforser_xpath):
        self.driver.find_element('xpath', self.close_tnd_gold_enforser_xpath).click()
        print('Tinder gold enforcer closed')

Since elements returns false and element returns an exception if not found

"Also when using /opener goes to the "likes sent" as the first girl, instead of the actual first girl."
Just change line 118 on "tnd_conn" to def get_bio(self, girl_nr=2):

@neves8232 What about error with tnd gold enforser - nice solution! It was that kind of error, which shows error, but in fact app works normally ;) But now because of your solution, it will not show that fake error any more.
What about opener clicks to "likes sent", you mean it clicking to that first icon that leads to tinder.com/apps/likes-you

?
If yes, it strange. For me /opener was working good. That icon is girl_nr=0, so when clicking on girl_nr=1, it opens first girl for me.

Well, it's interesting that you had 2 options, maybe you had some paid version of tinder, and that's why it looks different?
Ok, I see your code, It opens all the girls it has. It's interesting approach! I'll think to use some parts of it.
Thanks for appreciation, using the project and improving it!

I was using a free version tho, idk if other people have the same 2 options as me or it's based on location or something🤷.
No problem mate, I love python, I'm currently working on other projects but if you have anything you might want to discuss I'll be glad to help !


can't load the node.. please help..

I have this issue too. In the console it says
Traceback (most recent call last):
File "F:\comfynew\ComfyUI\ComfyUI\nodes.py", line 1887, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main_init.py", line 1, in
from .layered_diffusion import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main\layered_diffusion.py", line 17, in
from .lib_layerdiffusion.models import TransparentVAEDecoder
File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main\lib_layerdiffusion\models.py", line 22, in
check_diffusers_version()
File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main\lib_layerdiffusion\models.py", line 17, in check_diffusers_version
assert parse(diffusers.version) >= parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: diffusers>=0.25.0 requirement not satisfied. Please install correct diffusers version.
Cannot import F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main module for custom nodes: diffusers>=0.25.0 requirement not satisfied. Please install correct diffusers version.
Loading: ComfyUI-Manager (V2.9)
ComfyUI Revision: 2052 [55f37baa] | Released on '2024-03-07'
Import times for custom nodes:
0.5 seconds: F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
6.2 seconds (IMPORT FAILED): F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main
you might think reading this that I have the wrong version of diffusers but I checked and I have 0.25.0

Exactly same issue here :-/

Also having this issue. Any suggestions?

Exactly same issue here :-/

Make sure you update comfy's python packages, not the system python packages. Don't use PowerShell, just go with cmd

by chance do you mean to do this:
pip install --upgrade pip
pip list --outdated --format=freeze | grep -v '^-e' | cut -d = -f 1 | xargs -n1 pip install -U

That's the way to upgrade system python. In cmd (not powershell) go to python_embedded folder in your comfy standalone install folder, and start with python.exe
like this:
ComfyUI_windows_portable\python_embeded>python.exe pip and do your thing. You can also check the installed versions by using pip show

just a thought would not executing the update bat file do the same?
update_comfyui_and_python_dependencies.bat - it is stored in the ComfyUi update folder
thanks

Issue solved on my side by call a "pip install diffusers" with comfyui Manager/Install PIP Packages menu !

ok great! Have you published the update?

Issue solved on my side by call a "pip install diffusers" with comfyui Manager/Install PIP Packages menu !通过使用 comfyui Manager/Install PIP Packages 菜单调用“pip install diffusers”，我这边解决了问题！

it works！

yes works for me too now.  For others looking here I went to the comfyui manager and in the experimental section (bottom left) I selected the option "Install PIP Packages". Then in the popup I entered "Diffusers" and then restarted comfyUI. I then tried to reinstall the custom node and it loaded without errors.
Thanks for the help.

Issue solved on my side by call a "pip install diffusers" with comfyui Manager/Install PIP Packages menu !

thanksssssssssssssssssssssssssssss it's work for me

yes works for me too now. For others looking here I went to the comfyui manager and in the experimental section (bottom left) I selected the option "Install PIP Packages". Then in the popup I entered "Diffusers" and then restarted comfyUI. I then tried to reinstall the custom node and it loaded without errors.
Thanks for the help.

i do than but without reinstall the node just restart comfyUi and it's work thanks bro

Glad you made it work!
On Sat, 16 Mar 2024 at 08:55, max140x @.***> wrote:

yes works for me too now. For others looking here I went to the comfyui
manager and in the experimental section (bottom left) I selected the option
"Install PIP Packages". Then in the popup I entered "Diffusers" and then
restarted comfyUI. I then tried to reinstall the custom node and it loaded
without errors.
Thanks for the help.
i do than but without reinstall the node just restart comfyUi and it's
work thanks bro
—
Reply to this email directly, view it on GitHub
https://github.com/huchenlei/ComfyUI-layerdiffuse/issues/43#issuecomment-2001917315,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAPFHJB7WLTVUSSHDXHPRXTYYQCGXAVCNFSM6AAAAABEM6YXO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRHEYTOMZRGU
.
You are receiving this because you commented.Message ID:
@.***>

Thank you so much, everyone. Got it working on my end thanks to this thread!


Use an event instead of registrationCallback config.

I can do this. What do you want to call the event?

How about HybridAuth.newUser? We can always rename before merging :)

I guess it could be configurable as a component settings with a default. I started another website project using this plugin. So I'll add this. Do you think we could have a way of letting the User model handle lookups of user records?

I guess it could be configurable as a component settings with a default.

There's no need for it to be configurable.

Do you think we could have a way of letting the User model handle lookups of user records?

Not sure what you mean.

@thinkingmedia Ping

Sorry, I got distracted. I'll make a pull request to fix this as soon as I can. There is a project that I want to add to my portfolio that will use this plugin. It needs to cleaning up and when I do that work I'll make a pull request for this.

No rush, thanks.

Done. https://github.com/ADmad/CakePHP-HybridAuth/tree/event

@ADmad do you merge in on master?

@damianoporta No I haven't.

@ADmad I found a problem with the event. You have used $this->eventManager()->on('HybridAuth.newUser', ....); this does not work because the event is triggered against HybridAuthAuthenticate object. We should use the global eventmanager object, something like:
EventManager::instanced()->on('HybridAuth.newUser', ....);
Or you should change $this->dispatchEvent() inside the HybridAuthAuthenticate.php to send the event to controller directly, something like $this->_registry->dispatchEvent(...);
Make sense?

@damianoporta Using the global event manager provides more flexibility.

@damianoporta Just in case you are interested I have put up a new 4.0 branch which support multiple providers per user. I haven't updated the readme yet but for the default config to work it only creating a social_profiles table (migration file is provided) and setting $this->hasMany('ADmad/HybridAuth.SocialProfiles') in your UsersTable::initialize()

@admad oh perfect! Thats a very good feature! I will see it for sure.
Admad out of curiosity why did you not merge the event branch on master? Does it have problems?

I hadn't tested if properly that's why. As you found out the readme wasn't accurate :)  Now with the new 4.0 branch up I will probably drop the event branch.

@admad :) ok i will set that branch on my composer. Please could you add it on packagist?
Ok, however the event approach is a way better then simple callbacks.

@ADmad where is the migration file ?

@damianoporta Every branch is automatically available through packagist :)  Use version 4.0.x-dev.  Migrations file is under config/Migrations as usual.

Ops nevermind :)


translate de

Translate the #395, now I have translated the en.json into Standard German(de), given that I am a Germany learner instead of a native speaker, some deviations may linger in the translation

Closing in favour of https://github.com/twinnydotdev/twinny/pull/418 which includes cherrypicked changes, somehow it messed up and caused conflicts.


Presentation mode

Full screen, black background. Slide told to size is font-size to fit a target width.
Basically mobile mode is this, but with a section selector

Done as of 4b78bb807408afb862ea060ac8848e98cfa6b339


App Stops Capturing Footage

When I use OpenStreetCam 2.1.5 on my Sony G3226 Xperia XA1 Ultra (Android 7.0, Build 42.0.A.4.101), the application "freezes" recording after approximately 70-90MB has been captured (it varies). The application itself is fine and OpenStreetCam even says it is still recording - but the file-size does not get any bigger and when I stop the video at the end of my trip, it can easily be confirmed that capture had indeed stopped.
In saying this, when I stop the video, it just sits there with a "spinning circle" on the recording button, and I must either restart my smartphone or forcefully close the application - I find that if I do not restart my smartphone though, other applications think OpenStreetCam is still using the camera, after I have closed the application.
At first I thought it might be because my smartphone was overheating, even though it doesn't actually feel excessively warm... But I have been able to record over twenty minutes of footage with Sony's own "camera" application, at the best-quality settings.
Therefore, the issue most likely lies with this application.
Can we please get OpenSteetView updated to address this issue?

Have you tried switching to JPEG recording? I've had issues with budget phones not able to keep up in processing sense when video capture is enabled. JPEG recording is much less CPU intensive

JPEG recording works... But unlike "regular" recording, it makes my smartphone get ridiculously hot after 10-15 minutes - so hot in fact, that the camera shuts down until the smartphone has cooled.
So JPEG is a work-around... But only sort of.
Like I said, I can record video for 20+ minutes using Sony's included camera application on the highest-quality settings, so it's gotta be something to do with this particular application...

@gregoryopera, could you possibly report an issue from the app ( Settings-> Report a problem ) for the recording freeze? That also sends us the app's logs from the last 48h, if the event happened in that interval we should be able to pinpoint the problem.
I can confirm there's a problem in the app  related to the camera open/close which we'll investigate in our next sprint, sorry about that.
What I suggest is to reduce the photo resolution, even 2 MP is fine for detecting traffic signs and road info.


Fixed implementation of BOP (#1402)

This PR fixes the issues with the implementation of the Best Offset Prefetcher described in issue #1402
On branch bop
Changes to be committed:
modified:   src/mem/cache/prefetch/bop.cc
modified:   src/mem/cache/prefetch/bop.hh

Hi ivanaamit
Thanks for letting me know to fix the PR. I've amended the commit message. I've also added the information of the co-author of this commit.
Thanks

I had to resort to the paper (I just skimmed across) to try to understand what is being fixed. My points of issue with the Issue were the use of ¨incorrectly¨ in bullet 2 without any description of what is the expected correct methodology. Similarly, in bullet 3 it would be nice to have a summary of how it was implemented, and how it was supposed to be implemented. Could you fill this information in the Issue so that the next review is more focused on the algorithm?

I've updates the issue. I hope now the reviewers would be able to understand the changes.

I had to resort to the paper (I just skimmed across) to try to understand what is being fixed. My points of issue with the Issue were the use of ¨incorrectly¨ in bullet 2 without any description of what is the expected correct methodology. Similarly, in bullet 3 it would be nice to have a summary of how it was implemented, and how it was supposed to be implemented. Could you fill this information in the Issue so that the next review is more focused on the algorithm?

I've updated the issue. I hope now the reviewers would be able to understand the changes.

That update was great! Thanks!

By the way, is there a clang format file which outlines all the rules for Gem5 somewhere? I'm asking as right now I'm fixing the formatting manually because of which I sometimes miss some changes. With a clang-format file, all this work can be automated. Moreover, we can also add it to the commit hooks so that it automatically lints the code before committing

Great idea! https://github.com/orgs/gem5/discussions/333