Ability to decode a section of the picture via x/y h/w with minimal I/O

Is your feature request related to a problem? Please describe.
Software like DigiKam and LibrePhotos detect faces via image recognition with a NN. Afterwards the faces are stored as x/y w/h information either in a database, a sidecar file or in the picture's metadata itself.
Faces can be shown in a gallery, and therefore special thumbnails of the cropped faces are generated and stored in addition to regular thumbnails.
Describe the solution you'd like
To avoid the additional creation of thumbnail files, analog to #1621. It would be neat if libjxl would crop out a specific region of the image and decode it – without the need to fetch the whole image via network/from storage.
I asked @jonsneyers if the bit stream would allow this in theory, and he acknowledged that this is possible. :)
Describe alternatives you've considered
Creating an additional layer in the same file per face and just decode it. But this would alter the Image data, increase the image size by duplicating some data and in addition may lead to some incompatibilities.

This would be useful for browsers as well, CSS Images 4 has the ability to specify crop regions for image loading

This would also be dope for icons under Linux:
Currently there's a bunch of different PNGs for each application. Something like 32x32, 48x48, 96x96, 128x128 and 256x256. It would be neat if the desktops could start using a single JXL.
I guess the same goes for texture files in graphic engines, which currently use mipmaps - which is basically the same what icons do, just in a single file.
Switching from mipmaps to a single jxl image should reduce the memory consumption (if the largest image is loaded) by 33%.
For efficient storing of the image in lower resolutions in memory it would also be nice if the jxl decoder could write the necessary data for this resolution into a memory location.
Example:

A Linux desktop knows which resolution of icons is needs for its operation from the display resolution
Now it fetches all icons from disk via the jxl library
The jxl image data is written to memory
Everything not necessary for the requested resolution is written as zeros and not fetched by the decoder from disk.
The image data is compressed by RLE to save the space written as zeros

In case the screen resolution changes:

jxl library gets the memory location of the old file and the filename plus the new resolution
It writes out the necessary data for the new resolution to a new memory location.

This should help to minimize the necessary memory required for keeping the most important icons in memory and only decode them to the GPU memory when they are visible, but without disk io delay.

Some numbers on this use case with the icon of the Lbry desktop app:

The shipped icons atm by the application are 36.7 KB of PNG.
On disk they need 44K (according to du -h)
The largest provided (256x256px) is 18.9 KB.
A visually lossless jxl of the largest image is 8.1 KB (encoded with -m -e 9 -d 1  --progressive --progressive_dc=1 -Q 90)
On disk they need 8K (according to du -h)
Uncompressed would that 256x256px image use 679.8 KB of memory.
Decoding of the jxl with full resolution takes 25ms.
Decoding of the 256x256px png takes 30ms.

Conclusion:

Discarding the uncompressed image when not needed and just storing the 256x256 KByte image in memory would save 98.8% of memory.
If the png images are currently stored in memory and decompressed when necessary the memory saving would be 57.1%.
Disk storage reduction would be 81.8%

This is also a very important feature for large images, e.g. in the geospatial or medical domain, where it is not practical to decode the entire image at once on a standard desktop. This is often done in regions/resolutions at a time for interactive display.

@jonsneyers it's been two years since your answer here. I was wondering if there's already parts of that implemented or planned to be implemented in the future.
Ladybird just landed full JXL support would be dope if there's a chance to get lower resolution target decoding or CSS 4 crop regions :)

Progressive previews you can already get with the current API, and for the web right now that's the main thing you need in a browser.
For doing something like responsive images from a single img src, you'd need something more (and I think we still need to make some kind of POC demo of how it can be effective enough, compared to the usual approach of several downscales, one for each responsive breakpoint / viewport width bucket). For cropped decode too, we still need to define an API for that. Behind the hood, libjxl does already have most of the ingredients to do efficient cropped decode. But these things are something we can add after v1.0, I don't know if we should postpone v1.0 for these things.

Cropped decode
Cropped decode would be kind of important for pages like YouTube, which is currently not likely to switch to jxl I guess.
I'm not even sure if stitching is the best method here, given that JXL supports animation, but I can see the benefit of having one resource instead of a dozent or two.
But the I do see that overall the cropped decoding overall would have a pretty low priority - I agree.
Responsive Inages
Having one, huge file which serves every resolution would be a game changer for many websites and should IMHO get priority. I mean it doesn't need to be perfect initially.
I think this has two components: I/O and decoding
From the webclient/server communication only the total file size will be known, so the client needs to make an educated guess on how much of the file it wants to fetch initially.
Aand then it needs to figure out while decoding if it needs to fetch more data for a needed resolution, best as early as possible, so it doesn't need to stop decoding while it waits for more data from the network.
And then of course the decoder needs to know how detailed his rendering is in terms of resolution, while outputting the progressive preview, so it needs to know when to stop.
Bonus feature would be to be able to store the decoding data next to the image data, and being able to seamlessly continue decoding with it if there's a need for a larger resolution - aka the user tapped on a image to enlarge it, for example.
This would allow for a lower latency.

I wonder if the new rust decoder Google is building for jxl (to be adopted into Firefox) will get responsive decoding.
Would be pretty dope!


how to send data to multiple universes

Hello Hiroyuki, I've noticed the recent rewrite and was wondering which was the correct usage for sending data to different universes.
As the universe is set in setup and protected I suppose I have to use a vector of ofxArtnetSender objects to send to multiple universes. Or maybe it is just some functionality missing and about to be implemented.
Feel free to close this issue. Thank you

Hi Dimitri, I am facing the same problem currently. Did you already solve it? Thanks!

Not yet, im still using legacy branch here to be able to use multiple universes

Interesting, when I try to compile the legacy version (as I need the multiple universes) it gives me the following compile errors..

Any chance you know why it gives them?

Hello @dimitre @MatthijsHoekstra
Sorry for late reply.
In case you want to send data to different universes, you have to have a vector of ofxArtnetSender.
	artnets.emplace_back(make_shared<ofxArtnetSender>());
	artnets.back()->setup("<IP_ADDRESS>",0);//universe 0
	artnets.emplace_back(make_shared<ofxArtnetSender>());
	artnets.back()->setup("<IP_ADDRESS>",1);//universe 1

Hello @hiroyuki in fact I've noticed if I use the optional universe parameter this addon doesn't work.
Maybe it is setting artnet port instead of universe?
Thank you

Oh, yes. You are right. it is the port address.
if you want to send to different universes, you need that in ofxArtnetMessage
	inline void setUniverse15(unsigned int universe) { _portAddress = _universe = universe; } 	inline void setUniverse(unsigned int net, unsigned int subnet, unsigned int universe)

@dimitre @MatthijsHoekstra
I re-opened this.
Please close if it is OK.

Thank you! I'll be closing this one. everything is working here!


How to change RpcContext some property value by telnet invoke?

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.6.0
Operating System version: Windows 10
Java version: 1.8

I want set some RpcContext property value by telnet invoke, how to achieve it? thanks~

maybe you can implement your own telnet command, SPI will help you.

maybe you can implement your own telnet command, SPI will help you.

Yes,but invoke client is PHP, I need some attachments, so php client how to set it?

maybe you can implement your own telnet command, SPI will help you.

Yes,but invoke client is PHP, I need some attachments, so php client how to set it?

your telnet command implementation should be in your server side, so you can define your own argument rules, parse it and set RpcContext.

maybe you can implement your own telnet command, SPI will help you.

Yes,but invoke client is PHP, I need some attachments, so php client how to set it?

your telnet command implementation should be in your server side, so you can define your own argument rules, parse it and set RpcContext.

I implement TelnetHandler, but it not effect, use default InvokeTelnetHandler.

maybe you can implement your own telnet command, SPI will help you.

Yes,but invoke client is PHP, I need some attachments, so php client how to set it?

your telnet command implementation should be in your server side, so you can define your own argument rules, parse it and set RpcContext.

I found invoke command is default,so my implement is not worked, when use my config command can worded,  how to replace default invoke command???

