Some issue in View

I am using gradle version
compile 'devlight.io:navigationtabbar:1.2.5'
My xml file is
<devlight.io.library.ntb.NavigationTabBar         android:id="@+id/ntb"         android:layout_width="match_parent"         android:layout_alignParentBottom="true"         android:layout_height="?actionBarSize"/>
and getting this error
FATAL EXCEPTION: main                                                                        Process:  PID: 18929                                                                        java.lang.IllegalArgumentException: width and height must be > 0                                                                            at android.graphics.Bitmap.createBitmap(Bitmap.java:836)                                                                            at android.graphics.Bitmap.createBitmap(Bitmap.java:815)                                                                            at android.graphics.Bitmap.createBitmap(Bitmap.java:782)                                                                            at devlight.io.library.ntb.NavigationTabBar.onDraw(NavigationTabBar.java:1077)                                                                            at android.view.View.draw(View.java:15249)                                                                            at android.view.View.buildDrawingCacheImpl(View.java:14495)                                                                            at android.view.View.buildDrawingCache(View.java:14357)                                                                            at android.view.View.updateDisplayListIfDirty(View.java:14166)                                                                            at android.view.View.getDisplayList(View.java:14207)                                                                            at android.view.View.draw(View.java:14977)                                                                            at android.view.ViewGroup.drawChild(ViewGroup.java:3407)                                                                            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3200)                                                                            at android.view.View.updateDisplayListIfDirty(View.java:14180)                                                                            at android.view.View.getDisplayList(View.java:14207)                                                                            at android.view.View.draw(View.java:14977)                                                                            at android.view.ViewGroup.drawChild(ViewGroup.java:3407)                                                                            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3200)                                                                            at android.view.View.updateDisplayListIfDirty(View.java:14180)                                                                            at android.view.View.getDisplayList(View.java:14207)                                                                            at android.view.View.draw(View.java:14977)                                                                            at android.view.ViewGroup.drawChild(ViewGroup.java:3407)                                                                            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3200)                                                                            at android.view.View.updateDisplayListIfDirty(View.java:14180)                                                                            at android.view.View.getDisplayList(View.java:14207)                                                                            at android.view.View.draw(View.java:14977)                                                                            at android.view.ViewGroup.drawChild(ViewGroup.java:3407)                                                                            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3200)                                                                            at android.view.View.updateDisplayListIfDirty(View.java:14180)                                                                            at android.view.View.getDisplayList(View.java:14207)                                                                            at android.view.View.draw(View.java:14977)                                                                            at android.view.ViewGroup.drawChild(ViewGroup.java:3407)                                                                            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3200)                                                                            at android.view.View.updateDisplayListIfDirty(View.java:14180)                                                                            at android.view.View.getDisplayList(View.java:14207)                                                                            at android.view.View.draw(View.java:14977)                                                                            at android.view.ViewGroup.drawChild(ViewGroup.java:3407)                                                                            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3200)                                                                            at android.view.View.draw(View.java:15252)                                                                            at android.widget.FrameLayout.draw(FrameLayout.java:598)                                                                            at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2650)                                                                            at android.view.View.updateDisplayListIfDirty(View.java:14185)                                                                            at android.view.View.getDisplayList(View.java:14207)                                                                            at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:273)                                                                            at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:279)                                                                            at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:318)                                                                            at android.view.ViewRootImpl.draw(ViewRootImpl.java:2560)                                                                            at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2382)                                                                            at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2012)                                                                            at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1084)                                                                            at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5990)                                                                            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)                                                                            at android.view.Choreographer.doCallbacks(Choreographer.java:580)                                                                            at android.view.Choreographer.doFrame(Choreographer.java:550)                                                                            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)                                                                            at android.os.Handler.handleCallback(Handler.java:739)                                                                            at android.os.Handler.dispatchMessage(Handler.java:95)                                                                            at android.os.Looper.loop(Looper.java:135)                                                                            at android.app.ActivityThread.main(ActivityThread.java:5343)                                                                            at java.lang.reflect.Method.invoke(Native Method)                                                                            at java.lang.reflect.Method.invoke(Method.java:372)                                                                            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)                                                                            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

were you able to find any solution to this? I'm seeing the same issue

Same... I have tried with drawables in svg and png in drawable-any, each dpi folder and is still crashing in Android 6.0

This seems to be a serious issue. I couldn't find any solution for the matter as well.

I have solved mine...
I was seting the adapter after a permission check, remember that in API > 23 these are made on runtime, and I was not launching the Permission Request properly, just stepping over next lines of code and, so... this was blocking my view from rendering the tabmenu layout the right way. I just moved the Permission Check after my NavigationTabBar initialization and now it works fine.
So if you have a similar case, just check that you don have Post Lollipop Runtime Permission Request before your NavigationTabBar initialization, nor other thing that could block the UI Thread.

@lorduriel thanks for the detailed feedback. However, I've tried it without any other code, just initialization through XML. I am trying this on a Google Pixel with Android Oreo Beta, so that might cause the issue. The NavigationBar is located within a ConstraintLayout with end, start, bottom alignments to the parent.
So, there might be something further to investigate here.

same error here. Does someone knows how to fix it?

nd I was not launching the Permission Request properly, just stepping o

Am facing the same issue and i have not initiated any permission requests for my app but it is asking for permission anyways. Anything you want to share on this? @lorduriel


To find a safe way to pass uv_handle_t in threads

Q: Should we support pass uv_handle_t pass to threads?
A: Because libuv uv_asnyc_t used to pass notify from childs to parent, so simple answer is Yes.
But without uv_async_t, we have many other solution todo so, simply socket, so It's not deeply need.
Any advice? @creationix  @rphillips
basic flow

when data pass to thread or threadpool by uv.new_thread or uv.queue_work, first check data type, only accept basic lua/luv types, which include (nil, boolean, number, lightuserdata, uv_handle_t), other userdata can't be pass.

set ref to user data before real pass.

In threadpool, we have chance to clear ref to userdata in work_after_cb call.

in thread, when it finish, we clear ref to userdata.

So it's not difficult to do so. but all vu_handle_t should be malloc and userdata just store pointer of data.
ref to : https://github.com/luvit/luv/issues/182

I think most the types of handles that can be passed between event loops also have numerical file descriptors that can be passed instead and then re-created in the thread?
How many exceptions to this rule are there?  Are you proposing we handle this internally in the thread code?

I'm not sure we can pass handles since they are tied to a single uv_loop_t.


Add tags

Activate the tagging feature in docsy. Ideally these tags will go on top of the categories.

Here are the design options from Gareth:

@cjyabraham, I updated the order of the tags. Fundamentals and Advanced should come first, then Technology, Property or Concept, and then the rest — thank you!!

Fundamentals
Advanced
Technology
Property
Concept
Application
Infrastructure
Architecture
Networking
Data
Security
Platform
Analytics
Methodology

Here are the design options from Gareth:

I would 100% go with pink. It needs to pop so people see it.


gsutil is broken, using gcloud-sdk image while waiting fix

Here's a description of the breakage: https://github.com/GoogleCloudPlatform/gsutil/issues/806
and the proposed workaround for cloudbuild:
https://github.com/GoogleCloudPlatform/cloud-builders/issues/508#issuecomment-507646005


"we create a new Spring Boot Project" fails

Failed invocation of command 'springBootGenerator-spring-rest-seed'
TypeError: Cannot read property 'user_agent' of undefined
It looks like a "ctx.source" is expected to exist:
https://github.com/atomist/automation-client-ext-dashboard/blob/master/src/dashboard.ts#L182
I'm not sure how to populate that from the test:
https://github.com/atomist/sdm-smoke-test/blob/9eab88a7ef9dd5d91a6d117346cde3f4a9630892/smoke-test/features/step_definitions/springBootProjectCreation.ts#L39
Or if automation-client-ext-dashboard should be changed to allow ctx.source to be undefined?

