[vue-tsc]: Watch mode doesn't pick up code-changes

Hi,
I'm trying to use vue-tsc --watch to see type errors of my vue-files,
although I'm not sure if this is already released, because I haven't found much information about using it in watch-mode.
But what I experienced:
First run it checks and complains about type errors like this:
const a:number = 'xxxx';

After removing the line with the error, the watch process runs again,
but still shows the error:

After restarting the vue-tsc manually, it shows no errors as expected.
Deps:
+--<EMAIL_ADDRESS>+-- vue: @2.7.8",
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>on Win@11

same problem for me.

I found that, version "0.39.0" works fine.

This still appears to be a bug on v1.0.10

I'm also experiencing vue-tsc to not watch for file changes. Maybe this is an already patched upstream issue?

Seems like it is still a issue.

it doesn't work at my end either, but if i add --project tsconfig.app.json besides --watch, it works.. i don't know if it's the right workaround though.
any of --project tsconfig.json, --project tsconfig.node.json, or no --project doesn't work.
my working package.json, fyi:
{
  "name": "my-vue-app",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "start": "run-p tsc:build main:preview",
    "dev": "run-p tsc:watch main:watch",
    "main:watch": "vite",
    "tsc:watch": "vue-tsc --project tsconfig.app.json --watch",
    "tsc:build": "vue-tsc -b && vite build",
    "main:preview": "vite preview"
  },
  "dependencies": {
    "vue": "^3.4.31"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^5.0.5",
    "npm-run-all2": "^6.2.2",
    "typescript": "^5.2.2",
    "vite": "^5.3.4",
    "vue-tsc": "^2.0.24"
  }
}

i installed vue-tsc via vite --template vue-ts.
also run-p comes from npm-run-all2.


opengl_window example works in this repo, but not when I use xcb as dependency

It's weird, but I all required features are enabled, I use the same version of x11 and gl, as it is specified in this repo. I also used the git version.
and I get this error:
"cc"
"-m64"
"/tmp/rustcAPQAX0/symbols.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.114930e0aygbhgd4.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.1zhj5jny1sx21347.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.208d9ghztz8a9xuk.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.247xshl1kc82fvvo.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.2gh1e7xpqaqfg012.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.2qcnwtr1o26cbv0e.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.2s0vxkhkyj2mgdcv.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.2vnv4hanh43x7zg0.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.2wklqy87m9nz3td.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.30xz0wcej7gmymsm.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.36mp8c8b8zrhxijq.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.39vx1bsm21y62mqz.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.3iha9rasmx2y4kzq.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.3n3fqq2btye818dk.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.413qds7z1yt5l2m6.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.42igsstkd5h6lxpv.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.46mvf7e1qxxaetuj.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.4dof3mtj5j8zuiyd.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.4er4i9awr4h4d7ks.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.4i9h7i9s24pewp3b.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.4laz7yrog0mpub0n.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.4mcomnuylfuhkpa7.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.4pz0m5eg3x8ffm50.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.4th69sp70srd0x8p.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.55owto31cqtydnis.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.568np249xh9lw6zv.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.57cf12450qc01ulv.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.5w69ogeb60whl2j.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.643wxtasj1xe1ok.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.6shppccy9ox79jc.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.f8t9iufnd1yf2y5.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.q59587lb7kv65yh.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.sawy33h5s5wjhl5.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.y7facd3g1mltig7.rcgu.o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.5f8if8mqzhjscahw.rcgu.o"
"-Wl,--as-needed"
"-L"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps"
"-L"
"/usr/lib"
"-L"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib"
"-Wl,-Bstatic"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/libgl-0d5361b5b016c12a.rlib"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/libxcb-e6cb23167a9ecc99.rlib"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/libbitflags-05dfd5b5d1225bed.rlib"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/libx11-07eeb0f007d1387e.rlib"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/liblibc-be771ccdf8acea64.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-de6eb09a538b2205.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d358cd1c731d2b91.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-ff8c8dedfd335408.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-69331cac3b071e01.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-b38caf09facb79de.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-403b266484b5f5f9.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-67601fa47a6a7e4c.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-6088e1f23d1750e9.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-02e51d881611b69a.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-6419689ad9800fd6.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-4afc2866178d292d.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-706d2d909b8d6281.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4babd1cfcf3314af.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-e52f7f2201915b42.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a5319eed00c3264d.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-863cf80d159af754.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-72a5840bf6c2fe5a.rlib"
"-Wl,-Bdynamic"
"-lxcb"
"-lX11-xcb"
"-lX11"
"-lgcc_s"
"-lutil"
"-lrt"
"-lpthread"
"-lm"
"-ldl"
"-lc"
"-Wl,--eh-frame-hdr"
"-Wl,-znoexecstack"
"-L"
"/home/dbiro/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib"
"-o"
"/home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747"
"-Wl,--gc-sections"
"-pie"
"-Wl,-zrelro,-znow"
"-nodefaultlibs"
  = note: /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.36mp8c8b8zrhxijq.rcgu.o: in function `egui_xcb::load_gl_func':
          /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:26: undefined reference to `glXGetProcAddress'
          /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.36mp8c8b8zrhxijq.rcgu.o: in function `egui_xcb::get_glxfbconfig':
          /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:63: undefined reference to `glXChooseFBConfig'
          /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/target/debug/deps/egui_xcb-93c92f7c502d3747.36mp8c8b8zrhxijq.rcgu.o: in function `egui_xcb::main':
          /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:140: undefined reference to `glXGetVisualFromFBConfig'
          /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:221: undefined reference to `glXQueryExtensionsString'
          /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:283: undefined reference to `glXIsDirect'
          /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:331: undefined reference to `glXDestroyContext'
          /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:292: undefined reference to `glXMakeCurrent'
          /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:297: undefined reference to `glXSwapBuffers'
          /usr/bin/ld: /home/dbiro/Projects/All/Programming/vonal-rust/egui_xcb/src/main.rs:298: undefined reference to `glXMakeCurrent'
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `egui_xcb` due to previous error

However if I run cargo run --features="glx xlib_xcb dri2" --example opengl_window it works. I've got no idea about the problem.

It seems you are missing symbols to the GLX library.
try to add -lGLX to your link flags (or whatever is returned by pkg-config --libs glx).
I'm closing because unrelated to rust-xcb.

With cargo I think you need to activate xlib and glx features of the x11 crate

It works thanks!
Without features = ["xlib", "glx"] it is not working, so it did the trick.
I tried optional features before but the Cargo.toml of this crate says the features for x11 is xlib only.
[dependencies.x11]
version = "2.19.0"
optional = true
features = ["xlib"]
I see that the devDependency is different:
[dev-dependencies.x11]
version = "2.19.1"
features = ["xlib", "glx"]
Anyways. It works. Thanks!


Remove dependency on Bitarray

I propose removing the dependency on Bitarray and using bitwise operations on ints instead.
I see no good reason to use bitarray. The only two operations we use on it are:

setting a particular bit to True, which can be done with bitwise OR; and
converting to bytes, which is also provided by int.
Removing Bitarray would mean one fewer dependency!

In terms of speed, the two approaches are comparable:
>>> from bitarray import bitarray
>>> from functools import partial
>>> from hashlib import sha256
>>> from timeit import timeit
>>>
>>> def current(n, k):
...     ba = bitarray(n)
...     ba.setall(False)
...     for i in range(k):
...         l = int.from_bytes(sha256(str(i).encode('ascii')).digest(), 'big')
...         ba[l % n] = True
...     return ba.tobytes()
...
>>> def alternative(n, k):
...     c = 0
...     one = 1 << n - 1
...     for i in range(k):
...         l = int.from_bytes(sha256(str(i).encode('ascii')).digest(), 'big')
...         c |= one >> l % n
...     return c.to_bytes((n + 7) // 8, 'big')
...
>>> assert current(1024, 600) == alternative(1024, 600)
>>> timeit(partial(current, 1024, 600), number=10000)
12.497227690997534
>>> timeit(partial(alternative, 1024, 600), number=10000)
11.94743290200131

I would like to discuss this proposal before it is implemented. (@hardbyte @wilko77 Any thoughts?)
Aha! Link: https://csiro.aha.io/features/ANONLINK-29

If anyone feels inclined to do this I'd merge it in - provided that in doing so we didn't break support for Python 2.
The only issue I've had with bitarray is they don't upload binary wheels to PyPi meaning users have to have a C compiler to install it. I've open an upstream PR to build cross platform wheels of bitarray


Can't download from E-Hentai

I tried to download from E-Hentai and The download won't start?
https://i.imgur.com/osVqjVw.jpg

From the screenshot, that would be because you clicked the "Pause" button, which then turned into a "Resume" button that you should click to un-pause the download.


Live templates

This project is going to be archived. Closing

This project is going to be archived. Closing


Fix custom alphabet bug; and tests!

This pull request fixes a bug where the last letter of a custom alphabet isn't used.
Also included in this pull requests are mocha tests for the basic and some of the optional functionality. This should allow more worry-free developing going forward. To test you need mocha npm install -g mocha. You then can run the tests either with mocha or npm test

Wow, this is great! Thanks a lot for the tests and for the littre fix


Roll operations should be calculated in order

The roll mathematical operations are currently calculated in the order that they are written, from left to right.
However, convention expects them to be calculated in a particular order.
Mathematical equations should always be calcuated in the correct order of operations.
Info: https://en.wikipedia.org/wiki/Order_of_operations

We could potentially use Math.js for this. It would also allwo us to handle a lot of other common mathematic functionality, such as exponents (ie.  ), sin, etc.

Resolved in pull request #76


pypy: Broken checks

We have multiple checks failing due to rapidjson and ujson builds for pypy.
We're mostly interested in performance regressions for CPython, but definitely want to make sure the library functions under pypy. Right now all of our dependencies get installed with requirements.txt, even rapidjson and ujson which are only used during use of the benchmark cli.
If we split these dependencies out, and remove pypy from the benchmark tests, then we should be able to reduce the checks down to what we're interested in and not have any build failures due to native requirements that do not support pypy to begin with.

More context: https://github.com/amazon-ion/ion-python/pull/376#issuecomment-2423109224

Addressed with #378.


Edit protest flow v2

Looks good to me. Gotta merge this since we are in a hurry - @ranyitz please take a look when you can.


Added some documentation to particles

Just added a few missing descriptions. If someone can make suggestions for capture_aabb, fixed_fps and fract_delta I'll add those in to complete this.

@BastiaanOlij Poke :)

