"Strong wind" translation broken

The term "breezy" does not mean "light wind" (http://www.merriam-webster.com/dictionary/breezy), rather the opposite.
I'm not picky about language but have noticed that in translation (at least to Polish) it actually gets translated that way which kind of defeats the purpose. The forecast says "light wind" in Polish and we get branches falling down.
The problem does not reside in the Polish translation, though. There's no "breezy" in any place of the Polish translation and as I'm not sure how the whole process goes I've decided to report it here.
Or I had it wrong and the simply the wind prediction is off for my neck of woods?

Breezy does mean "having a light or gentle wind." Having grown up in America, I can confirm this first-hand. :)

http://www.merriam-webster.com/dictionary/breeze
https://en.wiktionary.org/wiki/breeze#Noun_2
https://www.wordnik.com/words/breeze
http://dictionary.reference.com/browse/breeze
http://www.oxforddictionaries.com/definition/english/breeze

Anyway, as for Polish, it looks like "breezy" has been translated as "słaby wiatr":
https://github.com/darkskyapp/forecast-io-translations/blob/master/lib/lang/pl.js#L57

I have no idea if that's a good translation or not, but if it doesn't have the sense of "a light wind" then it's definitely wrong :)

Apparently there is a difference between "breeze" and "breezy" (see both in M-W) but I'm not going to argue with a native speaker -- I guess most people will interpret it your way :)
If we accept breezy = breeze then the Polish translation is fine and the forecast.io wind prediction is poor. For the last month we had twice warning about hmmm... "gusty" wind and on both occasions the forecast.io said "breezy".

OK. I'll make a note of that—the issue is probably that we don't have high resolution data for much of mainland Europe yet, and since wind is a high resolution phenomenon, our predictions are poor. We're working on integrating some new data models, which should fix this, but it'll probably be some months before it goes live.
But since it's not an issue with the translations module, I'll close this ticket. Thanks! :)


Broken (MNU) in latest Squeak due to Theming preferences changes

The theming changes to the latest Squeak seem to have broken AutoTDD. Clicking on the wrench icon got me a Debugger for MNU: Preference class>>workspaceWindowColor.
Full stack details here: https://gist.github.com/j4yk/917ac9ebaafe8b4a7fbd71275b2e3385
short stack trace:
MessageNotUnderstood: Preferences class>>workspaceWindowColor
Preferences class(Object)>>doesNotUnderstand: #workspaceWindowColor
[] in Preferences class>>doesNotUnderstand: #workspaceWindowColor
[] in Preferences class>>valueOfPreference:ifAbsent:
IdentityDictionary(Dictionary)>>at:ifAbsent:
Preferences class>>preferenceAt:ifAbsent:
Preferences class>>valueOfPreference:ifAbsent:
Preferences class>>doesNotUnderstand: #workspaceWindowColor
ATDDTrafficLight>>drawLineOn:
ATDDTrafficLight>>drawSettingsOn:
ATDDTrafficLight>>drawOn:
AnimFormCanvas(Canvas)>>draw:
AnimFormCanvas(Canvas)>>drawMorph:
ATDDTrafficLight(Morph)>>fullDrawOn:
ATDDTrafficLight(Morph)>>fullDrawAnimatedOn:
AnimFormCanvas>>fullDrawMorph:
[] in [] in AnimWorldState(WorldState)>>drawWorld:submorphs:invalidAreasOn:
Rectangle>>allAreasOutsideList:startingAt:do:
Rectangle>>allAreasOutsideList:do:
[] in AnimWorldState(WorldState)>>drawWorld:submorphs:invalidAreasOn:
Array(SequenceableCollection)>>do:

Fixed with https://github.com/HPI-SWA-Teaching/AutoTDD/commit/f09ef6a459d458da188e1a74a4db0ed4c1261e77.


It'd be nice to update the Jetbrains suite to 2022.2

Checklist

[ x ] Checked the nixpkgs master branch

[ x ] Checked the nixpkgs pull requests

Project name
nix search name: Jetbrains versions

there are lots of different IDEs, mostly on the same version with some slight variations.
current version: 2022.1.3
desired version: 2022.2.1
Notify maintainers

maintainers:  @Olliroxx @fabianhjr
Note for maintainers
I just need IJ Ultimate, so I started putting together a PR, then noticed that I needed all the darwin entries and I'm not quite sure how I'm supposed to test this at the end of it.
https://github.com/patflynn/nixpkgs/blob/update-intellij/pkgs/applications/editors/jetbrains/versions.json
Please tag this issue in your PR.

There is a script to update the versions (pkgs/applications/editors/jetbrains/update.py)
Will open a PR as requested

#186976 got merged, time to close the issue?

will do thanks. how long does it usually take to show up in stable?

no idea, i use unstable. I dont think its a breaking change, so it wouldn't be too difficult to backport yourself


autorandr: 1.4 -> 1.5

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/autorandr/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/bin/autorandr -h’ got 0 exit code
ran ‘/nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/bin/autorandr --help’ got 0 exit code
ran ‘/nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/bin/autorandr --version’ and found version 1.5
found 1.5 with grep in /nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5
directory tree listing: https://gist.github.com/ca1a736eb6be03089d56d2e50bef2cfd