Maybe @cdupuis has some insight on which way to go. ^


MACA epoch trends removal for precip

More than an issue a clarification..
In the original MACA paper by J. T. ABATZOGLOU AND T. J. BROWN, I read
"Differences are taken as additive for temperature
and dew point temperature, and multiplicative for precipitation and wind speed."
However I didn't find an obvious "switch" for the epoch trends removal/replacement that uses a ratio when the variable is precip.
I start from the flow file
That leads me to the call of removal of the trend
that leads me to the function where the trend is calculated as a difference
and then used here as a difference
similarly, when the trend is added back to the fine downscaled product there is only the sum.
On the map tool page there seems to be a precip product for MACA and so there are data available here.
Can you clarify this? Have you just used a subtraction for precip as well? or is the code a more obsolete version?
Thanks!

Hi, any updates on that?


[OpenCV] update to v4.5 and to v3.4.12

Update OpenCV to v4.5 (and v3.4.12)
Depends on: #15089
Fixes: #15479
Fixes: #15146
Fixes: #15108
Fixes: #15055
Fixes: #14368
Closes: #14118 (superseded, abandoned?)
Fixes: #13565
Fixes: #13098
Fixes: #13077
Fixes: #12740
Fixes: #12620
Fixes: #12587
Fixes: #11875

Please consider support to CUDA 11, see the discussion.

Please consider support to CUDA 11, see the discussion.

OpenCV 4.5 supports CUDA 11 :)

OpenCV 4.5 supports CUDA 11 :)

@cenit If you need any help. please ping me.

@cenit If you need any help. please ping me.

This PR (and anything related to OpenCV) really depends on #15089 being merged first, because it re-enables CI tests on this port. Otherwise the risk is of breaking the port even more.
I won't work on this PR before that one is merged

This PR (and anything related to OpenCV) really depends on #15089 being merged first, because it re-enables CI tests on this port. Otherwise the risk is of breaking the port even more.
I won't work on this PR before that one is merged

@cenit thanks for your work! I've tried to use your branch with opencv, but I've met a bug on windows. So, the bug is: share files are installing in folder share/opencv/${arch}/${vc}/lib, where OpenCVModules.cmake has incorrect relative path to libs (share/opencv/x64/lib). I think, config files should be moved in share/opencv instead of share/opencv/${arch}/${vc}. I've tried to figure out where the bug is, but at this time I couldn't do it. For now, I've manually moved this files into share/opencv and fixed OpenCV_INSTALL_PATH.

@cenit thanks for your work! I've tried to use your branch with opencv, but I've met a bug on windows. So, the bug is: share files are installing in folder share/opencv/${arch}/${vc}/lib, where OpenCVModules.cmake has incorrect relative path to libs (share/opencv/x64/lib). I think, config files should be moved in share/opencv instead of share/opencv/${arch}/${vc}. I've tried to figure out where the bug is, but at this time I couldn't do it. For now, I've manually moved this files into share/opencv and fixed OpenCV_INSTALL_PATH.

this branch is incomplete. I am waiting for some important fixes to be merged with master before pushing work here

this branch is incomplete. I am waiting for some important fixes to be merged with master before pushing work here

now that #15089 has been merged, I have updated patches to be correctly applied to opencv 4.5.0 and opencv 3.4.12.
I also unblocked CI for arm64-windows and arm-windows, because I would like those configs to work for this release.
There might be some regressions to fix, I will see output from CI and then proceed.

now that #15089 has been merged, I have updated patches to be correctly applied to opencv 4.5.0 and opencv 3.4.12.
I also unblocked CI for arm64-windows and arm-windows, because I would like those configs to work for this release.
There might be some regressions to fix, I will see output from CI and then proceed.

@JackBoosY all configs should have been tested by CI and should pass.
Please let me know if you see anything strange/not working. Otherwise for me it's ready for merge

@JackBoosY all configs should have been tested by CI and should pass.
Please let me know if you see anything strange/not working. Otherwise for me it's ready for merge

Mmmm it looks like x64-windows-static-md is not tested due to a cascade failure. I will investigate it, even if I suppose it might not be due to opencv.
Please confirm that all other configs are tested and the result is ok.
Thanks :)

Mmmm it looks like x64-windows-static-md is not tested due to a cascade failure. I will investigate it, even if I suppose it might not be due to opencv.
Please confirm that all other configs are tested and the result is ok.
Thanks :)

by the way @BillyONeal one thing might be improved about ci/regressions/baseline: if a regression is baselined in a "basic port", like qt5-tools:x64-windows-static-md, then with just a single line you are turning off many many ports from CI due to a very light "cascade" failure in all dependent ports (which in turn will get green mark in future even with a completely broken PR).
I don't know if I am clear enough, in case we can just discuss it in a different place because this PR is for sure not the right place.

by the way @BillyONeal one thing might be improved about ci/regressions/baseline: if a regression is baselined in a "basic port", like qt5-tools:x64-windows-static-md, then with just a single line you are turning off many many ports from CI due to a very light "cascade" failure in all dependent ports (which in turn will get green mark in future even with a completely broken PR).
I don't know if I am clear enough, in case we can just discuss it in a different place because this PR is for sure not the right place.

Need test features.

Need test features.

Need test features.

maybe not :)
If you check, CI is already testing all reasonable working features, thanks to vcpkg-ci-opencv which I put exactly for that.
In this way, I hope to protect also other ports from breaking features of OpenCV :)

Need test features.

maybe not :)
If you check, CI is already testing all reasonable working features, thanks to vcpkg-ci-opencv which I put exactly for that.
In this way, I hope to protect also other ports from breaking features of OpenCV :)

LGTM.

LGTM.

Already merged from master.

Already merged from master.

Thanks for @cenit 's hard work!
Thanks!

Thanks for @cenit 's hard work!
Thanks!


[feat] Blobstream Upgradable

Add the components necessary to make the Blobstream contract upgradable via a proxy contract:

please ensure a test via snfoundry and the devnet

References
https://github.com/OpenZeppelin/cairo-contracts/blob/main/src/upgrades/upgradeable.cairo

I can take that


DMM Area Error Kancolle Viewer

This hasn't happened for a long time and now the error resurfaced im stuck in using the browsers at the moment any suggestions?

UPDATE: I had to do the IE stuff all over again and it worked on the viewer nevermind

I'm pretty sure DMM changed something just recently as I haven't seen this error for a while and now it's there every time I restart the game.

See ccfecc5a4fc660dfc431ab270c92d82d775f3bfa; this will be in the next release.
For now it's possible to just edit the .config file and replace the old link with the new one.


[Q]: Encountered permission denied (<Response [403]>) when calling wandb sync.

Ask your question
Hi,
After I finished training using wandb's offline mode on a slurm cluster, I tried uploading the training results to the wandb cloud.
First I login using
wandb login --relogin
Then I ran
wandb sync ./results/wandb/offline-run-20240905_202516-98664 --id 98664
But this gave me the following error
Find logs at: /tmp/debug-cli.2201111701.log
wandb: ERROR Error while calling W&B API: permission denied (<Response [403]>)
Syncing: https://wandb.ai/1971225082/<name_of_my_project>/runs/98664 ... done.
I checked the /tmp/debug-cli.2201111701.log and it shows
2024-09-14 11:33:39 INFO open for scan: /gpfs/share/home/2201111701/Kaiwencheng/MDdyffusion/results/wandb/offline-run-20240905_202516-98664/run-98664.wandb
2024-09-14 11:33:40 ERROR 403 response executing GraphQL.
2024-09-14 11:33:40 ERROR {"errors":[{"message":"permission denied","path":["upsertBucket"],"extensions":{"code":"PERMISSION_ERROR"}}],"data":{"upsertBucket":null}}
2024-09-14 11:33:40 ERROR It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 403: Forbidden)
How to solve this question?

