Regression after v0.12.0 when building with -L

I have KO_DOCKER_REPO set to kind.local but -L should ignore that:
# v0.12.0 works as expected
ko build -L -B ./test/images/client
2023/01/12 20:54:43 Using base distroless.dev/static:latest@sha256:17844d8faa68296eddddad9c1678edaf18cc556433d68c5bd3808a6efac200a8 for github.com/embano1/vsphere/test/images/client
2023/01/12 20:54:43 Building github.com/embano1/vsphere/test/images/client for linux/amd64
2023/01/12 20:54:44 Loading ko.local/client:28ef4a0531d955256b7ecc4d2456ebc0f9d78a4b857d718463310ae42a87ee06
2023/01/12 20:54:44 Loaded ko.local/client:28ef4a0531d955256b7ecc4d2456ebc0f9d78a4b857d718463310ae42a87ee06
2023/01/12 20:54:44 Adding tag latest
2023/01/12 20:54:44 Added tag latest
ko.local/client:28ef4a0531d955256b7ecc4d2456ebc0f9d78a4b857d718463310ae42a87ee06

# main
ko build -L -B ./test/images/client
2023/01/12 20:56:03 Using base cgr.dev/chainguard/static:latest@sha256:17844d8faa68296eddddad9c1678edaf18cc556433d68c5bd3808a6efac200a8 for github.com/embano1/vsphere/test/images/client
2023/01/12 20:56:03 Building github.com/embano1/vsphere/test/images/client for linux/amd64
2023/01/12 20:56:04 Loading kind.local/client:271de10f98063055f5b53edf5f5df055abbba98f5b886434c34ec7439ccabd40
Error: failed to publish images: error publishing ko://github.com/embano1/vsphere/test/images/client: failed to load image to node "e2e-worker": command "docker exec --privileged -i e2e-worker ctr --namespace=k8s.io images import -" failed with error: exit status 1
ctr: image might be filtered out

Perhaps unsurprisingly this is the offending commit: https://github.com/ko-build/ko/commit/e03e4448befcbeb08d71c0bf89b72c6256ec7d02

@imjasonh IMHO still a slightly breaking change, see:
# v0.12.0
ko build -L -B ./publisher
2023/04/26 08:41:03 Using base distroless.dev/static:latest@sha256:6eba22e915f5859b03512dba29eb3ff6ae63a940c83783a0ac64eb0fb58cc356 for k8s-meetup-04-05-2023/publisher
2023/04/26 08:41:04 Building k8s-meetup-04-05-2023/publisher for linux/amd64
2023/04/26 08:41:05 Loading ko.local/publisher:d7e2e06cce0caed21af282caca0ee1b40b2d64ad0311dd61f217b45834c9ca50
2023/04/26 08:41:06 Loaded ko.local/publisher:d7e2e06cce0caed21af282caca0ee1b40b2d64ad0311dd61f217b45834c9ca50
2023/04/26 08:41:06 Adding tag latest
2023/04/26 08:41:06 Added tag latest
ko.local/publisher:d7e2e06cce0caed21af282caca0ee1b40b2d64ad0311dd61f217b45834c9ca50

vs
# HEAD
ko build -L -B ./publisher
2023/04/26 08:41:51 Using base cgr.dev/chainguard/static:latest@sha256:6eba22e915f5859b03512dba29eb3ff6ae63a940c83783a0ac64eb0fb58cc356 for k8s-meetup-04-05-2023/publisher
2023/04/26 08:41:52 Building k8s-meetup-04-05-2023/publisher for linux/amd64
2023/04/26 08:41:52 Loading kind.local/publisher:2afab5ac136bb98d48c9b9cdee9b125ceff6fe2a27e0a77dd7957ec698c0fd1e
2023/04/26 08:41:53 Loaded kind.local/publisher:2afab5ac136bb98d48c9b9cdee9b125ceff6fe2a27e0a77dd7957ec698c0fd1e
2023/04/26 08:41:53 Adding tag latest
2023/04/26 08:41:53 Added tag latest
kind.local/publisher:2afab5ac136bb98d48c9b9cdee9b125ceff6fe2a27e0a77dd7957ec698c0fd1e

Note the different registry names being used, i.e., ko.local vs. kind.local


Container group execute permissions

Required information

Distribution: Archlinux

Kernel version: 5.9.14
LXC + LXD version: 4.9
Storage backend in use: btrfs

Request
The container /var/lib/lxd/storage-pools/default/containers/foobar permissions are set to 100 as per
https://launchpad.net/bugs/cve/CVE-2016-1582 and https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1829071
However, afaiu any user in the lxd group is considered as having root.
Since users in lxd can access the socket, is there any reason to deny users in the group lxd access to the container itself? i.e. change the directory permissions to root:lxd '110'
Steps to reproduce

Make a container, user is in lxd group.
/var/lib/lxd/storage-pools/default/containers/
sudo \ls -la
cd foobar fails

I'm not really sure of the security implications of this, someone more knowledgeable can probably say why this is a bad idea

Some LXD daemons also run using the lxd group but then run apparmor confined to prevent access to things like the LXD socket. Relaxing filesystem access would make such cases more difficult to keep track of.
It's also quite plausible that in the future we will support tying individual uids accessing the socket to less privileged LXD roles.
For now we're implementing this through the TLS API first with Canonical RBAC and as part of #7898 for regular TLS auth too but we have recently started tracking connecting uids on the Unix API so we may one day make use of that too.
Anyway, short answer is that if there is no technical need for LXD to have a particular permission on the filesystem, we prefer not to give it. Users aren't supposed to directly access paths under /var/lib/lxd anyway (except for unix.socket) so we'd prefer not to encourage any such use :)


May 5 annoucement

Change the announcement title

Ah it's two separate commits somehow, the first edit and then the update. Not sure why that happened.

I was writing you an email when you I saw you posted the comment on how to resolve the two commits.  Thank you
I still feel like I am missing a step because the changes I made are not showing up on the staging site.  I changed the Title to "AgBioData data management survey" but on the home page under news the Title did not change.

It's fine - it just takes a while for the stating site to update after all the GA fuss, plus you'll have to hit f5 to get a good refresh since it's a static site. Nice work!


Updating all existing datasets to use LiveData

DOD: When Profile, Plantings, Login, and all other data sets use LiveData instead of static data

Waiting for merge, complete


Feature request: promise.finally()

Thoughts on adding a finally() method (or similarly named method) to the Promise API?
My particular use-case is for clean-up code that needs to always run after an m.request() call regardless of anything that occurs further up the chain.
Or is there already an idiomatic Mithril-way to do this?

@lhorie Any thoughts on including this? If this is something you'd consider adding, I could take a stab at creating a pull request for it.

I've worked around this by doing m.sync([ myPromise ]).then( finalCallback ) which is a bit icky but works most of the time.

@maranomynet your example is not correct, no need of m.sync which is equivalent to Promise.all in ES6.
The method finally() is closer to something like myPromise.then(finalCallback, finalCallback); return myPromise;.
This request is related to:
#404 add catch() method
The idea is to be fully compatible with ES6 API.
And also partially to
#1 About Promise implementation in mithil
#228  add tap() method
and other issues about promises
If Mithril had a Promise A+ compliant implementation (meaning fully async), it would be easyer to have a 100% ES6 compatible API, and thus use Browser ES6 Promise when available.
May be it's time to use an external polyfill for Promise like https://github.com/jakearchibald/es6-promise
Browser support start to be quite good http://caniuse.com/#feat=promises

As I said, it's a workaround "which doesn't do the same thing". :)
But it provides a way to execute a .then() after a mithril promise has been finished.

@lhorie It seems like this is again gone in v1.0?

@franzliedke It's because it now bundles a conditional polyfill for the ES6 native promise instead of exclusively using its own implementation like it did in 0.2. You may want to keep tabs on a related ES proposal, though.


rework fuzzyC-methodStub creator

Is this ready for review and can't you explain what you're doing and why?

Sorry for the missing explanation! It is ready for review.
I pulled this out of https://github.com/ShiftLeftSecurity/codepropertygraph/pull/863
This reworks the fuzzyC methodStub creator. The old code is rather grown over time (per git history) by many people, and was therefore quite silly (when viewed on its own merits, i.e. without its history). During debugging of https://github.com/ShiftLeftSecurity/codepropertygraph/pull/863 I reworked this anyway, so better to merge the fruits of that labor than let it go to waste. The new code is much simpler and should be much faster.

So, why are we not using ParallelCpgPass anymore? I benchmarked this pass with and without ParallelCpgPass last time I touched it and it was considerably faster when using ParallelCpgPass.

I am 95% sure that this is a perf improvement, in addition to being a readability improvement.
I'll post benchmarks later, and we'll keep this PR open until your doubts are assuaged.

I'm getting daily reminders about this one, so, let's close it for now and reopen when the time presents itself.


On which server to deploy an app?

I know it's not a problem as such bot, but I need help.
On which server or where you recommend uploading a bot, a free server. I tried to upload it on heroku but it doesn't work, I don't know if it's my bot so it runs really well locally ...

There are several blogs/examples on other github pages on how to deploy bots built with this library.


Improvements to observability PR

Improving to initialization:

Initialization now only requires the app_id all the rest is optional.
You can now initialize with the help of config.toml create when running agenta init

Fixing issue with api_key

Reverted the changes from yesterday. Now the api_key provided by ag.init() is the one that will be used for initializing the client

Cleaning up agenta_init
Removing the initialization of variant_id: The logic there was wrong. We were always using the name of the variant provided at serve time. I removed the whole logic
Adding instrumentation of inputs to all functions even when not named
Reverting to @ag.entrypoint without parenthesis

Thanks for the review @aybruhm
Can you please try again. The issue you have discovered did not have anything to do with the entrypoint but with the initialization (ag.init).
I tried again with my example and it worked fine.

Thanks for the review @aybruhm Can you please try again. The issue you have discovered did not have anything to do with the entrypoint but with the initialization (ag.init).
I tried again with my example and it worked fine.

Great work, @mahmoud! I tested using the three options in the documentation, and everything is working fine!


WIP: only export symbols that are part of the API

"private virtual" methods need to be exported because the plugins will need to
access them at runtime.
We can't do this selective export of classes that are to be derived by plugins
(i.e. Subsystem, SubsystemObject and FormattedSubsystemObject):
For some reason I don't understand, the plugins require the "typeinfo" symbol
of these classes at runtime. Disassembling the code show that this symbol isn't
even used in the generated code but merely required by the dynamic linker...
Strangely, this increases the size of the ".text" section of the generated
library (not much but this is not what I expected nevertheless).....