First we should implement org.alibaba.dubbo.remoting.telnet.TelnetHandler(dubbo version 2.6.0), like Dubbo Official website says (http://dubbo.apache.org/zh-cn/docs/dev/impls/telnet-handler.html) xxx=com.xxx.XxxTelnetHandler，when telneted, we can use xxx command. we can also override default command, like invoke, we just set <dubbo:provider telnet="invoke" /> invoke=com.xxx.XxxTelnetHandler, then org.alibaba.dubbo.remoting.telnet.TelnetHandler file dir is resoures/META-INFO/dubbo/internal.


Material Text Field should resize to fit text or allow for line breaks

If the user enters a very long string into a MaterialTextField it doesn't word wrap or resize the text to fit in the box.  Is this possible?

*Note: I have an icon overlayed on top of that MaterialTextField which is what the black spot is.

A multiline text field is not possible at this point since MaterialTextField uses the Entry control to input text. And only an Editor can be used to input multiline text. What I can do for now is to fix the margin of the trailing icon so that the text won't overlap.

Can you provide the XAML code for that particular text field.

I can't replicate the issue of the overlapping icon.

O sorry, I should've clarified. The icon isn't an issue, I actually have disabled your icon and using a grid am placing my own icon on top of the MaterialTextFieldControl. I was doing that so on tap I could animate the arrow and split the address field into it's separate components (Line1, Line2, State, Etc)

I will close this issue. There is a similar issue filed for this feature.


Avoid errors on non UTF-8 Windows

Problem
haddock exits with errors like below:
(1)
haddock: internal error: <stderr>: hPutChar: invalid argument (invalid character)

(2)
haddock: internal error: Language\Haskell\HsColour\Anchors.hs: hGetContents: invalid argument (invalid byte sequence)

(1) is caused by printing the "bullet" character onto stderr.
For example, this warning contains it:
Language\Haskell\HsColour\ANSI.hs:62:10: warning: [-Wmissing-methods]
    • No explicit implementation for
        ‘toEnum’
    • In the instance declaration for ‘Enum Highlight’

(2) is caused when the input file of readFile contains some Unicode characters.
In the case above, '⇒' is the cause.
Environment
OS: Windows 10
haddock: 2.17.3
GHC: 8.0.1
Solution
Add hSetEncoding handle utf8 to avoid the errors.
Note

I found the detailed causes by these changes for debugging:

https://github.com/haskell/haddock/commit/8f29edb6b02691c1cf4c479f6c6f3f922b35a55b
https://github.com/haskell/haddock/commit/1dd23bf2065a1e1f2c14d0f4abd847c906b4ecb4

These errors happen even after executing chcp 65001 on the console.
According to the debug code, hGetEncoding stderr returns CP932 regardless of the console encoding.

Yes! I think so! Please write in that ticket that you are also affected by
this. This maybe raises the interested in fixing it.
As a workaround I can point you to
https://www.haskell.org/cabal/release/cabal-install-<IP_ADDRESS>/cabal-install-<IP_ADDRESS>-x86_64-unknown-mingw32.zip
This cabal doesn't use the new store layout yet. And it works for me right
now.
Yuji Yamamoto<EMAIL_ADDRESS>schrieb am Di., 4. Juli 2017 um
14:58 Uhr:

@igrep commented on this pull request.
In haddock-api/src/Haddock/Interface.hs
https://github.com/haskell/haddock/pull/566#discussion_r125466811:

@@ -165,6 +167,7 @@ createIfaces verbosity flags instIfaceMap mods = do
processModule :: Verbosity -> ModSummary -> [Flag] -> IfaceMap -> InstIfaceMap -> Ghc (Maybe Interface)
processModule verbosity modsum flags modMap instIfaceMap = do
out verbosity verbose $ "Checking module " ++ moduleString (ms_mod modsum) ++ "..."

liftIO $ hSetEncoding stderr utf8

Looks like haskell/cabal#4515
https://github.com/haskell/cabal/issues/4515
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/haskell/haddock/pull/566#discussion_r125466811, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AByiiVuWJmLRdF4Gp8kM81sttZJoV9geks5sKjbagaJpZM4LZm8v
.

Looks good to me! As soon as it is green I will merge and ping ben to make sure this is included in the release for ghc-8.2.

Thanks again @igrep! ben just confirmed this will be part of ghc-8.2! So you can enjoy your fruits of work soon!

Thank you! I confirmed GHC 8.2.1 rc3's haddock contains my patch! 😄


map-marker-clusterer is not working when there are more than 300 map markers

Here is my code.
When the markers's length is greater than 300, some tiles in map are not displaying, just showing grey screen.
`<google-map
#rootMap
id="rootMap"
width="100%"
height="100%"
[options]="options"

<map-marker-clusterer
  [imagePath]="constant.mcOptions.imagePath"
  [maxZoom]="constant.mcOptions.maxZoom"
  [zoomOnClick]="constant.mcOptions.zoomOnClick"
>
  <map-marker
    *ngFor="let marker of markers"
    [position]="marker.position"
    [title]="marker.title"
    [icon]="marker.icon"
  >
  </map-marker>
</map-marker-clusterer>

`
Expected Behavior
I am expecting the all the part of the map will be rendered exactly.
Actual Behavior
Let me attach screenshot for current status.

Environment

Angular: Version 12
Browser(s): Chrome Version 93.0.4577.63 (Official Build) (64-bit)
Operating System : Ubuntu

Thanks in advance!

Closing due to inactivity.


Iberian Peninsula dataset that can be easily adjusted to other countries

If you find it relevant, I have used two different approaches to build my own Holidays dataset for the Iberian Peninsula.
They can be easily adjusted to consider other countries/regions.
The scripts are available on this repo, on GitHub.
• In this one, I have added the holidays dates manually.
• In this one, I am taking advantage of Facebook Prophet.

Hi,
fbprophet in fact depends on python-holidays:
https://github.com/facebook/prophet/blob/master/python/requirements.txt
Cheers,
dr-p


enhancement: Integration Tests

can be in the sample apps or better a small integration test suite here in the repository.
Personally I like the mocha for integ tests e.g. https://github.com/WalletConnect/registry-api-cf-workers/tree/master/integration

can be in the sample apps or better a small integration test suite here in the repository.
Personally I like the mocha for integ tests e.g. https://github.com/WalletConnect/registry-api-cf-workers/tree/master/integration

@arein the ref link seems not found now. Could you please update? how about using bats for integration tests?

@HarryET any ideas how to actually test this? I think it needs to be e2e with the SDKs

Yeah E2E, or we can have a local suite which calls all the endpoints but maybe that can be part of unit tests


Display warning if user has modified proxy settings

For example, Youku will change the proxy settings, overriding uProxy's.
Couple options:

Detect when proxy settings have been modified by any other extension, display a desktop notification / warning, and stop the peer connection.
Maybe provide an option which, when enabled, always tries to override browser proxy settings with uProxy's.

Closing as this is not a priority right now, although this has been largely handled in Chrome already


Make Tool.run and Tool.parseAndRun async

This makes it possible to execute tools and wait for their completion.
Several other methods on Tool also became async as well to support this change. This will require extensive (mostly manual) testing.

@bbastings Should onManipulatorEvent be async?
    public onManipulatorEvent(_eventType: EventType): void {
      // eslint-disable-next-line @typescript-eslint/no-floating-promises
      this.updateControls();
    }

Marker mouse event handlers should probably be async too (perhaps not as part of this PR).
One example (below) in IncidentMarkerDemo.ts; another one in MeasureDistanceTool.acceptNewSegments.
  public override onMouseButton(ev: BeButtonEvent): boolean {
    if (ev.button === BeButton.Data && ev.isDown)
      await IModelApp.notifications.openMessageBox(MessageBoxType.LargeOk, `severity = ${this.severity}`, MessageBoxIconType.Information); // eslint-disable-line @typescript-eslint/no-floating-promises

@calebmshafer if you love this PR so much please approve it. :)

@bbastings Should onManipulatorEvent be async?
I don't think so, it's called from the IModelConnection.selectionSet.onChanged event too...

@calebmshafer if you love this PR so much please approve it. :)

@pmconne lol reviewing it now...


Mshery blue highlighted texts are replaced

Signed-off-by: gunjanmimo<EMAIL_ADDRESS>

Why is this needed now? It has been fixed already!

Actually I made this mistake when I was making this new getting started section, where I presented the Meshery word in blue colour, as we know blue represent any hyperlink. So I removed blue color

@gunjanmimo this PR's preview looks good. The changed include in this PR are to clean up unused <spans> and unused CSS, right?

Near as I can tell, we're good to go here: a little cleanup and a vector image.


scaffold got wrong master config sample

Describe the bug
The master.volume_growth setting generated by weed scaffold -config=master wont work.
# create this number of logical volumes if no more writable volumes
# count_x means how many copies of data.
# e.g.:
#   000 has only one copy, count_1
#   010 and 001 has two copies, count_2
#   011 has only 3 copies, count_3
[master.volume_growth]
count_1 = 7                # create 1 x 7 = 7 actual volumes
count_2 = 6                # create 2 x 6 = 12 actual volumes
count_3 = 3                # create 3 x 3 = 9 actual volumes
count_other = 1            # create n x 1 = n actual volumes

System Setup
weed 1.65
Expected behavior
Should be something like:
# create this number of logical volumes if no more writable volumes
# copy_x means how many copies of data.
# e.g.:
#   000 has only one copy, copy_1
#   010 and 001 has two copies, copy_2
#   011 has only 3 copies, copy_3
[master.volume_growth]
copy_1 = 7                # create 1 x 7 = 7 actual volumes
copy_2 = 6                # create 2 x 6 = 12 actual volumes
copy_3 = 3                # create 3 x 3 = 9 actual volumes
copy_other = 1            # create n x 1 = n actual volumes

Relative code:
https://github.com/chrislusf/seaweedfs/blob/c07bcd5065391441cdc97c05975e447999bab4b1/weed/topology/volume_growth.go#L51-L56
Screenshots
None
Additional context
None

Thanks for reporting!


[dataprotection] Add command models for backup-instance, backup-policy, resource-guard and restorable-time-range

Related azure-cli-extensions PR: https://github.com/Azure/azure-cli-extensions/pull/6385

I have removed previously generated data-protection command models as well.


Morning session: peer-to-peer code reviews

Your project is complete! You have done it exceptionally well. But we found a few things missing; if you add those, your app would be much better.
@Metaverse-Nabeel

There are multiple console.log statements in your code. I would recommend removing those.
It is not good practice to use /* eslint-enable */ for correcting linter errors. I would recommend removing those.
Readme file is not ready. Don't forget to update professionally before submission for final review.

@danielamoreno699

All the functions and API calls are from index.js. I would recommend using separate modules for each task. As it is one of the objectives of this capstone project as well.
I Will suggest making a separate function for the post comment, so you can call the post comment inside the submit function. Also, you can wrap the whole submit function since is not contained in a function.

Thanks for the review.

The eslint enable is used because of the async function.
The Readme will be updated before sending the final review.
Great idea on the modules! we will definitively use them!


PageStreaming rewrite

Plus tests and a bugfix for ClientHelper.
And a tiny bit of tidying.

Fine barring the nits.


Queue don’t gracefully exit when running Artisan::call inside a Job

Laravel Version
10.14.1
PHP Version
8.2.6
Database Driver & Version
not relevant
Description
Since this commit , running an Artisan::call() in a Job overwrites the PCNTL signal management of the worker:queue with that of Symfony.
This makes it possible to stop worker processes instantly without finishing the current Job.
This creates a lot of problems when using Horizon in "auto" mode.
Steps To Reproduce

Create a simple job like:

public function handle(): void
{
    Log::debug('Job start');
    Artisan::call('about');
    Log::debug('Start waiting');
    sleep(60);
    Log::debug('Job terminated');
}