same problem here

Hi @kevincheng7, thank you for reaching out and sorry to hear you are experiencing this issue. Looking at the logs you shared, it seems that is trying to log to<PHONE_NUMBER> Entity, which doesn't exist.
Do you have the WANDB_ENTITY environment variable set to it by any chance?
Would you mind either setting WANDB_ENTITY = 'your_team_name' (You can find this under your user settings under default team) or when syncing add -e <your_team_name> to your sync command?
This should ensure you are logging against an entity you have access to.

Had the same problem, changing the default team in the user profile worked. Thanks!

Hi @kevincheng7 , I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.


[M2] Ruslan Functions + Tests

Create function(s) for the following as well as their corresponding tests:
get_data(stock_ticker)

The downloaded data should be saved in a new folder called data.

get_data should save the dates in Y-M-D format.

Done


Blanket Implementation of arithmetic ops for `Option'

I hope this hasn't been asked already but I couldn't find anything related to it.
I was wondering if there is a specific reason as to why there is no blanket implementation for Option<T> for the arithmetic operators like Add and the like. Example:
use std::ops;
impl<T: ops::Add<Output = T>> ops::Add for Option<T> {
    type Output = Option<T>;
    fn add(self, rhs: Option<T>) -> Self::Output {
        match self {
            Some(lhs) => match rhs {
                Some(rhs) => Some(lhs + rhs),
                None => Some(lhs),
            },
            None => rhs,
        }
    }
}

I can see this making certain code more easy to write when you work with function that return optional calculations for example. Without this you would have to write something similar to my example implementation as its own function which could possibly decrease readability if I am not mistaken.
Adding it now might be a breaking change though if a crate implements this behaviour for Option<CrateType>.

With try blocks you shouldn't really need this since you can write stuff like:
let x: Option<u32> = ... ;
let y: Option<u32> = ... ;
let z: Option<u32> = try { x? + y? };

If you wrote lhs + rhs then just lhs alone is almost always a serious logic bug, making this an incredibly bad idea.
You could ask if + should automatically be "lifted" to the Option monad, so x+y actually means try { x? + y? } like @canndrew wrote.  Again this would cause frequent logic bugs when people meant something else.
It's clear that either of these changes also makes code much harder to read by obscuring flow control, and makes the language harder to learn, aside from introducing numerous errors.
There is enormous value in making code less error prone and easier to read, like by eliminating boilerplate, which may incidentally make code easier to write.  There is otoh no independent value in language changes that just make code easier to write, only value derived from making it easier to read, less error prone, etc.

Makes sense to me, thanks for clarifying. Didn't think of it like that


MusicBox not visible as an available rendered via UPNP

Hello,
A bit of a frustration:
Ever since I installed 0.5.1 (also 0.5.3 and 0.5.4b), I cannot use MusicBox as an audio renderer via UPnP, using the following UPnP utilities:

Leia (Windows-based UPnP controller, works under Wine too)
UPnP Tool - a simple UPnP debug tool for Android
BubbleUPnP player for Android

I use MiniDLNA on Linux as my main media library.
Any idea what could be the issue? Please let me know what debug information I can add to help RCA.
Thank you in advance,
Jan Henkins

i think we'll make more progress on this by posting on mopidy.discuss.com as i know the upmpdcli dev has been active on there.

Thank you for the comment. I will reconfirm the issue, and start a discussion there if the problem persists.


Abstract and re-use object policy comparison

AWS does not return arrays within the JSON policy in a deterministic order so a deep equality is not sufficient here which made https://github.com/iasql/iasql-engine/pull/1074 necessary.

Part of https://github.com/iasql/iasql-engine/issues/1117


May be we will create a discussion group in Telegram | Discord | Any alse?

To discuss issues.
Because there is not help from book authors.
Any suggestions?

Made the discussion group:
https://t.me/Machine_Learning_on_Kubernetes


Fix k8s example broker Dockerfile

Add back the copy of the k8s-broker binary to the Docker image;
it was accidentally deleted.

LGTM

LGTM

LGTM, merging.


Laravel 5.5 support

5.5 will hit fairly soon. Any plans on adding it to the semver in the composer.json ?
It seems to be working perfectly fine under 5.5 already, but my tests are probably inadequate.

I submitted PR #36

Brilliant, closing this.

Is this going to get tagged and released? 5.5 was officially released today


How to not break tmux zoom mode?

I use <F12> to toggle the zoom mode, in tmux zoom mode,
if I switch panel in vim, it will un zoom the tmux which is annoying.
Expected behavior
Ability to detect tmux zoom mode.

I’m not familiar with tmux zoom mode but I can look into it 👍

@towry to clarify, what is the desired behavior here? Just don't do anything when the current pane is zoomed?

@mrjones2014 Like https://github.com/christoomey/vim-tmux-navigator#tmux did, let g:tmux_navigator_disable_when_zoomed = 1

@towry can you test this PR and make sure it works as intended? if so I will merge: https://github.com/mrjones2014/smart-splits.nvim/pull/41

@mrjones2014 You are amazing! ❤ It works!


[documentation] create one own images.linuxcontainers store

I was wondering if there is more information about how the images.linuxcontainers.org:8443 server is setup.
I would like to create my own image store where users can grab the latest version of a specific image.
Could someone explain or point me to a spec file?
Cheers
Eric

images.linuxcontainers.org:8443 is a weirdly setup apache server which pretends to be a LXD server, I'm not sure I'd recommend you do something like that youself :)
What you can do however is just run a public facing LXD server, then copy a bunch of images to it by using:
lxc copy <your image> <remote name>: --alias <some name> --public

That --public flag means that the image will be accessible to "untrusted" users. Those users can add your image server with:
lxc remote <some name> <your server URL> --public

and then use it as you usually would:
lxc launch <some name>:<image identifier> <container name>

Did the above steps help you?

Hi Stéphane, unfortunately I had no time to try this out, I will give some feed back as soon as I played around.

Re I did some experimentation using some 2 vagrant boxes:

lxcserver: ubuntu willy, exposing the port 8443 ( <IP_ADDRESS>)
lxcclient: ubuntu willy ( <IP_ADDRESS>)

unfortunately when trying to add the lxcserver as remote in my lxcclient box it fails:
vagrant@vagrant-ubuntu-wily-64:~$ sudo lxc remote add mylxd <IP_ADDRESS>
Generating a client certificate. This may take a minute...
If this is your first run, you will need to import images using the 'lxd-images' script.
For example: 'lxd-images import ubuntu --alias ubuntu'.
error: Get https://<IP_ADDRESS>:8443/1.0: Unable to connect to: <IP_ADDRESS>:8443
Does the lxd service run on port 8443 per default or should I install a nginx to host the /var/lib/lxd/images?
thanks for your help

By default LXD won't listen to the network, you'd have to run:
lxc config set core.https_address "[::]:8443"

To have it bind all IP addresses on port 8443

Well I was able to setup a local LXD server when configuring lxc as specified in you last comment.
in your first comment there is an "image" keyword missing:

lxc copy  : --alias  --public
should be
lxc image copy <your image> <remote name>: --alias <some name> --public

if one have to copy an image from one host to another the lxc config set core.https_address "[::]:8443" has to be done on both side otherwise the following error showed up:
error: The source remote isn't available over the network
I also had to set to an empty password on the server side:
lxc config set core.trust_password ""
and finally by adding a LXD remote server automatically I had to use --accept-certificate:
lxc remote <some name> <your server URL> --public --accept-certificate
Note about the trust_password option: some feature would be nice to have a download channel (without password) and an upload channel (with password or key) as a minimal access control to the central LXD server.
thanks for your help again, you can close this issue!

Hi,
Apologies on necroposting...
I work with TurnKey Linux and we have had a request (via our forums) to provide our (LXC) images via something like this (that's where I got the link to this thread).
However, we don't use LXC/LXD internally (I use LXC personally, but we don't have any infrastructure that is running it). As such we don't want to run a new server (with LXD), instead it would suit us much better to use a

weirdly setup apache server which pretends to be a LXD server

as provided by images.linuxcontainers.org:8443 (noted above by @stgraber).
So is it possible to share that "weird" Apache setup? Even better if it can be adapted to Nginx!?
If we had something like that then we could just add the config to our existing webserver and provide the LXC images directly from our existing file mirror. Is that doable? Any hints on how we might achieve that?

@JedMeister so it's likely that providing a simplestreams server may be easier since it's also entirely static and just needs a bunch of json files to be placed at the right location.
Note however that whichever way you go, LXD only supports https, so you will need an https enabled web server (though with letsencrypt, it's pretty easy to get nowadays).
You can look at the simplestreams bits of our image server here:

https://images.linuxcontainers.org/streams/v1/index.json
https://images.linuxcontainers.org/streams/v1/images.json

If you publish those two files at /streams/v1/ on your image server and publish information about your image in the same format we are, you'll then be able to add this as an image server to LXD with:
lxc remote add turnkey https://your-server.com --protocol=simplestreams

And then interact with it through the usual LXD commands.

Thanks tons @stgraber - You rock! :smile:

Not at this time no, it probably wouldn't be too difficult to implement though, we'd need a new ftype value to indicate that it's a unified tarball and then add support in LXD's simplestreams handler for that.


[Question] String kernels: Which is which

Hi,
in the paper it says you have implemented the SMILES string kernel [Cao et al., 2012] and the subset string kernel [Moss et al., 2020]. In the code the only string kernel is called SubsequenceStringKernel and refers to the Moss paper and to Beck et al. [2017]. Can you confirm that the kernel in the code is the subset string kernel and not the SMILES string kernel? And what happened to the latter?
Best wishes and cool library!

HI @benjamc,
The kernel in the code is indeed the subset string kernel from Moss et al. 2020!
The SMILES string kernel is (somewhat confusingly) referenced as "bag of SMILES" or "bag of amino acids" in the notebooks:

https://github.com/leojklarner/gauche/blob/main/notebooks/GP Regression on Molecules.ipynb
https://github.com/leojklarner/gauche/blob/main/notebooks/Protein Fitness Prediction - Bag of Amino Acids.ipynb

We don't have a bespoke implementation for the SMILES string kernel since the n-gram featurisation can be computed upfront and the Tanimoto kernel applied. Opening a PR now to reference Cao et al. 2012 in the code because it's indeed very unclear that the SMILES string kernel is equivalent to "bag of SMILES"!
Linking in @henrymoss and @aryandeshwal to see if they have any further thoughts!

I've now updated the notebooks and added a README to the string kernel directory that hopefully makes this clearer!

Hi @Ryan-Rhys,
thanks for the quick answer and clarification!
:sun_with_face:


Regarding Lego Dataset

Which dataset we have to download from https://rebrickable.com/downloads/
Colors.csv  and sets.csv , these are enough or have to download more ?

Perhaps, it's best to download all and then decide. We could build upon the other ideas later, if we have more data.


Decide what to do about "msg.json" schema for 2.0

Currently there is a "msg.json" schema in the specifications/ folder.
Do we include it in 2.0? Mark it as experimental? Remove it entirely?

I suggest removing it totally. It was just an illustration to the discussion about packages of ninjs items. We should reopen that issue after the autumn meeting and start from scratch.


Chrome 56: Input with suggestion items - focus gets lost

OpenUI5 version: 1.44.9
Browser/version (+device/version): Chrome 56
Any other tested browsers/devices(OK/FAIL): Internet Explorer 11 (OK)
URL
https://openui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.InputSuggestionsOpenSearch/preview
Steps to reproduce the problem:

Type in "high"

Delete "high" with BACKSPACE

Focus is not in the input field anymore, you have to click into the field again. This is different from the IE behavior where the focus stays in the input field

Type in "high"

Wait until suggestion list opens then type another SPACE

Focus is not in the input field anymore, you have to click into the field again. Suggestion list is closed. This is different from the IE behavior where the focus stays in the input field and the suggestion list is still displayed.

What is the expected result?
Focus stays in the input field
What happens instead?
Input field loses the focus
Any other information? (attach screenshot if possible)

Hi @HannesLadstaetter ,
I have tried to reproduce the reported issue but with no luck. On my machine the given link works the same on all three browsers, and the focus stays all the time.
What kind of machine are you using? Is it a touch enabled device? Also what is your OS?
Thanks & Kind Regards,
Gery (github dispatcher)

Hi,
yes the machine I’m working on is touch enabled device. It’s a laptop with a touch screen.
Kind regards,
Hannes
From: gerym<EMAIL_ADDRESS>Sent: Wednesday, April 05, 2017 9:15 AM
To: SAP/openui5<EMAIL_ADDRESS>Cc: Ladstaetter Hannes<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [SAP/openui5] Chrome 56: Input with suggestion items - focus gets lost (#1422)
Hi @HannesLadstaetterhttps://github.com/HannesLadstaetter ,
I have tried to reproduce the reported issue but with no luck. On my machine the given link works the same on all three browsers, and the focus stays all the time.
What kind of machine are you using? Is it a touch enabled device? Also what is your OS?
Thanks & Kind Regards,
Gery (github dispatcher)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/SAP/openui5/issues/1422#issuecomment-291774994, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZqDY1Sbbf2UPg7BEZW968aO5dcFH9eNks5rsz-KgaJpZM4MzCZ5.

Hi @HannesLadstaetter ,
I tried it on a touch enabled device, but it works there also. So I'm not able to reproduce the issue.
I will remove the "author action" label and leave it for the next dispatcher to give it a try.
Kind Regards,
Gery (github dispatcher)

Hi,
thank you for your investigations.
I have checked chrome://flags/ and found out that the described behavior occurs on my HP Elitebook with Windows 7  with touch screen when the Flag “Enable touch events” is set to “Automatic” (default) or “Enabled”. I doesn’t occur if “Enable touch events” is set to “Disabled”.
<EMAIL_ADDRESS>Maybe the combination Windows 7 and Chrome with “Enable touch events” causes the problem. So I will disable the touch events to solve this.
Kind regards,
Hannes
From: gerym<EMAIL_ADDRESS>Sent: Thursday, April 06, 2017 10:23 AM
To: SAP/openui5<EMAIL_ADDRESS>Cc: Ladstaetter Hannes<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [SAP/openui5] Chrome 56: Input with suggestion items - focus gets lost (#1422)
Hi @HannesLadstaetterhttps://github.com/HannesLadstaetter ,
I tried it on a touch enabled device, but it works there also. So I'm not able to reproduce the issue.
I will remove the "author action" label and leave it for the next dispatcher to give it a try.
Kind Regards,
Gery (github dispatcher)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/SAP/openui5/issues/1422#issuecomment-292103746, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZqDY4sWada5PueIVw_lTNX3QrTxjPYFks5rtKEBgaJpZM4MzCZ5.

OK, then I will close the ticket.
Kind Regards,
Gery (github dispatcher)


Fixed 'enrolled' UI on product detail page

⚠ REBASED ON #185 ⚠
Pre-Flight checklist

[x] Screenshots and design review for any changes that affect layout or styling
[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
Fixes #184
What's this PR do?

Changes the styling of the enroll button in the product detail page if you are already enrolled. The new styling more clearly indicates that it isn't an action button, and it follows the same sort of approach that xpro uses
Updates the logic of the button so that it only links to the edX course if you are enrolled and the course is active (start date in the past, end date in the future).

How should this be manually tested?
Test the page with a course run with start/end dates in the states described above
Screenshots (if appropriate)

Codecov Report

Merging #187 (6949479) into main (5f5abf5) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #187      +/-   ##
==========================================
- Coverage   97.04%   96.99%   -0.05%
==========================================
  Files         124      121       -3
  Lines        2809     2765      -44
==========================================
- Hits         2726     2682      -44
  Misses         83       83

Impacted Files
Coverage Δ

static/js/components/UserMenu.js
100.00% <ø> (ø)

static/js/components/forms/ChangeEmailForm.js
100.00% <ø> (ø)

static/js/components/forms/ChangePasswordForm.js
100.00% <ø> (ø)

static/js/components/forms/EditProfileForm.js
100.00% <ø> (ø)

static/js/components/forms/EmailForm.js
100.00% <ø> (ø)

static/js/components/forms/LoginPasswordForm.js
100.00% <ø> (ø)

static/js/components/forms/RegisterDetailsForm.js
100.00% <ø> (ø)

static/js/components/forms/RegisterEmailForm.js
91.66% <ø> (ø)

static/js/components/forms/ResetPasswordForm.js
87.50% <ø> (ø)

static/js/containers/pages/login/LoginEmailPage.js
100.00% <ø> (ø)

... and 15 more

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 5f5abf5...6949479. Read the comment docs.


permissions endpoint: use presenters table instead of property table

vb mega study - substudies are  not loaded from th epresenters so they do not have properties...
https://epvb.slack.com/archives/GBDR4LDNC/p1695758153322669
current info is:
prop.study_access,
prop.display_name,
prop.short_display_name,
prop.description,
prop.days_for_approval,
prop.custom_approval_email_body
what I think we shoudl do is for studies without props use the presenters info:
display_name,
short_display_name,
description,

Resolved by commit f6426299d71f53e008c33e0b7aa0e742a1ff3fe2


Let the user decide if products should be sent on 3G or Wifi

Let the user decide if products should be sent on 3G or Wifi.
In some countries, users prefer to avoid Mobile networks because data isn't unlimited.

@jinqian do you have any advice on this ?

I was thinking of having a look at this, we could just save the product offline if they do not wish to upload them. What do you think? @jinqian did you ever do anything with this?

I was bugging Qian with too many questions at the time :)

@teolemon No worries, I'll take it over and hopefully have a PR for it this evening!


Update OAuth for Panel 1.3.1

With 1.3.1, there is now a Guest user and we can update our OAuth custom code to take advantage of the new feature.
https://holoviz-dev.github.io/panel/how_to/authentication/guest_users.html

Yes, sounds excellent.


Bug (?) : choosing "MultiViewType" in the sample has weird views, like empty-view even though there is data shown

Just look at this:

It shows  "no data here" in the middle, and it has action bar items that don't do anything, plus it has something on the top-left that doesn't do anything.

The action bar items that don't do anything, plus it has something on the top-left that doesn't do anything.
The items on the actionbar do not have any other special features so the demo do not achieve them in this activity.

Why add them then?
And why did you close this issue? Don't you see the "no data here" text?

You can add them like in the MainActivity.
Do you also need empty view in multitype?

I don't understand. I run the sample, and I see the "no data here" text, even though there are items.
Don't you see it's a bug?
Why show that there are no items, when there clearly are items shown?


PAI doesn't clean job container

Organization Name:
Micorsoft
Short summary about the issue/question:
PAI doesn't clean job contaienrs.
OpenPAI Environment:

OpenPAI version: master

Anything else we need to know:
Root cause:
In #1108, we remove --rm as launching job container, so docker daemon won't clean containers. Confirmed with @wangdian that cleaner won't clean these containers. Then there is no container clean mechanism now.
Residual container examples:
42af191d4a5c        openpai/pai.example.tensorflow                        "/bin/bash /pai/boot…"   About an hour ago   Exited (0) About an hour ago                                                    admin-test-sleep-container_e44_1552954684228_0103_01_000002
4fe903811bca        openpai/pai.example.tensorflow                        "/bin/bash /pai/boot…"   About an hour ago   Exited (143) About an hour ago                                                  admin-test-kill-job3-container_e44_1552954684228_0100_01_000002

It's a blocking issue

Why removing -rm?

@fanyangCS
This pr need docker inspect to get container OOM status.

Ok. After the inspection, we could rm it. Right? Please also check whether the debug mode is affected.

@fanyangCS
Nope, all commands in yarn container might be interrupted, so any clean action in the yarn container is unreliable.
We need dockerd(with --rm)  or cleaner(implement by ourselves) to manage the residual containers out of yarn container.

https://github.com/Microsoft/pai/pull/2355

Fixed in #2355


chore: add and run synthtool

split up in incremental commits

Will fix up Binary Compatibility build in next PR.

The binary compatibility check is a recent template update in synthtool and will function the next time synthtool is called with the most up to date version of synthtool.


Add (some) sound effects

Simple addition which adds a couple of sound effects to the game to make
it just that little bit funner. Wasn't sure of what sounds everyone
wanted, I considered these were the classic ones.
Please let me know what other sounds you're interested in or feel free
to do so on your own. I got the sounds from #300.

This pull request is now managed with CodeReviewHub. Refresh.

Oh, that's great! Thanks for helping with the project :)
:shipit:


Move to use Path2D canvas API

New canvas API provide also Path2D. Would that improve performance?
There is also a polyfill.

Note that we have some Path2D-usage in the https://github.com/mozilla/pdf.js/blob/master/src/display/pattern_helper.js file.
If it'd be helpful in more places, individual issues should be opened for those specific cases; hence closing this old issue.


Feature/date input controlled

Modify DateField so that it works as a controlled input

Deploy preview for affectionate-nobel-f3a8ec processing.
Built with commit 030560a9d053722b51c69626c9240a1a60826caa
https://app.netlify.com/sites/affectionate-nobel-f3a8ec/deploys/5bb3de8473f2cf453b9bec39

Codecov Report

Merging #420 into master will increase coverage by 0.27%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master   #420      +/-   ##
========================================
+ Coverage   99.72%   100%   +0.27%
========================================
  Files          77     78       +1
  Lines         364    366       +2
  Branches       16     16
========================================
+ Hits          363    366       +3
+ Misses          1      0       -1

Impacted Files
Coverage Δ

components/date-field/src/index.js
100% <100%> (ø)

components/date-field/src/input.js
100% <100%> (ø)

components/top-nav/src/atoms/menu-button/index.js
100% <0%> (ø)
:arrow_up:

components/table/src/atoms/Cell/index.js
100% <0%> (ø)
:arrow_up:

components/top-nav/src/hoc/asNavLinkAnchor.js
100% <0%> (ø)
:arrow_up:

components/top-nav/src/index.js
100% <0%> (+11.11%)
:arrow_up:

Continue to review full report at Codecov.

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

Rebased and updated component version to 0.2.12 inline with other form elements. Removed empty spans.
We should run npm deprecate on date-input when this change is released. Some additional information is available in this blog post if required.


Document how to use GPU on macOS

I think this can be closed now. Torch acceleration with Metal is meant to "just work" now.


parseBaggageString is not a function

Issue
Hello. We started using your package to integrate Sentry into our Fastify applications. It worked really great until we integrated Sentry into another application which calls the first one.
I found that this is related to baggage, hence why the issue only appears when Sentry is enabled in the caller app.
I then looked at Sentry's SDK code and found that the parseBaggageString() function has been renamed to parseBaggageHeader() in version 7.3.0.
Versions

node: 16.18.1
fastify: 4.6.0
@immobiliarelabs/fastify-sentry: 5.0.0
@sentry/*: 7.18.0

@MLforAll Thank you for the detailed report. So if I understand correctly, this issue comes up only with distributed tracing, right? 🤔  To reproduce, I could make a dummy app using Sentry that calls an http service written in fastify that is using this plugin

I tested locally and I could not reproduce the issue, I think because the sentry-trace header is not set:
import fastify from 'fastify'
import sentry from '@immobiliarelabs/fastify-sentry'
import { fetch } from 'undici'

const DSN = 'some private din';
const ENV = 'fastify-sentry'

const OPTS = {
  logger: true
}

const app1 = fastify(OPTS)
app1.register(sentry, {
  dsn: DSN,
  environment: ENV,
  tracesSampleRate: 1
})
app1.get('/call-1', async () => {
  return { some: true }
})

const app2 = fastify(OPTS)
app2.register(sentry, {
  dsn: DSN,
  environment: ENV,
  tracesSampleRate: 1
})

app2.get('/call-2', async (req, reply) => {
  const response = await fetch('http://localhost:5000/call-1')
  const payload = await response.json();
  return payload;
})

app1.listen({ port: 5000 })
app2.listen({ port: 4000 })

@MLforAll  are you manually setting this header? With the options passed sentry should set the header to the response, so it could be something to look into additionally to what you reported.

After looking again into the express integration, I found a way to manually add those headers:
import fastify from 'fastify'
import sentry from '@immobiliarelabs/fastify-sentry'
import { fetch } from 'undici'

const DSN = 'some private dsn';
const ENV = 'fastify-sentry'

const OPTS = {
  logger: true
}

const app1 = fastify(OPTS)
app1.register(sentry, {
  dsn: DSN,
  environment: ENV,
  tracesSampleRate: 1
})
app1.get('/call-1', async () => {
  return { some: true }
})

const app2 = fastify(OPTS)
app2.register(sentry, {
  dsn: DSN,
  environment: ENV,
  tracesSampleRate: 1
})

app2.get('/call-2', async (req, reply) => {
    const response = await fetch('http://localhost:5000/call-1', { headers: {
      'sentry-trace': '12312012123120121231201212312012-1121201211212012-0',
      baggage: 'sentry-version=1.0,sentry-environment=fastify-sentry',
    }})
  const payload = await response.json();
  return payload;
})

app1.listen({ port: 5000 })
app2.listen({ port: 4000 })

And I can see the error now. I think this issue exposes a few other things in that logic that we should update, I'll work on it.

Hello, and sorry for the delayed response.
The "caller" app is using Express.js and the "callee" app is using Fastify.
Here's how Sentry is initialised in the Express.js app:
Sentry.init({
	dsn: process.env.SENTRY_DSN,
	environment: process.env.NODE_ENV,
	release: process.env.APP_VERSION,
	integrations: [
		new Sentry.Integrations.Http({ tracing: true }),
		new Tracing.Integrations.Express({ app })
	]
})

What sets the baggage header is the Http integration (Sentry.Integrations.Http).

:tada: This issue has been resolved in version 5.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support 64-bit kernel with 32-bit userspace

This updates the error to check that the arm64 kernel is running in a 64-bit userspace before it throws a warning.

Can you please rebase your branch and fix the conflicts?
IMO This is fine to be merged.

Fixed this in https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/81


rollback feature

Hello
Thank you for your very usefull tool.
Do you plan to add some rollback feature ?
When we install patches it happens that we need to rollback it.
Here is my idea :
Let's say that for all Vxxx script, it exists a RB_Vxxx script.
Let's add a "Intallation_tag" field in the CHANGE_HISTORY table which would be filled by a new variable "Intallation_tag" if provided in the command line.
So, if I ask snowchange to do a rollback on a specific "Intallation_tag", snowchange knows the list of all sql scripts installed during this installation_tag. Thus it can execute the rollback scripts in the inverse order.

Thanks for the suggestion @qqcvd! Undo (or rollback) migrations are tricky. And while tools like Flyway to do support them, they usually come with a lot of cautions (see Undo Migrations in the Flyway docs). Honestly I haven't spent much time thinking about the best approach with Snowflake.
What specific use cases do you have in mind? And how would you propose we deal with the issues raised in the Flyway docs?

I have 2 use case :

When, the SQL delivery is part of an bigger delivery including many other application, it happen that , becasue of a problem on another application, you have to rollback all the patches. Yhus you will have to rollback your SQL patch (which was in a successful install state)

If your installation is in a error state, you have to rollback it. In the pas, while working on SQL server, I could write the rollback command for each installation command.
For exemple, in Snowflake, you can use the "IF EXIST" condition in some case...
On SQL server, it was possible to test the existence of a fiel before create or delete it.... in Snowflake, it is not possible... that's the point.... :-(

Sorry for the super slow follow-up here @qqcvd. The rollback feature is one that I hear about somewhat frequently. If you'd be willing to code it up and submit a PR I'd be happy to review. And if you do, please copy the naming convention and other high level semantics from Flyway.

does anybody have examples of how the do rollback when using schemachange?

Hi guys. I'm looking into opening a PR for this functionality. I'd like to clarify on its design before jumping into it.
I have checked out the Flyway solution and seems that the way to go is to add U migrations which follow the same versioning as the V ones. This means only versioned migrations would be affected for the rollback.
Having the example of:

V1.0.0__new_migration.sql
U1.0.0__new_migration.sql

when running schemachange undo, with a default --step 1 the application will:

Fetch all V migrations
Fetch all U migrations
Get U migration of last V migration. Question: If it doesn't exist, crash or continue?
Run U migration
Delete V migration related to U

Having the first iteration of this feature only implementing the --step <n> option, for a future development of the --to <version>.
Is this something you would feel comfortable merging to the root project @sfc-gh-jhansen ?

Hi guys, I wanted to know that, does the old schema is saved before it is upgraded to new version.
If YES, where is it saved and
if NO, can we store the previous schema details.
PS: I know versioning data is saved in HISTORY_TABLE. I need the entire schema storage.
And how can we rollback if needed. Thanks in advance !!

@sfc-gh-jhansen, is the rollback feature live?

The PRs which was raised was closed.
We would really like to have this rollback feature. Please do let us know if roll back will be an feature to the schemachange?


Parameters for replicating quantitative results

Hi, thanks for your great work! I am trying to replicate your quantitative results, but currently only get about ~46% accuracy. What parameters do you use to get these results?
Currently I have:
200 epochs
im_size=64
inject=0
skip_connections=1
reconstruction_loss=10

@e-271 You can try skip_connections=0 for 64-model. However, some details of the code are different from the paper (for example, the 64-model in paper use layer normalization), therefore, the results will still have a difference. Or you can refer to #11 for a 128 model with similar accuracy.


Systemd docker uses incorrect ENV file/vars when deploying with Calico

When specifying docker options in group_vars/all.yml (https://github.com/kubespray/kargo/blob/master/inventory/group_vars/all.yml#L136), the options are written to a file in /etc/default/docker, under the variable name DOCKER_OPTS. However, the systemd service file (used for Calico deploy) points to /etc/sysconfig/docker* (https://github.com/kubespray/kargo/blob/master/roles/network_plugin/calico/templates/systemd-docker.service#L15-L17) and does NOT append the DOCKER_OPTS variable.
Running on EL7

#307 did not preserve back-compat with EL6; #308 does, checking /etc/{sysconfig,default}/docker

Implemented with merge from #308


colcon problem

Updated 0 paths from the index
patching file src/main/target/SITL/target.h
Hunk #1 FAILED at 143.
1 out of 1 hunk FAILED -- saving rejects to file src/main/target/SITL/target.h.rej
gmake[2]: *** [CMakeFiles/betaflight-firmware.dir/build.make:119: betaflight_sim/src/betaflight-firmware-stamp/betaflight-firmware-patch] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/betaflight-firmware.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
when I run "colcon build --event-handlers console_direct+" ,I meet this problem , I think I am  not alone ,please help.

only betaflight_sim package can't get success.

Can you share the full trace ? I don´t have enough information to help you.


ko-KR isMobilePhone.js

Hi,
I just updated korean mobile phone validator.
Telephone numbers in South Korea

Coverage remained the same at 99.129% when pulling 9ffc9eab80c5d0ec387a43f35c026b753ed92669 on SangHakLee:ko-KR-isMobilePhone into fb2ae42df7925117749971e8ce10317791135736 on chriso:master.

Coverage remained the same at 99.129% when pulling fc2247338415fe9d6e42062a1a92b180a9f95593 on SangHakLee:ko-KR-isMobilePhone into fb2ae42df7925117749971e8ce10317791135736 on chriso:master.

Thanks.

Thanks @chriso.
Have a nice day.


How to get bots to use discord commands?

i want my bot to be able to use /tts and @

Using commands? Idk about.
Mentioning people? Here
var target = bot.getUser("username", stringWithUsername);
var response = target.mention + ", your message.";
bot.sendMessage(message.channel, response);

I'm getting this error now
http://i.imgur.com/aKIHSvE.png

..... replace "stringWithUsername" so that it is a variable that has the username in in...

You can also make a message TTS by specifying the option parameter, check
the docs for Client.sendMessage for an example of this.
On Thu, 5 Nov 2015 7:13 am Khionu Terabite<EMAIL_ADDRESS>wrote:

..... replace "stringWithUsername" so that it is a variable that has the
username in in...
—
Reply to this email directly or view it on GitHub
https://github.com/hydrabolt/discord.js/issues/46#issuecomment-153975254
.

Good to know, re TTS

so msg.sender.username?

If you want to mention them, no. If you just want their username, yep.
To mention do: msg.sender.mention() OR do msg.sender + ""
On Thu, 5 Nov 2015 7:21 am PastaAdventures<EMAIL_ADDRESS>wrote:

so msg.sender.username?
—
Reply to this email directly or view it on GitHub
https://github.com/hydrabolt/discord.js/issues/46#issuecomment-153976113
.

Or, if you want to mention the sender at the beginning `bot.reply(message, "what you want to tell them");

