Get end of module span

We're now going to use this crate to parse .wast scripts and convert them to specialized .js for testing in SpiderMonkey. [1]
One issue I ran into was how to output modules into JS. Ideally we'd output the module in text form, for easy debugging. The problem is how to get from a wast::Module to a text module.
I looked into two ways of doing this:

wasmprinter::print(module.encode()) - this has the disadvantage that we lose info, such as $idNames. Additionally, some spec tests are changed semantically when round-tripped like this.
Use module.span and a handwritten scanner to mind the end of the S-expr for the module in the .wast file, then copying the string from the full-span.

(2) is the approach I went with and it works surprisingly well, once the scanner was written (look for closed_module in the phab diff. But I'm a little worried this is fragile, and it feels like getting the end of the span from the parser would be a better solution.
[1] https://phabricator.services.mozilla.com/D111306

I never really figure out the best way to integrate spans in wast, they're generally just a glorified usize newtype-wrapper at this point. I'm not really sure how much it makes sense to enhance them at this point since it seems like it may just be a cost without much gain.
That being said solving this issue y'all have should be easy enough, we could record, at least for a top-level module, the start/end parentheses tokens and the spans associated with them, and then if we expose the offset within the Span (which we probably should do to avoid you having to parse lines/newlines/columns/etc) then it should be possible to subslice the original string with the module start/end span?

oops didn't mean to close

Yeah, I agree that there wouldn't be much point in improving Span generally. I'd be worried about a memory size regression if we added another usize to it. Specially tracking the begin and close span's of a module would work well, I think.
One complication is that sometimes a Module is parsed without an opening (module and therefore no closing ). I don't remember where in the testsuite I ran into this, but I had to tweak the module scanner to handle it.

Well I suppose another option is to say "well surely *.wat files are all less than 1G" and have Span be two u32 values to make it an equivalent size as it is today. Currently "span" is actually a misnomer because it doesn't track the end...
That'd also solve the issue where (module wasn't present because you could always join two spans into one. Something like Module could keep track of where it started parsing and where it stopped parsing to ensure that it's always got a full span for all the items

I'm working on the SpiderMonkey test generator @eqrion mentioned, and a sizable chunk of our program's runtime is spent in Span::linecol_in. This is essentially quadratic behavior; only the offset is saved during parsing, and looking up line/column later requires another pass through the entire file. It seems like it would be pretty easy to just save the line/column during the initial parse?

In the test suite of this repository I ended up only calling linecol_in in the error path since it was so expensive, but I presume that's probably too costly since you're generated code that has the filename/line number in it?
Otherwise though the main worry here is the memory impact of increasing the size of Span since it's stored just about everywhere. If you can't measure much impact though then improvements are probably fine.
Alternatively I think it'd be reasonable to build a table-like data structure which could be used for faster lookup of file/line information, basically do a linear scan of the input for newlines, insert that into a sorted array, and then linecol_in, or another method, would take this as input and do a binary search to figure out the line number.

I'll give it a try tomorrow. I doubt the memory impact will be significant enough to warrant a side data structure that would take up space on its own, plus implementation complexity. (Besides, this seems like an easy memory-versus-time trade off, to me.)


Images not loading in two columns

I am having an issue where when I first come to the screen the images don't go into two columns like they should. After I navigate into one of the image items and return to the initial screen the images go into two columns.
Initial view of screen:

Navigate away from screen:

Navigate back to screen, images waterfall as they should:

My code:
`
struct FavoritesView: View {
@EnvironmentObject var viewRouter: ViewRouter
@ObservedObject var favoriteItems = FavoriteItemModel()

var body: some View {

    HStack {
        WaterfallGrid(favoriteItems.favorites, id: \.self) { item in
            FavoriteItemView(favoriteitem: item)

        } // Waterfall
        .gridStyle(
            columnsInPortrait: 2,
            columnsInLandscape: 3,
            spacing: 8,
            padding: EdgeInsets(top: 16, leading: 8, bottom: 16, trailing: 8),
            animation: .easeInOut(duration: 0.5)
        )
        .navigationBarTitle("Favorites", displayMode: .inline)
        .onAppear(perform: getFavorites)
    } // HStack

}

func getFavorites() {
    favoriteItems.loadFavorites()
}

}
`
`
struct FavoriteItemView: View {
let favoriteitem: FavoriteItem
@EnvironmentObject var shareableItemVM: ShareableItemViewModel
@State private var showShareableModal: Bool = false

var body: some View {
    HStack{
        NavigationLink(destination: ShareableDetailView(shareableId: self.favoriteitem.id, categoryId: 0, categoryType: "", shareItemType: favoriteitem.itemType, showShareableModal: self.$showShareableModal)) {
                WebImage(url: URL(string: self.favoriteitem.itemImage))
                    .resizable()
                    .aspectRatio(contentMode: .fit)
                    .cornerRadius(10)
        }
        .environmentObject(self.shareableItemVM)
        .buttonStyle(PlainButtonStyle())
    }
}

}
`
I am using similar code with the WaterfallGrid in a couple other views, and I do not have this issue. The only thing I can think of is because these images are at different heights.
Any thoughts?

My issue had to do with a init() in the Model.

@cbartellds glad you found the issue. Sorry I couldn't answer before.
Thanks!


buckets dont spill if you fill while wearing

Description
watertight seal but you can still drink and draw from it with no issues

wear empty bucket
get beaker or other bucket
start filling head bucket
take a drink after your hard work
no spill

feature


Update Longhorn app to the latest version

This issue is a:

[ ] Bug Report
[x] Enhancement suggestion
[ ] Feature request

If the issue concerns an existing Marketplace application, please tag the maintainer of the application (found in manifest.yaml) below:
Enhancement suggestions/feature requests
Currently, we have Longhorn version 1.3.2 installed by Civo marketplace as the newest stable version 1.4.2 is available, so it needs to be updated to the newer stable version. We kindly request an update to the latest version of Longhorn on the Civo marketplace to ensure that we have access to the most recent features and improvements.
@dirien is the maintainer for this app, so I request you to please take a look into this.

go for it!🎉


[utils,unwind] fix path to log.h

Bug: https://bugs.gentoo.org/936406

@floppym fixed the missing CMake include path with https://github.com/FreeRDP/FreeRDP/pull/10410 - is this still required?

I wasn't able to reproduce the error personally. I will apply #10410 on top of 3.6.3 in Gentoo and see if the bug gets re-opened.

Closing for now.


Fix/mantlemint

This PR makes use of the newly implemented mantlemint as the main lifecycle executer.
Before mantlemint, mantle-sdk triggered cosmos lifecycle functions manually. However computing the correct application state has direct dependency on tendermint as well, and these behaviours are somewhat difficult to simulate. Additionally, tendermint might change over time which means simulation code has to be kept up to date.
Instead of simulating aforementioned tendermint behaviours, mantlemint uses tendermint's native BlockExecuter and State, both of which are the only part which determine a correct application state (therefore AppHash).
No breaking changes to mantle-sdk apis are introduced by this change.

resolves #16


Forecolor cannot be set on text field

Hello,
I have just installed MaterialSkin in a Windows Forms Application project created with VS 2017.
I have added a MaterialSingleLineTextField''on which I wanted to change the fore color, but it doesn't work, is black all the time.
I also have noticed that this problem is with all the controls where a fore color can be set.

I have the same issue, cant find solution anywhere!!
The components are looking normal outside a tab but inside a tab all of them are black, same like here:
https://github.com/IgnaceMaes/MaterialSkin/issues/121

I think its take it all or leave it scenario here,
        `materialSkinManager = MaterialSkinManager.Instance;
        **materialSkinManager.EnforceBackcolorOnAllComponents = true;**
        materialSkinManager.AddFormToManage(this);
        materialSkinManager.Theme = MaterialSkinManager.Themes.DARK;`

if you set the highlighted line to true then default theme is applied to all controls but if you set it to false then you can apply your own colors but then you have to set the color of all controls manually.

Hola, tengo el mismo problema, encontraron alguna solución? me podrían ayudar?

Same problem with Label. bold italic red just appears as plain normal black text.

Try following fix if you have this problem occur on a Page in a TabControl. Go to TabControl -> TabPages -> choose your page -> set UseVisualStyleBackColor to false


Removed duplicate from Ubuntu1804-README.md

I'm not 100% sure whether it is duplicate or there is multiple docker client installed side by side and it it wrong version.

@kmadof thanks for reporting this. Readme is being created automatically during image generation, so we should find the root cause there, no need to fix the readme file itself.

Looks like these 2 scripts provide the same output
https://github.com/actions/virtual-environments/blob/master/images/linux/ubuntu1604.json#L130#L131

@miketimofeev I see your point. I see two possible causes:

one script is not needed
one script should not edit docker image

Am I right?

@miketimofeev I see your point. I see two possible causes:

one script is not needed
one script should not change README.md

Am I right?

@kmadof looks so.
@alepauly it seems that docker.sh script extends docker-moby.sh and I'm a bit confused why do we need both of them?

@alepauly it seems that docker.sh script extends docker-moby.sh and I'm a bit confused why do we need both of them?

@ds-ms made those changes originally- and he probably knows best. Deepak, can you helps here? thanks.

Earlier when I made that change only one of those scripts was used in the packer template.
But, from the looks of it, it seems to be a duplicate entry.
We can merge the scripts into one, docker.sh is being used for caching some images during the vm image generation, and docker-moby.sh does only moby install.

Do you think that this PR is good place to solve that issue or maybe sth more accurate is needed?

This seems like the right place to me, given that the root cause of the problem is duplicate scripts.
Thoughts?

Hello, @kmadof
Please don't update autogenerated documentation file. Duplicated and will be fixed in https://github.com/actions/virtual-environments/pull/470 PR.


Add ability to generate queryClient[fetchQuery/executeMutation] like useQuery/useMutation when using react-query without hooks

Is your feature request related to a problem? Please describe.
I want to use react-query without hooks in some places

Describe the solution you'd like

Add ability to generate functions like queryClient.fetchQuery and queryClient.executeMutation
Describe alternatives you've considered

None
Additional context

For example, generated fetchQuery should be like:

I saw it, but I want to use it in another way, with client.
It will be cool if I have ability to generate functions like that:

In your approach everything is connected to hooks.

I agree, however, it does not force you to use hook-based (in the lifecycle POV) functions, you just need to access the fetcher through the hook variable.
The plugin is hook-first by following the design of React Query itself that is hook-first too.


How did the authors combine values and the five theories?

Hello, I found the work really impressive and it provides me with many valuable insights. But I have a question about combining values and the five theories. In the value.csv, each human value generated by LLM is correlated with an aspect of a particular theory. Could you please explain how this correlation was achieved? Did the authors manually identified the aspect the value belonging to, or did the authors utilize LLMs to solve the problem? Thanks a lot for your attention.

Thanks for reaching out! We did it manually to check if the definitions of the values fit into the definition of dimensions in each theory.


[Enhancement]: FlipX option

Contact Details
No response
What do you want to see?
flipx option in chars.json for characters maybe?

https://github.com/thepercentageguy/FNFSharp/commit/31f5e156c0ffc5caea6f9665fe685f18680b04b1


ATS 9.1.3 permission problems with run file on openEuler20_aarch64

hello，I meet a problem:ATS 9.1.3 permission problems with run file on openEuler20_aarch64
Steps to reproduce the issue
[root@localhost bin]#./traffic_manager
[E. Mgmt] log ==> [TrafficManager] using root directory '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver'
FATAL: Can't open server lockfile '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/server.lock' (Permission denied)
[root@localhost trafficserver-9.1.3]#cat var/log/trafficserver/traffic.out
[E. Mgmt] log ==> [TrafficManager] using root directory '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver'
FATAL: Can't open server lockfile '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/server.lock' (Permission denied)
[E. Mgmt] log ==> [TrafficManager] using root directory '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver'
FATAL: Can't open server lockfile '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/server.lock' (Permission denied)

Can you tell me how to solve the problem?
Run the sh -x bin/trafficserver start command:
test.log

@bneradt Although I have assigned permissions to /home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver, the error is reported in openEuler_aarch64.
[root@localhost bin]# chmod 777 /home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/
[root@localhost bin]#
[root@localhost bin]#
[root@localhost bin]# ./traffic_manager
[E. Mgmt] log ==> [TrafficManager] using root directory '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver'
FATAL: Can't open server lockfile '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/server.lock' (Permission denied)

@bneradt Although I have assigned permissions to /home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver, the error is reported in openEuler_aarch64.
[root@localhost bin]# chmod 777 /home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/
[root@localhost bin]#
[root@localhost bin]#
[root@localhost bin]# ./traffic_manager
[E. Mgmt] log ==> [TrafficManager] using root directory '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver'
FATAL: Can't open server lockfile '/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/server.lock' (Permission denied)

With the message "Permission denied" I still suspect some DAC issue for your path with the Traffic Manager process. Can you verify that each of the directories in the /home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/ path are readable/executable by the Traffic Manager process? Note that traffic_manager will run as the proxy.config.admin.user_id user (which defaults to user nobody). Using strace might be helpful to determine the specific cause of the EPERM.


Fork and process life

Hi all, I have two question about daemon work.
I use supervisord for forking php processes and supervisord watching for this process work.
If some script will die he will restart it.
As I understand, Workerman can fork process like:
$ws_worker->count = 4;

1) But if one of workers will die - it will not start again, so I still need use supervisord for this?
2) How you prefer to work with this? Make fork by PHP, as code above and use supervisord or use supervisord for fork process and watch by them.

