Behavior on Shortcut Key Change

I am on version 0.0.17 on Mac and I noticed 2 things:

The shortcut (shift-command-g) does not close smolbar anymore (it used to be able to this). Now, I have to click the icon to close it.
I tried to click "Change Quick Open Shortcut" and the smolbar application just closes.

thank you! going thru a bit of instability right now as we undergo a rewrite but will attend to this

Hey @kolinkorr839, can you confirm you're still having this issue with the latest build? I believe we resolved this in #170 but don't want to close prematurely.

@seanoliver Don't know this is relevant or not. I am testing on windows computer. I am unable to switch/maximize particular window using Ctrl+Num shortcut. Do we have list of keyboard shortcuts to be tested on windows? Please share if its available. I will test and keep you posted.
Let me know if I need to open new issue.

I also experienced problem while logging on chatGPT.

But after couple of restart application it started working.

@jagad89 i've made a new label for windows issues: https://github.com/smol-ai/GodMode/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3AWindows would appreciate any help testing!


author: Robin Payot | url: robinpayot.com

data: dev-rakeshshaw
Portfolio Author

Robin Payot
Github: Robpayot
Portfolio Link?

http://www.robinpayot.com/
GitHub Link:

None
Tech Stack

HTML5, CSS, JavaScript, GSAP, Howler.js, Hammer.js, three.js, WebGL, PWA, Open Graph, Apache

LGTM 👍

Thanks Brother.


is there a guild to upgrade Entitas within unity3d

the examples are all with old version, if i want to replace with new version,how can i replace please?

Can you please specify which version do you have?
Usually there are upgrade guides in Release notes https://github.com/sschmid/Entitas-CSharp/blob/master/RELEASE_NOTES.md (you can click links to get more specific info)


Dark mode in Ghidra on Kali 2021.1 is set by swing look and feel [GTK+] have some bugs ?

Hello and Thanks for great Software
im using Ghidra in Kali , founded that Dark mode can be enabled by set swing look and feel GTK+.
(is any way to set Dark mode in Windows too ?)
but having some problem:

Import files ,open project (browser to open files) where to select files is white and files is white to so i cant see files !
Listing and Decomiler display is not changed to dark mode after changed to GTK+

will be this problem fixed in future? or maybe there is some fix or i can fix it somehow?
many peaple like to work in dark mode...
Thanks

Related to #13
The Inverted Colors mode is a prototype feature and is not actively being supported.

many peaple like to work in dark mode...

Dark Mode is is one of the most requested features.   There is currently community support for accomplishing this task.   See #13 for some examples.

Related to #13
The Inverted Colors mode is a prototype feature and is not actively being supported.

many peaple like to work in dark mode...

Dark Mode is is one of the most requested features. There is currently community support for accomplishing this task. See #13 for some examples.

i didnt used inverted color ,only GTK+ that gives me Dark Mode ...

I see.  I misunderstood.    The changes required to fix the issues you are seeing would be related to the changes required to solve #13 as well.    We have no plans to fix this currently.


fix(pagination): set pageCount minimal value is 1

this PR to fix Pagination component abnormal behaviours when total is 0:

PaginationList items is [] when total is 0
PaginationNext is clickable when total is 0

Demo

Nice catch and PR @preflower !!!
Can you help add a simple test for the case above? 😁


⚠ Adacta-fintech.com has degraded performance

In 97c77d1, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 2094 ms

Resolved: Adacta-fintech.com performance has improved in c05310d after 8 minutes.


Open Call: Let’s pick a colour pallet for Valkey!

Why is this important?
The colour pallet is the basis of what will make Valkey instantly identifiable.
You may have not thought about it, but you can immediately identify when a project is using the correct or incorrect colours for example: the blue used by Kubernetes, the yellow/blue of Python or Hadoop, the specific tone of red used by FreeBSD.
Initially, Valkey used the colours borrowed from the Linux Foundation pallet, but this was only for convenience and immediacy. Now it’s time to make something more unique to Valkey!
How the pallet will be used:
The pallet will be used on anything “branded” Valkey.

Website
Slide decks
Give away items (tee shirts, stickers, etc.)
Conference presence (booth and signage)

Additionally, the pallet will be part of a comprehensive brand document that will be produced at a later point.
What’s needed?
Core colours: The colour in which the logo/logomark is rendered in and on. Generally, these colours should be invertible. Pick 2-4 colours for the core.
Accent Colours: These are the colours which stuff around the logo use. For example, the colour of text, backgrounds, links, diagrams, and extra stuff that isn’t the logo. Pick 2-4 colours.
Both the core and accent colours should coordinate.
What are the constraints?