totally missed your feedback @mhilbrunner , thanks for the poke, I'll get on this later in the morning :)

@BastiaanOlij Merging this one, you can create another PR for the 2D particles doc using some of the content here if you want :)

Cherry-picked into 3.0.4.


Connecting to CloudMQTT as a MQTT bridge

Problem/Motivation
Looking to move over from Official MQTT server for the WebUI for debugging
--
Is there a way to configure an MQTT bridge to say cloud mqtt? I've accomplished this with the offical MQTT server using this setup: https://community.home-assistant.io/t/solved-mqtt-over-internet-aka-how-to-set-up-cloudmqtt-bridge-with-hassio-mosquitto-broker/49939/8
Does this still exist for this add on as well?
 Home Assistant Community[solved] Mqtt over internet? aka: "How to set up cloudMQTT bridge with Hassio mosquitto broker"I have not worked with NodeRed at all, but i figured it out without it.  Here is how i did it, by compiling info from all around the community forums:   Register CloudMQTT free account. Ignore the initial un/pw and create two (in my case) new users with their own passwords. In the users page of cloudMQTT, scroll down after creating the users and click topic, select the user, add # (in case you want them in on everything) in the pattern box, then tick read/write access accordingly and add them tw...

Currently no, but I will check out the posibilities

wait, you mean if i configure a bridge to an external mqtt in the "custom configuration" in the /config/mqtt directory (per the add-on's documentation) that it won't work?

ok, assuming from looking at your commits in here that the documentation on the readme is ahead of the functionality of the latest release (that i am running on my HA), is there an easy way for me to upgrade my hass.io install of the add-on to the HEAD of this repo so i can get this functionality now? Or do i need to wait for you to push a new release? And if so, how long do you think that will be?

@ludeeus thanks for clarifying.
FYI, i installed the add-on this morning and was linked from within the add-on to the documentation on the master branch which obviously includes this new, un-released, custom config capability. based on the documentation i read, i had configured a bridge to an external MQTT instance and spent a couple hours trying to debug why it wasn't working. Maybe in the future it would be better for the released add-on to link to the documentation for the release tag (i.e. the link you just showed me above) rather than the master branch.

I agree with that, will take it into consideration for future releases.

This should now be possible in v0.2.0


Fix movie writer

Should be able to fix some limits/problems in existing GPUImageMovieWriter like:

Output video got cut off Prematurely, i.e, last one second lost #1403, #1635
Only one audio track got written out #934
Frame dropping, frame time out of sync, some video frame freezes #1501, #744
Video writing ends before audio’s, which last one or two seconds video freeze #830
Black frames at the beginning #52, #652
Poor stability, random crashes #773, #1634

More test or suggestion is very welcomed
Thanks brad for such a good library.
more details on my blog: GPUImage Video Merge: Fix Movie Writer

Why are these entirely new classes? Why not just patch the existing ones? Why the THImage prefix on them?
I don't think I'll want to have users being confused by two separate movie writer classes, so I don't think I can accept this in its current form. Can you rework this to be improvements on the existing movie writer?

No news about this?? I'm using the latest version of GPUImage and I'm still having BLACK FRAMES when using GPUImageMovieWriter (recording live from GPUImageVideoCamera or re-encoding a GPUImageMovie) when adding an audio econding target.
I've spent several days trying to follow the GPUImageMovieWritter logic, but I'm getting lost at some point.
Definitely the audio encoding is causing the black frames, but if I prevent the audioBuffer from being processed before the first video frame, I get a crash every time.
I don't know what else can I do :/ ...

If I add a dynamic watermark to the video. The resulting video will drop frames.


[FEAT]: AWS SigV4 support with the client

Describe the enhancement
Ability to sign requests using AWS Signature V4
Why is this needed?
Signing requests using native clients has been an essential requirement for accessing the Amazon OpenSearch Service on AWS using fine grained access controls. Having native SigV4 support in clients avoids the need to use cURL requests and other workarounds.
How do you think it should be done?
Reference: https://opensearch.org/blog/aws-sigv4-support-for-clients/
Some ideas to get started

https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html
https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html
https://github.com/lucasweb78/aws-v4-signer-java

would you be able to help with this? I lack access to an aws opensearch cluster to test this. I'd prefer a solution that works on all platforms.

https://github.com/KotlinCrypto this library looks good as a multiplatform implementation for sha256.
If somebody wants to have a go at this, the rest client is pretty easy to extend.


Add SQL for controller

PR description
Add SQL for controller to manage ethstats data.

This PR got a bit out of hand. There were some issues I could not reproduce locally. Some of this is to do with how slow github actions execute, triggering past timeouts.
I disabled a flaky test and added a junit report upload to identify what was going on, and it looks like things are all good now.


There is lexical or preprocessor issue, 'BCTabBarController.h' file not found.

I've done all steps in Usage section  except the second step, because I did not see any box to be checked.
As written in http://www.section42.de/2011/04/12/bctabbarcontroller-and-xcode-4/ , I should see the entry “libBCTabBarController.a” in the left pane of XCode.
But now I can't find the entry “libBCTabBarController.a” in there.
As the result, I can't do
#import "BCTabBarController.h"
in my delegate.m file. There is lexical or preprocessor issue, 'BCTabBarController.h' file not found.
But I can do
@class BCTabBarController;
from my delegate.h file
Did I miss something?
--
Usage
Add BCTabBarController.xcodeproj to your project by dragging it into the Groups & Files sidebar.
Select the added project file in the sidebar and then check the box next to libBCTabBarController.a
Select your project's target and right-click and choose "Get Info"
Click the + icon underneath Direct Dependencies and add the BCTabBarController target
libBCTabBarController.a should already be in the list of Linked Libraries
Drag BCTabBarController.bundle into your project's resources
If you haven't already, add the QuartzCore and Core Graphics frameworks to your project
Define the method - (NSString *)iconImageName in each view controller that you add to the tab bar. It should return the filename of the grey tab icon (see creation steps below)
See the example target for usage

Not a bug


ImageWMS imageLoadFunction asynchronous loading is broken

Describe the bug
The imageLoadFunction of ol/source/ImageWMS was useful to load images with post requests or - in general - through XHR requests, where the src of the image element would be set to a data URI when the content is loaded. This does no longer work in version 8 of OpenLayers.
To Reproduce
Steps to reproduce the behavior:

Setup an ImageWMS Source with a custom imageLoadFunction.
Use any asynchronous code to set the image.src to a data URI.
This results in the WMS image not being rendered on the map. The console shows the error message: "DOMException: The source image cannot be decoded."

Stackblitz Example
Here is an example implementation for OpenLayers version 7 and 8:
Working V7: https://stackblitz.com/edit/vite-abvayd?file=main.js
Broken V8: https://stackblitz.com/edit/vite-gkegv7?file=main.js
Expected behavior
According to the current documentation of the imageLoadFunction (https://openlayers.org/en/latest/apidoc/module-ol_Image.html#~LoadFunction) it should be possible to use a custom http request to load the image and apply it as a data URI.
This setup worked in version 7 of Openlayers and broke after we updated our codebase.

#15094 will fix your compatibility issue.  In version 8 you also have the option of replacing your imageLoadFunction with a custom load function as in https://openlayers.org/en/latest/examples/wms-image-svg.html

yes, async loading works with tileLoadFunction in TileWMS source, but not in imageLoadFunction for ImageWMS source.
It can be solved by using a custom ImageSource as in svg example, but then you are giving up on useful ImageWMS methods: getFeatureInfoUrl, getLegendUrl, updateParams

It can be solved by using a custom ImageSource as in svg example, but then you are giving up on useful ImageWMS methods: getFeatureInfoUrl, getLegendUrl, updateParams

That's the point why we also depend on the imageLoadFunction.

@fperucic Instead of calling updateParams you can just modify the params object you created the loader with. But you're right, the getFeatureInfoUrl() and getLegendUrl() methods should be made available as standalone functions in the ol/source/wms module.


using fetchJSON instead of loadXML and upgrading release version

RMD-1972
Changes:
Change to use fetchJSON instead of loadXML in attempt to debug errors on next gen

Love it!


Add CI/CD

how is deployment happening now ? manual or automatic ? i can see that already new commits in master are live in prod

how is deployment happening now ? manual or automatic ? i can see that already new commits in master are live in prod
manual deploy, but I'm working on it


bash-it help plugins doesn't work

Expected Behavior
bash-it help plugins should do something
Current Behavior
$ bash-it help plugins
please wait, building help...bash: typeset_functions: command not found...

Steps to Reproduce

bash-it help plugins

Your Environment

Bash-it version used: v2.1.1
List of enabled plugins, themes and aliases (use bash-it show (plugins/themes/aliases)): enabled plugins: alias-completion, base, history
bash-it doctor output: all green
Bash version: bash-5.0.17-1.fc32.x86_64
Operating System and version: Fedora release 32

Your Bash Config File

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions

alias i='sudo dnf install'
alias u='sudo dnf upgrade --refresh && flatpak update && bash-it update && fwupdmgr refresh ; fwupdmgr get-updates'
alias ds='dnf search'
alias r='sudo dnf remove'

. /usr/share/autojump/autojump.bash

complete -C /home/user/syncthing/bin/terraform terraform

. "/home/user/.acme.sh/acme.sh.env"

# BASH-IT

# If not running interactively, don't do anything
case $- in
  *i*) ;;
    *) return;;