[ ]   General Comment
<img border=0 src='https://avatars.githubusercontent.com/u/6862950?v=3' height=16 width=16'> I do not like this huge change for a minor gain: remove a warning. Should the warning not be disable until we have a true plugin api instead ?

This pull request is now managed with CodeReviewHub. Refresh.

I do not like this huge change for a minor gain: remove a warning. Should the warning not be disable until we have a true plugin api instead ?

@dawagner If you agree consider closing the PR.

@dawagner Do you intend on finishing this, or should it be closed ?

I'll reopen if we ever need this.


App frozen in taskbar

When I launch the app it creates the icon in the taskbar, but nothing happens when I right click the Icon or left click.
Any log I can post for you to see the issue?

You can run the app from command line and get logs!

C:\Users\uruloke\Downloads\audio-cast-1.0.0-win32-ia32>
Example app listening at http://<IP_ADDRESS>:29960
Selected Audio Device:
Spawned Ffmpeg with command: ffmpeg -list_devices true -f dshow -i dummy pipe:1
An error occurred: ffmpeg exited with code 1: dummy: Immediate exit requested
VIRTUAL DEVICE FOUND

It looks like it's just not detecting any Chromecasts, interesting..
Looking into it :)

Oh sorry, that is actually my bad..
I am not using an chromecast I am using an Nvidia Shield TV, I thought your application worked with all Google Cast enabled devices.

I'll look into this as well! I've never tested on Nvidia shield!

Nice, thanks for that!
Could be nice seing this working on Nvidia Shield TV, does it work on other Google Cast enabled devices then chromecast?

Experiencing a similar issue. I click on the icon and nothing pops up. I am trying to use this with a chromecast audio. Log info below:
Example app listening at http://<IP_ADDRESS>:52379
Selected Audio Device:
Spawned Ffmpeg with command: ffmpeg -list_devices true -f dshow -i dummy pipe:1
An error occurred: ffmpeg exited with code 1: dummy: Immediate exit requested
VIRTUAL DEVICE FOUND

Same here:
C:\Chromecast>
C:\Chromecast
Example app listening at http://<IP_ADDRESS>:1689
Selected Audio Device:
Spawned Ffmpeg with command: ffmpeg -list_devices true -f dshow -i dummy pipe:1
An error occurred: ffmpeg exited with code 1: dummy: Immediate exit requested
VIRTUAL DEVICE FOUND
I should probably mention that after I initially downloaded the software and ran it from the Downloads folder it worked. Then I moved it to the C:\Chromecast location and I get same behaviour as others.
I tried restarting, stopping service, etc.. nothing works.

Just managed to fix this after I searched the reddit forums:
You may have to modify the .bat file to unregister the .dll first. Edit the .bat so it looks like this.
regsvr32 -u %~dp0\audio_sniffer.dll /s
regsvr32  %~dp0\audio_sniffer.dll /s

I edited the "register_run_as_admin.bat" file, since it was the only .bat file packaged with the program. same issue when i execute the application.
Example app listening at http://<IP_ADDRESS>:59825
Selected Audio Device:
Spawned Ffmpeg with command: ffmpeg -list_devices true -f dshow -i dummy pipe:1
An error occurred: ffmpeg exited with code 1: dummy: Immediate exit requested
VIRTUAL DEVICE FOUND

@DrTzatziki
Mine stopped working again today. It was very fiddly anyway, i had to run the .bat file every single time after a reboot.
Now it refuses to do anything. I tried to experiment with the technology and if you are one for hacking, you can get it to work, but I def think this is a UI issue that needs fixing.

start audio-cast.exe from the console and you will get something like this:
C:\Chromecast>audio-cast.exe

C:\Chromecast>
C:\Chromecast
Example app listening at http://<IP_ADDRESS>:1883
Selected Audio Device:
Spawned Ffmpeg with command: ffmpeg -list_devices true -f dshow -i dummy pipe:1
An error occurred: ffmpeg exited with code 1: dummy: Immediate exit requested
VIRTUAL DEVICE FOUND

Take the URL from the output above: in my case - http://<IP_ADDRESS>:1883
Open that inside your Google Chrome. This is a live stream source that you need to press Play.
Using the official Cast extension, cast the tab containing the source.

You should now have a stable source of sound, you can also mute your speakers as this is a direct stream from your audio card. I know this is a major hack, but it's early days..
If dev requires further logs/data/explanations, please let me know.

Tried the URL method @ariestar (thanks), but I think I might be doing something wrong:
VIRTUAL DEVICE FOUND
Device requested: /
Spawned Ffmpeg with command: ffmpeg -f dshow -i audio=virtual-audio-capturer -ac
odec libmp3lame -f mp3 pipe:1
An error occurred: ffmpeg exited with code 1: audio=virtual-audio-capturer: Inpu
t/output error
ffmpeg version N-69406-ga73c411 Copyright (c) 2000-2015 the FFmpeg developers
built on Jan 29 2015 23:07:55 with gcc 4.9.2 (GCC)
configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/videostream
/Downloads/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config
--enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-libmp3
lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enabl
e-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libg
sm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --
enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --ext
ra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amr
wb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-lib
ilbc --prefix=/home/videostream/Downloads/sandbox/mingw-w64-i686/i686-w64-mingw3
2 --enable-static --disable-shared --enable-libsoxr --enable-fontconfig --enable
-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolam
e --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-
libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable
-libx265 --enable-decklink --extra-libs=-loleaut32 --extra-cflags= --extra-cflag
s= --enable-nonfree --enable-libfdk-aac --disable-libfaac --disable-decoder=aac
--enable-runtime-cpudetect
libavutil      54. 18.100 / 54. 18.100
libavcodec     56. 21.101 / 56. 21.101
libavformat    56. 19.100 / 56. 19.100
libavdevice    56.  4.100 / 56.  4.100
libavfilter     5.  9.101 /  5.  9.101
libswscale      3.  1.101 /  3.  1.101
libswresample   1.  1.100 /  1.  1.100
libpostproc    53.  3.100 / 53.  3.100
[dshow @ 041a3c20] Unable to BindToObject for virtual-audio-capturer
[dshow @ 041a3c20] Could not find audio only device with name [virtual-audio-cap
turer] among source devices of type audio.
[dshow @ 041a3c20] Searching for audio device within video devices for virtual-a
udio-capturer
[dshow @ 041a3c20] Could not find audio only device with name [virtual-audio-cap
turer] among source devices of type video.
audio=virtual-audio-capturer: Input/output error

I'll look into this once I'm back from vacation! Sorry for being quiet!

@acidhax Hi Mathieu, any news on this bug? You help is greatly appreciated.. Cheers

The good news is, I know how to fix it!
The bad news, I haven't fixed it yet!

There's multiple issues in this thread. For "BindToObject" here is where it'll be solved.
https://github.com/acidhax/chromecast-audio-stream/issues/5

@acidhax Any update on this issue, Mathieu? Is there more info we need to provide? I think it's something that everyone/most people experience at this point, otherwise it's brilliant.

Yep in a day or two I'll push the update :)

Maybe there is some progress?

Don't want to give you more headaches @acidhax, is there any chance we can get it working soon?

Sorry guys, had an accident, dislocated shoulder and all that fun stuff. I'll be working on it soon :(

@acidhax ahh, so sad to hear that Mathieu, I hope you are recovering well. Thanks for the update and I look forward to see the progress on this great kit. Thanks and get well soon.

URL method works if you use path without spaces and may be wothout admin rights requirement (not C:/ drive root for example). In my case I placed app on the SD card. But that''s rather uncomfortable.

Eagerly awaiting a fix for this as well

@acidhax How are you recovering, my friend? I hope you are well..

Hi there,
I have the same issue and would appreciate it so much if you could fix the problem. Thank you a lot for your work!

As reported by ariestar, that is the same issue I have. This is a damn good little application and I would also be willing to pay for a version that works every time. right now, I reckon it loads correctly 1 in 10 times and the other 9 times, I use the work around described by ariestar. thank you for the app and I look forward to seeing a more polished version soon! thanks, DaveB


Enhance SmoothQuant tuning structure.

Type of Change
feature
Description
New implement can avoid duplicated calibration of SmoothQuant, and especially for IPEX, it avoids a deepcopy of fp32 model for SmoothQuant, we can apply scale to the prepared model directly.
alpha = [0.5, 0.55, ...]

After:
1. FP32 smoothquant -> (i_max, w_max), alpha-> scale
2. query capability ->prepared model

for a in alpha:
    3. quantize
        (i_max, w_max) +a -> scale
        torch.mul(scale)
        scale -> json
        convert
         eval_func

Before(abandon):
1.query capability ->prepared model
for a in alpha:
    2. FP32 smoothquant -> (i_max, w_max), alpha-> scale
    3.  quantize
        prepare
        convert
         eval_func

Expected Behavior & Potential Risk
UT pass
How has this PR been tested?
local test
Dependency Change?
N/A

Good initiative @xin3he . For the new one (this PR), shall we expose below APIs (no loop) to end users? We can provide both high-level APIs for beginners and low-level APIs for advanced users. @wenhuach21 requested this feature before.

FP32 smoothquant -> (i_max, w_max), alpha-> scale
query capability ->prepared model
quantize ...

Good initiative @xin3he . For the new one (this PR), shall we expose below APIs (no loop) to end users? We can provide both high-level APIs for beginners and low-level APIs for advanced users. @wenhuach21 requested this feature before.

FP32 smoothquant -> (i_max, w_max), alpha-> scale
query capability ->prepared model
quantize ...

It's not easy, The most important thing is pass the infos, such as SQ scale and FP32 add, to ipex_config.json. Right now, updating fallback info and updating SQ info are implemented seperately in two function which need to be merged and these two rely on a specific tune_cfg from strategy. We need to plan a better structure on updating ipex_config.json, which requires some resource to design.

Good initiative @xin3he . For the new one (this PR), shall we expose below APIs (no loop) to end users? We can provide both high-level APIs for beginners and low-level APIs for advanced users. @wenhuach21 requested this feature before.

FP32 smoothquant -> (i_max, w_max), alpha-> scale
query capability ->prepared model
quantize ...