Be unique. Avoid colours that are too similar to projects or products in the same general area as Valkey (and specifically avoid the tones similar to #ff4438, #dc382c, #a32422)
Be accessible. Contrast is a big deal, especially with text: too little contrast and the materials can be impossible to use by many people. Check the colour combinations with the WebAIM contrast checker.
Dark mode friendly. Many developers prefer dark mode so an overall pallet that looks good in both light-on-dark and dark-on-light is important. This is also helpful when designing things like swag.
Keep it flat colours for now. Gradients, opacity, and textures look awesome but only work in some contexts (i.e. hard to print on a tee-shirt). Keep the to the basics for now and the project can later build everything else off the flat colours.

How should it be presented?
Provide the colours in hex format and show how they work together in a comment on this issue. You can use the Valkey logo SVG for illustration. Here is a sample:

You don’t need to follow this format, but note how the colours are arranged and show how they combine and that the core and accent colours are clearly marked.
What about other parts of the overall brand like fonts/web design/tee shirts/etc?
In due time, but please keep this only to colours for now. Too many attributes at once overwhelm and confuse decision making. It would be best to keep this focused on colours only as a building block towards a unified Valkey brand. Please do not submit mockups at this time.
How will these be selected? How long do I have?
If you like a pallet, thumb up the comment that contains the pallets. You can thumb up as many as you’d like. At the end of 2 weeks (closes May 9 23:59 Pacific Time), I’ll take the top 3 pallets with the most thumbs up to the TSC for final selection. Thumbs down or other reactions will be disregarded.
Is Valkey stuck with these colours forever?
No, of course not! Chiseling things in stone isn’t productive. However, from a branding perspective once Valkey becomes identifiable with these colours, it’s best to stick with them for a while.
Will Valkey use these colours exactly?
Sometimes colour pallets look good in isolation but as you start using them you discover weaknesses that make them challenging or impossible in real-use scenarios. So, due to practical concerns, the pallet is best understood as a starting point; the assets built with the colours may introduce new requirements or constraints that require modification, subtractions, or additions to the pallet.
Any resources to get started?
There are a lot of colour pallet generators available on the web that use different techniques to get you started. Here are a few ones I’ve used in the past:

Canva’s color palette generator
Adobe Color tools
Figma Color wheel

IANAD, but I'd be fine with a website without CSS. Respect the user settings.

could you give SVG used to create GitHub org profile picture ?

thanks I'll try to propose something

Hey @AugustinMauroy, just tried to open the proposal and it seems to be locked down. Could you open it so others can view?

@dtaivpp now it's should be good idk why not it's not allow to view for everyone by default

I'll post some ideas for the sake of choice, all the font/other stuff is super safe to ignore.

I kind of what @kris-ms's submission to be our "fall theme".

@madolson I'd be stoked to see it as a fall theme, that would be awesome.
Here's an alternative idea:

Looks like we're going with @kris-ms's second idea for our base colour pallet.
Congrats!

Wow team, thanks for this! I'm over the moon right now! I can't wait to see how everything progresses from here.
Made my month!


HTTPClient and keep alive

I'm using vibe.d's requestHTTP method to do stuff with an elasticsearch server. By default, vibe.d sends an HTTP 1.1 request with Connection: keep-alive header. The elasticsearch server returns a response:
HTTP client response:
---------------------
HTTP/1.1 201
Content-Type: application/json; charset=UTF-8
Content-Length: 98

Because the response does not contain a keep alive header with a timeout value, HTTPClient assumes that the connection will be closed by the server.
m_keepAliveLimit is not set
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/http/client.d#L531-L543
so disconnect is called before transmission of the next request
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/http/client.d#L302-L304
However, elasticsearch thinks that the connection is persistent, so it leaves the connection open for a while (the timeout is around 1-2 minutes). This is not a big deal for one request, but when doing many requests per second, I run out of ephemeral ports. My system settings allow up to 28,000 ephemeral ports. I turn on my program that talks to elasticsearch through vibe.d and those 28,000 ports are used up in less than a minute and then I get errors because I can't bind to any more ports.
A single line of netstat output looks like (elasticsearch is on port 9200): tcp        0      0 <IP_ADDRESS>:38836         <IP_ADDRESS>:9200          TIME_WAIT   as you can see elasticsearch is keeping the other end of the socket open until it times out. If I run my program I quickly see 28,000 of lines like that, and then run out of ephemeral ports.
You can test this yourself with the following test program.
https://gist.github.com/gittywithexcitement/8141734  and run elasticsearch or write your own server that doesn't include the keep alive header.
Before and after running the gist, execute:
netstat -an | grep -e tcp wc -l  which will count the number of TCP connections. Notice how the count goes up by 1000 (the gist's loop variable). My local port range is 28,644 ports (cat /proc/sys/net/ipv4/ip_local_port_range) So if I set the loop variable to 30,000 the program fails with
std.exception.ErrnoException@../vibe.d/source/vibe/core/drivers/libevent2.d(249): Failed to bind socket.  (Address already in use)
Based on my reading of http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec<IP_ADDRESS> it seems to me that HTTPClient should assume the connection will stay open when an HTTP 1.1 response is received and there is no  connection-token close.
OS: linux Ubuntu 13.10
vibe.d version: master:e617354b655d654aa08dab93ae96517dd196d2f7
DMD64 D Compiler v2.064

lower the 2.seconds by default and make it configurable, as well as the default timeout

Fixed by #756

implement automatic request retry if sending the request header on an existing keep-alive connection has failed

Fixed in 560290a6bfc26a20e824a0c4808e32c4911b3f6c.


panic: runtime error: invalid memory address or nil pointer dereference

this happened right after I broke a block I couldn't see (in creative), I'm not sure if it is a barrier block, but it was invisible.

Sounds like a broken chest.

Could you get any more info on this? How did this block occur in the first place? Is it a recurring issue?

Could you get any more info on this? How did this block occur in the first place? Is it a recurring issue?

I downloaded a world from a pocketmine server using gophertunnel and dragonfly worlds (so it wouldn't be broken) then just used it on df

Closing this because of reasons discussed on Discord.


not its not engineering notation is all values in 10 power always be the multiple of 3

not its not engineering notation is all values in 10 power always be the multiple of 3
Originally posted by @alihassan143 in https://github.com/dart-lang/sdk/issues/47919#issuecomment-993495138

Please don't file new issues. It's enough to leave a comment on a previous filed issue.


Only fetch report history we need on reconnect + fix sign out issue

Details
This PR is a little all over the place since I cleaned a few things up as I went, but mostly addresses two major issues:

When reconnection callbacks fire we are re-downloading report history even if we have that history stored to disk. This is inefficient and also causes a network request to fire for each chat you have - which can be quite a lot of requests and really bog things down, trigger storage eviction, etc.
I also noticed we were delaying a few network requests with timers and not cleaning them up on sign out which means that we would call them needlessly. Rather than allow this to happen I created a way to prevent that from happening in the Timers namespace. We register a timer id and then just clear them all on sign out.

Other minor issues also being cleaned up here:

NetworkConnection.stopListeningForReconnect() was being called twice for no clear reason on sign out
We were also still checking to see if we are on the signin route when signing out but that route was recently removed

Fixed Issues
Fixes https://github.com/Expensify/Expensify.cash/issues/2615
Tests

Log in as USER A (easy to inspect storage and networking on web or desktop so use one of those)
Close the tab
Add several comments to a report shared with USER A as USER B (use separate session e.g. incognito tab)
In USER A browser session create a new empty tab and open Chrome Dev Tools to reveal the Network tab
Paste the sites's url and hit enter
Watch the Network tab and verify that you don't see tons of requests to Report_GetHistory and only see the one for the report with new content
Inspect the response and verify that the history array only has as many comments as were added on the previous report.
Refresh the page and wait watching the JS console for the log

[info] [Report] Local reportActions up to date. Not fetching additional actions. - {}

Log out and log back in several times and verify there are no issues doing so

QA Steps

Log in and log out repeatedly on the various platforms and verify there are no issues doing so

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@tgolen I'd like to get your review, but want to give @jasperhuangg and @Beamanator a shot at reviewing first if that's OK.
I'm open to feedback on any alternative ways to tackle these problems if we can identify some together. Thanks!

Ok so after chatting with @tgolen for a while about this I eventually landed on...
Moving the maxReportActionsSequenceNumber map into a new actions/ReportActions.js file.
The intent here is that eventually other "reportActions" related actions can be moved into that file, but it would take too long to unwind right now.
The biggest concern I have with adding this new map is that it's confusing and people should find very few reasons to use it. To encourage this, I made a helper method that is exported by ReportActions.js called dangerouslyGetReportActionsMaxSequenceNumber() and it will throw angry error logs in the console unless explicitly silenced. I think that name + the console.error should discourage people from mistaking this for a more useful function.

Updated

Updated

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging in version: 1.0.36-1🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Discover results don't show keyword after navigating away

Steps to Reproduce

Open the app and visit the discover section
Search for your favorite keyword
Observe the nicely formatted results
Visit another section in the app
(Optional) Wait an hour and come back to the app
Visit the discover section

Buggy Behavior

The results from the previous search are shown, but the keyword is missing from the input field

I think that adding the keyword back, helps bring context back to this page, but I think it brings up some other things worth discussing.

Should the discover section reset back to it's default state after a certain timeout?
Should there be an easier way to cancel a search? (Currently, it's not possible)

I think yes on all fronts.
We definitely need to add a cancel button back in. We used to have one, and I thought we created an issue for it, but I can't seem to find it. Good catch.
We need to reset to the featured content, but I'm not sure what the best case for that would be. Either a timeout, or just when you navigate away from discover in general.
If we do go with a timeout, we for sure need to ensure the search term is persistent.
@samclaridge @jbaxleyiii thoughts on resetting search to default state?

[ ] decide what to do about resetting search
[ ] make search term persistent in header if necessary based on ^^
[ ] add cancel button back in

@jbaxleyiii I think we should a do timeout of say 30 mins before it resets. I started adding the Cancel button back in, but I think it needs updates to the redux store, which I’m not sure how to do.

Discussion Had
We will go with adding the cancel button in, and also clear all search results on unmount of the discover page.

Fixed by #962


Running emulator with LocalDatastoreHelper

I was trying to run my integration tests using LocalDatastoreHelper.But this is either using my service account credentials or the default credentials. Is there any way to run tests using LocalDatastoreHelper without the credentials?
I wanted to run these integration tests on pipeline too, but the credentials are causing it to fail.

I'm looking into it.

It is actually already implemented. See GcpDatastoreAutoConfiguration.
In short, if you  have spring.cloud.gcp.datastore.host or spring.cloud.gcp.datastore.emulator.enabled properties set, the autoconfiguration will use NoCredentials. See our docs for more details:

properties
emulator autoconfiguration

Feel free to reopen this issue if that doesn't work.

Thanks, it worked. But why does localDatastoreHelper class say "This class is unstable"?
Also, Ive been noticing that the integration test sometimes fails, but re running the test would make it pass. Is there any reason for this flaky behaviour?

Hi @thameenas
I guess it's unstable because it can change in the future.
As for flakiness, the reason is most likely in the latency. After you write something to the Cloud Datastore, sometimes it would take a couple of seconds to propagate this change to all backends. This is happening because global queries in Datastore are eventually consistent and not strongly consistent  .
I would recommend using awaitility to keep retrying for a specified time limit.
Let us know if you have more questions.


Unify Board & Encyclopedia Board

The difference should be mitigated through props.

This was recently fixed as part of the game state refactor


[fix](multi catalog)Fix external table partition name and type inconsistent bug.

Proposed changes
Issue Number: close #xxx
Problem summary
Origin code using Set to store hms external table partition columns, which couldn't guarantee the order of the columns. This could cause the column name and column type doesn't match.
Using List instead of Set to fix the problem.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.2 seconds
load time: 445 seconds
storage size:<PHONE_NUMBER>7 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221123112647_clickbench_pr_51561.html


Added rtadvd configuration and service calls

Added routines to create rtadvd config file; there seem to be some options that do not exist in rtadvd, so we'll need to see if that makes it unopperable. Using the background launch option fixed the issue with no response to RS when launched using mwexecf.
This is a first draft, so obviously there will need to be some fixes.! :)

Need to look at the logging output of rtadvd,  in verbose mode it appears to flood the logging but not all data appears in the logs, in intermediate mode it doesn't say much, except tells you it's exited gracefully. In low mode it says sod all.

Modded rtadvd to give more output at debug level 1, no shows RS received etc. I'll PR that shortly.

rtadvd PR https://github.com/opnsense/src/pull/82

I hope for a clean replacement patch so we can see what changes when me migrate vs. adding duplication and overrides.

Totally agree, but at present, would we not be better to check it out thoroughly first? As I said, there are certain options missing in rtadvd, possibly we don't need them, possibly we do.

Much the same as when we implemented dpinger, we allowed the option until we were happy there were no issues. Unfortunately in this case we do not have a case where pfs was already running rtadvd, so we have no history in that context.

Should not compare this to dpinger. It worked very differently compared to apinger. rtadvd is mostly a drop-in replacement with eventual caveats and if it works we'll switch service right away. For this we need to be able to review changes and features lost (worst case). Especially the second worries me. And I'm half-sure there will be new bugs later on but we'll have to see when we get there...

I can issue a separate PR which does just replace radvd with rtadvd. I was also going to the ctrl function so it just forces a config re-read if the daemon is already running; another issue is the command line addition of the interfaces, should we add ALL the interfaces that are not WAN, even if they are down.?

we give rtadvd no interfaces on  the command line and then switch them on and off with rtadvctl how it seems to be intended by the authors

Yeah, I could not make that work, but it might have been the daemon launch issue spiking me, I'll try it again without the command line interfaces.

Yes, that must have been the issue, it works fine using the rdadvctl enable ...interfaces. So launch the demon if not running, wait for it then enable the interfaces?


PipeInsertion Inside of Stream Controller Not Respecting Stream Scheduling

Exposed in MergeSort
doubleBuf is a Reg that is correctly written outside of the stream controller. However, the else condition's reg is written inside of the stream controller in a unit pipe placed at the very front, so both doubleBuf and the inserted Reg can be true at the moment when the Switch executes
      Sequential.Foreach(0 until levelCount) { level =>
          Stream {
            ...
            if (doubleBuf) {
              memBuffer(sAddr) store mergeBuf
            } else {
              mem(sAddr) store mergeBuf
            }
          }
        }
        Pipe {
          doubleBuf := !doubleBuf
        }
      }

Root cause was PipeInserter wrapping the Not(cond) in a unit pipe as a write to a reg, and then reading the reg right before the switch.  I added some FIFOReg nodes (name should probably change to something more descriptive) which are just registers that have a status flag that can be used for register communication between stages in stream controllers.  It will insert one of these registers if the parent is a Stream.


Typo on page

https://docs.microsoft.com/en-us/office365/enterprise/powershell/manage-sharepoint-users-and-groups-with-powershell
Search for: "_replace replace everything within the quotes, including the < and > characters, with the correct names."
and remove the extra "replace"

@mikeparkie Thank you for your feedback. We have fixed the typo in the document via PR#https://github.com/MicrosoftDocs/OfficeDocs-Enterprise/pull/966
Thanks
Sri


Group switch limited to "2,3,4"? Renders as dropdown instead of edit box.

When selecting "Group switch" for an output, the "Outputs" property is a dropdown with only one option: "2,3,4". I guess this is a bug in version <IP_ADDRESS>. It should be a text field instead.

Version <IP_ADDRESS> worked fine - the property is an edit box where you can put any output values.
Please fix or share the code so that I could fix myself :)

@RaNo99 Resolved in the latest version,

Wow, thanks for quick turnaround!


Docs improvement for development branches

Mostly about conflics, reset to default and merging.

@tomasfejfar new default branch is main. Would it be possible to rebase this if PR is still valid? Thanks!

Rebasnute.

@tomasfejfar do you have a plan to finish this? If not, let's close it.

Nechám branch s commity, abych to mohl vytahnout, když se do toho bude dál hrabat :)


Check filename extension to figure out which compile message to send

Fixes #1.

I'm not sure how idiomatic my Typescript code is, also there may be better ways to check the file type of the currently being edited file. So feel free to edit this as you see fit.

Updated README and bumped version to 1.0.2, for your convenience. After you merged this, can you also please tag the new release and update the package, also in the marketplace? Thanks.

An update of the ChangeLog on the marketplace might be in order, too.

Sneaked a little keybinding change in here, I recently had to change this in pd-remote.el for better compatibility. (The rationale being that Ctrl+g should never be bound in Emacs by user stuff since it's the global "abort" key combo. So VS Code should follow suit with its default key bindings.)

Hi Albert,
thanks for the contribution! Looks good to me, however after merging I will modify your Javascript code to comply to Typescript standards.
The Makefile and build process adjustments are appreciated; that was my first time writing a Makefile, so I'm happy to learn a bit more about that here. :)
Both #1 and #2 are fixed in this PR, so I will merge this one and close PR #3.
I'll create a new release afterwards.

See commit https://github.com/barisssss/pdRemoteVscode/commit/b44685744f79d82a63b4cfba18c5d00f1fe710d3 for the mentioned TS and formatting fixes.

Hi Baris, thanks for fixing my sloppy TS coding, much appreciated. Should be forgivable, hopefully, considering those were the very first few lines of TS I wrote, ever. ;-)
I see that the marketplace was updated, too, works like a charm, thanks!
Meanwhile, upstream pd-remote.el is at 1.1.0 and on its way into MELPA, so this should soon be as convenient to install as your extension.
I've also linked to https://github.com/barisssss/pdRemoteVscode in various places, so that pd-remote users should be able to find it.
Again, thanks for the fun and fruitful collaboration, hope that we can continue that some time. ;-)


A issue of scANVI

Here is my error. I am struggling on how to fix it.