$ws_worker->count = 4;
$ws_worker Master process will fork 4 child process, and master process will never die... if child process crash/exception/die, master will restart it!

master process will never die

To optimistic :)

@see Workerman\Worker::monitorWorkersForLinux()

Thanks!


Code assumes little endian

The thing that kills me is that we require the code be changed for use on bit endian system. ARM exists. ARM users (and distro packagers) shouldn't have to make code changes to use this code. Autoconf will do this for us with the AC_C_BIGENDIAN macro. Use it.

But...some processors can be BE or LE.  Microblaze for example.
On Fri, Feb 3, 2017 at 2:34 PM, Philip Tricca<EMAIL_ADDRESS>wrote:

The thing that kills me is that we require the code be changed for use on
bit endian system. ARM exists. ARM users (and distro packagers) shouldn't
have to make code changes to use this code. Autoconf will do this for us
with the AC_C_BIGENDIAN macro. Use it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/01org/TPM2.0-TSS/issues/328, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdleNHdcCTPR9uNuFzWS6kV1zj5KosNks5rY4FIgaJpZM4L2uAw
.

microblaze can be both BE and LE at the same time?

oh I get it, it's an FPGA soft CPU, but it has to be either / or

So what's the concern @wcarthur1?

If you use some macros or functions for handling endianness that
automatically do the "right thing" I'm not sure they'll work right for cpus
that can go both ways.  For those how will htonl and other similar macros
know?
On Fri, Feb 3, 2017 at 3:00 PM Philip Tricca<EMAIL_ADDRESS>wrote:

So what's the concern @wcarthur1 https://github.com/wcarthur1?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/01org/TPM2.0-TSS/issues/328#issuecomment-277347369,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdleIN6XJDOyTmH6DfTjHkmwjcKCX4Kks5rY4dVgaJpZM4L2uAw
.

That may be the case, but it'll be hard to do much worse than the current situation:

LE only.
Code changes required for BE systems (aka no ARM support).
99% certain we do not support this microblaze architecture you're playing with (unless you have it configured as LE).
By the way have you got that to work?

Every ARM system I have worked on has been configured for LE. ARM and other processors that support both modes are not switchable at run-time, if they are, no one does it.

Thx @williamcroberts, I don't have any experience with ARM really. Useful data. I'm just trying to improve the situation with this issue. I'm sure that whatever I come up with won't be perfect but if I can get us sane LE support I'll call it a "win". I'll worry about the more exotic stuff when it becomes an issue.

What you want is sane big endian support, everything is LE so you already support that.

In this PR for TPM2.0 tools, I have code for dealing with big-endianess:
https://github.com/01org/tpm2.0-tools/pull/213
I also don't determine endianess at build but rather detect at runtime and the make adjustments as needed.

My current approach is to use endian.h if available and just let the platform handle this stuff for me. We should probably turn this into a library since I'm sure other tools will need it.

I stayed away from endian.h sys/endian.h arpa/init.h as it can be a nightmare when porting around (from experience), the code is simple enough to implement, but that's just my two cents.

Yeah no way I'm touching arpa/init.h with a 10 foot pole, and sys/endian.h is OpenBSD only (according to the docs). Sounds like you're just writing your own version of endian.h then with a custom byte swapping thing?

Essential yes. The endian.h routines like htobe32 and htole32 just check to see if the target endianess is different (in my code that would be a call to is_big_endian) followed by a byteswap (in my code string_bytes_convert_32())
The files.h routines are very similair to htobe16|32... in endian.h in that they check the host endianess and convert to be when necessary. Additional, the file routines write to the FILE object.
endian.h is not cross platform, I try to avoid including non-portable code when ever an easy solution is present.

Spent some time on this over the weekend and the additional level of abstraction required to use endian.h and the other platform specific equivalents is a bit cumbersome. The options for endian conversion are just too many (endian.h, the windows equivalent, compiler built-ins etc) and the solution ends up being a header with if elseif elseif ... endifmadness. Your points above are all spot-on. I'll back the endian.h stuff out of my prototype to simplify. Thanks for the input.

Glad I can be of service for a change!

resolved in 7360972a1b3b203d20a264b391039f3934966f6c


Audio single result refinements

Fixes

Fixes #741
Fixes #671
Fixes #740
Fixes #544
Fixes #781 by @krysal
Description

Increase waveform height
Localize "Audio information" heading
New tag style
Remove tag links
Hide source when matches provider in details section
Make provider link to external url
Remove pluralization from 'Related audios'
Switch to correct related audio layout
play/pause/title alignment to rest of content
Add 'Back to search link'
Fix mobile typography
Fix full audio track mobile layout
Rounded right corners on download button when no dropdown

Before
After

Testing Instructions

Click around single audio results on multiple display sizes.
Checklist

[ ] My pull request has a descriptive title (not a vague title like Update index.md).
[ ] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

I'll implement some further refinements and cleanup tomorrow, and ask for another round of reviews.

Did some preliminary testing of this and it looks good so far to me. Will review again once the updates Francisco requested are up

@panchovm Apologies for how long it took to get to your feedback! Some questions:

Position of back action
The back to search should be outside the wave area. It is not possible to click on it when playing area overlaps the link.

I've fixed the link to be clickable and also to have some additional padding so it's a larger click surface. I am not sure how to move it 'outside the wave area'. This would create a situation where there's a grey bar above the waveform, like this:

current
possible

This is also relevant to the height discussion. The timestamp placement relating to the back link, in particular:

current
possible

Tag pill size

The version in the actual page is smaller than what I see in the mockups: The mockups have a font size of 14px, vertical padding of 8px, and horizontal padding of 16px.
Figma: https://www.figma.com/file/w60dl1XPUvSaRncv1Utmnb/Openverse-Releases?node-id=1228%3A21496
The other styling issues should be resolved! I was able to find a way to do the 'safe area' around the waveform:

Two full-height yellow elements pop in at the start/end of the waveform while it's playing or when it's finished.

@zackkrida is that bug #692?

@sarayourfriend that definitely sounds like #692, thanks for flagging it!

@zackkrida I guess optional chaining isn't actually allowed in Vue templates. This PR currently throws a syntax error when to try to compile it.

The main aspect of this change is the interactive part and the visual effect indicating the playing state. We can try reducing the width of both areas to make the gap more unnoticeable.

Another solution that would take some extra work is to extend the waveform animation beyond the end of the waveform to fill the last gap. It would take some careful math to get right but it probably doable. Not in this PR though! Definitely something for a future low-priority PR.