esac

# Path to the bash it configuration
export BASH_IT="/home/user/.bash_it"

# Lock and Load a custom theme file.
# Leave empty to disable theming.
# location /.bash_it/themes/
export BASH_IT_THEME='bobby'

# (Advanced): Change this to the name of your remote repo if you
# cloned bash-it with a remote other than origin such as `bash-it`.
# export BASH_IT_REMOTE='bash-it'

# (Advanced): Change this to the name of the main development branch if
# you renamed it or if it was changed for some reason
# export BASH_IT_DEVELOPMENT_BRANCH='master'

# Your place for hosting Git repos. I use this for private repos.
#export<EMAIL_ADDRESS>
# Don't check mail when opening terminal.
unset MAILCHECK

# Change this to your console based IRC client of choice.
#export IRC_CLIENT='irssi'

# Set this to the command you use for todo.txt-cli
#export TODO="t"

# Set this to false to turn off version control status checking within the prompt for all themes
export SCM_CHECK=true
# Set to actual location of gitstatus directory if installed
#export SCM_GIT_GITSTATUS_DIR="$HOME/gitstatus"
# per default gitstatus uses 2 times as many threads as CPU cores, you can change this here if you must
#export GITSTATUS_NUM_THREADS=8

# Set Xterm/screen/Tmux title with only a short hostname.
# Uncomment this (or set SHORT_HOSTNAME to something else),
# Will otherwise fall back on $HOSTNAME.
#export SHORT_HOSTNAME=$(hostname -s)

# Set Xterm/screen/Tmux title with only a short username.
# Uncomment this (or set SHORT_USER to something else),
# Will otherwise fall back on $USER.
#export SHORT_USER=${USER:0:8}

# If your theme use command duration, uncomment this to
# enable display of last command duration.
#export BASH_IT_COMMAND_DURATION=true
# You can choose the minimum time in seconds before
# command duration is displayed.
#export COMMAND_DURATION_MIN_SECONDS=1

# Set Xterm/screen/Tmux title with shortened command and directory.
# Uncomment this to set.
#export SHORT_TERM_LINE=true

# Set vcprompt executable path for scm advance info in prompt (demula theme)
# https://github.com/djl/vcprompt
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt

# (Advanced): Uncomment this to make Bash-it reload itself automatically
# after enabling or disabling aliases, plugins, and completions.
# export BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE=1

# Uncomment this to make Bash-it create alias reload.
# export BASH_IT_RELOAD_LEGACY=1

# Load Bash It
source "$BASH_IT"/bash_it.sh

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

export PATH=$PATH:$HOME/.local/bin:$HOME/bin
export JAVA_HOME=/etc/alternatives/jre
export ELECTRON_TRASH=gio

My ~/.bash_it folder is a symlink:
/home/user/.bash_it -> /home/user/syncthing/.bash_it
I've tried to look and install the typeset_functions command, but wasn't able to find anything relevant.

Looks like this broke in #1820 as the function got renamed from typeset_functions (in lib/composure.bash) to _typeset_functions (in vendor/github.com/erichs/composure/composure.sh)
Looks like the fix may just be correcting the two references here:

https://github.com/Bash-it/bash-it/search?q=typeset_functions

cc: @buhl


[DOCS] Fix rst syntax of missing blank line after code-block

:mag: Description
Issue References 🔗

This pull request fixes a rst syntax of missing blank line after code-block
Describe Your Solution 🔧
Add a blank line.
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:

Behavior With This Pull Request :tada:

Related Unit Tests

Checklists
📝 Author Self Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] This patch was not authored or co-authored using Generative Tooling

📝 Committer Pre-Merge Checklist

[ ] Pull request title is okay.
[ ] No license issues.
[ ] Milestone correctly set?
[ ] Test coverage is ok
[ ] Assignees are selected.
[ ] Minimum number of approvals
[ ] No changes are requested

Be nice. Be informative.

https://github.com/apache/kyuubi/blob/51c3e0372feee5e7dd8983f85076242c4a5fed40/docs/connector/spark/delta_lake_with_azure_blob.rst?plain=1#L173-L174 there is a similar issue

@wForget thanks for checking, I search with keywords .. code-block:: and fixed all issues i found now.

Merged to master/1.8/1.7

Committer Pre-Merge Checklist

Consider fulfilling the list next time, guys

Consider fulfilling the list next time

thanks for reminding.


Change react to be a peer dependency rather than a normal dependency.

React expects to be a singleton on the page. The proper way to express this as a library author is with peerDependencies, otherwise you run the risk of pulling in multiple copies of React. In particular, upgrading to React 16 in one's application will cause react-router-dynamic-breadcrumbs to get its own copy of React 15, which causes all sorts of problems.
See e.g. react-select's package.json for an example of another library doing this.

@seansfkelley Thank you for noticing this.

For sure. Would you be able to merge and publish a new release?

Thanks!


Script vault code to extract ssh public key does not work in Bash or Zsh

Homelab Almanac - 2-building/8-vault.html example vault code and in this script does not work in Bash/Zsh.
https://github.com/mttaggart/seclab/blob/c1742c319efd9a9c0cd75fc25bbf921de3efe967/jumpbox_setup.sh#L175
The documented command/syntax produces an error:
➜  Vault git:(homelab) vault kv put -mount=seclab test_kv seclab_ssh_key=$(cat ~/.ssh/id_rsa.pub)
Failed to parse K=V data: invalid key/value pair "<user>@homelab-jumpbox": format must be key=value

The correct syntax works (example buried in Vault Docs for SSH key-signing :-/):
➜  Vault git:(homelab) vault kv put -mount=seclab test_kv<EMAIL_ADDRESS>=== Secret Path ===
seclab/data/test_kv

======= Metadata =======
Key                Value
---                -----
created_time       2023-09-30T05:59:33.401836121Z
custom_metadata    <nil>
deletion_time      n/a
destroyed          false
version            1

This script successfully created the SSH key secrets in every single one of my testing labs, but I will continue validating.

I am using the latest released KDE Neon for the Jumpbox:
➜  Vault git:(homelab) uname -a & lsb_release -a
[1] 8343
Linux homelab-jumpbox 6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep  7 10:33:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
[1]  + 8343 done       uname -a
No LSB modules are available.
Distributor ID: Neon
Description:    KDE neon 5.27
Release:        22.04
Codename:       jammy

Fixed in c5a4fe75a1c56df068d4de653711fb1497ecf7dd


Add support for

<caption /> is a valid element within <table /> and (imo) should be treated as part of the head and made sticky.

Does this work even if the  is hidden? This sometimes happens when the caption is provided for accessibility support but is otherwise not visible


Support for Angular 11

Question regarding Angular 11 support
Can I use this library in Angular 11 project or does it only support upto Angular 10 at the moment? If no support for Angular 11 do you know when support will be provided please?
Many thanks.

Heya! I presume it should work. Have you tried it yet?
If it doesn't, and changes are straightforward, I suppose a PR would be welcome? Though I'm not sure when the maintainer has or can make time to roll it out.

Hiya,
Thanks for responding so quickly, no I haven't tried it yet, thought I would ask the question before I did that. From your response it sounds like you believe it 'should' work.

Would presume so, yes! An easy way to test is to clone my sample repository, upgrade it to Angular 11, and run ng e2e to see if the main integration scenarios still work.
Let us know what you find!

I tried on a new Angular 11 project.
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>

Looks like it does not work:
I tried on a new Angular 11 project.
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>

Fair enough! I'll change the labels.

Great thanks for that. I'm guessing this should be fairly straight forward and 'just' a matter of changing the dependencies to Angular 11

While that sample repo might need some kind of an update, the lib works fine with Angular 11. I am using it right now.

Do we know anything about the status of this?
I've cloned and updated said repo and it doesn't work. At my company App we moved forward with Angular 11 and sometimes sets the HTTP version to undefined

Do we know anything about the status of this?
I've cloned and updated said repo and it doesn't work. At my company App we moved forward with Angular 11 and sometimes sets the HTTP version to undefined

Tried to use the plugin with angular 11, but having dependency errors. Will the plugin be updated to support angular 11?

I upgraded an older project to angular 11 and in my development environment the app just worked with this library.
However, for stage/production I got a headache with routing.
It was like this in the past:
   RouterModule.forRoot(       appRoutes,       { useHash: false, enableTracing: environment.traceRouting, initialNavigation: false }     )
but was change to
    RouterModule.forRoot(       appRoutes,       { useHash: false, enableTracing: environment.traceRouting, initialNavigation: 'disabled', relativeLinkResolution: 'legacy' }      )
in the upgrade process. Authentication works fine when the app runs in the webserver documentroot but fails with some website.com/myapp when build with "--base-href /myapp/", which I do for stage/production.
Redirect by keycloak leads to website.com, not to website.com/myapp, so the token is never processed by angular.
Still investigating.

I did create a PR #1037 to update the repository to NG11.
However, I still have a feeling that you can use earlier versions of the library just fine in an Angular 11 application. I'd welcome any above (or future) posters to create a minimal repro that shows otherwise, so we can investigate (and check if my PR would solve anything).
Either way, at some point this update needs to be done, I guess.

Thanks, @jeroenheijmans. Yes, the lib works fine with Angular 11. However, we should do an official update to emphasize this a bit more. I'll merge the PR soon.