Start the command queue:worker
Insert your job
Send a sigterm to the queue:worker process
The job will exit before the last log: Job terminated

PR was merged. Thanks!


De-prioritize IPs with 2 or more connections.

The goal is to force an attacker to spread out with multiple IPs
to exaust connection slots, making the attack more expensive.
This is done by creating a single-ip-ipgroup for every node that does
not belong to any other ipgroups. For every new connection from the same
ip, that group gets lower priority. When a node disconnects, the
priority increases again.

Log from 1 of my nodes:
dagurval@xt-t1:~/.bitcoin$` grep evicting debug.log  | wc -l
486010
dagurval@xt-t1:~/.bitcoin$ grep evicting debug.log  | tail -n 50
2016-06-16 05:46:21 Connection slots exhausted, evicting peer 813153 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:25 Connection slots exhausted, evicting peer 813156 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:27 Connection slots exhausted, evicting peer 813159 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:27 Connection slots exhausted, evicting peer 813160 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:31 Connection slots exhausted, evicting peer 813161 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:34 Connection slots exhausted, evicting peer 813178 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:34 Connection slots exhausted, evicting peer 813167 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:36 Connection slots exhausted, evicting peer 813166 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:37 Connection slots exhausted, evicting peer 813169 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:39 Connection slots exhausted, evicting peer 813176 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:41 Connection slots exhausted, evicting peer 813179 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:42 Connection slots exhausted, evicting peer 813173 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:45 Connection slots exhausted, evicting peer 813198 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:48 Connection slots exhausted, evicting peer 813191 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:51 Connection slots exhausted, evicting peer 813200 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:53 Connection slots exhausted, evicting peer 813180 with priority -1 (group 2a01:7c8:aac0:5ec:9137:5223:db21:739) to free up resources
2016-06-16 05:46:56 Connection slots exhausted, evicting peer 813206 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:57 Connection slots exhausted, evicting peer 813187 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:46:59 Connection slots exhausted, evicting peer 813184 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:00 Connection slots exhausted, evicting peer 813199 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:07 Connection slots exhausted, evicting peer 813212 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:09 Connection slots exhausted, evicting peer 813183 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:09 Connection slots exhausted, evicting peer 813190 with priority -1 (group 2a01:7c8:aac0:5ec:9137:5223:db21:739) to free up resources
2016-06-16 05:47:23 Connection slots exhausted, evicting peer 813193 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:25 Connection slots exhausted, evicting peer 813192 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:30 Connection slots exhausted, evicting peer 813194 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:31 Connection slots exhausted, evicting peer 813195 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:33 Connection slots exhausted, evicting peer 813201 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:34 Connection slots exhausted, evicting peer 813203 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:38 Connection slots exhausted, evicting peer 813204 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:41 Connection slots exhausted, evicting peer 813205 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:42 Connection slots exhausted, evicting peer 813207 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:43 Connection slots exhausted, evicting peer 813214 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:43 Connection slots exhausted, evicting peer 813208 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:43 Connection slots exhausted, evicting peer 813209 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:44 Connection slots exhausted, evicting peer 813211 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:47 Connection slots exhausted, evicting peer 813216 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:48 Connection slots exhausted, evicting peer 813218 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:48 Connection slots exhausted, evicting peer 813220 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:49 Connection slots exhausted, evicting peer 813213 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:49 Connection slots exhausted, evicting peer 813221 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:49 Connection slots exhausted, evicting peer 813223 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:51 Connection slots exhausted, evicting peer 813219 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:56 Connection slots exhausted, evicting peer 813222 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:47:59 Connection slots exhausted, evicting peer 813225 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:48:11 Connection slots exhausted, evicting peer 813215 with priority -1 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:48:14 Connection slots exhausted, evicting peer 813217 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:48:15 Connection slots exhausted, evicting peer 813226 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:48:17 Connection slots exhausted, evicting peer 813227 with priority -2 (group <IP_ADDRESS>) to free up resources
2016-06-16 05:48:22 Connection slots exhausted, evicting peer 813228 with priority -2 (group <IP_ADDRESS>) to free up resources


Merge messages and submessages

With #948 a submessage can do everything that a message can. This means we probably can merge the two concepts.

@ethanfrey It would be nice to be able to do this, but we are running into troubles. What's the value of merging them together? In #961 it becomes clear that we actually want to maintain two concepts: the simple case that is sufficient for the majority of use cases and the advanced case. If we use the advanced case for everything, we add a whole level of nesting and metedata that needs to be populated somehow.
E.g. before there was Response::add_message and Response::add_submessage such that contract developers do not even need to know sub messages exist to use add_message. In the proposed solution it is required to do two levels of conversion in order to maitain roughly the same convenience as before. The first level (BankMsg -> CosmosMsg) comes very natural because there is only one possible way for a CosmosMsg to host a BankMsg. The second conversion level is problematic as there is no way of converting CosmosMsg to SubMsg without adding more context of the use case. It's like tying to convert an u64 to a Point {x: u64, y: u64 }.
Also the resulting JSON structure becomes larger and more expensive to serialize/deserialize because all simple messages get an additional submessage wrapper object.
Isn't it much easier to explain that there are messages and submessages and submessages are more powerful than trying to hide all the complexity of submessages?

When we invented submessages, the original idea was to make some joint structure. This was dropped in favor of two vectors as an easy way to hide complexity. It turns out the ordering is needed, and this assumption becomes problematic. We could just allow ReplyOn::Never, but then we end up with 2 ways of expressing the same thing (fire and forget message):
The other approach is to have 1 queue/vec and use a type that can express both ideas. The solution in #961 builds on the ReplyOn::Never approach and that the resulting SubMsg would be a superset of CosmosMsg functionality. Thus we could just use that everywhere and it would cover all usages. In order to hide the complexity, I defined that BankMsg.into() would have the same semantics as it does now (making a SubMsg wrapper as ReplyOn::Never).
The other approach, and my original proposal for submessages, is to embed the SubMsg inside CosmosMsg. This would mean we just use messages: Vec<CosmosMsg<T>> and all non-submessages would work just as they do in 0.13 or earlier. Submessages would be a bit more complex, but opt-in. That would look like:
pub enum CosmosMsg<T> {
  Bank(BankMsg),
  Custom(T),
  Wasm(WasmMsg),
  // ...
  SubMsg {
    id: u64,
    reply_on: ReplyOn,
    gas_limit: Some(u64),
    msg: Box<ComosMsg<T>>,
  }
}

You need Box there to avoid recursion issues in type sizing. Also, CosmosMsg::SubMsg{ msg: CosmosMsg::SubMsg{ ... } } would be a valid construction in the type system, but would be rejected by the runtime. Other than that, I think it works well:

All normal messages work as they do since 0.8 or so.
We don't need a separate queue and have complete control of the order (remove 0.14 submessages vec)
The size of normal messages is no larger that it was before (and smaller than in 0.14 avoiding "submessages": []
We can express all the subcall semantics that we enabled in 0.14.

I would add some nice helpers to construct CosmosMsg::SubMsg like CosmosMsg::sub_msg() like SubMsg::new() from the #961 PR.

You reasoning against that was:

I would avoid the introduction of fake message types to keep a 1:1 mapping to between CosmosMsg and Cosmos SDK messages. But I also think this works fundamentally different than the HandleResponse::messages, which are emitted and never returned. So what about moving those to a different level:

I am seeing no "perfect" API that is not overly complex. Maybe we can find a good compromise in the various possibilities.

Okay, seems we need to find one comprimise. The one I favoured above is a different term for the fire and forget case, which clearly has drawbacks as well.
What if we continue the route in #961 with the following adjustments:

No auto-conversion of CosmosMsg into SubMsg but use static costructors that can be documented much better.
Use the short SubMsg::new<M: Into<CosmosMsg>>(m: M) for the fire and forget case
Add SubMsg::reply_on_error<M: Into<CosmosMsg>>(m: M, reply_id: u64) for the error case
Add SubMsg::reply_on_success<M: Into<CosmosMsg>>(m: M, reply_id: u64) for the success case
Add SubMsg::reply_always<M: Into<CosmosMsg>>(m: M, reply_id: u64) for the success+error case
Add a method with_gas_limit(self, limit: u64) that can be added to all of the above, like SubMsg::reply_on_success(m, 25).with_gas_limit(20_000)

That is a beautiful API you propose there. I will try it.
At this point, SubMsg becomes a bit outdated. How about just making it Msg?
Msg contains the metadata and wraps a CosmosMsg. The CosmosMsg maps to a Cosmos SDK messages.
Usage like:
let msg = Msg::new(BankMsg::Send{ .. });

Different than:
let msg = BankMsg::Send{ .. }.into();

But more explicit and not many more characters.

At this point, SubMsg becomes a bit outdated. How about just making it Msg?

I was thinking about this as well arelady and agree with it. But let's try to break down development into small, manageable tasks. Some of then can then be done by Tom as well.

Okay, I will update the PR with the new methods.

Rename SubMsg -> Msg can be a follow up issue and PR


Fix patch for 1.17.4

Checklist

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

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.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Here also, I don't think undoing the patch is correct for reasons discussed here.


Add event emitter

This is not related to any particular issue.
Description
Add pub/sub style event emitter functionality to be used for captured-event & trace-span-close events.
Testing done
Unit tested

@medikoo ready for review please

Thanks @selcukcihan.
In Node.js we use event emitter to internally track reported events and spans (so they can be reached as they happen whatever functionality needs that). It's not an interface that's expected to be consumed by user.
So my question is, Is this introduced here, as you like this idea of internal tracking and want to rely on similar interface internally, or is it because you've assumed it's an requirement for the SDK to expose?

Yes, I was aware that this is not part of the consumer facing API. I think it will ease the development of further functionality in the SDK, that's why I wanted to get it in.


fix(tooltip): tooltips breach viewports

Plunkr
This particular issue was fixed in Bootstrap v3.2.0. This also affects popovers.
Relevent issue: twbs/bootstrap#12328

This may be tricky to fix, but it's certainly one that is on the plate.

This was posted by some user in a different issue regarding this, it is a current workaround that will reposition the tooltip/popover. It looks a bit ugly without the fade animation, though.
angular
	.module('app.components')
	.directive("positionTooltip", positionTooltip);

function positionTooltip($timeout) {
	var directive = {
		restrict: 'A',
		link: positionTooltipPostLink
	};

	function positionTooltipPostLink(scope, element, attrs) {
		var el, arrow, offset;

		element.bind('mouseenter', function () {
			$timeout(function () {
				el = element.next();
				if (el[0] !== undefined) {
					if (el[0].offsetLeft < 0) {
						offset = el[0].offsetLeft;
						el.css('left', 0);
						arrow = el[0].querySelector('.tooltip-arrow');
						arrow = angular.element(arrow);
						arrow.css('margin-left', (offset + -5) + 'px');
					}
					if (el[0].offsetTop < 0) {
						offset = el[0].offsetTop;
						el.css('top', 0);
						arrow = el[0].querySelector('.tooltip-arrow');
						arrow = angular.element(arrow);
						arrow.css('margin-top', (offset + -5) + 'px');
					}
				}
			});
		});
    }

	return directive;
}

This approach won't work since 0.13.4
The position is since then always 0
See this plunker http://plnkr.co/edit/Dk7SKLUSzVwkKTeZvhkJ?p=preview
and change the bootstrap versions

angular-strap has it working very nicely - just merge, copy&paste or whatever
https://github.com/mgcrea/angular-strap/blob/master/src/tooltip/tooltip.js search for viewport

Closing in favor of #4762.


Notifications do not run, perhaps permissions issue?

Hello! I'm on android 13 and whenever I try this plugin no notifications are fired, regardless of if I have the app open or closed. I tried both with no changes and with a small change to remove the (now depreciated) function exports and include the @UsedByGodot markup, and neither works. I don't get any errors either, just nothing happens.
I made sure to add POST_NOTIFICATIONS as a permission to the custom android permissions list, and made sure to check the app to make sure the permissions were granted, though it changed nothing.
I also troubleshooted by adding a simple debugging function that returns a string and that works.
I know this repo isn't in active development but this is like, the one thing I desperately need for the game idea I have;;; If anyone can help nudge me in the right direction please it would mean the world to me.

Update: following a suggestion by @chrisdugne I tried implementing the changes to the build.gradle found in this commit, but unfortunately it doesn't seem to do anything, as the notifications still aren't being fired.
The next thing I'll attempt to look into is the creation of the notification channel, maybe that's not firing correctly?? I and before that I need to try to implement some debugging because right now it's a black box of who knows what. That might be as simple as returning what the notification returns (if anything?) or a debug function to return reach component of the notification to see if any are erroring out!


Disable "Wiki" in Navigation bar

Disable any link to the Wiki landing page on the webpage. We do not need it for the moment.

Now part of #36


Discuss API-Design and Web-Framework (tide) alternatives

I am currently re-implementing #55  and had issues with tide not supporting http 1.0 (tides dependency respectively) which is needed for the json-rpc client.
Now I am wondering if we should migrate away from tide and use a different web-framework.
Since I'm new to web-dev I really don't know how to choose one over another so a discussion about that would be great. My only criteria would be that it's lightweight (?) @elsirion said that somebody already suggested axum.
Also since I am re-implementing the API anyway this would be a chance to discuss general decisions and the API standard to choose. I wanted to go for JSON-2.0 RPC but feel free to discuss here if something else would be better (or multiple APIs make sense). Feel free to comment your thoughts  (not only from a dev decision perspective but maybe also a API consumer (e.g app @justinmoon @Maan2003 )

Tide also doesn't seems to have a good authentication library. I think we should switch to something else, but haven't investigated yet. Have also heard good things about Axum.

I looked into actix-web, warp, axum and hyper now. Would it be ok to just go for hyper ? Some code that uses tide right now would be inflated a lot though I guess. If not hyper, I'd think axum is a good choice.
Good question, I thought that the app would use it but thinking about it I see why not. This started as a "first good issue" for me. I guess the goel was to just have a more convenient client. So maybe clientd + cli is only for administrators/devs ? Maybe also for people who want to build a project interacting with minimint so they can have a simple API to build/test their stuff first and than move to connecting to the fed/gateway themselves.

@NicolaLS hyper is a (very) solid http library, using it for the client is a good idea. I like its correctness guarantees and that its acknowledged by large projects to be of high quality (curl project). I am also not sure what the minimint client is supposed to be other than a mobile app running on low-end hardware in a spotty network, this will not be running a webserver with state, so a web framework wouldn't be needed. The client may not need to be async as well depending on how interactive the client-server protocol is (I still haven't seen it).
Hyper and axum are both written by the same team that wrote the tokio runtime. The benefit of this is that they can more coherently layout the types as they relate to the separate components of the web stack (not that actix isn't). The question is if they wrote axum for people to use in production or if they made it to show off the tokio ecosystem. Due to the large backing, I think its safe to assume that it will be around for some time. Some benefits of axum is that it uses tokio runtime (tide uses async-std, though I think ours is configured differently), which is IMHO where the work will accumulate (rustaceans will prefer to implement the tokio traits for tokio types rather than any alternative).
Async-std is not part of the standard library and it never will be, it has the name "std" in it because there is no name control in the ecosystem.
We should absolutely move away from tide or the fedimint project will end up solving the "how to make web api ecosystem in rust" problem rather than the "how do we get bitcoin into the hands of billions of people in a scalable and private manner" problem - which is actually worth solving.
Below is a blog post I read that affirmed my preference (I also have his book, so far its good).
https://kerkour.com/rust-web-framework-2022

Axum is (kinda) the winner except for very large projects that need unmatched performance (actix would be the pick for that). I don't think that raw performance is top priority for fedimint (axum claims to be ergonomic, which I personally value). The lack of maturity hurts in battle testing, documentation and feature availability - all of which are improving (could be us as well) every day the same way rust is. I don't think correctness is impacted because all the other parts that axum uses are more mature and more thoroughly tested (tokio, bytes, hyper and tower).
The author of the blog also recommends that we use a "clean architecture" for our API so that we can swap it out in the future (sounds like good advice). Maybe in the future there will be a huge fedimint and the federation will end up offering lots and lots of services (media, messaging, oracles, etc) to millions of people. So having a way to swap out frameworks for those that need it would be good.
I wrote (copied and pasted) an axum web API for a personal project (uploads public keys and matches them with valid signatures and the data) and I liked it, everything worked the way I expected it to.
I should note that it is a basic service, so I haven't looked at all the ways to use axum nor can I confidently comment on how well suited axum is for fedimint. My endorsement and opinion is from the perspective of an enthusiast or hobbyist (though hopefully not for much longer).
If I had to make a choice it would be axum or actix.
Web API's are commodities at this point, I think we should go with whatever seems to be the easiest.
I'm still getting familiar with the architecture and code to decide on what we should use as an interface. So I can't comment on whether to use an RPC interface or a web API interface.

Thank you for the extensive answer @matthiasdebernardini, helps a lot ! I really like that axum is "from" tokio and even tough I have no real reason for it I think I'd prefer it over actix. I'll just stay with JSON 2.0 RPC then since it's already (almost) dont but I don't think adding another API would be too much work if its wanted in the future. So @elsirion would it be fine for you to move to axum from tide ? Should this be the "task" issue or should I close this and open a "migrate from tide to axum" one ?

Happy I could help!
@NicolaLS For the API, which components will be using the RPC interface? If it's between a client and a user then I would think that a RESTful interface is all that is needed.

Happy I could help!
@NicolaLS For the API, which components will be using the RPC interface? If it's between a client and a user then I would think that a RESTful interface is all that is needed.

mhm..yes I think so. While thinking about how to re-implement the jsonrpc I notice also more and more hurdles in comparison to RESTful. RESTful it is then for now :+1:

So @elsirion would it be fine for you to move to axum from tide

Sorry for the late reply, I think if we can get rid of dependencies that way it's a good thing. Axum seems stable enough. Feel free to open a separate issue if you think there's more to discuss that would be buried here. Otherwise just keeping this and opening a PR is also fine :)

@matthiasdebernardini do you mind helping review @NicolaLS's PR instead?

I think we agreed to use axum instead of tide


Issue #4580 resolved by adding an anchor tag

Closes #4580.
Added an anchor tag, targeting a blank page.

Yeah, this is not the way to do it. See https://github.com/plone/volto/issues/4580#issuecomment-1483617717

@stevepiercy Working on it. Understood the guideline you gave.
Thankyou for helping me out.

@stevepiercy @sneridagh I am closing this request now and update my previous request #4600.
Sorry for the inconvenience I caused. I apologise sincerely.


Add batch calls for faster deployment

For some of the calls the block povSize limit is easily reached. Implement batch calls for all functions which are need bulk calls for configuration and deployment.

[x] add_asset_to_many_tokens()- Add an asset to a vector of tokens
[x] add_many_children() - Add many children to many parents
[x] transfer_many() - Transfer many tokens to the specified account.

Acceptance criteria:

[x] add_asset_to_many_tokens- cover with unitest
[x] cover add_many_children with integration test since it is cross-contract call
[x] cover transfer_many with integration test

I wonder if these could be added as a separate Batch trait, as they're for a very specific use case will likely not need them.
Are we also sure these should be part of the library itself? It would be fairly straightforward for a user to implement these in their own contract if they required them, we could have an example contract to demonstrate. This way we wouldn't have to commit to arbitrary iteration limits, as well as maintaining functionality that is possibly a user concern rather than a library concern.

I agree with your comment that batch calls should not be in the library files.
I added a separate trait in rmrk/batch.rs
Please take a look if you had something like this in mind (code not complete)
https://github.com/rmrk-team/rmrk-ink/tree/feature/batch2

I agree with your comment that batch calls should not be in the library files. I added a separate trait in rmrk/batch.rs Please take a look if you had something like this in mind (code not complete) https://github.com/rmrk-team/rmrk-ink/tree/feature/batch2

Really like this, much cleaner!


Journaling

It adds journaling for all actions that were made on records. It is optional and can be set using import options, default_import_options and Chewy configuration.

It probably makes sense to test that reset! method doesn't journal anything by default.

okay

I would add a rake task for journal cleaning, it will be required right away.


Add PreferredInterfaceSRIOV

What this PR does / why we need it:
This PR adds PreferredInterfaceSRIOV  to VirtualMachinePreference , allowing the definition of the preferred SRIOV configuration to use with network interface.
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note:
None

/cc @0xFelix @lyarwood

@EdDev The idea was to extend instancetypes resp. preferences to allow the configuration of DPDK VMs. Since this change is still quite small, we'll reach out to Alona first.

/close


Update local development and test environment to use PostgreSQL

In order to make the development and production more consistent, I'd like to move the development and testing databases to use PostgreSQL rather than SQLite.
Thoughts?

I don't really catch what changing tests from sqlite to postgres helps achieve. Please, remember that now the site is mostly cached, so the DB is just a fossil of when the site was directly served. I have no memory of a time when Sqlite exhibited a different behavior than what was live.
I enjoyed having a lightweight DB system for testing purpose. It makes it easier to get involved in the development.

My biggest reason for doing this is because instead of recreating all of the data for my local dev environment I pulled a dump from the postgres database on Heroku and loaded it in.
I do understand that this does add overhead though to the development environment.

Closing this in favor of https://github.com/git/git-scm.com/pull/1264


Window.google.accounts is undefined

Hi,
On initial app render, window.google.accounts is populated. However, when i navigate to a different page in my app and then use the back button in the browser. window.google.accounts is undefined.
Not sure why this is, any help would be appreciated ! (happy to post code if needed)
Thanks

Hello,
Yea if you can repopulate the issue in codesandbox or public repo to troubleshoot that would help

Hi! thanks for your quick response :) I've actually just figured out its to do with using both your library and @react-google-maps/api at the same time, I think the load scripts might be inter-fearing with each-other.
So i'll get to the bottom of it, but thank you again for your quick response.
On a side note, when this issue was happening i was getting crashes due to accounts.id being undefined and your library not handling the error, i've fixed this locally (which lead me to realise my original issue is not with your library), however, i could raise a pr for you to take a look at ? just to stop these crashes in the future.
Thanks!

Yea cool, go ahead

@jimcapel Hello!
I faced the same problem, how you solved it?


Fix: Upgrade example model

D1099705: make sure example model is saved in parasolid format, not acis

@bryankaylor When you review, can you just verify that test_22_couplings() runs successfully with 25.1?

Looks good, was able to open the project in 25R1 without any issue, approving.

@bryankaylor When you review, can you just verify that test_22_couplings() runs successfully with 25.1?

@jsalant22 Sorry, just approved before seeing your comment, I was able to open the project in 25R1 but haven't run the test. I'll do that now.

@bryankaylor When you review, can you just verify that test_22_couplings() runs successfully with 25.1?

test_22_couplings passed on this branch with 25R1, so this should be good to go!


Day 2 - reusing code

@glemaitre can you review this for the package structure?
I now used preprocessing.py, plotting.py, regression.py. If you had something else in mind to organize, let me know.
Also, do you prefer to do from spectra_analysis.plotting import plot_spectra or from spectra_analysis import plot_spectra (and import from submodules in the the __init__.py)?

yep, and that's how I update the imports for now


[WIP] Implementation of fileshare controller and dock - branch change

What this PR does / why we need it:
Implementation of new separate controller and dock for file share feature - only post/create, delete, upadte file share has been done yet.
File share post code workflow is as below:
Controller workflow:
gRPC interface(model/fileshareproto, filesharecontroller.go)
Fileshare controller client(filesharecontroller/client)
selector to select the profiles
Filesharecontroller server(filesharecontroller/controller.go)

Dock workflow
It checks with fileshareproto to validate the dock creation
Client communicates to dock server(filesharedock/client)
Server dock.go - which registers to the dock and provision the dock so it contacts dock/discovery to discover and maps to backend drivers

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

test


Dependencies problem "out of the box"

Since I am working on Hortonworks, I decided I will try a "naive" way, removed all of the "provided" from the build.sbt, and executed "sbt assembly".
I got the error:
java.lang.RuntimeException: deduplicate: different file contents found in the following:
/home/cloudbreak/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.2.jar:META-INF/maven/commons-logging/commons-logging/pom.properties
/home/cloudbreak/.ivy2/cache/org.apache.htrace/htrace-core/jars/htrace-core-3.1.0-incubating.jar:META-INF/maven/commons-logging/commons-logging/pom.properties

Since it was just for a PoC, I wasn't able to dive into solving it.
Is there any simple solution for that, or should I depend on "provided" JARs ?

The provided flag means that dependency jars are to be found in the classpath. Without this flag they are added in the assembly and can create conflicts at runtime.
In your case it is better to keep the provided flag, but changing versions of dependencies to those needed for Hortonworks. Do the same for the hbase-rdd project.


fix: Makes small typo changes to one section

Thanks, @darigovresearch. Excellent changes & improvements that you submitted!

You're very welcome @HectorBastidasRentadrone & thanks for the merge!


Change categorical inference to look at sample of 10K rows and unique count

As a user, I wish I could use Woodwork to infer Categorical Logical Type.
This inference function would be based on a 10K sample, and 80% of the columns being unique. (Rather than the current implementation looking at string length).

...and 80% of the columns being unique.

@gsheni Did you mean rows instead of columns?  Also, do you mean that 80% of rows being unique would mean it's not categorical?  I usually think of a categorical column as having a value for each row that is chosen from a relatively small number of possible unique values.

@davesque Yes you are correct, I updated the issue. It should be a 10K rows sample (remove nans) + 80% of the rows being not-unique.


Stateful retry and multiple topics

🎁 Enhancement
Stateful retries works like a charm.
See StatefulRetryTests.java
But, if you declare a second topic in the test above and listen to it using the same method annotated with
@KafkaListener(id = "retry", topics = {"sr1", "sr2"}, groupId = "sr1)

And send the messages in that order:
this.template.send("sr1", "foo1");
this.template.send("sr2", "foo2");

Message sent to sr2 will be read only after the message sent to sr1 is retried. In other word, there are 3 delivery attempt of "foo1" to listen1 method before "foo2" is delivered to listen1 method.
Ideally the delivery of "foo2" should not be blocked by the error triggered on a different topic.

@nromanetti did you ever figure out how

to add programmatically one or more listener on the fly


Failures on [vm] Fix unwinding through FutureIterable and FutureRecordN wait

There are new test failures on [vm] Fix unwinding through FutureIterable and FutureRecordN wait.
The tests
vm/dart/awaiter_stacks/async_stacks_test/1 RuntimeError (expected Pass)

are failing on configurations
vm-aot-obfuscate-linux-release-x64

Log: https://dart-ci.appspot.com/log/vm-aot-obfuscate-linux-release-x64/vm-aot-obfuscate-linux-release-x64/526/vm/dart/awaiter_stacks/async_stacks_test/1
Looks like this test is just a bit too strict about expecting a specific stringification of the stack trace

Looking at the output we seem to be leaking internal name mangling scheme for the extension methods: we get FutureIterable|get#wait instead of FutureIterable.wait which is expected there. I will take a look.


Deprecate asList in favor of asInstanceOf

Triggered by https://github.com/assertj/assertj/issues/3105#issuecomment-1633150460.

Hi, there are no JavaDocs pointing to the proposed alternative. I had to scavenge the source code to reach to this PR.
Might be interesting to provide the suggested approach.
Which I'm still not sure if is to use:
asInstanceOf(InstanceOfAssertFactories.LIST)

instead

Hi @manusa, which Javadoc were you looking at exactly?
Assert::asList Javadoc has the information you're looking for:

but I just realized AbstractAssert::asList doesn't have it:

:facepalm: sorry.
Yes, I was meaning the method in the AbstractAssert class.

Thanks for the confirmation. There seems to be a gap in the Javadoc generation, I'm not sure what could be done in AssertJ but I'll have a look.

No worries. I'm not sure if {@inheritDoc} would work in this case and help avoid doc duplication, maybe worth giving a try.
If not, I'm happy to send a patch with the missing section in AbstractAssert class ;)

OK, I think the problem is (TIL) that inheritDoc needs to be used in the tags too.
https://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#@inheritDoc

Inherits (copies) documentation from the "nearest" inheritable class or implementable interface into the current doc comment at this tag's location. This allows you to write more general comments higher up the inheritance tree, and to write around the copied text.
This tag is valid only in these places in a doc comment:

In the main description block of a method. In this case, the main description is copied from a class or interface up the hierarchy.
In the text arguments of the @return, @param and @throws tags of a method. In this case, the tag text is copied from the corresponding tag up the hierarchy.

So I believe something like this is required:
  /**
   * {@inheritDoc}
   * @return {@inheritDoc}
   * @deprecated {@inheritDoc}
   */

Thanks, I remembered something like that but couldn't find the official reference quickly 🙂
It doesn't mention anything about the @deprecated tag, though. Would you like to give it a try and submit a patch, in case it works?

It doesn't mention anything about the @deprecated tag, though. Would you like to give it a try and submit a patch, in case it works?

I'll submit a patch to add the deprecation suggestion manually.
I've done some checks in my projects and the behavior differs depending on the engine used to generate Javadocs.
For example, in IntelliJ, if the following if the @return {@inheritDoc} is not provided, then the tag is not shown in the editor-rendered Javadoc. However, it is actually shown in the Quick doc viewer (Ctrl+q).
On the other hand, the @return tag is propagated in the javadoc jar too.
In any case, and a common denominator for all is that the @deprecated tag is never propagated, and from what I've seen, it doesn't support the inheritDoc either.


Not Downloading Anything

The Ruler.IRULE.exe file seems to be perfectly fine when trying to open, but once i press enter to download the newest version of IRULE it just pauses at download 0% and crashes after a while

Could you show me what the error is? Pausing is normal.


Honor created() function for an item in a submenu.

Fixes #10483.

 I built off of 1.4.0 because that's the latest stable revision.

This is a mess: I'm going to try again here.

I meant to delete this not merge it. Will fix ASAP.


feat(consumer): Support incremental cooperative rebalancing

KafkaConsumer now supports the cooperative-sticky partitioning strategy.
The goal of this change is to try and reduce the amount of unnecessary rebalances
that happen during Kubernetes rolling deployments.

how long it takes to assign a new partition to a new consumer showing up
how long it takes to revoke all remaining partitions (if any) from a consumer that is leaving the group? Does the group wait scheduled.rebalance.max.delay.ms before reassigning the partitions to a new consumer?
how long does it take to have partitions reassigned in case a node leaves and rejoins?

It's typically not as long as scheduled.rebalance.max.delay.ms which is 5 minutes by default. All of these usually take around 3 seconds in my local testing with 2 consumers. The test case I added adds a new consumer to an existing group and waits for a partition to assigned to it. We wait for up to 10 seconds max and it generally always passes.

I think you should update the docstring of the KafkaConsumer class so that it reflects the behavior on incremental cooperative rebalancing. Specifically this https://github.com/getsentry/arroyo/blob/main/arroyo/backends/kafka/consumer.py#L109-L118

@lynnagara 🎉
Let me know if / when you need some help testing this. :)


Fix Maven Plugin Tests

@vorburger the maven plugin tests were not currently building for me.  This PR includes a number of fixes for the various issues that I found.

@duttonw do you want to review this one?

Very similar changes in some areas with my upgrade of maven to 3.5.x  in pull request https://github.com/vorburger/MariaDB4j/pull/175/files
The updates to tighten up the assertions is also good :+1:
I'll put these two changes together or build on top of this change when I have some time.
@kevinconaway , would you like to see this maven plugin updated to maven 3.5 or leave it at its current level for a little while longer?

would you like to see this maven plugin updated to maven 3.5 or leave it at its current level for a little while longer?

It doesn't matter to me, I am not using the plugin.  I was just trying to build the project and noticed that this module would not build.

have merged this branch into https://github.com/vorburger/MariaDB4j/pull/175 and resolved conflicts.

FYI #207


NIFI-7891 Allow for Defaults to be set by Avro writers

Initial attempt at adding default types for inferred avro schemas.
Adds dynamic properties to AvroRecordSetWriter prefixed with 'default.type' to specify default as desired
If you supply a value that can't convert in to the specific type .e.g (long and "hello") it will fail with
"Could not determine the Avro Schema to use for writing the content"
Seems like a valid error msg, but I suppose we could check the type conversion at the property validation point instead and fail earlier?
Welcome your feedback

@sdairs thanks for the contribution, but adding a default at a type level could introduce a lot of unexpected behavior. I think we're going to have to pass on this one.


Feature/refactor shared

Description
See PR #885
Merge conflicts
Quite possible - have requested moratorium on updating this repo until it has been checked
Related JIRA Issues (EBI developers only)
https://www.ebi.ac.uk/panda/jira/browse/ENSWEB-6600

I think it needs cherry-picking instead of a straight merge


error during first Launching

Please describe what you were doing when this error happened.
Specifications

OS: darwin
IPFS Desktop Version: 0.8.0
Electron Version: 5.0.2
Chrome Version: 73.0.3683.121

Error
Error: Command failed: /Applications/IPFS Desktop.app/Contents/MacOS/IPFS Desktop /Applications/IPFS Desktop.app/Contents/Resources/app.asar/out/late/ipfs-on-path/scripts/install.js --data="/Users/Apple/Library/Application Support/IPFS Desktop"
fs.js:122
    throw err

error Launching IPFS.log

Duplicate of #959. Fixed for the next release!

Thx for the update%$
Sent from ProtonMail Mobile
On Sun, Aug 11, 2019 at 1:10 PM, Henrique Dias<EMAIL_ADDRESS>wrote:

Duplicate of #959. Fixed for the next release!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Update TimeDistributed comment.

Current comment does not make it clear if we get multiple layer instances or if the same one is applied repeatedly.

Sorry, but this change does not modify the meaning of the docstring in any way.


createDocument, updateDocument, storedProcedure operations fail due to missing partition key header

hi @NateRickard , i came across the same partition key error today in our android app for:
.createDocument(xxx...)
and
.replaceDocument(xxx...)
and
.executeStoredProcedure(xxx...)

error:
{"code":"BadRequest","message":"Message: {\"Errors\":[\"The partition key supplied in x-ms-partitionkey header has fewer components than defined in the the collection.\"]}

would you be able to apply the same fix made for the .deleteDocument ? Much appreciated.

@SogoGolf Can you confirm that the @PartitionKey annotation on your model class(es) resolved this issue for you?  If so let's close this... still interested in the PR you mentioned as I can see a situation where passing the value directly would be needed.

hi @NateRickard using the annotation tested ok for both createDocument and updateDocument.
for the executeStoredProcedure ->
this was still throwing the partition key error but let me explain what im trying to do --> I'm calling the stored proc, shaping the data in the stored proc, then returning the payload. the client side object that i'd want to deserialise to, doesn't have/need the partition key field if that makes sense. here's the details:
model
data class ClubsNearMe(
        val id: String,
        val name: String,
        val metersFromMe: Float
){
    class Deserializer: ResponseDeserializable<Array<ClubsNearMe>> {
        override fun deserialize(content: String): Array<ClubsNearMe>? = Gson().fromJson(content, Array<ClubsNearMe>::class.java)
    }
}

im using Fuel http lib to call an Azure Function for the time being until i work out how to successfully call the stored proc's and get data back. with Fuel, the return payload is being automatically deserialised by Fuel to the model above.
http call
Fuel.post("https://zzz-js.xxxxxx.net/api/postQuery").jsonBody(query).responseObject(ClubsNearMe.Deserializer()) { request, response, result ->

            val (clubsNearMe, err) = result
etc....
}

stored proc
function getClubsNearMe(prefix) {
    var collection = getContext().getCollection();

    var isAccepted = collection.queryDocuments(
        collection.getSelfLink(),
        `SELECT f.name, ST_DISTANCE(f.location, {'type': 'Point', 'coordinates':[151.2357330322266, -33.77001515278013]}) as metersFromMe FROM etc..") < 50000`,

        function (err, feed, options) {
            if (err) throw err;

            if (!feed || !feed.length) {
                var response = getContext().getResponse();
                response.setBody('no docs found');
            }
            else {
                var response = getContext().getResponse();
                var body = { prefix: prefix, feed: feed };
                response.setBody(JSON.stringify(body));
            }
        });

    if (!isAccepted) throw new Error('The query was not accepted by the server.');
}