It's not easy, the most important thing is how to pass the infos, such as SQ scale and FP32 add, to ipex_config.json. Right now, updating fallback info and updating SQ info are implemented seperately in two function which need to be merged and these two rely on a specific tune_cfg from strategy. We need to plan a better structure on updating ipex_config.json, which requires some resource to design.

Ok to go with this first.

UT test: python test/algorithm/test_smooth_quant.py TestTuneSqAlpha.test_tune_sq_alpha


commands.psubscribe("keyspace@?:mykey:*") Does not support

Commands. Psubscribe ("__keyspace@? __:mykey:"); Can only be set to commands. Psubscribe ("keyspace@0:mykey:"); Jedis can support wildcards, when can lettuce be supported
lettuce version ==> 5.1.8

If you would like us to spend some time helping you to diagnose the problem, please spend some time describing it and, ideally, providing a minimal sample that reproduces the problem.

for example:
RedisURI redisURI = RedisURI.builder()
                .withHost("localhost")
                .withPort(6379)
                .withTimeout(Duration.of(10, ChronoUnit.SECONDS))
                .build();
RedisClient redisClient = RedisClient.create(redisURI);
StatefulRedisPubSubConnection<String, String> connection = redisClient.connectPubSub();
 connection.addListener(new RedisPubSubAdapter<String, String>() {
            @Override
            public void message(String channel, String message) {
                super.message(channel, message);
            }

            @Override
            public void message(String pattern, String channel, String message) {
                super.message(pattern, channel, message);
            }

            @Override
            public void subscribed(String channel, long count) {
                super.subscribed(channel, count);
            }

            @Override
            public void psubscribed(String pattern, long count) {
                super.psubscribed(pattern, count);
            }

            @Override
            public void unsubscribed(String channel, long count) {
                super.unsubscribed(channel, count);
            }

            @Override
            public void punsubscribed(String pattern, long count) {
                super.punsubscribed(pattern, count);
            }
        });
   RedisPubSubCommands<String, String> sync = connection.sync();
   sync.psubscribe("__keyspace@0__:mykey:*");   // not support   **sync.psubscribe("__keyspace@?__:mykey:*");**

I want to support publish and subscribe to support wildcard database name, but I test the database name that does not support wildcard, only support fixed database name, like: keyspace@0:mykey:*

for example:
RedisURI redisURI = RedisURI.builder()
                .withHost("localhost")
                .withPort(6379)
                .withTimeout(Duration.of(10, ChronoUnit.SECONDS))
                .build();
RedisClient redisClient = RedisClient.create(redisURI);
StatefulRedisPubSubConnection<String, String> connection = redisClient.connectPubSub();
 connection.addListener(new RedisPubSubAdapter<String, String>() {
            @Override
            public void message(String channel, String message) {
                super.message(channel, message);
            }

            @Override
            public void message(String pattern, String channel, String message) {
                super.message(pattern, channel, message);
            }

            @Override
            public void subscribed(String channel, long count) {
                super.subscribed(channel, count);
            }

            @Override
            public void psubscribed(String pattern, long count) {
                super.psubscribed(pattern, count);
            }

            @Override
            public void unsubscribed(String channel, long count) {
                super.unsubscribed(channel, count);
            }

            @Override
            public void punsubscribed(String pattern, long count) {
                super.punsubscribed(pattern, count);
            }
        });
   RedisPubSubCommands<String, String> sync = connection.sync();
   sync.psubscribe("__keyspace@0__:mykey:*");   // not support   **sync.psubscribe("__keyspace@?__:mykey:*");**

I want to support publish and subscribe to support wildcard database name, but I test the database name that does not support wildcard, only support fixed database name, like: keyspace@0:mykey:*

Your pattern doesn't match the Redis keyspace notification conventions:
1) "pmessage"
2) "*"
3) "__keyevent@0__:expire"
4) "mykey"
1) "pmessage"
2) "*"
3) "__keyspace@0__:mykey"
4) "expired"
1) "pmessage"
2) "*"
3) "__keyevent@0__:expired"
4) "mykey"

Check out the docs at https://redis.io/topics/notifications.

jedis version 2.6.2 is support jedis.psubscribe("keyspace@?:mykey:*") but lettuce  5.1.8 not support


List gitar amps and allow for inline execution of specific amp

Ex:

gr amps list
gr amps exec auto-mr to run the auto-mr amp.

Implemented in #236


CLI create-package command

Alright, so the last piece of the puzzle for Swift Packages would be the CLI.
Since the cli crate is currently empty, I suggest we use Clap. I've used this before, and it's really easy to set up and it takes care of a lot of the boilerplate for a CLI. There are a lot of examples to draw from as well.
In the previous issue, you commented this as a suggestion for the CLI:
# In Bash
swift-bridge generate-package \
  --bridges-dir some-out-dir \
  --ios target/aarch64-apple-ios/debug/libmy_rust_lib.a \
  --macos target/x86_64-apple-darwin/debug/libmy_rust_lib.a \
  --out-dir ./my-swift-package

Nice, I use Clap as well.
Maybe create-package instead of generate-package but otherwise that all sounds great to me.

Closed by #38


Handle alias when parsing sql(parse_sql_expr)

Which issue does this PR close?
Close #12518
Also, we need to wait for next sqlparser release, so this PR is expected to be draft for a while.

Rationale for this change

What changes are included in this PR?

In #12518 , parse_sql_expr call sql_expr_to_logical_expr, then parse_sql_into_dialect.

add sql_expr_to_logical_expr_with_alias and parse_sql_into_dialect_with_alias function, whose returns contain alias if there is alias.
Are these changes tested?

Are there any user-facing changes?

This PR duplicates some of the function that return Expr(sqlparser) and add _with_alias to their name(change return type to ExprWithAlias simultaneously).
However, I thinks the duplication is unneeded for function that return Expr(datafusion), because datafusion already have Alias entry in Expr enum.

FYI @milenkovicm

Thanks @Eason0729 !
I looked at #12518
Could you possible add a test showing the usecase from that issue working?
For example a test that does something like:
df.parse_sql_expr("SUM(int_col) as sum_int_col")

Sure, I will work on that next week.

Marking as draft as I think this PR is no longer waiting on feedback. Please mark it as ready for review when it is ready for another look

@Eason0729 should you fix https://github.com/apache/datafusion/blob/aeca7ea99940401573eb14601c74316279bbdae5/datafusion-examples/examples/parse_sql_expr.rs#L125 as well, that assert should fail

Sorry, I didn't notice the fact that the example(test) should fail.
Let's mark this PR as draft again, because I am not going to fix that until next weekend(I have some exam recently).
Also, I just found how to mark PR as draft! :cookie:

Let's mark this PR as draft again, because I am not going to fix that until next weekend(I have some exam recently).

Good luck on the exam!

Thanks again @Eason0729  for sticking with this


www is Low-resolution (32x32) HTML5 clone of the famous VVVVVV game

https://github.com/alexdantas/www

fixed


Compile library to ivy

I'm having trouble importing this lib to angular 13, it should be compiled to ivy in advance