@manfredsteyer Just in case any issues come up merging in PRs, could you do a npm publish of angular-oauth2-oidc-jwks using the existing 10.0.0 git tag?  The only version of that package available via npm at the moment is 9.0.0, and what I'm seeing in the repo for 10.0.0 looks like it might already resolve one of our dependency issues, if we could install it.

☝ #873

I've upgraded my example application to Angular 11 still using the v10 version of this library with success.
So although it might be worthwhile to upgrade the library with my PR, it is not needed for Angular 11 support (as per the original question in this issue).
Will leave issue open for #1037 though.

Thanks @jeroenheijmans.  While it does appear to work presently, we do still see the peer dependency warning as noted in #873 when installing angular-oauth2-oidc-jwks.  As mentioned in my previous comment, I think we just need the existing 10.0.0 git tag published to npm for angular-oauth2-oidc-jwks and that warning should go away. The main angular-oauth2-oidc package already has 10.x versions published that use tslib 2.x, so the jwks package has fallen behind.  I'm hoping that @manfredsteyer can publish that soon, regardless of any merging of additional PRs.

v12 is out since recently so I think we can now close this issue.


Cant Connect to Port

I am trying to connect to a port. I am trying to connect to my phone but it is not working, it is not connecting. just hoping i can resolve

What navigation app are you trying to use?

google maps. android

nevermind figured it out


[Bug] Blank results in Carpe (last account in list, slow wallet, click Miner)

🐛 Bug
The MINER tab is showing blank screen and then the other menu items stop working.
I can CTRL + SHIFT + R to refresh and get things working again without having to quit the program.
To reproduce:
Install Carpe Canary via https://github.com/0LNetworkCommunity/carpe/releases/tag/v1.0.0-17-canary and opt to uninstall and keep data. Then have a handful of accounts, click around and toggle them, then pick the last one, then click MINER.
It's a slow wallet, so I'm not sure if that might have anything to do with it.
Here's what it looks like:
https://i.imgur.com/Mb4g2vx.png
Expected Behavior
I expected to see the miner screen and to continue being able to use the app.
System information

Release v1.0.0-17-canary
Windows 11

@sirouk please test the v1.0.0-18-canary and report back


hello!

would you be interested in pursuing research in relationship to this?   i work with several open sourced groups including my own and i believe that you would be interested in pursuing the current project that many of us are working on.   you can reach me at<EMAIL_ADDRESS>thanks!

sent you an email!


Q: How can i make a module that creates a file without depending on systemd?

Context: I am trying to make a module to manage a zonefiles for https://git.dotya.ml/RiXotStudio/system-management/, i don't have experience with nix so doing babysteps to get there.
So far i've made: http://ix.io/3sih

The question is vague an I am not sure if this is exactly what you are asking, but perhaps you would like to:

