failed to compile substrate v2.0.0

Unable to compile substate
OS and rust version:
curl https://getsubstrate.io -sSf | bash
Mac OS (Darwin) detected.
Warning: openssl 1.0.2s is already installed and up-to-date
To reinstall 1.0.2s, run `brew reinstall openssl`
Warning: cmake 3.14.5 is already installed and up-to-date
To reinstall 3.14.5, run `brew reinstall cmake`
Warning: llvm 8.0.0_1 is already installed and up-to-date
To reinstall 8.0.0_1, run `brew reinstall llvm`
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: checking for self-updates

   stable-x86_64-apple-darwin unchanged - rustc 1.36.0 (a53f9df32 2019-07-03)
  nightly-x86_64-apple-darwin unchanged - rustc 1.38.0-nightly (6e310f2ab 2019-07-07)

Error
error[E0658]: use of unstable library feature 'try_from' (see issue #33417)
   --> /Users/belsy/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmi-0.4.5/src/memory.rs:113:17
    |
113 |             use std::convert::TryInto;
    |                 ^^^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'try_from' (see issue #33417)
   --> /Users/belsy/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmi-0.4.5/src/memory.rs:114:46
    |
114 |             let initial_u32: u32 = initial.0.try_into().map_err(|_| {
    |                                              ^^^^^^^^

error[E0658]: use of unstable library feature 'try_from' (see issue #33417)
   --> /Users/belsy/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmi-0.4.5/src/memory.rs:118:61
    |
118 |                 Some(maximum_pages) => Some(maximum_pages.0.try_into().map_err(|_| {
    |                                                             ^^^^^^^^

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `wasmi`.

Sorry, I did not have rustc use the latest stable version. closing


version to 0.0.19

Summary by Sourcery
Build:

Update pre-commit configuration to use mypy version 1.13.0.

Codecov Report
Attention: Patch coverage is 50.00000% with 6 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@1279734). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

albucore/__init__.py
60.00%
4 Missing :warning:

setup.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage        ?   59.87%
=======================================
  Files           ?       19
  Lines           ?     2116
  Branches        ?        0
=======================================
  Hits            ?     1267
  Misses          ?      849
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


TS: fix a case of infinite type expansion

Fixes a problem observed when extracting DefinitelyTyped in full mode.

Rebased on 1.20. I'm not sure a change note is warranted, given that not many people use full-mode extraction anyway.


spring-cloud-starter-consul-discovery depends on spring-cloud-starter-netflix-ribbon

spring-cloud-starter-consul-discovery depends on spring-cloud-starter-netflix-ribbon although Spring Cloud Netflix Ribbon is in maintenance mode.
Please see https://github.com/spring-cloud/spring-cloud-consul/blob/master/spring-cloud-starter-consul-discovery/pom.xml#L38
Maybe an optional dependency is needed as @spencergibb commented in https://github.com/spring-cloud/spring-cloud-netflix/issues/3415#issuecomment-499987855

@spencergibb spring-cloud-consul 2.2.0.M2 still depends on spring-cloud-starter-consul-discovery depends on spring-cloud-starter-netflix-ribbon: https://github.com/spring-cloud/spring-cloud-consul/blob/v2.2.0.M2/spring-cloud-starter-consul-discovery/pom.xml#L34

In order to preserve backward compatibility, we will not be removing the spring-cloud-starter-netflix-ribbon dependency until we do a major release. However, as part of the Hoxton release train, we are adding spring-cloud-starter-loadbalancer dependency, which will allow the users to switch to using the non-maintenance BlockingLoadBalancerClient instead of the RibbonLoadBalnacerClient underneath.
Consequently, we will be completely removing all maintenance-mode dependencies with the next major release.

Fixed in 3.0.0.M1.


Prod build does not work with optimization: true

We are using
"ol": "^5.2.0",
"ol-geocoder": "^3.2.0",
"ol-popup": "^4.0.0"

with Angular 7.  Works fine in dev mode, but leeds to the following error when using prod build and optimization: true:

ERROR TypeError: Cannot read property 'getExtent' of null
at 3.js:1
at e.applyOptions_ (3.js:1)
at new e (3.js:1)
at l.initOpenLayerMap (11.js:1)
at l.ngOnInit (11.js:1)
at main.js:1
at main.js:1
at _s (main.js:1)
at Vs (main.js:1)
at Object.updateDirectives (11.js:1)

Code snippet:
import OlTileLayer from 'ol/layer/Tile';
import OlMap from 'ol/Map';
import OlView from 'ol/View';
import OlOsmSource from 'ol/source/OSM';
import Geocoder from 'ol-geocoder/dist/ol-geocoder';
import OlPopup from 'ol-popup';

initOpenLayerMap() {
    const olview = new OlView({ center: [0, 0], zoom: 2 }),
      baseLayer = new OlTileLayer({ source: new OlOsmSource() }),
      map = new OlMap({
        target: document.getElementById('map'),
        view: olview,
        layers: [baseLayer]
      });

    const popup = new OlPopup();
    map.addOverlay(popup);

    const geocoder = new Geocoder('nominatim', {
      provider: 'osm',
      lang: 'de-DE',
      placeholder: 'Wohnort suchen...',
      limit: 5,
      debug: false,
      autoComplete: true,
      keepOpen: false
    });
    map.addControl(geocoder);

    geocoder.on('addresschosen', this.setResidenceForm());
  }

Template snippet:

We also use the ol map to show locations at another component of the app that also leeds to the same error.
Any ideas?
Thanks a lot

Update: When testing locally with ng serve --prod and optimization: false the map is showed correctly.
In our Azure application with prod build and optimization: false, the above mentioned stills occurs

Are you sure openlayers is the problem? can you try without zhe third party components?

accidentally closed

I am experiencing the same issue.  My setup is

Angular 7
OL 5.2.0

Full Source
vendor.js:1 ERROR TypeError: Cannot read property 'getExtent' of null
    at Y (vendor.js:1)
    at e [as constructor] (vendor.js:1)
    at new e (vendor.js:1)
    at l._buildMap (main.js:1)
    at l.ngOnInit (main.js:1)
    at vendor.js:1
    at vendor.js:1
    at Os (vendor.js:1)
    at Ws (vendor.js:1)
    at Object.updateDirectives (main.js:1)

I can confirm this issue only appears when building with ng build --prod, as ng build --aot --optimization work fine.  angular-cli's help about --prod say it does tree shaking via uglify so I'm assuming it's related to that somehow.
ng build --help

  --prod
    When true, sets the build configuration to the production environment.
All builds make use of bundling and limited tree-shaking, A production build also runs limited dead code elimination using UglifyJS.

@JulidaRocks your demo repository link points to OL's issues page. just fyi.

Update: disabling the build-optimizer setting in the ng command remedied the problem.
ng build  --prod  --build-optimizer=false

That's all I know.

@JulidaRocks your demo repository link points to OL's issues page. just fyi.

Thank you for the hint. Fixed the link.
As you say: Setting optimization to false is a workaround.
But I hope the bug will be fixed soon so that we can run our app with optimization=true again

In<EMAIL_ADDRESS><EMAIL_ADDRESS>my situation is the same with @flackdl , disabling the build-optimizer solve this problem.

Duplicate of #8815


TypeError: Cannot read property 'on' of undefined

I am receiving this error:
/home/ubuntu/CBOs/node_modules/exiftool/lib/exiftool.js:23
  exif.stdout.on("data", function (data) {
             ^

TypeError: Cannot read property 'on' of undefined
  at Object.exports.metadata (/home/ubuntu/CBOs/node_modules/exiftool/lib/exiftool.js:23:14)
  at /home/ubuntu/CBOs/core/mapping.coffee:63:18
  at tryToString (fs.js:414:3)
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)

Any ideas why?

If exif is undefined that usually means you haven't installed exiftool on your system.
The exif value there is a process which is spawned here: https://github.com/nathanpeck/exiftool/blob/master/lib/exiftool.js#L20
You can debug by attempting to run exiftool -h in your command line. If you see something like:
'bash: exiftool: command not found'
that will confirm that you need to install the exiftool binary.

That's not the problem. I'm passing 1000 files asynchronous. Maybe this could break exiftool, don't you think?


npm install error

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.3.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: gulp build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the PokemonGoBot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs PokemonGoBot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls PokemonGoBot
npm ERR! There is likely additional logging output above.

It's working now, thanks. :)


Use ByteBuffer for sending audio

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
This change allows send handlers to re-use a single buffer for all packets.
Example Usage
public class AudioSender implements AudioSendHandler {
    private AudioPlayer player;
    private AudioFrame frame;
    private ByteBuffer buffer = ByteBuffer.allocate(1024);

    public AudioSender(AudioPlayer player) {
        this.player = player;
    }

    @Override
    public boolean canProvide() {
        frame = player.provide();
        return frame != null;
    }

    @Override
    public ByteBuffer provide20MsAudio() {
        frame.getData(buffer.array(), frame.getDataLength()); // lavaplayer still had the old broken behavior where it used offset as length in arraycopy
        buffer.position(0);
        buffer.limit(frame.getDataLength());
        return buffer;
    }

    @Override
    public boolean isOpus() {
        return true;
    }
}

Both receive and send seem to be working as expected after these changes. This implies encoding/decoding of opus and encryption of audio are unaffected and work just like before.
The conversion for v3 users is actually a one-liner:
-    return data;
+    return data == null ? null : ByteBuffer.wrap(data);

Can you provide a full example of a v3 vs v4 implementation of AudioSendHandler?
Also, why does this not impact the AudioReceiveHandler?

Can you provide a full example of a v3 vs v4 implementation of AudioSendHandler?

Its exactly the same as v3 except that provide20MsAudio should return a ByteBuffer with position pointing at the read-head of the buffer. For proper usage you would use a MutableAudioFrame in lavaplayer which re-uses the buffer for each frame and populates it.
player.provide(mutableFrame) returning true if something was written to the frame, else false.
This can be used for canProvide(). Then in provide20MsAudio you simply return the buffer after calling flip().
private final MutableAudioFrame frame = new MutableAudioFrame();
private final ByteBuffer buffer = ByteBuffer.allocate(1024);

public MyConstructor() {
    this.frame.setBuffer(buffer);
}

public ByteBuffer provide20MsAudio() {
    return buffer.flip();
}

public boolean canProvide() {
    return player.provide(frame);
}

The difference is that in v3 you have to return a fitting byte array instead which requires re-allocation for every frame.

Also, why does this not impact the AudioReceiveHandler?

Because audio receive is not affected by changes to the send system.

Because audio receive is not affected by changes to the send system.
Let me rephrase: Would there be any benefit we could eke out by using a buffer of some sort for the receiving system as well?

The receive system is generally not very memory optimized. Additionally, I only want to make changes to receive required to keep it working for now.

Currently, lavaplayer might change the buffer in MutableAudioFrame, so a safer approach for the send handler would be something like this (reflection is needed because there is no other way of knowing whether or not the buffer was replaced)
public class MySendHandler implements AudioSendHandler {
    private static final Function<MutableAudioFrame, ByteBuffer> BUFFER_GETTER;

    static {
        try {
            Field f = MutableAudioFrame.class.getDeclaredField("frameBuffer");
            f.setAccessible(true);
            BUFFER_GETTER= frame -> {
                try {
                    return (ByteBuffer)f.get(frame);
                } catch(Exception impossible) {
                    throw new AssertionError(impossible);
                }
            };
        } catch(Exception e) {
            throw new ExceptionInInitializerError(e);
        }
    }

    //other fields and methods

    @Override
    public ByteBuffer provide20MsAudio() {
        if(BUFFER_GETTER.apply(frame) != buffer) {
            frame.getData(buffer.array(), frame.getDataLength());
            frame.setBuffer(buffer.limit(buffer.capacity()));
        }
        return buffer.position(0).limit(frame.getDataLength());
    }
}

@natanbc can't you just use getData(buffer.array(), 0) instead?

That would work as well, but would copy the data every time, this approach only copies when the buffer is replaced. After setting the buffer to the original one, new data will be written to it until LP changes the buffer again

It would be ideal if MutableAudioFrame would have a getter for the buffer it uses. Something like provideBuffer(): ByteBuffer or similar which would be safe to use.

In any case, this doesn't really matter for our interface change. We only need to provide a way to re-use one buffer properly. That should be possible regardless of lavaplayer usage.

The AudioEcho example is a quality addition. Nice work.

LGTM


Replace uncheckedNewTVarM in leaky bucket by newTVarIO

See instead https://github.com/IntersectMBO/ouroboros-consensus/pull/1024 that targets https://github.com/IntersectMBO/ouroboros-consensus/pull/979.


Cleanup invert-if

bors r+
🤖

cc @dragfire, looked at this some more and figured a way to simplify!

bors r+


Breaking change with createGlobalStyle in 1.7.0

Is this a feature request or a bug? Bug
Expected behavior:  Expect this package to still work with styled-components 3 as it's listed in the peer deps
  "peerDependencies": {
    "styled-components": ">=3.0.0 || >=4.0.0"
  },

Actual behavior: It doesn't work with styled-components 3 as it's using createGlobalStyle which was introduced with styled-components 4
Environment info (relevant browser, OS, etc.; run npx envinfo):
I'm using<EMAIL_ADDRESS>I guess probably should either be a breaking change and remove styled-components 3 from peer dependencies as unsupported or revert and patch(or both).

It's probably this line causing things to blow up with styled-components 3.x. I probably should've actually tested, but figured it would be safe as long as someone on 3.x didn't try to import/require the named export Reset.
I think what I'll do is revert that in a patch, but also publish a new major version of styled-reset, and recommend in the README that sc 3.x users use the previous tag. Thanks for the bug report!

I just published a patch at<EMAIL_ADDRESS>Sorry about the bug, and thanks for the issue!

Cheers mate, much appreciated.
Thanks for the fast turn around!


1704 blocking issues build breaks

This change is

I think you'll also need:
https://github.com/Microsoft/WinObjC/pull/2612


Update Web UI Bar Gauge Graphs

Changed file system abbreviation from 'FS' to Filesystem (#9350)
Made chart height dynamic and incorporated legend height change into the master code/datafile.go binary (#8726, #10165, #9347)
Updated the max colors for the graph, eliminating the black background (#9350)

Admins, this is a low risk change, ok for v1

@lavalamp can you take a look at this?

@k8s-bot ok to test

LGTM @davidopp for second LGTM

LGTM


Roll Flutter Engine from de724e263264 to 47c9648619ad (3 revisions)

https://github.com/flutter/engine/compare/de724e263264...47c9648619ad
2023-03-04<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from PBLCo17vVpkuMhyLV... to 7zNyN-D58x6wG7HL8... (flutter/engine#40076)
2023-03-04<EMAIL_ADDRESS>Unify scale param for path and path component computation. (flutter/engine#40047)
2023-03-04<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from Aarq5ppBEACFT-OYe... to eypsYM2vQ9nO11P96... (flutter/engine#40075)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from PBLCo17vVpku to 7zNyN-D58x6w
fuchsia/sdk/core/mac-amd64 from Aarq5ppBEACF to eypsYM2vQ9nO
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Allow memcached error mode to be configured

This allows a user to redefine the memcached failure mode (for example, Retry) but retains prior behavior of Failure.

:+1: without further changes. some comments though,

Would be nice to have a deserialization test for the config.
spymemcached docs say Retry means "Continue to retry a failing node until it comes back up." This seems like behavior you wouldn't want for the query cache- ideally, if memcache dies, queries keep on chugging as best they can without the cache. Blocking and waiting for the cache to come back seems less good.

@gianm I was under the impression that such retries still obey the timeout though.

If the timeout is long, that's still a bummer, since it means a downed cache node will inject $CACHE_TIMEOUT latency into every segment scan. To avoid that you need to be able to fail-fast on a downed cache node.
Finagle has a good strategy for dealing with that kind of thing: https://twitter.github.io/finagle/guide/Clients.html#client-fail-fast

:+1: Agree with Gian's comments though. Free feel to merge after they are addressed.

@fjy / @gianm I don't think we have good tests for JsonConfigProvider stuff. Are you just looking for general deserialization through any means? or are you specifically wanting something that tests JsonConfigProvider?

@drcrallen I just saw the deserialization of a property into an enum, and the thoughts crossed my mind: I wonder if that works? I wonder if it's case sensitive? So then I thought a test would be cool.
I think a test to make sure Jackson can deserialize some json into this object would be good enough. If that works then I'd be pretty confident that the JsonConfigProvider step will work too.

@gianm Added test

I agree failing fast would be preferable, given that the typical segment scan is short compared to the default timeout, but I'm open to experimenting to see what might work better under different circumstances.

still :+1:

+1

do we also have a way to configure how many times should we retry before failing ?

@nishantmonu51 I couldn't find a good way to do that.

@gianm @drcrallen rebased this branch on master and made config lowercase.

Failed tests:
DruidCoordinatorTest.testCoordinatorRun:349 expected:<1> but was:<0>

@drcrallen @xvrl do you still need this? It looks like there are enough +1s to merge after travis.

@gianm I added some code, so I was waiting for someone to check, but feel free to merge if you think it looks good. Not sure if we will need that flag or not yet.

@drcrallen if you need this PR can you please fix the merge conflicts? It looks good to me other than the conflicts, and has enough +1s so we can merge it. If you don't need it then let's close it

Closing for now since we're not moving forward with using it. If anyone needs it in the future please let me know and we can revisit


Gitea goes reproducibly "out of memory" on a big repository

Gitea version (or commit ref): 1.12.5
Git version: 2.24.3 (inside of docker container)
Operating system:

docker container from docker hub (Linux docker_gitea 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 Linux)
running on a DigitalOcean Droplet with 1GB memory

Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No

Log gist:

fatal error: runtime: out of memory

runtime stack:
runtime.throw(0x231dd45, 0x16)
        /usr/local/go/src/runtime/panic.go:1116 +0x72
runtime.sysMap(0xc024000000, 0xc000000, 0x5614cb8)
        /usr/local/go/src/runtime/mem_linux.go:169 +0xc5
runtime.(*mheap).sysAlloc(0x55fe940, 0x9400000, 0x55fe948, 0x4970)
        /usr/local/go/src/runtime/malloc.go:715 +0x1cd
runtime.(*mheap).grow(0x55fe940, 0x4970, 0x0)
        /usr/local/go/src/runtime/mheap.go:1286 +0x11c
runtime.(*mheap).allocSpan(0x55fe940, 0x4970, 0x440100, 0x5614cc8, 0xfffffffffffffade)
        /usr/local/go/src/runtime/mheap.go:1124 +0x6a0
runtime.(*mheap).alloc.func1()
        /usr/local/go/src/runtime/mheap.go:871 +0x64
runtime.(*mheap).alloc(0x55fe940, 0x4970, 0x7fdbed500001, 0x446af5)
        /usr/local/go/src/runtime/mheap.go:865 +0x81
runtime.largeAlloc(0x92e0000, 0xc000040100, 0xc0032e2c00)
        /usr/local/go/src/runtime/malloc.go:1152 +0x92
runtime.mallocgc.func1()
        /usr/local/go/src/runtime/malloc.go:1047 +0x46
runtime.systemstack(0x0)
        /usr/local/go/src/runtime/asm_amd64.s:370 +0x66
runtime.mstart()
        /usr/local/go/src/runtime/proc.go:1056

goroutine 1546 [running]:
runtime.systemstack_switch()
        /usr/local/go/src/runtime/asm_amd64.s:330 fp=0xc0061f34d0 sp=0xc0061f34c8 pc=0x46d590
runtime.mallocgc(0x92e0000, 0x0, 0x0, 0xc0061f35e8)
        /usr/local/go/src/runtime/malloc.go:1046 +0x895 fp=0xc0061f3570 sp=0xc0061f34d0 pc=0x414835
runtime.growslice(0x1e28e60, 0xc012d26000, 0x757fff1, 0x7580000, 0x7587ff1, 0xc0083e8000, 0x8000, 0x8000)
        /usr/local/go/src/runtime/slice.go:175 +0x14e fp=0xc0061f35d8 sp=0xc0061f3570 pc=0x45469e
github.com/go-git/go-git/v5/plumbing.(*MemoryObject).Write(0xc007b167c0, 0xc0083e8000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
        /go/src/code.gitea.io/gitea/vendor/github.com/go-git/go-git/v5/plumbing/memory.go:53 +0xfd fp=0xc0061f3640 sp=0xc0061f35d8 pc=0x7901cd
io.copyBuffer(0x7fdbed2c4c00, 0xc007b167c0, 0x3f43c20, 0xc006ec0030, 0xc0083e8000, 0x8000, 0x8000, 0x0, 0x1be6289906202bb9, 0x1146e36193b0f1e7)
        /usr/local/go/src/io/io.go:407 +0x1fb fp=0xc0061f36b8 sp=0xc0061f3640 pc=0x4b3ebb
io.Copy(...)
        /usr/local/go/src/io/io.go:364
github.com/go-git/go-git/v5/storage/filesystem.(*ObjectStorage).getFromUnpacked(0xc00306b378, 0xf4bacd8a82962d20, 0xe1da147cd6c0edb4, 0x15b4ce6a, 0x3f83340, 0xc007b167c0, 0x0, 0x0)
        /go/src/code.gitea.io/gitea/vendor/github.com/go-git/go-git/v5/storage/filesystem/object.go:415 +0x4d7 fp=0xc0061f3868 sp=0xc0061f36b8 pc=0x8a0377
github.com/go-git/go-git/v5/storage/filesystem.(*ObjectStorage).EncodedObject(0xc00306b378, 0xbacd8a82962d2003, 0xda147cd6c0edb4f4, 0x15b4ce6ae1, 0x0, 0x0, 0x0, 0x0)
        /go/src/code.gitea.io/gitea/vendor/github.com/go-git/go-git/v5/storage/filesystem/object.go:318 +0x3ac fp=0xc0061f3908 sp=0xc0061f3868 pc=0x89fbbc
github.com/go-git/go-git/v5/plumbing/object.GetBlob(0x3f7ef00, 0xc00306b360, 0xf4bacd8a82962d20, 0xe1da147cd6c0edb4, 0x15b4ce6a, 0x82962d20000081a4, 0xd6c0edb4f4bacd8a, 0x15b4ce6ae1da147c)
        /go/src/code.gitea.io/gitea/vendor/github.com/go-git/go-git/v5/plumbing/object/blob.go:23 +0x4e fp=0xc0061f3958 sp=0xc0061f3908 pc=0x82374e
github.com/go-git/go-git/v5/plumbing/object.(*FileIter).Next(0xc00825fb88, 0x0, 0x0, 0x0)
        /go/src/code.gitea.io/gitea/vendor/github.com/go-git/go-git/v5/plumbing/object/file.go:100 +0xdd fp=0xc0061f3a08 sp=0xc0061f3958 pc=0x82d63d
github.com/go-git/go-git/v5/plumbing/object.(*FileIter).ForEach(0xc0061f3b88, 0xc0061f3b28, 0x0, 0x0)
        /go/src/code.gitea.io/gitea/vendor/github.com/go-git/go-git/v5/plumbing/object/file.go:116 +0x61 fp=0xc0061f3a70 sp=0xc0061f3a08 pc=0x82d7f1
code.gitea.io/gitea/modules/git.(*Repository).GetLanguageStats(0xc00a3debd0, 0xc004869c80, 0x28, 0xc004869c00, 0x28, 0x0)
        /go/src/code.gitea.io/gitea/modules/git/repo_language_stats.go:60 +0x37f fp=0xc0061f3bf8 sp=0xc0061f3a70 pc=0xa2b02f
code.gitea.io/gitea/modules/indexer/stats.(*DBIndexer).Index(0x5612450, 0xa, 0x0, 0x0)
        /go/src/code.gitea.io/gitea/modules/indexer/stats/db.go:49 +0x203 fp=0xc0061f3c80 sp=0xc0061f3bf8 pc=0x16c0253
code.gitea.io/gitea/modules/indexer/stats.handle(0xc007a12200, 0x1, 0x1)
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:23 +0x9b fp=0xc0061f3d00 sp=0xc0061f3c80 pc=0x16c0b3b
code.gitea.io/gitea/modules/queue.NewChannelUniqueQueue.func1(0xc00a3228c0, 0x1, 0x14)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 +0x13d fp=0xc0061f3d70 sp=0xc0061f3d00 pc=0x16af21d
code.gitea.io/gitea/modules/queue.(*WorkerPool).doWork(0xc003188980, 0x3f72960, 0xc003278640)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 +0x892 fp=0xc0061f3f78 sp=0xc0061f3d70 pc=0x16adca2
code.gitea.io/gitea/modules/queue.(*WorkerPool).addWorkers.func1(0xc003188980, 0x3f72960, 0xc003278640)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 +0x43 fp=0xc0061f3fc8 sp=0xc0061f3f78 pc=0x16b0023
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0061f3fd0 sp=0xc0061f3fc8 pc=0x46f6a1
created by code.gitea.io/gitea/modules/queue.(*WorkerPool).addWorkers
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:237 +0x56
...

Description
I have a repository where I added quite some PDFs over the time, making it's size up to ~200MB.
recently I also added some bigger ZIPs in there, making it's current size about ~1000MB.
since then I'm experiencing recurring "out of memory" crashes when accessing this repository.
most of the time when I'm trying to access one of its markdown pages in the web interface.
the logs from above were taken from a crash that happened immediately after pushing some additional ZIP files.
I know I shouldn't add such big files to a git repo and rather use LFS for that (which I did not try yet).
anyway, is there anything I can do now?
update:
now it seems to crash every time after I push anything to this repository.
when I look at the container memory via docker stats I see the memory being in a normal range, also while pushing.
however, immediately after the push is done, the memory increases within seconds and brings down gitea.

I used docker to build gitea on Synology NAS, and I also found excessive memory usage. I suspect it is a memory leak. As long as you upload a large compressed package or other large files,
gitea will lead to extremely high memory usage...

I solved the problem for my scenario, by removing the (too) large files from my repository, basically as described here: https://stackoverflow.com/a/2158271
as I'm the only one working on this repo, it wasn't a big deal to rewrite the git history.
so this at least brings my setup to a state again, in which I can work with this repository in gitea, again :slightly_smiling_face:

There's an associated bug in go-git which is responsible for this.
Essentially there are a number of incorrect assumptions about the suitability of reading objects and pack indices directly in to the memory that go-git makes which may require significant reconsideration.

@zeripath
thanks for the hint! :slightly_smiling_face:
I could not find the issue you're referring to, could you please share a link to it?

https://github.com/go-git/go-git/issues/104

#13673

should be closed by #13673

should be closed by #13673


Prompt pull request creation when a new commit is pushed

Describe the solution you'd like
To accelerate the process of pull request creation, we should detect when a new commit is pushed, then prompt it to the user. This prompt should be displayed to the user when he is on the "Issue List" or the "Pull Request List".
After 15 minutes, this prompt should disappear.
Describe alternatives you've considered
N/A
Additional context
See Github implementation for an example.

Here's how Github display it.


Zod schema generation in TSGenerator

title :), i'll work on it once I have some free time.

Why not, but it most likely should be a separate generator, e.g. ZodGenerator.
The implementation would be quite similar, though


APT source whitelist request for ppa:octave/stable

This replaces travis-ci/travis-ci#4279.
The original text by @cbm755 follows

Required for testing Octave-based software (such as https://github.com/cbm755/octsympy, and https://github.com/catch22/octave-doctest).
Should be tagged apt-source-whitelist apt-whitelist but I don't see how to do so...
thanks

any progress? Also, there seems to be the label missing.

:+1: +1

:+1: Please consider finishing this!

👍 Yes please!


optimize Binary Ninja backend

The Binary Ninja backend is really slow. Like many times slower than vivisect or IDA. From a quick profile, check_segment_for_pe takes up a majority of the runtime. Let's optimize this.

I think its the calls to find_all_data


Add JSK-BLN Grants work

Add description of the work I did with this project
Add links to Salud Con Lupa work
Add links to Flint Beat work

I added the content and the links.
I'll probably have Justin & Eric copy edit if they have time. This post is done tho.


Nick: Watch fancyfontz.com

Nick requests the watch of the watch_keyword fancyfontz\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


Slightly ugly settings screen in 1.0.0-rc.5

Just IMHO, but it looks a little "bottom heavy", and I don't like the way the red "Dangerous" box touches the line below it.
Pinging @konmouz and @Shou to do their prettification magic :-)

@lurch, settings will be transferred to a modal window and unsafe mode will be moved to the drives' modal. I'll try to find the relevant issues.

Are those changes still planned to be squeezed in before the release of 1.0.0 ? @jviotti ?

Maybe we can push it into the empty space on the right? Or remove the 'advanced' header because that's sort of communicated with the 'dangerous' label already?

Oh, and I keep forgetting to suggest it, but perhaps "Report errors" should be renamed to "Report errors back to resin.io" ? Because otherwise users might not realise what it actually means (I confess when I first saw it, I thought that unticking it meant that any write-errors would be silently ignored).
And this button actually controls both the error-reporting and the statistics-collection, right @stefan-mihaila ?

@Shou Let's make a quick fix to solve this, and then we can focus on the new settings screen.

I've just jun the Fedora 25 LiveCD in a VM (VirtualBox), and after installing libXScrnSaver ( #835 ) the Etcher v1.0.0 AppImage runs fine, but the (bottom of the) settings-screen looks even worse than it does on my Ubuntu screenshot above :-(  Perhaps this difference is caused by different Linux distros including slightly different fonts or something?


Singleplayer World DELETED itself after receiving the following error

We have run into this error HUNDREDS of times. We thought with the new update it would fix itself.
I had a singleplayer world used strictly for testing for our modpack.
We updated to the latest version of Origins, and still received the following error when I attempted to load into my singleplayer test world:

Upon returning to "server list"... my singleplayer world was gone. It was deleted from my files. This is the screen I returned to:

While this isn't a big issue for me, as this was simply a test world, I worry for our singleplayers who download our modpack, run into this issue only to lose any and all progress they've ever made of their world. Desperately hoping for a fix ASAP.
The following was in our changelog:
[11:05:23] [Worker-Main9/WARN]: Failed to read C:\Users\Norfare\curseforge\minecraft\Instances\Medieval Norfare\saves\test world
java.nio.channels.OverlappingFileLockException: null
at sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) ~[?:?]
at sun.nio.ch.FileLockTable.add(FileLockTable.java:123) ~[?:?]
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1321) ~[?:?]
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1191) ~[?:?]
at net.minecraft.util.DirectoryLock.m_13642_(DirectoryLock.java:83) ~[client-1.19.2-20220805.130853-srg.jar%23713!/:?]
at net.minecraft.world.level.storage.LevelStorageSource.lambda$loadLevelSummaries$4(LevelStorageSource.java:145) ~[client-1.19.2-20220805.130853-srg.jar%23713!/:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) [?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]

At this point I cannot open a singleplayer world, no matter what. I've tried 4 times now and I just get this error every single time.


metamath-extract: Script to extract proof of single metamath proof, assuming lemmas as axioms.

Thank you for your answers, @nishantjr . Please address the remaining things and we can merge.

We agreed with @nishantjr that remaining issues will be addressed in the next PR. LGTM, let's merge.


Shared memory objects are leaked

Shared memory objects are not unlinked when their file descriptor is dropped.
The 1st time you run cargo test test_shm_open with:
#[test]
fn test_shm_open() {
    use nix::{
        sys::{mman::shm_open, stat::Mode},
        fcntl::OFlag
    };
    let res = shm_open(
        "/abcde",
        OFlag::O_RDWR | OFlag::O_CREAT | OFlag::O_EXCL,
        Mode::all(),
    );
    assert!(res.is_ok());
}

It passes, the 2nd time you run it, it fails with the error EEXIST, this illustrate that the shared memory object is not being cleaned up.
This is a serious memory leak, which requires manual intervention or in the case of a casual user, restarting their system to clean up.
By returning OwnedFd and not marking the function unsafe this may give the illusion it cleans up, when it doesn't.
It should be marked unsafe.
If there is to be a safe variant of the function it should return a wrapper which ensures the shared memory is unlinked when the last processes linked to it ends.

I disagree with you, unlink should be done manually, not when the file descriptor is dropped. And actually, there is a function to unlink it (line 600).
The issue here is on the test, which should unlink the shared memory.

I agree with @RomainChaumontet .  This is not a bug.  That's how shared memory objects are supposed to work.  They're a lot like files.  They're intended to persist for longer than the lifetime of a process.  If you want them to drop automatically, you'll have to wrap them in a newtype yourself, and implement Drop for it.


Switch RENDERDOC_PLATFORM to RENDERDOC_PLATFORM_.

Notes

With no clean way to do string comparisons in the C preprocessor, have a define per-platform. This avoids the clever string concatenation for determining the OS-specic bits, and allows SN-DBS to distribute builds without custom rewrite rules.
Fix up instances of WIN32, etc., in non-3rdparty sources to refer to this.
Move the per-platform specific bits into their own subdirs.

This avoids the clever string concatenation for determining the OS-specic bits

""clever""


Cp-helm-charts for production

Hi Team,
Can we use cp-helm-charts for production use, If not what are the changes to make it for production use from below link.
https://github.com/confluentinc/cp-helm-charts
I am planning to use below services from confluent community images.
kafka-connect
kafka
ksql-server
schema-registry
zookeeper
Thanks,
Bharath.

hey @bharathreddy901 cp-helm chart is an open source helm chart that is not supported by Confluent. If you want to install Confluent Platform on Kubernetes in a production environment, you may use Confluent for Kubernetes:

https://docs.confluent.io/operator/current/overview.html#operator-about-intro
https://github.com/confluentinc/confluent-kubernetes-examples


Reduce log name length for open file test in Reader workload

This makes the resulting graphs look neater.

OK with me


Port to futures 0.3

While this requires nightly, the API is now stabilized and will become part of Rust 1.36. IMHO we should merge this now so that it can all get wider testing.

Looks good to me, thanks! And yes, the sooner the better.

Great, thanks. Waiting for @EPashkin's opinion and the "OK" for all the other PRs and then let's get merging

and then let's get merging

Note that I have to update all PRs before merging apart from glib and gir once those two are merged.

@sdroege Big thanks.
As we have some fixes for previous release maybe better do release first?
Then we have 3 month until stable 1.36 for testing.

The idea would be to include it in this release already so people actually start testing. Almost nobody is using git :)

Ok

Ok, then I'll merge this and update the other ones in a bit.


feat: add .anime and .manga to supported domains

Background

Changes

add .anime and .manga to supported domains

To Do

Additional Deployment and/or Rollback Steps

Code Review
This Pull Request was thoroughly reviewed and meets all Code Review Standards pertaining to:

[x] Implementation - satisfied acceptance criteria
[x] Communication - notified engineers/stakeholders about impactful changes
[ ] Error handling - handled, logged & alerted on errors
[x] Documentation - wrote readable code & commits, documented unintuitive code
[ ] Testing - unit & E2E test coverage, tested in staging, DB migrations backwards compatible
[ ] Security - sanitized inputs, vetted dependencies, validated/secured API requests, no committed secrets
[ ] Performance - optimized expensive algorithms & database queries

Please select all applied standards relevant to this PR.
Confirmation

[ ] Assignee Confirmation - I (the author) have filled out the template above
[ ] Reviewer Confirmation - I (a/the reviewer) confirm 1) the author has filled out the template and checked the box that says Assignee Confirmation 2) I reviewed the code and selected all applicable items in the code review section.

will hold the approval until the sdk key is created


Freezed at line 148 : caching Text Encoder outputs...   train_util.py:1143

I have got freeze at line 148 : caching Text Encoder outputs...   train_util.py:1143
my gpu 3060/12gb
ram64
train image : 13
step:1560
how to fix this
thank you

my task manager during it freeze

ENOENT: no such file or directory, stat 'd:\pinokio\api\fluxgym.git{{input.event[0]}}'
Traceback (most recent call last):
File "d:\pinokio\api\fluxgym.git\app.py", line 4, in
import gradio as gr
File "d:\pinokio\api\fluxgym.git\env\Lib\site-packages\gradio_init_.py", line 3, in
import gradio.simple_templates
File "d:\pinokio\api\fluxgym.git\env\Lib\site-packages\gradio_simple_templates_init.py", line 1,
in
from .simpledropdown import SimpleDropdown
File "d:\pinokio\api\fluxgym.git\env\Lib\site-packages\gradio_simple_templates\simpledropdown.py", l
ine 6, in
from gradio.components.base import Component, FormComponent
File "d:\pinokio\api\fluxgym.git\env\Lib\site-packages\gradio\components_init_.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "d:\pinokio\api\fluxgym.git\env\Lib\site-packages\gradio\components\annotated_image.py", line 8,
in
import numpy as np
File "d:\pinokio\api\fluxgym.git\env\Lib\site-packages\numpy_init_.py", line 149, in
raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
After the update either installing it yourself or installing it via pinokio gives an error!

I'm getting the same problem.
Just seems to stop working at:
[INFO] INFO     caching Text Encoder outputs... train_util.py:1143

same issue here, any of you find the way how to solve it?

@kenzthum  @e15whr Which GPU, how much VRAM and RAM do you have?
How long did you wait at this step?

@wuliang19869312 Which OS do you have? First time I see this error.

my gpu 3060/12gb
ram64
train image : 13
step:1560
wait for 8hrs.
and my OS windows10

@kenzthum @e15whr Which GPU, how much VRAM and RAM do you have? How long did you wait at this step?

my gpu 3060/12gb
ram64
train image : 13
step:1560
wait for 8hrs.
and my OS windows10

@zneb076
Sadly I'm not really good at python. But this is the code fluxgym tries to execute when you get stuck.
 # iterate batches
        logger.info("caching Text Encoder outputs...")
        for batch in tqdm(batches, smoothing=1, total=len(batches)):
            # cache_batch_latents(vae, cache_to_disk, batch, subset.flip_aug, subset.alpha_mask, subset.random_crop)
            caching_strategy.cache_batch_outputs(tokenize_strategy, models, text_encoding_strategy, batch)

Since it is working for the majority of users, we can exclude a script error.
Since the whole training was working, it's not plausible that you are missing a python module or got a wrong version.
What's left is a problem related to your cache, batch and your model.

How much space is left on your drive?
Can you post a screenshots of fluxgym with your settings, part of your images and captions?
Are both clip text encoders present at .\fluxgym.git\models\clip and do they have the right size?

@6Morpheus6
Thank you so mush for help.
How much space is left on your drive?

My C: drive have 97GB free (but fluxgym install in ssd F: drive 300gb free)
Did you change the location of the cache folder in the installation configuration?
No , I did not change.
Can you post screenshots of fluxgym with your settings, part of your images and captions?

Are both clip text encoders present at .\fluxgym.git\models\clip and do they have the right size?

Yes , it same of your

@zneb076
All looks good in my opinion.
The only thing that might cause issues are spaces in your image names. I don't know about Fluxgym, but for other apps I know this can lead to problems in some cases.
If you still tried to reinstall fluxgym and still got this error, please rename your files so they don't contain spaces or special characters and try again.
Please let me know if this fixes that problem.

@6Morpheus6 thank you so much will try again today 🙏

@zneb076
Probably we finally found the issue on Pinokio Discord
Please update your NVIDIA drivers to the latest version.
After that, open NVIDIA System control and make sure that CUDA - Sysmem Fallback Policy is set to Driver Default or Enabled

@6Morpheus6 ohh thank you so much

@6Morpheus6
It work Sir , Thank you soooo much 🙏🙏🙏

I had the same issue with my 3060/12gb, and updating the Nvidia drivers fixed it for me too. There is no CUDA - Sysmem Fallback Policy on the version I had before updating.
I also have spaces in the image file names, which are not causing any problems so far.


Set sram0 to represent the physical RAM in nRF5340 and nRF9160 DKs

We would like to have sram0 DT node represent the available SRAM memory on nrf9160 and nRF5340 SoCs. As such, sram0 shall not be resized in Board DT configuration.
In DTS we define sram0 node as such, but in boards//nrf5340pdk_ and nrf9160dk_ we have been using sram0 to represent (also) the image RAM allocated to Zephyr builds. The consequence is that sram0 is resized to match the requirements of the specific build (security domain, inter-processor shared memory, etc.), so we do not have a DTS generated macro to represent the total SRAM.
In this PR we fix this problem by having sram0 always represent the physical SRAM.
For nRF5340 we introduce sram0_image, to represent the RAM available for Zephyr image(s), secure and non-secure.
This PR is also adding additional information regarding reserved memory areas in board DT, such as SRAM memory areas explicitly allocated to secure and non-secure Zephyr execution environment.

Looks good, outside of the question if you need to label memory nodes (which I'd ask be removed, unless there's a really good reason for it).

No I did not need the labels, that's right. What I wanted is some inline descriptive comments.
fixed now.

nrf5340pdk_nrf5340_shared_sram_planning_conf.dts should not use partitions.

The problem is that I need a "compatible" property to be able to use the new style DTS (see the first commit).

This PR should not be merged, until we have a solution to generate new-style DT macros for nodes without compatible property.

@ioannisg I'm fine with @mbolivar-nordic doing the documentation changes later.  The indentation should be fixed, though.

@ioannisg I'm fine with @mbolivar-nordic doing the documentation changes later. The indentation should be fixed, though.

Oh, sure, fixed, just don't push now, to not trigger CI

needs #25009


Question about counter's value

There is a value 2.5GHz with White background  near counter name.
Would you please tell what the mean it is?
I can not find README for this vaule.
Thanks,
CJ

It's the scale of the counter. E.g. it's approximately the maximum value of
the counter over the lifetime of the track rounded up to the nearest useful
bucket.
Theres no specific documentation for that the idea is it's supposed to be
clear from context but I appreciate it was not in this case.
On Wed, 1 Nov 2023, 03:29 c-jchen, @.***> wrote:

There is a value 2.5GHz with White background near couner name.
Would you please tell what the mean it is?
I can not find README for this vaule.
Thanks,
CJ
—
Reply to this email directly, view it on GitHub
https://github.com/google/perfetto/issues/618, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACVW3PXWRH6XQZWRMRJOXTYCG6ZRAVCNFSM6AAAAAA6YVUKUWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TCNRTGAYTMMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for your help.
I checked that my max data is 5 or 3,  the scale will be changed automatilly.


opentaxii-create-services  where is is

I was previously working with opentaxii and had it setup to use opentaxii-create-services, opentaxii-create-collections etc.  I had to stop this, and now I'm back, and when I install 0.1.10 via pip, those commands are not in the package.  Did i miss something in my install

Hey there; now you use opentaxii-sync-data; check out the config file example in the repo for the format.

aha  thanks

Does this also replace the opentaxii-create-user command

@sbade1 yep! check out the documentation -- http://www.opentaxii.org/en/stable/configuration.html#services-collections-and-accounts

Thanks  Got past that problem.    Having an issue with fetching the collections.
I'm able to (with cabby)
a) discover the services (taxii-discovery --host otaxii.home --port 9000 --path /services/discovery --username access --password XXXXX --verify no --https)
b) Pull content (taxii-poll --host otaxii.home --port 9000 --verify no --https --discovery /services/discovery --username access --password XXXX --collection collection )
However when I try and discover the collections that are available with
taxii-collections --path https://otaxii.home:9000/services/collection-management --verify no --username access --password XXXX
I get a 404 error.  So obviously I have something wrong in the config.
This is the config file that I have syncd using (opentaxii-sync-data)

services:

id: inbox
type: inbox
address: /services/inbox
description: Custom Inbox Service Description A
destination_collection_required: yes
accept_all_content: yes
authentication_required: yes
protocol_bindings:

urn:taxii.mitre.org:protocol:https:1.0

id: discovery
type: discovery
address: /services/discovery
description: Custom Discovery Service description
advertised_services:

inbox

discovery

collection

poll

collection_management

protocol_bindings:

urn:taxii.mitre.org:protocol:https:1.0

id: collection_management
type: collection_management
address: /services/collection_management
description: Custom Collection Management Service description
protocol_bindings:

urn:taxii.mitre.org:protocol:https:1.0

id: poll
type: poll
address: /services/poll
description: Custom Poll Service description
subscription_required: no
max_result_count: 100
max_result_size: 10
authentication_required: yes
protocol_bindings:

urn:taxii.mitre.org:protocol:https:1.0

collections:

name: collection
available: true
accept_all_content: true
type: DATA_SET
service_ids:

inbox

collection_management

poll

discovery

(note, i removed the accounts section)
Any suggestions
--
Steven Bade  Director of Innovation and Integration
<EMAIL_ADDRESS>518-469-1449

From: Sergey Polzunov<EMAIL_ADDRESS>Sent: Friday, July 6, 2018 3:40 PM
To: eclecticiq/OpenTAXII
Cc: Steve Bade; Mention
Subject: EXT: Re: [eclecticiq/OpenTAXII] opentaxii-create-services where is is (#112)
@sbade1https://github.com/sbade1 yep! check out the documentation -- http://www.opentaxii.org/en/stable/configuration.html#services-collections-and-accounts
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/eclecticiq/OpenTAXII/issues/112#issuecomment-403128429, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVSZSuVfe9M1DjnXDOqLtxW8whW7-_QAks5uD70sgaJpZM4VF3t5.

I cleared out my database and re-sync'd the configuration and now I'm able to do the discovery
--
Steven Bade  Director of Innovation and Integration
<EMAIL_ADDRESS>518-469-1449

From: Sergey Polzunov<EMAIL_ADDRESS>Sent: Friday, July 6, 2018 3:40 PM
To: eclecticiq/OpenTAXII
Cc: Steve Bade; Mention
Subject: EXT: Re: [eclecticiq/OpenTAXII] opentaxii-create-services where is is (#112)
@sbade1https://github.com/sbade1 yep! check out the documentation -- http://www.opentaxii.org/en/stable/configuration.html#services-collections-and-accounts
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/eclecticiq/OpenTAXII/issues/112#issuecomment-403128429, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVSZSuVfe9M1DjnXDOqLtxW8whW7-_QAks5uD70sgaJpZM4VF3t5.

how?

@azimcap the final comment is the solution; be more descriptive with your question.

sorry @arcsector , I should had given more details.
I want to install TAXII server , I stuck here:
cp config/config.default.yaml config/config.yaml
Edit the db_connection parameters to match your environment. Change auth_api -> parameters -> secret whilst you're here as well.

I know I have to edit the config.yaml file. so how can you give example of the change I need in the following step:db_connection:
db_connection: mysql://taxii/;some_password@localhost/taxiipersist
I have edited to something like this :
mysql://root:secret@localhost/taxiipersist
Is that correct?
thanks


Flutter Auto child: Suggestion was not performed automatically

Issue Type: Bug
Before updating Vs code 1.26.1 everything was working fine,after updating,i faced the follwoing issue while using flutter projects,
When i type "Row" then vscode will automatically show the next steps eg:
Row(children[])
but after updating it started to show some white overlay rectangle highlights then i have to backspace the inside element from Row() then i have to retype Row(Childre[])
this happened for all the widgets,  but after downgrading to  vscode 1.23.0 the issue is gone.
VS Code version: Code 1.23.0 (7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45, 2018-05-03T16:44:55.614Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz (4 x 1696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: unavailable_softwarewebgl: enabledwebgl2: enabled

Memory (System)
3.91GB (1.16GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

dart-code
Dar
2.14.0

flutter
Dar
2.14.0

vscode-eslint
dba
1.5.0

tslint
eg2
1.0.38

php-debug
fel
1.12.5

php-intellisense
fel
2.3.4

php-pack
fel
1.0.2

python
ms-
2018.7.1

awesome-flutter-snippets
Nas
1.0.3

(1 theme extensions excluded)

@rajeshjeshar can you please provide a screen cast that demos this.
@bpasero could be an Electron issue since it appeared with VS Code 1.26.1 and it sounds like a rendering issue.

@dbaeumer  see this video

@rajeshjeshar does it reproduce from this VSCode build that is a bit more up to date: https://az764295.vo.msecnd.net/exploration/94da7241d11facbcc6dcc551d9e63b6170b58525/VSCode-win32-x64-1.27.0-exploration.zip

@bpasero i faced this on 1.26.1,and i can't test with 1.27 as of now,
so when i test this above build i will update here!! thnks

@bpasero Sorry still the issue is still there in 1.27 explorer build,but not on 1.23 build

@rajeshjeshar can you provide us with a GitHub repository we can clone that demos this?

@rajeshjeshar to double check, you are talking about a visual glitch here not a functionality problem? hard to understand from the video

@dbaeumer Noooooooo....its a fucntionality problem only,
In the build of 1.23 if i tytpe Row(C)  then it will automatically show the Suggestion of Row(Children<Widget>[])
But after upgrading to both 1.26 and 1.27 Explorer version,
If i type Row(C) then it will not Show any Suggestion,
also i have to type the full word Row(Children) and i must have to delete the typed word Children
Then Only it will show the Proper Suggestion for Row()
This HAPPENS For All the Widgets,not only for Row or Column compelete Flutter Code is Affected,
note:
I adjusted this issue for more than 15days,once i done my existing project immediately i gave a report (yesterday)
Now I've downgraded to 1.23 build It Has no problems it works smooth...
Pls Watch the Video which i  have provided above link for better Understanding

@dbaeumer This happens for all the Words i type in Vscode,not for a specific Project or file,if u need any more system informations,pls let me know,Now i'm working on 1.23 build without any issues

Ok, then this should be triaged again to someone else as it does not seem Electron related.

@rajeshjeshar does this happen for you in a fresh workspace folder with a single TypeScript file. What happens if you trigger code completer using Ctrl+Space after typing C. Will it bring up the list

@rajeshjeshar I will keep the issue open for a while to see if others complain.

I will close the issue. If someone sees this again please ping and we will reopen.

@rajeshjeshar I experienced the same issue after upgrading to version 1.26.1. It is solved after I reinstalled the latest version of flutter/dart extension.


Tweak details page to overcome recentPaymentsReceived race

This is the case again when you send a payment and then click it for details right away. This change makes a bit more sense logically but it really looks like even if the details are requested a second time, they don't come from the service (specifically, a public message). Still looking into that.

@keybase/react-hackers I'd like to get this in and then concentrate on the core side


Add functions to run Suite2p processing

Thank you @GeetikaSi.  Please also update the README with a description of these functions and their usage.

Thank you @dimitri-yatsenko for your suggestions on the code, I'll work on the changes!
@ttngu207, @kabilar,
A summary of what the code does and its potential uses:
The ‘Suite2p_trigger.py’ file contains three functions which can be used to run registration, segmentation and deconvolution using Suite2p separately. This will be used for the Smirnakis project but can also be generalized and used for elements.
I also created a ‘variables.py’ file to save the ops and db dictionary. The ‘test.py’ file is to imitate the behavior of the user when they use the function to run registration, segmentation or deconvolution separately.

Hi @GeetikaSi, within the functions, having multiple ops variables can get a bit confusing.  Can we simplify how this is implemented?

Please move element_data_loader/Suite2p_trigger_individual/Suite2p_trigger.py to element_data_loader/suite2p_trigger.py

Hi @GeetikaSi, thank you for the updates.  The README edits were not pushed to this pull request, so I unresolved those conversations.  Thanks.

[ ] Change the comments in the db dictionary (readme)
[ ] Test delete_bin == True for Tiff files with multiple planes
[ ] Add documentation as to why we're only using subset of the entire dictionary (subset_keys)
[ ] Do not return the deconvolution_ops

Does Suite2p_trigger.py have anything that run_s2p cannot do? If it's developed to run each step (registration, cell detection, spike deconvolution) alone, run_s2p pipeline can do the same just by changing the input parameters.

Hi @tdincer, It was developed to run each step individually. We realized using the suite2p input parameters do_registration, roidetect and spikedetect did not allow running deconvolution separately. Within the run_s2p script, it is set up to run spikedetect only when roidetect is True in the ops dictionary (Line 279).

@GeetikaSi Thank you for the reference!  roidetect dependency of spikedetect is very unfortunate. /:


[IIIF-1122] Add GitHub Actions

Adds GitHub Actions to the project.

The only changes in this PR (from the other PR not yet merged) are the files in the .github directory. You can see that the build was successful at https://github.com/UCLALibrary/bouncer/actions

Closing this to do a cleaner PR now that the other PR has been merged into main.


ENH: Update areal checks

Update areal checks for the following;

_uid

Break up check_uid into _create_uid and _check_uid

_crs

Combine _check_crs_exists and _check_crs_match

I have also added the method parameter to areal_checks which only uid checks for methods that make use of both the sid and tid.


fix: bbox type TileGDF in LULC_Tile_example

@isaacbrodsky I cannot merge to this repo, if you could please? :)

@isaacbrodsky I cannot merge to this repo, if you could please? :)

Please check for an invite for this org


A few multi-project integration tests.  #230

This is not high coverage, but gives a flavor of what these tests will look like.
NativeCompilation will also require integration tests of a similar kind
since our interaction with the ObjectiveC plugin cannot be unit-tested effectively.

repushed

LGTM with comments... but likely you'll have pushback on some of them.

thanks
can you please reply to: https://github.com/j2objc-contrib/j2objc-gradle/pull/284#discussion_r34754432
and clarify: https://github.com/j2objc-contrib/j2objc-gradle/pull/284#discussion-diff-34754553

I like the explicit config. Just see to my last round of comments and then it should be an LGTM.

@brunobowden - on 2nd thought, did all comments except renaming the project variables for the reasons in my reply above.  also corresponding j2objcConfig2 to proj2 and j2objcConfig1 to proj1 makes it easier to read.
do you want to push back on the push back, or is this good to go?

I'd prefer otherwise but I'm ok with the variable names. The other improvements are definitely welcome. I think it helped a lot to be collaborating here.
Well deserved LGTM.

@brunobowden - thanks, marging..  btw, to nuance my response re: naming.  i don't have a general issue with those names, if the return value from apply(...) was doing what the names made it seem like (i.e. if apply did not return its argument mutated).


Fix Sphinx python docstrings

Description
Fixes https://github.com/apache/incubator-mxnet/issues/12941, Fixes https://github.com/apache/incubator-mxnet/issues/12936, Fixes https://github.com/apache/incubator-mxnet/issues/13023, Fixes https://github.com/apache/incubator-mxnet/issues/13026, Fixes https://github.com/apache/incubator-mxnet/issues/13008, Fixes https://github.com/apache/incubator-mxnet/issues/13011, Fixes https://github.com/apache/incubator-mxnet/issues/13022, Fixes https://github.com/apache/incubator-mxnet/issues/12914
@aaronmarkham
You can check the preview here:
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-13160/5/index.html
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@mxnet-label-bot [pr-awaiting-review]

@Roshrini could you please fix the conflicts and provide the output that @aaronmarkham is asking.

Addressed comments and resolved conflicts. @aaronmarkham can you check if this PR is ready to merge?

@mxnet-label-bot update [pr-awaiting-merge]

@mxnet-label-bot add [Doc]


fix malformed argument lists.

Emacs trunk does not support arguments list like (lambda (&rest) nil)
anymore, which breaks geiser and errors with "Invalid function: "

The related commit on Emacs trunk: https://github.com/emacs-mirror/emacs/commit/0d913da15c094bf596dd685acecf3438228c15cf
and the emacs bug report: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24913

merged, thanks a lot!


travis-format: skip format tasks we know aren't significant

Resolves #2004.
We save the cost of pulling a couple of Docker containers, so I’d expect this to shave at least a minute or two of every build.

Just for comparison, travis-format took 2m26 in yesterday's overnight build.
For this patch, it took 43s. I think that’s a worthwhile saving when you consider we run these tests for every single PR, even tiny Markdown changes.


English

How can I get all the views in English?
Thank You!

As the project is in alpha yet I have not done the translations into English phase.
Sorry


Lack of Documentation for iOS

Hi! I'm attempting to integrate docusign into a client app on iOS. The documentation for how to use this library is kind of limited in my opinion. Even the docs on the site are a bit confusing. We want a user to be able to sign within the app (without leaving it). So a couple of questions to begin with: Do we have to have the user provide some sort of authentication creds? Do we have to have native UI for the user to sign the PDF or is a webivew what is needed (UI is done by Docusign)?
Really, a step by step guide on how to integrate this into an iOS app would be appreciated.

+1

As I read through the code, I'm pretty sure that they don't have native UI for the user to sign the PDF. What they give is a url, just like their web api. And their code is buggy and docs are misleading.
So, this sdk kinda useless.

@drewpitchford @dirtydanee @dktan I think what you guys are looking for is the iOS native SDK: https://docs.docusign.com/ios_sdk/
That SDK has native UI for signing, is well documented and come with sample apps.
That's been said, this pod lib is an http wrapper around DocuSign API. The API doesn't have a native way of signing. The API supports (in-app) browser signing only (web view, iframe...).

@mmallis87 This is what your website lead me to, and what docusign sales manager told me to look into. They have a lot to fix.

The native SDK is listed in the Developer Center under SDKs: https://www.docusign.com/developer-center/api-overview#sdks
We are aware that the documentation and the information architecture is misleading in the current Dev Center and we are fixing that in the new version that is going to be published in a month from now.

Hi, I am using (https://github.com/docusign/docusign-ios-sdk) from past few years, currently I am getting an old SDK crash. so I thought to change the SDK But in the new SDK (https://github.com/docusign/docusign-objc-client) I have no Idea to integrate new SDK can anyone please share the example code if there to Integrate new SDK. Thanks in Advance.

@suneelseelam You'll find some examples here: https://github.com/docusign/docusign-objc-client/blob/master/test/SdkTests/SdkTestsTests/SdkTestsWithJwtAuth.m

A JWT .NET Core solution code example for the current version of the SDK is available here: https://github.com/docusign/blog-csharp-order-form
In addition, other examples for C# are available (see the repo list) but they are not yet updated to the new version of the SDK. That work is in progress and is expected to be complete by Nov 12, 2018


Once updated, Bot should warn in the chat with his version

https://github.com/marketplace/actions/telegram-notify


Add poll command

Adds a poll command that allows for multi-option polls via reacts as mentioned in #165.
Originally, I was going to use buttons as @andrewj-brown suggested, but as these are displayed identically to everyone, without ephemeral madness, I could not show which choice you had selected for the poll. Better to keep it simple and use reacts, which are pretty ideal for this case (e.g. you can see who voted for what, vote total, etc.).
I did end up using a modal for creating the poll options, as this is a bit neater than entering into 11 different arguments.
I'm going to leave the ping to /remindme, but happy to add it in if it's still wanted.

Also could look better with a standard message and Discord's now built in markdown

Given that Discord is rolling out a polls feature, I'm going to close this.


Switching between languages breaks and triggers infinite network calls when using useSuspense: true, client-side-only translations, and an expirationTime of 0

🐛 Bug Report
Switching between languages by using Next.js built-in internationalized routing is breaking and triggering infinite Network calls if:

We set { react: { useSuspense: true } } inside the next-i18next.config.js file's configuration object
We load our translations on the client-side by following this guide, and set: backendOptions: [{ expirationTime: 0 }] in development

To Reproduce
In short, we can reproduce this bug by:

Adding client-side-only translations following this guide
Adding { react: { useSuspense: true } } and backendOptions: [{ expirationTime: 0 }] to the next-i18next.config.js object

// next-i18next.config.js

const HttpBackend = require("i18next-http-backend/cjs");
const ChainedBackend = require("i18next-chained-backend").default;
const LocalStorageBackend = require("i18next-localstorage-backend").default;

module.exports = {
  backend: {
    backendOptions: [{ expirationTime: 0 }],
    backends:
      typeof window !== "undefined" ? [LocalStorageBackend, HttpBackend] : [],
  },
  serializeConfig: false,
  use: typeof window !== "undefined" ? [ChainedBackend] : [],
  i18n: {
    locales: ["en", "es"],
    defaultLocale: "en",
  },
  defaultNs: "common",
  react: {
    useSuspense: true,
  },
};

Passing such object to appWithTranslation inside the _app.tsx file
Wrapping our app with Suspense

import { Suspense } from "react";
import type { AppProps } from "next/app";
import { appWithTranslation, UserConfig } from "next-i18next";

import i18nConfig from "$/../next-i18next.config";

function App({ Component, pageProps }: AppProps) {
  return (
    <Suspense fallback="Loading...">{<Component {...pageProps} />}</Suspense>
  );
}

export default appWithTranslation(App, i18nConfig as UserConfig);

Trying to switch between languages from a page of our app that uses translations (without adding a getStaticProps nor a getServerSideProps function)

// src/views/HomeView.tsx

import Link from "next/link";
import { useTranslation } from "next-i18next";

export function HomeView() {
  const { t } = useTranslation("common");

  return (

        <Link href="/" locale="en">
          next/link: {t("changeLanguageToEnglish")}
        </Link>

        <Link href="/" locale="es">
          next/link: {t("changeLanguageToSpanish")}
        </Link>

{t("mission")}

  );
}

// src/pages/index.tsx

import { HomeView } from "$/views/Home";
import { NextPage } from "next";

const Home: NextPage = () => {
  return <HomeView />;
};

export default Home;

When trying to switch to a language different than the one automatically detected by Next.js as explained here, we get infinite Network calls (we can only stop them by clicking on the language detected by Next.js, as shown in the video):

https://user-images.githubusercontent.com/93147810/220634644-4a89e68f-2a54-4999-96dc-fc2a1cd7b4f3.mov
Expected behavior

As far as I have understood, and being unable to find more information regarding this matter on the docs, it should be possible to set useSuspense to true while working purely with client-side translations.

Your Environment

runtime version: node v16.18.1, Chrome 110.0.5481.100
next-i18next version: "13.1.5"
i18next version: "22.4.10"
i18next-chained-backend version: "4.2.0"
i18next-http-backend version: "2.1.1"
i18next-localstorage-backend version: "4.1.0"
os: macOS 13.2

P.S. Thank you all for your great work!

I have realized that by replacing that 0 with a 60 * 60 * 1000, just like in the client-side-only translations guide, the issue is solved!

Never use Suspense with next.js so far, seems like Next.js renders the page in the infinite loop in that case.
I would suggest you use the lazy-reload approach instead of the pure client-loading approach (even better in newer Next.js versions): https://github.com/i18next/i18next-http-backend/commit/efb1aba69d41275c518c40b8df7bd955a073c3d4

Thanks for the information, @adrai! I will try that other approach.

AFAIK, if you want to keep some pages rendered entirely client-side, you may not be able to use the lazy-load approach as it requires calling getServerSideProps, getStaticProps (and getAllPaths if the route is dynamic). In such cases, pure client-side loading seems preferable.

If someone knows of how that infinite loop could be prevented... (basically prevent Next.js to render that page infinitely)... feel free to contribute... it might also be a bug in Next.js?


Added Footer with social media handles and copyright and resolved other PR conflicts

Screenshots of the changes.

All conflicts resolved :) Kindly merge.

If you want me to work on any other feature please let me know. I would be happy to work on that.

Hey @InquisitiveMe15 looks good but would you be able to make it transparent so it looks better on dark and white mode.

Okay, I will try.

Okay, I will try.

I really like this footer you made earlier

I changed the opacity of the footer background.
I think now it's looking good :)

Okay, I will try.

I really like this footer you made earlier

Thanks!!!

I changed the opacity of the footer background. I think now it's looking good :)

I would prefer the completely transparent look.

I changed the opacity of the footer background. I think now it's looking good :)

I would prefer the completely transparent look.

So, in the dark mode you want background of the footer completely dark and the the light mode completely white?

On dark mode completely transparent and on light mode you can keep the little black bar around the text to make it more readable with full opacity @InquisitiveMe15

On dark mode completely transparent and on light mode you can keep the little black bar around the text to make it more readable with full opacity @InquisitiveMe15

Now it is completely transparent (same as body background color)

Looks good. Thanks alot for contributing!

Looks good. Thanks alot for contributing!

Thank you! 😊

Looks good. Thanks alot for contributing!

Thank you! 😊

I think I merged it too early Would you be able to open another pr with the changes that are missing

Looks good. Thanks alot for contributing!

Thank you! 😊

I think I merged it too early Would you be able to open another pr with the changes that are missing @InquisitiveMe15

could you list the changes that you want, I will try to do them and then make a new PR

Looks good. Thanks alot for contributing!

Thank you! 😊

I think I merged it too early Would you be able to open another pr with the changes that are missing @InquisitiveMe15

could you list the changes that you want, I will try to do them and then make a new PR

You already added them but forgot to push the code

Looks good. Thanks alot for contributing!

Thank you! 😊

I think I merged it too early Would you be able to open another pr with the changes that are missing @InquisitiveMe15

could you list the changes that you want, I will try to do them and then make a new PR

You already added them but forgot to push the code

Ohh! My bad
Pushed the code now and created a pull request.
Kindly merge it.
Sorry for inconveniece.


Crash Report

Fatal Crash occurred on Thread named 'Thread-7'
Unix Time :<PHONE_NUMBER>219
LocalTime : 3 авг. 2024 г. 20:02:33
ACTIVE_CODENAMES = []
app_version = 2.5.0
device_model = Redmi 10
SECURITY_PATCH = 2021-12-05
BASE_OS =
RELEASE = 11
CODENAME = REL
manufacturer = xiaomi
RELEASE_OR_CODENAME = 11
SDK_INT = 30
PREVIEW_SDK_FINGERPRINT = REL
PREVIEW_SDK_INT = 0
SDK = 30
brand = Redmi
supported_abi = [arm64-v8a,armeabi-v7a,armeabi]
INCREMENTAL =<PHONE_NUMBER>
Error Message : listFiles(...) must not be null
Error Cause : null
Error StackTrace :
java.lang.NullPointerException: listFiles(...) must not be null
at com.rk.xededitor.MainActivity.treeview2.TreeViewAdapter$Companion.merge(TreeViewAdapter.kt:188)
at com.rk.xededitor.MainActivity.treeview2.TreeView.init$lambda$3(TreeView.kt:36)
at com.rk.xededitor.MainActivity.treeview2.TreeView.$r8$lambda$JBvSDOOqbKRJBQ0KIXzLdcjWoLM(Unknown Source:0)
at com.rk.xededitor.MainActivity.treeview2.TreeView$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:923)
I tried to open the directory by selecting a folder from the system file manager. The directory itself has a long path

Fatal Crash occurred on Thread named 'Thread-7'
Unix Time :<PHONE_NUMBER>219
LocalTime : 3 авг. 2024 г. 20:02:33
ACTIVE_CODENAMES = []
app_version = 2.5.0
device_model = Redmi 10
SECURITY_PATCH = 2021-12-05
BASE_OS =
RELEASE = 11
CODENAME = REL
manufacturer = xiaomi
RELEASE_OR_CODENAME = 11
SDK_INT = 30
PREVIEW_SDK_FINGERPRINT = REL
PREVIEW_SDK_INT = 0
SDK = 30
brand = Redmi
supported_abi = [arm64-v8a,armeabi-v7a,armeabi]
INCREMENTAL =<PHONE_NUMBER>
Error Message : listFiles(...) must not be null
Error Cause : null
Error StackTrace :
java.lang.NullPointerException: listFiles(...) must not be null
at com.rk.xededitor.MainActivity.treeview2.TreeViewAdapter$Companion.merge(TreeViewAdapter.kt:188)
at com.rk.xededitor.MainActivity.treeview2.TreeView.init$lambda$3(TreeView.kt:36)
at com.rk.xededitor.MainActivity.treeview2.TreeView.$r8$lambda$JBvSDOOqbKRJBQ0KIXzLdcjWoLM(Unknown Source:0)
at com.rk.xededitor.MainActivity.treeview2.TreeView$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:923)
I tried to open the directory by selecting a folder from the system file manager. The directory itself has a long path

listFile() error mostly happens when you don't have permission to access a directory/file
Can you tell me what is the path of that directory

Fatal Crash occurred on Thread named 'Thread-7'
Unix Time :<PHONE_NUMBER>219
LocalTime : 3 авг. 2024 г. 20:02:33
ACTIVE_CODENAMES = []
app_version = 2.5.0
device_model = Redmi 10
SECURITY_PATCH = 2021-12-05
BASE_OS =
RELEASE = 11
CODENAME = REL
manufacturer = xiaomi
RELEASE_OR_CODENAME = 11
SDK_INT = 30
PREVIEW_SDK_FINGERPRINT = REL
PREVIEW_SDK_INT = 0
SDK = 30
brand = Redmi
supported_abi = [arm64-v8a,armeabi-v7a,armeabi]
INCREMENTAL =<PHONE_NUMBER>
Error Message : listFiles(...) must not be null
Error Cause : null
Error StackTrace :
java.lang.NullPointerException: listFiles(...) must not be null
at com.rk.xededitor.MainActivity.treeview2.TreeViewAdapter$Companion.merge(TreeViewAdapter.kt:188)
at com.rk.xededitor.MainActivity.treeview2.TreeView.init$lambda$3(TreeView.kt:36)
at com.rk.xededitor.MainActivity.treeview2.TreeView.$r8$lambda$JBvSDOOqbKRJBQ0KIXzLdcjWoLM(Unknown Source:0)
at com.rk.xededitor.MainActivity.treeview2.TreeView$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:923)
I tried to open the directory by selecting a folder from the system file manager. The directory itself has a long path

listFile() error mostly happens when you don't have permission to access a directory/file
Can you tell me what is the path of that directory

/storage/emulated/0/src/NostTeam.Laser.Logic/Tools/DataStream

If this helps you, here is the video
https://github.com/user-attachments/assets/4ad305f4-d2fb-487d-9ccd-34c93c076eca

If this helps you, here is the video
https://github.com/user-attachments/assets/4ad305f4-d2fb-487d-9ccd-34c93c076eca

Thanks for the video turns out it's a problem with the uri to path converter

If this helps you, here is the video
screen-20240804-125733_lHp6vjfT.mp4

@AndroMaster436 try out new build

If this helps you, here is the video
screen-20240804-125733_lHp6vjfT.mp4

@AndroMaster436 try out new build

Fixed. Tysm


Created a guide on ISO-OSI referent model

A short guide on the ISO-OSI referent model and its layers.
NOTE:

Please fill out the template below

Did you read the instructions in the README?

Y

Have you read the instructions in CONTRIBUTING?

Y

Have you written this article by yourself? Have you taken inspiration from anywhere and then written it in your words?

[Write here. Be specific.]

Written by me, with inspiration taken from my CS studies.

Great article! Merging this PR 👍


Block design or build.tcl+ postprocessing

Thank you for sharing your interesting project.
1/ Could you please provide block designs of your examples (only the LSTM IPs are provided here) or the build.tcl for generating the General block diagram?
2/ could you please explain the post-processing?  what is the procedure and steps to set up the environment to feed images to the FPGA and get the classifications (for example)?
Thank you

Thank you for sharing your interesting project. 1/ Could you please provide block designs of your examples (only the LSTM IPs are provided here) or the build.tcl for generating the General block diagram?
2/ could you please explain the post-processing? what is the procedure and steps to set up the environment to feed images to the FPGA and get the classifications (for example)?
Thank you

Many thanks for your interests.
I guess the first question is about the FPGA wrapper of the NN IPs, which is related to question 2. Both them are about how to deploy the NN accelerator on the FPGAs. While I am doing this manually with PYNQ for testing, I think the following two automation approachs may help you:

The tutorial 7 is about the PYNQ-Z2 deploymnet of a NN model.
https://github.com/fastmachinelearning/hls4ml-tutorial
ESP is also a good platform.
https://www.esp.cs.columbia.edu/docs/hls4ml/hls4ml-guide/

Thank you.


Error when changing password

I have everything configured with LDAP. When I come to change password I keep getting the following:
Failed to update password: Value cannot be null.
Parameter name: source
Can someone help me out

I'm experiencing the same issue.
My configuration is the following:
Downloaded the Linux zip file. Installed on CentOs 7.3.
.NET runtime version is 2.1.7 (2.1.503 SDK installed)
Currently I have HTTPS redirection disabled, so I'm accessing through HTTP protocol http://PassCoreServer:5000
The LDAP connection is set up with FQDN, secure LDAPS (636 secure port), port is open.
Provided user is domain admin, without domain prefix/suffix, default domain is setup. StartTLS is disabled.
The problem only occurs when 636 port is used, but it needs to be used if I want to manage AD through openLDAP.
https://nawilson.com/2010/08/26/ldap-password-changes-in-active-directory/

I'm experiencing the same issue #260
Have you been able to work on this issue ?
Thanks

Related to #260


Performance: LayerNorm: Worse host overhead due to additional copies introduced

🐛 Describe the bug
2.5 aten::layer_norm introduced 3 aten::copy_, that make the latency dropped from 150us to 401us.
Versions
Latest torch-xpu-ops

Additional three copies are introduced by Autocast.
torch-xpu-ops aligns Autocast policy with PyTorch CUDA, where LayerNorm requires FP32 in computation. And in IPEX, LayerNorm could stay on BF16 according to IPEX custom Autocast policy.

Close won't fix, as currently we follow rules to align with CUDA impl and guarantee accuracy. If we have performance consideration in future, we can file new issue.


parsing statements without consuming a trailing semicolon

The rustc internal parser API would parse statements without parsing the trailing semicolon. When porting a plugin to proc-macro using syn I naively replaced the statement parsing to input.parse::<syn::Stmt>(), but this would always consume a trailing semicolon if one was present.
Would it be possible to add an additional parsing function to syn::Stmt that never consumes a trailing semicolon?

I've been working on dynasm which has semicolon-delimited syntax like this:
dynasm!(ops
    ; inc rax
    ;->label:
    ;; a_random_function_call()
    ; jmp ->label
)

The double semicolon is syntax for inserting an arbitrary expression inbetween the assembly to be emitted. In the old parser this did not need a trailing semicolon, but for the syn-based one I now either need to special case the leading semicolon handling of the next line or require an extra trailing semicolon for the statement.
Additionally, the rust macro stmt matcher does not consume a semicolon as well. It made the behaviour somewhat surprising.

The $:stmt fragment in macro_rules has pretty broken semicolon behavior so it is not a good model to follow. See below. I think Syn's stmt is doing the right thing.
macro_rules! m {
    ($($s:stmt);*) => {};
}

m! {
    struct S;; // two semicolons required because $:stmt consumes one of them
    struct S {}; // semicolon shouldn't be required here in Rust syntax
    let a = 1 // Rust grammar always requires semicolon after let-stmt but macro does not
}

I would implement this as: playground

I've implemented your solution and it has solved the issue for me. Thanks for the help!


Use spray json like approach for config derivation with  Pureconfig

This PR is based on work done as part of #4509 to figure out approaches to reduce compilation times. It uses a new proposed approach to switch to non Shapeless based config derivation similar to what we do with spary-json
Description
This PR is a work in progress till the new support in Pureconfig is completed. With new approach the compilation time for common/scala module reduced from ~ 60 sec to ~40 sec on my laptop
Related issue and scope

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

My changes affect the following components

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

Types of changes

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

Checklist:

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

Below are the scalac profiling stats via -Ystatistics flag
Key aspects

Time delta - Time reduced from 1 mins 12.067 secs to 47.163 secs
Max time reduction was in typer phase from ~ 34s to ~15s

Current master
*** Cumulative timers for phases
#total compile time           : 1 spans, ()68896.897ms
  parser                      : 1 spans, ()858.851ms (1.2%)
  namer                       : 1 spans, ()273.763ms (0.4%)
  packageobjects              : 1 spans, ()3.263ms (0.0%)
  typer                       : 1 spans, ()34395.613ms (49.9%)
  patmat                      : 1 spans, ()4908.32ms (7.1%)
  superaccessors              : 1 spans, ()404.523ms (0.6%)
  extmethods                  : 1 spans, ()171.529ms (0.2%)
  pickler                     : 1 spans, ()225.027ms (0.3%)
  xsbt-api                    : 1 spans, ()3382.517ms (4.9%)
  xsbt-dependency             : 1 spans, ()1417.352ms (2.1%)
  refchecks                   : 1 spans, ()2281.169ms (3.3%)
  uncurry                     : 1 spans, ()2171.694ms (3.2%)
  fields                      : 1 spans, ()1780.857ms (2.6%)
  tailcalls                   : 1 spans, ()422.632ms (0.6%)
  specialize                  : 1 spans, ()1144.106ms (1.7%)
  explicitouter               : 1 spans, ()369.297ms (0.5%)
  erasure                     : 1 spans, ()4057.839ms (5.9%)
  posterasure                 : 1 spans, ()209.068ms (0.3%)
  lambdalift                  : 1 spans, ()432.697ms (0.6%)
  constructors                : 1 spans, ()318.683ms (0.5%)
  flatten                     : 1 spans, ()183.302ms (0.3%)
  mixin                       : 1 spans, ()1522.448ms (2.2%)
  cleanup                     : 1 spans, ()237.473ms (0.3%)
  delambdafy                  : 1 spans, ()621.277ms (0.9%)
  jvm                         : 1 spans, ()7024.781ms (10.2%)
  xsbt-analyzer               : 1 spans, ()22.947ms (0.0%)
Completed Scala compilation: 1 mins 12.067 secs

Post config switch
*** Cumulative timers for phases
#total compile time           : 1 spans, ()40351.618ms
  parser                      : 1 spans, ()2254.276ms (5.6%)
  namer                       : 1 spans, ()364.664ms (0.9%)
  packageobjects              : 1 spans, ()156.344ms (0.4%)
  typer                       : 1 spans, ()15632.499ms (38.7%)
  patmat                      : 1 spans, ()2686.365ms (6.7%)
  superaccessors              : 1 spans, ()292.228ms (0.7%)
  extmethods                  : 1 spans, ()115.676ms (0.3%)
  pickler                     : 1 spans, ()198.844ms (0.5%)
  xsbt-api                    : 1 spans, ()2639.931ms (6.5%)
  xsbt-dependency             : 1 spans, ()833.732ms (2.1%)
  refchecks                   : 1 spans, ()850.849ms (2.1%)
  uncurry                     : 1 spans, ()938.083ms (2.3%)
  fields                      : 1 spans, ()492.616ms (1.2%)
  tailcalls                   : 1 spans, ()257.213ms (0.6%)
  specialize                  : 1 spans, ()845.471ms (2.1%)
  explicitouter               : 1 spans, ()233.063ms (0.6%)
  erasure                     : 1 spans, ()2262.172ms (5.6%)
  posterasure                 : 1 spans, ()177.216ms (0.4%)
  lambdalift                  : 1 spans, ()397.438ms (1.0%)
  constructors                : 1 spans, ()247.595ms (0.6%)
  flatten                     : 1 spans, ()134.042ms (0.3%)
  mixin                       : 1 spans, ()1405.549ms (3.5%)
  cleanup                     : 1 spans, ()140.578ms (0.3%)
  delambdafy                  : 1 spans, ()403.887ms (1.0%)
  jvm                         : 1 spans, ()6313.895ms (15.6%)
  xsbt-analyzer               : 1 spans, ()20.235ms (0.1%)
Completed Scala compilation: 47.163 secs

This needs to be put on hold for some time as no consensus was reached on Pureconfig side on used approach. Need to try a new simple macro based approach  which looks like would take some time

@chetanmeh
I marked this PR as stale to close soon due to long inactivity.
But this is already approved and looks worthwhile.
Please let me know if you would work on it again.


post_create_commands and additional_packages

So, I have added to my config file code bellow. But I see also ability add some packages with additional_packages. How that works in different OS? and what about lifecycle? As I understand post_create_commands will be last one for running? If I want to update or add extra nodes will be additional_packages and post_create_commands run for active nodes?
and how I can labeled nodes in setup way? Does it works https://github.com/vitobotta/hetzner-k3s/issues/98 ?
post_create_commands:
- apt update && apt upgrade -y
# Fix for K3s on Debian (Pods can't be scheduled)
- apt -y install apparmor apparmor-utils
#
- apt -y install mc htop vim wget git zsh podman iftop atop lsof fail2ban jq make
#
- apt -y install tmux tmuxinator
- git clone https://github.com/gpakosz/.tmux.git /root/.tmux ; ln -s -f /root/.tmux/.tmux.conf /root/ ; cp /root/.tmux/.tmux.conf.local /root/
#
- sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" -y
- sed -i 's/\/bin\/bash/\/usr\/bin\/zsh/g' /etc/passwd
- /usr/bin/git clone https://github.com/zsh-users/zsh-autosuggestions /root/.oh-my-zsh/custom/plugins/zsh-autosuggestions
- sed -i 's/plugins=(git)/plugins=(zsh-autosuggestions git docker docker-compose poetry kubectl)/g' /root/.zshrc
#
- apt autoremove -y
- shutdown -r now

and can I labeled nodes in setup way?

Hi,

installing packages you specify happens only once the nodes are first created. If you want to upgrade them or install something else after the fact, you need to SSH into the nodes and do it manually.
The machines are provided by default with Ubuntu unless you specify another image, so the packages and the commands you specify should match that
If you add new nodes to an existing cluster, it will run the post commands and install the additional packages on them as expected
the node labelling was introduced in v0.6.2 IIRC but I recommend you use the gem because there are some issues with the binaries. I am currently rewriting the tool in Crystal to be able to offer proper binaries and solve some other issues I have with the Ruby version. If you have problems with 0.6.2 I recommend you stick to a release from before I introduced this changes, 0.5.9 and label the nodes manually for now.

the node labelling was introduced in v0.6.2 IIRC but I recommend you use the gem because there are some issues with the binaries. I am currently rewriting the tool in Crystal to be able to offer proper binaries and solve some other issues I have with the Ruby version. If you have problems with 0.6.2 I recommend you stick to a release from before I introduced this changes, 0.5.9 and label the nodes manually for now. on debian 10-11 and centos 8-9 I don't have any proplem with the binaries.

@maxclax Nice to hear that you haven't had any problems with the binaries, other people have. Ruby isn't really great for this since it's not compiled, that's why I am rewriting it in Crystal.

Hello, good afternoon and happy Friday! @vitobotta , quick one related to this subject. When I try to create a muilti-line file from "post_create_commands" it fails. My one-liner:
echo -e "apiVersion: audit.k8s.io/v1\nkind: Policy\nrules:\n- level: Request\n  resources:\n  - group: \"\"\n    resources: [\"pods\", \"services\", \"configmaps\", \"secrets\", \"deployments\", \"statefulsets\", \"ingresses\", \"jobs\", \"cronjobs\"]\n- level: RequestResponse\n  user: \"\"\n  verbs: [\"exec\", \"attach\", \"port-forward\", \"create\", \"apply\", \"delete\", \"edit\", \"proxy\", \"run\", \"scale\", \"expose\", \"rollou\", \"config\", \"label\", \"annotate\"]" > /var/lib/rancher/k3s/server/audit.yaml
Should such command be accepted or better to download/create the file using cURL?
Cheers.

@rmelilloii can you show the config yaml? it depends on how you write the yaml

@rmelilloii can you show the config yaml? it depends on how you write the yaml

Sure can. Line 31. Now that you say that, maybe I need to double scape the double quotes?
`---
hetzner_token: *****
cluster_name: romulo-k3saudit-01
kubeconfig_path: "./kubeconfig"
k3s_version: v1.25.9+k3s1
public_ssh_key_path: "~/.ssh/id_rmii.pub"
private_ssh_key_path: "~/.ssh/id_rmii"
use_ssh_agent: false # set to true if your key has a passphrase or if SSH connections don't work or seem to hang without agent. See https://github.com/vitobotta/hetzner-k3s#limitations
ssh_port: 22
ssh_allowed_networks:

<IP_ADDRESS>/0 # ensure your current IP is included in the range
api_allowed_networks:
<IP_ADDRESS>/0 # ensure your current IP is included in the range
private_network_subnet: <IP_ADDRESS>/16 # ensure this doesn't overlap with other networks in the same project
disable_flannel: false # set to true if you want to install a different CNI
schedule_workloads_on_masters: true
cloud_controller_manager_manifest_url: "https://github.com/hetznercloud/hcloud-cloud-controller-manager/releases/download/v1.18.0/ccm-networks.yaml"
csi_driver_manifest_url: "https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.5.1/deploy/kubernetes/hcloud-csi.yml"
system_upgrade_controller_manifest_url: "https://raw.githubusercontent.com/rancher/system-upgrade-controller/master/manifests/system-upgrade-controller.yaml"
masters_pool:
instance_type: cx41
instance_count: 1
location: nbg1
image: ubuntu-22.04
post_create_commands:
echo fs.inotify.max_user_watches=1048576|tee -a /etc/sysctl.conf
echo fs.inotify.max_user_instances=1024|tee -a /etc/sysctl.conf
sed -i "/2a01:4ff:ff00::add:2/d" /etc/netplan/50-cloud-init.yaml
netplan apply
mkdir -p -m 700 /var/lib/rancher/k3s/server/logs
echo -e "apiVersion: audit.k8s.io/v1\nkind: Policy\nrules:\n- level: Request\n  resources:\n  - group: ""\n    resources: ["pods", "services", "configmaps", "secrets", "deployments", "statefulsets", "ingresses", "jobs", "cronjobs"]\n- level: RequestResponse\n  user: ""\n  verbs: ["exec", "attach", "port-forward", "create", "apply", "delete", "edit", "proxy", "run", "scale", "expose", "rollou", "config", "label", "annotate"]" > /var/lib/rancher/k3s/server/audit.yaml
echo Ciphers aes256-ctr,aes192-ctr,aes128-ctr|tee -a /etc/ssh/sshd_config
echo MACs hmac-sha2-256,hmac-sha2-512|tee -a /etc/ssh/sshd_config
apt update
apt upgrade -y
apt autoremove -y
shutdown -r now
enable_encryption: true
kube_api_server_args:
audit-log-path=/var/lib/rancher/k3s/server/logs/audit.log
audit-policy-file=/var/lib/rancher/k3s/server/audit.yaml
audit-log-maxage=30
audit-log-maxbackup=11
audit-log-maxsize=100`

Please use code snippets next time otherwise the code is not easy to ready :)
Try this syntax to create that file:
post_create_commands:
- |
  cat > /var/lib/rancher/k3s/server/audit.yaml <<EOF
  apiVersion: audit.k8s.io/v1
  kind: Policy
  rules:
  - level: Request
    resources:
    - group: ""
      resources: ["pods", "services", "configmaps", "secrets", "deployments", "statefulsets", "ingresses", "jobs", "cronjobs"]
  - level: RequestResponse
    user: ""
    verbs: ["exec", "attach", "port-forward", "create", "apply", "delete", "edit", "proxy", "run", "scale", "expose", "rollou", "config", "label", "annotate"]
  EOF

Hello @vitobotta thanks and sorry for that.
The deploy accepts the yaml as valid, but it stops at:

to show the indentation:

`
post_create_commands:

echo fs.inotify.max_user_watches=1048576|tee -a /etc/sysctl.conf
echo fs.inotify.max_user_instances=1024|tee -a /etc/sysctl.conf
sed -i "/2a01:4ff:ff00::add:2/d" /etc/netplan/50-cloud-init.yaml
netplan apply
mkdir -p -m 700 /var/lib/rancher/k3s/server/logs
|
cat < /var/lib/rancher/k3s/server/audit.yaml
apiVersion: audit.k8s.io/v1
kind: Policy
rules:

level: Request
resoureces:

group: ""
resources: ["pods", "services", "configmaps", "secrets", "deployments", "statefulsets", "ingresses", "jobs", "cronjobs"]

level: RequestResponse
user: ""
verbs: ["exec", "attach", "port-forward", "create", "apply", "delete", "edit", "proxy", "run", "scale", "expose", "rollout", "config", "label", "annotate"]
EOF

echo Ciphers aes256-ctr,aes192-ctr,aes128-ctr|tee -a /etc/ssh/sshd_config
echo MACs hmac-sha2-256,hmac-sha2-512|tee -a /etc/ssh/sshd_config
apt update
apt upgrade -y
apt autoremove -y
shutdown -r now
`

Can you try with |- instead of just |?

Yes, the issue is the same, it hangs/does nothing.
And also fails with a "simpler file content".
Example:
- |-
  cat <<EOF > /var/lib/rancher/k3s/server/audit.yaml
  blablabla
  EOF

- |
  cat <<EOF > /var/lib/rancher/k3s/server/audit.yaml
  blablabla
  EOF

If you remove that section altogether, does it still hang? I mean are you sure it hangs because of that multiline command?

It may be because the directory where you are creating the file doesn't exist yet at that stage. Try adding another command before that to create the directory

The error is the same when saving the file to "~/file.yaml"... But yes, I tried creating it and the error is the same.

Not sure what could be the reason. I am also sick at the moment so I can't really test it myself right now.

No worries and thanks anyway. I will "pause" this effort for now, and proceed with related steps after cluster deployment.
Keep an eye to see if someone else has a similar need.
Cheers, take care.


Error with the response on SOAP UI after adding a role/user successfully

Description:
When adding a role or user using SOAP services, the WSO2 management console displays the amendments successfully but no response is displayed in SOAP UI console.

Suggested Labels:
Type Bug
OS, DB, other environment details and versions:
OS- ubuntu
DB- POSTGRESS
Environment- 3

This is not a bug. Response is 202, and in SOAP UI "Raw" view you can see the response as below.