I am also getting the following warning among others:
$ ng build -c demo
⠙ Generating browser application bundles (phase: setup)...Processing legacy "View Engine" libraries:
....
- @ngxd/core [es2015/esm2015] (git+https://github.com/IndigoSoft/ngxd.git)
....
Encourage the library authors to publish an Ivy distribution.
✔ Browser application bundle generation complete.
✔ Copying assets complete.
✔ Index html generation complete.

 Thank you.


Generators improvements

Coverage decreased (-3.9%) to 96.078% when pulling 83bf45b5ffd2a48418da5de5960cfdd863b933a7 on generators-improvements into dcc0ba4802de832e786851dc35f6746f2ef28906 on master.

Coverage decreased (-3.9%) to 96.078% when pulling 83bf45b5ffd2a48418da5de5960cfdd863b933a7 on generators-improvements into dcc0ba4802de832e786851dc35f6746f2ef28906 on master.


Syncing settings

Syncing the settings will cause a glitch where sometimes the standard settings will take over the settings from the account.

I dont think this can actually happen.


[Swift/Optional] Fix this test on Linux and make it simpler.

-> We don't really need a module or the Obj-C bridging, just
another object called Optional to trigger the bug.
-> We now add this test to @swiftpr so that it gets run as
part of the standard PR pipeline.
Thanks to Jordan/Jim for discussing this with me.
rdar://problem/41525749

@swift-ci please test and merge


Added selenium-webdriver gem and modified Teaspoon config.

Added Selenium Webdriver support. In order to use selenium, 2 lines in teaspoon config need to be uncommented. (So we don't break our CI).
Please see the new Selenium-Testing section on the Testing wiki page.

We should add spec/teaspoon_env.rb to the .gitignore so that somebody doesn't accidentally commit the config changes which would break CI


Version Bump to 0.2.3

The 2.5.x series of AFNetworking builds with warnings on XCode 7. The 2.6.x series resolves these warnings. This version bump simply upgrades the base AFNetworking dependency to 2.6.0

Thanks @apbendi ; Assuming you tested and network calls work as usual?

My app uses several queries and those are working fine. Won't claim to have done an exhaustive test of all possible calls, though.

Great, thank you sir! @apbendi

Updated pod is good to go https://cocoapods.org/pods/Forecastr and added you to readme :)

You rock. Thanks!


Add retryExchange to core

Thanks a lot for making a start on this!
Closing this PR in favour of a new one


Shorten the cycle of collecting JVM info (CPU, Memory, GC)

I will set the cycle to 1s as default. Only a few integers, check this feature in further performance test.
cc @ascrutae @pengys5

@ascrutae Please check this feature.


Glide-data-grid breaks project

Hello everyone, i have a bug when using a data-editor component, it installs its associated library which is glide data grid but this one breaks the project, can't reflex run again, the first compiling runs smooth, but after that one, whatever the changes are, even with just a server stopping, it just wont run again.
the data_editor is a simple data_editor with sample values, i respect the columns and data fields type requirements, and the bug happens only when i render the data_editor since it wont install the library if i dont render it, kind of feel like its the installing of it that breaks it.

Specifics (please complete the following information):

Python Version: 3.11
Reflex Version: 0.3.5
OS: Windows
Browser (Optional): Opera GX

Additional context
I use a fork of llama-index 0.9.13 to make compatible with reflex ( since reflex only supports sqlmodel 0.0.8 for now ) even if i doubt that would do anything.

from the look of this, There seem to be some dependency conflict in your project. The data editor component uses glide ^5.3.0 which depends on<EMAIL_ADDRESS>Is there a library youre using that also installs marked?

I mean as far as i know, JS Libraries are only handled by reflex itself, the only external libraries are python libraries, and don't see any trace of marked, so a conflict between 2 internal libraries of reflex ?

The possibility of dependency conflicts may arise when you wrap react components that install dependencies shared by two libraries with different requirements. Reflex in itself doesn't handle upstream dependency conflict. Out of curiosity, have you wrapped any react components in your project?

i dont use any other wrapped react components :/

i dont use any other wrapped react components :/
can you post the content of your package.json file in .web > package.json

{
"name": "reflex",
"scripts": {
"dev": "next dev",
"export": "next build",
"export-sitemap": "next build && next-sitemap",
"prod": "next start"
},
"dependencies": {
"@chakra-ui/icons": "^2.0.19",
"@chakra-ui/react": "^2.6.1",
"@chakra-ui/system": "^2.5.7",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@glideapps/glide-data-grid": "^5.3.0",
"axios": "1.4.0",
"focus-visible": "^5.2.0",
"framer-motion": "^10.16.4",
"gridjs": "^6.0.6",
"gridjs-react": "^6.0.1",
"json5": "2.2.3",
"lodash": "^4.17.21",
"marked": "^11.1.0",
"next": "14.0.1",
"next-sitemap": "4.1.8",
"next-themes": "0.2.0",
"react": "18.2.0",
"react-debounce-input": "^3.3.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
"react-responsive-carousel": "^3.2.23",
"socket.io-client": "4.6.1",
"tailwindcss": "^3.3.2",
"universal-cookie": "4.0.4"
},
"devDependencies": {
"autoprefixer": "10.4.14",
"postcss": "8.4.31"
}
}

I also have this problem after the v0.3.7 update.
This didn't happen in v0.3.6.

I also have this problem after the v0.3.7 update. This didn't happen in v0.3.6.

Well, this wont help for the investigation but i'm on 0.3.5 :(

Any news regarding this issue ? still have it 0.3.8 :/

This issue should be fixed now (as of the latest reflex version v0.4.5). Closing this issue, feel free to reopen if need be


Upload ATO logos to Sponsorhip Logo folder

I already did it. Winning!

I added the other ones ';)
On Tue, Jul 25, 2017 at 4:22 PM, Chris Mathews<EMAIL_ADDRESS>wrote:

I already did it. Winning!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/NCOpenPass/issues/462#issuecomment-317860676,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADgoV397AgF81WRXP-6iSgYEBdTZyr3Qks5sRk6IgaJpZM4OjEGW
.


Support using UNSAFE_componentWillMount

Upgrades dependencies to latest.
Rename and support using UNSAFE_componentWillMount as React now suggest using this as a stopgap.

!merge

Might be good to link to https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path in the description?


How run on macos

I have python installed and PySide2 too, I downloaded the file, set chmod and runs the file, but I get the message:

What am I doing wrong ?

Hi @jcstorino, pardon the late reply, I'll create a macOS build for you.
The current build is actually for Linux-based systems.
If you want to build from source so long, you can:

clone the repo/download source
(optional) create a virtualenv in the dir & activate it
install Pyside2
run python3 indicator.py

This should be sufficient to run the project.
I'll update this thread with a link to the macOS build once it's available.


Release/v2.3.0

Updates CHANGELOG and version number for release v2.3.0.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@531b522). Click here to learn what that means.
The diff coverage is 89%.

@@            Coverage Diff            @@
##             master      #82   +/-   ##
=========================================
  Coverage          ?   87.16%
=========================================
  Files             ?       17
  Lines             ?     1332
  Branches          ?        0
=========================================
  Hits              ?     1161
  Misses            ?      171
  Partials          ?        0

Impacted Files
Coverage Δ

tests/test_nobatch.py
100% <100%> (ø)

tests/test_mwss_transform.py
100% <100%> (ø)

transform/transformers/PCKTransformer.py
98.57% <100%> (ø)

tests/test_transform.py
100% <100%> (ø)

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

transform/views/main.py
69.28% <43.75%> (ø)

transform/transformers/MWSSTransformer.py
68.57% <50%> (ø)

transform/transformers/PDFTransformer.py
77.57% <95.12%> (ø)

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 531b522...166ccd3. Read the comment docs.


Implement the wireframe view mode

While in the wireframe view mode, all shapes should be drawn with a hairline outline.

@caleb-ad please comment in this issue so I can assign this to you.

@Keavon, here I am.


ability to switch bridges

Is your feature request related to a problem? Please describe.
The app allows to switch to a different bridge. Can this capability be exposed?
Describe the solution you'd like
The set sync state service should expose which bridge we want the sync box to target or expose two media players, one for each brdige.
Describe alternatives you've considered
No known alternatives.
Additional context
Some large hue setups have multiple bridges

I had a quick look and it does not seem that easy at first glance.
The syncbox itself seems to be connected to only one bridge at the time (judging from the API). So switching a bridge seems tricky as you would need to pass in the credentials of the bridge to switch to. Switching a bridge would then also mean that the area list will change and there might be downtime during switching and not sure how to handle that gracefully.
I want to keep the scope of this integration limited to only communication with the syncbox (so not performing a linking procedure to a bridge). But maybe adding a service to switch bridge would be possible where you would have to provide the credentials yourself.
I will see if I can have a look at it over the holidays to see how feasible it is.

Yes, a separate service which takes credentials as input along with the
bridge to switch to will work just fine as well.
For what it’s worth, I checked with a ping test that the sync box does not
loose connectivity during the switch. It maintains its own IP lease to the
WiFi router throughout. Its connection to WiFi appears to be separate and
distinct from the connection to the bridge.
Thank you for looking into this!
On Dec 14, 2021, at 14:54, Michel van de Wetering @.***>
wrote:

I had a quick look and it does not seem that easy at first glance.
The syncbox itself seems to be connected to only one bridge at the time
(judging from the API). So switching a bridge seems tricky as you would
need to pass in the credentials of the bridge to switch to. Switching a
bridge would then also mean that the area list will change and there might
be downtime during switching and not sure how to handle that gracefully.
I want to keep the scope of this integration limited to only communication
with the syncbox (so not performing a linking procedure to a bridge). But
maybe adding a service to switch bridge would be possible where you would
have to provide the credentials yourself.
I will see if I can have a look at it over the holidays to see how feasible
it is.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mvdwetering/huesyncbox/issues/27#issuecomment-993928577,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGWH2LY52SI2GKWMTEROECLUQ6OILANCNFSM5KBDEMQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I finally got around to adding this. It is available in v1.18.0.
Keep in mind that switching bridges takes time. Keep track of the new bridge_connection_state attribute to see if it is done.


[Messages] Feature Request - Mark All As Read

Can we get a "Mark all as read" button for the Messages app please?
I find it quite laborious to go through all of my notifications individually - especially as the button to return to the list often doesn't respond.

Thanks - just added to the popup menu


issue296: use another way to check 'expect' package on jumphost

fix the report error when check 'expect' package on jumphost
the error look "...failed_when_result": "The conditional check ''expect' not in ansible_facts.packages' failed. The error was: error while evaluating conditional ('expect' not in ansible_facts.packages): 'dict object' has no attribute 'packages'. 'dict object' has no attribute 'packages'"}

Fixes https://github.com/IBM/Ansible-OpenShift-Provisioning/issues/296
Signed-off-by: Da Li Liu<EMAIL_ADDRESS>

Verified the pr with a test playbook:
- name: Configure jumphost if network mode == 'NAT'
  hosts: jumphost
  tags: ssh, ssh_copy_id, section_1
  gather_facts: true
  vars_files:
    - "{{ inventory_dir }}/group_vars/all.yaml"
  vars:
    ssh_target: ["{{ env.bastion.networking.ip }}", "{{ env.bastion.access.user }}", "{{ env.bastion.access.pass }}", "{{ env.jumphost.path_to_keypair }}"]
  pre_tasks:
    - name: Generate an OpenSSH keypair with the default values (4096 bits, RSA), if using jumphost for NAT.
      tags: ssh_key_gen, ssh, section_1
      community.crypto.openssh_keypair:
        path: "{{ env.jumphost.path_to_keypair.split('.')[:-1] | join('.') }}"
        passphrase: ""
        regenerate: never
      when: (env.network_mode | upper == "NAT") and (env.jumphost.ip is not none)

    - block:
        - name: Gather package facts
          package_facts:
            manager: auto
          when: (env.network_mode | upper == "NAT") and (env.jumphost.ip is not none)

        - name: Check if expect package is installed
          set_fact:
            expect_installed: "{{ 'expect' in ansible_facts.packages }}"
          when: (env.network_mode | upper == "NAT") and (env.jumphost.ip is not none)

        - name: Fail if expect package is not installed
          fail:
            msg: "'expect' package is not installed"
          when: (env.network_mode | upper == "NAT") and (env.jumphost.ip is not none) and (not expect_installed)
      rescue:
        - name: Package 'expect' must be installed on the jumphost, attempting to install it. #Using 'block' and 'rescue' to avoid running the 'package' module (which requires 'sudo') unless necessary.
          become: true
          package:
            name: expect
            state: present
            use: dnf
          when: (env.network_mode | upper == "NAT") and (env.jumphost.ip is not none)

  roles:
    - role: ssh_copy_id
      when: (env.network_mode | upper == "NAT") and (env.jumphost.ip is not none)
  post_tasks:
    - meta: clear_facts

when 'expect' is installed on jumphost

[root@a3elp66 Ansible-OpenShift-Provisioning]# ansible-playbook d1.yaml
[WARNING]: Found both group and host with same name: jumphost

PLAY [Configure jumphost if network mode == 'NAT'] *********************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************************************************
ok: [jumphost]

TASK [Generate an OpenSSH keypair with the default values (4096 bits, RSA), if using jumphost for NAT.] ****************************************************
ok: [jumphost]

TASK [Gather package facts] ********************************************************************************************************************************
ok: [jumphost]

TASK [Check if expect package is installed] ****************************************************************************************************************
ok: [jumphost]

TASK [Fail if expect package is not installed] *************************************************************************************************************
skipping: [jumphost]

TASK [ssh_copy_id : Load in variables] *********************************************************************************************************************
ok: [jumphost]