Hi, about scanVI and scVI i would suggest to ask on scvi github, as we only reexport these models.
https://github.com/scverse/scvi-tools


[Feature Request] Option to change color/positioning on inventory icon

I'd like to see the option to change the text color (using ARGB like other RuneLite plugins support) and the option to choose the positioning of the number on the inventory icon (center, top-left, top-right, etc.) with the "Render on inventory icon" option enabled. Specifically, I'd like to be able to have the number horizontally and vertically centered on the inventory icon.
Nice, simple plugin! Thanks for making it!

I can take a look at this when I have some more time.

Feature currently up for review: https://github.com/robrichardson13/inventory-count/pull/7

@Kyriella The feature has been merged and will included in version 1.1.0 once it is approved by the Runelite team.

Thank you so much! I'm looking forward to it!


Update Mac download instructions to assist with open/security errors

Apps not downloaded from the app store need special instructions on how to open

Fixed by #628


Revert "Revert "Ensure errors derive from std::exception (#228)" (#230)"

This reverts commit 052608e14020b1585e6ac56a8ee8bbd22312afa9.

@rjhuijsman I've confirmed that 3rdparty/eventuals-grpc#78 also builds in reboot-dev/respect.

Drive-by LGTM: since you said this builds in respect I'm assuming this is just a roll-forward. (Does it also build in respect-integration?)

Yes: https://github.com/reboot-dev/respect-integration/runs/5327396305?check_suite_focus=true


version update

Because #14 was not picked up by Mozilla Addons page.

This version is still not updated in Mozilla Addons. I don't know why, because I'm not an addon developer. @hkgnp can you help with that?


[bug] Error to bundle project in WSL2 (windows subsystem linux)

Describe the bug
Hi, I'm building my app in wsl2 (windows subsystem linux). It seems that the binary is built successfully but fail to bundle the install package due to the sidecar. I do have the external binary in src-tauri/bin/ffmpeg-x86_64-unknown-linux-gnu. I've tried use --verbose but didn't see any debug message.
Is it means that the .deb package built successfully but fail to build .AppImage package? If deb is built successfully, why should I need AppImage?
$ pnpm tauri build --verbose
> @ tauri /mnt/d/work/vizip
> tauri "build"
...
    Finished release [optimized] target(s) in 0.51s
[tauri:build] Binary stripped, size reduced by 0 B
    Bundling vizip_0.1.0_amd64.deb
"bin/ffmpeg-x86_64-unknown-linux-gnu" "/mnt/d/work/vizip/src-tauri/target/release/bundle/deb/vizip_0.1.0_amd64/data/usr/bin/ffmpeg" "x86_64-unknown-linux-gnu"
"bin/ffmpeg-x86_64-unknown-linux-gnu" "/mnt/d/work/vizip/src-tauri/target/release/bundle/appimage_deb/data/usr/bin/ffmpeg" "x86_64-unknown-linux-gnu"
    Bundling vizip_0.1.0_amd64.AppImage
Error running CLI: failed to bundle project: Shell Scripting Error:`error running appimage.sh, try running with --verbose to see command output`
 ELIFECYCLE  Command failed with exit code 1.

Reproduction
No response
Expected behavior
No response
Platform and versions
> @ tauri /mnt/d/work/vizip
> tauri "info"

Operating System - Ubuntu, version 20.04 X64

Node.js environment
  Node.js - 16.13.1
  @tauri-apps/cli - 1.0.0-rc.5 (outdated, latest: 1.0.0-rc.7)
  @tauri-apps/api - 1.0.0-rc.1 (outdated, latest: 1.0.0-rc.2)

Global packages
  npm - 8.1.2
  pnpm - 6.24.3
  yarn - Not installed

Rust environment
  rustup - 1.24.3
  rustc - 1.59.0
  cargo - 1.59.0
  toolchain - stable-x86_64-unknown-linux-gnu

App directory structure
/.git
/.vscode
/dist
/node_modules
/public
/src
/src-tauri
/test

App
  tauri - 1.0.0-rc.3
  tauri-build - 1.0.0-rc.3
  tao - 0.6.2
  wry - 0.13.2
  build-type - bundle
  CSP - unset
  distDir - ../dist
  devPath - http://localhost:8080/
  framework - Vue.js (Quasar)
  bundler - Webpack

### Stack trace

_No response_

### Additional context

_No response_

Can you try pnpm tauri build -- --verbose or pnpm tauri build -- -- --verbose?
Also try upgrading your tauri dependencies there are some fixes related to sidecars and stuff in there (although mostly for Windows iirc)

My guess was right, the deb package has already built successfully. It could be installed via apt install vizip_0.1.0_amd64.deb. The AppImage format is somehow unable to build.

@red010182

Is it means that the .deb package built successfully but fail to build .AppImage package? If deb is built successfully, why should I need AppImage?

The default configuration in tauri.conf.json > tauri > bundle > targets is all, you can set this to either deb if you just want the deb output, or any values listed in the config allowed values
However, as for why you might actually want AppImage, the AppImage wiki gives a good explanation https://github.com/AppImage/AppImageKit/wiki#-why-should-i-bundle-my-application-as-an-appimage
@FabianLars
To provide a more verbose verbose stack, I am seeing:
Bundling [tauri_bundler::bundle::linux::appimage] <PROJECT_NAME>_0.1.0_amd64.AppImage (/home/<USER>/<PROJECT_NAME>/src-tauri/target/release/bundle/appimage/<PROJECT_NAME>_0.1.0_amd64.AppImage)

Running [tauri_bundler::bundle::common] Command `/home/<USER>/<PROJECT_NAME>/src-tauri/target/release/bundle/appimage/build_appimage.sh `
+ export ARCH=x86_64
+ ARCH=x86_64
+ APPIMAGE_BUNDLE_XDG_OPEN=0
+ APPIMAGE_BUNDLE_GSTREAMER=0
+ TRAY_LIBRARY_PATH=0
+ '[' x86_64 == i686 ']'
+ linuxdeploy_arch=x86_64
+ mkdir -p <PROJECT_NAME>.AppDir
+ cp -r ../appimage_deb/data/usr <PROJECT_NAME>.AppDir
+ cd <PROJECT_NAME>.AppDir
+ mkdir -p usr/bin
+ mkdir -p usr/lib
+ [[ 0 != \0 ]]
+ [[ 0 != \0 ]]
++ dirname '{}'
+ find /usr/lib /usr/lib32 /usr/lib64 /usr/libexec /usr/libx32 -name WebKitNetworkProcess -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
++ dirname '{}'⠂⠂⠂⠂) ⠴ : timing npm:load Completed in 31ms
+ find /usr/lib /usr/lib32 /usr/lib64 /usr/libexec /usr/libx32 -name WebKitWebProcess -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
++ dirname '{}'⠂⠂⠂⠂) ⠴ : timing npm:load Completed in 31ms
+ find /usr/lib /usr/lib32 /usr/lib64 /usr/libexec /usr/libx32 -name libwebkit2gtkinjectedbundle.so -exec mkdir -p . ';' -exec cp --parents '{}' . ';'
+ wget -q -4 -N -O /home/<USER>/.cache/tauri/AppRun https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64
+ chmod +x /home/<USER>/.cache/tauri/AppRunCompleted in 31ms
+ cp /home/<USER>/.cache/tauri/AppRun .
+ cp<EMAIL_ADDRESS>.DirIcon
+ ln -s<EMAIL_ADDRESS><PROJECT_NAME>.png
+ ln -s usr/share/applications/<PROJECT_NAME>.desktop <PROJECT_NAME>.desktop
+ cd ..
+ [[ 0 != \0 ]]
+ gst_plugin=
+ wget -q -4 -N -O /home/<USER>/.cache/tauri/linuxdeploy-plugin-gtk.sh https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
+ wget -q -4 -N -O /home/<USER>/.cache/tauri/linuxdeploy-x86_64.AppImage https://github.com/tauri-apps/binary-releases/releases/download/linuxdeploy/linuxdeploy-x86_64.AppImage
+ chmod +x /home/<USER>/.cache/tauri/linuxdeploy-plugin-gtk.sh
+ chmod +x /home/<USER>/.cache/tauri/linuxdeploy-x86_64.AppImage
+ dd if=/dev/zero bs=1 count=3 seek=8 conv=notrunc of=/home/<USER>/.cache/tauri/linuxdeploy-x86_64.AppImage
3+0 records in
3+0 records out
3 bytes copied, 6.7e-05 s, 44.8 kB/s
+ OUTPUT=<PROJECT_NAME>_0.1.0_amd64.AppImage
+ /home/<USER>/.cache/tauri/linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir <PROJECT_NAME>.AppDir --plugin gtk --output appimage
linuxdeploy version 1-alpha (git commit ID 56760df), GitHub actions build 90 built on 2022-07-12 10:39:09 UTC
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
  what():  boost::filesystem::status: Permission denied: "/mnt/c/WINDOWS/system32/config/systemprofile/AppData/Local/Microsoft/WindowsApps"
       Error [tauri_cli_node] failed to bundle project: error running appimage.sh: error running appimage.sh: `failed to run /home/<USER>/workspace/<PROJECT_NAME>/src-tauri/target/release/bundle/appimage/build_appimage.sh`

This seems to be the same as https://github.com/tauri-apps/tauri/issues/2731 because WSL2 has /mnt/c/WINDOWS/system32/config/systemprofile/AppData/Local/Microsoft/WindowsApps on $PATH by default (because it comes from the Windows PATH), and AppImage is trying to do things with it for whatever reason. Workaround would be to disable the interop between Windows and WSL. Stack Overflow for how to do that

I just came across this error too and don't really want to disable the interop between win and nix - here's a temporary solution (you can also just add this as a build command to your package.json):
Prepend your command with:
PATH=$(/usr/bin/printenv PATH | /usr/bin/perl -ne 'print join(":", grep { !/\/mnt\/[a-z]/ } split(/:/));') yarn tauri build


Firefox (Win10 125% zoom) options UI selection boxes appear abnormally large

Might be a Firefox issue as it doesn't seem to happen on Firefox for Linux or in Chrome.

Worked around in 0.3.6 by opening the options page in a new tab.
(The issue seems to originate in Firefox itself and not due to a styling applied by the extension)


Logical Downlink method at API300 - self.get_without_ethernet - should accept an argument

Scenario/Intent
Run the self.get_without_ethernet method from the resource logical downlink on API300, and receive method unavailable
Environment Details

OneView SDK Version: 3.1.0
OneView Appliance Version: 3.0
OneView Client API Version: 300
Ruby Version: 2.2.3
Platform: Windows

Steps to Reproduce
Run OneviewSDK::API300::C7000::LogicalDownlink.get_without_ethernet(client)
Expected Result
Method unavailable, since the endpoint has been dropped
Actual Result
wrong number of arguments (1 for 0)
Since the method on 300 is listed without an argument, while the one on 200 had the argument.

Closing it since it is part of #131


tagging and expanding security rule

Searched us-east-1 spec for password. Not 100% sure about PasswordParam

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-serviceaccountcredentials.html
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputsourcerequest.html
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestinationsettings.html
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberfabricconfiguration.html

@kddejong Password should be covered by this. Will look into Token + Key later


Implement /subscription endpoint

Note: WebSockets use the wss:// protocol instead of https:// - ws:// is not allowed!
TUNET currently only accepts http & https protocols so this feature is on hold.