cc @coroa for review

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: autorandr
Partial log (click to expand)
Cannot nix-instantiate `autorandr' because:
error: while evaluating the attribute 'installPhase' of the derivation 'autorandr-1.5' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:13983:13:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/systemd/default.nix:1:1, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/os-specific/linux/systemd/default.nix:16:1

Success on x86_64-linux (full log)
Attempted: autorandr
Partial log (click to expand)
    udevadm control --reload-rules

/nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/lib  /nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/bin
patching script interpreter paths in /nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5
/nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5/bin/autorandr: interpreter directive changed from "/usr/bin/env python" to "/nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/bin/python"
checking for references to /tmp/nix-build-autorandr-1.5.drv-0 in /nix/store/vjiasvrsgwrpyqcy437jjk56r62m7w4c-autorandr-1.5...

Success on aarch64-linux (full log)
Attempted: autorandr
Partial log (click to expand)
    udevadm control --reload-rules

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/l7fswm2vcicwrqnv416f38dgvldxnb6a-autorandr-1.5
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/l7fswm2vcicwrqnv416f38dgvldxnb6a-autorandr-1.5/lib  /nix/store/l7fswm2vcicwrqnv416f38dgvldxnb6a-autorandr-1.5/bin
patching script interpreter paths in /nix/store/l7fswm2vcicwrqnv416f38dgvldxnb6a-autorandr-1.5
/nix/store/l7fswm2vcicwrqnv416f38dgvldxnb6a-autorandr-1.5/bin/autorandr: interpreter directive changed from "/usr/bin/env python" to "/nix/store/dm6n8imydr8bdhr4j6l6wwfx8h99h781-python3-3.6.4/bin/python"
checking for references to /build in /nix/store/l7fswm2vcicwrqnv416f38dgvldxnb6a-autorandr-1.5...
/nix/store/l7fswm2vcicwrqnv416f38dgvldxnb6a-autorandr-1.5


Grinder PLATFORMS=all generates incorrect jobs and misses others

If 'all' is specified for PLATFORM:

Jobs are generated for platform ppc64-aix_xl, which does not exist
Jobs are not generated for x86-32_windows for anything other than jdk8, though it exists for jdk11 and later on hotspot
Jobs are not generated for aarch64-linux_xl which exists for jdk11 and later on openj9

Jobs are not generated for other platforms (e.g. RISC-V, Solaris), but I think this is the desired behaviour since they are excluded from the 'normal' test runs).
Also once the jobs are generated the are submitted in the order they were added to the platforms list (in https://github.com/AdoptOpenJDK/openjdk-tests/blob/314dc7c35260354d60bf0455c54f9728be7aef12/buildenv/jenkins/openjdk_tests).  It would be nice if the list were sorted once complete so that which jobs are which once they are submitted would be more predictable.

Yes.  'all' does not mean literally all.   While we will not rename it to 'most' or 'primary' platforms, that was the intent.  By design, it's 'all primary platforms of interest'.
We will address this by a combination of updating the comment under the Jenkins parameter and removing any _XL jobs that may get triggered.
It is uncertain whether we can easily enforce ordering.  That may need more investigation and may not be feasible (TBD).

Hi @Codesuha, there are a couple of parts to this issue, the first part is:

updating the testJobTemplate to add some extra information for the user

changing https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/testJobTemplate#L280 from all platforms: all (actual platforms will change based on JDK_VERSION/JDK_IMPL) to all platforms: all (this set actually excludes some secondary platforms and changes based on JDK_VERSION/JDK_IMPL selected)

The 2nd part requires verifying if its still an issue (to check if any _xl platforms get launched, of so, we will want to find the place in the code where the change is required.  Do not worry about this 2nd part for now.

@smlambert I'll take the issue.
Regarding this:

The 2nd part requires verifying if its still an issue (to check if any _xl platforms get launched, of so, we will want to find the place in the code where the change is required. Do not worry about this 2nd part for now.

No _XL platforms seem to get triggered (see all grinder runs below). Looking at the code confirms this.

Ok great, re: _XL builds, they should no longer be included (ensure to double-check using SDK_RESOURCE=releases and JDK_IMPL=openj9).

Ok great, re: _XL builds, they should no longer be included (ensure to double-check using SDK_RESOURCE=releases and JDK_IMPL=openj9).

I'll check!


Verify signed metadata content

Verify signed metadata content and check the fingerprint provided via configuration matches the public certificate used for signing the metadata content

Please avoid force pushes, they make re-reviewing PRs quite a bit harder:


Multiple forms on same page

Thanks in advance for reading.
If I have multiple forms on the same page and want to avoid calling verimail() multiple times and using IDs is there a way I can do this?
E.g. something along these lines?
$("input[type='email']").each().verimail({
    denyTempEmailDomains: true,
    messageElement: $(this).find('p.status-message')
});

El 7 jun. 2017 3:50 PM, "Robin Orheden"<EMAIL_ADDRESS>escribió:

Closed #8 https://github.com/amail/Verimail.js/issues/8.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amail/Verimail.js/issues/8#event-1114418271, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMh8c5Rv-4ZkaoJmLAn6pW2GfYaITj3Fks5sBw0JgaJpZM4Asany
.


"Server disconnected" after "Loading paraview" on browser

There is no error on apcahe, I am confused what happend.
I am using paraview 5.10.1 and apache 2 on ubuntu 18.04

I got it! It should be "visualizer" in apps

What about your sessionURL and your session log?


False killer whale library

@sfregosi I can't remember if we decided on any details for creating a FKW library of sample sounds/spectrograms.
I'm looking through old data sets now and can pull files and make screenshots.
Do you have a folder you want me to save them in?

@ybarkley great question! I still think it would be really helpful but in terms of where to keep it...great question. Would you prefer to just put them somewhere on the server or have them on GitHub somewhere?
We could put them in a folder within the llamp-hub if they are ok to be public and we would want to eventually share them with the world. I added you as a collab on that repo.
Otherwise, I'm very happy to just have them on the server or on Google Drive, especially just for now.

I can put it on the server for now. That's easy! There are screenshots and
recordings so far. Good times.
On Tue, Feb 7, 2023 at 3:17 PM sfregosi @.***> wrote:

@ybarkley https://github.com/ybarkley great question! I still think it
would be really helpful but in terms of where to keep it...great question.
Would you prefer to just put them somewhere on the server or have them on
GitHub somewhere?
We could put them in a folder within the llamp-hub
https://github.com/sfregosi/llamp-hub if they are ok to be public and
we would want to eventually share them with the world. I added you as a
collab on that repo.
Otherwise, I'm very happy to just have them on the server or on Google
Drive, especially just for now.
—
Reply to this email directly, view it on GitHub
https://github.com/sfregosi/llamp-hub/issues/2#issuecomment-1421756073,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXVYYZHZVVPP4BJWR66WP3WWLX2ZANCNFSM6AAAAAAUUUWZTI
.
You are receiving this because you were mentioned.Message ID:
@.***>

--

Yvonne Barkley, Ph.D
https://www.fisheries.noaa.gov/contact/yvonne-barkley-phd. | she / her
Cetacean Acoustics Postdoctoral Researcher
Cooperative Institute for Marine & Atmospheric Research
NOAA Pacific Islands Fisheries Science Center
Protected Species Division | Cetacean Research Program
https://www.fisheries.noaa.gov/pacific-islands/about-us/whale-and-dolphin-surveys-pacific-islands#towed-passive-acoustic-surveys

[ ] Put Pc_Library folder somewhere in another folder where Selene can access it

@ybarkley Thank you for starting and keeping this going! I'm going to move it to done for now, but it is already being used as I shared it's server location with Jenny!


Building a lexer/parser

tons to talk about here. need to split this ticket up
also, reference material: https://forum.golangbridge.org/t/best-practices-for-implementing-a-lexer/1040

+1


Redis 7 support

Support to analyze RDB version 10.
Be able to decode listpack object to hash,zset.
Be able to decode quicklist object to list, stream.

Thank you for filling that void.
Although this project is kinda dead, maybe we should make a release with this to ease the pain on everyone that's missing this.
Before i try to find time to take a deeper look. is there anything you're aware that's still missing for Redis 7.0 support?
p.s. maybe while at it, you can also handle Redis 7.2 support (listpack used for sets as well)

Rethinking my previous statement, considering this project is abandoned, merging PRs and making a new release could make the wrong impression and can cause someone to think it's alive and build new solutions based on it, which would be a shame.
The main reason i wanted to merge this was that AFAIK there's currently a vacuum around that area, and no tools that can handle Redis 7.0 RDB files.
The project of an official RDB parsing library (https://github.com/redis/redis/issues/11122) would still take time to be ready, and i wanted to give people something useful in the meanwhile...
However, i now took another look at redis-rdb-cli, and it seems it closed that gap and is now able to read listpacks and redis 7.0 RDB files. @leonchen83 please correct me if i'm wrong.
some evidence:
https://github.com/leonchen83/redis-rdb-cli/blob/0780f0082cd22766496dded9d7e69fc916d0fdde/src/main/java/com/moilioncircle/redis/rdb/cli/ext/rct/KeyValRdbVisitor.java#L384
https://github.com/leonchen83/redis-rdb-cli/blob/0780f0082cd22766496dded9d7e69fc916d0fdde/src/main/java/com/moilioncircle/redis/rdb/cli/ext/rct/KeyValRdbVisitor.java#L324

@oranagra redis-rdb-cli fully support redis 7 RDB files

@oranagra redis-rdb-cli fully support redis 7 RDB files

thanks @leonchen83 i was really worried that for a long time there was nothing out there capable of processing listpacks and users who upgraded to 7.0 (and can't downgrade) have nothing to work with.
p.s. I suppose you can start doing the additional minor adjustments for Redis 7.2 (sets use listpack, and and streams active-time)

您好，我已收到您的邮件，谢谢！！~~

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

I was able to use https://github.com/leonchen83/redis-rdb-cli with redis dump file format 11

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

您好，我已收到您的邮件，谢谢！！~~

@sripathikrishnan , this PR is beneficial for my current project, please review and approve it as soon as possible. Currently, my project uses this PR as a patch. Merging it will be good for this project. Thanks a lot.

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

您好，我已收到您的邮件，谢谢！！~~


Problem in rendering Slider with dynamic children

If I render Slider as below:
<Slider {...settings}>
    {slides.map((slide) => (

{slide.index}

    ))}
</Slider>

nextProps.children.length in componentWillReceiveProps of class InnerSlider will always returns 1 which breaks the sliding logic.
Does Slider not expect dynamic children?

Can you reproduce the issue with this jsfiddle and provide link
https://jsfiddle.net/kirana/20bumb4g/

Sure. Here's the implementation of my described problem: https://jsfiddle.net/8qLhy7do/1/
If options slidesToShow and slidesToScroll are set to 1, it works fine: https://jsfiddle.net/8qLhy7do/2/

Hey chochihim, it looks like you're not returning your
 inside map()
try:
<Slider {...settings}>
    {slides.map((slide) => (
        return (
{slide.index}
);
    ))}
</Slider>

+1 Having this issue too. On version 0.14.5 for react-slick.

+1

version 15.3.2 Cannot read property 'getBoundingClientRect' of null

+1 same here. basically this line fails return elem.getBoundingClientRect().height || elem.offsetHeight; because elem is null. It comes from slickList.querySelector('[data-index="0"]').

@hackhat I had exactly the same issue and fixed by adding data-index attribute to my slide elements, more or less like this:
<Slider {...settings}>
  {slides.map((slide, index) => (

{index}
;
  ))}
</Slider>

I've just started adding this library to my project, so I'm not sure if it won't cause some other issues later on.

@szimek That's the same thing I did, but something doesn't feel right about it.

@hackhat
try this:
<Slider {...settings}>

  {slides.map((slide, index) => (
    {index}
  ))}

@hackhat
you can try this:
<Slider {...settings}>

       {slides.map((slide, index) => (
          {index}
        ))}

@hackhat you can try this:   <Slider {...settings}>
     {slides.map((slide, index) => (
{index}
     ))}
   </Slider>

@ShuaiShuaiguo You mean removing the data-index={index} from the example above (see below code)? I don't think will work, because react-slick needs the data-index attribute.
<Slider {...settings}>
  {slides.map((slide, index) => (

{index}

  ))}
</Slider>

Which version of react-slick are you using ?
I don't this issue with latest release.
Check this demo https://jsfiddle.net/8qLhy7do/5/

@akiran I got the issue with "version": "0.14.5"

@hackhat  Can provide a jsfiddle to replicate your issue ?

I was able to reproduce the issue here:
https://jsfiddle.net/17xt8pxw/
It seems like if we start out with no children (e.g. this.state.slides = []), then there is a problem. When there is at least one children before the initialization (e.g. this.state.slides = [1]), then it still works.

@hackhat
no, it needs a certain DOM element, just wraps the dynamic data by any DOM elements, not one of element.it works to me.

+1 This is definitely a bug with 14.5. I pretty much have the same set up as the OP but utilizing a Redux store. My store initializes as empty then is populated later. React-slick shouldn't even be initializing with an empty array.

@samplefrequency Agreed.  I will try to fix it soon

+1, setting manually data-index solved the problem.

@andricicezar Still won't fix the issue if the array starts off empty and is later populated via AJAX or from a Redux store.

As a quick workaround for those of you using Redux is to simply prevent <Slider {...settings} >... from rendering by checking if the length of the array is greater than 0.

Still not working :/

As a quick workaround, you can mount slider only if you have slides.
{slides.length > 0 ? <Slider>{slides}</Slider> : null }

@akiran I solve this problem almost like you:
{this.state.loading ? <Loader> : <Slider>{slides}</Slider> }
Thanks for react-slick!

@akiran {slides.length > 0 ? <Slider>{slides}</Slider> : null } didn't work for me.
Any updates?

Replace 'slides' with the name of the array that contains the slide items. For example, instead of slides.length use yourArray.length
On Nov 14, 2016 18:08, Pam<EMAIL_ADDRESS>wrote:
@akiranhttps://github.com/akiran {slides.length > 0 ? {slides} : null } didn't work for me.
Any updates?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/akiran/react-slick/issues/504#issuecomment-260515785, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHrj26kslUdhM1D511Y5Em8b_K9x3dGrks5q-QYegaJpZM4KMS5h.

Thanks for the quick response @samplefrequency
Unfortunately it still doesn't work. Like you, my array starts off empty and is later populated via AJAX called after the Redux store has been updated (since it needs the new data from the redux store to make the call).
As you suggested, I have replaced it with my own array, and I've also confirmed the length of said array -
which in my case ->  this.renderGallery(listing).length =  7 by rendering it directly below my images.
The below is my renderGallery handler which I call when rendering
renderGallery() {     if (this.props.listingGalleryImages.data !== undefined) {       const galleryAssets = this.props.listingGalleryImages.data;       const images = galleryAssets.map((asset, index) => {         return (

         );       });       return images;     }   }
And inside the render:
`
{this.renderGallery(listing) !== undefined && this.renderGallery(listing).length > 0 ?
<Slider{...settings}>
{this.renderGallery(listing)}
 : null }
{this.renderGallery(listing) !== undefined ? this.renderGallery(listing).length : null}
`
I don't know if this is clear enough, happy to clarify further.
Btw, I'm using "react-slick": "^0.14.5",
and also have the style sheet included, since initially my Isomorphic / universal React app didn't work without.
https://github.com/akiran/react-slick/issues/273

Solved it, and just writing it here for ppl who run into this in the future :
Had help from a colleague and he pointed out that I needed only to take out the  from this line
<Slider{...settings}>

{this.renderGallery(listing)}

       </Slider> : null }

Apparently, if I leave it there, the Slider will pick up that one big and count that, which means it will not render according to the other many  s within it.
Side note: I didn't even need the data-index in the .map, though the ternary is still needed for fallback purposes.
Code now looks like this to be clearer:
 {this.props.listingGalleryImages.loaded === true &&

               {this.renderGallery(listing).length > 0 ?
               <Slider {...settings}>{this.renderGallery(listing) </Slider> : null }

 }

@ypyang237 Just as a side note, instead of the ternary
this.renderGallery(listing).length > 0 ?
        <Slider {...settings}>{this.renderGallery(listing) </Slider> : null

You could actually use && to make it shorter:
( this.renderGallery(listing).length > 0 )&& <Slider {...settings}>{this.renderGallery(listing) </Slider>

@szimek Thanks, this works for me! 👍

@anonmily thanks i have the same problem as you , it works!

If {...settings} you set lazyLoad: true will not work. with data.length < settings.slidesToShow !!!

Doesn't work with react components
https://jsfiddle.net/8qLhy7do/21/

It's working fine for me guys:
<Slider
   ref={c => this.slider = c}
   {...settings}
   afterChange={this.changeState}>
   {content.map((item, index) =>
{item}
)}
</Slider>

This issue  is fixed in master

When will this fix be added to NPM?

Still facing the same issue with this release --
https://github.com/akiran/react-slick/releases/tag/0.15.0

Make sure data-index is an integer. And if your slide is a component, make sure to set the data-index attribute to the root element of your slide component.
Your slide component could look something like this:
const Slide = ({ dataIndex }) => {
    return(

Slide {dataIndex}

    )
}

This fixed it for me.

How is it possible to do what @ypyang237 did first? I need a slider that has that setup
<Slider{...settings}>

{this.renderGallery(listing)}

</Slider> : null }

And slick only to pick up like .inner as slides. In original slick-slider there is the slide attribute, which tells slick from which selectors to create the slides. It seems not implemented in react-slick?

My config:
<Slider {...settings}>
{data.map((item, idx) =>
{item}
)}
</Slider>

I've tried all tricks and tips and "solutions" above but nothing seem to work.
"react-slick": "^0.28.1"

+1

@kevin700brands You might have missed importing the CSS files:
just try adding the two lines of code in ur app.js file:
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";

I am using version 0.29.0 and still have issues regarding broken slider. Initially everything is fine, when i load the page, but when i move to another page and return, all my data are there, I put log to track changes, but my slider is not visible... Can anyone relate to this behavior? I put all the changes mentioned here bit it does not work...
My Settings object is:
const settings: Settings = {
dots: false,
infinite: false,
speed: 1000,
slidesToShow: 1,
slidesToScroll: 1,
arrows: true,
prevArrow: ,
nextArrow: ,
};
My component code is:
return (

<Slider {...settings} ref={sliderRef}>
{propertyCards?.map((card, index) => {
return (

<Image
src={card?.image! ?? CardImage}
width={200}
height={200}
alt="image"
/>

.
.
.

When I removed first container div, slider now works, its not broken, but my .css is now... Why is this happening?


bump cs3org wopi server to 10.4.0

Description
Keep the wopi server up to date
Related Issue
Motivation and Context
Keep the wopi server up to date
How Has This Been Tested?

wopi validator in CI

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[x] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

Can we backport these changes also to stable.5.0? - that would be great, thx

Fixed the wopi release in the comment of the .env file - this was disaligned.

Just for the record, https://github.com/cs3org/wopiserver/blob/master/CHANGELOG.md
### Tue May 14 2024 - v10.4.0
- Added support for Microsoft compliance domains
- Fixed opening of markdown files created on Windows platforms
- Improved lock handling on write and xattr operations (#137)
- Improved logs


Renovate updates .nvmrc & .node-version separately from .travis.yml

See #588. Only the Travis file is updated.
Perhaps removing the less popular nodenv file would solve it? Or maybe removing the v prefix from these files?

According to #573, renovate does update .node-version and .nvmrc. It is nodenv that does not get updated. But that's #609.
This issue is about renovate not updating Travis-CI Node.js version and the .nvmrc type of files together. Here's a PR that updates only the Travis-CI Node.js: #588. And #573 updated only the .nvmrc type of files.

https://github.com/renovatebot/renovate/issues/6313

#646


Reaction Timer  Game

Please Look At the Project That i Made

Looks like the website is broken :( and you changed stuff in code of conduct and license?

Yeah ! But i don't know how this happen
Since every thing seems to be correct
I deleted the files which  merged  separately , and make a folder of Reaction Timer


Invalid trace access fails silently

@gen function foo() end
x = trace[:x]

This fails silently, setting x is nothing.
This bug was introduced in https://github.com/probcomp/Gen/pull/153
The broken line is:
https://github.com/probcomp/Gen/blob/master/src/dynamic/trace.jl#L203-L206
It should raise an error at the end instead of returning nothing.

(Accidentally merged the fix into master in without a PR.)


Apply for Algolia Search

Apply to the Algolia DocSearch program to add DocSearch to BobaDocs.

👯👯👯 Did this today!


Fix processing of odd video width

Due to the selected chroma subsampling in combination with the libx264
video encoder, processing wideos using the fast test workflow fails if
the video has an odd resolution (e.g. 2560x1337).
This patch fixes the issue by cropping to the nearest even resolution is
these cases.
Your pull request should…

[ ] have a concise title
[ ] close an accompanying issue if one exists
[ ] be against the correct branch (features can only go into develop)
[ ] include migration scripts and documentation, if appropriate
[ ] pass automated testing
[ ] have a clean commit history
[ ] have proper commit messages (title and body) for all commits
[ ] have appropriate tags applied

@lkiesow Can you link some demo media to tests against?

Sorry. Totally forgot about this.
This should probably fail right now:
https://data.lkiesow.io/opencast/3840x2161.mp4


helm chart documentaiton should include instructions to how to configure various components too: https://vmware-tanzu.github.io/secrets-manager/

Regarding this topi, I’ve talked to the core contributors of the SPIFFE helm charts ( https://github.com/spiffe/helm-charts/ ) project.
There are two suggestions, both of which have merit:

Handcraft your documentation manually; all the documentation generators will establish limitations when you need to fine-tune things.
Use a tool like https://github.com/norwoodj/helm-docs or https://github.com/bitnami-labs/readme-generator-for-helm to keep documentation close to the source and auto-generate the README.

Another option could be to have a hybrid mode:

Manually crafting some docs, and generating some automatically.

Since we don’t have too many components, and our configuration options are not that complicated, and automatic code generator, or a hybrid mode can save us time.
We can discuss it in a contributor sync-up.

Moving to vC.

There is a section about environment variables that points to documentation.
I think it is good enough for now.
I’m closing this.


Numbered parameters for MSSQL should be with @ not $

When using numbered parameters in an MSSQL flavoured query the prefix for a parameter ought to be @ and not $

Looks like we need an option for choosing this character.


[Event request] Table 12116 "Withholding Tax" - OnAfterValorizzaRitenute

Hi AL-Team,
can you please add a new event in the method ValorizzaRitenute
"Source-Withholding Tax" := WithholdCode."Source-Withholding Tax";
//New Event
OnAfterValorizzaRitenute(Rec);
//New Event
ClearRelatedNonTaxableLines();

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Add nx ignore with storybook files excluded when creating a domain

Add .nxignore with storybook files excluded when creating a domain

Nx lint is working now with no errors from storybook, so closing this issue.


Problems with unicode non-breaking hyphen

Hi. I econountered an annoying problem with unicode non-breaking hyphen.
Unicode seems correctly supported, but non-breaking hyphen character renders as a double whitespace.
Hot to reproduce: open the demo and insert the following line
doc.text('Testing unicode: this works (\u20AC) this does not (\u2011)');
Do anybody knows why and if there is a turnaround?
Thanks!

We also have problems with other unicode characters, notably certain accent characters and greater-than-or-equal and less-than-or-equal:
doc.text('\u0065\u0300\u2264\u2265\u0065\u0301');
should be è≤≥é but returns e0&B&VS

Hi! DId you find a solution to insert a non-breaking hyphen?

We face problems with '\xa0' as a non breaking white space character and certain fonts (Glober in our case).
With other custom fonts it all works fine.


Use custom build wheel packages

Is there a way to add locally custom build wheel packages to the dependencies?
I have a 3rd party package that is not published to PyPi therefore installing it from there isn't an option.

The usual way to do this is to specify --index-url or --extra-index-url to pip when installing the package (if you use --extra-index-url, you should be aware of the possibility of dependency confusion attacks, where someone uploads a package with the same name on PyPI).
There isn't really a good way to specify where a package should come from in the dependencies of a package itself. See this blog post on concrete vs abstract requirements for more background on why things work that way.


Provide ability to spawn vs summon monsters so they will automatically drop loot

Is your feature request related to a problem? Please describe.
While playing scenario 74 "Merchant Ship" noticed that the spawned monsters do not drop loot because they were added by using the summon action.
Describe the new feature you'd like
Work around is to remember to spawn a loot token when spawned monster is killed but it would be better to have the web app do this.  Possibly add another action icon on the left that behaves similar to the summon action but sets what ever flag is necessary to drop loot when it is killed.

Hmmmm... that's a real pain. It would be nice if the app just dealt with it transparently rather than a player remembering to spawn rather than summon or vice versa. This probably won't make it into the next release, but shouldn't be a massive problem, so I'll add it soon after I think

Fixed in v1.12.0


Update build-and-release-stable.yml

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

@MUzairS15 Let's discuss this on Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)

This has already been fixed in https://github.com/meshery/meshery/issues/8664.
@MUzairS15, you might wanna rebase your branch.

@MUzairS15 feedback for you above.


Document LOGSENE_ENABLED_DEFAULT option

The documentation for the flag is missing in https://sematext.com/docs/sematext-docker-agent/configuration/#log-routing
A blog post exists:
https://sematext.com/blog/docker-log-management-enrichment/

The documentation should be added to the section "Log Routing" here:  https://github.com/sematext/docs/blob/master/docs/sematext-docker-agent/configuration.md

Published:  https://sematext.com/docs/sematext-docker-agent/configuration/#log-routing


Feature/rifex 51/pay to rns domain

This PR introduces the ability to pay to a RNS domain using rbtc and the pay feature.

This affects ui and service layers

I only have one comment, why its needed to reinitialize lumino light client and try to make the onboarding again?
Just because it failed before? which situations will lead into an onboarding failure and onboarding recuperation just because a retry?

I removed this because of the problems that it causes, we should investigate that in another story to see why we have that problem.


Change parameters

Summary
The feature for updating name, molecule and algorithm-type. The changes can be made through the details view. "Name" field works with [Enter].
Known flaws
:suspect: The arranging of elements for different forms could be done more neatly. Possibly by activating the necessary field through a slide or something like that.
How to test

[ ] Change the parameters and observe what happens to the listing on the front page. If there are irregularities, report.

Problem: user can change details of other user algorithms

Perhaps it would be clearer if it would be seperate view? Like adding metric manually (link 'update details' in details view)?

New version
Summary
Algorithm details can be changed by clicking "update details" in algorithm details
How to test
Change details and see that details are really changed. Test can one change details of other persons algorithm


feat: Separate out Backdrop from Dialog

Four main changes:

Moved dialog backdrop into a generic iui-backdrop component in backdrop.scss.
Moved all modifiers from iui-dialog-backdrop into iui-dialog.
Changed dialog to use position: fixed instead of absolute.
Added iui-dialog-wrapper which should be used for confining the draggable dialog to a container.

Combined, this means the dialog does not rely on the backdrop:

...

And the wrapper is only needed for the "relative to container" case:

...

Also removed a lot of nesting/overrides and added a new iui-dialog-title-bar-draggable modifier class.
Pending: properties/classes for react-transition-group

This all looks good, I'll give the approval once the pending changes are in.

Looks good. I think some time ago we talked about changing top and left position in @mixin iui-dialog-default to flex and center. But I might be wrong.

 And I brought it up again in another PR because we want to add additional placements to dialog (top, bottom, bottom-left, etc similar to toasts).
However, using flex or grid would make adding a wrapper element required. Currently it works without a wrapper.

 And I brought it up again in another PR because we want to add additional placements to dialog (top, bottom, bottom-left, etc similar to toasts).
However, using flex or grid would make adding a wrapper element required. Currently it works without a wrapper.

It won't be breaking change if we make wrapper required later?

@bentleyvk @FlyersPh9 @gretanausedaite i linked the css changes into react, made the necessary changes in react (same as in our html), and the animation Just Works™ without any extra css changes needed.
https://user-images.githubusercontent.com/9084735/171881241-1fd011b0-f3bb-4cc1-ad2e-d237c3139ef8.mp4


Allow us to leave feedback from the post page

You can submit a spam flag from the post page on MS, but you can't submit feedback. Currently, the only ways to do that are to find the post in chat and k it, or to use the API.
Originally proposed by Mithrandir: https://chat.stackexchange.com/transcript/message/37454701#37454701

Submitting a spam flag also submits true positive feedback. Other than that, unless the post has no feedback (in which case it'll be in review), is it necessary to be able to submit more feedback?

@ArtOfCode- I do think this will be useful. For example, if you disagree with a feedback on a post, you'll currently have to go to chat/open the post and use FDSC which will be kinda irritating. Though it is preferable to go in chat and feedback if your feedback conflicts with another one as you'll be able to communicate your reason, this should also be allowed from the MS webpage.

A bunch our stuff disallows conflicting feedback because we want to encourage discussion if you disagree with existing feedback. Letting people sidestep that with MS kinda defeats the point, it seems.

It would still give us the conflicting feedback warning in chat, but forcing discussion is a pretty good point. If you're in chat, it's a lot easier to ask why you disagree than if you're pushing buttons on metasmoke from your phone.

Calling this closed after 11 days dead. Reopen/comment with any further points.


Add dotsecrets under general purpose utilities

Dotsecrets is a dotfile manager written in Python that allows one to organize their dotfiles in a Git repository. Secrets information (passwords, etc) are automatically filtered using Git clean and smudge filters based on a regular expression. This allows one to store the original dotfile in Git with just the secret replaced with a marker. A separate secrets file will contain the sensitive information outside the Git repository.
By organizing the dotfiles under topic directories (either by application name or by target device, or a combination) you can quickly get new devices up and running with only those dotfiles you want. This is done by creating symlinks similar to using Stow.
Test commands are available to test newly created filters and validate they remove your secrets as intended. The init command allows for bootstrapping new checkouts.

Thanks for the help


Contributions for your Open Source Project

We'd like to use our new AI-enabled security scanning tool against your repo to help finding any possible improvements.
More Details here ➡- https://pixee.ai
Is there a particular process your team would prefer we recommend these findings?
Should we email them over or open a PR?

Just wanting to ping this issue again.
Pixeebot is free for open source projects, so if interested you can install it here from the GitHub marketplace - https://github.com/apps/pixeebot
To start receiving code hardening & security improvements Pull Requests automatically.


uncommenting friendly-snippets does not work

Describe the bug

just uncommenting rafamadriz/friendly-snippets does not work
To Reproduce

uncomment rafamadriz/friendly-snippets in the dependencies for nvim-cmp

Desktop

OS: macos
Terminal: alacritty

Neovim Version

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377

Fix
add require("luasnip.loaders.from_vscode").lazy_load() when setting up cmp
(maybe also add rafamadriz/friendly-snippets to the dependencies for LuaSnip)

Yes, you still have to do the setup for friendly snippets -- could maybe be noted better in the documentation though. Do you want to send a PR w/ a description to add?

Since my PR was closed and I don't have any better ideas, here is an explanation on how to solve this for anyone with the same problem. Add the line
require("luasnip.loaders.from_vscode").lazy_load()
below the following code. (since the old kickstart had the same line here)
https://github.com/nvim-lua/kickstart.nvim/blob/b529bc33590cbb81a5916408b2d6001a643e596c/init.lua#L650-L654
also maybe just read https://github.com/rafamadriz/friendly-snippets

@VlaDexa had a really smart suggestion, which we just merged. Should make this easier!

I have a config forked from latest Kickstart (https://github.com/feakuru/nvim-config), and when I try to uncomment the friendly-snippets section there, the snippets for Python, HTML or JS don't seem to show up in completions. Am I missing some additional steps?


CI: Windows sccache support

@flub @Arqu do we actually want to still do this?

We already do this since ~end of last year


I'm whining because it doesn't catch "bitching & moaning"

"Whining" conveys the same contempt for trivial complaints, but doesn't imply "you know, like women are always doing."

Thanks! I'll add them later today!


Samsung Browser doesn't do anything on touch inputs (left click)

Environment

OS: opensuse leap 15.2
scrcpy version: 1.17
installation method: manual build
device model: Samsung S20 SM-G980
Android version: 11

Describe the bug
Samsung Browser (Samsung Internet <IP_ADDRESS>) doesn't do anything on touch inputs (left click) on the website rendered area. Scroll wheel works however, the UI elements are responsive to left clicks as well. No problems on chrome browser.
It worked in the past. I can't remember if a new version of scrcpy or samsung internet introduced this bug.
logcat output while trying to do inputs with left mouse click:
03-05 10:31:57.323  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = MouseMove

It worked in the past. I can't remember if a new version of scrcpy or samsung internet introduced this bug.

Could you please test older scrcpy version? (or even git bisect, if you know how to)
This will help to find the cause.

didn't know about git bisect, but it was fun learning it.
that's the result
17d53be3ef9d376e48a7f9e90cf6c87cf8fbf8f5 is the first bad commit
commit 17d53be3ef9d376e48a7f9e90cf6c87cf8fbf8f5
Author: Romain Vimont<EMAIL_ADDRESS>Date:   Fri Oct 25 11:06:30 2019 +0200
Fix mouse events conversion

The conversion from SDL mouse state to Android mouse state used wrong
constants as mask.

Fixes <https://github.com/Genymobile/scrcpy/issues/635>

app/src/event_converter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Oh, thank you very much for the bisect :+1:
diff --git a/app/src/event_converter.c b/app/src/event_converter.c
index ab48898d..7bc56ed4 100644
--- a/app/src/event_converter.c
+++ b/app/src/event_converter.c
@@ -1,6 +1,7 @@
 #include "event_converter.h"

 #include "config.h"
+#include "util/log.h"

 #define MAP(FROM, TO) case FROM: *to = TO; return true
 #define FAIL default: return false
@@ -174,6 +175,7 @@ convert_mouse_buttons(uint32_t state) {
     if (state & SDL_BUTTON_X2MASK) {
         buttons |= AMOTION_EVENT_BUTTON_FORWARD;
     }
+    LOGI("buttons = %x\n", buttons);
     return buttons;
 }

diff --git a/server/src/main/java/com/genymobile/scrcpy/Controller.java b/server/src/main/java/com/genymobile/scrcpy/Controller.java
index 84780239..c70eebaf 100644
--- a/server/src/main/java/com/genymobile/scrcpy/Controller.java
+++ b/server/src/main/java/com/genymobile/scrcpy/Controller.java
@@ -172,6 +172,7 @@ public class Controller {
     }

     private boolean injectTouch(int action, long pointerId, Position position, float pressure, int buttons) {
+        Ln.i("buttons = " + Integer.toHexString(buttons));
         long now = SystemClock.uptimeMillis();

         Point point = device.getPhysicalPoint(position);

Could you please add some logs? (on current master)
Then, when you click, it should print these logs in the console.

INFO: scrcpy 1.17 https://github.com/Genymobile/scrcpy
DEBUG: Using SCRCPY_SERVER_PATH: x/server/scrcpy-server
x/server/scrcpy-server: 1 file pushed. 8.8 MB/s (35030 bytes in 0.004s)
DEBUG: Screensaver enabled
[server] INFO: Device: samsung SM-G980F (Android 11)
DEBUG: Starting stream thread
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
[server] DEBUG: Using encoder: 'OMX.Exynos.AVC.Encoder'
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 460.32.03
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2400
INFO: buttons = 1
[server] INFO: buttons = 1
INFO: buttons = 1
INFO: buttons = 1
[server] INFO: buttons = 1
[server] INFO: buttons = 1
INFO: buttons = 1
[server] INFO: buttons = 1
INFO: buttons = 1
[server] INFO: buttons = 1
INFO: buttons = 1
[server] INFO: buttons = 1
INFO: buttons = 1
INFO: buttons = 1
[server] INFO: buttons = 1
[server] INFO: buttons = 1
INFO: buttons = 1
[server] INFO: buttons = 1
...

scrcpy : buttons = 11

(0x11) so clicks are working only if you indicate that AMOTION_EVENT_BUTTON_FORWARD (0x10) is down (in addition to AMOTION_EVENT_BUTTON_PRIMARY).
This looks like a bug in the browser.
Could you also apply this change: https://github.com/Genymobile/scrcpy/issues/2125#issuecomment-790522878

ok, I did the change. It doesn't help with the issue.
whit 17d53be
03-05 15:15:32.269 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.270 31297  1448 D InputDispatcher: Inject motion (16682): action=0x0, time=285304819000000, f=0x0, d=0
03-05 15:15:32.271 31297 31482 I InputDispatcher: Delivering touch to (31656): action: 0x4, f=0x0, d=0, '17c101d', t=1
03-05 15:15:32.272 31297 31482 I InputDispatcher: Delivering touch to (14382): action: 0x0, f=0x2, d=0, '8fd012e', t=1
03-05 15:15:32.271 14382 14382 I ViewRootImpl@bfc4dc2[SBrowserMainActivity]: ViewPostIme pointer 0
03-05 15:15:32.272 31297 31482 D PowerManagerService: UserActivityStateListenerState: 1
03-05 15:15:32.320 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.330 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.340 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.350  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = MouseMove
03-05 15:15:32.350 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.361 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.362 31114 21417 E power   : ISystemSuspend::getService() failed.
03-05 15:15:32.362 32089 16008 I RILClient: processUnsolicited(): resp_id (11090), len(420)
03-05 15:15:32.363 31297 31368 D BatteryExternalStatsWorker: ModemActivityEnergyInfo was updated
03-05 15:15:32.367 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.367 31297 31368 D BatteryExternalStatsWorker: updateKernelWakelocksLocked was updated
03-05 15:15:32.367  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = MouseMove
03-05 15:15:32.367 31297 31368 D BatteryExternalStatsWorker: updateKernelMemoryBandwidthLocked was updated
03-05 15:15:32.368 31632 31813 I System.out: Broadcasting: Intent { act=com.samsung.intent.action.BIG_DATA_INFO (has extras) }
03-05 15:15:32.369 31297 31368 D BatteryExternalStatsWorker: done updateExternalStatsLocked
03-05 15:15:32.370 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.370 31632 31632 D SemBigDataInfoController: Intent : com.samsung.intent.action.BIG_DATA_INFO
03-05 15:15:32.370 31632 31632 D SemBigDataInfoController: BIG_DATA insertLog slot : 0 feature : 26
03-05 15:15:32.370 31632 31632 D SemBigDataInfoController: feature : CMAI, extra : {"JVER":"SSB2","SLP_TM":"5002","IDL_TM":"2687","NR_TX0_TM":"0","NR_TX1_TM":"0","NR_TX2_TM":"0","NR_TX3_TM":"0","NR_TX4_TM":"0","NR_RX_TM":"0","NR_TX_BYTE":"0","NR_RX_BYTE":"0","LC_TX0_TM":"0","LC_TX1_TM":"0","LC_TX2_TM":"0","LC_TX3_TM":"79","LC_TX4_TM":"239","LC_RX_TM":"4659","LC_TX_BYTE":"193","LC_RX_BYTE":"187"}
03-05 15:15:32.371 31297  1962 D BatteryStatsImpl: SemModemActivityInfo{ SleepTimeMs=5002 IdleTimeMs=2687 mNr=MobileActivity{ txTimeMs[]=[0, 0, 0, 0, 0] rxTimeMs=0 txBytes=0 rxBytes=0 } mLc=MobileActivity{ txTimeMs[]=[0, 0, 0, 79, 239] rxTimeMs=4659 txBytes=193 rxBytes=187 } }
03-05 15:15:32.372 31632 31632 D SemBigDataInfoController: Intent : com.samsung.intent.action.BIG_DATA_INFO
03-05 15:15:32.381 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.381 31632  3395 I System.out: Broadcast completed: result=0
03-05 15:15:32.384  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = MouseMove
03-05 15:15:32.385 31297 31368 D BatteryExternalStatsWorker: updateMobileRadioState was updated
03-05 15:15:32.391 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.392 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.401  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = MouseMove
03-05 15:15:32.401 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.411 16682 16700 I scrcpy  : buttons = 1
03-05 15:15:32.417  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = MouseMove
without 17d53be
03-05 15:18:12.537 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.538 31297 32221 D InputDispatcher: Inject motion (17048): action=0x0, time=285465087000000, f=0x0, d=0
03-05 15:18:12.538 31297 31482 I InputDispatcher: Delivering touch to (31656): action: 0x4, f=0x0, d=0, '17c101d', t=1
03-05 15:18:12.539 31297 31482 I InputDispatcher: Delivering touch to (14382): action: 0x0, f=0x2, d=0, '8fd012e', t=1
03-05 15:18:12.539 14382 14382 I ViewRootImpl@bfc4dc2[SBrowserMainActivity]: ViewPostIme pointer 0
03-05 15:18:12.539 31297 31482 D PowerManagerService: UserActivityStateListenerState: 1
03-05 15:18:12.541 14382 14382 W chromium: [WARNING:render_widget_host_view_android.cc(873)] SBRTOUCHLOG  OnTouchEvent, Action::DOWN
03-05 15:18:12.541 14382 14382 I chromium: [INFO:render_widget_host_input_event_router.cc(836)] SBRTOUCHLOG Set Touch sequence target view: 0xdb0b1490
03-05 15:18:12.541 14382 14382 W chromium: [WARNING:input_router_impl.cc(571)] SBRTOUCHLOG FilterAndSendWebInputEvent, kTouchStart
03-05 15:18:12.542 14382 14382 I ViewRootImpl: updatePointerIcon pointerType = 1000, calling pid = 14382
03-05 15:18:12.542  3329  3362 I chromium: [INFO:input_handler_proxy.cc(1109)] SBRTOUCHLOG : TouchStart
03-05 15:18:12.542 31297  1456 D PointerController: updatePointerIcon, 1008 -> 1000
03-05 15:18:12.543  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = PointerDown
03-05 15:18:12.549  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = GestureTapDown
03-05 15:18:12.562 31297 31515 D SamsungAlarmManager: setInexact (T:2/F:8/AC:false) 20210305T151827 now=979378315 - CU:1000/CP:31297/L:7bc499d:WificondScannerImpl Scan Timeout
03-05 15:18:12.562 31297 31515 I SamsungAlarmManager: setLocked to kernel - T:2 / 20210305T151827, set=979393315, now=979378315
03-05 15:18:12.562 31297 31515 I SamsungAlarmManager: setLocked to kernel - T:3 / 20210305T151817, set=979383457, now=979378315
03-05 15:18:12.586 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.588 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.606 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.607 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.617 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.617 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.627 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.637 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.642  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = GestureShowPress
03-05 15:18:12.647 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.648 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.652  3329  3362 I chromium: [INFO:layer_tree_host_impl.cc(3950)] SBRTOUCHLOG LayerTreeHostImpl::ScrollBegin defer_commit =  0
03-05 15:18:12.652  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = GestureTapCancel
03-05 15:18:12.652  3329  3362 I chromium: [INFO:input_handler_proxy.cc(933)] SBRTOUCHLOG  HandleGestureScrollBegin  result = 0
03-05 15:18:12.652  3329  3354 I chromium: [INFO:web_view_impl.cc(2030)] SBRTOUCHLOG Blink HandleInputEvent event received = PointerCausedUaAction
03-05 15:18:12.657 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.665  3329  3362 I chromium: [INFO:layer_tree_host_impl.cc(4701)] SBRTOUCHLOG LayerTreeHostImpl::ScrollBy delta_y = -12.6156
03-05 15:18:12.668 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.678 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.680 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.689 17048 17064 I scrcpy  : buttons = 11
03-05 15:18:12.689   711   711 D gralloc : [mali_gralloc_allocate] begin
03-05 15:18:12.689   711   711 D gralloc : buffer_descriptor: wh(1080 2256) usage_pc(0x40000000000b00 0x40000000000b00) hal_format(0x1) layer_count(1) sizes(0 0 0) strde(0) byte_stride(0) alloc_wh(0 0) internal_format(0x0) alloc_format(0x0) fd_count(1) plane_count(0)
03-05 15:18:12.695   711   711 D gralloc : [mali_gralloc_allocate] allocation successful
03-05 15:18:12.697   785  1715 D NativeSemDvfsManager: acquire:: timeout = 1000 mIsAcquired = 1  mTagName : SurfaceFlinger
03-05 15:18:12.697   785  1715 E NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::acquire()
03-05 15:18:12.697 31144 31180 I HYPER-HAL: [RequestManager.cpp]acquire(): Acquired ID : 1596792  [785 / 1001]    HINT :      list : [GPUMinFreq / 377000] [TIMEOUT / 1000]

I'm facing the same issue with the Samsung Browser. I was trying to compare the MotionEvent objects of adb input tap with the ones created by scrcpy on a left mouse click.
For adb input tab we have something like
    action=ACTION_DOWN,
    actionButton=0,
    id[0]=0,
    x[0]=100.0,
    y[0]=300.0,
    toolType[0]=TOOL_TYPE_UNKNOWN,
    buttonState=0,
    metaState=0,
    flags=0x0,
    edgeFlags=0x0,
    pointerCount=1,
    historySize=0,
    eventTime=7609337,
    downTime=7609337,
    deviceId=3,
    source=0x1002
}

and for scrcpy it's:
MotionEvent {
    action=ACTION_DOWN,
    actionButton=0,
    id[0]=0,
    x[0]=150.0,
    y[0]=278.0,
    toolType[0]=TOOL_TYPE_FINGER,
    buttonState=BUTTON_PRIMARY,
    metaState=0,
    flags=0x0,
    edgeFlags=0x0,
    pointerCount=1,
    historySize=0,
    eventTime=7675534,
    downTime=7675534,
    deviceId=-1,
    source=0x1002
}

Changing buttonState from BUTTON_PRIMARY to 0 did actually make it work. I'm not sure what is actually the expected value here. We're obviously using a mouse with scrcpy but I guess we want to emit touch events. And from the Android documentation for BUTTON_PRIMARY it's also not clear if 0 or 1 is the correct value for a touch event since it states "This button constant is not set in response to simple touches with a finger or stylus tip"

it's also not clear if 0 or 1 is the correct value for a touch event since it states "This button constant is not set in response to simple touches with a finger or stylus tip"

Hmmm, I understand that BUTTON_PRIMARY must not be set for touch events:
diff --git a/server/src/main/java/com/genymobile/scrcpy/Controller.java b/server/src/main/java/com/genymobile/scrcpy/Controller.java
index d8059b43..21ff6932 100644
--- a/server/src/main/java/com/genymobile/scrcpy/Controller.java
+++ b/server/src/main/java/com/genymobile/scrcpy/Controller.java
@@ -208,6 +208,9 @@ public class Controller {
         // Right-click and middle-click only work if the source is a mouse
         boolean nonPrimaryButtonPressed = (buttons & ~MotionEvent.BUTTON_PRIMARY) != 0;
         int source = nonPrimaryButtonPressed ? InputDevice.SOURCE_MOUSE : InputDevice.SOURCE_TOUCHSCREEN;
+        if (source != InputDevice.SOURCE_MOUSE) {
+            buttons = 0;
+        }

         MotionEvent event = MotionEvent
                 .obtain(lastTouchDown, now, action, pointerCount, pointerProperties, pointerCoords, 0, buttons, 1f, 1f, DEVICE_ID_VIRTUAL, 0, source,

However, more generally, I guess using SOURCE_MOUSE for all mouse events instead would be better.
But I remember doing that in the past, and it changes the actual behavior, at least on text selection. The mouse behavior seems acceptable, but I remember that there were cases were it was not (even when using a mouse on the computer), I don't remember which cases.
(And it complicates the behavior when both mouse and touch events are generated from the computer, but that's secondary.)
Refs adc547fa6e8e6167cd9633a97d98de6665b8c23a 6220456def65e00696a268ac654756a8b22a96a7

but I remember that there were cases were it was not (even when using a mouse on the computer), I don't remember which cases.

As a mouse, some clicks on close prositions (sic) are sometimes not generated on some devices.

f70359f14fb13f277c65b96f43ec83aba4722457
But that problem was maybe related to https://github.com/Genymobile/scrcpy/issues/2125#issuecomment-779964418.

In fact, using SOURCE_MOUSE instead of SOURCE_FINGER even for left-clicks is bad for text selection. It may seem better at first, because it's easier to select, but deselection and click to move the cursor is broken.

Could you please confirm that it works correctly on branch issue2169?

Yes, that works with the Samsung Browser

:+1: Let's merge it (on dev), then.


Set CFBundleShortVersionString before distributing the plugin

This automatically sets CFBundleShortVersionString in Alcatraz's Info.plist to the right version number as part of the build Makefile target.

Rebased this PR on top of master. Could you take a look? Thanks!

LGTM, @supermarin @kattrali?

LGTM!

LGTM, just misses some context in the PR description  (why do we need it)?

Hmmm, don't really remember my intention when submitting the PR, but I think it stems from the fact that I couldn't figure out easily which version of Alcatraz was installed on my machine.

Gotcha; in that case, here's what I'd suggest:

remove ATZVersion.h
update install scripts to use PlistBuddy instead of sed
update Alcatraz code to read from plist instead of ATZVersion.

Not sure if that sounds reasonable, let me know if you need any pointers :)

Agreed and done :)

Removed ATZVersion.h
VERSION in the Makefile is now populated from Alcatraz-Info.plist
Updated -addVersionToWindow to read from the bundle's infoDictionary.

Also, I took the liberty to improve the sed regex in the Makefile's update_install_url to better handle semver.

Somewhat unrelated, but I'm not sure what the
rm -rf ${BUNDLE_NAME}

and
cp -r ${INSTALL_PATH} ${BUNDLE_NAME}

lines in the Makefile's build rule are supposed to do. Could you clarify that for me, please? Are those just for backup purpose?

Somewhat unrelated, but I'm not sure what the
rm -rf ${BUNDLE_NAME}
and
cp -r ${INSTALL_PATH} ${BUNDLE_NAME}
lines in the Makefile's build rule are supposed to do. Could you clarify that for me, please? Are those just for backup purpose?

This is mostly a workaround for not specifying a ton of xcodebuild flags and telling it to build locally.
Basically, when you build a plugin, the binary goes to ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin, which is $INSTALL_PATH.
We need to take that binary, compress it and upload to Github releases.
So these lines are a hack for having Alcatraz.xcplugin locally in your folder each time you build.
The right approach to this would be to specify something like xcodebuild ... CONFIGURATION_BUILD_DIR=$PWD) build.
Given we're planning to stop building locally, I don't think we should be spending time in improving this build system :)

Thanks for the contribution @guillaume-algis!


Why is the release file so large?

The release current weighs in at 251k. The reason that the file is so very large is that it is bundling jQuery and the Vue runtime as a convenience to speed adoption.
If desired the dependency on jQuery could be removed, and Vue's runtime could be moved to either a CDN or a separate file.

Maybe a release should include a "dashboard build"

jQuery could be removed by just using https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector; or use the Dashboard's jQuery; but plain old JavaScript is probably good enough
Boostrap could also be omitted, since that is included in the Dashboard already

I'll look at using the querySelector to replace jQuery.
I had originally tried to use the Dashboard provided version by declaring jQuery as a dependency external to the bundle, but the application failed to work without any errors that I could see. Likewise I was having problems getting the Bootstrap modal to work without an explicit Bootstrap include.

I have a prototype that replaces jQuery as a direct dependency, but it's a bit of a waste because it complicates the code and Bootstrap requires jQuery for modals to work and we do not appear to be shipping the modal module. However if I specifically include only the modal module the bundle size drops significantly.

Improved in v0.1.0. It is possible to stop using Bootstrap's JS for creating the modal and switch to a Vue-only modal. That would likely result in a smaller bundle, and may be pursued in future versions.


Rebuilding planck.js used by testbed

I am porting the Top-down car demo and computing a projection of one vector on another one is quite a common operation there. Hence I implemented a projectOn method for the Vec2 class and the issue is that I am unable to run a testbed so that it picks up the new version of the Vec2 class.
While I am able to rebuild dist/planck.js using gulp so that it includes the new method it is still not picked up by the testbed. Naturally, I am wondering what goes wrong.
I am new to js so I apologize if the issue is trivial.

Testbed does not use dist/planck.js, it serves and uses a live build. You could check in the browser to see if it is added.
By the way, isn't it possible to use dot function for projection?

I even see this new method in Developer Tools sources of Vec2 in Chromium. Regardless of this it is undefined on Vec2 objects spit out by the library. I am a complete JS newbie, so maybe my comprehension of what is going on is a bit off.
I meant projection as a vector, i.e.
project = function(v, w) {
    Vec2.assert(v);
    Vec2.assert(w);
    return w.mul(Vec2.dot(v, w));
  }

IMO v.projectOn(w) reads better as the geometric meaning is immediately clear.

Can you please include the exact code that you are adding?
You could either do Vec2.projectOn = function(v, w){...} or Vec2.prootype.projectOn = function(w){...} which are a little different. (I recommend studying prototypes in JS if you are new to this topic.)

It is the exact code except for the name. The issue was that I did not understand the different ways of defining methods in JS. As I see it now

Vec2.projectOn = function(v, w){...} defines a static method which can only be invoked via Vec2.projectOn(x,y) but not x.projectOn(y).
Vec2.prototype.projectOn = function(other){...} defines a method for all instances that can be invoked via x.projectOn(y) (and Vec2.prototype.projectOn(x, y) but in this case x will be an Object and not a Vec2)
One can also define an instance method directly in an object constructor. Unlike the prototype version the implementation code object will not be shared across instances. The benefit is that one can use constructor parameters explicitly which is clearly not possible with prototype methods (one needs pass everything via this).

Many thanks, you pointed me in the right direction. I will read a bit on JS type system as it is a bit different from what I am used to (Python, C++).


expose creation APIRequestInfoResolver

No one outside of the apiserver package can create or inspect the APIRequestInfoResolver.  OpenShift would like to do both: "create my own APIRequestInfoResolver", "what APIPrefixes are being used", "what resources are recognized", etc.
@smarterclayton pretty small, but needed for unification.

lawyer bot is fast!

I'm increasingly disatisfied with apirequestinforesolver.  Let me look at this but I may ask you to start mitigating that concern.

On Feb 16, 2015, at 1:57 PM, David Eads<EMAIL_ADDRESS>wrote:
No one outside of the apiserver package can create or inspect the APIRequestInfoResolver. OpenShift would like to do both: "create my own APIRequestInfoResolver", "what APIPrefixes are being used", "what resources are recognized", etc.
@smarterclayton pretty small, but needed for unification.
You can view, comment on, or merge this pull request online at:
https://github.com/GoogleCloudPlatform/kubernetes/pull/4461
Commit Summary
expose creation APIRequestInfoResolver
File Changes
M pkg/apiserver/handlers.go (8)
Patch Links:
https://github.com/GoogleCloudPlatform/kubernetes/pull/4461.patch
https://github.com/GoogleCloudPlatform/kubernetes/pull/4461.diff
—
Reply to this email directly or view it on GitHub.

I guess this is fine as is.  LGTM


webpack fails with 2.4.0 and html-webpack-plugin not installed

▶ yarn webpack --mode production
yarn run v1.12.3
$ /Users/lopopolo/dev/repos/hyperbola/node_modules/.bin/webpack --mode production
Error: Cannot find module 'html-webpack-plugin'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
    at Function.Module._load (internal/modules/cjs/loader.js:529:25)
    at Module.require (internal/modules/cjs/loader.js:657:17)
    at require (/Users/lopopolo/dev/repos/hyperbola/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at module.exports.tapHtml (/Users/lopopolo/dev/repos/hyperbola/node_modules/webapp-webpack-plugin/src/compat.js:18:29)
    at child.run.then.tags (/Users/lopopolo/dev/repos/hyperbola/node_modules/webapp-webpack-plugin/src/index.js:46:13)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Setting inject: false in webpack.config.js works around the failure. If html-webpack-plugin is a required peer dependency, can package.json flag it as such?

Thanks for reporting, html-webpack-plugin is not a required peer dependency, this is a bug that needs to be fixed - the expected behavior is to automatically fallback to inject: false if the module isn't installed.


Update 'getting started' guide to use miso 0.7 instead of <IP_ADDRESS>

I think it is appropriate to update the version of Miso that is used in the getting started guide.
The current version number is both very low (as of today we have version 0.7), and overly specific (which would not be required, assuming that Miso follows Semantic Versioning)

Miso should follow PVP.
In order to not get lost in "update hell" on each release (and to remove needless commits). It might be best to document how to use nix-prefetch-git, or fetchFromGitHub
λ nixos  nix-prefetch-git https://github.com/dmjio/miso
Initialized empty Git repository in /tmp/git-checkout-tmp-NHyEtQBf/miso/.git/
remote: Counting objects: 151, done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 151 (delta 22), reused 88 (delta 11), pack-reused 0
Receiving objects: 100% (151/151), 122.97 KiB | 0 bytes/s, done.
Resolving deltas: 100% (22/22), done.
From https://github.com/dmjio/miso
 * branch            HEAD       -> FETCH_HEAD
Switched to a new branch 'fetchgit'
removing `.git'...