TASK [ssh_copy_id : Delete SSH key from known hosts if it already exists for idempotency] ******************************************************************
changed: [jumphost]

TASK [ssh_copy_id : Use template file to create expect script] *********************************************************************************************
changed: [jumphost -> <IP_ADDRESS>]

TASK [ssh_copy_id : Copy expect file to jumphost first, if not running on localhost.] **********************************************************************
ok: [jumphost]

TASK [ssh_copy_id : Print results of copying ssh id to remote host] ****************************************************************************************
ok: [jumphost] => {
    "ssh_copy": "VARIABLE IS NOT DEFINED!"
}

TASK [ssh_copy_id : Copy SSH ID from controller to remote host with pre-provided password.] ****************************************************************
skipping: [jumphost]

TASK [ssh_copy_id : Print results of copying ssh id to remote host] ****************************************************************************************
skipping: [jumphost]

TASK [ssh_copy_id : Copy SSH ID from jumphost to remote host with pre-provided password.] ******************************************************************
changed: [jumphost]

TASK [ssh_copy_id : Print results of copying ssh id to remote host] ****************************************************************************************
ok: [jumphost] => {
    "ssh_copy": {
        "changed": true,
        "cmd": [
            "expect",
            "~/.ssh/ssh-copy-id-expect-pass.exp"
        ],
        "delta": "0:00:00.398599",
        "end": "2024-06-20 12:58:37.340610",
        "failed": false,
        "msg": "",
        "rc": 0,
        "start": "2024-06-20 12:58:36.942011",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "spawn ssh-copy-id -f -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa-to-bastion.pub<EMAIL_ADDRESS>INFO: Source of key(s) to be installed<EMAIL_ADDRESS>password: \r\n\r\nNumber of key(s) added: 1\r\n\r\nNow try logging into the machine, with:   \"ssh -o 'StrictHostKeyChecking=no'<EMAIL_ADDRESS>check to make sure that only the key(s) you wanted were added.",
        "stdout_lines": [
            "spawn ssh-copy-id -f -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa-to-bastion.pub<EMAIL_ADDRESS>            "/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: \"/root/.ssh/id_rsa-to-bastion.pub\"",
            "",
<EMAIL_ADDRESS>password: ",
            "",
            "Number of key(s) added: 1",
            "",
            "Now try logging into the machine, with:   \"ssh -o 'StrictHostKeyChecking=no'<EMAIL_ADDRESS>            "and check to make sure that only the key(s) you wanted were added."
        ]
    }
}

TASK [ssh_copy_id : Delete templated expect script on controller.] *****************************************************************************************
changed: [jumphost -> <IP_ADDRESS>]

TASK [ssh_copy_id : Delete templated expect script on jumphost.] *******************************************************************************************
ok: [jumphost]

TASK [ssh_copy_id : Ensure ssh-copy-id files folder exists for future runs.] *******************************************************************************
ok: [jumphost -> <IP_ADDRESS>]

TASK [meta] ************************************************************************************************************************************************

PLAY RECAP *************************************************************************************************************************************************
jumphost                   : ok=14   changed=4    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0

when 'expect' is not install on jumphost

[root@a3elp66 Ansible-OpenShift-Provisioning]# ansible-playbook d1.yaml
[WARNING]: Found both group and host with same name: jumphost

PLAY [Configure jumphost if network mode == 'NAT'] *********************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************************************************
ok: [jumphost]

TASK [Generate an OpenSSH keypair with the default values (4096 bits, RSA), if using jumphost for NAT.] ****************************************************
ok: [jumphost]

TASK [Gather package facts] ********************************************************************************************************************************
ok: [jumphost]

TASK [Check if expect package is installed] ****************************************************************************************************************
ok: [jumphost]

TASK [Fail if expect package is not installed] *************************************************************************************************************
fatal: [jumphost]: FAILED! => {"changed": false, "msg": "'expect' package is not installed"}

TASK [Package 'expect' must be installed on the jumphost, attempting to install it.] ***********************************************************************
changed: [jumphost]

TASK [ssh_copy_id : Load in variables] *********************************************************************************************************************
ok: [jumphost]

TASK [ssh_copy_id : Delete SSH key from known hosts if it already exists for idempotency] ******************************************************************
changed: [jumphost]

TASK [ssh_copy_id : Use template file to create expect script] *********************************************************************************************
changed: [jumphost -> <IP_ADDRESS>]

TASK [ssh_copy_id : Copy expect file to jumphost first, if not running on localhost.] **********************************************************************
ok: [jumphost]

TASK [ssh_copy_id : Print results of copying ssh id to remote host] ****************************************************************************************
ok: [jumphost] => {
    "ssh_copy": "VARIABLE IS NOT DEFINED!"
}

TASK [ssh_copy_id : Copy SSH ID from controller to remote host with pre-provided password.] ****************************************************************
skipping: [jumphost]

TASK [ssh_copy_id : Print results of copying ssh id to remote host] ****************************************************************************************
skipping: [jumphost]

TASK [ssh_copy_id : Copy SSH ID from jumphost to remote host with pre-provided password.] ******************************************************************
changed: [jumphost]

TASK [ssh_copy_id : Print results of copying ssh id to remote host] ****************************************************************************************
ok: [jumphost] => {
    "ssh_copy": {
        "changed": true,
        "cmd": [
            "expect",
            "~/.ssh/ssh-copy-id-expect-pass.exp"
        ],
        "delta": "0:00:01.086339",
        "end": "2024-06-20 13:00:24.292387",
        "failed": false,
        "msg": "",
        "rc": 0,
        "start": "2024-06-20 13:00:23.206048",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "spawn ssh-copy-id -f -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa-to-bastion.pub<EMAIL_ADDRESS>INFO: Source of key(s) to be installed<EMAIL_ADDRESS>password: \r\n\r\nNumber of key(s) added: 1\r\n\r\nNow try logging into the machine, with:   \"ssh -o 'StrictHostKeyChecking=no'<EMAIL_ADDRESS>check to make sure that only the key(s) you wanted were added.",
        "stdout_lines": [
            "spawn ssh-copy-id -f -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa-to-bastion.pub<EMAIL_ADDRESS>            "/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: \"/root/.ssh/id_rsa-to-bastion.pub\"",
            "",
<EMAIL_ADDRESS>password: ",
            "",
            "Number of key(s) added: 1",
            "",
            "Now try logging into the machine, with:   \"ssh -o 'StrictHostKeyChecking=no'<EMAIL_ADDRESS>            "and check to make sure that only the key(s) you wanted were added."
        ]
    }
}

TASK [ssh_copy_id : Delete templated expect script on controller.] *****************************************************************************************
changed: [jumphost -> <IP_ADDRESS>]

TASK [ssh_copy_id : Delete templated expect script on jumphost.] *******************************************************************************************
ok: [jumphost]

TASK [ssh_copy_id : Ensure ssh-copy-id files folder exists for future runs.] *******************************************************************************
ok: [jumphost -> <IP_ADDRESS>]

TASK [meta] ************************************************************************************************************************************************

PLAY RECAP *************************************************************************************************************************************************
jumphost                   : ok=15   changed=5    unreachable=0    failed=0    skipped=2    rescued=1    ignored=0

@veera-damisetti @AmadeusPodvratnik would you like help to check/verify this pr, thanks.

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


incomplete descriptions

Some examples don't come with a good description, see e.g.
https://lorensen.github.io/VTKExamples/site/Cxx/Qt/RenderWindowUISingleInheritance/
https://lorensen.github.io/VTKExamples/site/Cxx/Qt/RenderWindowUIMultipleInheritance/

Definitely bad..I'll take a look.
Thanks
On Oct 6, 2017 6:33 PM, "Dominique Belhachemi"<EMAIL_ADDRESS>wrote:

Some examples don't come with a good description, see e.g.
https://lorensen.github.io/VTKExamples/site/Cxx/Qt/
RenderWindowUISingleInheritance/
https://lorensen.github.io/VTKExamples/site/Cxx/Qt/
RenderWindowUIMultipleInheritance/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lorensen/VTKExamples/issues/32, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUFDC4cqzKlazqJLnZeKIKpPXn3ZnoPks5sptTUgaJpZM4PxMLz
.

Fixed. Thanks!


app: use different UI's for Drag/drop of glbs and vrms

Right now we have same UI for both Glbs and Vrms dropping functionality. As we dont have "equip to self" feature for glb files, we should remove this Option for glbs only

.

Yes, the wizards need to be implemented per type.


Fail the CI build if artifact publishing fails

At the moment the artifact publishing may fail independently of the successful library build.
It has happened for several times already due to a Javadoc-related error. In all of those cases the artifacts were not published and could not be used by other teams. At the same time the core committers were not notified — as the build was marked as a successful by the CI server.
We need to be informed of the issues as such. The build at CI server should fail if artifacts were not published.

Resolved in the series of PRs referenced above.


12: Add support for shimming async methods

Closes #12

Before I'll merge this I would like it to be put through its paces thoroughly.


PowerOfTwo::PowerOfTwo not const in MSVC

Offending line:
error C3615: constexpr function 'PowerOfTwo::PowerOfTwo' cannot result in a constant expression
For my purposes commenting it out works. I bet this would work otherwise, but haven't tested beyond building:
explicit constexpr PowerOfTwo(int n) : _x((double)((uint64_t)1 << n)) { }

Thank you for catching this!
It seems that std::ldexp is constexpr only since C++23, so that's probably why MSVC complains.
Your proposed fix unfortunately does not work for n < 0, e.g., for n == -1 one should get one half, while you get 0 .
Maybe one can simply remove the constexpr, but I am unsure of the performance implications.

Ohhhh. Dang MSVC.
It sounds like you would like it to work smoothly in Windows too, I'll look into that one of these days. Removing constexpr is an easy fix, if it builds it should be consequence free. If not, a constexpr ldexp should be easy enough to put together, I doubt it's more than a couple lines.

Should be fixed now.
Also, there is now at least some rudimentary CI for windows ... at least it checks if the library builds.


Cannot set the partition key for queries/stored procedures [feature request]

We use partition keys to partition tenants in some of our cosmos databases. I would like to be able to set the feed option property to allow this to happen, otherwise some queries take minutes to come back without the partition key when they should come back in milliseconds.
Not sure how it would work for stored procedures but I also need it for that as well. I tried running a stored procedure today and I received an exception stating that I was missing the partition key.
Thanks!