Relevant: https://github.com/Open-EO/openeo-api/issues/199

Note: this endpoint does not exist any more in v1.0.0


Config flow could not be loaded: {"message":"Invalid handler specified"}

Hi,
When trying to add a solarman device, I get this:

That's even before filling in anything.
thanks in adv

hello,
the same problem here too.
Homeassistent 2023.10.3 docker-compose
Solarman Integration 1.5.1
please for support
gg

Try change it back
#https://github.com/StephanJoubert/home_assistant_solarman/commit/a1a5de42f1033b7a0403ad4581ba6fe4b90f6e36#diff-bbed67ea80599e4ac504d7f56d3475b028def737c2fd65a11d3aad364fc1711dL8-L14

unfortunately I do receive the same error, does anyone got a solution for this?

got the same error :(

That solved my issue.


docs: add sample application for testing purposes

Description
This PR adds an example project in the form of a game server processor using MQTT and MongoDB.

@NektariosFifes this is the example project. I think it makes sense it is added directly to the repo for easy access for all contributors. Thoughts?


will this work with $5 digital ocean plan(question)

Digital Ocean one click ghost required $10 plan, Additionally, is there any guide to get this up and running on Digital Ocean.

Yes, the official ghost image works on 512MB droplets.
The DO 1-click-app needs a 1G droplet because they use npm install which runs out of memory on a 512MB droplet. But you can install ghost on an 512MB droplet using npm install by adding Swap.

@SISheogorath  is there any guide to installing Ghost using Swap?  I also read that it can be dangerous using Swap on SSD is that true?

See: https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04
All information are provided including a warning. Then you can follow the regular guides to install ghost on Digital Ocean.
Good news: You can remove swap after installing ghost. But you need it for updates.

Make sense @SISheogorath :)

Thanks @SISheogorath :+1:


fix usps (again)

Description:
usps needs some more fixes, specifically the cache path needs to respect the hass config location.
Related issue (if applicable): https://github.com/home-assistant/home-assistant/issues/9552
Checklist:
If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

Do you want to wait for tester feedback before merging?


Support for recvmmsg seems to be broken

Hello,
I've been trying to get recvmmsg working, and encountered several issues:

To enable recvmmsg mode in libuv, UV_UDP_RECVMMSG flag should be passed to uv_udp_init_ex().
UVW does have flag uvw::UDPHandle::Bind::UDP_RECVMMSG, but calling bind method on UDPHandle with the flag:
auto udp = m_loop.resource<uvw::UDPHandle>();
udp->bind(m_bind_endpoint, uvw::UDPHandle::Bind::UDP_RECVMMSG);

apparently leads to a bind error in libuv.
While passing libuv's flag directly at UDPHandle construction works fine:
auto udp = m_loop.resource<uvw::UDPHandle>(UV_UDP_RECVMMSG);

That's a bit of confusion I've encountered foremost.

More important issue involves memory buffers management in UVW.
In recvmmsg mode libuv expects to get from alloc callback the buffer large enough to receive multiple UDP datagrams with a single recvmmsg syscall.
Then libuv splits the buffer in chunks, calls recvmmsg() and returns chunks to recv callback one by one.
UVW allocates memory buffer in Handle::allocCallback with new char[] and passes array pointer to libuv, then in receive callback UDPHandle::recvCallback() wraps libuv-supplied pointer with unique_ptr. As the pointer remains the same, this works perfectly fine (i.e. recvmsg). With larger buffer and recvmmsg this leads to delete[] on every returned chunk. This obviously leads to crashes.

As far as I can see at the moment, there is no way to avoid copying in UDPHandle::recvCallback() for chunk calls (i.e with UV_UDP_MMSG_CHUNK flag set). Which will sacrifice receive efficiency, the whole point of recvmmsg is for.
The other possible approach may be to preallocate receive buffer once and do not wrap returned pointers with unique_ptr in UDPHandle::recvCallback(). That generally may be implemented with some memory management policy on top of uvw::Handle, in order not to brake backward compatibility.
Are there any considerations on the issue?
And sorry for getting a bit wordy.
Best regards, Sergio

As for 1:

That's a bit of confusion I've encountered foremost.

I see what you mean. On the other side, uvw stays true to the API of libuv and from what I can see this confusion is inherited from the underlying library. Am I wrong?
As for 2, I'm not sure I get how you would add a memory management policy on top of the handle. Could you elaborate a little further with some technical details to see if it fits as expected? It would help to follow your reasoning. Thanks.

And sorry for getting a bit wordy.

No worries. You're welcome. 🙂

As a side note, is this also related to #223 ?

Michele, thanks for your response!
Yep, seems to be related to #223.

IMO, it feels reasonable, if uvw would expose to user API those flags that actualy modifies libuv's behavior (UV_UDP_IPV6ONLY, UV_UDP_REUSEADDR, UV_UDP_RECVMMSG).
And would not expose flags that supposed to be handled in uvw's internal methods (e.g. UDPHandle::recvCallback()), as uvw's user would not have a chance to interact with those flags (UV_UDP_PARTIAL, UV_UDP_MMSG_CHUNK, UV_UDP_MMSG_FREE).
As for UV_UDP_RECVMMSG, IMHO, it should not belong to uvw::UDPHandle::Bind namespace to avoid confusion. Or better should not be exposed at all and set automatically with uvw::UDPHandle's receive policy.
// Keep using recvmsg as default
auto udp = loop.resource<uvw::UDPHandle>();

// Switch to recvmmsg and set UV_UDP_RECVMMSG flag if stated explicitly
auto udp_mmsg = loop.resource<uvw::UDPHandle<uvw::UDPMultiple>>();

Receive policy could also affect default memory management policy.
What do you think on that?

On memory management policy, I'd have to investigate a little bit deeper to introduce an MVP for that.
One thing I don't quite understand, that if buffer ownership semantics in UDPDataEvent doesn't works well with recvmmsg (as libuv internally splits provided buffer in chunks), should UDPHandle's mmsg mode publish some other event type, that doesn't call delete[] on chunks? Would it be appropriate, if that type would depend on selected memory management policy?
Or is there any better approach?

What do you think on that?

Not sure I follow your reasoning, but isn't this problem also part of the libuv API? How did they solve it, if they solved it at all?
As far as I remember, I mimic the API of the underlying library for all functions. So, either I missed something here or the problem is down the tube.

The callback is the same in all cases, so my guess is that we cannot really differentiate it when it comes at sending the message.
Though, I may be wrong, I don't remember the details of this part in libuv. Does it make sense to you?

Ping. 🙂

Sorry for the delay, I'm going to return to this issue on weekend.

Stale issue. Closing this because of a lack of information. Feel free to reopen the issue if and when you find the time to dig a little deeper into the problem. Thanks.


srb init crashes on 'superclass mismatch for class'

Input
bundle exec srb init

Observed output
...
Traceback (most recent call last):
	35: from /usr/local/bundle/gems/sorbet-0.5.5795/bin/srb-rbi:237:in `<main>'
	34: from /usr/local/bundle/gems/sorbet-0.5.5795/bin/srb-rbi:196:in `main'
	33: from /usr/local/bundle/gems/sorbet-0.5.5795/bin/srb-rbi:118:in `init'
	32: from /usr/local/bundle/gems/sorbet-0.5.5795/bin/srb-rbi:232:in `block in make_step'
	31: from /usr/local/bundle/gems/sorbet-0.5.5795/lib/gem-generator-tracepoint.rb:38:in `main'
	30: from /usr/local/bundle/gems/sorbet-0.5.5795/lib/gem-generator-tracepoint/tracer.rb:70:in `trace'
	29: from /usr/local/bundle/gems/sorbet-0.5.5795/lib/gem-generator-tracepoint.rb:39:in `block in main'
	28: from /usr/local/bundle/gems/sorbet-0.5.5795/lib/require_everything.rb:18:in `require_everything'
	27: from /usr/local/bundle/gems/sorbet-0.5.5795/lib/require_everything.rb:28:in `load_rails'
	26: from /usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:473:in `eager_load!'
	25: from /usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:473:in `each'
	24: from /usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:475:in `block in eager_load!'
	23: from /usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:475:in `each'
	22: from /usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!'
	21: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:252:in `require_dependency'
	20: from /usr/local/bundle/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/active_support.rb:85:in `depend_on'
	19: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:336:in `depend_on'
	18: from /usr/local/bundle/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/active_support.rb:47:in `require_or_load'
	17: from /usr/local/bundle/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/active_support.rb:16:in `allow_bootsnap_retry'
	16: from /usr/local/bundle/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/active_support.rb:48:in `block in require_or_load'
	15: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:358:in `require_or_load'
	14: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:37:in `load_interlock'
	13: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies/interlock.rb:11:in `loading'
	12: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/concurrency/share_lock.rb:150:in `exclusive'
	11: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
	10: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:37:in `block in load_interlock'
	 9: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:375:in `block in require_or_load'
	 8: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:477:in `load_file'
	 7: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:663:in `new_constants_in'
	 6: from /usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:478:in `block in load_file'
	 5: from /usr/local/bundle/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
	 4: from /usr/local/bundle/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
	 3: from /home/app/services/<our_file_path>/<our_file_name>.rb:7:in `<main>'
	 2: from /home/app/services/<our_file_path>/<our_file_name>.rb:8:in `<module:Graph>'
	 1: from /home/app/services/<our_file_path>/<our_file_name>.rb:9:in `<module:Queries>'
/home/app/services/<our_file_path>/<our_file_name>.rb:96:in `<class:AClass>': superclass mismatch for class AClass (TypeError)

Expected behavior
Don't crash on init.

This is a large and complex codebase that runs in a production environment without any sort of problem like this. Not sure why this error would be happening other than possibly srb init is running through files twice, redundantly attempting to instantiate classes.
If I add something like this at the top of the file
puts "here1.1"
if Object.const_defined?('AClass')
  puts "here1.2", AClass
  return
end

it will print here1.1 and later here1.2 somewhat confirming my hypothesis. It henceforth succeeds to not crash on that file, but then crashes a few files later with the same error but on a different Class. Every attempt I make on any file to circumvent, there will inevitably be a new similar error thrown some arbitrary number of files later.

Was poking around with a debugger on an init run and ran into this which looks odd
From: /usr/local/bundle/gems/hpricot-0.8.6/lib/hpricot/blankslate.rb @ line 58 Object.method_added:

    57: def method_added(name)
 => 58:   hpricot_slate_method_added(name)
    59:   return if self != Object
    60:   Hpricot::BlankSlate.hide(name)
    61: end

Commenting out that code did not fix the issue.

Cannot reproduce.


Allow json params

const expression = 'answer.index > 1 ? "Yes" : "No"';

const myfilter = filtrex(expression);

// Execute function
console.log(myfilter({ answer: { index: 2 } })); // returns "No"

Right now Filtrex takes . as a part of the identifier, so this would work:
console.log(myfilter({ 'answer.index': 2 })); // returns "Yes"

In my fork I've implemented an of operator – you'd use it like so:
const expression = 'index of answer > 1 ? "Yes" : "No"';

const myfilter = filtrex(expression);

// Execute function
console.log(myfilter({ answer: { index: 2 } })); // returns "Yes"