@SogoGolf It looks like a partition key header is required if and only if you're doing something within the proc that requires it (like querying).
I'm probably overlapping some of what you started in your PR, but I've added the overloads that will pass this thru correctly and added a passing test (executeStoredProcedureWithQuery).
I've pushed out v0.2.2 which should contain these changes.

awesome stuff thanks @NateRickard will test this today

works like a charm thanks again @NateRickard


Fix day/night mode switch

I had recently updated my integrations and noticed that my day/night mode was no longer working. I traced it to a bug that was introduced in https://github.com/rroller/dahua/pull/327 - Non-empty Python strings are always truthy, so this statement always evaluates to True:
if 'NVR4108HS' or 'IPC-Color4K' in model:

This PR correctly searches the model string and uses an array to make it easier to add more models in the future.

Released in https://github.com/rroller/dahua/releases/tag/0.9.59

My Dahua camera always returns a 401 with a RESTful command Is there any workaround for this?


[4pt]  - Display list of items on the Homepage - Student A

Create the main part of the homepage that keeps the layout from the wireframe:

When the page loads, the webapp retrieves data from  the selected API and shows the list of items on screen with the basic data (e.g. title + image).
Prepare also "Comments" and "Reservations" buttons. They should be doing nothing - just being displayed.
This task does not include displaying the number of likes for each item.
This task does not include the counter of the items.