Is it possible to edit i18n.js on localehost?

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hello, I am unfortunately not very familiar, I am a beginner and I really don't know..
I need to edit the i18n.js file on my server.
1- Is it possible to edit i18n.js after installation by Docker?
2- Where is i18n.js file located on my server?
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.1
💻 Operating System and Arch
Ubuntu 22.04.2
🌐 Browser
Version 116.0.5845.111 (Official Build) (64-bit)
🐋 Docker Version
Docker version 24.0.1, build 6802122
🟩 NodeJS Version
v12.22.9

Yes, you can simply mount a file with the content you desire to the path that you need it to be.
See https://docs.docker.com/storage/bind-mounts/
To find the correct path in the container you can simply exec inside the container docker exec -it <CONTAINER> <COMMAND>
Note that doing so is usually not recommended.
If you have a problem that other people also have, bringing code upstream might be a better idea, as otherwise every upgrade will be quite a hastle.


namespace env vars?

Would it make sense to namespace the vars? e.g.:
PROBOT_INTEGRATION_ID=foo
PROBOT_PRIVATE_KEY=alsjkfhjkadsjhfs
PROBOT_WEBHOOK_SECRET=okajsujdfniusxdyafk

Is there a known issue where they conflict with something?

No, but they seem rather generic. This would be of more concern when deploying probot on a machine alongside other services. So, maybe a dev box, home network, small office intranet server, etc.
On Heroku or in containers: not a thing.
If it's more trouble than it's worth (right now) then let's close this.

Yeah, let's wait and see if it becomes an issue.


Location of wlst.sh is wrong in the new 12.2.1 samples

Location in the install.file is set to mw1221, as shown here. Yet wlst.sh is executed from the "old" weblogic location as shown here, causing an error if you try to use the samples supplied.

This is also fixed by PR #37.


Assertion error in make_uncertainty_submission()

error in
assert df.shape[0] == prediction.shape[0] * 2
prediction.shape == (385560, 28),  not (30490, 28).
Make uncertainty submission...
> /Users/yujiariyasu/programming/ai/kaggle/Pyro-M5-Starter-Kit/util.py(448)make_uncertainty_submission()
-> assert df.shape[0] == prediction.shape[0] * 2
(Pdb) l
443  	        prediction = prediction.reshape(-1, 28)
444  	        # the later 28 days only available 1 month before the deadline
445
446  	        import pdb; pdb.set_trace()
447
448  ->	        assert df.shape[0] == prediction.shape[0] * 2
449
450
451  	        df.iloc[:prediction.shape[0], :] = prediction
452  	        # use float_format to reduce the size of output file,
453  	        # recommended at https://www.kaggle.com/c/m5-forecasting-uncertainty/discussion/135049
(Pdb) prediction.shape
(385560, 28)
(Pdb) c
Traceback (most recent call last):
  File "model3.py", line 231, in <module>
    main(args)
  File "model3.py", line 174, in main
    m5.make_uncertainty_submission(filename + "_uncertainty" + ext, q, float_format='%.3f')
  File "/Users/yujiariyasu/programming/ai/kaggle/Pyro-M5-Starter-Kit/util.py", line 448, in make_uncertainty_submission
    assert df.shape[0] == prediction.shape[0] * 2
AssertionError

Sorry, I was mistaken!!


built out admin panel

I rule and have completed some work on Case Manager that's ready for review!
Built out the admin panel according to https://github.com/colinxfleming/dcaf_case_management/issues/686.
Things todo:

[ ] clean up inline css
[ ] extract partials
[ ] formate the table data correctly

But we can do these once we have more functionality implemented

@colinxfleming

Current coverage is 98.76% (diff: 100%)

Merging #689 into master will increase coverage by <.01%

@@             master       #689   diff @@
==========================================
  Files            27         27
  Lines           567        569     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            560        562     +2
  Misses            7          7
  Partials          0          0

Powered by Codecov. Last update c68c794...0bf25d0

Hey guys - this didn't get finished from a design perspective and what you built isn't what we decided on for design. Please touch base with @nimiro !

@mebates I just picked the first page, I understand the frontend design is not ready yet so this mainly sets up the backend, we can then change the view according to the design you and @nimiro come up with once its decided.

@mebates like @itsWill noted, this rigs up the backend so that we can throw the actual designs in. Fully expect that we'll have another pull request or three before we're 100% good to go, but this PR (setting up routing and tests) means that the next person to take a stab will be able to hit the ground running when team ux has reached an endpoint in #626 . $$$$

Great!


Sending alerts when graphite server is not availible

Cabot sending tons of alerts when graphite server is unavailable or authentication has been failed.
It should send one information email and stop alerting per each check..

I agree that this can be annoying but it's difficult to know how big an issue no information is for you.
Do you have a proposal of what sort of notification you'd like to get? What about frequency? What if there's a general outage that kills your graphite machine as well as your whole infrastructure? Wouldn't you want to be notified?
Genuine question - for us this would be a critical issue and so we don't mind too many alerts (especially with the acknowledgement mechanism that recently landed) but would like to establish parameters around this.

I think that such alert emails should be sent to "administrator" but not to every single user which run graphite check ..

I think if the services Cabot is monitoring are mission-critical then a failure to be able to check if the services are working should itself be considered a critical failure... What you are describing wouldn't work for us, for example.
If you were to submit a PR for some ability to configure this I'd be happy to review and in theory to merge, but I don't think we should change this globally.

Closing this. The "official" workaround is to set up an HTTP check for graphite being up, and base your reaction on that. If you have a very specific solution I'd be happy to reopen.


Error while running under python 3.4

$ fig run console bash
Traceback (most recent call last):
  File "...fig/.tox/py34/lib/python3.4/site-packages/dockerpty/pty.py", line 143, in start
    flags = [io.set_blocking(p, False) for p in pumps]
  File "...fig/.tox/py34/lib/python3.4/site-packages/dockerpty/pty.py", line 143, in <listcomp>
    flags = [io.set_blocking(p, False) for p in pumps]
  File "...fig/.tox/py34/lib/python3.4/site-packages/dockerpty/io.py", line 31, in set_blocking
    old_flag = fcntl.fcntl(fd, fcntl.F_GETFL)
ValueError: file descriptor cannot be a negative integer (-1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "...fig/.tox/py34/bin/fig", line 9, in <module>
    load_entry_point('fig==0.5.2', 'console_scripts', 'fig')()
  File "...fig/.tox/py34/lib/python3.4/site-packages/fig/cli/main.py", line 30, in main
    command.sys_dispatch()
  File "...fig/.tox/py34/lib/python3.4/site-packages/fig/cli/docopt_command.py", line 21, in sys_dispatch
    self.dispatch(sys.argv[1:], None)
  File "...fig/.tox/py34/lib/python3.4/site-packages/fig/cli/command.py", line 28, in dispatch
    super(Command, self).dispatch(*args, **kwargs)
  File "...fig/.tox/py34/lib/python3.4/site-packages/fig/cli/docopt_command.py", line 24, in dispatch
    self.perform_command(*self.parse(argv, global_options))
  File "...fig/.tox/py34/lib/python3.4/site-packages/fig/cli/command.py", line 49, in perform_command
    handler(project, command_options)
  File "...fig/.tox/py34/lib/python3.4/site-packages/fig/cli/main.py", line 263, in run
    dockerpty.start(project.client, container.id)
  File "...fig/.tox/py34/lib/python3.4/site-packages/dockerpty/__init__.py", line 27, in start
    PseudoTerminal(client, container).start()
  File "...fig/.tox/py34/lib/python3.4/site-packages/dockerpty/pty.py", line 147, in start
    if flags:
UnboundLocalError: local variable 'flags' referenced before assignment

The flags error seems easy enough to fix (just set it to None before the try/except).
The other one looks to be caused by this:
pumps:

stdin: (Stream(<_io.TextIOWrapper name='<stdin>' mode='r' encoding='UTF-8'>), Stream(<socket.socket [closed] fd=-1, family=AddressFamily.AF_UNIX, type=SocketType.SOCK_STREAM, proto=0>)),

stdout: (Stream(<socket.socket [closed] fd=-1, family=AddressFamily.AF_UNIX, type=SocketType.SOCK_STREAM, proto=0>), Stream(<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>)),

stderr: (Stream(<socket.socket [closed] fd=-1, family=AddressFamily.AF_UNIX, type=SocketType.SOCK_STREAM, proto=0>), Stream(<_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>))

The flags error is fixed in fab2b4a4dd36efad88 and the file descriptor error looks like docker/docker-py#413 and is fixed in docker-py 0.7.1. Chances are good that this one can be closed when #28 is merged.

Can this be closed? #28 was merged long ago.


Error: Failed to load plugin 'flowtype' declared in '--config » @react-native-community/eslint-config#overrides[0]': Cannot find module 'eslint-plugin-flowtype'

Description
Problem appears in PhpStorm 2022.1.1
Error: Failed to load plugin 'flowtype' declared in '--config » @react-native-community/eslint-config#overrides[0]': Cannot find module 'eslint-plugin-flowtype'
// package.json

{
  // ...
  "dependencies": {
    "react": "17.0.2",
    "react-native": "0.66.4",
  },
  "devDependencies": {
    "@babel/core": "^7.17.12",
    "@babel/eslint-parser": "^7.17.0",
    "@babel/plugin-transform-react-jsx": "^7.17.12",
    "@babel/runtime": "^7.17.9",
    "@react-native-community/eslint-config": "^3.0.2",
    "babel-jest": "^26.6.3",
    "babel-plugin-module-resolver": "^4.1.0",
    "eslint": "^7.32.0",
    "eslint-import-resolver-babel-module": "^5.3.1",
    "eslint-plugin-import": "^2.26.0",
    "jest": "^26.6.3",
    "metro": "^0.66.2",
    "metro-react-native-babel-preset": "^0.66.2",
    "react-test-renderer": "17.0.2"
  },
}

Version
0.66.4
Output of npx react-native info
System:
OS: macOS 12.3.1
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 121.51 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 17.0.1 - /usr/local/bin/node
Yarn: Not Found
npm: 8.3.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 30
Build Tools: 30.0.2
System Images: android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8309675
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.66.4 => 0.66.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Provide a detailed list of steps that reproduce the issue.
npx react-native some
open app in PhpStorm
Snack, code example, screenshot, or link to a repository
No response

Similar problem, but on version RN 0.68:
https://github.com/facebook/react-native/issues/33534

Closing as this was fixed by https://github.com/facebook/react-native/pull/34020


Problem (bug?) with basic auth js script after upgrade from 0.9.6 to 1.0.0

I've just upgraded Karate from 0.9.6 to 1.0.0 and I'm struggling with basic auth. Previously it worked perfect, now I'm getting this:
:karate-runner:test FAILED
nameOfTheRunner > [7.1:119] Scenario title FAILED
org.opentest4j.AssertionFailedError at AssertionUtils.java:39

And these details in the report:
org.opentest4j.AssertionFailedError: >>>> js failed:
01: function fn(creds) {
02:     var temp = creds.username + ':' + creds.password;
03:     var Base64 = Java.type('java.util.Base64');
04:     var encoded = Base64.getEncoder().encodeToString(temp.bytes);
05:     return 'Basic ' + encoded;
06:   }
<<<<
org.graalvm.polyglot.PolyglotException
- java.util.Base64$Encoder.encode(Base64.java:261)
- java.util.Base64$Encoder.encodeToString(Base64.java:315)
- <js>.fn(Unnamed:4)
classpath:features/metadata/metadata-single-bat.feature:5
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:39)
	at org.junit.jupiter.api.Assertions.fail(Assertions.java:117)