Create a file using e.g. environment.etc.<name>.text (see here in NixOS module option search)
Define its contents using the writeText function, see: https://github.com/NixOS/nixpkgs/blob/2d9425cae4054f7aace0025ac4ba76362848f027/pkgs/build-support/trivial-builders.nix#L140-L151
Use functions like map, concatStringsSep (from strings.nix) and so on to render out the contents of your zonefile (I'm assuming this is referring to a file as used like in the bind DNS server).

It's unclear to me whether that'll satisfy your requirement of "without depending on systemd", as I don't really know what that means. NixOS modules typically require running on NixOS, and NixOS uses systemd to boot. So while defining a file on the file system using environment.etc.<name>.text doesn't have a direct involvement of system, the fact that you're running NixOS will currently incur you a dependency on systemd running on that.

It's unclear to me whether that'll satisfy your requirement of "without depending on systemd", as I don't really know what that means. -- @nh2

I was given an example using systemd.tmpfiles.rules to make said file so i was looking for alternative that doesn't use systemd as i like to make my code init-independent where possible

(I'm assuming this is referring to a file as used like in the bind DNS server). -- @nh2

Yes, the end-goal is for bind, but i would like it flexible for other DNS servers in case e.g. unbound becames usable. (so with no hard dependency on bind)

Create a file using e.g. environment.etc..text (see here in NixOS module option search) -- @nh2

That seems to only create files in /etc ? I would like to make the file in /var/dns/thing.zone ideally

NixOS modules typically require running on NixOS, and NixOS uses systemd to boot. @nh2

Would like to make it flexible so that it could be used on NixOS forks e.g. NixNG which attempts to use OpenRC thus me wanting to use something else then systemd.tmpfiles
--
writeText and concatStringsSep are relevant, thank you! ^-^
--

Would like to make it flexible so that it could be used on NixOS forks e.g. NixNG which attempts to use OpenRC thus me wanting to use something else then systemd.tmpfiles

I am not familar myself with OpenRC or NixNG, but I would imagine that it would probably be in NixNG's domain then to suggest some functionality how to procedurally generate files in not-immutable locations, like systemd.tmpfiles does for /var.
Given that Nix projects around integrating alternative init systems are reasonably young and new, I think there won't be an obvious generic way that's best for all of them yet.
However, I think you'll be on a good path of generating your desired zonefile content with writeText; it'll be easy to pass that generated text file to systemd.tempfiles, or some other mechanism provided by a different init system.
Also consider whether /var is really what you want. If you plan to decide to manage the zone file completely declaratively with nix, so that running programs would not mutate it, and it could be read-only, then environment.etc might actually be the cleaner approach.

Ideally i want it imutable by default stored in the nix-store and with mutable on demand stored in some mutable location. O.o
CC the maintainer of NixNG @MagicRB for opinion on the systemd-independendence

First off, if you're writing a module for NixOS, unless you basically want to stuff NixNG into NixOS, you'll have to depend on systemd. NixOS stands and falls on systemd. Also, yes you want to put it in /etc its not state, its generated with Nix and therefore should be either in /nix/store or /etc

@MagicRB i was thinking more like using writeText instead of systemd.tmpfiles.rules thinking that writeText is more friendly to other Inits or some handling to achive the file creation in a way that can be made compatible on NixNG and alike without changing my code

For a purely declarative file, the store or /etc is the way to do it.
If you want something imperative, you'll have to answer the question of "when" and that answer will very likely involve the init system. We don't have an abstraction for init systems at this time.

unless you basically want to stuff NixNG into NixOS

@MagicRB The module system supports patterns that would allow common modules to be shared between the two. Something along the lines of https://github.com/NixOS/rfcs/pull/78#issuecomment-753487600, where pureModule is the shared module.
service abstraction
So splitting services into common and systemd modules is already a possibility and I have already done so to simplify maintenance between NixOS and nix-darwin, which is mostly just another init system too.
Similar logic can be applied to a module that declares a generic service, so you'll have the mystical but entirely feasible service abstraction layer.
When doing this, some experience writing modules is helpful, but I encourage anyone to play around with these ideas and tools.

Closing since it sounds like the question was answered and this doesn't seem to be actionable, but I'm happy to reopen if I'm mistaken.


How can i add this pod for swift project?

I want to add this pod in my swift project.And your pod in objective-c. how can i combine it?i tried to add this but it not recognising.Help me with that.Which file i have to import TOMSSuggestionBar.h or UIControl + TOMSSuggestionBar.h ..

Hi!
Maybe this Tutorial can help you https://www.raywenderlich.com/97014/use-cocoapods-with-swift or this thread on Stackoverflow: http://stackoverflow.com/questions/31884507/how-to-use-objective-c-cocoapods-in-a-swift-project.

Hi,there.i tried this and successfully added in my swift project.but
suggestionbar not showing text.Dont know wht this happened
On Tuesday 20 December 2016, Tom König<EMAIL_ADDRESS>wrote:

Hi!
Maybe this Tutorial can help you https://www.raywenderlich.com/
97014/use-cocoapods-with-swift or this thread on Stackoverflow:
http://stackoverflow.com/questions/31884507/how-to-use-
objective-c-cocoapods-in-a-swift-project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tomknig/TOMSSuggestionBar/issues/7#issuecomment-268261130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUHuh9MnYJ-sJgvYAqkn7WnzsnRm4IP4ks5rJ-pxgaJpZM4LRddf
.

Did you properly setup your .xcdatamodeld and configure the DataSource?

Yes,everything working fine.except this
On Tuesday 20 December 2016, Tom König<EMAIL_ADDRESS>wrote:

Did you properly setup your .xcdatamodeld and configure the DataSource?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tomknig/TOMSSuggestionBar/issues/7#issuecomment-268263430,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUHuhw9dy9nlJyAG0DfP8ERPQEeX5_YHks5rJ-x9gaJpZM4LRddf
.


Add GitHub Link to Footer

Description:
Integrate a GitHub icon exclusively in the footer section of the website. This addition will enhance accessibility to our GitHub profile, fostering community engagement and promoting open-source collaboration.
Action Items:

Insert GitHub icon in the footer.
Configure icon to link to our GitHub profile.
Ensure the link opens in a new tab for user convenience.
Verify responsiveness across various devices.
Update documentation to reflect the GitHub integration.

Expected Outcome:
Streamlined access to our GitHub profile, encouraging users to explore our open-source projects and contributing to community growth.

@ianujvarshney want to work on this

@ianujvarshney want to work on this

ok

@ianujvarshney  please review this #62

@ianujvarshney @ruthwikchikoti can i work an this

sure @CodingWithError

Hey, can you write the start script in the JSON file so that I can run it locally and check whether the Git link is working or not.

 Hey, can you write the start script in the JSON file so that I can run it locally and check whether the Git link is working or not.

you have to start with this command 'npm run dev'.


how to manage branch office on roles?

I would to manage branch office on roles group like this:
roles: {
   "Loan": {
      permission: ['insert', 'update' ...]
      branches: ['001', '002' ....]
   }
}

Please help me.

Not quite sure how to help here other than to suggest you fork the roles package and modify it to better fit your needs.

thanks for your reply.


DoubleQuantilesSketch

Is there any interest in providing the DoubleQuantilesSketch in cpp?  The java library contains it and druid only supports the DoubleQuantilesSketch at the moment.  We would like to send the serialized sketch to druid and it would be really useful to have this sketch in cpp.  Thank you.

Yes, we are working on it.
https://github.com/apache/datasketches-cpp/commits/quantiles

Awesome @AlexanderSaydakov  Thank you.

Sorry, we don't have a particular timeline.

@AlexanderSaydakov do you have an update on progress on getting support for DoubleQuantilesSketch?

It is pretty clearly insufficiently tested. I strongly suggest against trying to use it in its current form if you want things to work properly.

Well, I think I did at least fix serialization vs java.

@jmalkin I am mostly interested in gettting serialization to work. Do you have a fix for this?

 Thanks @jmalkin

Hmm I get this message: Error: Failed to sample data: Possible corruption: Must be v2, empty, or compact and ordered. Flags field: 1000, SerVer: 3 when trying to ingest the datasketch serialized using the datasketches-cpp (quantiles branch) into Druid

I think the serialize function might be missing an "ordered" parameter to which dictate if the base_buffer should be sorted or not before serializing the datasketch

I have been testing (locally) with the latest version of Druid. I think it is using the datasketches java library in its quantile datasketches extension as I got the same error when I tried to deserialize the data serialized using the quantile datasketches c++ library.

Ah-ha.. I think I misread the error message. It's an OR of those conditions (with "compact and ordered" as one). Ugh, that means there's a side-effect of sorting on a const method. Was hoping to avoid that :(

Yeah I also had to read it twice to fully understand the message first I read it.

I still don't have any large-scale characterization tests to ensure things work, but I was at least able to load serialized c++ sketches directly in java just now. Merging and a python wrapper will happen before I do characterization -- the goal is to use the latter for non-speed characterization tests.

I owe an update here. Been busy with other stuff and fighting to make time for this. I think the sketch in the branch is working as expected. I dunno how performant it is, but I'm running an accuracy test now and so far it seems to be matching the old data we have on the website for the java version.
I'm a bit less confident that merging is always correct. I mean I certainly think it is or I wouldn't have started testing things, but I don't have a standard test suite with mixing sketches with different values of k, for instance.
The upshot is that I am (finally) confident that this is almost ready to be merged. And I think we'll try to cut a release very soon thereafter, although that'll probably involve reconciling some minor conflicts.

Did enough testing to submit PR #271


Update element samples to consume new features (Text Heading, etc)

Updating samples to use labels will address these accessibility bugs: 24045031, 35357399, & 33779637
Updating samples to user error messages will address this accessibility bug: 35368881
Updating samples to use tables will address this accessibility bug: 24096492

33779637 is an iOS bug so it is out of scope.

Mind filing an issue to specifically track that one? That way we can close this one once everything else is fixed.

Mind filing an issue to specifically track that one? That way we can close this one once everything else is fixed.

Good call, done!


Get access token in facebook tab

I have implemented the login via redirect without problems. That works great with the next steps:

A login URL is generated with the requested permissions.
When a usar clicks on the link, and approve the permissions, a callback receive the access token from facebook using $fb->getAccessTokenFromRedirect();.

I have other route specially for the facebook tab. If the user have logged in before, there aren't problems.
But if the user never have been logged into the app, the token is null when I use:
$fb->getPageTabHelper()->getAccessToken();
At this point how I can request the user to accept the permissions? (The user is authenticated in facebook and see the facebook tab page).

Hey @JCarlosR! If the user has already authorized your app but has denied a specific permission, the only way to ask for the permission again is with a rerequest url. Otherwise if they are authenticated with your app but were never presented the permission, a normal login link will work.
You can also check the /me/permissions edge on the User node to see what permissions the user has approved.
I hope that helps! :)

@SammyK Thanks for your help.
I perform a redirect in my controller using the following lines:
$callbackUrl = url('/facebook/callback?promotion='.$promotion->id, [], env('REDIRECT_HTTPS'));
$loginLink = $fb->getRedirectLoginHelper()->getLoginUrl($callbackUrl, ['email', 'user_location', 'user_likes']);

$htmlResponse = "<script>" .
  "window.top.location = '$loginLink';" .
   "</script>";
return $htmlResponse;

But after the user grants the permissions, an empty page shows the next message:

"Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request"

I have added a GET parameter in my callbackUrl because this param exists in the previous page and I don't want to lose its value.


Add Scroll to top before transition start

Js newbie here, so excuse moi the dumb question ;D
Trying to add scrollTop before the transition start in the fade example below (got it on http://barbajs.org/transition.html). Right now this code works but the new page opens on random content.
var FadeTransition = Barba.BaseTransition.extend({
  start: function() {
    /**
     * This function is automatically called as soon the Transition starts
     * this.newContainerLoading is a Promise for the loading of the new container
     * (Barba.js also comes with an handy Promise polyfill!)
     */

    // As soon the loading is finished and the old page is faded out, let's fade the new page
    Promise
      .all([this.newContainerLoading, this.fadeOut()])
      .then(this.fadeIn.bind(this));
  },

  fadeOut: function() {
    /**
     * this.oldContainer is the HTMLElement of the old Container
     */

    return $(this.oldContainer).animate({ opacity: 0 }).promise();
  },

  fadeIn: function() {
    /**
     * this.newContainer is the HTMLElement of the new Container
     * At this stage newContainer is on the DOM (inside our #barba-container and with visibility: hidden)
     * Please note, newContainer is available just after newContainerLoading is resolved!
     */

    var _this = this;
    var $el = $(this.newContainer);

    $(this.oldContainer).hide();

    $el.css({
      visibility : 'visible',
      opacity : 0
    });

    $el.animate({ opacity: 1 }, 400, function() {
      /**
       * Do not forget to call .done() as soon your transition is finished!
       * .done() will automatically remove from the DOM the old Container
       */

      _this.done();
    });
  }
});

/**
 * Next step, you have to tell Barba to use the new Transition
 */

Barba.Pjax.getTransition = function() {
  /**
   * Here you can use your own logic!
   * For example you can use different Transition based on the current page or link...
   */

  return FadeTransition;
};

any idea??

@yelapijo You can scroll to the top of the page before the fade in like this:
  fadeIn: function() {

    $(window).scrollTop(0); // scroll to top here

    var _this = this;
    var $el = $(this.newContainer);

    $(this.oldContainer).hide();

    $el.css({
      visibility : 'visible',
      opacity : 0
    });

    $el.animate({ opacity: 1 }, 400, function() {
      /**
       * Do not forget to call .done() as soon your transition is finished!
       * .done() will automatically remove from the DOM the old Container
       */

      _this.done();
    });

As long as you put $(window).scrollTop(0); before the animate function you should be fine.

I also recommend adding this too:
if ('scrollRestoration' in history) {
    history.scrollRestoration = 'manual';
  }

What this does is it prevent Chrome from jumping to the last scroll position when pressing the back button. Without it, even when scrolling to the top of the page with jquery Chrome will remember the last scroll position causing issues with your animation.

@factorzero it did the trick! thank you 👍

This solution is not working for me. I am not using jQuery, and animations are using gsap-promise along with standard GSAP TimelineLite. I have also imported the scroll-restoration-polyfill.
Here's my code:
  const FadeTransition = Barba.BaseTransition.extend({
    start() {
      Promise.all([
          this.newContainerLoading,
          this.animateOut()
        ]).then(this.animateIn.bind(this));
    },

    animateOut() {
      return animate(this.oldContainer, 0.5, { autoAlpha: 0 }).then(() => window.scrollTo(0, 0));
    },

    animateIn() {
      return new TimelineLite({
        onComplete: () => {
          this.done()
        }
      })

      .set(this.oldContainer, { display: 'none' })
      .set(this.newContainer, { autoAlpha: 0 })
      .to(this.newContainer, 0.7, { autoAlpha: 1 })
    }
  });

  Barba.Dispatcher.on('newPageReady', function(current, prev, container) {
      history.scrollRestoration = 'manual';
  });

Clicking through links in the site without scrolling is working perfectly, however as soon as I scroll down and click a link, the scroll position remains the same. Also, even with history.scrollRestoration = 'manual', pressing the back button still restores my previous scroll position. I am using Chrome 60. Would really appreciate any assistance!

@factorzero Man you saved my day! Thanks so much. This works also on Barba v2


Improve publish workflow

Right now the workflow super straightforward but I feel it's time to add something like Changeset into the repo.
I do want to create my own to play around with Github actions...

Done!


Collection is always empty

Documentation is extremely poor and is hard to understand for beginners like me.
First I tried to paginate by category but a deprecation warning occurred -> #35
Now I tried to paginate by collection but the paginator.collection_name is always empty even if there is a post in it.
Folder structure
root
- collection/
--- _howtos/
------ how-to-remove-virus.md
--- howtos.html

howtos.html
---
layout: default
page_title: how-tos
paginate: true
paginate:
  collection: howtos
  per_page: 1
  limit: false
  permalink: /:num/
---

{{ paginator }}

Output:
{"howtos"=>[], "page"=>1, "per_page"=>1, "limit"=>false, "total_howtos"=>0, "total_pages"=>0, "previous_page"=>nil, "previous_page_path"=>nil, "next_page"=>nil, "next_page_path"=>nil}

I get it, my folder structure was wrong:
root
- _howtos # all posts goes inside this folder

And now it works.
{"howtos"=>[#], "page"=>1, "per_page"=>1, "limit"=>false, "total_howtos"=>1, "total_pages"=>1, "previous_page"=>nil, "previous_page_path"=>nil, "next_page"=>nil, "next_page_path"=>nil}


Block travel

Hello,
is there key binding / plugin which enables traveling between blocks of code (along with selection)?
Image to describe what I mean:

Plugin which provides this functionality in Atom editor: http://blog.atom.io/2014/03/04/this-week-in-atom-packages.html#block-travelhttpsatomiopackagesblock-travel-by-leejarvishttpsgithubcomleejarvis

love this, it's hard to use an editor without it now. any solution found?

I wrote the original Atom package because I can't live without this, but it doesn't seem to be a popular request. I've recently picked up VSCode but this is holding me back a little. I'll have a shot at writing a plugin soon I hope

Oh, I guess this already exists: https://marketplace.visualstudio.com/items?itemName=sashaweiss.block-travel -- not sure why it wasn't showing up for me previously. Giving it a whirl now

That extension works well for me. I think this can be closed. Thank you @sashaweiss

Oh cool, thanks @leejarvis for pointing that out.

Thanks for the mention - glad you're enjoying!


[BUG] App submission validation step (linting) fails if PR comes from external fork

Bug / Problem
Github workflow "app-submissions.yml" is responsible for ensuring integrity of the incoming app-submission:

json manifest correct
checking compatibility of native apps with different WebOS versions

As part of this checking, the workflow will attempt to post a report to the respective Pull Request discussion. example
For updating a PR from a workflow, write permissions are necessary.
Write permissions are automatically given for internal PRs, e.g. branches of the main repo.
For external forks these permissions are not given.
Attempted steps to fix the issue

Updated actions/github-script from v5 to v6
Explicitly set permissions, pull-requests: write for the app-lint CI job
Ensured correct permissions for PRs of this repo (https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)
Attempted to set workflow trigger to pull_request_target instead of pull_request... but as the name suggests, this will run the workflow on the target of the PR, not on the to-be-merged codebase, e.g. the incoming change cannot be linted.

See: (https://github.com/webosbrew/apps-repo/commit/2342301b206313f0976d0c5f5be630b4fbc2ac7e)
Issue on the actions/github-script repo: (https://github.com/actions/github-script/issues/42)
Current behaviour
App linting step fails with the following error when attempting to post a message to the PR discussion:
Resource not accessible by integration
Expected behaviour
PR gets properly updated with the "app lint" compatibility card.

Should be fixed now. Do you want to give it a shot?

Indeed it does :)


Move in OpenWhisk plugin from the external repo

We could probably now reconsolidate some of the Apache Openwhisk plugins from https://github.com/kui-shell/oui


Remove 'ResetSystemProbeConfig' function in favor of the config mocks

What does this PR do?
Having multiple ways to create a mock of the config makes the code base difficult to maintain and is error prone.
Having a single way to create a mock also ease the transition to components.
Describe how to test/QA your changes
This only impacts the tests, CI should be enough

/merge


Allow context type override

The context property is of type unknown. Setting a custom context type should be possible as such:
type MyType = { a: string, b: boolean };
const bind = useLongPress<Element, LongPressCallback<Element, MyType>, MyType>(
  (event, { context }) => { /* context should have type 'MyType' */ }
);

But this fails:
Type 'LongPressCallback<Element, { a: string, b: boolean }>' does not satisfy the constraint 'LongPressCallback<Element, unknown>'.
Type 'unknown' is not assignable to type '{ a: string, b: boolean }'.

By setting the useLongPress Callback type to include any without changing its default value, the context type is overwritable while keeping the default unknown when no type parameters are specified.

Hey, thanks for the PR and taking notice on those typings. Although any solves this problem there is even a better solution  - passing Context, see #42

Forcing the bind and the callback to use the same context type, that's a good improvement!
Would you also consider having Context as the first type parameter? I think most people are not that interested in setting a different Target or Callback type, but we need to supply them to reach Context. Having it first would simply allow useLongPress<MyType>(/* ... */).

Now you can also just suppy a Context and a Target type, and let TS figure out the Callback type!

Yes, I was considering it but that would require to bump major version because it would break backward compatibility. I was also considering handling it on TS overloads but it would get ugly. I will do it for sure in the future, but for now will stick with the Context passing fix.

Closing as it was resolved in #42 and future improvements are addressed in #43


[3.x] Fix UI responsiveness to touch taps

Make tab's close button responsive to touch taps
Make layer and mask properties responsive to touch taps

Fixes Close a Scene and Modify a Mask property issues in https://github.com/godotengine/godot/issues/73707
main version

Code looks fine. I didn't test if it works, but I assume you tested it :P

Yep, and validated that the glitch you observed in the 4.x version was also addressed in this version.


2022-08-05 BryanSoltis - Updated Azure Naming Tool to Version 2.1.0

Version 2.1.0 Updates

Updated RequestName API function to only require basic text for name generation. This simplifies name generation via the API
Created RequestNameWithComponents API function for legacy name generation
Moved Admin Log Message and Generated Name logging to new LogHelper class
Updated API documentation
Updated GitHub documentation to separate files

README.md - Overview of the Azure Naming Tool
INSTALLATION.md - Instructions for installing the Azure Naming Tool
UPDATING.md - Instructions for updating an installation
USINGTHEAPI.md - Instructions for integrating with the APU

Notification: @dominicallen @jocontr

Merging, following @jocontr review


Further improve the right panel

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡

There are 3 sections ID, Layout, Properties and most used among these is properties, we should give it more visual importance. Some suggestions:

Instead of Component: Text, we should just show the name of the component (inline editable) and this name should come on the red box we show on canvas for each component. ID can be inside ellipses as it is rarely used.
Properties should come next and Layout should be at the bottom and can also be collapsed by default.
It is LAYOUT: and PROPERTIES: right now, I think we can remove ":"
Maybe the spacer lines in between should be touching the edges?
For sx we can have a new section STYLING also add helper icon that can take user to MUI sx page.
Since the panel is resizable, the thinnest panel looks weird, should we do something about it?
In the side panel, when I write in a Value text input prop, the writing experience can be improved for long text. In retool, appsmith the box size keeps increases and let's the user view entire text without scrolling left/right.
Link each component to the MUI component documentation.

Examples 🌈
No response
Motivation 🔦
No response

User feedback:
I'd arrange it based on:
Whether it is a "feature" prop (e.g. enable/disable functionality about the component)
Whether it is a "styling" prop (size / density / height / sx / etc)
I'd even potentially further break this down into "HTML styling props" (raw html attributes) vs "component built in styling props")
Whether it is a "connector" prop (e.g. connects data to the component in question)
Whether it is an "action" prop (onDelete, onRowClick, etc)


Can't inhibit charging on sleep mode

After macOS Sequoia update app stopped inhibit charging on sleep mode. I enabled charge limit on sleep mode.

I have noticed the same issue

It's really huge problem makes the application non-functional. We are waiting fix asap @rurza 🙏

Yeah its happened after the Mac OS Sequoia update.

Hey folks!
Did you tried the latest BatFi Beta? :)

@rurza I just got an update for version 2.1.0. Read the patch notes. Thank you.

Hey folks! Have you tried the latest BatFi Beta? :)

Now, inhibit charging on sleep mode is completely disappear anyone know how to turn it back?

I think it's removed.
Anyone using this version of macOS, or those who updated it on a separate volume, will lose this functionality, even when running macOS 13 or 14. The update hides the toggle switch in the app’s settings for macOS 15 users

@rurza I saw on another app, there is another option for stop charging when Mac goes sleep instead of limit charging. Can you add it to BatFi?

Please update the app to the latest version. Everything is explained in the changelog.


Add missing Rhino main package

In order to use Rhino specific classes in scripting, it's necessary expose this package.

Can one of the admins verify this patch?

This is ok to test

Linux Build 136 is now running using a merge of 2d53a0718c39c13f91afd9dd7cf7c7fe5f88269a

Linux Build 136 outcome was SUCCESS using a merge of 2d53a0718c39c13f91afd9dd7cf7c7fe5f88269a
Summary: Tests passed: 5833, ignored: 80 Build time: 1:33:02


fix: Improve etcd logging

With the old implementation our logger gets the entire json as message:
{
  "level":"warn",
  "time":"2024-06-20T10:09:28.823Z",
  "message":"{\"level\":\"warn\",\"ts\":1718878168.8237646,\"msg\":\"retrying of unary invoker failed\",\"target\":\"etcd-endpoints://0xc00065e780/etcd:2379\",\"attempt\":0,\"error\":\"rpc error: code = Canceled desc = grpc: the client connection is closing\",\"component\":\"etcd.client\"}",
  "component":"etcd.client"
}

The new implementation solves it better:
{
  "level":"warn",
  "time":"2024-06-20T12:36:14.912Z",
  "message":"retrying of unary invoker failed",
  "target":"etcd-endpoints://0xc0016fcb40/etcd:2379",
  "attempt":0,
  "error":"rpc error: code = Canceled desc = grpc: the client connection is closing",
  "component":"etcd.client"
}

I would try to get there the zap core there, without unnecessary hacking.
Maybe some separate log.LoggerWithZap interface?
If we switch to another logger implementation, it will be resolved at this point later, ... e.g. zap -> slog adapter will be used.

ping @Matovidlo


optimize: cancel required_status_checks

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9a58770) 48.99% compared to head (cfac53d) 48.98%.

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

Additional details and impacted files

@@             Coverage Diff              @@
##                2.x    #6200      +/-   ##
============================================
- Coverage     48.99%   48.98%   -0.01%
+ Complexity     4782     4777       -5
============================================
  Files           915      915
  Lines         31892    31892
  Branches       3853     3853
============================================
- Hits          15624    15621       -3
- Misses        14706    14713       +7
+ Partials       1562     1558       -4

see 5 files with indirect coverage changes


It's pretty hard to make a lexer using Data.Text

Although the parser is rather easy to use to export Text from Data.Text, the Text.Parsec.Token library is rather hard to use to create a lexer using Text.
I'm not exactly sure how to make the change as of yet -- I'd love to be guided into making the change -- but it would be wonderful if we could somehow parameterize either makeTokenParser or emptyDef so that it would be easier to create a lexer that can handle to the Text type rather than the String from Prelude.
I would love for someone to correct me if I'm wrong and this is doable with the current libary, but at the same time I feel that it could potentially be a reason someone might look somewhere else. Perhaps having an easy way of creating a Text consuming lexer could be a boon to Parsec.

See mrkkrp/megaparsec#106 for a similar discussion (I think it's applicable to Parsec too).


Triage access for wendywx

Triage access
👋 I am a defund12.org collaborator requesting triage permissions so I can assist in reviewing/editing and email dev, wherever efforts are needed most.
Contributions so far:
Email:

https://github.com/defund12/defund12.org/pull/1143
Review:
https://github.com/defund12/defund12.org/pull/1077
https://github.com/defund12/defund12.org/issues/928
https://github.com/defund12/defund12.org/issues/1004
https://github.com/defund12/defund12.org/issues/773
https://github.com/defund12/defund12.org/issues/914
https://github.com/defund12/defund12.org/issues/554
https://github.com/defund12/defund12.org/issues/898
https://github.com/defund12/defund12.org/issues/863

Giving you triage access now!

Thanks @bingbongle !


Turn off hover lexicon info

The scripture card shouldn't show the hover over for the aligned words

Notes:

Klappy said there was a toggle in scripture-resource-rcl

Notes:

Klappy said there was a toggle in scripture-resource-rcl


Codec support in Avro-C

Hi there,
We've added codec (compression) support to avro-c!
Please let us know what should be changed/fixed/etc

Lucas Martin-King (Experian Hitwise)
Michael Cooper (Experian Hitwise)

The changes are now in trunk, closing pull request.
The commit was: fdcb6c279bbc966d0d919333de43aa2f849d62e0


Intermittent connection timeouts and nginx ingress-controller configuration

What kind of request is this (question request):
Question: We have our HA Minio data storage on our Rancher managed k8s cluster. From outside cluster we are trying to access Minio using nginx ingress-controller and getting intermittent connection timeouts.
Snippet from etc/nginx/nginx.conf in one of the nginx-ingress-controller pods is as below:
pid /tmp/nginx.pid;
daemon off:
worker_processes 96;
worker_shutdown_timeout 10s;
events {
multi_accept               on;
worker_connections   16384;
use                              epoll;
}
To resolve the timeout issue, we need to modify
worker_processes 96;
to
worker_processes auto;
What needs to be done to make this change happen and so the change effect will pass to the down stream cluster.
Steps to reproduce (least amount of steps as possible):
Result:
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

Configuration options for ingress are documented at https://rancher.com/docs/rke/latest/en/config-options/add-ons/ingress-controllers/#configuring-nginx-ingress-controller, how to apply those changes to a cluster is described at https://rancher.com/docs/rancher/v2.x/en/cluster-admin/editing-clusters/#editing-clusters-with-yaml


New releases?

Would it be possible to make a new releases?

Just released v0.8. Sorry about the delay; this project is a bit neglected these days, but only by me, because this release contains a lot of great new features and fixes. Thanks, everyone!

why is this still installing 0.6.1 ?
11:21 $ brew install terraform-inventory
==> Downloading https://homebrew.bintray.com/bottles/terraform-inventory-0.6.1.mojave.bottle.tar.gz
Already downloaded: /Users/husaynarrah/Library/Caches/Homebrew/downloads/17f642cf3cf0fd9d67fc10b03b269ab8d971f9d13dda624c5fdebadcc2ae8e75--terraform-inventory-0.6.1.mojave.bottle.tar.gz
==> Pouring terraform-inventory-0.6.1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/terraform-inventory/0.6.1: 4 files, 2.8MB


Implementation of elimination and (2)QBF

Codecov Report

Merging #9 into master will decrease coverage by 2.62%.
The diff coverage is 95.16%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage     100%   97.37%   -2.63%
==========================================
  Files           4        8       +4
  Lines         122      229     +107
==========================================
+ Hits          122      223     +101
- Misses          0        6       +6

Impacted Files
Coverage Δ

aiger_analysis/__init__.py
100% <100%> (ø)

aiger_analysis/test_cadet.py
100% <100%> (ø)

aiger_analysis/test_analysis.py
100% <100%> (ø)
:arrow_up:

aiger_analysis/analysis.py
96.36% <88.88%> (-3.64%)
:arrow_down:

aiger_analysis/common.py
92.3% <92.3%> (ø)

aiger_analysis/cadet.py
94.54% <94.54%> (ø)

Continue to review full report at Codecov.

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

I'm going to merge. Please open another PR adding cadet to travis' path.

Thx. Was just about to, see new PR.


Open folder doesn't work

@deepak1556
The is no error in devtools console.
I see the error message:
2022-10-13 01:13:18.365 [info] update#setState idle
2022-10-13 01:13:20.199 [info] UtilityProcess<1>: Creating new...
2022-10-13 01:13:20.211 [info] UtilityProcess<1>: received spawn event.
2022-10-13 01:13:34.535 [info] UtilityProcess<1>: received exit event with code 0.
2022-10-13 01:13:34.535 [info] Extension host with pid 37068 exited with code: 0, signal: .
2022-10-13 01:13:35.441 [info] UtilityProcess<2>: Creating new...
2022-10-13 01:13:35.451 [info] UtilityProcess<2>: received spawn event.
2022-10-13 01:13:48.368 [info] update#setState checking for updates
2022-10-13 01:13:48.756 [info] update#setState idle
2022-10-13 01:15:15.798 [info] UtilityProcess<2>: received exit event with code 0.
2022-10-13 01:15:15.799 [info] Extension host with pid 37478 exited with code: 0, signal: .
2022-10-13 01:15:16.702 [info] UtilityProcess<3>: Creating new...
2022-10-13 01:15:16.708 [info] UtilityProcess<3>: received spawn event.
2022-10-13 01:25:05.282 [info] UtilityProcess<4>: Creating new...
2022-10-13 01:25:05.287 [info] UtilityProcess<4>: received spawn event.
2022-10-13 01:25:16.950 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:25:23.473 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:25:33.688 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:28:02.414 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:28:18.405 [info] UtilityProcess<4>: received exit event with code 0.
2022-10-13 01:28:18.405 [info] Extension host with pid 39732 exited with code: 0, signal: .
2022-10-13 01:28:22.993 [info] UtilityProcess<5>: Creating new...
2022-10-13 01:28:23.002 [info] UtilityProcess<5>: received spawn event.
2022-10-13 01:29:39.519 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:29:40.972 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:29:43.098 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:29:45.014 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:29:48.879 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:29:58.046 [info] UtilityProcess<5>: received exit event with code 0.
2022-10-13 01:29:58.046 [info] Extension host with pid 39849 exited with code: 0, signal: .
2022-10-13 01:30:10.144 [info] UtilityProcess<6>: Creating new...
2022-10-13 01:30:10.148 [info] UtilityProcess<6>: received spawn event.
2022-10-13 01:30:33.984 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:30:34.915 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration
2022-10-13 01:31:56.812 [error] [DialogMainService]: file open dialog is already or will be showing for the window with the same configuration

Versions:
Version: 1.73.0-insider (Universal)
Commit: 56f631257cfafdd76acbf062654ae4d8ad32e221
Date: 2022-10-12T10:19:19.315Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 21.6.0
Sandboxed: Yes

https://user-images.githubusercontent.com/41773861/195409581-8f4c3d9a-880c-41f4-bf05-2aac385fe667.mov

Is this still happening with latest insiders ? Does dialog open when you try from insiders.vscode.dev ?

Not now


Broken Link

Hi,
The following link is broken:
"Integrating your on-premises identities with Azure Active Directory."

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

ID: 79589db3-4bf5-e940-0410-75d5f0ff97b8
Version Independent ID: e7980b96-bab3-981e-2da8-6e1bdde9ba31
Content: Prepare a non-routable domain for directory synchronization
Content Source: Enterprise/prepare-a-non-routable-domain-for-directory-synchronization.md
Service: o365-administration
GitHub Login: @robmazz
Microsoft Alias: robmazz

@lewislivingstone - Thanks for the feedback, this link has been fixed and updated.


Typos in the code

Hi Chris,
This is a good start. There are a few typo's in the code - for example "clear-varibable" in Controller.ps1. There are some non-English words appearing in the help files.  There are some references to Alletra9K when you mean Alletra5/6K. A suggestion - edit the code in VS Code with the PowerShell module installed. It'll will detect errors for you. As an added bonus, it will realign your code in accordance with best practice!
I'd be happy to contribute to this project to add functionality to the module, but you don't appear to be merging in pull requests. Let me know.

I really appreciate pointing these mistakes out to me. Yes I also use (and love) VS-Code, and use heavily the autocorrect features, but I am the only author of this toolkit, there is no team behind this, and its quite a task to write 6400 bug free lines. I am trying though. If you open more bugs like this to either the code or the documentation, I will endeavor to fix them quickly. I still can't believe I used clear-Varibable...That is just...funny.

I have just uploaded the fix for these :)


[feat] Support retrieving instance role ARN from an EC2 instance tag

Issue #, if available: #15, #55, #129
Description of changes:
In VPCs without a NAT Gateway, the current code will fail to resolve IAM instance roles that have a Path a because the Path is not returned from the IMDS. This code will look for a specific EC2 Instance Role tag (InstanceRoleArn) that will be used instead of calling iam:GetRole (which will fail in VPCs without NAT Gateways).
The risk of someone defining another IAM role and being able to download the private certificate should be mitigated by the fact that AssociateEnclaveCertificateIamRole wouldn't have been called allowing the IAM role to download the certificate from the S3 bucket.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@alcioa @shtaked would it be possible for someone to review this PR? This issue is preventing me from using nitro enclaves ACM inside a VPC without a NATGW, but with an IAM role that uses a Path


Cannot change a model value from an integer to a string

Open the following app (do not change the values in the text boxes)

http://gary-b.github.io/ng-version-test-apps/app/v3/index.html

Open batarang and select scope.$id=5
Expand the 'a' object in the json tree

Note that the value is currently the integer 1.

Change the value to be "hello" and press enter

Note it looks like the value has successfully changed in batarang.

Click on scope.$id=6 and then back to scope.$id=5

Note that the value is back to 1
(If you change it to another number rather than a string, the number will persist)

OK, so i was not including the quotations around the text that i was inputting, silly me. Would be nice to have some better feedback than just the dud value staying around until the jsonTree is next refreshed. If you enter the expression 30 + 30 the jsonTree immediately updates to 60, presumably as the model successfully updates and a model:change event is emitted. In this case, because evaluation of the string without quotes fails, everything stops in its tracks. I don't see a quick way to detect if that evaluation failed (chrome.devtools.inspectedWindow.eval() always returns null).


option to ignore local?

when debugging a script, often I want to copy blocks of code and run interactively in the trepl.  However, I can't run in the repl via copy+paste, because things declared local in a script cannot see each other when run in the repl.  Is there, or is there any interest, in adding a flag to ignore local so script blocks can be tested in the repl?

it's an interesting proposition, and i've definitely had to remove local when copy-pasting code in the interpreter. if facilitated via a separate flag, seems like a useful addition.

Another perspective is to do a multiline paste, so that local scopes are not lost with every line. IPython does this nicely with %paste and %cpaste. Having a similar functionality in trepl would be clutch for many workflows. I tried this with iTorch 4.1.1 but couldn't get it to work.


#103 technology entity

Resolved #103

Codecov Report

Merging #104 (df636e1) into main (ca06122) will increase coverage by 7.19%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #104      +/-   ##
============================================
+ Coverage     24.40%   31.60%   +7.19%
- Complexity       48       56       +8
============================================
  Files            31       32       +1
  Lines           381      386       +5
  Branches          3        3
============================================
+ Hits             93      122      +29
+ Misses          288      264      -24

Impacted Files
Coverage Δ

...main/recruitment/domain/technology/Technology.java
100.00% <100.00%> (ø)

...enecia/domain/recruitment/code/TechnologyCode.java
85.71% <0.00%> (+85.71%)
:arrow_up:

Continue to review full report at Codecov.

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


mobile-app

This is not a complete page.

I have problems with the Accordion Block. I do not understand what the problem is.
I cannot position the "hr" element on the right under the heading "Quick Installation".
I do not know how to make the text of the two columns under the heading "Key Features" have left alignment on a mobile device, and on the computer the left column has right alignment.

Vika give the accordion div enough space, I added the class h-25


Country add Kosovo

can you please add country Kosovo to the list of countries?
Before requesting a new feature / a new sensor

[ ] The feature I'm requesting exists in the myVAILLANT app, and I attached a screenshot
[ ] I tested the latest release, and it's missing there
[ ] I've attached exported data of my system

Describe the feature you want
Please describe what you were trying to do, what happened, and what you expected to happen.
Screenshot
Attach a screenshot of the functionality in the myVAILLANT app.
Export data
Attach exported test data here

The simple solution is to update the src/myPyllant/const.py file in https://github.com/signalkraft/myPyllant
I suggest you also request to add Kosovo to the English language list in https://github.com/umpirsky/country-list. The script that updates the list of countries in https://github.com/signalkraft/myPyllant seems to be using the data/en/country.csv file for this.
After that, https://github.com/bulv1ne/country_list/ might need to be updated to get an updated list.


Validation for configuration constructor

Given this class
public class MyConfig extends Configuration {

  private final Map<String, String> map;

  public MyConfig(@NotNull @JsonProperty("map") final Map<String, String> map) {
    this.map = Map.copyOf(map);
  }
}

a NullPointerException occurs if the configuration file does not contain the key map. @NotNull on the constructor parameter should prevent this, but this annotation only works on the field, which is too late. (Adding @Valid to the constructor does not seem to have any effect.)
I’m using Dropwizard 2.0.0-rc10.

😟

…

@maffe Code contributions welcome. 😉
Also, have you tried adding @JsonCreator to your constructor? Otherwise Jackson might not use it at all.

Also, have you tried adding @JsonCreator to your constructor? Otherwise Jackson might not use it at all.

The parameterized (and only) constructor is used as long as the path to the config file is given on the command line:
https://github.com/dropwizard/dropwizard/blob/4e467e6f4de50dab897586727627e02ef0793788/dropwizard-core/src/main/java/io/dropwizard/cli/ConfiguredCommand.java#L125-L127 Even the @JsonProperty is not necessary when compiled with -parameters. The only problem is the validation which happens only after constructing.


Can't connect with ldap : "User already exist"

Since v0.6.0, ldap authentication is broken and cannot be used for more than the first login :

Auto registration and authentication works the first time
The second time the user tries to login, gogs tries to recreate this user if authentication is successfull, which leads to

2015/03/23 13:55:00 [D] LDAP Authen OK: username
2015/03/23 13:55:00 [W] Fail to login(username) by LDAP(ldap): User already exist

If auto registration is disabled, authentication fails every time, without any warning about invalid credentials in the logs

Just to be precise, I'm using the new ldap feature and mapped all the "attribute" fields under the ldap authentication section.

Thanks your report!
Are those two logs are printed by Gogs or you add them yourself?

They're printed by gogs, I simply copy/paste the relevant output from ./gogs web

Can you see the user you're trying log in from database?

Can't it be from this 00653e52ee078ae76872f722f056805fb75d98af, where the return of SearchEntry have changed ?
I'll check right now for the user.

Can't it be from this 00653e5, where the return of SearchEntry have changed ?

Could be, but I need to verify my thought first.

If user exists, based on https://github.com/gogits/gogs/blob/master/models/login.go#L178 , it should not do the create operation, and you can see from log LDAP Authen OK: username, so 00653e5 might work correctly.

LDAP Authen OK: username comes from the same function, before the return, see https://github.com/gogits/gogs/blob/master/modules/auth/ldap/ldap.go#L85
I can see the username in the database, with login_type set to 2 and login_source set to 1

LDAP Authen OK: username comes from the same function, before the return, see https://github.com/gogits/gogs/blob/master/modules/auth/ldap/ldap.go#L85

Code after this line return true always for indicate whether user is logged in or not.

By that, I meant the ldap authentication does not seems to be the issue, but to me it has to with the handling of the response somehow :)

I think I found the bug, lower_user of LDAP auto-registered user is not assigned. This field is used to check if user is existed with given username.

And I if leave 'username attribute' empty (the first field fullfilled is then the email), the errors now becomes
[D] LDAP Authen OK: username
2015/03/23 14:36:16 [W] Fail to login(username) by LDAP(ldap): E-mail already used

I've pushed fix develop branch, if you're using email to sign in cannot reproduce this issue(I guess this is how how other people are doing).

I'm not using email, but was just playing around and try to follow what's going on. I'll try to the fix and come back to you then !

@blemasle yeah, that's why you hit this bug :blush: take your time, and thanks for following up!

You may have fixed another bug, but I found the real cause of my issue.
When you add a new LDAP auth source their is a "auths.attributes" field which latter becomes "Username attribute" when editing that same source. Moreover, the first form miss all the new fields.
When I saw this I didn't think straight and take the "Username attribute" for a "display name attribute" (as I've already filled the attribute on which the user is bound) which results in a wrong value being filled.
Anyway, there is no real issue here appart from the difference between the add and edit source form which could mislead the end-user ;)