so this is suppose to send a tts msg?
if (msg.content === "!notice") {
bot.sendMessage(msg.channel, "Hey " + msg.sender.username + "!", true)
}

Learn JS
Read the Discord.JS documentation
Read what we said above.

i don't know what i'm suppose to specify it as, true and tts don't work

That's not what. "msg.sender.username" is just going to give you the string. That's not what I showed you to Mention them.

yeah, for this on i just want the string, but wan the bot to tts the whole msg

Options is an object, not just true. You need to use:
{
tts:true
}
On Thu, 5 Nov 2015 7:57 am PastaAdventures<EMAIL_ADDRESS>wrote:

yeah, for this on i just want the string, but wan the bot to tts the whole
msg
—
Reply to this email directly or view it on GitHub
https://github.com/hydrabolt/discord.js/issues/46#issuecomment-153981702
.

hi @khionu what do you mean by replacing "stringWithUsername" as a variable, I am new to discord.js so could you kindly show men how you can do this in javascript,
Thanks in advance!

@FredyTek are you trying to send a message that mentions someone?

Please don't revive old issues... Make a new one if you have a question

Yes @Azoy
I will @abalabahaha

can someone help me? what im trying to do is so if someone types "@botname hi" the bot will say whatever back but how do you get teh prefix to be the bots @?