Added support for this in <IP_ADDRESS>. Check out the wiki for more info.


Rearranging the code so that the tests work.  Fixing things up

Merging into my original branch to continue working from there. Most of the above makes sense to me. Makes sense that we can override the functions of the UserRepo as 'test' functions and use those. Conceptually I may be missing something though with what it means to 'dummy out the service layer'. Going to try some stuff and send you some more code for review. Thanks for the help and advice :)


Lambda layers and trainable parameters?

I've got a situation where I need a Conv3DTranspose, and am using the new tensorflow implementation wrapped inside a Lambda:
def tblock(self, sinput, skip, F=32):
u1 = Lambda(lambda x: tensorflow.layers.conv3d_transpose(x, kernel_size=3,
padding='SAME', strides=(2, 2, 2),
filters=F, activation=tensorflow.nn.relu,
use_bias=False))(sinput)
out = Add()([skip,u1])
return out
However, when I plumb layers like this into a Model, I'm seeing them show up with 0 trainable parameters, for example this .summary() putput:
lambda_70 (Lambda)               (None, 32, 16, 16, 64 0           add_17[0][0]
_____________
add_18 (Add)                     (None, 32, 16, 16, 64 0           conv3d_6[0][0]
                                                                                lambda_70[0][0]

I'm hoping that everything's plumbed in ok underneath, but I don't want to spend a bunch of compute time to train up a big ugly model with a couple of these layers in the middle only to find out that I should have done something differently and had trainable parameters all along.
Am I doing something clearly wrong here?
thanks!

Not actually answering your question, but you can use Deconvolution3D from keras_contrib:
https://github.com/farizrahman4u/keras-contrib/blob/master/keras_contrib/layers/convolutional.py#L19

The reason why no trainable weight i showing up, is because they need to be registered (see "add_weight" in build function of layers).
Lambda may not be suitable choice. Can implement a layer yourself or contact me as i have implemented Conv3DTranspose closly related to the already existing 2D version.

Thanks Daniel and Christian.
I'll investigate add_weight, and for now I think I've got keras_contrib's Deconvolution3D working


Create New Resource in Cluster Mode

I would like to be able to create new resources directly in my cluster:

Connect to a cluster and load resources
Select the "New Resource" dialog - with no option to save
an empty resource would be created that I can edit and deploy as I like

If I don't deploy my resource and exit cluster mode my resource will be "lost" - which I think is fine for now!?

by "emty resource" you mean an "unsaved" resource?

yes - thanks for noticing - updated!


📖 FOSDEM: preparation for talk

Title: How we build and maintain Kairos
Subtitle: A day in the life of a meta distribution
Abstract: Kairos is an immutable Linux meta-distribution for edge Kubernetes. In this presentation, you will learn about its main components and how we use container technology to put them together and how new images get released.
Duration: 20 min
URL: https://fosdem.org/2023/schedule/event/kairos/
Timebox: 2 days

[x] Decide on the content
[x] Prepare slides?

Closing, presentation is done


Question - Do you still need enough RAM to run the models?

I assume for a 100B model you need more or 100Gigs of RAM, or does this reduce the ram requirements?

# Download the model from Hugging Face, convert it to quantized gguf format, and build the project
python setup_env.py --hf-repo HF1BitLLM/Llama3-8B-1.58-100B-tokens -q i2_s

# Or you can manually download the model and run with local path
huggingface-cli download HF1BitLLM/Llama3-8B-1.58-100B-tokens --local-dir models/Llama3-8B-1.58-100B-tokens
python setup_env.py -md models/Llama3-8B-1.58-100B-tokens -q i2_s

I initially ran these commands on a system with 26GB of RAM, but it caused the system to crash. After adding 20GB of swap space, the process was able to continue. However, it took approximately 20 minutes to complete.
Currently running on low resources (3.9Gb RAM, 17% CPU)

I allocated 20 GB of ram + 20 GB of swap file for my WSL2 (I run on WSL2).

Thanks for the question. In the model conversion phase of the demo, large RAM is still needed. The inference stage will required much less memory and it should be most users' scenario.


Endless "GET /__vite_ping 404" errors in VS Code Terminal

Describe the bug
When running a simple Express app that has nothing to do with Vue or Vite, I am getting endless "GET /__vite_ping 404" errors in VS Code Terminal, even though Vite is not running.  This started just after running the starter Vue app, and perhaps most curiously, shows up in a completed unrelated simple Express app.
Looks like Vite has some runaway process in the background that I cannot kill
Reproduction
N/A
System Info
Mac OS
Vite ^2.9.1

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

That message comes from the client, you left some browser tab opened and is trying to ping the server that is no longer there.


Show badge with number of accounts (real) that topic has

On the topics page show badges with the number of real account that the topic has. so it should look like

Politics (9)
Celebs (9001)

THIS IS A CHERRY ****

New branch show_badges_topic_accounts has this -- not fancy or pretty yet though.

Pending PR with css. PR #91

In development.


Station is not available while playing TuneIn radio

Hi AVS team,
SDK 1.8 , ARM based OpenWRT embedded Linux.
Today, users reported some radio stations are not available from TuneIn (eg. BBC station, ICRT station).
These stations are playing everyday these weeks at the same place and Amazon accounts.
It will reply " ICRT station is not available".  Attached is a log for this case.
At the same time, to ask Echo dot to play these station from TuneIn (same account), it's working.
How can I identify if it's a server site issue ?
avs_dbg_log.txt

Hi @zeusshuang,
Thanks for raising the issue.
The issue seems like a server side side issue when parsing the Playlist:
2018-07-17 10:28:12.789 [ 2c] E PlaylistParser:getHTTPContent:reason=badHTTPContentReceived
2018-07-17 10:28:12.790 [ 2c] 3 UrlContentToAttachmentConverter:onPlaylistEntryParsed:status=ERROR
2018-07-17 10:28:12.792 [  4] 0 MediaPlayer:callingOnPlaybackError:type=MEDIA_ERROR_INTERNAL_DEVICE_ERROR,error=streamingError,currentId=24
2018-07-17 10:28:12.793 [  4] 0 AudioPlayer:onPlaybackError:type=MEDIA_ERROR_INTERNAL_DEVICE_ERROR,error=streamingError,id=24

If you can reproduce the issue, you can  debug the connectivity problem by enabling libcurl logging. That can be done by adding -DACSDK_EMIT_SENSITIVE_LOGS=ON to your cmake command line.
Note that if you do enable sensitive logs, your logs may include information that you would not want to post publicly (e.g. configuration information used to authorize you client). So, you should be sure to scrub that kind of information before posting any such logs to this forum.

Hi @BennyAvramson ,
Attached is the log after "ACSDK_EMIT_SENSITIVE_LOGS=ON", and debug9.
To ask play BBC station or ICRT from TuneIn, it said the station is unavailable.
At the same network and same account, the Echo can play these two stations by the same commands.
Could you help to check if there is something wrong ?
The same firmware in other sites, these stations are working, so I am not sure if it's network issues.
TuneIN-not-available-0718.log.txt

Hi @zeusshuang,
Looking at the last file TuneIN-not-available-0718.log.txt, it seems only debug level 5 was enabled.
Could you run it again with debug level 9 after building with ACSDK_EMIT_SENSITIVE_LOGS=ON
Thanks,
Benny

Hi @BennyAvramson ,
Please help to check this new log. The same device and until now it still cannot work.
Under the same network, other our device and Echo with same account are working.
It's really strange.
While asked to play BBC radio station , or ICRT station from tunein, it will respond it's not available.
TuneIN-not-work-0720.log3.txt

Hi @BennyAvramson ,
Have you found any problem in my log ?  The case is still opened in the same environment until now.

Hi @zeusshuang,
I noticed that there the log include a failed call to TuneIn that returns 503 error code, which means that the service is unavailable. Is that always the case?

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.


[Bug] table in version 5 doesn't respect escaped

Bug report
What I did
I have a json array that I use column type table for rendering it and one of its columns contains html so I used ->escaped(true) but still the html is rendered as text
What I expected to happen
html to be rendered correctly
What happened
html was rendered as text
What I've already tried to fix it
when I investigated the vender package I found that in resources/views/columns/table.blade.php there is no check when rendering the value
@foreach($column['columns'] as $tableColumnKey => $tableColumnLabel)

                {{ $tableRow[$tableColumnKey] ?? '' }}

@endforeach

so I suggest to update it to be
@foreach($column['columns'] as $tableColumnKey => $tableColumnLabel)

                 @if ($column['escaped'])
                       {{ $tableRow[$tableColumnKey] ?? '' }}
                 @else
                      {!! $tableRow[$tableColumnKey] ?? '' !!}
                 @endif

@endforeach

Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud the bug... is it still there?
Yes
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
PHP 7.4.21 (cli) (built: Sep 30 2021 13:37:02) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v2.9.8, Copyright (c) 2002-2020, by Derick Rethans
LARAVEL VERSION:
v8.83.15@bf8fbdd9061611b2c05562fa14f6987cc5145d78
BACKPACK VERSION:
5.0.20@a6b183978fc7c206ce9cd437e5c9b96f8fb6823f

Hello @basselhossam
I don't think that's possible with current table implementation, as you can see you are using the $column['escaped'] that will escape/unescape ALL columns in the table, not only the one you want because that configuration is not per table column but per crud column.
I think escaped here would only make sense if you could escape table columns like:
CRUD::field('table')->type('table')->columns([
    [
         'label' => 'column label',
         'escaped' => true,
    ],
]);

I am moving this to 5.2 so we have a look before the next version.
Cheers


Emojiundo

TBD

Fixes #3249.

Changelog Entry
Added

Resolves #3249. Convert typed emoticons into Emoji, by @corinagum and @compulim, in PR #3405

Samples

Added custom Emoji set sample, by @corinagum, in PR #3405

Description
Added emoticon to Emoji in the send box.
Design
Style options
To enable set of Emojis (default), { styleOptions: { emojiSet: true } }. To disable Emojis, { styleOptions: { emojiSet: false } } (or {} instead of false).
For custom Emoji set:
{
  styleOptions: {
    emojiSet: {
      '100': '💯'
    }
  }
}

Hooks
It is not trivial for end-developer to re-build their own Emoji-enabled send box. This is because they must re-build their own undo stack. Otherwise, the "chemical reaction" between string.replace and React would mess up browser-based undo stack.
Thus, we are not exposing any hooks. However, they can access the emojiSet style options through the existing useStyleOptions hook, i.e. useStyleOptions().emojiSet.
We are not exposing the useReplaceEmoticon.js because the API signature requires 3 things: value, selectionStart, and selectionEnd.
The selectionStart/selectionEnd seems not trivial for the user to understand their need. Thus, if they are rebuilding the send box with Emoji, they might not understand how to pass these variables in and why they are needed.
FYI, they are needed because we need to know which character was changed. We are only replacing emoticons when the user finish the emoticon with its last character. I.e. user press D after the : (colon) letter.
We are not replacing emoticons for the whole string as that would make the UI very difficult to use (every key press will convert to Emoji).
Thus, the useReplaceEmoticon.js is internal for now.
Specific Changes

Modified SendBox/TextBox.js

Re-built undo stack
Add emoji conversion

Added internal/useReplaceEmoticon.js

[x] I have added tests and executed them locally
[x] I have updated CHANGELOG.md
[x] I have updated documentation

Review Checklist

This section is for contributors to review your work.

[x] Accessibility reviewed (tab order, content readability, alt text, color contrast)

It is up to screen reader to read the Emoji

[x] Browser and platform compatibilities reviewed
[x] CSS styles reviewed (minimal rules, no z-index)
[x] Documents reviewed (docs, samples, live demo)
[x] Internationalization reviewed (strings, unit formatting)

We are not bringing culture-specific emoticons (e.g. :wink:)

[x] package.json and package-lock.json reviewed
[x] Tests reviewed (coverage, legitimacy)

Thanks @a-b-r-o-w-n.
Agree, rather complex.
OS will push undo checkpoint on:

Just before first change after focus
Just before first change after cursor move
Just before first change after cut/paste

But since HTML doesn't have cross-browser beforechange/changing event. So it looks complicated here. I need to keep remembering the current value just before the change event.
Better, I should "subclass" <input>/<textarea> and add a beforechange/changing event in the custom component. That could significantly simplify the code.


add lock modifier on loading

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

#397


[tool] Use Verible's verilog_format as automatic code formatter

This is in the works, just making an official request for it to the current owner within Google. @fangism

There's https://github.com/google/verible now. It's not quite there yet in terms of what we need, @tomroberts-lowrisc can you fill in things that are not working yet for the OT use caes?

@fangism for visibility.
On Tue, Nov 12, 2019 at 01:18:34PM -0800, Philipp Wagner wrote:

There's https://github.com/google/verible now. It's not quite there yet in terms of what we need, @tomroberts-lowrisc can you fill in things that are not working yet for the OT use caes?

I have only had a quick look at the tool. It probably has some further configuration that I haven't figured out yet, but a couple of issues are:

Horizontal spacing - most (but not all) of the aligned blocks of code get blown away e.g. port list

    output logic [31:0]          csr_depc_o,
    output logic                 debug_single_step_o,
    output logic                 debug_ebreakm_o,
    output logic                 debug_ebreaku_o,

    input  logic [31:0]          pc_if_i,

Becomes
   output logic [31:0]          csr_depc_o,
    output logic debug_single_step_o,
    output logic debug_ebreakm_o,
    output logic debug_ebreaku_o,

    input logic [31:0]          pc_if_i,

Assignment of structs gets dragged onto a single line

          mstatus_d = '{
              mie:  csr_wdata_int[CSR_MSTATUS_MIE_BIT],
              mpie: csr_wdata_int[CSR_MSTATUS_MPIE_BIT],
              mpp:  priv_lvl_e'(csr_wdata_int[CSR_MSTATUS_MPP_BIT_HIGH:CSR_MSTATUS_MPP_BIT_LOW]),
              mprv: csr_wdata_int[CSR_MSTATUS_MPRV_BIT],
              tw:   csr_wdata_int[CSR_MSTATUS_TW_BIT]
          };

Becomes
          mstatus_d = '{mie:  csr_wdata_int[CSR_MSTATUS_MIE_BIT], mpie: csr_wdata_int[CSR_MSTATUS_MPIE_BIT], mpp:  priv_lvl_e'(csr_wdata_int[CSR_MSTATUS_MPP_BIT_HIGH:CSR_MSTATUS_MPP_BIT_LOW]), mprv: csr_wdata_int[CSR_MSTATUS_MPRV_BIT], tw:   csr_wdata_int[CSR_MSTATUS_TW_BIT]};