Any ideas? Is it a bug in Karate or am I doing something wrong? (beside the upgrade I didn't change anything else)

@intest please read this part of the release notes: https://github.com/intuit/karate/wiki/1.0-upgrade-guide#javabean-property-short-cuts-dont-work-in-all-cases

I forgot to metion, that I tried it also and I got:
org.opentest4j.AssertionFailedError: >>>> js failed:
01: function fn(creds) {
02:     var temp = creds.username + ':' + creds.password;
03:     var Base64 = Java.type('java.util.Base64');
04:     var encoded = Base64.getEncoder().encodeToString(temp.getBytes());
05:     return 'Basic ' + encoded;
06: }
<<<<
org.graalvm.polyglot.PolyglotException: TypeError: temp.getBytes is not a function
- <js>.fn(Unnamed:4)

Also tried with     var encoded = Base64.encoder.encodeToString(temp.getBytes()); and still the same.
I'm not into JS so much, so I really don't know how to fix it. I would be really grateful for help.

@intest sorry this worked for others so you are certainly missing something. please follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
refer: https://github.com/intuit/karate/issues/1373#issuecomment-753519111

To use the toBytes() the object needs to be a string. I think I stumbled on this Peter but forgot to report but it’s just this engine that’s “less forgiving”. @intest do temp.toString().getBytes()

It works! Thank you so much @joelpramos :)


How to import image from Public folder as a Typescript module?

I have a default create-react-app setup with Typescript.
My assets located in the public folder.
I want to load image into canvas through another library (Phaser).
And that works:
let img = './assets/sprites/mushroom.png';
Phaser.game.scene.load.image('monster', img);

I can't find the mushroom.png in the output folder assets, but it loads somehow (actually it is here):
What I want now is to check whether all my assets present while compiling time and make an aliases for them.
So I want to do
import * as img from  './assets/sprites/mushroom.png'
And it says:
Module not found: Can't resolve './assets/sprites/mushroom.png'
I also have a file src/images.d.ts with declare module '*.png'
I have seen a multiple questions about that on SO, but can't find an appropriate solution. Can you help me with this?

Delete src/index.d.ts, you don't need this.
Next, move your assets into your src/ folder.
Finally, you can get a URL like so:
import MushroomUrl from './assets/sprites/mushroom.png'

Thx, it is working, partially...

I do need declare module '*.png';. WIthout it typescript says it can't find a module mushroom.png

If I do (1) so it works. But only when I use img in react tag  <img src={img}/>. It contents BASE64 encoded string so I can't use that string as a source for my library, it needs path.

Ah, hmm.. I can see that this would be frustrating. Can that library support base64 urls? I'll reopen this to track this request.

Can that library support base64 urls?

I suppose there is a hack with base64 conversions so I will try to fix it from there. But it will be great if React supports this.

Phaser should be able to support base64 urls, it seems like more of a problem with them.


⚠ Samsung has degraded performance

In 686956d, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2708 ms

Resolved: Samsung performance has improved in 00b4c11.


Switch from travis to Github Actions

Let's migrate off of travis for checking the docs and lint. :cat:

I can take a first shot at this! I'll open a PR a little after 5pm today - I might need a few tries to get the action working, but it looks pretty straight forward.

Oh nice
On Fri, Apr 30, 2021, 18:12 Vanessasaurus @.***> wrote:

I can take a first shot at this! I'll open a PR a little after 5pm today -
I might need a few tries to get the action working, but it looks pretty
straight forward.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opencontainers/image-spec/issues/847#issuecomment-830427371,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAQL2LXE7RT7SVUCMRHR73TLMTLNANCNFSM435GG47A
.

https://github.com/opencontainers/image-spec/pull/848

Was this fixed by https://github.com/opencontainers/image-spec/pull/848? Is there anything else that needs to be done?

If there is, I can offer to help again. I can't make the meeting now but please ping me here (and on any other issues!)


A new release?

Hi! I was wondering if there is a plan for a new release of the pypi package, since its a but outdated (2021)
Thank you!

@ioangatop will do that this week

done, 0.4.1


[BUG] Detect decorators as a JSDoc tag inside @example block.

TypeScript Version:  3.7.2
Code
/**
 * Component that creates log event objects based on raw inputs sent to 'ILogger'.
 *
 * To customize what data is sent to the sinks, replace the implementation for this interface with your own.
 *
 * @example
 *
 * @singleton
 * export class MyLogEventFactory {
 *   public createLogEvent(logger: ILogger, logLevel: LogLevel, message: string, optionalParams: unknown[]): ILogEvent {
 *     return {
 *       logLevel,
 *       optionalParams,
 *       toString() {
 *         return "aaa";
 *       }
 *     };
 *   }
 * }
 *
 * container.register(Registration.singleton(ILogEventFactory, MyLogEventFactory));
 */
export interface ILogEventFactory {
}

I want to get JSDoc tags, TS compiler detects @singleton as a tag but it is not. It is a decorator in the @example block.
Expected behavior:
Ignore decorators inside the @example block of JSDoc.
Actual behavior:
returns decorator as a tag!

There doesn't seem to be a formal specification for JSDoc syntax, so syntactically speaking, how would the compiler disambiguate this?

We can use an escape character to ignore/avoid tag recognition by TS compiler.
For example: \@singleton
/**
 * Component that creates log event objects based on raw inputs sent to 'ILogger'.
 *
 * To customize what data is sent to the sinks, replace the implementation for this interface with your own.
 *
 * @example
 *
 * \@singleton
 * export class MyLogEventFactory {
 *   public createLogEvent(logger: ILogger, logLevel: LogLevel, message: string, optionalParams: unknown[]): ILogEvent {
 *     return {
 *       logLevel,
 *       optionalParams,
 *       toString() {
 *         return "aaa";
 *       }
 *     };
 *   }
 * }
 *
 * container.register(Registration.singleton(ILogEventFactory, MyLogEventFactory));
 */
export interface ILogEventFactory {
}

@HamedFathi just looked into this and I believe this needs to be @singleton? https://stackoverflow.com/a/53556016/188246
I found that works for me and displays properly in VS code.

@dsherret
Although, I prefer an escape character to a unicode value! just like my sample because It is more beautiful and readable but your suggestion is so good. Thanks.

@HamedFathi and @RyanCavanaugh, I don’t see this working as intended.

@Frikki it's not working for me anymore either in VS code 1.41.1, but I'm pretty sure it did before. I found it only works if I put that code in code blocks now.
Might be worth it to open an issue in the vscode repo, but I'm not 100% sure what the expected behaviour is.

@dsherret Thanks for following up on this. I would expect that it should be possible to type @ symbols in a code block even when it follows an @example block, without breaking the VSCode display.

@dsherret @Frikki : I'm having the same problem but i'm not able to get the @ symbol to work properly in vscode (1.41.1).
/**
 * description
 *
 * ```ts
 * @singleton
 * export class MyClass {}
 * ```
 *
 * ```ts
 * @singleton
 * export class MyClass {}
 * ```
 */

renders as:
*@singleton*
export class MyClass {}
@singleton
export class MyClass {}

Sorry for the +1, but this still seems to be an issue. I'm running in to it trying to add common custom html5 element code with Typescript.
Take the following example
/**
 * Decorator pattern to define custom elements
 *
 * @example
@defineCustomElement('app-rating')
class AppRating extends HTMLElement {

 * @param {string} name The name of the custom element
 */

As I see it right now, this forces developers to choose between two options:

Add a space before the @
-> hovering over the function will not show proper color/code highlighting but will show the
Remove the @
-> code shows proper highlighting, but doesn't show the @ obviously so it's technically a incorrect example

What I've tried: result