git revision is c4e22369551ad6fc6dc567b984cb0c5f68e469a3
path is /nix/store/89a4dm9jbhjpzf4lqv7lbs9cf07ldvc1-miso
git human-readable version is -- none --
Commit date is 2017-08-11 15:50:53 +0000
hash is 0ylsml2v5fq7z51cvq88yq1h3f4px87n3jfgil8d6xjn11r21sfr
{
  "url": "https://github.com/dmjio/miso",
  "rev": "c4e22369551ad6fc6dc567b984cb0c5f68e469a3",
  "date": "2017-08-11T15:50:53+00:00",
  "sha256": "0ylsml2v5fq7z51cvq88yq1h3f4px87n3jfgil8d6xjn11r21sfr",
  "fetchSubmodules": true
}

Thank you for pointing me to PVP :-).
What exactly would nix-prefetch-git/fetchFromGitHub do for us?

Maybe it’s better to explain cabal2nix in the readme. Then this would boil down to cabal2nix cabal://miso-<IP_ADDRESS> which is easy to update both for us and for users if we ever forget to do so.

The Nix section in README already mentions cabal2nix however it needs to describe how to use a specific (i.e., latest) version of Miso. As I understand it, you can run the above nix-prefetch-git command to use the master branch and substitute the resulting rev and sha256 values to use the latest Miso. But perhaps someone else other than me might be able to document a simpler workflow.