Some other issues like line breaks getting lost

        endcase
      end
      assign pmp_cfg_wdata[i].exec  = csr_wdata_int[(i%4)*PMP_CFG_W+2];
      // W = 1, R = 0 is a reserved combination. For now, we force W to 0 if R == 0

Becomes
        endcase
      end assign pmp_cfg_wdata[i].exec = csr_wdata_int[(i%4) * PMP_CFG_W + 2];  // W = 1, R = 0 is a reserved combination. For now, we force W to 0 if R == 0

Thanks, Tom, for giving it an initial whirl.  To set expectations, the Verible formatter is far from a production quality tool at this time.  We will happy accept issues filed against it, including comments about severity.  But please file at http://github.com/google/verible/issues .

We are now using Ibex as a test bed for Verible format, see lowrisc/ibex#687. Since Ibex and OT use the same coding style, but is significantly smaller, we should be able to iron out the main issues there before doing the same for OpenTitan.


404 at /engine/installation/linux/docker-ce/

URL: /engine/installation/linux/docker-ce/
URL: https://docs.docker.com/engine/installation/linux/docker-ce/#install-using-the-repository
This link appears broken.

I can't reproduce this, so it's possible that this has been fixed. @Karthik-Y I'm going to close this issue but feel free to comment, if you're still seeing this.

@joaofnfernandes It is okay to have this ticket closed and I think this ticket is a duplicate of #4023 which has been fixed and apologies for the confusion. Thanks for looking at it.


feat: configure the plugin, add first method addEthereumChain

https://github.com/web3/web3-wallet-rpc-utils/blob/main/package.json#L39
The dependency of web3js needs to be bumped to current version otherwise build issues happen
https://github.com/web3/web3.js-plugin-template/issues/10

Looks good!

I just noticed that there is no LICENSE file in this repository.

Noted:

upgrade dependencies, specifically web3js
add LICENSE file


Split preview and expression from mapping-management.service

To reduce the size of mapping-management.service

fixed - https://github.com/atlasmap/atlasmap/pull/2979


PY-T: Grant active permission to another account (funds activity)

Grant active permission to another account (funds activity)
AC

[x] Grant and Revoke active permission to another account (funds activity)
[x] Explanation about use cases
[x] Documentation similar to JS-T

There is currently a bug with the disallow method when using it on the testnet that we normally connect to. Due to that bug, we are using the production server for this tutorial.


Add codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@af5e7c1). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop       #3   +/-   ##
==========================================
  Coverage           ?   93.26%
==========================================
  Files              ?        5
  Lines              ?      208
  Branches           ?       25
==========================================
  Hits               ?      194
  Misses             ?        5
  Partials           ?        9

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 af5e7c1...ac79c98. Read the comment docs.


fix: Linter go version issues

Description
fixing issues caused by golangci-lint and goversion mismatch

/lgtm


Currently no way to import really old annotations

The plugin uses hypothes.is Atom feeds which show the user's last 20 annotations which means there's currently no way to download older annotations.
In an ideal world we could use the hypothes.is search/filter API with search before/after constraints as outlined here https://h.readthedocs.io/en/latest/api-reference/v1/#tag/annotations/paths/~1search/get

This is resolved by the changes made today - instead we now use the annotations search api endpoint instead.


Use string formatting instead of addition to concatenate

First pass through I thought "key" would be an integer which would throw an exception if added to a string.  Moved to use python string formatting to safely prevent future problems.

LGTM


[Documentation] - List.get() docs seems counter to functionality

From https://facebook.github.io/immutable-js/docs/#/List/get
Returns the value associated with the provided key, or notSetValue if the Iterable does not contain this key.

Yet,
        const testing = Immutable.List([1, 2, 3, 100]);
        console.log(testing.get(-1)); // Outputs 100

I know this is correct behaviour based on #116 but these docs seem to read as though -1 should return a notSetValue.
Other documentation - such as for set, delete and update - makes this behaviour clearer.

Yeah we don't really advertise this much, and I'm not sure negative indices will stick around for future major versions since it breaks with native indexed collections and can be buggy along with indexOf so I'm not keen on starting to encourage usage now.


discovery: If SRV results returned no port, use supplied port

Currently, if a config is specified as:
  - job_name: 'node_exporter'
    dns_sd_configs:
      - names:
          - 'nodes'
        type: SRV
        port: 9100

The port will not be used for SRV results if the SRV results return a port of 0. This PR adds a fallback to the configured port if the results return a 0 port.

Why doesn't your name server return the correct service's port number on a SRV request? I'm a bit wary of adding support for such infrastructure problems and implementing custom special cases.

We're trying to use this to discover node_exporter which listens on port 9100 and we have a SRV entry for every box under nodes. So it would be easiest for us just to do a lookup on nodes and default the port to 9100. Otherwise we'd have to set up something to advertise to our service orchestration system for node_exporter and that would be hacky.
To clarify this is precisely for the case above, all our other services adervtise correctly for their HTTP port.

Otherwise we'd have to set up something to advertise to our service orchestration system for node_exporter and that would be hacky.

On the contrary, this should be the correct solution: advertising running node_exporter instances to your service discovery system instead of using some unrelated entry and overwriting the port. The fact that your service discovery system responds to SRV queries with port=0 result records indicates that your current registration is incomplete.

We have a service that runs on every box and advertises the box itself under nodes so other services can get the IP address for a box, like mongo, Cassandra and others, which don't support SRV but need a "seed" box. Like servera.nodes always points at server A. It's also useful for SSH and other things that don't support advertising to skydns internally. All of our home-brewed services support advertising internally but external services like node_exporter obviously don't have that capability so this was merely a convenience feature.
The reason I added this was mostly convenience and it was strictly optional, only was used as the fallback port if we got no port in the SRV response. The other methods such as A or AAAA support a port and I'm curious what the use cases are for those then if there's such a strong opinion against hard coding a port in the configuration.
I appreciate you looking at this and your quick replies.

I actually figured out we could change our name server to spit back all of the IPs for an A query which would satisfy our use case here instead of using SRV.