Wrapping with ``` : shows the @ but does not show proper code highlighting
Escape char with  \ , unintended space added and * signs added
Adding @ will just print @ instead of @

@

This is highly unreadable

In case anyone missed it, https://github.com/microsoft/TypeScript/issues/47679 is open and hopefully will finally provide a solution.


Download Image-Net

Thanks for your amazing work!
There is a quick question that which dataset you are using for the Image-Net?
Since there are many download options on the offical website, could you kindly guide me?

Hi @PoopBear1,
Thank you for showing interest in MaPLe!
Regarding your query, kindly note that we use the ImageNet 2012 version dataset in our experiments. You can download them at this link: https://image-net.org/challenges/LSVRC/2012/2012-downloads.php.
For training images, download:  "Training images (Task 1 & 2)" and for test images, download the file: "Validation images (all tasks)" as shown below.

Let us know if you have any further queries!

Thank you very much for your prompt reply!
There is also a minor issue with downloading: the Stanford car link is broken. Is it possible to find it somewhere else?

No problem!
Regarding the Stanford Cars link issue, you can download the complete dataset from Google Drive using this link.

Thank you again, it helps a lot!


Minify JS: migrate from Uglifier to Terser gem to support ES6

Ref: #2530
Port to v4 branch in #2531

rebase and bundle update


Update QC with summary statistics

Summary for coverage rdd.

@akmorrow13 Updated QC to accept a list of coverageRDDs.

Sample coverage graph.

The picture seems to be cutoff

It may be due to this output:


Gif is to big to clone.

Thank for your job.
I Think it can make more small or can use a external links？

What about doing a sparse checkout instead of cloning the repo?
http://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository/13738951#13738951

Thank you.


ios10 back is nav is  error

when MWPhotoBrowser pop    nav is error !!
only at ios 10 later

See MediaBrowser I made this library to Swift3 using latest SDWebImage

https://github.com/nemissm/MWPhotoBrowser/commit/28e0a51adf94e2151dbc19449a2d6bd2051eebd1


Feature/sentiment numeric

Description
This PR adds a 'sentiment_numeric' endpoint that expands upon the existing 'sentiment' endpoint. The existing endpoint returns "human-readable" sentiment scores of "Positive", "Negative", and "Neutral", which are great for summarizing and high level classification of sentiments. By adding a sentiment analyzer that returns numeric sentiment values (within ranges of -1 to +1), we enable more granular analysis of sentiment, opening the door for evaluating things such as trend analysis, forecasting, and more nuanced investigations into sentiment.
Authors:
@Zack-Quintana
@BrandonSmith710
@hollberg
Fixes # (issue)
https://trello.com/c/h5AS5v84/285-as-a-data-science-developer-i-want-the-option-to-classify-texts-sentiment-in-either-human-terms-ie-positive-or-negative-or-with
Type of change

[x] New feature

Checklist:

[x] My code follows PEP8 style guide
[x] I have removed unnecessary print statements from my code
[x] I have made corresponding changes to the documentation if necessary
[x] My changes generate no errors
[x] No commented-out code
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

Loom Video:
https://www.loom.com/share/bbac425c588040db8a62734a6336c13d

We intentionally converted the numeric output to english, we really don't need both, right?

We intentionally converted the numeric output to english, we really don't need both, right?

I think we do need both, depending on the use case. Converting to English makes for a nice human-readable response, but throws away lots of valuable information. Having a numeric score allows us to view things like trends (are meeting negative but getting less negative over time), and will be useful for future predictive regression (vs classification) models (ie, predict average meeting sentiment base on mentor/mentee attributes).

ok so what do I do now?

Let's make a graph of the feedback in our database and then create an endpoint that delivers the graph as json.


Save whitelist as JSON

This refactor cleans up the whitelist code in options.js by adding JSON storage and adds some error feedback for invalid domains.

Was there an issue you were addressing by refactoring the options.js?  If so can you link it?
I think a separate commit or PR should be used to distinguish between refactoring and adding features.  Right now there are too many disparate changes to review this.

@irdan this refactor was done to make way for enhancing the option page by removing all save buttons and having settings update automatically.

Do you migrate the CSV to JSON anywhere?

Having the save button implies that the changes are not saved until the button is clicked. I recommend removing all the save buttons.

I removed the button, but don't merge this just yet, I need to add a little more functionality to make the autosave clear.

Whitelist now saves whenever a whitelist URL input is blurred.
Don't  merge this yet because at least the following domains are being marked as invalid:
localhost
localhost:3000
example.com:3000

I've updated the regex to pass localhost, localhost:3000 and example.com:3000.

Added some tests for domain validation.

The comments in the header of the file are wrong with these changes.

Once you update the header I'll make whatever changes are necessary to merge.

Header has been updated.


All Scale/Legend related code should use WMScale

That's it. Move this stuff out of WeatherMap.

This is complete.


Update ListCommand output to reflect new command usage

As a user with bad memory I can see what stalls there are in NUS so that I can know what food is available.

The additional functionality of displaying command help when suitable arguments are input (-h, or similar) is pushed to v1.3.
The current functionality of list meets v1.2 requirements.


Clean up and adjust some about page content

📝Changed routes:

/about

(view full size)

Commit 34b8a8b553b471d2f75c58dc7296865199d3137f (https://personal-website-git-dev.collin-garvey.now.sh).


upgrade blossom ci actions version [skip ci]

Upgrade actions version for blossom-ci.yml to solve node warning.
ref: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

build


Compile Instructions

Hello, and thank you for all your work on this library!
As part of a PR I was working on, I was trying to figure out how to regenerate the fraction.min.js file. The project README.md file mentions that you use google-closure-compiler with advanced optimizations, but I was unable to find the right combination of compiler flags to get this working. If it helps, here is what I tried: TonyRippy/Fraction.js#e3779a2
Would it be possible to publish instructions that document what compiler flags and other settings you use to build the project?

Hi Tony,
with Fraction V5 released just now you can
npm run build

Awesome, thank you!


Any plan to migrate to Typescript?

I'd love to work on that.

Not right now, but we’ll be happy to have types.
Il giorno ven 23 ago 2019 alle 19:58 Luis Angel Morales Romo <
<EMAIL_ADDRESS>ha scritto:

I'd love to work on that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mcollina/aedes/issues/304?email_source=notifications&email_token=AAAMXY2ZYSS4DTQQECDWVMLQGAQNNA5CNFSM4IPB7ZE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHDDXOA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAMXY7Z3VMPZUNG66VGLU3QGAQNNANCNFSM4IPB7ZEQ
.

ES6/ES2015?

I have no plans to migrate this to introduce any transpiling layer, if this is what you are asking. One day Node will support “import” in all LTS line, and then we’ll migrate. This is at least 1-2 years ahead.

Thanks for your response!

BTW, Node.js v8 is on Maintenance LTS and it ends on 2019-12-31.


Custom Seeds

Is there any way to make the layout Autumn theme?

Hello! If you go to the Kitchen Designer editor, there is a "Setting" dropdown in the top bar. You can click on it and choose your preferred setting.


[1.2.x] Remove line breaks from logs

Purpose
Removes line break characters from log inputs.
Approach
Texts are sanitized before appending to logs.
Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The better practice is to create an issue in the ballerina-lang and link it with this PR. The created issue should be linked with the internal issue.


more flexible pins for more recent python versions

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

ultimately I would like to get https://github.com/conda-forge/spatialdata-feedstock/pull/5 and later something like https://github.com/conda-forge/squidpy-feedstock/pull/8 merged ... But the pins are to strict and conflicting with each other.
Are those changes ok for you?

@conda-forge-admin please rerender

ping @goanpeca

@jezdez can I merge this one?
@ocefpaf do you think this PR is ok?

@bgruening some weeks have passed and the maintainer did not respond. Do you want to also add yourself as a maintainer before we merge this one?

I'm fine with staying incognito 🥸 :-)

Thanks I hope this is ok. Um working on a fix that is 3 layer up the stack ;-)

Thanks I hope this is ok. Um working on a fix that is 3 layer up the stack ;-)

Yep. We usually give folks 1-week. 3 passed, you are good ;-p


Fixed #34825 -- Avoided opening nonexistent sqlite db in test worker.

https://code.djangoproject.com/ticket/34825
I'm new to poking around with the test framework but afaict the workers shouldn't have been creating the "other_n.sqlite3" databases. It appears to happen in this method when it tries to clone from nonexistent "other_n.sqlite3" files because sqlite3.connect()'s default mode is rwc - read, write & create.

@jacobtylerwalls Does it work for you?

Mariusz, I've added a commit to pass known aliases to ParallelTestSuite - a quick check shows no leftover db files with ./runtests.py admin_inlines.
Note: I've left in some extra commits as "merge options" 🙂 in case you still want a safeguard:

The original dont-open-if-doesnt-exist commit
An alternative that simply specifies ?mode=ro (readonly mode). Be aware this will raise an exception if the db doesn't exist.

@shangxiao Thanks :+1:


[C-API] Revert "Move ml_strerror() to internal header"

Since ml_strerror() & ml_error() functions are used in webapi-plugins
module, they should be in ml-api-common.h header.
Signed-off-by: Sangjung Woo<EMAIL_ADDRESS>Self evaluation:
Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #167. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


When GPU is available, Please deploy SINGA-auto with GPU enabled for acceleration

When GPU is available, Please deploy SINGA-auto with GPU enabled to accelerate training and inference. Otherwise, the training and inference using CPU is very slow.
For example, it is almost impossible to use CPU only to train a very deep network such as Resnet101. Also, it will need the end-user to wait for long time in inference job
To deploy SINGA-auto with GPU enabled, please follow the instruction in this page https://nginyc.github.io/rafiki/docs/latest/src/dev/setup.html#scaling-rafiki
The key is to run the script to enable the GPU
bash scripts/setup_node.sh
@naili-xing  If you encounter any problem when using GPU at inference job, please reply the issue here

i think can use GPU for inference job, you can check ./client/client.py
`def create_inference_job(self, app: str, app_version: int = -1, budget: InferenceBudget = None) -> Dict[str, Any]:
'''
Creates and starts a inference job on SINGA-Auto with the best-scoring trials of the associated train job.
The train job must have the status of STOPPED.The inference job would be tagged with the train job's app and app version.
Throws an error if an inference job of the same train job is already running.
    In this method's response, `predictor_host` is this inference job's predictor's host.

    Only admins, model developers & app developers can manage inference jobs. Model developers & app developers can only manage their own inference jobs.

    :param app: Name of the app identifying the train job to use
    :param app_version: Version of the app identifying the train job to use
    :param budget: Budget for inference job
    :returns: Created inference job as dictionary

    ``budget`` should be a dictionary of ``{ <budget_type>: <budget_amount> }``, where
    ``<budget_type>`` is one of :class:`singa_auto.constants.InferenceBudgetOption` and
    ``<budget_amount>`` specifies the amount for the associated budget option.

    The following describes the budget options available:

    =====================       =====================
    **Budget Option**             **Description**
    ---------------------       ---------------------
    ``GPU_COUNT``               No. of GPUs to allocate for inference, across all trials. Defaults to 0.
    =====================       =====================
    '''

    # Have defaults for budget
    budget = {
        InferenceBudgetOption.GPU_COUNT: 0,
        **(budget or {})
    }

    data = self._post('/inference_jobs', json={
        'app': app,
        'app_version': app_version,
        'budget': budget
    })
    return data`


[Feature Request] Windowed display

I'd love to be able to set the meter UI to in combat only, and then be able to call it up within a window using /lm (perhaps the configuration should be /lmcfg.
In my imagination, the window would also be able to change the sort and have a checkbox for Party at top vs mixed into the sort order, and maybe have tabs to order/show meters by HPS and Enmity, and potentially effective healing?

This is possible with the /lm toggle command.


How can I catch the event if the user has closed the forced update alert?

Hi, I am using forced update, but when I press the close icon my app it reopens, and i get :
PlatformException (PlatformException(Update failed, 0, null, null))
I am running in debug mode on my physical device.

Hi @lucianokapluk today you can't. Although a callback could be passed so you could customise your action to when the user decides to ignore the update.
The force update option is intended to block the usage of the App, hence, exit() is used by design.
Feel free to send contributions on how it could fulfill your need and if you think it will be useful to others.


Deprecate integration tests in preference to running e2e with managed fixture

I think integration duplicates e2e, and should go away.  As part of this, though, I want to see e2e rewritten to remove the dependency on ginkgo.  I see negative value in requiring a heavyweight BDD framework when all we really need is a good assertion library (e.g. testify/assert).  Kubernetes using it is not a good reason for us to use it.
cc: @font @pmorie @shashidharatd @irfanurrehman

Resolved by #392.  I'm not sure my judgement of ginkgo is valid, and that transitioning to something else can be tracked via a separate issue should the need arise.


Fix compile issue with Xcode 9 Beta

Solves https://github.com/malcommac/SwiftRichString/issues/13

Anyone? Who can resolve and merge this?

It was moved to swift-4 branch

Thanks, it's work for me.

Released 1.0.1 for Swift 4 in master branch.
Thanks


💡[Feature]: Satellite Position and Speed Prediction

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
With the rapid increase in the number of resident space objects (RSOs), including satellites, accurate orbit tracking has become crucial to prevent collisions and manage space traffic effectively. This project focuses on predicting the positions and speeds of 600 satellites, leveraging advancements in satellite technology, data analytics, and predictive modeling. By analyzing historical orbital data and utilizing machine learning algorithms, we aim to provide reliable and accurate long-term forecasts of satellite trajectories. These predictions will help in enhancing collision avoidance strategies, optimizing satellite operations, and mitigating the risks of space debris. Ensuring precise orbit tracking not only safeguards active satellites but also contributes to the sustainability of space activities.
Use Case
Collision Avoidance
Satellite Fleet Management
Space Traffic Management
Mission Planning
Space Debris Monitoring
Benefits
Enhanced Safety
Operational Efficiency
Cost Savings
Improved Space Traffic Coordination
Support for Long-Term Space Sustainability
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Unsolved
model training Incomplete
issues and errors unchanged


[Feature] Support rich initialization modes of RocketMQ source

1.Add rich initialization modes those are similar to kafka-connector
2.Add metrics in source phase
link to #59
@SteNicholas could you review the code?

Codecov Report

Merging #62 (2e1ba49) into main (460694b) will decrease coverage by 0.60%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #62      +/-   ##
============================================
- Coverage     27.20%   26.60%   -0.61%
  Complexity      149      149
============================================
  Files            59       62       +3
  Lines          2470     2526      +56
  Branches        268      269       +1
============================================
  Hits            672      672
- Misses         1732     1788      +56
  Partials         66       66

Impacted Files
Coverage Δ

.../rocketmq/flink/legacy/RocketMQSourceFunction.java
0.00% <0.00%> (ø)

...link/legacy/common/config/OffsetResetStrategy.java
0.00% <0.00%> (ø)

...cketmq/flink/legacy/common/config/StartupMode.java
0.00% <0.00%> (ø)

...rialization/SimpleStringDeserializationSchema.java
0.00% <0.00%> (ø)

...rocketmq/flink/legacy/common/util/MetricUtils.java
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for comments.
I'm glad to perfect those feature for new source interface.I will open a new issue for RocketMQSource.

Thanks for @deemogsw the feature contribution. I left some comments for the feature support of RocketMQSourceFunction. Could you please also support this feature for the RocketMQSource?
BTW, could you please take a look at the failure of the CI?

Thanks for comments.
I'm glad to perfect those features for new source interface.I will open a new issue for RocketMQSource or commit to this pull request in a few days.Which do you think is better.

Thanks for @deemogsw updates. I left the minor comments for the comments of the class. PTAL.
BTW, the feature support for the new Source interface could be created another pull request.

done.


Version 0.13.0

Codecov Report

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

@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage        ?   94.26%
=======================================
  Files           ?       28
  Lines           ?     2757
  Branches        ?      598
=======================================
  Hits            ?     2599
  Misses          ?      156
  Partials        ?        2

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 999eef9...4c800d8. Read the comment docs.


Ready, Set, Deploy

Simplify the process into as few clicks as possible by:

Having the user choose from a few DAO configuration options (ex: Grant DAO, Payroll DAO, Token Holder DAO, Hackathon DAO, etc)
If members aren't predefined through a reputation allocation scheme, ask the user "want to add more members than just yourself?", and if they say yes they'll be given the "add members" screen.

With both of these, they should be able to (1) click a preset DAO config and (2) verify it's just them who's a member and (3) deploy.

This redesign is currently being wireframed by @stink3finger.
See initial spec here

Related 161

Related https://github.com/dOrgTech/DAOcreator/issues/241

Closing this as the new design @pimato has created will create this type of experience.


Generate index in Presentation XML

Presumably it will be realised in Presentation XML as the page-only cross-references we have already been bludgeoned by BIPM into producing.

Note: This functionality also applies to ISO 10303.

Index in Presentation XML shall take the form of a final index clause, after the bibliography, with a title and an unordered list. The unordered list shall contain list entries, each of which shall be the index term, then comma, then a comma-delimited list of pagenumber-only cross-references. As already discussed, and to @Intelligent2013's trepidation, it shall be @Intelligent2013's  responsibility to eliminate consecutive cross-references to the same page number.

BIPM have "X, see Y" entries; I will need to add those to metanorma-standoc

Fix standoc indexterm: if Asciidoctor index term contains formatting, preserve it in rendered text.

Index target is converted to bookmark in PresentationXML. Rendering highlights the fact that bookmark targets are rendered as bare GUIDs. They need to be rendered as the containing section, for HTML. @Intelligent2013 that means that I will have <xref pagenumber="true" target="X">Clause 1.4</xref>: ignore the content of any xref with pagenumber=true, and only put in the page number: those xrefs are deliberately meant to be page number only in PDF.

@Intelligent2013 that means that I will have <xref pagenumber="true" target="X">Clause 1.4</xref>: ignore the content of any xref with pagenumber=true, and only put in the page number: those xrefs are deliberately meant to be page number only in PDF.

@opoudjis FYI, I've made it already for ToC in Appendix 1 for brochure.

@opoudjis FYI, I've made it already for ToC in Appendix 1 for brochure.

I know, I just wanted to make sure.

@Intelligent2013 The horrors continue:

ampère (A), 13, 16, 18, 20, 28, 44, 49, 51,
52, 54, 55, 71, 81, 83-86, 89, 91-94, 97,
99, 100, 101, 103-104

if there are more than 2 consecutive numbers, you may be expected to concatenated them into x–y. If you do, please use an en-dash: once again, we are obliged to do better typographically than BIPM.

"X see Y" and "X see also Y" in an index is going to be handled as a new macro, index:see[term] and index:also[term], and a new tag, <index-xref also="true/false">term</index-xref>.

@Intelligent2013 The horrors continue:

ampère (A), 13, 16, 18, 20, 28, 44, 49, 51,
52, 54, 55, 71, 81, 83-86, 89, 91-94, 97,
99, 100, 101, 103-104

if there are more than 2 consecutive numbers, you may be expected to concatenated them into x–y. If you do, please use an en-dash: once again, we are obliged to do better typographically than BIPM.

Hmm, then why they put 99, 100, 101 instead of 99-101... Is there a sense?

@Intelligent2013 I believe 99, 100, 101 can be concatenated as 99-101.

Hmm, then why they put 99, 100, 101 instead of 99-101... Is there a sense?

...
Oh God, it's even worse.
It's entirely possible that the index entry is tagged not to a single word instance, but to an entire span of text discussing it.
That's quite reasonable and commonplace, and it is not supported natively by Asciidoctor. Moreover, it will override clause boundaries, and will have to be handled via a starting and ending bookmark in text.
... I mean... yuck. But yes, it means I'm not done here.

Secondary index terms are needed.

There is formatted text in the index terms (e.g. subscripts). We are going to have to break the existing XML, and make the attributes into elements, to preserve the formatting.

Span will be term, <xref target="A" to="B" pagenumber="true"/> in Presentation XML, index-range:term[B] in markup (A is the location of the macro in text).

And the semantic XML markup shall be <index to="B">...</index>

Modify Asciidoc: we want the equivalent of (((primary, secondary, tertiary, to))), with optional secondary and tertiary terms. We will represent this as index-range[(((A, B, C))), TO]

Modify Asciidoc: we want the equivalent of (((primary, secondary, tertiary, to))), with optional secondary and tertiary terms. We will represent this as index-range:TO[(((A, B, C)))]

Why not define the concept of a "spanning anchor" and point the index to it?

... Because the solution I have already implemented is far more elegant than shoving complexity into the target, and making me go through hoops to extract the information again. It is more complicated for both data entry and for processing, it yields minimal conceptual encapsulation at the cost of much confusion, and I reject it.

@Intelligent2013 This is ready for you to implement. This is a sample index, as featured in the metanorma-bipm rspec:
<clause type="index" id="_"><title>Index</title><clause id="_"><title>D</title>

Dasein, voir Emancipation, être

</clause><clause id="_"><title>E</title>

élongé,  <xref target="_" to="End" pagenumber="true">chapître 1</xref>

Emancipation,  <xref target="_" pagenumber="true">chapître 1</xref>, <xref target="_" pagenumber="true">section 1.1</xref>

dans la France,  <xref target="_" pagenumber="true">chapître 1</xref>

à Paris,  <xref target="_" pagenumber="true">section 1.1</xref>

en Bretagne,  <xref target="_" pagenumber="true">chapître 1</xref>

dans les États-Unis,  <xref target="_" pagenumber="true">section 1.1</xref>

être

Husserl, voir zebra, voir aussi Emancipation, zebra

en allemand,  <xref target="_" pagenumber="true">chapître 1</xref>

</clause><clause id="_"><title>Z</title>

zebra,  <xref target="_" pagenumber="true">section 1.1</xref>

</clause></clause>

Note that <xref target="_" to="End" pagenumber="true">chapître 1</xref> is a page range, as I've previous indicated to you; and, as also previously indicated, you are to ignore the contents of `xref[@pagenumber = 'true'], which are intended for use in HTML, since you will be substituting them with page ranges.