My point is that it shouldn’t describe how to get the master branch but how to get the latest released version.

Miso should follow PVP.

@Qqwy sorry if that sounded aggressive 😆


Fixed the Dv name in addVarGroup

Purpose

Expected time until merged

Type of change

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (non-backwards-compatible fix or feature)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Documentation update
[ ] Maintenance update
[ ] Other (please describe)

Testing

Checklist

[x] I have run flake8 and black to make sure the Python code adheres to PEP-8 and is consistently formatted
[ ] I have formatted the Fortran code with fprettify or C/C++ code with clang-format as applicable
[ ] I have run unit and regression tests which pass locally with my changes
[ ] I have added new tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation

Can you provide more context here. Was the code broken before? What is wrong with using dv.name?

For openvsp, since we don't pass the DV name in vspDV class, we set the name of DV as None.
Is there a reason we couldn't add names to VSP DVs to keep a more consistent API across the different DVGeo types and DV types? The name is already present in as the key in self.DVs, right?

I changed it to the default case. Now the DV name is passed to the vspDV class.

@ArshSaja can you update the PR name and purpose to be consistent with the content

I updated the PR details. @eirikurj


Distributed documentation + doctest

Please, never ever start your work on a branch that contains WIP commits!
I have rebased your work and pushed into master.