Version 1.0.0 that was published today on the official NPM supports the of operator, so you can use that. Would you please close this issue, I don't have moderator rights here 😅


merge package template from arlac77/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(devDependencies): update<EMAIL_ADDRESS>from template

Coverage remained the same at 97.143% when pulling e8ba9bbc9523c75548488d69c55498a8569dbd66 on template-sync-1 into<PHONE_NUMBER>e9f79bd5b46c4d14e5e8eead5dfb18 on master.

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #25   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          29     29
=====================================
  Hits           29     29

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 9269736...e8ba9bb. Read the comment docs.


Having a declared packageManager in the package.json is creating issues with other versions of pnpm.

Is it necessary to declare the packageManager version in the package.json? If I have a different version of pnpm installed on my system, it causes an error. I believe we can remove this or make it less restrictive. Let me know your thoughts @dillionverma

I faced this error a while back and had to downgrade the pnpm manager version I had installed before it could work. Is the strict pnpm version necessary?

removed the declared package manager on main!


Can't Detecting CUDA compiler ABI

When I try to make the test case with Cmake, I met this error:
[cmake] -- The CUDA compiler identification is unknown
[cmake] -- Detecting CUDA compiler ABI info
[cmake] -- Detecting CUDA compiler ABI info - failed
[cmake] -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
[cmake] -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - broken
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "/home/XXX/文档/test/cuda/build/CMakeFiles/CMakeOutput.log".
[cmake] See also "/home/XXX/文档/test/cuda/build/CMakeFiles/CMakeError.log".
[cmake] CMake Error at /usr/local/share/cmake-3.22/Modules/CMakeTestCUDACompiler.cmake:56 (message):
[cmake]   The CUDA compiler
[cmake]
[cmake]     "/usr/local/cuda/bin/nvcc"
[cmake]
[cmake]   is not able to compile a simple test program.
[cmake]
[cmake]   It fails with the following output:
[cmake]
[cmake]     Change Dir: /home/XXX/文档/test/cuda/build/CMakeFiles/CMakeTmp
[cmake]
[cmake]     Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_77547/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_77547.dir/build.make CMakeFiles/cmTC_77547.dir/build
[cmake]     gmake[1]: 进入目录“/home/XXX/文档/test/cuda/build/CMakeFiles/CMakeTmp”
[cmake]     Building CUDA object CMakeFiles/cmTC_77547.dir/main.cu.o
[cmake]     /usr/local/cuda/bin/nvcc      -c /home/XXX/文档/test/cuda/build/CMakeFiles/CMakeTmp/main.cu -o CMakeFiles/cmTC_77547.dir/main.cu.o
[cmake]     /usr/include/stdio.h(189): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(201): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(223): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(260): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(285): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(294): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(303): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(309): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(315): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdio.h(830): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdlib.h(566): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdlib.h(570): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     /usr/include/stdlib.h(799): error: attribute "__malloc__" does not take arguments
[cmake]
[cmake]     13 errors detected in the compilation of "/home/XXX/文档/test/cuda/build/CMakeFiles/CMakeTmp/main.cu".
[cmake]     gmake[1]: *** [CMakeFiles/cmTC_77547.dir/build.make:78：CMakeFiles/cmTC_77547.dir/main.cu.o] 错误 1
[cmake]     gmake[1]: 离开目录“/home/XXX/文档/test/cuda/build/CMakeFiles/CMakeTmp”
[cmake]     gmake: *** [Makefile:127：cmTC_77547/fast] 错误 2

I think the main reason is Detecting CUDA compiler ABI info - failed
The CMakeLists begin with below:
cmake_minimum_required(VERSION 3.10)
project(cmake_and_cuda LANGUAGES CXX CUDA)
find_package(CUDA)

Test environment：

Ubuntu 22.04
Cmake 3.22
CUDA 11.4
g++/gcc 11.3.0

Maybe  g++/gcc  version not compatible,
Also can see  https://forums.developer.nvidia.com/t/cuda-11-5-samples-throw-multiple-error-attribute-malloc-does-not-take-arguments/192750

Which developer blog post or code sample directory are you referring to? This is a bit of a large monorepo, so please be specific.

Maybe g++/gcc version not compatible, Also can see https://forums.developer.nvidia.com/t/cuda-11-5-samples-throw-multiple-error-attribute-malloc-does-not-take-arguments/192750

Thanks for your reply, I have since found out that this is indeed the problem, only newer CUDA supports gcc 11 and above


Mercedes API disabled on 1st August

Now that the APIs access has been removed by Mercedes, what are the available features in this integration? I can't seem to find any working

Right, no endpoint is working.


Block oriented structure

In separate branch create BEM oriented structure instead of current tech-oriented structure.. It means that each block will be presented as folder that contain block realization in markup, styles and js.

Implemented here and here Soon will be updated

Init https://github.com/orlovmax/front-end-scaffold/commit/b4dbe3e66a1ad6255a6826b88bda4e4fbf1a14d6


-webkit-writing-mode: vertical-rl rendered wrong character direction

I use phantom 2.0 stable both on OS X and Linux (Ubuntu 14.04 LTS), but get something wrong with the chinese vertical writing mode.
Like the performance below, the left one is correct character direction, the right one (phantom rendered) is wrong.

The whole HTML:
<!DOCTYPE html>

		<meta charset="utf-8" />
		<title>vertical test</title>

本段文字将按照水平从左到右的书写方向进行流动。

本段文字将按照垂直从右到左的书写方向进行流动。

本段文字将按照垂直从左到右的书写方向进行流动。

This is a test

本段文字将按照垂直从右到左的书写方向进行流动。

本段文字将按照垂直从左到右的书写方向进行流动。

本段文字将按照垂直从左到右的书写方向进行流动。

This is a bug in Webkit.  Unfortunately, we do not have the manpower to fix Webkit bugs ourselves.  Please try to reproduce the problem with a nightly build of Webkit (https://www.webkit.org/) and if you can, report it directly to them.

Could you tell me how I can know which build was used by the Phantomjs that I'm using. And how to use the nightly webkit build in Phantomjs?
Thanks a lot.

Could you tell me how I can know which build was used by the Phantomjs that I'm using

There is a fixed version for each release.  2.0 appears to correspond to "upstream subversion revision 153112".  I don't know how to map that onto Webkit release numbers.

And how to use the nightly webkit build in Phantomjs?

Sorry, this is not possible.  You have to use the nightly build as a regular web browser.  See https://www.webkit.org/quality/reporting.html for more instructions.

I mean I wanna recompile the Phantomjs with the nightly build webkit, it is posiible?

That is the thing I was saying was not possible.


Reduced motion behavior fix for videos - accessibility purpose

letting users of user the ability to avoid videos autoplay although gallery settings

#rebuild

#rebuild


panic: runtime error: invalid memory address or nil pointer dereference

When using bosh create-env, I hit multiple times of the following error. Sometimes, a retry could work.
Is it an issue of bosh-cli or stemcell? Did anyone hit before?
bosh-cli version I used: 5.1.1
Waiting for instance 'bosh/0' to be running...panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x46cc53]

goroutine 2896 [running]:
io.copyBuffer(0x10070c0, 0xc4202f04b0, 0x0, 0x0, 0xc42098e000, 0x8000, 0x8000, 0xc4202f04b0, 0xc4202f04b0, 0xdd2b00)
	/usr/local/go/src/io/io.go:400 +0x143
io.Copy(0x10070c0, 0xc4202f04b0, 0x0, 0x0, 0x20, 0x10, 0x2)
	/usr/local/go/src/io/io.go:362 +0x5a
net.genericReadFrom(0x1005640, 0xc4205a6158, 0x0, 0x0, 0x0, 0x0, 0x403b00)
	/usr/local/go/src/net/net.go:597 +0x84
net.(*TCPConn).readFrom(0xc4205a6158, 0x0, 0x0, 0xc420625e08, 0x40e38d, 0xd9f200)
	/usr/local/go/src/net/tcpsock_posix.go:51 +0xa5
net.(*TCPConn).ReadFrom(0xc4205a6158, 0x0, 0x0, 0x7fbf23ef3288, 0xc4205a6158, 0xc42001c001)
	/usr/local/go/src/net/tcpsock.go:103 +0x5f
io.copyBuffer(0x1005640, 0xc4205a6158, 0x0, 0x0, 0x0, 0x0, 0x0, 0xea7640, 0xc420088700, 0x1005640)
	/usr/local/go/src/io/io.go:386 +0x31a
io.Copy(0x1005640, 0xc4205a6158, 0x0, 0x0, 0x0, 0xc420625f30, 0xc420625f68)
	/usr/local/go/src/io/io.go:362 +0x5a
github.com/cloudfoundry/bosh-cli/deployment/sshtunnel.(*sshTunnel).Start.func3(0x1015260, 0xc4205a6158, 0x0, 0x0, 0xc42031e1e0, 0xc4200a6840)
	/tmp/build/9674af12/gopath/src/github.com/cloudfoundry/bosh-cli/deployment/sshtunnel/ssh_tunnel.go:85 +0xc3
created by github.com/cloudfoundry/bosh-cli/deployment/sshtunnel.(*sshTunnel).Start
	/tmp/build/9674af12/gopath/src/github.com/cloudfoundry/bosh-cli/deployment/sshtunnel/ssh_tunnel.go:84 +0x314
bosh-cli deploy failed!

The bosh cli debug output of the create-env command:
[unlimitedRetryStrategy] 2018/08/10 10:05:13 DEBUG - Making attempt #18
[httpClient] 2018/08/10 10:05:13 DEBUG - Sending POST request to endpoint 'https://<redacted>:6868/agent'
[httpAgentClient] 2018/08/10 10:05:13 DEBUG - get_task response value: "applied"
[httpAgentClient] 2018/08/10 10:05:13 WARN - Unable to parse get_task response value: "applied"
[httpClient] 2018/08/10 10:05:13 DEBUG - Sending POST request to endpoint 'https://<redacted>:6868/agent'
[unlimitedRetryStrategy] 2018/08/10 10:05:13 DEBUG - Making attempt #0
[httpClient] 2018/08/10 10:05:13 DEBUG - Sending POST request to endpoint 'https://<redacted>:6868/agent'
[httpAgentClient] 2018/08/10 10:05:13 DEBUG - get_task response value: map[string]interface {}{"agent_task_id":"7d71f267-9294-4560-7cf1-c8d0576a8559", "state":"running"}
[unlimitedRetryStrategy] 2018/08/10 10:05:14 DEBUG - Making attempt #1
[httpClient] 2018/08/10 10:05:14 DEBUG - Sending POST request to endpoint 'https://<redacted>:6868/agent'
[httpAgentClient] 2018/08/10 10:05:14 DEBUG - get_task response value: map[string]interface {}{"agent_task_id":"7d71f267-9294-4560-7cf1-c8d0576a8559", "state":"running"}
<....>
[unlimitedRetryStrategy] 2018/08/10 10:05:53 DEBUG - Making attempt #40
[httpClient] 2018/08/10 10:05:53 DEBUG - Sending POST request to endpoint 'https://<redacted>:6868/agent'
[httpAgentClient] 2018/08/10 10:05:53 DEBUG - get_task response value: map[string]interface {}{"agent_task_id":"7d71f267-9294-4560-7cf1-c8d0576a8559", "state":"running"}
[sshTunnel] 2018/08/10 10:05:54 DEBUG - Received connection
[sshTunnel] 2018/08/10 10:05:54 DEBUG - Dialing local server
[instance] 2018/08/10 10:05:54 WARN - Received SSH tunnel error: Accepting connection on remote server: EOF
[sshTunnel] 2018/08/10 10:05:54 DEBUG - Received connection
[sshTunnel] 2018/08/10 10:05:54 DEBUG - Dialing local server
[instance] 2018/08/10 10:05:54 WARN - Received SSH tunnel error: Accepting connection on remote server: EOF
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x46cc53]