How to set a customize refresh control height of CocoaList

How to set a customize refresh control height of CocoaList

This is currently out of scope for the project. I've also found UIRefreshControl to be very buggy on recent releases, so hacking on top of that is likely going to result in a lot of glitches :(


Speed up git clone for installation

Thanks. But since the size of the repository is still relatively small, less than 500KB, the benefit is not significant. And a quick Google search shows people having various kinds of issues with this, so I'm not going to merge it at the moment. But I'll leave this PR open for future consideration.
References:

https://github.com/bower/bower/issues/217
https://github.com/gmarik/Vundle.vim/issues/28
http://git.661346.n2.nabble.com/BUG-shallow-clones-over-http-td7581458.html

Thanks. But since the size of the repository is still relatively small, less than 500KB, the benefit is not significant. And a quick Google search shows people having various kinds of issues with this, so I'm not going to merge it at the moment. But I'll leave this PR open for future consideration.
References:

https://github.com/bower/bower/issues/217
https://github.com/gmarik/Vundle.vim/issues/28
http://git.661346.n2.nabble.com/BUG-shallow-clones-over-http-td7581458.html

Okay, I think the issues you mentioned are in different situation, if we just want to setup from the latest commit, there is no problem, but you are right, the benefit is not significant, haha ...

Okay, I think the issues you mentioned are in different situation, if we just want to setup from the latest commit, there is no problem, but you are right, the benefit is not significant, haha ...