Displayed list of items on the Homepage

Added the buttons the page


Incorrect Documentation in README.md

Issue summary
The command for installing the shopify-app-template-node using npm is incorrect. This command can be found under the heading that says Installing the template.
The error in the console:
npm error: no such flag -- --template=node

Expected behavior
After running this command, it is expected that all the dependencies will be installed.
Actual behavior
An error is displayed in the console and no dependencies are installed.
Steps to reproduce the problem

Clone this repository
Run the command: npm init @shopify/app@latest -- --template=node

Correction
The command that works is npm init @shopify/app@latest --template=node.

What terminal program are you using? I cannot reproduce this with PowerShell, windows 11 and node 18.

VS Code terminal
On Fri, 09 Feb, 2024, 04:05 Matteo Depalo, @.***> wrote:

What terminal program are you using? I cannot reproduce this with
PowerShell, windows 11 and node 18.
—
Reply to this email directly, view it on GitHub
https://github.com/Shopify/shopify-app-template-node/issues/1317#issuecomment-1935229283,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBLNUD6K7QB4GNIRJVXQJLYSV767AVCNFSM6AAAAABC5GHP36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVGIZDSMRYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for your explanation.
On Mon, 12 Feb, 2024, 06:54 Matteo Depalo, @.***> wrote:

Hi @tawanda-profuse https://github.com/tawanda-profuse, I cannot
reproduce this, I have a feeling the error you're facing has to do with
your personal setup, maybe you're aliasing npm? The docs clearly state
https://docs.npmjs.com/cli/v10/commands/npm-init#forwarding-additional-options
that in order to pass additional arguments to the command, the arguments
need to be separated by --.
—
Reply to this email directly, view it on GitHub
https://github.com/Shopify/shopify-app-template-node/issues/1317#issuecomment-1938064640,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBLNUFIIWPO4VYUWP2VVALYTGN6PAVCNFSM6AAAAABC5GHP36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZYGA3DINRUGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add Rows

While pasting values will it addrows if the data exceeds the current rows?

@bsuriyakuts Yes but you have to handle the paste to add additional data to your source data.

Any sample program do you have?


Changes in this gantt chart package

Hi guys,
My client asked for a flutter gantt chart and send me the following image as an example. So considering this https://pub.dev/packages/gantt_chart the only package available for gantt chartt right now, Is it possible to make changes in this package and make it like the one in the image or similar to it. I mean those little arrows and view of the screens should be of 1 month, 3 months ,6 and 12 months only and user can click on the right left arrows to see more instead of horizontal scrolling.
kindly please answer.
@mauriziopinotti
@ahmednfwela
Thanks
here is the desired output:

for the left, right arrows I have to change gantt view to take a ScrollController as an optional input.
as for the customizable month range, it's doable (it's already being done for 12 months).
however I am not sure about the vertical lines (checkpoints?) and the sub tasks

for the left, right arrows I have to change gantt view to take a ScrollController as an optional input.
as for the customizable month range, it's doable (it's already being done for 12 months).
I mean i dont want to be scrollable list. i want to be fixed 1month,3 months,6 months or 12 months of table showing on the screen. In the bottom right corner of the above image, you can see the slider for the month select for view. Now for example if user selects 3 month view and timeline for the tasks go beyond 3 months, user will click on the right arrow and next 3 months will show up and so on. I hope you got my point.
In short, I want arrows to be workable like that.
another thing you said 12 month view is already being done? can you please tell where can i see it?
Thanks


TST:sparse.linalg:Relax test_hermitian_modes tolerances

Reference issue
See #18736
What does this implement/fix?
Something in Python 3.11 job is causing the tests to fail sporadically. While investigations are going on, this is to bump up the test tolerances to unburden the current PRs. Only GH actions is consistently affected hence the rest is skipped.
Additional information
[skip circle] [skip cirrus]

This seems to fix the issue.


Broken URL

SQL Database Connectivity and the Idempotency Issue

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: af0b8bf0-8cdb-e5ae-0344-e2e281f41969
Version Independent ID: 90d5f106-4bee-1075-3e43-054556a301df
Content: Handling transaction commit failures - EF6
Content Source: entity-framework/ef6/fundamentals/connection-resiliency/commit-failures.md
Product: entity-framework
Technology: entity-framework-6
GitHub Login: @divega
Microsoft Alias: divega

Here's a wayback machine link for the article: https://web.archive.org/web/20190123153156/https://blogs.msdn.microsoft.com/adonet/2013/03/11/sql-database-connectivity-and-the-idempotency-issue/
But not sure if the ADO.NET blog is supposed to come back under a new address...

I guess we can remove the link and expand the explanation if currently insufficient.

Thank you for requesting a change to the EF6 documentation. We are prioritizing improvements to the EF Core documentation and at this time we are not making changes to the EF6 documentation.
However, we will consider well-written community pull requests to improve the EF6 documentation. The documentation source is located in the EntityFramework.Docs repository on GitHub. To submit a pull request:

Find the file to update and click on it to open

Click on the edit button (✏) to edit in your web browser

When done, add a title and description, then use the "Create a new branch and start a pull request." option.

(Note that you can also clone the docs repo and do a GitHub PR in the normal way.)


hal-hardware-analyzer: fix build with python 3.10

Description of changes

The build fails with Python 3.10. Applied upstream pr to fix it.
Failing hydra build: https://hydra.nixos.org/build/183103012
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 182062 run on x86_64-linux 1

1 package built:

hal-hardware-analyzer


sap.m.MultiComboBox not clear what text there in case bigger width

OpenUI5 version:
Version 1.71.48
Browser/version (+device/version):
Any browser.
URL (minimal example if possible):
https://openui5.hana.ondemand.com/1.71.48/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox
Steps to reproduce the problem:

In this MultiComboBox chose a text which width is bigger then MultiComboBox width (resize MultiComboBox - decrease size)

Wrong:
The first part of the text is hidden and not clear what there is.
Hover shows "Deletable" instead of showing text which is in the MultiComboBox.
What is the expected result?

First part of the text is visible.
Hover shows the text which is in the MultiComboBox.

Hi,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.

Check https://experience.sap.com/fiori-design-web/multiinput/#reviewing-tokens

the UX optimization is to have preview of the full text of each token by pressing "More" or by pressing the single token (stay away from the X button);
if the issue is the clipping while typing, use left/right arrow keys.


Switch to content-addressible storage?

Since we're really only storing one thing, it's not really required that we put it in a database.
We could for example move to storing the zip files on disk a bit like this:
archives
└── <tla>
    └── <sha25sum>.zip

We'd still need to serve the files ourselves in order to enforce our auth requirements, but this might be simpler to work with.
A downsides here is that adding metadata gets tricky. For example it's now a bit more effort to work out which was the most recent upload - we either rely on filesystem timestamps (fine, but may not have the nicest API) or munge it into the file names too.

Even if we don't change to using filesystem storage, it may still be useful to move the pks of the database rows to being a content id rather than an incrementing number.


New features: you can add several rigid bodies, several markers and create new rigid_bodies

Hi!!
As the title says, I have added the following:

Renamed link_name to rigid_link to add a rigid_body.
If you add multiple rigid_links, multiple rigid_bodies are created in different links.
You can add marker_link in your plugin to add a marker on that link.
Added service to group several markers in a rigid_body. The centroid of the polygon they form will be taken and the orientation will be given by the link that is specified.

In the future, I would like to add an rqt plugin that can add new rigid, markers, and group markers in rigis, as well as being able to do it from mocap4r2cli.

It looks good to me, merged


[BUG]: ESLint Breaking code

Describe the bug
Because of updated ESLint rules config added in the codebase by PR #36 and some other pushes , the apps weren't able to start correctly. Until this issue is fixed and tested completely, remove ESLint from the codebase for now.

Fixed!


[Bug] "simple application start code to C++ code generator" breaks projects with existing app and/or multiple wxglade frames [sf#161]

Reported by beuc on 2014-05-24 14:13 UTC
Hi,
I'm using wxglade for the FreeDink DFArc front-end (code freely browsable at http://git.savannah.gnu.org/cgit/freedink/dfarc.git/tree/ ) and I can't compile the project anymore because:

wxglade now adds a IMPLEMENT_APP(MyApp) which conflicts with the project's IMPLEMENT_APP(DFArcApp)

wxglade adds a MyApp::OnInit() function which conflicts with other wxglade frames generated.

Short of sed-ing the wxglade output there's no way to work-around this.
How about making this wxglade application stanza optionnal and non-default?

Updated by cgrohmann on 2014-05-28 20:05 UTC

assigned_to: Carsten Grohmann

Commented by cgrohmann on 2014-05-28 20:09 UTC
Hi Sylvian,
it looks like the behaviour of wxGlade is wrong. Regarding the documentation:

wxGlade is able to extent the created source for by a code sequence to create and start an instance of projects “Top window”.
In case “Name” and “Class” are set, a detailed start code with a derived class of wxApp will be created. If just “Name” is given, a simplified start code will be generated.

the startup code should be created only if "Name" or "Name" and "Class" are given. During my tests the startup code will be generated always - even if "Name" and "Class" are not set.
I'll fix this bug.
Regards,
Carsten

Commented by beuc on 2014-06-30 19:40 UTC
Hi,
The problem seems to come from this commit:
https://bitbucket.org/agriggio/wxglade/commits/8c4d1d553680abde168b24b1fed051e99a73880d
The attached patch fixes it :)
(Note that, unlike in the documentation, the previous and current tests are applied on top_win+klass, not name+klass.
My project has no name nor klass, but it does have a top_win:)
{u'class': '',
 u'encoding': 'UTF-8',
 u'for_version': '2.6',
 u'header_extension': '.h',
 u'indent_amount': '4',
 u'indent_symbol': 'space',
 u'is_template': '0',
 u'language': 'C++',
 u'name': '',
 u'option': False,
 u'overwrite': '1',
 u'path': 'Options_Base.cpp',
 u'source_extension': '.cpp',
 u'top_window': 'dialog_1',
 u'use_gettext': '1',
 u'use_new_namespace': '1'}

Attached file wxglade-noappifnoclass.patch:
diff -r 8075d5eaea99 codegen/__init__.py
--- a/codegen/__init__.py	Sat Apr 19 09:40:04 2014 +0200
+++ b/codegen/__init__.py	Mon Jun 30 21:34:25 2014 +0200
@@ -1112,7 +1112,7 @@
         top_win = app_attrs.get('top_window')

         # do nothing if there is no top window
-        if not top_win:
+        if not klass or not top_win:
             return

         # check for templates for detailed startup code

Commented by cgrohmann on 2014-07-30 18:11 UTC
Hi Beuc,
the bug is fixed in the revision 1414:7a070963581f as well as the next official release. The documentation about the application start code has been updated too (1415:5ecf9c2d7abb).
Thank you for reporting this bug.
Regards,
Carsten

Updated by cgrohmann on 2014-07-30 18:11 UTC

status: open --> closed


Configure Alloy to be use as a self-service tool for logs (source podlogs)

Towards: https://github.com/giantswarm/roadmap/issues/3518
This PR add the capability to dynamically configure log targets using the giantswarm.io/logging label. This label can be used on Pods and Namespaces. This label can take 2 distinct values enabled or disabled, when the label is not set its considered disabled.

Pods in any namespace can be labeled
Namespace can be labeled, the value used for the namespace will be the default for all pods in this namespace
Pods label take precedence over Namespace label, e.g. logging can be enabled for a pod in a namespace where logging is disabled and vice versa.