goroutine 5585 [running]:
io.copyBuffer(0xffe4a0, 0xc4205213c0, 0x0, 0x0, 0xc4209ae000, 0x8000, 0x8000, 0xc4205213c0, 0xc4205213c0, 0xdcc180)
        /usr/local/go/src/io/io.go:400 +0x143
io.Copy(0xffe4a0, 0xc4205213c0, 0x0, 0x0, 0xffb3a0, 0xc420081980, 0xc4200d43a1)
        /usr/local/go/src/io/io.go:362 +0x5a
net.genericReadFrom(0xffca00, 0xc42009c6e0, 0x0, 0x0, 0x0, 0x0, 0xc420465c00)
        /usr/local/go/src/net/net.go:597 +0x84
net.(*TCPConn).readFrom(0xc42009c6e0, 0x0, 0x0, 0xc420315e08, 0x40e38d, 0xd98ce0)
        /usr/local/go/src/net/tcpsock_posix.go:51 +0xa5
net.(*TCPConn).ReadFrom(0xc42009c6e0, 0x0, 0x0, 0x7fcec33dab68, 0xc42009c6e0, 0xc42001c001)
        /usr/local/go/src/net/tcpsock.go:103 +0x5f
io.copyBuffer(0xffca00, 0xc42009c6e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xea02e0, 0x0, 0xffca00)
        /usr/local/go/src/io/io.go:386 +0x31a
io.Copy(0xffca00, 0xc42009c6e0, 0x0, 0x0, 0x0, 0xc420465b88, 0xc4200814f8)
        /usr/local/go/src/io/io.go:362 +0x5a
github.com/cloudfoundry/bosh-cli/deployment/sshtunnel.(*sshTunnel).Start.func3(0x100c600, 0xc42009c6e0, 0x0, 0x0, 0xc4203ac7d0, 0xc4205f6540)
        /tmp/build/9674af12/gopath/src/github.com/cloudfoundry/bosh-cli/deployment/sshtunnel/ssh_tunnel.go:85 +0xc3
created by github.com/cloudfoundry/bosh-cli/deployment/sshtunnel.(*sshTunnel).Start
        /tmp/build/9674af12/gopath/src/github.com/cloudfoundry/bosh-cli/deployment/sshtunnel/ssh_tunnel.go:84 +0x314

This should be fixed with v5.1.2


input box not filled with the selected date

I am using react-dates library of airbnb for date picker. However, its now working while using it along with redux form. When i click on the select date button, calendar pops up . While selecting the date, the input box is shown empty instead of selected date.
problem is the selected date is not shown on the input box.

const renderDateRangePicker = ({
  input,
  focused,
  onFocusChange,
}) => (
  <SingleDatePicker
    id="date_input"
    onDateChange={(value) => input.onChange(value.date)}
    onFocusChange={onFocusChange}
    focused={focused}
    date={(input.value && input.value.date) || null}
    className="form-control"
  />
);

onFocusChange({ focused }) {
  this.setState({ focused });
}

const { focused } = this.state;

<Field
  name="Fecha"
  onFocusChange={this.onFocusChange}
  focused={focused}
  component={renderDateRangePicker}
/>

How can i show the selected date on the input box in a way that the selected date is preserved too?
I have asked question on SO too but no response on it.
Thanks

sorry there is wrong in my code. It has to be input.value || null  and input.onChange(value).


DNS update for getting public IP for api.jiocloudservices.com

Override for dnsmasq in compute nodes to ensure dnsmasq does not server request from /etc/hosts file in compute nodes

I'm not sure about this.. If we don't want dnsmasq to use /etc/hosts, why are we putting these entries in there to begin with?

Sorry, that of course makes sense.
However, I'm fairly sure it won't fix the problem. To the best of my knowledge, Contrail does a getaddressinfo(), so it'll just as happily use a value from /etc/hosts as any other application would.

please test this

@sorenh Ok, i discussed this with Harish, let me check this out. If this will not work, then maybe adding a nameserver to <IP_ADDRESS> maybe the only solution

@sorenh I thought vrouter make  a dns query in datacenter infrastructure from compute node :( if it does getaddressinfo(), that would be a problem. In that case we would need some different things.
Anyway even if it fix the current problem, there are other major issue (of internal dns names resolved by vms) which would need a different fix to solve.

I have an idea.
Create /etc/contrail-resolv.conf that simply reads "nameserver "
Create /etc/contrail-hosts that just has localhost entries.
Now change contrail-vrouter-agent's upstart job to do:
unshare -m /bin/sh <<EOF
mount -o bind /etc/contrail-resolv.conf /etc/resolv.conf
mount -o bind /etc/contrail-hosts /etc/hosts
...and then add all the stuff from the existing script in contrail-vrouter-agent's upstart job
EOF
This creates a new mount namespace just for contrail-vrouter-agent. Then we can mount replacement resolv.conf and hosts over it without affecting anything else on the system.

@vpramo Can you take my suggestion and implement it and see if it works as expected?

@sorenh  Sure i am trying it out on the build, will update you today

@sorenh  I tried it out, i made the edits and restarted the agent service , the service is no longer visible  in ps and after which locally i cannot ssh to my vm using the link local address.

Because the original script from the upstart job now is embedded in a heredoc, we need to escape the $'s.

So the script becomes:
script
  unshare -m /bin/sh <<EOF
  mount -o bind /etc/contrail-resolv.conf /etc/resolv.conf
  mount -o bind /etc/contrail-hosts /etc/hosts
  COMMAND="/usr/bin/contrail-vrouter-agent"
  CONF="/etc/contrail/contrail-vrouter-agent.conf"
  USER="contrail"
  OPTS="--config_file \${CONF}"

  # Allow override of command/conf and opts by /etc/default/daemon-name
  if [ -f /etc/default/\$UPSTART_JOB ]; then
    . /etc/default/\$UPSTART_JOB
  fi

  if ! [ -r "\$CONF" ] ; then
    echo "Could not read \${CONF}: exiting"
    exit 0
  fi

  exec start-stop-daemon --start \
        --pidfile /var/run/\${UPSTART_JOB}.pid \
        --exec \$COMMAND -- \$OPTS
  EOF
end script

please test this

@sorenh @hkumarmk @bodepd  I have finally incorporated the init script override in puppet-rjil. Please review the same. The init script is generally packaged as part of the vrouter package, hence i am not sure if replacing the file from puppet-rjil is a permanent solution

I think in this case, we dont need bunch of code which does changing dnsmasq to not to read /etc/hosts etc.
Here is what I think we can do:
Create /etc/contrail-resolv.conf - make it as a template and get the nameserver[s] from the param - this param should be the upstream caching dns server for VMs. So contrail-vrtouer agent will not have any idea about any internal dns names (including *.consul) and thus the VMs running on compute node.

BTW,  I confirmed that vrouter is not calling any internal names like .consul or api.jiocloud so disabling access to internal dns (including consul dns) should not affect vrouter functionality.
@sorenh This solution is great!! It really solve all those security problems because of internal dns being accessed by vms :+1:

@hkumarmk Oh, right, I hadn't considered that vrouter-agent might have legitimate uses for consul based names. Lucky that it doesnt!

@sorenh  Yes its not required, as we will ensure that /etc/contrail-resolv.conf gets pointed to GCP node in production and keep it open in AT

@sorenh yeah we are resolving it in puppet and writing IPs in vrouter.conf

@sorenh  Can we package the modified init script as part of the vrouter package. It will be better that way right or shall we keep it as an override functionailty

Please test this

@sorenh and @hkumarmk Please review , the changes.

please test this

I considered whether this should go into the contrail packages, but since it'll be referring to files that aren't in the package (namely the override files), that seems inconsistent.
I think we should file a bug upstream about this, though. I can't imagine we're the only ones who need to sanitize DNS access from VM's.

Fix the double listing of localhost in resolv.conf, and it's good to merge.

@vpramo I commented to remove some newlines which was the only change on those files, please remove them.
Also please cleanup the history - it is not required 11 commits for this small change.

please test this

@sorenh and @hkumarmk  Please review and merge. Also please update the heira variable in production.yaml

please test this

@vpramo merging this, it would be great if you could write spec tests also in future.

@vpramo please fix the above change too, so your patch can be merged. sorry I could not catch this before.

please test this

@sorenh and @hkumarmk  Done with the changes , please review and merge


Custom matchers for RSpec?

Hey @hzamani,
first of all, thank you very much for this gem. It already helped me a lot on past projects, and it's helping me again :)
On a current project, I noticed that I wanted to do a quick check on classes and instances of those classes to see if they were acting as/actables of a certain class or symbol, so I dig up your specs and saw that you have some nice boolean methods (#acting_as? + .acting_as? + .actable?) to verify that. Do you think it's interesting adding some custom matchers to the library to help people out writing specs?
Example:
# Sample rails_helper.rb

require 'rspec/acts_as_matchers'

# acts_as_matchers.rb

RSpec::Matchers.define :acts_as do |actable|
  match { |actor| actor.acting_as?(actable) }
end

RSpec::Matchers.define :be_actable do
  match { |instance| instance.class.actable? }
end

And then on specs, people would have available the following interfaces:
it { is_expected.to acts_as(:account) }
it { expect(Person).to acts_as(:account) }

it { is_expected.to acts_as(Account) }
it { expect(Person).to acts_as(Account) }

it { expect(described_class).to be_actable }

What do you think? :)
If you like the idea, I can open a PR with those changes right away. If not, I'll just close the issue.

Thanks @tiagoamaro it's always nice to have test helpers :+1:


Change schema of schema api with latest mapping osm

depend on #1129
Problem
We already has finished mapping, but it is not implemented on our schema.
And we need a system that schema can generated automatically
Solution

Create a system that automatically generate schema based on this validator : https://github.com/healthsites/healthsites/issues/1129
Or we can do in reverse, validator gets the validation from this schema
Update https://github.com/healthsites/healthsites/blob/master/django_project/api/schema.json

Already done by @myarjunar


Missing Properties definition for Object Layers and Tile Layers

You can define custom properties for Object Layers/ Tile Layers themselves, similar to how you can  define custom properties on Maps:
 <objectgroup id="38" name="ForegroundShader">
  <properties>
   <property name="EffectName" value="Fog"/>
  </properties>
 </objectgroup>

My previous TiledSharp implementation relied on this for certain layer wide parameters, would be handy to have in TiledCS

Hi @alexshaunod
I said this already in the other issue of yours, but for the sake of organizing I'll mention it here as well. I just pushed NuGet package 2.3.0, this includes both your requested changes. Let me know if it works for you :)
With kind regards,
TheBoneJarmer

The changes seems to be working fine, however I noticed the properties on my tiles are now null?

Hmm.. That's odd. But I cannot seem to reproduce the issue. Could you send me your tsx file, please? If possible with tileset? Than I can compare your tileset with mine and see what is the difference.

Here is an example of a tsx file I'm using:
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.6.0" name="collision_demo" tilewidth="32" tileheight="32" tilecount="8" columns="4">
 <image source="../../graphics/maps/tilesets/demo/collision_demo.png" width="128" height="64"/>
 <tile id="0" type="HitPolygon">
  <properties>
   <property name="Point1X" type="int" value="0"/>
   <property name="Point1Y" type="int" value="0"/>
   <property name="Point2X" type="int" value="32"/>
   <property name="Point2Y" type="int" value="0"/>
   <property name="Point3X" type="int" value="32"/>
   <property name="Point3Y" type="int" value="32"/>
  </properties>
  <objectgroup draworder="index" id="2">
   <object id="2" x="0" y="0">
    <polygon points="0,0 32,0 32,32"/>
   </object>
  </objectgroup>
 </tile>
 <tile id="1" type="HitSquare">
  <properties>
   <property name="Point1X" type="int" value="0"/>
   <property name="Point1Y" type="int" value="0"/>
   <property name="Point2X" type="int" value="32"/>
   <property name="Point2Y" type="int" value="0"/>
   <property name="Point3X" type="int" value="0"/>
   <property name="Point3Y" type="int" value="32"/>
   <property name="Point4X" type="int" value="32"/>
   <property name="Point4Y" type="int" value="32"/>
  </properties>
  <objectgroup draworder="index" id="2">
   <object id="2" x="0" y="0" width="32" height="32"/>
  </objectgroup>
 </tile>
 <tile id="2" type="HitPolygon">
  <properties>
   <property name="Point1X" type="int" value="0"/>
   <property name="Point1Y" type="int" value="0"/>
   <property name="Point2X" type="int" value="0"/>
   <property name="Point2Y" type="int" value="32"/>
   <property name="Point3X" type="int" value="32"/>
   <property name="Point3Y" type="int" value="32"/>
  </properties>
  <objectgroup draworder="index" id="2">
   <object id="4" x="0" y="0">
    <polygon points="0,0 0,32 32,32"/>
   </object>
  </objectgroup>
 </tile>
 <tile id="4" type="HitPolygon">
  <properties>
   <property name="Point1X" type="int" value="0"/>
   <property name="Point1Y" type="int" value="0"/>
   <property name="Point2X" type="int" value="32"/>
   <property name="Point2Y" type="int" value="0"/>
   <property name="Point3X" type="int" value="0"/>
   <property name="Point3Y" type="int" value="32"/>
  </properties>
  <objectgroup draworder="index" id="2">
   <object id="3" x="32" y="0">
    <polygon points="0,0 -32,0 -32,32"/>
   </object>
  </objectgroup>
 </tile>
 <tile id="5" type="HitPolygon">
  <properties>
   <property name="Point1X" type="int" value="32"/>
   <property name="Point1Y" type="int" value="0"/>
   <property name="Point2X" type="int" value="0"/>
   <property name="Point2Y" type="int" value="32"/>
   <property name="Point3X" type="int" value="32"/>
   <property name="Point3Y" type="int" value="32"/>
  </properties>
  <objectgroup draworder="index" id="2">
   <object id="2" x="32" y="0">
    <polygon points="0,0 0,32 -32,32"/>
   </object>
  </objectgroup>
 </tile>
</tileset>

Hi @alexshaunod
Thanks for sharing your tileset. Now, I copied it and loaded it locally and checked it but it all seems to work for me. Side not here, the objectgroup within a tile has no support yet. But I have to update TiledCS anyway for support for Tiled 1.7 so this will be included.
Anyways, as I can't reproduce the issue locally. Can you share what TiledCS version you are using right now? To make sure we use the same, it should be 2.3.0. Also, could you share the piece of code where you load the tileset and try to parse it?
With kind regards,
TheBoneJarmer

I'm parsing a "TiledTile" which I fetch from "TiledTileset". The .properties are what appear as null.
I'm using 2.3.0

Hi @alexshaunod
Thanks for the info. In that case I'm lost. I just tried again loading your tileset file to be absolutely certain, which always load the properties of a tile successfully. I don't understand what could be going wrong.
@delightedcat
Could you help me out with this one? I would like you to pull the same NuGet version and load his tileset. Perhaps there is some caching issue at my side, or something else. But having some fresh view on the matter may help.
With kind regards,
TheBoneJarmer

Thanks for reaching out, I'm going to have a closer look at this once I get home from work.
@alexshaunod To clarify: Are you having issues with the tile properties under the tileset tile level, or the properties under the object/tile layer level?

@delightedcat
Allow me to answer that question. The issue he experiences is with the TiledTile.properties array. It seems that it worked before my changes and now it does not. But I can't seem to reproduce that.
@alexshaunod
Which reminds me. Could you uninstall version 2.3.0 and install the previous one? And could you tell me if the tile properties parsing still works for you in that version?

Thank you, @TheBoneJarmer!
After setting up a quick test, I can conclude that parsing of the properties element is working as intended. The referenced TiledCS version in my testing environment is 2.3.0. Have a look at the used code below:
using System;
using TiledCS;
...
var tileset = new TiledTileset("collision_demo.tsx");
Console.WriteLine(tileset.Name);

foreach (TiledTile tile in tileset.Tiles)
{
    Console.WriteLine(tile.properties);
    Console.WriteLine("Not Null: {0}", tile.properties != null);
}

This returns the following output in the console:
collision_demo
TiledCS.TiledProperty[]
Not Null: True
...
TiledCS.TiledProperty[]
Not Null: True

As can be seen, each properties field returns an array of TiledPropery that is not null.
@alexshaunod Are you able to replicate the above code in your personal environment? It seems to me that there is something else that acts as a bother. If all else fails, could you show us the code you're using to load everything up? The goal here is to get as many details as possible to figure out where this issue is coming from.

UPDATE: Apologies for this, did some more investigating after work and it seems to be an issue with how Tiled saved my old layers. Creating a new layer with the tiles works for me now! :)