Add FlipClock in Weebly

Closed issue

I'm trying to delete this post. If anyone can, please do. Thx


v0.24 and v0.25 cannot be loaded in Electron on Ubuntu 18.04

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
Yes. Although, it affects the 2 latest versions, v0.24.x and v0.25.x.
What are the steps to reproduce?
Use v0.24 or v0.25 in Electron 7 or 8. Yes, I did use electron-rebuild to make sure it is using the correct binary.
What is the expected behaviour?
Sharp can be used successfully, the same way that v0.23 could be used.
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
Extract, then run:
npm install
./node_modules/.bin/electron-rebuild
npx electron main.js

repro.tar.gz
Running npm install<EMAIL_ADDRESS>shows that version working, but npm install<EMAIL_ADDRESS>or npm install<EMAIL_ADDRESS>does not work and produces the error in the image below.
Under Windows or MacOS, 0.24 and 0.25 work correctly.
Are you able to provide a sample image that helps explain the problem?
This is the error I get when requiring the module from the renderer:

And here it is required from the main thread (same error, but I am including it just in case it is interesting somehow):

What is the output of running npx envinfo --binaries --system?

Hi, did you see #2058?

Sorry, that is my mistake. I tried looking for an existing issue, but it looks like I failed. I will follow up on the existing one instead. Thanks!