@ChlckenWings I got that to work by simply watching the message.content to include client.user which is my bot.
So, for example:
if(message.content.includes(client.user)){ message.channel.send('Yes?'); }
Hope that helps.


why do you use abnormal data to train?

when I want to use my self dataset,I found your model just use abnormal dataset of KDD99 to train.But  When I read some other paper, they said when they use  GAN model to do abnormal detection ,they just use normal dataset to train,not abnormal dataset. Could you answer my question?

@YohannaYin . Great question and I agree with you. Normal data are used for constructing the architecture so that the model cannot correctly reconstructed the anomaly samples and thus generates a relatively higher loss (anomaly score).
Hope the author could answer this question. @houssamzenati @bruno-31

@YohannaYin . I notice that there is a sentence in the paper "Adversarially Learned Anomaly Detection
Houssam": "Due to the high proportion of outliers in the KDD dataset, “normal” data are treated as anomalies and the 20% of samples with the highest anomaly scores A(x) are classified as anomalies (positive class)."
Therefore the anomaly samples are treated as normal samples and feeded into the model. Should this be the answer?

Apologies for answering so late and many thanks @jmq19950824 for your reply, indeed we follow the setup of the DAGMM paper so it is as you said


minimal update query migration to query planner

Closes #189
Description
minimalistic migration of update query to query planner
Client output
no changes to client output