@blemasle thanks for the feedback!
We should fix the UI, sorry about misleading!

No problem :)

Just push fix on master.

Great ! As you still need a feedback, I'll see if I can test it tomorrow !

@blemasle no problem.
PS: release v0.6.1 tomorrow for a critical bug fix, but we can wait one or two days after release.

@Unknwon unfortunately I can't get the thing to compile now and it's running late here. I'll definitly try again tomorrow with the v0.6.1 release

No problem

Seems all good to me !

@blemasle very well! Thanks for confirmation.

My issue is also resolved, tnx :)


Documenting secure boot, resinOS in boot menu for NUC

My attempt to install balena on an Intel NUC was blocked by secure boot being enabled on the device. I created balena-io/docs#1816 to describe the issue, and balena-io/docs#1817 to document a workaround. This work has brought up some issues, and I'd appreciate learning how to proceed.
The boot menu identifies the USB stick with balenaOS as 'resinOS', as you can see in the image on the docs PR. For documentation purposes, should we expect to see the OS identified as 'balenaOS'? Do we plan to make this change?
I see a similar issue for MS Surface Go in #280. Do we have any idea of the scope of this issue for documentation purposes? [Edit: I guess the workaround might be different, so they should be documented separately.]
Of course I'd also appreciate any comments on the proposed Note in the docs PR.
I probably should have documented the issue here. I'm happy to close 1816 in the docs repo and move it if that's useful.

Implemented by https://github.com/balena-os/balena-intel/pull/401
Will be available in 2.83.18+rev1 or higher


Fix Android WebView when using UTF-8 characters (garbled output)

The fix code is taken from the last line of https://stackoverflow.com/a/10831462/728287
I'm testing Ukrainian Cyrilic characters

Before
After

You can use this to test:
<WebView
  // source={{ uri: 'https://hostmaster.ua/' }} // no currently an issue with websites
  source={{
  html: `
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0">

      <button id="btnSubmit">Створити картку</button>
    `,
  }}
/>

Thanks for the fix 👍