Can't seem to make action work on windows

My workflow is:
  winmvsc:
    name: MSVC
    runs-on: windows-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
        with:
          submodules: 'recursive'

      - name: Install Qt
        uses: jurplel/install-qt-action@v3

It fails in the following way at this action's step (https://github.com/ossia/score/runs/7599290150?check_suite_focus=true)
Run jurplel/install-qt-action@v3
Run actions/setup-python@v4
  with:
    python-version: 3.6.x - 3.11.x
    token: ***
    update-environment: true

Successfully set up CPython (3.10.5)
Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under 'D:\a\score\score\action'. Did you forget to run actions/checkout before running your local action?

This line doesn't work due to https://github.com/actions/runner/issues/1348.
https://github.com/jurplel/install-qt-action/blob/eb012702bacb4ca52222ec4b11f21cb6a2fc2729/action.yml#L63
Hard-coding repository name and revision like jurplel/install-qt-action/action@v3 should work, but it doesn't sound good.
There are one more issue in v3 branch: node_modules isn't updated properly in the new build. @jurplel

This broke yesterday: https://github.com/danmar/cppcheck/runs/7598647802. It was still working fine the day before: https://github.com/danmar/cppcheck/runs/7592054209.
We have aqtversion fixated to ==2.0.6 since we are also using Qt 6 but removing that seems to have no effect.
It also seems that the configuration for caching it was changed within the same version:
Warning: Unexpected input(s) 'cached', valid inputs are ['dir', 'version', 'host', 'target', 'arch', 'install-deps', 'modules', 'archives', 'cache', 'cache-key-prefix', 'setup-python', 'tools', 'set-env', 'tools-only', 'aqtversion', 'py7zrversion', 'extra']