if we just want to setup from the latest commit, there is no problem

Probably. I honestly don't know. I haven't looked carefully into those issues, so maybe I'm just being too cautious.

if we just want to setup from the latest commit, there is no problem

Probably. I honestly don't know. I haven't looked carefully into those issues, so maybe I'm just being too cautious.

Interesting, I wasn't aware of any problems with this. Reading the links, seems the problems occur if git: is not used as the protocol.

Interesting, I wasn't aware of any problems with this. Reading the links, seems the problems occur if git: is not used as the protocol.

@justinmk Maybe it's a bug from older versions of git? Haven't had time to really look into. Homebrew and NeoBundle also stopped supporting shallow clones for some reasons.

https://github.com/Homebrew/homebrew/commit/8a1c2ec
https://github.com/Shougo/neobundle.vim/issues/81

Note that the neobundle thread also shows https: being used. The suggestion that git: is more efficient is a good reason to use it anyway.

GitHub recommends using https:
https://help.github.com/articles/which-remote-url-should-i-use/
I agree with the point that https are more universal. At my workplace, servers are behind the firewalls so https through proxy is the only option there.


The count of cpm is wrong when apm-spring-annotation-plugin-6.4.0 added

Please answer these questions before submitting your issue.

[ ] Question or discussion

Question
I'm using skywalking 6.4.0, The number of cpm is likely to more then double when the apm-spring-annotation-plugin-6.4.0 is added.
why?

I don't think that plugin affects this. The annotation plugin generates local spans only, which are not counted in the cpm.

I don't think that plugin affects this. The annotation plugin generates local spans only, which are not counted in the cpm.

yes, i also think that plugin cannot affect the cpm. but that's true, i do change nothing except drag this plugin from option-plugins folder to plugins and then deploy my application, the cpm is doubled.
if i remove the plugin, the cpm go back.
it's weird. i can find a reasonable reason for this.


Upgrade swarms to Flatcar 3374.2.0

Is your feature request related to a problem? Please describe.
Upgrade swarms to Flatcar 3374.2.0
Describe the solution you'd like
Same process as https://github.com/atsign-foundation/at_server/issues/783 :
Run the ripple upgrade scripts across staging and all production swarms.

[x] staging0001
[x] canary
[x] swarm0004
[x] swarm0003
[x] swarm0002
[x] swarm0001

@cpswan - All swarms upgraded to VERSION=3374.2.0 and we can close this ticket.


Fix adding changed handler on observer creator

The DDP message parser is looking for an observer.changed function, but if you register a changed function via the observe function as the third argument, it gets registered as updated instead of changed and will throw when an update comes through.

Looks good.  Thanks!


require cycle in styles/themeManager.js and styles/styleSheet.js

they reference each other
is it possible to avoid the warning?

Hi @Gitldx
Please describe your environment to help us resolve this

Hi @Gitldx
Please describe your environment to help us resolve this

thank you so much,artyorsh ,here is the dependecies
"dependencies": {
"react": "16.6.0-alpha.8af6728",
"react-native": "0.57.4",
"react-native-ui-kitten": "^3.1.2"
}

@Gitldx
It seems to be bundler issue.
Anyway, I could not reproduce this in clean project

@Gitldx
It seems to be bundler issue.
Anyway, I could not reproduce this in clean project

thank you to your quick reply
yes, my problem is the same as the one you copy to me: bundler issue
and I can not reproduce the warning according to your code :clean project.
Anyway,I think it's better to extract the shared code from styles/themeManager.js and styles/styleSheet.js to a new file.Although the warning seems harmless by now

I'm having the same warnings.
I've managed to ignore them for now by adding this to the app entry point:
YellowBox.ignoreWarnings(['Require cycle:']);
Related: https://github.com/facebook/metro/issues/287

@hatemalimam @Gitldx
that's not the way it should be fixed
we're currently working on major update, so feel free to open pr's
thanks!

This stays actual for v3.*
Check out the brand new v4 update!


twister: Pass extra test args to pytest

Pass additional args to test binary.
Fixes #82463
to test just run command:
./scripts/twister -vv -p native_sim -T samples/subsys/testsuite/pytest/shell  -ll debug --no-clean --pytest-args='-k test_shell_print_version' -- -stop_at=3 -testargs abc
in the log you can find, that twister calls:
pytest --twister-harness -s -v ... --device-type=native '--extra-test-args=-stop_at=3 -testargs abc' '-k test_shell_print_version' -p twister_harness.plugin
and then pytest calls:
./twister-out/native_sim_native/samples/subsys/testsuite/pytest/shell/sample.pytest.shell/zephyr/zephyr.exe -stop_at=3 -testargs abc
Twister passes additional args to pytest subprocess only for native_sim (as it is for normal Twister applications, I mean console harness or ztest).

I have fixed the unit tests and added a new one.


Test recipes: remove duplicate OpenSSL::Test usage

Checklist

[x] tests are added or updated
[x] CLA is signed

Merged.  Thanks


update dependencies

@meehow sorry for not getting to this until now, I'll look at it today. I would love to update the crates too, so this is a welcome change.

could you also put in your commit message that you are fixing #3 to integrate better with github?

ping @meehow

Ping @meehow :) Trying to use this crate on stable in 2019.

Hello in 2019. This pull request can still be merged without conflicts ;)

@illegalprime I changed the commit message.


Can you share the elevan labs and other voice-cloning data to replicate the results?

Hello
I would like to replicate results in paper for that, Can you share the elevan labs and other voice-cloning data to replicate the results?

Hi. The data is really large and has been archived on a local disk so we can't easily share it with you. You can use the sample code we provide here to generate your own eleven labs data.


Trimming a video created from two

Q
A

Bug?
no

New Feature?
yes

Version Used
eace6f1

FFmpeg Version
FFmpeg or AVConv and version

OS
Ubuntu

Actual Behavior
When combining two streams, it is impossible to trim in time.
Added parameters either before the video files or at the end of the entire output.
Expected Behavior
Adding parameters immediately after inputs
Possible Solutions
I suggest adding more parameters in the buildCommand method after the input parameters

I think this is a much needed change. Additional params should not be trailing params. Any thoughts ? Please look into this @pascalbaljet


no-unused-styles reports false positive when used inside React.useMemo

When I memoize a Stylesheet that derives some styles from props or state, the react-native/no-unused-styles reports an error although the memoized object is used.

Unused style detected: undefined.box  eslint(react-native/no-unused-styles)

Example:
export const Foo = ({bar}) => {
  const styles = React.useMemo(() => Stylesheet.create({
    box: {
      margin: bar,
    },
  }),[bar]);

  return <View style={styles.box} />;
}

Never use StyleSheet.create inside useMemo. Need to create rule for that.

The assumption is correct. Dynamic styles should be memoized to prevent triggering re-renders. A simple benchmark with Why Did You Render would show that. The most expensive operation for RN is converting back and forth data to JSON to propagate the unnecessary changes over the bridge, therefore YES: memoize your dynamic styles.