fix(appwrite): make meta.permissions overrideable #5767

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://refine.dev/docs/guides-concepts/contributing/#commit-convention

Bugs / Features

[x] Related issue(s) linked
[ ] Tests for the changes have been added
[ ] Docs have been added / updated
[x] Changesets have been added https://refine.dev/docs/guides-concepts/contributing/#creating-a-changeset

What is the current behavior?
Users couldn't override the default readPermissions /  writePermissions values.
What is the new behavior?
Users are able to override the default permissions by passing options.defaultReadPermissions / options.defaultWritePermissions OR by passing meta?.readPermissions / meta?.writePermissions.
If user passed options.defaultReadPermissions AND meta?.readPermissions, then the priority will be as following:
meta?.readPermissions if not? then options.defaultReadPermissions if not? then Role.any().
fixes #5767
Notes for reviewers
This should be compatible with old users who are not passing meta?.readPermissions and expecting to get Role.any() by default.

@BatuhanW I did remove the fallback value, but note that test packages/appwrite/test/create/index.spec.ts now fails.
it only passes with
     defaultWritePermissions: [Permission.write(Role.any())],
     defaultReadPermissions: [Permission.read(Role.any())]

@BatuhanW I did remove the fallback value, but note that test packages/appwrite/test/create/index.spec.ts now fails.
it only passes with defaultWritePermissions, defaultReadPermissions passed in options AND not empty array.
describe("create", () => {
  it("correct response with meta", async () => {
    const { data } = await dataProvider(client, {
      databaseId: "632455a0b8d017403ce9",
      defaultWritePermissions: [Permission.write(Role.any())],
      defaultReadPermissions: [Permission.read(Role.any())]
    }).create({
      resource: "632455a55dc72e1aa016",
      variables: {
        title: "Lorem",
      },
    });

    expect(data.title).toEqual("Lorem");
    expect(data.id).toBeTruthy();
  });
});

Yeah, we need to update tests too. And also ideally re-record them with nock.

Hey @abdelrahman-essawy, we've merged releases/april branch, so your PR is closed. Could you re-open your PR?

Hey @abdelrahman-essawy we would like to release this one with May Release. Do you have time to re-open this PR so we can get it released?

@BatuhanW sure thing, I will re-open it and update the tests this weekend.


Quick Links at the Bottom of the Page Do Not Scroll to the Top of the Page

Issue: Quick Links at the Bottom of the Page Do Not Scroll to the Top of the Page
Description:
A notable issue has been discovered on website where quick links located at the bottom of the page do not have the expected functionality to scroll the user to the top of the page when clicked.
Impact:
Inefficient Navigation: Users may find it inefficient and frustrating when they cannot quickly navigate to the top of the page using these links.
User Experience: The absence of this scroll-to-top functionality may impact the overall user experience, particularly on longer web pages.
Steps to Reproduce:

Visit website.
Scroll down the page to reach the bottom.
Attempt to click on the quick links provided at the bottom of the page to return to the top.
Observe that clicking these links does not scroll the page to the top.

Expected Resolution:
The website should be adjusted to ensure that quick links at the bottom of the page have the intended functionality to scroll users to the top of the page when clicked. Providing this feature will enhance user navigation and improve the overall user experience, particularly on lengthy web pages. Addressing this issue is essential for user satisfaction and efficient browsing.

Hello @Sohailqureshi9 ,
We've successfully fixed the problem where the quick links at the bottom of the page were not scrolling to the top of the page.
Thank you for bringing this to our attention, and we appreciate your patience. If you come across any more issues or have additional feedback, please don't hesitate to reach out.
Best regards,
@beKashif
@Ninjas-Code-official/ninjas-code


Remove static lib

After multiple failed attempts to use outputs and create a static and dynamic linked library I gave up and decided to follow what we already do on Windows. Just don't build the static lib.
I'm planning on sending PRs like these to many of our libraries to reduce the package size and improve cloud deployment experience. 99.99% of the time we don't need the static libs, but if we recognize places where we need them I must figure out a way to use multiple outputs correctly.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Ignore abstract base-classes in CheckTypehintCallerTypeRule

reproduces https://github.com/symplify/phpstan-rules/issues/24

the first commit shows that the test-case fails before this PR. the second commit fixes the underlying problem.

Thanks :+1:


Code Review - Repository

Repo:

Good thing you have already deployed your site! ✅
You do not yet have a README that already describes some of your project. 😢
Have you used some sources yet? Maybe you can already add it to your README by then.

To Solve this Issue:

[x] Write a description of your case.
[x] Write a piece about the layers of your application (pleasurable, functional, etc.)
[x] Add your wireflow to your README.
[x] Put your livelink in your README as well.
[x] Add the sources to the README.
[x] Maybe you can describe your installation process.

Thanks for the feedback! 😄👍


View Participants

Feature agera-edc/DataDashboardFork#17
Description
As a dataspace participant, I want to see who the other participants in a dataspace are, to find out with whom I can exchange data.
Note: UI work is covered by agera-edc/EDCDataDashboard#18
Acceptance Criteria

[ ] Participants page is available that lists all participants per dataspace
[ ] Documentation is available

Tasks

[ ] Add documentation for the Participants page

Participants can be retrieved from the Registration Service once it is implemented. This functionality is not required for the Data Dashboard (which is a UI for the DataManagementAPI) and will be implemented on the MVD UI.