Pull Request Test Coverage Report for Build 241569965

16 of 22 (72.73%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 84.8%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql_engine/src/query/process.rs
4
10
40.0%

Totals

Change from base Build 241530154:
-0.03%

Covered Lines:
6053

Relevant Lines:
7138

💛  - Coveralls


ARTEMIS-3542 Avoid requesting LDAP root attribute

Check getAttributes with dn of user entry to avoid missing permissions

Is there anything I forgot to do before this PR will be merged?

Sorry, @MM53. You didn't forget anything. Once the PR checks pass (running now) I'll merge it.


Verify release marker behaves as intended

Per @aaronsteers  in https://github.com/meltano/meltano/pull/5978/files#r889606266 the release marker landing in #5978 maybe not always get packaged/distributed as intended:

Python packaging is weird sometimes about what actually ships and what doesn't. Can we double check this file gets bundled and installed with the operation? (Either in docs or through a 'real' test.)

Also - and I just realized this now - I think this breaks if a user does pipx install git+https://github.com/meltano/meltano.git

For now, I think this can be a bug we would live with, but perhaps we open an issue to track/prioritize in a future PR.

@pandemicsyn and @WillDaSilva - Did we have any progress here? I was reminded of this as I'm migrating the publish script from GitLab to GitHub.
Do we still need to run these lines or do we / can we just have this on by default until we have time to circle back?
    - pushd /meltano/dist
    - ARCHIVE="$(sh -c 'echo "$1"' sh meltano*.tar.gz)"
    - DIR="$(basename $ARCHIVE .tar.gz)"
    - tar -xvzf "$ARCHIVE"
    - touch "$DIR/src/meltano/core/tracking/.release_marker"
    - tar -cvzf "$ARCHIVE" "$DIR"

We probably just need to update Poetry's include field in pyproject.toml to include .release_marker.

@aaronsteers @pandemicsyn I've manually verified that .release_marker is included if the lines posted by @aaronsteers are run in CI to update the sdist before it is published to PyPI.
To deal with the pipx install from GitHub issue, we can probably flip this around: include a file in our git repository that gets removed by some code in CI that alters the sdist before it is published to PyPI. Basically the same code as above, but with rm instead of touch, and then negate the logic around the file being present or not. I guess we can call it .dev_marker.


TFRS - Miscellaneous new Act label changes

Describe the task
Some miscellaneous label adjustments following: (1) further discussion / thought, (2) previously overlooked by PO, (3) issues identified after close out of previous label card.
Labels to change:
See attached document for description of label changes:
New-Act-Label-Changes_Clean-up_Missed-labels.docx
Purpose
Changes labels and messaging to align with the language and framing used in the new Act.
Acceptance Criteria

[ ] All the labels need to be changed as per the attached document without breaking the functionality
[ ]

Review:
See here: Private Zenhub Image
Missed-labels_REVIEW.docx

Hey team! Please add your planning poker estimate with Zenhub @jig-patel @prv-proton

There are four label changes that need to be adjusted. Attached the word document with these changes in the description of the card, under the Review: heading. Zenhub upload feature not working for comments so added document to the main description.

Partially tested and working. Unable to test final label due to time-based label changes for transactions


Customise timeout

I see in the underlying library that the timeout for connection is set to 5 seconds. This is fine for one of my thermostats, but the other one seems to respond more slowly. Could that timeout be added as an optional parameter to the library and up into the HA configuration, perhaps?

Hi. Over 5 seconds response time sounds very strange. Are you really sure that this is the problem? Have you tried underlying library as a command line tool, heatmiser_wifi, directly to your thermostats?
Could you measure the actual response time?

I've not yet, but I'll give it a go. Sometimes it works on an HA restart, sometimes not. I think the device is getting a bit old and decrepit tbh, it falls off the wifi with regularity as well. I'll have a deeper poke at it :+1:


feat: Simplify Account Key

Fixes #43

Thank you for your PR!
Could you fix the failing test in the contracts package?
I think it is the same error in this PR. https://github.com/zkemail/zk-regex/pull/48
Also, did your code pass the circuits test?

Lots of tests are still failing...


Tagging for v2

The latest tag is v1.0.1-dev.7 but the development is now done towards or beyond v2.
Shouldn't we have dev tags for v2 instead?

Nice catch. yes the tagging needs to be tweaked to v2.1.0-dev.x for a Jakarta release.

I escalated this to Devops

@farshidtz , @siggiskulason , this tagging issue has been resolved by DevOps. Thank you for pointing this out.
https://github.com/edgexfoundry/device-rfid-llrp-go/releases/tag/v2.1.0-dev.1
https://github.com/edgexfoundry/app-rfid-llrp-inventory/releases/tag/v2.1.0-dev.1


Destroy a target card

It should be possible to simply destroy a target card with a spell or such. Right now we can get around it doing something like
spell { targets 1 cards { creature 'true' } }
afterPlay { damage 9999 to targets }

But that's a bit crazy I'm sure we'll agree. Something like afterPlay { destroy targets } would be much more instinctual and better.

With a little trick, we could probably re-use #408 for this. How about this?
afterPlay {
   to targets perform {
       perish()
   }
}

I think that would work. I'm not a huge fan of having more keywords after the closing bracket right now, since we don't have anything else in the DSL with this syntax though.

Note that the "to targets" part could in both examples be replaced with a target-closure, such as:
afterPlay {
   effect {
       perish()
   } to {
       creatureType 'Greek'
       zone 'Battlefield'
   }
}

Technically, "targets" is a TargetFilter IIRC.

targets is an Object AFAIK.
These two suggestions are elegant from a programmer's perspective, but I think they run the danger of being too meta for someone not used to programming.


Link in note doesn't match sublocation folder

My setup is configured like this:
Output in subfolder
Subfolder name: /images
When I paste the images (or drag them) they are put in the correct folder, but the link says

instead of

The error says: "instead of" ?


The validation did not stop,but suspend.

The pring information shows that the validation  experiment has printed and verified the check point of ckpt.799.pth, but the main program has been stopped there without termination.
the check point of ckpt.799.pth

The validation did not stop,but suspend.

It keeps polling new checkpoints in the directory. You need to manually kill it after it evaluates all checkpoints.

It keeps polling new checkpoints in the directory. You need to manually kill it after it evaluates all checkpoints.

Hi, Changan, in validation,  is validation curve plot in tensorboard or somewhere else?

thank you @ChanganVR

@JeremyLinky The validaiton stats are saved in the tensorboard log files under the tb/ folder. You can visualize it with tensorboard.


[HELP NEEDED] how to use it

how do i use it for my project

Read the documentation at https://aspizu.github.io/goboscript

lmao


PhantomJS 1.5 64 Dynamic Build: Segmentation fault

<EMAIL_ADDRESS>commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.
1.5.0
What steps will reproduce the problem?

Download PhantomJS 1.5.0 Linux x86_64 (Dynamic build)

Run phantomjs on fresh installation of Ubuntu 11.04
Will print Segmentation fault

Which operating system are you using?
Fresh installation of Ubuntu 11.04 64 bit server
Did you use binary PhantomJS or did you compile it from source?
Binary PhantomJS
Please provide any additional information below.

If I run phantomjs -v it works and prints the version. Same with -h.
When I try to run a script or without argument is crashes.
From strace:
mmap(NULL,<PHONE_NUMBER>, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #493.
:star2:   2 people had starred this issue at the time of migration.

Please upgrade to PhantomJS 2. 1.9.x is no longer supported, and known to have many crasher bugs that are fixed in 2 version.


on slug buildhooks from builder, controller should accept the URL for the slug

specifically, on the /v2/hooks/build call, builder should be able to send a slug_url parameter in the body. currently, workflow and builder (and its slugbuilder) have to manually ensure that the URLs match

Is slug_url any arbitrary URL or should I be validating it against a certain list or against anything else to verify authenticity?

I can't think of a good list of verifications. @smothiki thoughts?

If we create URL with a specific fixed pattern. Only the artifact name is sufficient to reconstruct the URL.
just send URL in place of image name and it should work fine I guess.

artifact here being everything but the domain itself? Should we just tack that on the s3 settings we have already? That's doable, mostly wanted to know how flexible we wanted this.

we are already doing that https://github.com/deis/workflow/blob/master/rootfs/deis/settings.py#L295

Yeah, I meant using that setting + artifect path (/home/git/slugs/foobar.tgz or whatever) that it sent, instead of sending the full URL.

If we pass in the full URL then workflow does not need to know about S3EP at all.
If we pass in the artifect and tack it on S3EP then there is slightly higher guarantee on the item coming from a known location but also means we that's the only place those can be stored.

@arschles ?

I'd like to allow builder to send the full URL, and put the onus on builder & slugbuilder to get it right. Objections?

I'm down with that. One less thing workflow has to care about. @smothiki do you see any issues?

if the artifact path is fixed and if we know the domain of object store , is there a need to send full URL ?
It makes sense if the URL model is not constant. But I'm okay sending entire URL and workflow supports it I guess unless we are not doing a regex check on image

This was resolved with #346


Revert "Test on older version of OSX"

Reverts pyiron/pympipool#241
https://github.com/actions/runner-images/issues/8642 seems to be fixed now.

The tests now use the latest 12.7 image but still fail.

Replaced by https://github.com/pyiron/pympipool/pull/258


Running bgd without an app name but with a manifest results in an error

e.g.
cf bgd -f manifest.yml errors but cf push -f manifest.yml does not.
Workaround : supply app name as well as manifest.yml.
This would break further if the manifest.yml contained multiple apps.

Potential solution.

[ ] If a manifest describes more than 1 app, the cf bgd should deploy all of them.
[ ] If we want to deploy a single app in a manifest file which describes multiple apps, just do cf bgd name -f path/to/manifest.yml
[ ] If we want to deploy 2/3 apps described in a manifest file, we should do 2 separate bgd calls for each app instead of trying to handle this in a single bgd deploy. e.g. cf bgd name1 -f path/to/manifest.yml then cf bgd name2 -f path/to/manifest.yml

@rrufus We had this discussion a while ago in the team. Deploying all apps in the manifest introduces more questions.

Does the smoke test run for all deployed apps?

What if I don't want that

What is the exit behaviour when some of the smoke test fail or some of the deploys fail

What should happen to the successful deploys? Should it be all or nothing?

I think we need to tackle this as part of a bigger story supporting multiple apps in the manifest. If this is not a regression I suggest we leave it for now.

@timjacobi this was written up as a result of discussions I had with Holly, which also created the linked comment. We changed our direction after our discussions so that we could focus on smaller bugs.
In response to your points:
Smoke tests:

I had thought that smoke tests only make sense per app, because assuming each app has a different behaviour the smoke test should also be different. We discussed taking the command line parameter "smoke test" out of a flag and putting it into the manifest file (globally for a smoke test to run on every app, either scoped for each app listed in the manifest), but again did not implement this because we felt it overstepped "bug fixing" into feature addition.

Exit behaviour:

Perhaps all of the 'new' apps should be deployed as -new, and then all of the smoke tests run, and then only when all of the tests pass do we change the routes.

We wanted to discuss with Dom before going any further too :)