So why aren't you setting type: A and the port: 9100? Sounds like
Prometheus already supports your need?
My concern isn't so much about using a hard-coded port**, but to introduce
a special case for incomplete SRV result records. DNS systems returning
such records should be fixed rather than adding support to Prometheus.
** Though, I believe you should consider using a helper script to let your
orchestration system properly register services. SoundCloud does this using
Chef.
On Mon, Feb 13, 2017 at 8:48 PM James Hartig<EMAIL_ADDRESS>wrote:

We have a service that runs on every box and advertises the box itself
under nodes so other services can get the IP address for a box, like
mongo, Cassandra and others, which don't support SRV but need a "seed" box.
Like servera.nodes always points at server A. It's also useful for SSH
and other things that don't support advertising to skydns internally. All
of our home-brewed services support advertising internally but external
services like node_exporter obviously don't have that capability so this
was merely a convenience feature.
The reason I added this was mostly convenience and it was strictly
optional, only was used as the fallback port if we got no port in the SRV
response. The other methods such as A or AAAA support a port and I'm
curious what the use cases are for those then if there's such a strong
opinion against hard coding a port in the configuration.
I appreciate you looking at this and your quick replies.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/pull/2421#issuecomment-279582674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAANaNKx5AA4zN2CgO6VBf0xQW_Uqg7kks5rcQf0gaJpZM4L_lPF
.

So why aren't you setting type: A and the port: 9100? Sounds like Prometheus already supports your need?

Yeah that wasn't something we thought we could get our name server to support (since it returned a single result at weighted random), but we could actually get what we wanted with that approach, so we'll use that instead of SRV.

** Though, I believe you should consider using a helper script to let your orchestration system properly register services. SoundCloud does this using Chef.

This is something we're looking into for node_exporter. We have a solution in place for other services, as I said, and we'll be evaluating doing something similar for node_exporter.


purgeCacheWithCompletion leaves behind temporary directories and eventually stops working

After a few hundred calls purgeCacheWithCompletion  stops working. https://github.com/nomasystems/nimagefetch-ios/blob/1aba4bb3a16a0234f6fde4c4872a863f8d05aa54/Sources/Objc/NImageFetchFileCache.m#L57
As can be demonstrated by logging the errors:
- (void)purgeCacheWithCompletion:(void (^)(void))completion
{
    NSFileManager *fileManager = [NSFileManager defaultManager];
    NSError *tmpError;
    NSURL *tmpURL = [[fileManager URLForDirectory:NSItemReplacementDirectory
                                         inDomain:NSUserDomainMask
                                appropriateForURL:self.diskCacheURL
                                           create:YES
                                            error:&tmpError]
                     URLByAppendingPathComponent:[NSUUID UUID].UUIDString];
    if(tmpURL) {
        NSError *error;
        [fileManager moveItemAtURL:self.diskCacheURL toURL:tmpURL error:&error];
        NSLog(@"Error: %@", error);
        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
            [fileManager removeItemAtURL:tmpURL error:nil];
            [self createDiskCacheDirectoryIfNeeded];
            completion();
        });
    } else {
        NSLog(@"tmp error: %@", tmpError);
    }
}

Eventually it starts to output:
Error Domain=NSCocoaErrorDomain Code=512 "Too many temporary directories for xctest in file:///.../Library/Developer/CoreSimulator/Devices/67C1E62E-987F-4135-903B-35682FF25708/data/Library/Caches/"

Because hundreds of directories named (A Document Being Saved By xctest <nr here>) are left behind in Caches
URLForDirectory:inDomain:appropriateForURL:create:YES returns a new directory every time, and it has to be deleted.

In addition, purgeCacheWithCompletion doesn't call the completion on all paths (it's not called when tmpUrl is NULL), so the auto-generated  Swift async method is broken and can hang forever.
https://developer.apple.com/documentation/swift/calling-objective-c-apis-asynchronously


Creating a backend web server for Hydrant

Blocking #47, #48.
Base Features

hosting the Hydrant SPA

this server could also just be an API server

login functionality

This would be further extended in other issues.
Language & Server Framework
Hydrant currently uses Python and TypeScript. Much of our existing schedule scraping is written in Python, but some useful logic, like creating iCalendar files, is written in TS.
Writing TS is much more fun than writing Python IMO (for context, most code I write is Python), but either is a decent enough lang for a server.
For Python, FastAPI is a great server framework.
For JavaScript, the Express ecosystem, while good, doesn't have great async support out of the box and holds many footguns, while more robust frameworks like NestJS are a little overkill.
Database
Pretty much all SIPB projects use MySQL as a database solution; I have no qualms with this.

I'd like to take over this issue + #47 and #48 by creating a Node.js backend for Hydrant that hosts an iCalendar endpoint but keeps its data within the FireRoad backend. The only thing I'd need help with is getting access to the production instance of the FireRoad API, which maybe @psvenk would know more about - but I can write code around the assumption that we'll be granted access until then.
This would also open up a ton of new possibilities involving linking Hydrant and CourseRoad more closely, e.g. importing your class list from a road you make on CourseRoad into Hydrant.


Is there an API for drawing polyline/polygon in this plugin?

Hi,
I search through the API reference but can't find any stuff related to this, is there any plan in the future to add this feature into this plugin?
Thank you!

we have
drawRoad for polyline and drawRect for polygons

dont use baseMapController
use MapController where drawRoad defined

dont use baseMapController use MapController where drawRoad defined

yes,
is there any way to increase the zoom level to more than 19?

zoomlevel in sdk is max at 19 unless the map will become black or blury

okay,
I actually wanted to show  a min of a 5-meter distance location with marker and draw a polyline,
in total it is an excellent package.
thank you,


New to Lens: how to connect to Linux by Terminal ?

Hello,
k8s: 1.18.3
Windows 10 client
When I click Terminal will connect to my Windows, but how to connect to Linux ?

Thanks

Hi @leiw324. Please could you elaborate what do you mean by connecting to Linux? Do you mean this https://github.com/lensapp/lens/issues/482?

Hello nevalla,
Yes, because I don't know Windows 10 PowerShell type k8s command.
Thanks


Realtime join processor UI bugs

Bugs:

In Output Fields Selection, if you select a field with the same name from both streams, it only accepts one... easily seen by doing SelectAll option. The backend allows disambiguation of names using the "streamname:fieldname" syntax.
Pressing OK button does not save and dismiss the dialog box (Do not select "unique" checkbox to reproduce this)
Do we have support or nested fields on UI? Backend allows nested fields using dot syntax. For eg: "streamname:fieldname" or ""streamname:nested.field.name"

Minor changes:

Please change all 4 occurrences of the word "Buffer" to "Window".
Rename "Conditional Fields" to "Join Criteria"

@satishwaghela can you look it, please?

@satishwaghela
Adding another point in bugs:
4. Should default to fields grouping and the fields should be based on the fields used in the join condition used.

@shahsank3t  there is a UI bug wrt to how the output schema is shown when selecting nested fields.  this applies to both Join and newer RTJoin.
When selecting a leaf node, it should not display all the upper nesting levels. The leaf node should just appear as top level node in the output schema.
More generally, since we are allowing selection of at any level of a nested hierarchy, you should display everything from the selected level and any child levels inside it.
Assuming the input has a nested field like this:   orginfo { busines_unit { department }, location }

If you select  orginfo ... then orginfo and everything under it should show up preserving the hierarch.
if you select business_info, then businessinfo and everything under it will show up as a top level entity. It wont get nested under orginfo.
if you select both leaf nodes location & department then both of them should shows up as a independent top level entities. they should not be put under their parent levels.

Currently selecting department, will show this hierarchy  orginfo -> busines_unit -> department  in the output schema.
Ping me if you need further clarification.

Here are some of the UI changes i can think of that we need to fix:

The new alias-ing ability (from Join Processor), and reflecting the alias in downstream component's input schema.
Handling of nested fields .. in output fields selection. (same as Join Processor)
Applying fields grouping to the input streams based on the join keys specified in UI.
Rename the component to 'Rolling Window Join'
Please change all 4 occurrences of the word "Buffer" to "Window".
Rename "Conditional Fields" to "Join Criteria"

Note: We are not enabling event-time support for this right now.

Raised PR: https://github.com/hortonworks/streamline/pull/1068


Allow touch column to be specified

Our counter caches also had touch columns on them to update when the counter was changed. Added this functionality for a clean transition to this gem.

Would you mind adding a comment to the README about how this works?
Also, I see that you've updated the tests, which is awesome. There are no longer unit tests for when the :touch_column is not set, however. If you add a test or two just to verify that that is not broken, we can merge this.
Thank you!

@sax done and done. Let me know if this works. Thanks.


Revert "llvmPackages.lldb: combine out and lib outputs on Darwin"

Description of changes
This reverts commit 210ebc21235624e55f234dc2306fb1f4981923e2.
Technically, this was a breaking change, but breaking changes are disallowed after May 1 until the release of 24.05. Revert the commit to master. After it’s merged, I’ll open a draft PR for post-24.05 with the fix.
Reopens https://github.com/NixOS/nixpkgs/issues/252838.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@RossComputerGuy Pinging you since you reviewed and approved https://github.com/NixOS/nixpkgs/pull/309165. That was my mistake.

Thanks for the quick review, and my apologies for the mistake. I had to fix the codelldb extension, so of course dropping the output would be a breaking change. If only there were a way to enforce that people used the library functions to access outputs, so having separate outputs could be an optimization rather than part of a package’s interface.


Bump marked from 1.1.0 to 4.0.10 in /docs/slides/ocrd-2018-07-11/reveal

Bumps marked from 1.1.0 to 4.0.10.

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: marked
dependency-type: direct:development
...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

Can you send the PR to https://github.com/kba/ocrd-2018-07-11 pls, it;s integrated as a submodule here.


get.helm.sh can not download

curl -sfLOC- https://get.helm.sh/helm-v3.11.0-linux-amd64.tar.gz

too slow to download, all ci failed https://github.com/wenerme/charts/actions

@wenerme please check your curl args. Or you can use wget command.


Transaction errors with postgresql due to isolation level serialization

When storing new tokens in postgresql the following error may happen on concurrent requests.
 Hint: The transaction might succeed if retried.; nested exception is org.postgresql.util.PSQLException:
     ERROR: could not serialize access due to read/write dependencies among transactions

wontfix for now because it requires changing isolation levels for transactions in different components and affects only a single db platform.