This is super bad since it will break existing usage and should have required a version bump to v4 since it is essentially an API change.

I never considered v3 released and i didn’t know it was in use to this
extent. I will fix this asap.
On Mon, Aug 1, 2022 at 00:49 Oliver Stöneberg @.***>
wrote:

This broke yesterday: https://github.com/danmar/cppcheck/runs/7598647802.
It was still working fine the day before:
https://github.com/danmar/cppcheck/runs/7592054209.
We have aqtversion fixated to ==2.0.6 since we are also using Qt 6 but
removing that seems to have no effect.
It also seems that the configuration for caching it was changed within the
same version:
Warning: Unexpected input(s) 'cached', valid inputs are ['dir', 'version', 'host', 'target', 'arch', 'install-deps', 'modules', 'archives', 'cache', 'cache-key-prefix', 'setup-python', 'tools', 'set-env', 'tools-only', 'aqtversion', 'py7zrversion', 'extra']
This is super bad since it will break existing usage and should have
required a version bump to v4 since it is essentially an API change.
—
Reply to this email directly, view it on GitHub
https://github.com/jurplel/install-qt-action/issues/153#issuecomment-1200841368,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRYMFVPHNCVSHCLQQGT7EDVW56RDANCNFSM55FC2LAQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I never considered v3 released and i didn’t know it was in use to this extent. I will fix this asap.

I wasn't aware v3 was not released yet. Thanks for looking into it.
I think the "problem" was that although the documentation stated v2 at the top, the cache example did use v3...
Maybe you could issue a warning in future dev versions. That will show a notification in the actions overview. Or use a different branch. Or both. :-)
BTW Thanks for making the caching easier.

thanks ! for reference I just copied the code at the top of the README which has
- name: Install Qt
  uses: jurplel/install-qt-action@v3

I thought V3 was released as of #119, and this definitely broke our pipelines as well across all OS installs.

https://github.com/jurplel/install-qt-action/issues/159

Is there any value in keeping the old cache option besides maintaining compatibility?

This line doesn't work due to actions/runner#1348.
https://github.com/jurplel/install-qt-action/blob/eb012702bacb4ca52222ec4b11f21cb6a2fc2729/action.yml#L63
Hard-coding repository name and revision like jurplel/install-qt-action/action@v3 should work, but it doesn't sound good.
There are one more issue in v3 branch: node_modules isn't updated properly in the new build. @jurplel

I think this should be resolved now, please report back :)

Closing due to inactivity and releasing v3.

thanks! just tested and I'm getting a failure a bit further in the action step: https://github.com/ossia/score/runs/7914486202?check_suite_focus=true if you have any idea ?

thanks! just tested and I'm getting a failure a bit further in the action step: ossia/score/runs/7914486202?check_suite_focus=true if you have any idea ?
Here's my workflow : https://github.com/ossia/score/blob/master/.github/workflows/win-builds.yaml#L109

Try using 6.3.* with a globe for the version and you should be good to go. Only defining MAYOR.MINOR does not work as reported in https://github.com/jurplel/install-qt-action/issues/98#issuecomment-1209070596.


Integration with run-once services like AWS Lambda?

JsJob computation style is oriented around small to medium "jobs", quite similar to that of AWS Lambda.
Such services have the advantage that they are super elastic:

billed by the second/millisecond
built-in horizontal scaling
very fast startup/teardown times

Integration could for instance be having a plug-and-play image that can run a headless browser (like PhantomJS) and execute JsJobs in same manner as self-hosting or standard cloud-hosting. This should be 100% compatible and transparent to the JsJob.
Disadvantage is that browser startup may be significant, depending on typical size of job. Would need metrics for measuring how long it takes to judge the impact.

@jonnor however, some jobs will probably expect a browser context. We should somehow "flag" them

Everything in JsJob is browser now, and this would (at least on its own) not change that.


fix(jest-types): make ConfigGlobal an interace

As discussed here.
Summary
Makes ConfigGlobal an interface to allow for declaration merging:
// ts-jest/index.d.ts
declare module '@jest/types' {
  namespace Config {
    interface ConfigGlobals {
      'ts-jest': TsJestGlobalOptions;
    }
  }
}

// jest.config.js
/** @type {import('@jest/types').Config.InitialOptions} */
const config= {
  globals: {
    'ts-jest': {
      isolatedModules: true,
      myProperty: 1 // error, "myProperty" is not defined!
    }
  }
}

module.exports = config;

Test plan
None 😬

Codecov Report

Merging #9570 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #9570      +/-   ##
==========================================
- Coverage   65.09%   65.09%   -0.01%
==========================================
  Files         287      287
  Lines       12145    12144       -1
  Branches     3007     3009       +2
==========================================
- Hits         7906     7905       -1
  Misses       3604     3604
  Partials      635      635

Impacted Files
Coverage Δ

packages/jest-config/src/normalize.ts
76.66% <100%> (-0.07%)
:arrow_down:

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 4f4513b...75407fe.


Grapher: fonts are really tiny

Running Ubuntu on a retina macbook pro - just this OS on the laptop, not virtualized. Fonts in Grapher are very tiny, unreadable.

If you add a custom kwargs of:
template = presentation
Does that help? either way you should attach a screenshot.

Here's a screenshot...
Adding template=presentation does help! Thank you.
Is there a way to specify a global font size for plotly?

At 27" it wouldn't be too bad, but on a laptop :(
can you attach your display settings? Depending on your window manager, you can set a scale for menus and title bars. if this is set to anything but 1, you will have a mismatch between what is rendered in plotly and the user interface / window manager.
If you are using the scale option, I would reset to 1 and change DPI instead.

Also, ATM, there is no way to set a global font size. I just added textfont_size for text labels on line / bar plots in a current PR, but that doesn't address title, legend, axis, annotations etc.
Basically, the only way to do it right now is through template. presentation makes everything large (if not, we need to find out what is wrong with your config) and would be the correct way to do it. Plus you can specify template = some theme + presentation (ie. seaborn+presentation, plotly+presentation)

Please check if you have the same problem when directly creating a graph with Plotly Express and viewing it in a browser or Jupyter, to rule out any specific interactions with PandasGUI

Here are my display settings - two displays, my macbook pro 13 retina and a 28" Acer (my macbook only has Ubuntu installed, not running as a VM):