Examples

Pod logging=enabled
Pod logging=disabled
Pod logging unset

Namespace logging=enabled
:heavy_check_mark:
:heavy_multiplication_x:
:heavy_check_mark:

Namespace logging=disabled
:heavy_check_mark:
:heavy_multiplication_x:
:heavy_multiplication_x:

Namespace logging unset
:heavy_check_mark:
:heavy_multiplication_x:
:heavy_multiplication_x:

logging=enabled : short version for giantswarm.io/logging=enabled label
logging=disabled: short version for giantswarm.io/logging=disabled label
logging unset: short version for no giantswarm.io/logging label set

This is achieved by using PodLogs to discover targets, which lead to log lines being tailed through Kubernetes API server instead of fetching them from disk, this has some performance impact being describe here https://github.com/giantswarm/roadmap/issues/3518#issuecomment-2391961917. clustering is enabled in order to spread the load across the different Alloy pods/nodes.
The new PodLogs resources added do respect the previous default behaviour:

Fetch logs for all pods on all namespaces on MC
Fetch logs for all pods in kube-system and giantswarm namespaces on WC

Alloy graph before

Alloy graph after

Do we need to run it as a daemonset if we use pod logs? I think we should be able to use a deployment? And I guess we need less permissions (no root access anymore) right?

Do we need to run it as a daemonset if we use pod logs? I think we should be able to use a deployment? And I guess we need less permissions (no root access anymore) right?

We could run Alloy as deployment, but yet we would still need to run an Alloy as daemonset to grab systemd and audits logs, which would result in splitting this into 2 Alloy which is a lot more work since logging-operator would need to configure 2 different Alloy. I would rather that we keep everything in the same Alloy.

We might need to change the alloy version that triggers the change right?

We might need to change the alloy version that triggers the change right?

What do you mean ?

I'm thinking about this
https://github.com/giantswarm/logging-operator/blob/dac44d06e6916370d4559184920d6acc77f750cf/pkg/resource/logging-agents-toggle/reconciler.go#L36
but maybe we do not care

Yes I still need to bump this once Alloy and observability-bundle new versions have been released

A different Alloy config is now generated when observability-bundle is below or above/equal to 1.7.0.

I don't see anything regarding multi-tenancy. Does it mean all logs are sent to the default orgid?

I don't see anything regarding multi-tenancy. Does it mean all logs are sent to the default orgid?

Yes I removed the multi-tenancy configuration for now as I could not make it work. Should we add that ? I would need some help on this then.

Well, I'm not sure multi-tenancy is needed for a first iteration, but I'm quite confident it's needed before our customers would use this feature.
So maybe this should be an extra step in https://github.com/giantswarm/roadmap/issues/3518 ?

Maybe they should be sent to the cluster_id tenant for now and we revisit once the multi-tenancy epic is closed. This should be revisited once we start with multi-tenancy for logs right @Rotfuks ?

Going with this and we can treat the multi-tenancy and tenant override later on then.


Remote Peer Info

Would be really useful from the perspective of threads clients (particularly the net api) to be able to get more information from the remote peer than just peer id. For example, this new endpoint might return the peer id, along with available swarm addresses, or even the whole set of addresses (for grpc apis, proxies, etc)

Closing this as no longer needed


When delete file on onedrive not getting deleted facet.

Hi There,
As mentioned on onedrive api documentation when a file is deleted Api should return a deleted facet in the driveItem response. but when i call view.delta api to check the changes on a particular folder it gives me that file in response but is there no deleted facet so how do i differentiate between the files that have been deleted and those which are just updated.

This issue has already been reported (#535) and a fix is deploying as we speak. We'll add an update when it's considered resolved.


CAIM-60: Improvement to Application Accept/Reject flow - allow suggesting new animal

https://caimcommunity.atlassian.net/browse/CAIM-60

Added "success" modal after accepting or rejecting application
Added "suggest another animal" modal linked to from the accept/reject screen
Added emails to<EMAIL_ADDRESS>for accept/reject/suggest events
Added unused template & function for sending email to Fosterer on suggest event

Note: the new model is basically unnecessary for now, but will enable development of more advanced flow / states of the application process in the future.
Honestly we maybe should reconsider refactoring the whole shebang into a state machine if this gets much more complicated

This is what a the card for an application with a suggested alternative animal looks like now. @blueish does this look right to you


Add Question Retrieval notebook using Milvus

This notebook is adapting the Question Retrieval nb to use Milvus.
It can serve as a good example on how to do Bulk ingest, how to use cuVS, and especially CAGRA+HNSW on Milvus

/merge


[Bug]: Source control view is broken on mobile

Describe the bug
When I open up changes sometimes all, sometimes half the buttons are covered. The thing next to the refresh button looks and behaves weirdly (I have commit message set to {{date}}, that shows up there in desktop.)

Relevant errors (if available)
No response
Steps to reproduce
Have varying amount of changes, open source control view, fold folders.
Expected Behavior
No response
Addition context
No response
Operating system
Android
Plugin version
2.0.3

The view design should be improved on desktop as well and will fix issues on mobile too then.

Is there a general source view ticket?
I'd also note that the add + buttons on files are really small on Android.
And it'd be nice to have a stage and unstage button for folders too.

I've done all these features now locally. I've aligned it to the file view in Obsidian and used their css classes etc. But it's looks weird on < v0.16 of Obsidian. And I don't want to make all future releases 0.16 only, so I'll wait until Obsidian 0.16 is public.

Thanks!
My existing CSS customizations work right out of the box 😁

I found some hitches however.

The corner of the commit message input box thing looks weird on mobile. It has a scrollbar when there's only one line. And there's that thing in the corner. I have no idea what it does and it looks uglier than on PC.

There's this jittering when refreshing on mobile.

https://user-images.githubusercontent.com/5298006/195646178-2e8f2741-1483-40f1-9556-958bfe30c15b.mp4

"nesting" folders misbehaves, doesn't go as deep as it could

and with the plus buttons on folders, it would make sense to have an add all, discard all button for the root on the fold of "changes" and "staged changes", like there is in VSCode

I've changed the height of the textarea to behave like in vscode. So you can't resize it manually anymore, just by adding/removing a line.
Looks like I only tested 2 depth folders.
Both not released yet.
I thought about adding the stage/unstage button to the category as well, but I thought it would make the ui cleaner not adding another button there, but keeping it at the top. What do you think?

If files and folders have the button, I think the root (changes, staged changed) should have it too. There's nothing else where it would go anyway, I don't think it would be cluttered. But don't base this just on me.

Also, I just noticed, there's no discard button on folders under changes, which would also be handy.

Oh true. Will add that as well.


How to find the annotation file that causes the error "Wrong annotation: x = 0, y = 0, < 0 or > 1"?

I am training YOLOv3 with a custom dataset. In the training output I infrequently see this message:
Wrong annotation: x = 0, y = 0, < 0 or > 1

My assumption is that this means that one or more of my training annotations contains bad values. However there is nothing I can see that might help me to determine which annotation file the error refers to, so finding and fixing this annotation will be like finding a needle in a haystack.
How might I find the offending annotation file?
Thanks in advance for any suggestions or insight.

I assume that this indicates that I have negative and/or greater than 1.0 values in my annotations, no?
If so then it should be simple enough to write a Python script to clean the annotations.

Sorry, I opened this issue in the wrong repository, and besides, it has already been resolved in the darknet repository where I meant to open it: https://github.com/AlexeyAB/darknet/issues/3895.
TL; DR: The file bad_label.list gives a list of the offending annotation files that cause this error.

I am not able to find the bad_label.list file. Can you please let me know where I can find it


Fixed the typo error

Fixes #2433
Fixed the typo error in readme file.
Looking forward for merging the PR.
What problem does this PR solve?
Issue Number: #2433
Problem Summary:
What is changed and the side effects?
Changed: Fixed a small typo error under readme file.
Side effects:

Performance effects(性能影响):

Breaking backward compatibility(向后兼容性):

Check List:

Please make sure your changes are compilable(请确保你的更改可以通过编译).
When providing us with a new feature, it is best to add related tests(如果你向我们增加一个新的功能, 请添加相关测试).
Please follow Contributor Covenant Code of Conduct.(请遵循贡献者准则).

Hey @wwbmmm can you please review and merge my PR. :)


Multi threading support for QWATCH

Ensure QWATCH implementation is able to handle notifications from multiple-shards.

@soumya-codes would like to work on this.

@kushal0511-not sure, you can pick this up. cc @JyotinderSingh who is better placed in helping you with this.

Hello @kushal0511-not,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

@arpitbbhayani @SyedMa3
as per discussed in call for multithreading on discord, QWATCH is last thing in multi-threading. so once multi-threading support is ready i will start this.

@JyotinderSingh
I’m currently occupied with other work commitments and won’t be able to work on this. Feel free to assign yourself or someone else.
Thanks.

@JyotinderSingh Can I work on this?

@JyotinderSingh Can I work on this?

Thanks for volunteering @SyedMa3. However I will be taking this up for now, since I have bit more experience with developing this feature.

Hello @JyotinderSingh,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

Hello @JyotinderSingh,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

@JyotinderSingh - please assign this to me.

I will start working on this from tomorrow.


⚠ Bofrost.at has degraded performance

In d56a672, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 803 ms

Resolved: Bofrost.at performance has improved in 1654c45.


The Agenda View Of Shifts for Duxbury gives Pillar Point shifts, and they are not in date order.

I'm seeing different information on these two pages:

https://www.tidepoolstewards.com/programs/pillar-point/shifts/
https://www.tidepoolstewards.com/programs/duxbury/shifts/

We should default this page to only show upcoming shifts and have a separate page or tab for past shifts.

Turns out the sort order is unspecified:
https://github.com/natbat/pillarpointstewards/blob/29ebd7cf5d8062d0dc1723e5aa1888cac6d7b3c4/pillarpointstewards/shifts/views.py#L210-L220