Grafana displays the pods which have been deleted long ago

k8s version: 1.9.3
heapster version: 1.4.2
influxdb version: 1.3.3
grafana version: 4.4.3
Problem：Grafana displays the pods which have been deleted long ago

cc @andyxning @acobaugh

This is the desired result, imo. As all the metrics data are stored in influxdb. If the data was not deleted from influxdb in a retention policy interval, it should be visible to end users.

Based on https://github.com/kubernetes/heapster/issues/1179, I have deal with it successfully. Thank you!!

/close


Silence warnings on OTP 17.0

This PR silences three warnings about deprecated types when compiling eredis under Erlang 17.0.

Do you plan to merge this into master? The errors on OTP 17 are really annoying

Sorry for taking forever to get to this. I just got back the write access to the repo. :-)
Yes, I will merge this. I will also close #54 since this version also works on R16.


Error: PythonPipBuilder:ResolveDependencies - {boto3==1.13.17(sdist)}

Describe the bug
Using boto3 as a dependency in my SAM Application and build is failing due to the following error:
Error: PythonPipBuilder:ResolveDependencies - {boto3==1.13.17(sdist)}
Hard to tell whether the bug is in pip, AWS SAM or something else as I'm seeing 1.13.17 on pypi.org - using latest version from all.
Fixing the version to 1.13.16 in requirements.txt eliminates the issue.
Steps to reproduce

Create a SAM application
Execute sam build

Expected behavior
1.13.17 should work fine just like previous versions.
Debug logs
$ sam build --debug
Telemetry endpoint configured to be https://aws-serverless-tools-telemetry.us-west-2.amazonaws.com/metrics
'build' command is called
No Parameters detected in the template
4 resources found in the template
Found Serverless function with name='MyFunction' and CodeUri='hello_world'
No Parameters detected in the template
Building function 'MyFunction'
Loading workflow module 'aws_lambda_builders.workflows'
Registering workflow 'PythonPipBuilder' with capability 'Capability(language='python', dependency_manager='pip', application_framework=None)'
Registering workflow 'NodejsNpmBuilder' with capability 'Capability(language='nodejs', dependency_manager='npm', application_framework=None)'
Registering workflow 'RubyBundlerBuilder' with capability 'Capability(language='ruby', dependency_manager='bundler', application_framework=None)'
Registering workflow 'GoDepBuilder' with capability 'Capability(language='go', dependency_manager='dep', application_framework=None)'
Registering workflow 'GoModulesBuilder' with capability 'Capability(language='go', dependency_manager='modules', application_framework=None)'
Registering workflow 'JavaGradleWorkflow' with capability 'Capability(language='java', dependency_manager='gradle', application_framework=None)'
Registering workflow 'JavaMavenWorkflow' with capability 'Capability(language='java', dependency_manager='maven', application_framework=None)'
Registering workflow 'DotnetCliPackageBuilder' with capability 'Capability(language='dotnet', dependency_manager='cli-package', application_framework=None)'
Registering workflow 'CustomMakeBuilder' with capability 'Capability(language='provided', dependency_manager=None, application_framework=None)'
Found workflow 'PythonPipBuilder' to support capabilities 'Capability(language='python', dependency_manager='pip', application_framework=None)'
Running workflow 'PythonPipBuilder'
Running PythonPipBuilder:ResolveDependencies
calling pip download -r /Users/username/Documents/project-folder/requirements.txt --dest /var/folders/2_/1skgx3gn683b9kbfc9xnj8_40000gn/T/tmpj9534uax
Full dependency closure: {urllib3==1.25.9(wheel), python-dateutil==2.8.1(wheel), jmespath==0.10.0(wheel), six==1.15.0(wheel), boto3==1.13.17(sdist), chardet==3.0.4(wheel), requests==2.23.0(wheel), s3transfer==0.3.3(wheel), botocore==1.16.17(wheel), docutils==0.15.2(wheel), certifi==2<IP_ADDRESS>(wheel), idna==2.9(wheel)}
initial compatible: {urllib3==1.25.9(wheel), python-dateutil==2.8.1(wheel), jmespath==0.10.0(wheel), six==1.15.0(wheel), chardet==3.0.4(wheel), requests==2.23.0(wheel), s3transfer==0.3.3(wheel), botocore==1.16.17(wheel), docutils==0.15.2(wheel), certifi==2<IP_ADDRESS>(wheel), idna==2.9(wheel)}
initial incompatible: {boto3==1.13.17(sdist)}
Downloading missing wheels: {boto3==1.13.17(sdist)}
calling pip download --only-binary=:all: --no-deps --platform manylinux1_x86_64 --implementation cp --abi cp38 --dest /var/folders/2_/1skgx3gn683b9kbfc9xnj8_40000gn/T/tmpj9534uax boto3==1.13.17
compatible wheels after second download pass: {urllib3==1.25.9(wheel), python-dateutil==2.8.1(wheel), jmespath==0.10.0(wheel), six==1.15.0(wheel), chardet==3.0.4(wheel), requests==2.23.0(wheel), s3transfer==0.3.3(wheel), botocore==1.16.17(wheel), docutils==0.15.2(wheel), certifi==2<IP_ADDRESS>(wheel), idna==2.9(wheel)}
Build missing wheels from sdists (C compiling True): {boto3==1.13.17(sdist)}
calling pip wheel --no-deps --wheel-dir /var/folders/2_/1skgx3gn683b9kbfc9xnj8_40000gn/T/tmpj9534uax /var/folders/2_/1skgx3gn683b9kbfc9xnj8_40000gn/T/tmpj9534uax/boto3-1.13.17.tar.gz
compatible after building wheels (no C compiling): {urllib3==1.25.9(wheel), python-dateutil==2.8.1(wheel), jmespath==0.10.0(wheel), six==1.15.0(wheel), chardet==3.0.4(wheel), requests==2.23.0(wheel), s3transfer==0.3.3(wheel), botocore==1.16.17(wheel), docutils==0.15.2(wheel), certifi==2<IP_ADDRESS>(wheel), idna==2.9(wheel)}
Build missing wheels from sdists (C compiling False): {boto3==1.13.17(sdist)}
calling pip wheel --no-deps --wheel-dir /var/folders/2_/1skgx3gn683b9kbfc9xnj8_40000gn/T/tmpj9534uax /var/folders/2_/1skgx3gn683b9kbfc9xnj8_40000gn/T/tmpj9534uax/boto3-1.13.17.tar.gz
compatible after building wheels (C compiling): {urllib3==1.25.9(wheel), python-dateutil==2.8.1(wheel), jmespath==0.10.0(wheel), six==1.15.0(wheel), chardet==3.0.4(wheel), requests==2.23.0(wheel), s3transfer==0.3.3(wheel), botocore==1.16.17(wheel), docutils==0.15.2(wheel), certifi==2<IP_ADDRESS>(wheel), idna==2.9(wheel)}
Final compatible: {urllib3==1.25.9(wheel), python-dateutil==2.8.1(wheel), jmespath==0.10.0(wheel), six==1.15.0(wheel), chardet==3.0.4(wheel), requests==2.23.0(wheel), s3transfer==0.3.3(wheel), botocore==1.16.17(wheel), docutils==0.15.2(wheel), certifi==2<IP_ADDRESS>(wheel), idna==2.9(wheel)}
Final incompatible: set()
Final missing wheels: {boto3==1.13.17(sdist)}
PythonPipBuilder:ResolveDependencies failed
Traceback (most recent call last):
  File "/usr/local/Cellar/aws-sam-cli/0.51.0/libexec/lib/python3.7/site-packages/aws_lambda_builders/workflows/python_pip/actions.py", line 42, in execute
    requirements_path=self.manifest_path,
  File "/usr/local/Cellar/aws-sam-cli/0.51.0/libexec/lib/python3.7/site-packages/aws_lambda_builders/workflows/python_pip/packager.py", line 137, in build_dependencies
    self._dependency_builder.build_site_packages(requirements_path, artifacts_dir_path, scratch_dir_path)
  File "/usr/local/Cellar/aws-sam-cli/0.51.0/libexec/lib/python3.7/site-packages/aws_lambda_builders/workflows/python_pip/packager.py", line 201, in build_site_packages
    raise MissingDependencyError(packages_without_wheels)
aws_lambda_builders.workflows.python_pip.packager.MissingDependencyError: {boto3==1.13.17(sdist)}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/Cellar/aws-sam-cli/0.51.0/libexec/lib/python3.7/site-packages/aws_lambda_builders/workflow.py", line 269, in run
    action.execute()
  File "/usr/local/Cellar/aws-sam-cli/0.51.0/libexec/lib/python3.7/site-packages/aws_lambda_builders/workflows/python_pip/actions.py", line 45, in execute
    raise ActionFailedError(str(ex))
aws_lambda_builders.actions.ActionFailedError: {boto3==1.13.17(sdist)}

Build Failed
Sending Telemetry: {'metrics': [{'commandRun': {'awsProfileProvided': False, 'debugFlagProvided': True, 'region': '', 'commandName': 'sam build', 'duration': 10242, 'exitReason': 'WorkflowFailedError', 'exitCode': 1, 'requestId': 'c8dad198-6e91-45fb-a38a-094107f477c6', 'installationId': 'dcd60592-1491-4b42-ab26-a91d10922847', 'sessionId': '75c4ff44-27b2-44fc-9acf-44c187d64c00', 'executionEnvironment': 'CLI', 'pyversion': '3.7.7', 'samcliVersion': '0.51.0'}}]}
HTTPSConnectionPool(host='aws-serverless-tools-telemetry.us-west-2.amazonaws.com', port=443): Read timed out. (read timeout=0.1)
Error: PythonPipBuilder:ResolveDependencies - {boto3==1.13.17(sdist)}

Carried over from https://github.com/boto/boto3/issues/2460

I am not able to replicate this issue (builds fine for me), which may mean that this is a PIP issue of some sort. We don't have any special logic around boto3 that should make PIP behavior change.

There are a couple of general workarounds:

One, it's possible your PIP is getting an outdated cache? There's an old issue about this so it likely isn't the case still if you run build again, but there's some precedent: https://github.com/pypa/pip/issues/4888
Two, you may be able to unblock by running sam build --use-container as the container may pick up a newer pip package manifest.

Closing for now, if you continue to have issues feel free to reopen.

Thanks for looking into this @awood45, checked without version constraint now and it builds fine, so yes, it was a temporary issue in PIP.
Sorry for the inconvenience.


update of the license file to make it generic

Should we bikeshed capitalization? :smile: (I don't have a strong preference either way and happy to merge this)

For consistency reasons I would use "uutils", it's what we use everywhere else.

sure, updated :)


Gra 824 join refactor

updates to new node/host/server struct....
what works:
join via username/network/server or token (single and dual stack networks)
list
install
version
connect/disconnect (with limitations)
what doesn't
leave
uninstall
pull
-- cannot authenticate with server due to way passwds are stored on server
daemon

daemon starts but wg-peers are not populated.

with refactor of peerupdates in netmaker; leave, uninstall, pull now work


Parse a input list file instead of querying CMR

DAAC query and retrieval script should be able to read a file containing list of inputs (URIs) and download the data and stage into the ISL. This capability is for when there is an issue connecting to CMR.

Would it be sufficient to ingest this list into the ES index containing the URIs?

Yes