And here is what I see in pandasgui on the 28" (which is a 4k monitor (same on the 13"):

And here is a plot in Dash which shows reasonable fonts:

Also, ATM, there is no way to set a global font size. I just added textfont_size for text labels on line / bar plots in a current PR, but that doesn't address title, legend, axis, annotations etc.
Basically, the only way to do it right now is through template. presentation makes everything large (if not, we need to find out what is wrong with your config) and would be the correct way to do it. Plus you can specify template = some theme + presentation (ie. seaborn+presentation, plotly+presentation)

Is it possible to pass a template argument to pdg.show()?

At 27" it wouldn't be too bad, but on a laptop :(
can you attach your display settings? Depending on your window manager, you can set a scale for menus and title bars. if this is set to anything but 1, you will have a mismatch between what is rendered in plotly and the user interface / window manager.
If you are using the scale option, I would reset to 1 and change DPI instead.

Just tried this - changed my laptop display to 100% (rather than 125%) - and this fixed the problem. Even on my 28" display which was already set at 100%. Go figure. Dash did not have an issue here though.

Interesting that Dash doesn't have the problem... might be specific to Plotly Express? Try this snippet and let me know which of the 3 methods has the problem.
from pandasgui import show
from pandasgui.datasets import pokemon
from pandasgui.widgets.plotly_viewer import PlotlyViewer
import plotly.express as px

# This should appear in web browser
fig1 = px.scatter(data_frame=pokemon, x='Attack', y='Defense')
fig1.show(renderer='browser')

# This should appear in standalone PyQt window
fig2 = px.scatter(data_frame=pokemon, x='Attack', y='Defense')
pv = PlotlyViewer(fig2)
pv.show()

# This should appear in PandasGUI in the Grapher tab
fig3 = px.scatter(data_frame=pokemon, x='Attack', y='Defense')
gui = show(pokemon)
gui.store.selected_pgdf.dataframe_explorer.grapher.figure_viewer.set_figure(fig3)

I am getting the error:
QWidget: Must construct a QApplication before a QWidget
Aborted (core dumped)

The middle case using PlotlyViewer gives me an error:

Try this snippet. Also go and open the .html file in your browser, the one at the path printed by this snippet.
from PyQt5 import QtWidgets
from pandasgui.datasets import pokemon
from pandasgui.widgets.plotly_viewer import PlotlyViewer
import plotly.express as px

fig = px.scatter(data_frame=pokemon, x='Attack', y='Defense')
app = QtWidgets.QApplication([])
pv = PlotlyViewer(fig)
pv.show()

print(pv.temp_file.name)

app.exec_()

In this case the PlotlyViewer window has tiny font whereas the html does not:

It looks like it's not specifically the font but the overall scaling/zoom because the graph points are also smaller. The Plotly Viewer window does support zooming in with Ctrl+MouseWheelUp which I think would probably fix your problem but a hassle to zoom in every time you plot something. Not sure why the default zoom level is wrong for you, thought some of my custom CSS overrides might be the culprit but since the same HTML file looks fine in browser it seems like a unique interaction between your OS, resolution settings and PyQt5.QtWebEngineWidgets.QWebEngineView. I use 125% scaling on Windows 10 and don't have this. I doubt I can fix it by changing my code, and you're probably the only person that will ever run PandasGUI on a Macbook retina display running Ubuntu haha, so closing this. Can reopen if anyone else has the same issue or figures out a fix.

Just FYI, to get bac to the original resolution I like on the macbook monitor, I added a custom resolution in Ubuntu (so I don't have to use 125% scaling) and it works great and clears the pandasgui scaling issue.
All necessary info is here in case someone else needs to do this:
https://ubuntuhandbook.org/index.php/2017/04/custom-screen-resolution-ubuntu-desktop/


Perfect Number in c++ and javascript

Assigned Issue ?
#151 #157
Language Opted ?
C++ , JS and php
Number of files added or updated ?
4
Name of these files ?
Perfect_Number=>perfectnumber.js
Perfect_Number=>perfectnumber.cpp
+2  more
Checklist

[x] I've read the contribution guidelines.
[x] I've referred the correct issue number.
[x] I've fill up this entire template correctly.

thank you @ahampriyanshu  ,Also please update the issue with which languages are done.
Thanks once again

Most Welcome 😁
Sure.


⚠ Bofrost.be has degraded performance

In 15a884d, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1525 ms

Resolved: Bofrost.be performance has improved in 6ee8764 after 53 minutes.


Parse metadata from app repository for non-registered apps.

Enables the local installation of non-registered apps.
Local metadata used as fallback in cases where the registry cannot be
reached.
Adds the 'parse-app-repo' aiidalab command that shows what metadata
and environment specification is parsed from a repository.

* When I try to parse metadata from the _registered_ app that doesn't have the `setup.cfg` file - I get an error. Is it intentional? I think the info can still be extracted from the registry?

@yakutovicha Are you using the parse-app-repo command? That will not use the registry at all. For an installed app, the matadata should be parsed from the registry regardless of whether the setup.cfg file is present or not.

The empty folder is no longer ok. I got an error from the home app.

This should be fixed now.

I might need to look at the code a couple more times, as it is quite a big chunk of work and I am not sure I understood everything. But, anyway, thanks for the great work!

Let me know if you want to schedule a session to walk through it together.

Here are the points to address I would like to propose after the meeting with @csadorf:

Currently we use the releases attribute to understand whether the app is registered. I think it would be nicer to have the is_registered attribute. It is more clear for the developers.
The error message when doing something like aiidalab install https://my/wodnerful/app/master.tar.gz should be improved.
Add support for installation from ZIP archive. Currently .tar.gz are supported (e.g. aiidalab install my-app@https://my/wodnerful/app/master.tar.gz.
Add a new "not registered" state. This one should probably go to the home app?

Thanks a lot, @csadorf. The latest changes look good to me.
I didn't test them, however. Let me know if you want me to do that.
Otherwise, we can merge it and test it all together on a development server.

@yakutovicha I am still working on the "non-registered" state. I will let you know should this balloon too much.

@yakutovicha I recommend merging this and I will address the "Add a new "not registered" state. This one should probably go to the home app?" item in a separate PR.


ServerURL has to start with www

Context
See issue #2197 for context.
Apparently, we force that serverUrl has to start with www, so the users can't set an IP address, for example.

[ ] Check if this is happening.
[ ] If it's true, fix the RegEx to allow IP addresses as well.

the problem is our urls require an username, for example
https://ivanmalagon.carto.com is valid
how do we manage this with ip adresses?

ServerURL has to start with www

This is not true. For example https://USER.carto.com is a perfectly valid user without www.
There is an issue with the docs because

Do we want to allow URL addresses using {user} like https://{user}.carto.com?
The docs should be fixed
In order to use an IP address, the common way is to set up the /etc/hosts file with a name for the API (or the equivalent for other OS)

Closed by https://github.com/CartoDB/carto.js/pull/2203
In production! :rocket:


pending spotlight zinc repression

A new TF binding site (Loz1 response element)  for zinc repression.
PMID:31515876

I've scaled the image and added it to git.

This paper should go live tomorrow  so this spotlight can be made live.

The Spotlight is live but it looks like the curation session didn't make it into last night's load.

I see the paper?
https://www.pombase.org/reference/PMID:31515876

I see the paper?

I must have been looking at the wrong page.


fix: integrated with pl's device.use_grouping to fix a bug with qaoa …

…ing multiple observables
Issue #, if available:
Description of changes:
Integrated with PennyLane's device.use_grouping property to disable grouping when Braket computes the gradient using AdjointGradient. Grouping needs to be disabled in that case because the output of it is multiple observables, and Braket doesn't support computing gradients with multiple observables. See this pr that added the use_grouping property to PennyLane.
Testing done:
Added unit tests for the new method.
Added an integration test with the QAOA steps from that qchem module that were failing originally.
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING
[x] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Does grouping still happen even if optimize isn't set to True in the qnode? I thought grouping had to be requested.

Does grouping still happen even if optimize isn't set to True in the qnode? I thought grouping had to be requested.

Yes, PennyLane's QAOA module enables grouping, and we can't disable it without without use_grouping. This caused some errors in our qaoa notebook as it was originally written

@speller26 this was a performance 'hotfix' we made documented here: https://github.com/PennyLaneAI/pennylane/pull/1718. The better longer term fix is to allow devices to have more of a say of when/where grouping is used


Linking bootrap from website

Techne website is linking bootstrap and with the wrong path
http://sap.github.io/techne/www/components/cards.html
Error

This is my doing... i'll fix it.

PR created here - https://github.com/SAP/techne/pull/817


UserName was validated instead of password in UserService

Thanks!
Sent from my iPhone

On 25 Mar 2017, at 00:10, Lukas Kabrt<EMAIL_ADDRESS>wrote:
You can view, comment on, or merge this pull request online at:
https://github.com/OrchardCMS/Orchard2/pull/637
Commit Summary
UserName was validated instead of password in UserService
File Changes
M src/Orchard.Cms.Web/Modules/Orchard.Users/Services/UserService.cs (2)
Patch Links:
https://github.com/OrchardCMS/Orchard2/pull/637.patch
https://github.com/OrchardCMS/Orchard2/pull/637.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


How to test new changes

Hi, well done here. I forked this project but I can not see the example project so that I can test the new changes that I am making.

Hi thank you very much for the contribution.
I have not written yet any test, but that's in program. There is no example project, but just a code snippet in the readme.
Asap I'll fix this things, I'm really sorry

How were you able to grab the screenshots. If you don't mind, I can fix it and give you a pull request.

For the screenshots it was just a center with the widget as a child

I have added an example project for testing the plugin, I will give you a pull request soon.


Pingo Part Servo

I have coded the technic on #53 as a pingo.part
I tested on RaspberryPi. It work, no need for a 5V signal, the 3.3 signal will do.
Although, the servo must be feed with a 5V source.
Two different 9g Analog servos were tested.
The Turnigy's servo worked with the default values.
The generic servo worked after some calibration on Servo._botton_end  and Servo._top_end

I tested with a RaspberryPi (the old version).
Because it's PWM's frequency can be set via Pingo.

Excellent, @Vido! Thanks for this contribution!


exit with non zero on error

This is to correctly handle go generate calls in build pipelines.

Codecov Report

Merging #21 (f1b20bd) into main (d876238) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   93.83%   93.83%
=======================================
  Files          22       22
  Lines        1087     1087
=======================================
  Hits         1020     1020
  Misses         51       51
  Partials       16       16

Impacted Files
Coverage Δ

cmd/goverter/main.go
0.00% <0.00%> (ø)

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 d876238...f1b20bd. Read the comment docs.