I totally stand with this. I often need to move some styles in the component to make a dynamic stylesheet object, but I also need to memoize them for performance purposes.
So this is definitely an issue.


Script_File support for NEST

From @vineet85 on June 14, 2015 20:15
Hi,
ElasticSearch supports referencing a script which is stored in a file. Eg:-
GET /_search
{
"script_fields": {
"my_field": {
"script_file": "my_script",
"params": {
"my_var": 2
}
}
}
}
However the .NET NEST client does not have any support for this yet. Is this going to be added soon?
https://github.com/elastic/elasticsearch-net/blob/4fcecae93dcf16a4ff7e110135da81eed409dda5/src/Nest/DSL/Filter/ScriptFilterDescriptor.cs#L36
Thanks,
Vineet
Copied from original issue: elastic/elasticsearch#11652

This would be great - it is best practice to use stored scripts over anything else isn't it?  (https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html)
It would be nice to be able to use scripts safely and disable dynamic scripting.

Just added.  Thanks for reporting @vineet85

Thanks for the addition. Will this work with the BulkUpdateDescriptor as
well?
Eg:-
BulkDescriptor childBulkDescriptor = new BulkDescriptor();
for (int i = 0; i < searchResponse.Hits.Count(); i++)
{
childBulkDescriptor.Update<NestedDocument, object>(u => u

.Type("document")*
.Id(searchResponse.Hits.ElementAt(i).Id) // document id*
.ScriptFile("my_script")*
.Params(x => x.Add("field_id", fieldIdToUpdate).Add("field_value",
fieldValue))*
.RetriesOnConflict(4)*
);*
}*

Thanks,
Vineet
On Sun, Jun 14, 2015 at 10:16 PM, Greg Marzouka<EMAIL_ADDRESS>wrote:

Just added. Thanks for reporting @vineet85 https://github.com/vineet85
—
Reply to this email directly or view it on GitHub
https://github.com/elastic/elasticsearch-net/issues/1456#issuecomment-111909065
.

--
Vineet Saju


starlink_grpc.py crashes - latency update

Hello,
First thanks for your work, I've been using your scripts for more than one year to monitor several starlinks and it works super fine.
I've recently done the update to v1.2.1 to solve the issue with latency that was no more retrieved but since the program crashes after several hours with the following error:
starlink_grpc.py", line 785, in status_data
latest_index = latest_range[0]
TypeError: 'itertools.chain' object is not subscriptable
Note that I'm using python 3.8 with a custom version derived from dish_grpc_text.py with arguments status alert_detail usage power -s 60 -v
The only modification that I've done was the update of starlink_grpc.py
Thanks for your help.

This looks like it's due to a corner case where the history buffer wraps, which means it could happen any time one of the status-derived data groups is pulled exactly at that wrap point (which happens every 15 minutes). This is bad, as that can affect anyone who uses that version. I will try to get a fix out today.

Fix has been released as v1.2.2. Updated core module has been published to PyPI and docker image has been updated.
Thanks for filing this, as I would not have noticed it otherwise, since I only poll history stats, not status.

Thanks for your reactivity, I have applied the update and so far it looks ok


Control unsupported lights with CT/mired/kelvin like circadian lightning

So i'm trying this new intregration out and I really like the initiative. All my lights are controlled by the circadian lightning. Good work with this one!
There is one thing I must have in order to make the switch. I need the possibility to force the lights to be set by CT/mired/kelvin like you can in circadian lightning. I have a couple of IKEA color lights, they don't support to set CT/mired/kelvin by native, but I have them in deCONZ and that integration is making the translation so you can set CT/mired/kelvin in HA. I don't get the translation HA does to RGB/hs/xy, it's horrible and don't look even close to what it is supposed to. deCONZ make the translation perfektly, looks exact correct.

Hi @MikaelHoogen,
I do not understand your problem. In what mode do you need the lights to be? CT, mired, or Kelvin?
Perhaps you need the prefer_rgb_color option? https://github.com/basnijholt/adaptive-lighting#options

Hello @basnijholt
I want to force it to either CT, mired, or Kelvin. I don't think it makes any difference.
The prefer_rgb_color doesn't do anything on a IKEA color bulb. I think it's because HA doesn't repport it as a supported feature. supported_features: 61. But you can send a on command with kelvin and deCONZ translates it correctly to the bulb.
So my wish would be a force_kelvin option.

Hey @MikaelHoogen,
HA released some changes on how lights support color temperatures and rgb values. Can you verify that you still have trouble using adaptive lighting?

Hey @MikaelHoogen,
HA released some changes on how lights support color temperatures and rgb values. Can you verify that you still have trouble using adaptive lighting?

Yeah. The changes made it even worse. Since then I can't use circadian lightning either. So my IKEA rgb bulbs are pretty useless :( :(

Hey @MikaelHoogen,
I can hear your frustration - I'm sorry.
I'm moving this/next month, but I hope to find time soon to contribute to this project. Since IKEA-bulbs are one of the stuff on my buy list they will be one of the focuses.  😁

@MikaelHoogen Are you still having this issue in the latest version 1.7.0?

@MikaelHoogen Are you still having this issue in the latest version 1.7.0?

Hi, sorry but I don't use any IKEA rgb anymore. Gave them away.


Main account working, 2nd not

When I'm logging on my main Pokemon GO account, everything seems to be fine but when I try to make new one just to use it here, I'm having this error:
[ search_worker_0][        search][   ERROR] Search step 1 map parsing failed, retyring request in 20 seconds
MAP: Uncaught TypeError: Cannot read property 'style' of null
Made tutorial, caught even two pokemons, got level 2. Any ideas?

Possible ban.
https://www.reddit.com/r/pokemongodev/

I am having this issue too, how did you fix this? If it is not fixed why is this closed?


336 - SearchAllSubdirectoriesInsteadOfTraverse

Implements https://github.com/erikbra/grate/issues/336
Had to ignore extensions to reproduce RoundhousE behavior in our environment. Some poorly named scripts in the past, but the extension causes them to be out of order
Sorting with extension:
201805150618103_AddReferralInvitationCampaigns_Migrate.sql
201805150618103_AddReferralInvitationCampaigns.sql

Sorting without extension:
201805150618103_AddReferralInvitationCampaigns
201805150618103_AddReferralInvitationCampaigns_Migrate

Thanks a lot for your efforts, @3nth !

FYI, I fixed this issue too, @3nth :
https://github.com/erikbra/grate/commit/a61b6e0472d152df56ae8f4cbe9204026997864b


Updating the actions to be in sync with prod

This PR also contains fix for #1024 for the staging branch


fix: wrong mapping of case insensitive CRUD operators

Self Check before Merge
Please check all items below before review.

[x] Corresponding issues are created/updated or not needed
[x] Docs are updated/provided or not needed
[x] Examples are updated/provided or not needed
[x] TypeScript definitions are updated/provided or not needed
[x] Tests are updated/provided or not needed
[x] Changesets are provided or not needed

#3337

Thank you for the contribution! 🚀


Evaluate inital configuration experience for MAG

When configuring an app from the item details page, the app loads with the try-it-live content. This may be confusing to users because this isn't their content.

closign as the TIL app is no longer visible in the full-screen config experience


Authentication fixes

This PR has some changes related to authentication configuration that were left over from updating the authentication settings page earlier this year.

Hello @matthew-src,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


Sensor Pod and Winch

Sensor Pod

Show All 4 Sensor Pods in the Sensor Box in the bottom sensor panel.
After button is pressed turn into checkmark. Send command through setGains with specific axis for each sensor pod.

Winch

Add roller for adding and subtracting length.
Show current length
Add return button (sets length to 0)

Can you post a screenshot of the new interface features?  It will be useful for tracking this change later.


electron login does not work

I get a proper error that username,... need to be filed in, but
If I put in the correct credentials and just get no response, nothing happens

fixed, was related to #208


Unknown authentication strategy "oidc"

Thank you for creating the demo app. I've followed instructions on the README and getting the following error. Any ideas why this is happening?

The following error appears on "npm start"

Cheers, Rodrigo

Please see this repo's blog post and re-open this issue if that doesn't help.


Is there any way to rig it?

Just modify the embed and you should be fine.


reflect: doc clarification for equality and reflect.Type

It seems like we guarantee that reflect.Type values can be compared for equality for ==.  The only mention of this seems to be in the String() method of the interface, but it seems worth calling out in the type's documentation.  Thoughts?

Sure.

This might affect #8082 - I would imagine that reflect.Type would not == compare for two interfaces that are considered identical under #8082. Also #16339 might cause two Types to have different names even though they're the same. So it seems like it's not a good idea to add this guarantee if either of those proposals goes in.

I think it can be written such that it is OK.  If T1 and T2 are Go types, and v1 and v2 are values of those types respectively, then reflect.TypeOf(v1) == reflect.TypeOf(v2) precisely when both (interface{})(v1).(T1) and (interface{})(v1).(T2) succeed (and the same type assertions also succeed for v2).


See last monitor update

📑 I have found these related issues/pull requests
.
🏷 Feature Request Type
Status-page
🔖 Feature description
It could be usefull to see the last update of the monitors.
For example I use restic to do some backups and every one at success do a HTTPS request to Uptime Kuma that expect one every 24h.
I know that the backup has been done successfully because otherwise I would have seen an error in Uptime Kuma, but I think that being able to see at what date/time the last update has arrived could be useful.
✔ Solution
See at what date time the last update has arrived
❓ Alternatives
No response
📝 Additional Context
No response

I think you are referring to hovering over pings, right?

I think you are referring to hovering over pings, right?

Damn...I do! I didn't know.
Thanks!


refactor: keep default export but deprecate

In #566 this was removed, but if I keep it around and just don't use it, that might be better

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
16

Relevant Lines:
16

💛  - Coveralls


provide hint to include port in host field

FIX: port input is not used in ES client config so provide hint to include port in host field

all modules in this package (create, update, get, search), they do not specify elasticsearch port in params, but you can simply include port in the host setting, ex. localhost:9200, so just use that.

fix #1
similar to #2