[WFLY-19089]: Exception javax/management/openmbean/CompositeData usin…

…g AMQP-client in Wildfly built-in Artemis ActiveMQ server.

Adding missing depepdency on "java.management" in AMQP protocol.

Jira: https://issues.redhat.com/browse/WFLY-19089

Thanks @ehsavoie


Shift+click to select multiple results selects additional text in IE

I'm submitting a bug report
Current behavior
If you open the multi-select example in Internet Explorer (I used 11) and select multiple rows using Shift+click, the table rows are selected as expected, but also all header texts and the text row above the table is selected.
The behavior can be very different. There are cases where all texts in the table are selected, but it also happens that all text content on the page is selected up until the ag-grid, .
Expected behavior
No text content should be selected at all, only the ag-grid rows.
Please tell us about your environment:
Observed with Windows 7, IE 11.

ag-Grid version: 8.1.1

Browser: IE

Language: TypeScript 2.0.10

Hi
That's the browser doing text selection, what happens on any webpage when you hold down ctrl and click twice
You'll need to disable this with CSS - see here: http://stackoverflow.com/questions/826782/how-to-disable-text-selection-highlighting-using-css for more information
thanks

Hi,
Thanks for the quick response.
I also found this on stackoverflow, but this doesn't work when applying this CSS property to the ag-grid element. This only works if you set the CSS property for the entire body, which means that you cannot select any text in the entire web application. Globally disabling text selection is no option in our case, and I guess in many cases.
It would be very nice if ag-grid could somehow prevent this text selection in Internet Explorer. I noticed that many other data table libraries show the same behavior, but for example handsontable seems to somehow prevent the text selection in IE.

+1

Hi @basvandenberg ,
I am also facing the same issue. Did you find any workarounds for the same?
It turns out to be very annoying at times. I also tried the css fix, but it gave no help.
Thanks

@basvandenberg @seanlandsman @ceolter
Do we have any fix for this ?

hey , just add window.getSelection().removeAllRanges(); on the OnRowSelected event


[Starbound] ServerUsers don't work Properly

HI,
Starbound removed serverpasswords in favor of Serverusers
As announced in these DevBlog:
http://playstarbound.com/february-17-server-configuration-changes/
I also added those as can be seen here:
http://imgur.com/EAhhBmW
But it doenst seem to work.
If I try to log in with Credentials I got an error and without it works.
So neither does he accept the false at anomy user login or accepting the Users to log in :(
PS: i edited the sbboot.config  so maybe its a problem that its not the standart starbound.config ?

Also changed the Linux32 sbboot.config but no effect.
if u call ./sbserver details it shows that its running the linux64 config.

ok i found the problem! :dancer:
If u run the server since a longer time the game while updateing creates backup folders for older updates named after the updatede codename for ex "giraffe_storage" and still uses some files.
if u delete those old folders ur world and univers also is gone but the game accepts the config :)


Update changelog note about crate-versions flag.

r? @Eh2406
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit b3a1aa9c7a9c7ccb9819495077e2f4f31bbf6aa8 has been approved by Eh2406

:hourglass: Testing commit b3a1aa9c7a9c7ccb9819495077e2f4f31bbf6aa8 with merge 66767cec816b929a75750fee3be982c0126c824e...

:sunny: Test successful - checks-azure
Approved by: Eh2406
Pushing 66767cec816b929a75750fee3be982c0126c824e to master...


Don't Merge! PR real time test for target branch full build

Docs Build status updates of commit 8428960:
:clock10: Full build: the average full build time is 7 min(s) 46 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 8428960:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Feature/mtb common

I think it's good to go. @liujoshua can you merge it?

@elkasvirElka thanks for the review. I don't have write permissions to merge, do you?


Make whether labels are shown a configurable property

We currently have hard-coded threshold of 30 labels for whether to show labels.
These values should just govern a threshold, but whether we show labels our not should be configurable via the UI.

Related to

https://github.com/rerun-io/rerun/issues/4266

Adding a bit of context since this comes up more and more often now:
The limit is in place for usecases where labels should show only on hover, most typically this is an issue with large point clouds where it wouldn't make sense to show all labels at once.
I propose to introduce a hide labels boolean component that internally has a visualizer-dependent fallback that accounts for this very issue. This may not be the final solution we want to arrive here (e.g. independent archetype is still on the table https://github.com/rerun-io/rerun/issues/4266), but it would be fairly easy to implement and solves the problem at hand that various users run into!

This sounds great -- let's do it.

Maybe something for @kpreid


USHIFT-2237: move default for mirror registry to the output directory

/assign @pacevedom

Toggled the lgtm label to see if prow/tide would pick it up and run the necessary tests.

/retest


add new Transaction reveiw dialog.

Sorry for the inconvenience @rick23p, sadly we cannot use your code for perpetuals.


keycode op

needs work and maybe a trigger variant

interesting choice with writing keys to the array.. it makes it grow when a key is held btw (repeated)

ooo len and fall

.. and contains

now just fkeys and arrows are left and maybe modifiers, all of those will need special numbers outside of the ascii range

Control
Alt
Fn
Shift
Super
CapsLock
NumLock
ScrollLock (who uses that?
ArrowDown
ArrowUp
ArrowLeft
ArrowRight
End
Home
PageUp
PageDown
Insert
ContextMenu
F1-F12

good work b <3


Add a video Link

If video link is filled the video will be shown instead of an image even if it is uploaded.

e.g.: <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/dICy6llP5cU?rel=0" frameborder="0" allowfullscreen></iframe>
In my field I only store e.g. dICy6llP5cU
see also https://www.heise.de/ct/ausgabe/2016-1-YouTube-Videos-datenschutzkonform-einbetten-3046316.html

I have to make shure it works also with magnific-popup.
see here:
http://dimsemenov.com/plugins/magnific-popup/documentation.html#iframe-type

Have to wait for the next generator update.

http://holdirbootstrap.de/komponenten/#responsive-embed


Switch from tut to mdoc

Tut has been great for embedding compiling documentation in our microsite. However, tut has no support for incremental rebuilds and because of its REPL-like approach to code snippets, it means it is difficult to get some kind of code compiling.
This ticket is to convert from tut to Scalameta MDoc, which appears to improve upon tut in the two key ways noted above.

Are you looking to replace the microsite entirely? AFAIK tut is embedded into sbt-microsite

sbt microsite now supports mdoc.

Ah, perfect! Did not know that

I looked into this one and can provide a PR. But I run into an issue in testing-effects.md:
lazy val code: ZIO[Database, Throwable, Unit] = ???
lazy val code2: ZIO[Any, Throwable, Unit] =
  code.provide(TestDatabase)

mdoc doesn't allow ??? and fails the build with NotImplementedError.
Using mdoc:crash still fails the build when accessing code in the next statement. I couldn't find a way to get the build work and left this code block without mdoc for now.
Another question is if you want to change the directory structure of microsite to match the default structure for mdoc?
(I currently just set the mdocIn := file("microsite/src/main/tut") so that the changes are easily visible)
...and last but not least: Dependencies for the microsite build have the scope Tut. I'm not sure how to  use this for mdoc. So I just removed the scope for now.

I guess you can replace lazy val with def to avoid crashing there

Fixed by #765


[DROOLS-1195] adjust position of a TimerNode inside its segment during a split or merge

@etirelli This issue has been reported by ErDF and Anton already cloned my jira to ask to backport this https://issues.jboss.org/browse/RHBRMS-2457 It will be great if I could be allowed to cherry-pick this fix before next BRMS patch release

+1

Merged by https://github.com/droolsjbpm/drools/commit/7542149a9


poweroff issue with stripping i915 from linux 5.12

I can't poweroff a PC with i915 chip at the same time as https://bugs.archlinux.org/task/70773?project=1&string=linux was reported(but it is about suspend).
It occur if  *bug_table is stripped from i915.ko.Stripping other is OK.
Some people reports FS#70773 is solved with 5.12.7 .But I can't solve with upgrading.
I can't understand why stripping *bug_table is bad.
If it is not bug of i915,booster shouldn't *bug_table for early KMS.

Just to confirm - do you see this problem with 5.12.8 if and only if strip option is enabled?

Yes.
Poweroff fails with modules: -*,btrfs,i915 strip: true,
success with modules: -*,btrfs,i915,
success with modules: -*,btrfs strip: true,
fails if /lib/modules/5.12.8-arch1-1/kernel/drivers/gpu/drm/i915/i915.ko.xz is replaced with i915.ko.xz which doesn't have *bug_table. Other section is OK.

Interesting.. I am not aware of any reason why bug_table affects shutdown functionality.
For now we can just drop *__bug_table from the strip list.


chore: deploy bypassed pfs on boba bnb mainnet

The commits in this PR don't seem right :thinking:


changed id prefix for account & post

I have added id prefix 1XXX for accounts & 5XXX for posts.

Good job!


Error: Cookie not in this host's domain.

Such kind of tough-cookie errors should be ignored, however currently they cause errors and break normal requesting.
For example, assume http://foo.bar.com returns headers like Set-Cookie: NAME=value; path=/; domain=hello.bar.com. It is an invalid cookie.
With the newest request module, this request will fail. I do not think this is a correct behaviour. These errors should be ignored.

what would be the default domain if domain wasn't specified in the response cookie string
> jar.setCookie(req.cookie('abcaaa=aaa'))
Cookie="abcaaa=aaa; Path=/; hostOnly=true; aAge=0ms; cAge=0ms"
> jar.getCookieString()
''


GFPGAN facefix throws exception

Describe your environment

GPU: cpu
VRAM: [if known]
CPU arch: arm
OS: macOs
Python: Anaconda
Branch: development
Commit: 636c356aafdeceab646648bcb25ba38c16a49e32

Describe the bug
Using the new webUI, I selected image from gallery on right, clicked on Fix faces, and progress bar scrolls infinitely and in console I have this exception. Before it worked fine for me:
>> GFPGAN face fix requested for "outputs/img-samples/000381.3977462604.png": {'gfpgan_strength': 0.8}
Exception in thread Thread-435 (_handle_event_internal):
Traceback (most recent call last):
  File "/Users/jakubkolcar/miniconda3/envs/ldm/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/Users/jakubkolcar/miniconda3/envs/ldm/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/jakubkolcar/miniconda3/envs/ldm/lib/python3.10/site-packages/socketio/server.py", line 730, in _handle_event_internal
    r = server._trigger_event(data[0], namespace, sid, *data[1:])
  File "/Users/jakubkolcar/miniconda3/envs/ldm/lib/python3.10/site-packages/socketio/server.py", line 755, in _trigger_event
    return self.handlers[namespace][event](*args)
  File "/Users/jakubkolcar/miniconda3/envs/ldm/lib/python3.10/site-packages/flask_socketio/__init__.py", line 282, in _handler
    return self._handle_event(handler, message, namespace, sid,
  File "/Users/jakubkolcar/miniconda3/envs/ldm/lib/python3.10/site-packages/flask_socketio/__init__.py", line 826, in _handle_event
    ret = handler(*args)
  File "/Users/jakubkolcar/custom/InvokeAI/backend/server.py", line 313, in handle_run_gfpgan_event
    image = gfpgan.process(
AttributeError: 'NoneType' object has no attribute 'process'

@psychedelicious Please update the WebUI script to match the new changes to the restoration module.

@blessedcoolant hmm, I was already on the latest commit. After cleaning git & new preloading of models it works.

@ioma8 I am also running into this issue... could I ask what you meant by 'new preloading of models'?
besides that I ran git clean -n Thanks!

actually, for me it was doing the git clean and then turning off "Restore Face" in advanced options.

@KeystoneScience you need to run  scripts/preload_models.py to download all of the additional models for face restoration and updating to work.

Ahh, i totally skipped over that. Thanks! @psychedelicious


Create GitHub action to auto-run tests

This was suggested by GitHub and we've been thinking of doing it so we might as well!

Hm. Actually, I don't know if this is that easy because LLVM is 6 GB of libraries that we could theoretically unzip from https://github.com/llvm/llvm-project/releases/tag/llvmorg-17.0.6 but hm... I don't know if we want to use up our 2000 minutes/month of GitHub Actions on that. Also it might not even work because we only get 500MB of storage on our runners I think. Anyway. Closing for now.


defaultProvider doesn't affect package resolution

Consider this snippet:
const generator = new Generator({defaultProvider: "jsdelivr"})
generator.install("mypkg/mymodule.js")

Just from configuring, I'd expect this to fully run using jsdelivr. But actually, the package.json used for resolution is still fetched from jspm.io. As jsdelivr seems to update instantly (or at least quickly on demand), and jspm.io takes a little more time, this causes a kind of of "out-of-sync" issue and resolution fails (unable to resolve...).
I suggest that this setting should also affect how the package.json is fetched. A separate setting would also be possible.
Other info:

I'm running<EMAIL_ADDRESS>in a browser environment (thanks for that last fix, btw! :) )

Yes, the problem here is updating the resolver to use a generic npm resolver in https://github.com/jspm/generator/blob/main/src/providers/jsdelivr.ts#L20 instead of sharing the JSPM resolver.


faust2: fix build

Fixes https://github.com/NixOS/nixpkgs/issues/12749
The build failure was caused by brittle detection of the
llvm version. See the code for (excessive) details. This fix
is a quick hack, a proper fix would be to parse the version
of the input llvm derivation and use that to derive a proper
value. Here we just pin the version & set a known good value.
Also move build-time deps to nativeBuildInputs.
Ref: https://github.com/NixOS/nixpkgs/issues/13559

Would it be possible to export the LLVM version as a passtrough and then use llvm.version as a form of detection ?
The change seems LGTM otherwise.

@zimbatm I'd hoped that this was already in place, but alas, so that sounds good to me. That would still not be quite good enough for faust, because they match the entire version, so 3.7.0 might be accepted, but 3.7.1 (or whatever) wouldn't ... As I don't use faust, I'm not too keen on spending too much more time on this.

Ack, let's merge this

@joachifm: thanks a lot!


Cannot add strings to rules in the rules editor

The current rules editor doesn't allow strings to be added so, if you need a second, or you accidentally delete the first string variable, you're out of luck.

Fixed in #123.


adding additional Networks to LabConfig assignments getting wild

Dear Jaromir,
I am using the following MSLabs Config

1..2 | ForEach-Object {$LABConfig.VMs += @{ VMName = "ASNode$_" ; Configuration = 'S2D' ; ParentVHD = 'AzSHCI22H2_G2.vhdx' ; SSDNumber = 5 ; SSDSize= 2TB ; MemoryStartupBytes= 6144MB; VMProcessorCount=12 ; vTPM=$true ; Unattend="NoDjoin" ; NestedVirt=$true ; AdditionalNetworks=$true }
#region additional networks

         $LABConfig.AdditionalNetworksConfig += @{
                NetName = 'SMB1';                            # Network Name
                NetAddress='172.16.1.';                      # Network Addresses prefix. (starts with 1), therefore first VM with Additional network config will have IP <IP_ADDRESS>
                NetVLAN='711';                                 # VLAN tagging
                Subnet='<IP_ADDRESS>'                       # Subnet Mask
        }

        $LABConfig.AdditionalNetworksConfig += @{
                NetName = 'SMB2';                        # Network Name
                NetAddress='172.16.2.';                      # Network Addresses prefix. (starts with 1), therefore first VM with Additional network config will have IP <IP_ADDRESS>
                NetVLAN='712';                                 # VLAN tagging
                Subnet='<IP_ADDRESS>'                       # Subnet Mask
        }

    #endregion additional networks
}

Goal:
The goal is to achive a lab, where management + compute and storage intends are separated as per
https://learn.microsoft.com/en-us/azure-stack/hci/plan/two-node-switched-non-converged
Expected behaviour:
Deploy.ps1 should create 2 AzNodes, with 2 Management NICs and 2 SMB NICs
Result
ASNode1
Ethernet = Management 1, IP <IP_ADDRESS>
Ethernet 2 = Management 2 <IP_ADDRESS>
Ethernet 3 = SMB 1 <IP_ADDRESS>
Ethernet 4 = SMB 2 <IP_ADDRESS>
Actual behaviour:
Deploy.ps1 creates 2 AzNodes, with 2 Management NICs and 4 SMB* NICs
In addition the second SMB1 / SMB2 does not get any IPv4 assigned as expected.
The Management Adapters are not created before the additional networks and the IP does not match the lowest IP on the first vNIC anymore.
Result
Ethernet = SMB 2 <IP_ADDRESS>
Ethernet 2 = Management 2, IP <IP_ADDRESS>
Ethernet 3 = Management 1, IP <IP_ADDRESS>
Ethernet 4 = SMB 1 <IP_ADDRESS>
*to reduce confusion. in this example I have removed the secondary SMB1 / SMB2 NICs that would not have any 172.16. addresses.
If I remove additionalnetworksconfig, the order and IP assignment is as a expected.
Outputs:
the IP to MAC address matches that the lowest MAC uses the lowest IP

the IP address and Adapter Name does not match with the order they were created, except I do not use additional networks.

VM view (appears correct, including VLAN assignment)

Logfile
Deploy.log

Why do I consider this to be a problem?
The IP and Ethernet Name assignment does not follow a preditcable pattern and is not even the same on Node 1 and Node 2, so following Lab scripts would fail ultimately, when trying to use these template lab VMs with https://github.com/DellGEOS/AzureStackHOLs/blob/main/lab-guides/08-DeployAzureStackHCICluster-DeploymentTool
While of course altering the config to reflect the seperate storage. in the default the scenario is fully converged
`"HostNetwork": {
"Intents": [
{
"Name": "Compute_Management",
"TrafficType": [
"Compute",
"Management"
],
"Adapter": [
"Ethernet",
"Ethernet 2"
],
"OverrideVirtualSwitchConfiguration": false,
"VirtualSwitchConfigurationOverrides": {
"EnableIov": "",
"LoadBalancingAlgorithm": ""
},
"OverrideQoSPolicy": false,
"QoSPolicyOverrides": {
"PriorityValue8021Action_Cluster": "",
"PriorityValue8021Action_SMB": "",
"BandwidthPercentage_SMB": ""
},
"OverrideAdapterProperty": true,
"AdapterPropertyOverrides": {
"NetworkDirect": "0",
                        }
                    }

{
"Name": "Storage",
"TrafficType": [
"Storage"
],
"Adapter": [
"Ethernet 3",
"Ethernet 4"
],
"OverrideVirtualSwitchConfiguration": false,
"VirtualSwitchConfigurationOverrides": {
"EnableIov": "",
"LoadBalancingAlgorithm": ""
},
"OverrideQoSPolicy": false,
"QoSPolicyOverrides": {
"PriorityValue8021Action_Cluster": "",
"PriorityValue8021Action_SMB": "",
"BandwidthPercentage_SMB": ""
},
"OverrideAdapterProperty": true,
"AdapterPropertyOverrides": {
"NetworkDirect": "0",
                        }
                    }
                ],
                "StorageNetworks": [
                    {
                        "Name": "SMB1",
                        "NetworkAdapterName": "Ethernet 3",
                        "VlanId": 711
                    },
                    {
                        "Name": "SMB2",
                        "NetworkAdapterName": "Ethernet 4",
                        "VlanId": 712
                    }
                ]`

You are overcomplicating it :) ... Here is the example you need https://github.com/microsoft/MSLab/blob/master/Scenarios/AzSHCI and NetATC/LabConfig.ps1

Thank you for the hint. Also that I have learned about the min of 4 vCores for RSS. Interesting. Have not read about it in the docs.
Could you be bothered to look into the reported issue, as it should be reproducible and I believe there is a problem with the counter in the loop or the order when things are created.
Thank you, it will help not only my scenario.
The NetATC scenario might not be fitting or I need to combine it with the one using Microsoft cloud deployment kit.
I will give it a try today.

Your labconfig is wrong. You kept additional networks in 1..2 loop. It has to be separate.

I need to get into PC :). Ill send you example and will test it. I think it's wrong. Need to validate. :). Here is scenario where I use it. https://github.com/microsoft/MSLab/blob/master/Scenarios/AzSHCI and Stretch Cluster/LabConfig.ps1

Hi Jaromir,
putting the additional network configs outside the for each loop did the trick, well partly.
The number of NICs is now ok, but still the order of NetworkAdapter name and IP does not match on both nodes

I really wonder where this comes from, the cause must be in the order how NICs are added to the VM
Expected order with increasing MAC Addresses
Node 1
26 = Ethernet, Management 1, IP <IP_ADDRESS>
27 = Ethernet #2, Management 2, IP <IP_ADDRESS>
28 = Ethernet #3, IP <IP_ADDRESS>
29 = Ethernet #4, IP <IP_ADDRESS>

Node 2
2A = Ethernet, Management 1, IP <IP_ADDRESS>
2B = Ethernet #2, Management 2, IP <IP_ADDRESS>
2C = Ethernet #3, SMB 1, IP <IP_ADDRESS>
2D = Ethernet #4, SMB 2, IP <IP_ADDRESS>

LabConfig.zip

@jaromirk know you are busy. Have you had any time to understand what is happening?


Map: Pending Parcels

Can the default style for pending parcels please be changed to have a transparent fill?

Done, will be rolled out as part of next release. Thanks @Deb-Jones


[third_party] Unix end of line character

Changed end of line character form CRLF do LF in some third_party files

@ktaborowski, thanks for cleaning this up. I see a few modified files in third_party/mbedtls/repo. In general, those files are pristine from https://github.com/ARMmbed/mbedtls. Are you OK if we leave those unmodified?

@ktaborowski, thanks for cleaning this up. I see a few modified files in third_party/mbedtls/repo. In general, those files are pristine from https://github.com/ARMmbed/mbedtls. Are you OK if we leave those unmodified?

Yes, I'm ok, because as far as I know there are Microsoft Visual Studio's files. I can't test if change to unix end of line characters is safe for it.

@jwhui I think that line endings should be handled by git and as we have .gitattributes with:
# Auto normalize all files which appear to be text files.
*        text=auto
...

This setting keeps LF on the GitHub side - but it's not applied to third_party due to:
https://github.com/openthread/openthread/blob/master/third_party/.gitattributes
I don't know why we have this here. Also, MbedTLS doesn't have .gitattributes file so they have CRLF in their repos. I think that there is no harm in having Windows project files checked out with LF on Linux - they would convert to CRLF on Windows anyway.

@KaSroka, OK. The third_party/.gitattributes file was introduced to deal with issues when collaborating Windows and Linux developers. Given that we dropped Windows support, I am fine to remove third_party/.gitattributes as well. Can we do that in this PR?

@jwhui I removed .gitattributes from third_party


KAFKA-8007: Avoid copying on fetch in InMemoryWindowStore

Rewrote the InMemoryWindowStore implementation by moving the work of a fetch to the iterator, and cleaned up the iterators as well.
Blocked by KAFKA-7918
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@guozhangwang @vvcephei @bbejeck @mjsax

WIP planning to flesh out the unit tests given the increased complexity of the iterators, also looking into microbenchmarks to get a sense of the potential improvement here.

@ableegoldman is this ready to review now or is still WIP? If yes please feel free to edit the title to include WIP or DO NOT MERGE (you can always edit it back once ready), e.g. https://github.com/apache/kafka/pull/3720

Waiting for #6328 to be merged so I can rebase for cleaner review, but yes it is ready

Call for review @guozhangwang @mjsax @vvcephei @bbejeck

@ableegoldman could you rebase the PR?

Rebased (thanks for merging #6328)

Java 11 failed kafka.api.SaslSslAdminClientIntegrationTest.testMinimumRequestTimeouts
Java 8 failed kafka.api.SaslSslAdminClientIntegrationTest.testMinimumRequestTimeouts
retest this please

Test result already deleted. Java8 failed. Java11 passed.
Retest this please.

Since  #6328 is merged, I'm going to merge this one now as well.

Merged #6335 to trunk


Bad positioning in demo

So I ran this demo without any modification with Chrome : https://github.com/smalot/bootstrap-datetimepicker/blob/master/sample in bootstrap v3/index.html
The datepickers are positioned at the bottom right of the page....

I guess it's not supposed to work since the demo itself doesn't work as expected ?

Use 2.3.5, or read my solution in #499 .

Fixed in the latest version


Opera stalls during MO playback

Win 7 64-bit
Opera 28.0.1750.48
epub-0120
when testing media overlay, multiple tests (i.e. mo-audio-010, mo-nav-030 etc) will cause the browser to stall temporarily and lose functionality (i.e. no page turns or button click-ability)

Is this specific to Opera, or does this affect other WebKit-based browsers too? (e.g. Chrome/Chromium)

not sure but i thought it was related to issue #302 in firefox.

@danielweck
apparently only in opera.
i have student intern testers that have also experienced this in win 8.1


Add blog post regarding what fonts to use for accurate math rendering

@intelligent2013 can you help here with a blog post? Thanks!
plurimath-constants-fonts.zip

@ronaldtse there is a related unassigned ticket here https://github.com/metanorma/mn-native-pdf/issues/528.
Currently plurimath-constants-fonts.zip contains STIX Two Math vs. Noto Math comparison. Should we expand this for Cambria Math and Libertinus Math?

Yes we should definitely add the two fonts! Thanks!

Done in https://github.com/plurimath/plurimath.github.io/pull/11

Done:

Further tasks:

[ ] add the number of total latex symbols
[ ] add a comparison for Cambria Math 5.28, because that’s the version that can be freely used outside windows

@Intelligent2013 can we also add:

the number of total latex symbols in the post
a comparison for Cambria Math 5.28? Because that’s the version that can be freely used outside windows.

@ronaldtse the post updated. I've added a comparison for Cambria Math v5.24, not 5.28 (the package pclinuxos_webcore_fonts contains 5.24).

Thanks @Intelligent2013 !

This is fully done, thanks @Intelligent2013 !

@Intelligent2013 can you also help post instructions on how to generate the PDF file comparison and the output of the YAML file? Thanks.

How to generate the PDF file comparison and the output of the YAML file
Step 1: generate PDF with fonts comparison table
Source XML file with : Pluramath Latex constants: plurimath_latex_constants.zip
XSL for PDF generation:
fonts_comparison.zip
fonts_comparison.xsl generates glyphs for the font Cambria Math v6.99 and 5.24, but Java doesn't allow to register two fonts with the same name. Therefore, in FontForge tool,  I've extracted Cambria Math font from cambria.ttc v5.24 and changed the name to Cambria Math 524. The font manifest entries fonts looks so:
STIX Two Math:
  Regular:
    full_name: STIX Two Math Regular
    paths:
    - C:/Users/TestUser/.fontist/fonts/STIXTwoMath-Regular.otf

Cambria Math:
  Regular:
    full_name: Cambria Math
    paths:
    - C:/Windows/Fonts/cambria.ttc

Cambria Math 524:
  Regular:
    full_name: Cambria Math 524
    paths:
    - D:/Work/Metanorma/Fonts/Cambria_5.24_updated/CambriaMath524.ttf

Noto Sans Math:
  Regular:
    full_name: Noto Sans Math Regular
    paths:
    - C:/Users/TestUser/.fontist/fonts/NotoSansMath-Regular.ttf

Libertinus Math:
  Regular:
    full_name: Libertinus Math Regular
    paths:
    - C:/Users/TestUser/.fontist/fonts/LibertinusMath-Regular.otf

Cambria Math 524 font: CambriaMath524.zip
Generate PDF by mn2pdf tool:
java -Xss5m -Xmx2048m -Djava.awt.headless=true -jar mn2pdf.jar -x plurimath_latex_constants.xml -s fonts_comparison.xsl  -o plurimath_latex_constants.pdf  -m manifest.yml
Step 2: Process PDF generation log plurimath_latex_constants.pdf.err
Copy-paste the lines like these:
Glyph "⥂" (0x2942) not available in font "LibertinusMath-Regular".
Glyph "⥃" (0x2943) not available in font "LibertinusMath-Regular".

to the file missing.xml.
Then in the text editor that supports regular expressions:

replace .* \(0x to <char><unicode>&#x
replace \) not available in font " to ;</unicode>
replace ".\r\n to </char>\r\n
replace ,.*; to ;.
add <missing> at the start, and </missing> at the end of file

Now you get:
<missing>
<char><unicode>&#x2942;</unicode>LibertinusMath-Regular</char>
<char><unicode>&#x2943;</unicode>LibertinusMath-Regular</char>
...
</missing>

missing.zip
Step 3: generate YAML file with fonts coverage
XSLT for YAML generation from plurimath_latex_constants.xml and missing.xml: fonts_yaml.zip
Run YAML generation:
java -jar xalan.jar -IN plurimath_latex_constants.xml -XSL fonts_yaml.xsl -OUT 2023-08-15-font_coverage.yml

2023-08-15-font_coverage.zip


where's #general?

I cant talk in #general (i dont think anyone can) Idk why this happened there is not an announcement

https://github.com/vendetta-mod/Vendetta/assets/101864584/befd357b-9fbc-46cd-bf97-57fe4405ed89

It was temporarily locked a few weeks back.


MemoryError

Hi,my configure is :+1:
ubuntu10.04
python3
but,when I run the scipt:image_to_array.py,
the error occur.
Writing Train Array Traceback (most recent call last):   File "image_to_array.py", line 62, in <module>     X_train = convert_images_to_arrays_train('../data/train-resized-256/', labels)   File "image_to_array.py", line 38, in convert_images_to_arrays_train     return np.array([np.array(Image.open(file_path + img)) for img in lst_imgs]) MemoryError
Thanks in advance.

@rockywind The issue is you don't have enough DRAM. The file you're creating is a gigantic NumPy array of arrays. In order to do so, you need to have enough DRAM. My suggestion would be to run the files in the cloud, with plenty of memory (100GB should be enough).

Yes,thank you very much,but I don't have the cloud to run the file,so I want to know if I can solve it in another way,for example,  processing the pictures in stages,storing the .npy file for every 100 pictures.
In this way,we don't need such a large memory.

@rockywind In order to train the model, a GPU is all but mandatory. Otherwise, you won't get results back in a timely manner.
Assuming you have a GPU, you can read images into memory, a few a time. Keras should have documentation on this.

To avoid memory error :

Write a code to split the images based on the levels.
After making them in a separate folder, run Keras.
After predicting the labels use sklearn to find precision, kappa etc.
In case if you need the labels for the test dataset in the kaggle. The link is https://www.kaggle.com/c/diabetic-retinopathy-detection/discussion/16149
(I'll upload the code soon)

@CodeRed1704 This code is going to be integrated soon. Fixing a few other bugs, but it's on the roadmap.


Impossible to resize screen with pinch on iPhone

Describe the issue
Impossible to resize screen with pinch, it just resizes to all white or all black screen immediately.
https://github.com/utmapp/UTM/assets/5052406/4d6b7cbb-13fc-4906-940c-cfd330cedef0
I use base Linux image https://mac.getutm.app/gallery/debian-10-4-i3
Configuration (required)

UTM Version: 4.4.5
OS Version: 17.3.2
Device Model: iPhone 13 pro max
Is it jailbroken (name jailbreak used)? No
How did you install UTM? AltStore

Can you test with 4.5.0 beta?

Mine does the same, any attempt to zoom in or out by even the slightest amount makes the display disappear in the distance or zoom into a single pixel.

I'm having the same issue trying to use UTM Remote on iOS.
iOS 17.4 (21E219)
UTM Remote v4.5.0
UTM (running server) 4.5.0 (95); macOS 14.4 (23E214)


Is there a limit on the number of epics shown in the Azure DevOps feature timeline?

Is there a limit on the number of epics shown in the Azure DevOps feature timeline?

Sorry, but this code in this repo is not currently being maintained. We recommend you use the Delivery Plans feature that is core to Azure DevOps.


Not auto wrap an infix query with map

Problem
Auto wrap infix with map sometimes make invalid sql
And get ride of xxxClass.newInstance to make java 9/10 happy
@getquill/maintainers

@jilen can you please update the branch?

@fwbrasil With the map expansion, infix like this
 implicit class UpdateReutrnSku[A](u: Update[A]) {
   def returnSku = quote(infix"$u RETURNING sku".as[Long])
}

will never work.

@getquill/maintainers  Since this may break previous worked queries, I'd like to close this pr for now.


Headless browsers no longer able to play even clear streams

Have you read the FAQ and checked for duplicate open issues?
Yes
What link can we use to reproduce this?
https://v3-3-1-dot-shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;asset=https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd;panel=HOME;build=uncompiled
What version of Shaka Player are you using?
v3.3.1-uncompiled
v3.2.2-uncompiled
What browser and OS are you using?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
plus on Edge and Firefox on same machine
What did you do?

Attempt to play a stream through automation test with Chrome Headless, Edge Headless or Firefox Headless.
What did you expect to happen?
Playback without issue
What actually happened?

Received CONTENT_UNSUPPORTED_BY_BROWSER error

opened by mistake


provide a string containing version + commit

Provide buildInfo.desc and {{DESC}} again. It's version + commit following semver specification:

Build metadata MAY be denoted by appending a plus sign and a series of dot separated identifiers immediately following the patch or pre-release version.

Pull request #8 (Fix error in ember-cli 1.13.0 and incorrect split on tagged commits (#6)) is merged.

+1

Thanks for the PR and sorry for the delay! I'm gonna try to take a look at
this stuff over the weekend.
On Fri, Aug 14, 2015, 3:11 PM James<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/elidupuis/ember-cli-build-info/pull/10#issuecomment-131240144
.

Thanks again for encouraging me to update this addon.
release and build are the terms used in http://semver.org/. These, along with the new semver key, should be sufficent and more standard than the old desc key that's been removed.
From here I plan to deprecate the commit key (in favour of build) and update the codebase to the newest Ember CLI setup.


Is there any way to use bootstrap table style.

Hi,
Can i use bootstrap css to style table, if yes what is way to do it.

Hey guys, https://github.com/josebalius/react-grid will support bootstrap table styles by default but it will also allow custom classes. Coming soon.


Add possibility to overwrite items of already created version catalogs

Expected Behavior
VersionCatalogBuilder overwrites items on attempt to declare them one more time. Or, otherwise, allows doing that by some API.
dependencyResolutionManagement {
    versionCatalogs {
        create("libs") {
            version("kotlin", "1.6.21")
        }
        named("libs") {
            version("kotlin", "1.5.31") // will not work. no errors. no warnings.
            version("oldKotlin", "1.5.31") // but I still can add new items.
        }
    }
}

Current Behavior
Nothing happens on an attempt to declare an item more than one time. No errors, no warnings, no overwrite.
Context
The official guide on Version Catalog suggests that I can implement something like MyCatalog : Plugin<Settings> which would create a Version Catalog:

While importing catalogs from local files is convenient, it doesn’t solve the problem of sharing a catalog in an organization or for external consumers. One option to share a catalog is to write a settings plugin, publish it on the Gradle plugin portal or an internal repository, and let the consumers apply the plugin on their settings file.

No sooner said than done:
class MyFavoriteLibs : Plugin<Settings> {
    override fun apply(target: Settings) {
        val catalogs = target.dependencyResolutionManagement.versionCatalogs
        val builder = catalogs.create("libs")
        with(builder) {
            version("kotlin", "1.6.21")
        }
    }
}

Let's suppose I've published it somewhere and successfully applied in my projects. But someday I run into a problem where I have to overwrite the version provided by the plugin. The guide states I can, but showcases it only for the approach with importing a TOML file.
The code snipped from the guide:
    dependencyResolutionManagement {
        versionCatalogs {
            create("amendedLibs") {
                from("com.mycompany:catalog:1.0")
                // overwrite the "groovy" version declared in the imported catalog
                version("groovy", "3.0.6")
            }
        }
    }

But what to do when my catalog is shared through a published plugin, which creates it on its own?

A possible workaround here is to not include the code which creates libs in override fun apply(...) method. Make the plugin just register an extension with such functionality:
In your plugin:
open class MyLibs {
    fun useIn(catalog: VersionCatalogBuilder) = with(catalog) {
        version("kotlin", "1.6.21")
    }
}

class MyFavoriteLibs : Plugin<Settings> {
    override fun apply(target: Settings) {
        target.extension.create("myLibs", MyLibs::class.java)
    }
}

In your settings file:
apply {
    plugin("your-plugin-id")
}

val myLibs = extensions.getByType<MyLibs>()

dependencyResolutionManagement {
    versionCatalogs {
        create("libs") {
            version("kotlin", "1.5.31")
            myLibs.useIn(this)
        }
    }
}

Now you achieve the goals:

A catalog is supplied by the plugin.
You can overwrite items, by declaring them first.

But more lines of code have to be written, and not very meaningful lines :(

Another interesting observation here is that re-declaration of a version behaves differently from other items (libraries, plugins and bundles). When a version declared twice, the former declaration wins. For other items, the latter one wins.
Consider the following example:
dependencyResolutionManagement {
    versionCatalogs {
        create("libs") {
            version("testLib", "version1")
            version("testLib", "version2")
            // println(libs.versions.testLib.get()) => "version1"

            library("testLib", "group:testLib:version1")
            library("testLib", "group:testLib:version2")
            // println(libs.testLib.asProvider().get()) => "group:testLib:version2"

            library("testLib-another", "group:testLib-another:version1")
            library("testLib-another", "group:testLib-another:version2")
            // println(libs.testLib.another.get()) => "group:testLib-another:version2"

            plugin("testLib", "plugin.id").version("version1")
            plugin("testLib", "plugin.id2").version("version2")
            // println(libs.plugins.testLib.get()) => "plugin.id2:version2"

            bundle("testLib", listOf("testLib"))
            bundle("testLib", listOf("testLib-another"))
            // println(libs.bundles.testLib.get()) => "[group:testLib-another:version2]"
        }
    }
}


Fix issue 403, update keyview to list

Fixes #403

@Dekken @stephanegaiffas  The build failed at https://ci.appveyor.com/project/Dekken/tick-cyjm4/builds/27801229#L11446.
Could it be because of https://github.com/X-DataInitiative/tick/blob/35ad9f2f300138e9d928321745fa496c7ac0d38b/tools/docker/tick_ubuntu/Dockerfile#L23 where the latest version of tensorflow is getting installed ?

it appears travis Mac builds have upgraded to TF2 also causing it to fail similarly to the appveyor build

Should I raise a PR to add tf version in osx_install.sh ?

if you would be so kind, in the interim as we decide what to do about TF2 at least

@Dekken I did git fetch and rebase :/

Finally, the checks have all passed. Kindly review the PR.


Expand variables names for --env

Fixes https://github.com/projectatomic/buildah/issues/929
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

@vbatts @TomSweeneyRedHat PTAL

Oh cool. Will try tomorrow. Best to add some tests for this.

Any doc changes needed?

Did I mess up the bash commands or am I expecting the wrong behaviour?  With this patch in play:
# echo $mygopath
/go

# echo $mypath
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin

# ./buildah config --env 'GOPATH=$mygopath/bin:$mypath' fedora-working-container

# buildah run fedora-working-container /bin/bash

# echo $GOPATH
mygopath/bin:mypath

I was expecting
/go/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin

I also tried
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin

with the same result.

@TomSweeneyRedHat buildah config has nothing to do with your environment. It takes the environment from inside of the container/image and applies it.
So if you do a podman install image
You will see a couple of environment variables set.
If you config 'GOPATH=$mygopath/bin:$mypath'
Then if the environment variables currently in the container have defined mygopath and mypath, then they will be substituted, otherwise they will not be.

@rhatdan, thanks for the 411 and I dug a little deeper.  I was concerned that we didn't have a way to expand the local envvars and the container's envvars.  But with this fix I think we do.  I might note this in a little blog/tutorial.  The key are the single quotes.  If you use them the variables are expanded from the containers envvars.  No single quotes then the expansion happens locally.  I think this is due to bash and is handy, but we need to doc somewhere.

Thanks for adding a test for this.
I've just tested with https://gist.github.com/vbatts/4118d3f85b403027892e3be56c3266d2#file-buildah-build-sh and it works as expected!

@rh-atomic-bot r=vbatts


AsBindGroup derive macro should link to the AsBindGroup trait documentation

The derive macro documentation is here.
Currently, the derive attributes (#[uniform], #[texture_storage], etc) are well documented in the trait documentation. From the trait perspective, this makes sense, because the vast majority of users will never manually implement this trait, however it would make more sense to put this information in the derive macro documentation and link to it in the trait documentation.
I think that's probably more effort than it's worth though, so instead I'm suggesting to just add a sentence to the macro documentation saying that there is much more detailed information available in the trait documentation (an a link to it).

Related: #6195

I don't think it is possible to link to an external item like that. Adding the documentation on the re-export breaks the documentation for the derive macro entirely.


[SPARK-37613][SQL] Support ANSI Aggregate Function: regr_count

What changes were proposed in this pull request?
This PR used to support ANSI aggregate Function: regr_count
The mainstream database supports regr_count show below:
Teradata
https://docs.teradata.com/r/kmuOwjp1zEYg98JsB8fu_A/1skTm5SD0HD3Z~vii3hXAg
Snowflake
https://docs.snowflake.com/en/sql-reference/functions/regr_count.html#
Oracle
https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/REGR_-Linear-Regression-Functions.html#GUID-A675B68F-2A88-4843-BE2C-FCDE9C65F9A9
H2
http://www.h2database.com/html/functions-aggregate.html#regr_count
Postgresql
https://www.postgresql.org/docs/8.4/functions-aggregate.html
Why are the changes needed?
regr_count is very useful.
Does this PR introduce any user-facing change?
'No'. New feature.
How was this patch tested?
New tests.

Test build #146088 has started for PR 34867 at commit 5b50f1f.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50563/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50563/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50563/

Test build #146092 has started for PR 34867 at commit 71792f1.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50567/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50567/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50567/

Test build #146092 has finished for PR 34867 at commit 71792f1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class RegrCount(left: Expression, right: Expression, child: Expression)

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146092/

Test build #146088 has finished for PR 34867 at commit 5b50f1f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146088/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146133/


bump django-filter to support 24.2 version

The current Wagtail version relies on django-filter <24. Since the django-filter has been updated to 24.2 this version shall now also be supported in wagtail.

Merged in e86e1caa2833fa2f5426ffa344890f2b03c3a834 - thanks @sebastian-muthwill!


feature request: use this package without change old code

We want to try niquests in our code, but it will install urllib3.future and it will override some files from official urllib3 package. Which may cause some unexpected effect on our existing code.
Is there a way to use this package with requests, without interfering urllib3?

Unfortunately, at the time being, we cannot do this by default. For reasons explained in https://github.com/jawah/urllib3.future?tab=readme-ov-file#notes--frequently-asked-questions and https://niquests.readthedocs.io/en/latest/community/faq.html#what-is-urllib3-future and https://github.com/jawah/urllib3.future/issues/91
Your options are as follow:

https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-no-binary

URLLIB3_NO_OVERRIDE=true pip install niquests --no-binary urllib3-future  at the price to lose the high compat between Requests and Niquests (extensions, etc...)

Or section How can I restore urllib3 to the "legacy" version? in urllib3-future README

Finally, I would argue that:

urllib3-future has a better compatibility range than its predecessor (Python 3.7 and OpenSSL <1.1.1 supported)
urllib3-future is thoroughly tested against software than deeply interact with urllib3 internals https://github.com/jawah/urllib3.future/actions/runs/10463745326
urllib3-future solve issues in often less than 48 hours
urllib3 did break things several times like there, and it's not going to stop anytime soon with what is coming.

regards,


feat(alby): add connect via settings #632

Resolves #632
Second Iteration
Current state
Alby installed

Click will trigger the extension to add the raspiblitz LND account
Current images for detail page are just copied from lnbits

Alby not installed

Click will open getalby.com

Open points

If we decide for this approach, we need

3 screenshots for the detail page
Different logo?
Copytext for "about" and "shortDescription"
See further texts in the "Files changed"-tab

Do people understand this will only add the LND account?
The approach might look better than the first one but is way more hacky. Could be improved though if this should be used (i.e. Alby function is just duplicated currently for the sake of PoC).

First Iteration (outdated)

First iteration.
Decided to go for settings because adding the account to the Alby extension doesn't feel like "Installing an App".
Open for suggestions though. At least this should work.
Could continue to iterate i.e.

adding more infos regarding Alby
adding logo
move to better place within the UI

Thank you 👍
Still on holiday for a week, will look into it in more detail afterwards.
Some suggestions:
You could add them as app in the app selection and instead of "open" use "connect".
I think you'll need more functionality in the app window logic then, which could be too much work. As alternative, you can kinda hard code stuff there.
If window.alby is not available, you could show an install button which opens the Firefox / chrome page.

You could add them as app in the app selection and instead of "open" use "connect".

Done that now, have a look.

I think you'll need more functionality in the app window logic then, which could be too much work.

Tried that, doesn't match the current app pattern really because Alby is not an app you "install" on your raspiblitz.

As alternative, you can kinda hard code stuff there.

Did that now by copying the two main components.

Thanks, Hannes, for tackling this issue.

adding the button to the "App" section makes sense. As a user I expect to find apps there that I can use together with my RaspiBlitz.
https://guides.getalby.com/alby-extension-apis also allows to add Core Lightning nodes, too. If you want to start with LND nodes that's fine.
Title could be: Alby Browser Extension
Subtitle/Description could be: Connect your RaspiBlitz LND node and use Bitcoin & Nostr apps with the Alby Extension.

https://guides.getalby.com/alby-extension-apis also allows to add Core Lightning nodes, too. If you want to start with LND nodes that's fine.

According to the Alby source the commando-adapter needs:

host
pubkey
rune
port

You know how the data from this "Core Lightning" example do match these?:
  "cl_rest_zeus_connection_string": "lndconnect://d22y5z6mcvu3rwuenwle57pddng3l7pzkromquy6k3qw6gwmfh7z2.onion:443?macaroon=02010b632d6c696768746e696e67023753756e2041707220303320323032322032323a32343a353720474d542b303130302028427269746973682053756d6d652054696d652900000620f10755bc9f21fc4a20d927505c78b28bd8a4d35d93eb548fa8af1b80a1626b",
  "cl_rest_macaroon": "02010b632d6c696768746e696e670237556e2041707220303320323032322032323a32343a353720474d542b303130302028427269746973682053756d6d65722054696d652900000620f10755bc9f21fc4a20d927505c78b28b46d8a4d35d93eb548fa8af1b80a1626b",
  "cl_rest_onion": "d22y5z6mcvu3rwuenwle57pdd3l7pzkromquy6k3qw6gwmfh7z2.onion:443"

In the connector info it says "Create a rune by running 'lightning-cli commando-rune'." Should this be done by raspiblitz and added to the API data? Or am I missing something?

Instead of the second Button which displays the info, I think we could just remove the screenshots and just display one button (the info button, which opens the alby page / connect button if alby installed).

@MoritzKa Just to make sure: It's fine if we use the Alby logo for the WebUI right? :)

@escapedcat Alby also got a SVG of their logo, maybe we could use that: https://github.com/getAlby/media/blob/main/alby-sticker.svg
Doesn't have a white background and would maybe fit better.

Alby also got a SVG of their logo, maybe we could use that

Was using the png because all others boxes use pngs and AppIcon expecting a png
Should we leave this for now and update all logos to SVGs later on?

@escapedcat approved, thank you very much :+1:
You can merge whenever you want :)


[1.12SV] Crafting recipes (shaped, shapeless) do not work in SpongeVanilla

Unable to get shaped/shapeless recipes registered /or/ working - they may be registering, just not working... dunno.
The following code is tacked to the end of the GamePostInitializeEvent event handler (where SmeltingRecipes are successfully registered and functional) as whimsical recipes for demonstration testing only:
        Sponge.getRegistry().getCraftingRecipeRegistry()
             .register(CraftingRecipe.shapelessBuilder().addIngredient(Ingredient.of(ItemTypes.BAKED_POTATO))
                        .result(ItemStack.of(ItemTypes.ANVIL, 1))
                        .build("anviltato", this));

        CraftingRecipe shaped = CraftingRecipe.shapedBuilder()
                .aisle("srs", "rsr", "srs")
                .where('s', Ingredient.of(ItemTypes.SAND))
                .where('r', Ingredient.of(ItemTypes.REDSTONE))
                .result(ItemStack.of(ItemTypes.RED_SANDSTONE, 5)).build("redsandtone", this);
        Sponge.getRegistry().getCraftingRecipeRegistry().register(shaped);

I am currently running...

SpongeForge version:
SpongeVanilla version: 1.12 Beta 302
Java version: 8.111
Operating System:

[ ] Linux (Ubuntu, Debian, Fedora, etc)
[ ] macOS
[X] Windows

Plugins/Mods:
Just the testing plugin

What is the expected result?
A baked potato in crafting slots to result in an anvil
A checkerboard of sand and redstone to result in 5 redsandstone blocks
OR some errors during registration or while crafting the recipes
What is the current result?
A baked potato sits on crafting slots, nothing in result slot
The checkerboard of sand/redstone sits in crafting space, nothing in result slot
There are no errors thrown while registering recipes or when crafting the recipes in the console (there may be mixin noise for them in the log though):

https://pastebin.com/ecDXpbuu

works fine in SF so something is broken with vanilla somehow

Oh I see it.
You have to register recipes in PreInit.
@gabizou do we want to allow later registration in SV?

Theoretically that might have been it, but is not, so something is broken in SV indeed.
I just moved that same code to the GamePreInitialization event, and the results are the same: nothing.

Should work with latest now.

Works!
Thank you very much for your repeated and rapid handling of these crafting based issues :)

While that works to actually make recipes register and work, it suffers the same limitation as posted in https://github.com/SpongePowered/SpongeCommon/issues/1455
It seems that data-manipulators are not applying (display names, stone type etc).  Test recipe is shapeless conversion of baked_potato to smoothgranite block with name, result is a nameless regular stone block.


As a user, I want this project to be deployed so that I can use it in production.

Already deployed


xcode9 警告问题

WARN  | xcodebuild:  AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m:76:34: warning: unknown warning group '-Wreceiver-is-weak', ignored [-Wunknown-warning-option]

WARN  | xcodebuild:  AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m:97:34: warning: unknown warning group '-Wreceiver-is-weak', ignored [-Wunknown-warning-option]
WARN  | xcodebuild:  AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m:106:34: warning: unknown warning group '-Wreceiver-is-weak', ignored [-Wunknown-warning-option]
WARN  | xcodebuild:  AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m:75:34: warning: unknown warning group '-Wreceiver-is-weak', ignored [-Wunknown-warning-option]
WARN  | xcodebuild:  AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m:95:34: warning: unknown warning group '-Wreceiver-is-weak', ignored [-Wunknown-warning-option]
WARN  | xcodebuild:  AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m:104:34: warning: unknown warning group '-Wreceiver-is-weak', ignored [-Wunknown-warning-option]

Duplicate of https://github.com/AFNetworking/AFNetworking/issues/3968#issuecomment-333289103 ?


Sidebar Menu sections are folded when you're on add/edit pages

When you add or edit item in submenu, menu is not unfolded and active submenu is not visible on sidebar.

fixed in #258


Bskiser/guake support

Description of changes:

Adding support for Guake for #177

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 15.65%. Comparing base (43f92e4) to head (129e48f).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #260       +/-   ##
===========================================
+ Coverage   12.28%   15.65%    +3.37%
===========================================
  Files        2246      187     -2059
  Lines      191014    16757   -174257
  Branches   174929      670   -174259
===========================================
- Hits        23468     2624    -20844
+ Misses     166379    14133   -152246
+ Partials     1167        0     -1167

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Search repositories

Awesome, thanks so much! Just a couple questions.

I have finished it, please review it again.

:metal: Just one nit pick left.

OK, I have finished it.

:boom: Thanks!


tests.cloud_to_cloud:java:http2_server:rst_during_data  flake

https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/14136/testReport/junit/(root)/tests/cloud_to_cloud_java_http2_server_rst_during_data/
Assertion error: operation timed out
Maybe just a one-off.

Duplicate of #10686


⚠ ClamAV has degraded performance

In fb8cd1b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 88 ms

Resolved: ClamAV performance has improved in 1e1889d after 534 days, 22 hours, 21 minutes.


Fix bug with booru.konachen

Konachan is currently fucked, provides this error:
Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/aiohttp/connector.py", line 710, in _create_direct_connection
    local_addr=self._local_addr)

  File "uvloop/loop.pyx", line 1568, in create_connection (uvloop/loop.c:30607)

  File "uvloop/loop.pyx", line 1546, in uvloop.loop.Loop.create_connection (uvloop/loop.c:30234)

  File "uvloop/handles/tcp.pyx", line 168, in uvloop.loop.TCPTransport.connect (uvloop/loop.c:81020)

  File "uvloop/handles/tcp.pyx", line 192, in uvloop.loop._TCPConnectRequest.connect (uvloop/loop.c:81280)

OSError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/aiohttp/connector.py", line 378, in connect
    proto = yield from self._create_connection(req)

  File "/usr/lib/python3.6/site-packages/aiohttp/connector.py", line 687, in _createconnection
    , proto = yield from self._create_direct_connection(req)

  File "/usr/lib/python3.6/site-packages/aiohttp/connector.py", line 737, in _create_direct_connection
    (req.host, req.port, exc.strerror)) from exc

aiohttp.clientexceptions.ClientConnectorError: [Errno 101] Can not connect to konachan.com:None [Network is unreachable]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/discord/ext/commands/core.py", line 62, in wrapped
    ret = yield from coro(*args, **kwargs)

  File "/home/nitros/bot/bot/cogs/booru.py", line 240, in konachan
    await ctx.send(embed=await self.konachan.parse_req_tags(*tags))

  File "/home/nitros/bot/bot/cogs/booru.py", line 147, in parse_req_tags
    valid = await self.find_valid_url(responses, key="file_url")

  File "/home/nitros/bot/bot/cogs/booru.py", line 38, in find_valid_url
    async with self.session.head(base + url, headers=self.headers) as resp:

  File "/usr/lib/python3.6/site-packages/aiohttp/client.py", line 603, in aenter
    self._resp = yield from self._coro

  File "/usr/lib/python3.6/site-packages/aiohttp/client.py", line 231, in _request
    conn = yield from self._connector.connect(req)

  File "/usr/lib/python3.6/site-packages/aiohttp/connector.py", line 383, in connect
    .format(key, exc.strerror)) from exc

aiohttp.client_exceptions.ClientConnectorError: [Errno 101] Cannot connect to host konachan.com:None ssl:False [Can not connect to konachan.com:None [Network is unreachable]]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 873, in invoke
    yield from ctx.command.invoke(ctx)

  File "/usr/lib/python3.6/site-packages/discord/ext/commands/core.py", line 468, in invoke
    yield from injected(*ctx.args, **ctx.kwargs)

  File "/usr/lib/python3.6/site-packages/discord/ext/commands/core.py", line 71, in wrapped
    raise CommandInvokeError(e) from e

discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ClientConnectorError: [Errno 101] Cannot connect to host konachan.com:None ssl:False [Can not connect to konachan.com:None [Network is unreachable]]

Solved by removing booru from bot ;^)


Minor improvements over scheduled jobs (task #5165)

Allow viewing Scheduled Job log record
Simplified $return_var of the exec() statement
Fixed the cake path

Codecov Report

Merging #538 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #538      +/-   ##
============================================
- Coverage     27.93%   27.91%   -0.02%
  Complexity      960      960
============================================
  Files            85       86       +1
  Lines          3276     3278       +2
============================================
  Hits            915      915
- Misses         2361     2363       +2

Impacted Files
Coverage Δ
Complexity Δ

src/Controller/ScheduledJobLogsController.php
0% <0%> (ø)
1 <1> (?)

src/ScheduledJobs/Jobs/CakeShellJob.php
0% <0%> (ø)
4 <0> (-1)
:arrow_down:

Continue to review full report at Codecov.

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


fix: Fixes the Select unselect for object values

SUMMARY
Fixes the Select unselect for object values.
@junlincc
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
https://user-images.githubusercontent.com/70410625/128196283-01bb9df8-7c8b-4f7d-8f73-6498bff4b2dc.mov
https://user-images.githubusercontent.com/70410625/128196200-4d1d9d16-8956-467f-a77e-eadfff73f7b3.mov
TESTING INSTRUCTIONS
See the videos for instructions.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

🏷 2021.31


Update PhotoTV to Digital Picture Frame following the rebranding

@TwitchBronBron here is the pr to update the PhotoTV app name and logo to Digital Picture Frame on the Roku Community page.


Add a parser for Schwab Equity Award data

In particular this covers the Alphabet/Google equity awards, which data is in a different format than what the Schwab parser already available expects.
This parser also accounts for the Alphabet stock split given the inconsistent data that Schwab still provides (some data expressed in pre-split numbers, some in post-split).

Please fix merge conflict :)
Restore old version of poetry.lock, rebase and add dependency again.

Thanks!


.py written in 3.3.3 in anaconda can't run in 3.3.6

Description
What steps will reproduce the problem?

my program 。 It seems that the axes[].plot() from matplotlib has sth wrong in spyder 3.3.6.The alarm messenge is :tuple index out id range
Versions

Spyder version: 3.3.6
Python version: 3.7.3
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Windows 10

Dependencies
pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.4.2 (OK)
sphinx >=0.6.6    :  2.1.2 (OK)
rope >=0.9.4      :  0.14.0 (OK)
jedi >=0.9.0      :  0.15.1 (OK)
nbconvert >=4.0   :  5.5.0 (OK)
pandas >=0.13.1   :  0.25.0 (OK)
numpy >=1.7       :  1.16.4 (OK)
sympy >=0.7.3     :  1.4 (OK)
cython >=0.21     :  0.29.13 (OK)
qtconsole >=4.2.0 :  4.5.4 (OK)
IPython >=4.0     :  7.7.0 (OK)
matplotlib >=2.0.0:  3.1.0 (OK)
pylint >=0.25     :  2.3.1 (OK)

my program 。 It seems that the axes[].plot() from matplotlib has sth wrong in spyder 3.3.6.The alarm messenge is :tuple index out id range

This is not a problem in Spyder but in Matplotlib. You probably need to update your code to work with the Matplotlib version you have now installed.


add token name symbol to pools

Closes #13
Changes proposed in this PR:

add token name to pool tokens
add token symbol to pool tokens

try it local with:  query
Expected result:
{
        "balance": "100",
        "id": "0xa5342efad4ddd66dabb095ee2db4bd272d54445e-0x4d156a2ef69ffddc55838176c6712c90f60a2285",
        "poolId": {
          "tokens": [
            {
              "name": "Boorish Oyster Token",
              "symbol": "BOOOYS-26",
              "tokenAddress": "0x1d9a0ad91a5bd3d4091fd474c481a3079a846260",
              "tokenId": {
                "address": "0x1d9a0ad91a5bd3d4091fd474c481a3079a846260",
                "symbol": "BOOOYS-26"
              }
            },
            {
              "name": "OceanToken",
              "symbol": "OCEAN",
              "tokenAddress": "0x8967bcf84170c91b0d24d4302c2376283b0b3a07",
              "tokenId": null
            }
          ]
        },
        "userAddress": {
          "id": "0x4d156a2ef69ffddc55838176c6712c90f60a2285"
        }
      },

Questions:  should we rename tokenId to datatokenId ?
If tokenId is null, then that token is not a datatoken

It seems everything under tokenId is just redundant? name, symbol, address is all there already. I would ditch the token prefix for keys for everything under tokens[], cause also redundant. If we want to signal which one is a datatoken then something like isDatatoken would be way more clear.
And just double checking, the name for OCEAN will appear as Ocean Token (with space), right?

sure, it makes sense to keep only address/symbol, as long as it is not breaking something (@idiom-bytes - is it ok from Dao/Snapsot side?)

regarding symbol/names - it will fetch whatever is in the contract for symbol/names.  Mainnet is with space, rinkeby without :)

oh, interesting, so we never redeployed our token contract in the testnets as we did multiple times in mainnet. So the testnets do not reflect current token contract but guess this has no real implication https://github.com/oceanprotocol/token/blob/master/contracts/OceanToken.sol#L33

oh, interesting, so we never redeployed our token contract in the testnets as we did multiple times in mainnet. So the testnets do not reflect current token contract but guess this has no real implication https://github.com/oceanprotocol/token/blob/master/contracts/OceanToken.sol#L33

indeed, we have only the old versions.

new layout:
poolShares": [
      {
        "balance": "100",
        "id": "0xa5342efad4ddd66dabb095ee2db4bd272d54445e-0x4d156a2ef69ffddc55838176c6712c90f60a2285",
        "poolId": {
          "tokens": [
            {
              "address": "0x1d9a0ad91a5bd3d4091fd474c481a3079a846260",
              "isDatatoken": true,
              "name": "Boorish Oyster Token",
              "symbol": "BOOOYS-26"
            },
            {
              "address": "0x8967bcf84170c91b0d24d4302c2376283b0b3a07",
              "isDatatoken": false,
              "name": "OceanToken",
              "symbol": "OCEAN"
            }
          ]
        },
        "userAddress": {
          "id": "0x4d156a2ef69ffddc55838176c6712c90f60a2285"
        }
      },
      {
        "balance": "4.108596132489867437",
        "id": "0x18badbad531d05c8a8e7d8c3493ef9136d51430b-0x4d156a2ef69ffddc55838176c6712c90f60a2285",
        "poolId": {
          "tokens": [
            {
              "address": "0x8921f0f2bce1293772c4f091ebeda4d25eef024a",
              "isDatatoken": true,
              "name": "Sartorial Seagull Token",
              "symbol": "SARSEA-13"
            },
            {
              "address": "0x8967bcf84170c91b0d24d4302c2376283b0b3a07",
              "isDatatoken": false,
              "name": "OceanToken",
              "symbol": "OCEAN"
            }
          ]
        },
        "userAddress": {
          "id": "0x4d156a2ef69ffddc55838176c6712c90f60a2285"
        }
      }
    ]
```

Maybe we should add decimals as well?

decimals is good idea, useful if we want to have more add token to metamask buttons

done
{
        "balance": "100",
        "id": "0xa5342efad4ddd66dabb095ee2db4bd272d54445e-0x4d156a2ef69ffddc55838176c6712c90f60a2285",
        "poolId": {
          "tokens": [
            {
              "address": "0x1d9a0ad91a5bd3d4091fd474c481a3079a846260",
              "decimals": 18,
              "isDatatoken": true,
              "name": "Boorish Oyster Token",
              "symbol": "BOOOYS-26"
            },
            {
              "address": "0x8967bcf84170c91b0d24d4302c2376283b0b3a07",
              "decimals": 18,
              "isDatatoken": false,
              "name": "OceanToken",
              "symbol": "OCEAN"
            }
          ]
        },
        "userAddress": {
          "id": "0x4d156a2ef69ffddc55838176c6712c90f60a2285"
        }
      }

as far as I can see this is a breaking change for market, but only on the History page:
https://github.com/oceanprotocol/market/blob/main/src/components/pages/History/PoolShares.tsx#L29
So if we want to deploy it it we need to prepare a small market update first

ok, let's keep it on hold.
also @idiom-bytes , please check on your side as well

Hey guys,
As far as I can see, the only thing added was the token[{name, symbol}], in addition to the redundant bits that were removed.
Our pools query does not look into any of this data, so I don't think this will have an impact on the strategy (which isn't quite working yet).
For reference, this is the GQL query into DT pools.
I'm approving this PR.
{
pools (first: 1000, orderBy: oceanReserve, orderDirection: desc) {
  id,
  holderCount,
  oceanReserve,
  active,
  totalShares,
  shares (first: 1000) {
    id,
    userAddress {
      id,
      tokensOwned {
        id
      }
    },
    balance
  },
  tokens {
    balance,
    denormWeight,
    tokenId {
      id
    }
  }
}
}

 tokens {
    balance,
    denormWeight,
    tokenId {
      id
    }
  }

tokenId was removed.   you need to replace it probably with "address"

I think you mean "tokenAddress".
We'll update the strategy.

this is the actual change: https://github.com/oceanprotocol/ocean-subgraph/pull/61/files#diff-efc1675187620595b0844197a25c35eac9b6df752f9182e5cffddee6f27a8489
So instead of:
tokens {
    balance,
    denormWeight,
    tokenId {
      id
    }
  }

after this change is deployed it should be like this:
tokens {
    balance,
    denormWeight,
    address
  }

As for market, was quick change. Think we get our auto-generated typings from the Rinkeby subgraph so that PR build might succeed when it's deployed on Rinkeby. Otherwise we kinda have to deploy to Mainnet to make PR build succeed

As I mentioned to Alex, the strategy isn't quite working so this won't break anything.
I'll have a new GQL ready to go, and will test once the Rinkeby/Mainnet subgraph is available.

@kremalicious @mihaisc - 2nd graph deployed and it's live.
check query


CIV-8005 Sonarqube exclusions removed

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-8005
Change description
Sonarqube exclusions removed for PostcodeValidator,BundleRequestExecutor,InformAgreedExtensionDateCallbackHandler
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

2 approvals are present. Conflicts are the result of similar changes being made in other PRs.
There will be no need for re-approval. I'll be signing off on this.


Syntax highlighting for README.asciidoc codeblocks

This commit allows kak script codeblocks and shell script code blocks in README.asciidoc to get some syntax highlighting.
When viewed on GitHub it looks a bit nicer!

thanks, I just changed bash -> sh


Release new version

Heya, would it be alright to publish another version of parking_lot in the near future?
I'm mainly looking forward to the instant::Instant support so that my library can depend on published dependencies instead of git dependencies.
Thank you!

I'm hoping to release a new version this week. I've got a backlog of things to do for this crate.

Any updates on this?

Done


How to have query map a message for the current connection once and send the mapped message all connections

I'm trying to do something similar to the websocket example.
When using the query with websockets, when there multiple connections, is it possible to have a single connection submit a message, have the query map (handle) that message once and include all connections in the response?
This may be easier to explain with a concrete example.
I have a list of orders and multiple users (connections) selecting orders from the list. I would like the server to keep track of which orders are currently selected by each user. When a user A selects order 123, the server receives a message requesting order 123 be assigned to user A, the server assigns order 123 to user A (updates its local state), and sends a notification to ALL users (connections) that order 123 is selected by (assigned to) user A.
I understand how to determine if the message being processed is for the current connection. However, I don't see a way to transform that message just once for all connections. Am I missing something obvious, or perhaps trying to do something this library isn't intended for?
Thanks

Well found the obvious thing I was missing. I needed to use QueryAll instead of Query.


Track memory usage in MemUsageCollector

Description

We have implemented a MemUsageCollector in https://github.com/CeresDB/ceresdb/blob/6b929ca19a/analytic_engine/src/instance/mem_collector.rs but no one reports memory consumptions to it.
One of the use cases is deciding whether to schedule a flush job based on memory usage:
https://github.com/CeresDB/ceresdb/blob/6b929ca19abf48ba9afd1cb554ec9a25c7783a42/analytic_engine/src/instance/write.rs#L307-L331
Proposal

Tracking allocation using this collector. For now I think tracks memtable is enough
Additional context

Well... This is already implemented when the issue was created.


Tool for isolating graphical elements and export to valid IFC

Description 📝
Currently there is a bug in the IFC parser which leaves some faces of some models unrendered.
To alleviate this issue I would like to share affected files for debugging purposes, but I am not allowed to share the files as is because it's considered a valuable asset.
Suggested solution 💡
Create a tool where we could decimate an IFC and easily isolate the problematic areas exported as a separate IFC-file.
This file would be unrecognizable and thus sharable.
Preferably the tools would also strip off any metadata and properties and only leave the geometry to assure there is no sensitive information in the isolated file.
Alternative ⛕
No response
Additional context ☝
This feature would help solve ThatOpen/engine_web-ifc#927
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

@agviegas Hi. I think about this approach.

Load IFC file
Select elements to Isolate
Extract fragments from the selected elements
Remove all unnecessary information(properties) from the fragments.
Generate new temporary FragmentGroups with the extracted fragments
Save the FragmentGroups into a file
Let me know what you think about this.

Hey @superman90113 here is that we need to output an IFC file, not a fragment file. So ideally the conversion should happen without generating the fragments for the IFC file, as they are not necessary and would consume resources.
IMO we need something like: const result = splitIfc(ifcFile, idsToExtract);

Hi @agviegas
I have managed to get time to implement the feature.
I have worked in a single file with web-ifc library imported. How can I add the function here, so that you can check?

Hey @superman90113 that's great! You can create a new class in the IFC folder and do something similar to the IFC to JSON exporter

Hi @agviegas I've created a new class IFCIsolator and implemented the feature on my local. How can I upload this class to send you"

Hey, can you create a PR? Thanks!

Hi, @agviegas
Let me know the feedback if you reviewed the implementation.
Thank you!

@superman90113 hi sorry I didn't have time to review it until now, I'll let you know asap. Thanks!

Hi, @agviegas!
Good to see that my pull request is accepted.
I think you will need to add corresponding pages to the doc and examples?
Regards.


[BUG]  test_fit_does_not_overwrite_hyper_params[FeatureUnion] failing

Update: the failure has been silenced in the tests to enable refactor work on CI/CD, but the bug is still there.
To reproduce, the test should be run manually, or with the silencing disabled (tests._config.EXCLUDED_TESTS)

Describe the bug
In the refactored CI pipeline based on github actions #1620, and is blocking the PR.
The test test_fit_does_not_overwrite_hyper_params[FeatureUnion] from tests/test_all_estimators.py fails on linux with python3.6-3.9 and macos 3.6-3.9 with the error below.
Curiously the test are passing in CI pipelines currently on main branch.
____________ test_fit_does_not_overwrite_hyper_params[FeatureUnion] ____________
[gw0] darwin -- Python 3.7.12 /Users/runner/hostedtoolcache/Python/3.7.12/x64/bin/python

estimator_instance = FeatureUnion(n_jobs=None, preserve_dataframe=True,
             transformer_list=[('transformer1',
                   ...                                                              with_std=True)))],
             transformer_weights=None)

    def test_fit_does_not_overwrite_hyper_params(estimator_instance):
        """Check that we do not overwrite hyper-parameters in fit."""
        estimator = estimator_instance
        set_random_state(estimator)

        # Make a physical copy of the original estimator parameters before fitting.
        params = estimator.get_params()
        original_params = deepcopy(params)

        # Fit the model
        fit_args = _make_args(estimator, "fit")
        estimator.fit(*fit_args)

        # Compare the state of the model parameters with the original parameters
        new_params = estimator.get_params()
        for param_name, original_value in original_params.items():
            new_value = new_params[param_name]

            # We should never change or mutate the internal state of input
            # parameters by default. To check this we use the joblib.hash function
            # that introspects recursively any subobjects to compute a checksum.
            # The only exception to this rule of immutable constructor parameters
            # is possible RandomState instance but in this check we explicitly
            # fixed the random_state params recursively to be integer seeds.
>           assert joblib.hash(new_value) == joblib.hash(original_value), (
                "Estimator %s should not change or mutate "
                " the parameter %s from %s to %s during fit."
                % (estimator.__class__.__name__, param_name, original_value, new_value)
            )
E           AssertionError: Estimator FeatureUnion should not change or mutate  the parameter transformer_list from [('transformer1', SeriesToSeriesRowTransformer(check_transformer=False,
E                                          transformer=StandardScaler(copy=True,
E                                                                     with_mean=True,
E                                                                     with_std=True))), ('transformer2', SeriesToSeriesRowTransformer(check_transformer=False,
E                                          transformer=StandardScaler(copy=True,
E                                                                     with_mean=True,
E                                                                     with_std=True)))] to [('transformer1', SeriesToSeriesRowTransformer(check_transformer=False,
E                                          transformer=StandardScaler(copy=True,
E                                                                     with_mean=True,
E                                                                     with_std=True))), ('transformer2', SeriesToSeriesRowTransformer(check_transformer=False,
E                                          transformer=StandardScaler(copy=True,
E                                                                     with_mean=True,
E                                                                     with_std=True)))] during fit.
E           assert '7f94d1fc7e1f...888be251ce7b2' == 'b03f493febd2...c60681b4af6e4'
E             - b03f493febd2f1d6da1c60681b4af6e4
E             + 7f94d1fc7e1f285e1e5888be251ce7b2

estimator  = FeatureUnion(n_jobs=None, preserve_dataframe=True,
             transformer_list=[('transformer1',
                   ...                                                              with_std=True)))],
             transformer_weights=None)
estimator_instance = FeatureUnion(n_jobs=None, preserve_dataframe=True,
             transformer_list=[('transformer1',
                   ...                                                              with_std=True)))],
             transformer_weights=None)
fit_args   = (                                                var_0
0   0    -0.116020
1     0.343339
2    -0.464066
3...
1   0    ...0
7     1
8     0
9     0
10    0
11    0
12    1
13    1
14    1
15    1
16    0
17    0
18    1
19    1
dtype: int64)
new_params = {'n_jobs': None, 'preserve_dataframe': True, 'transformer1': SeriesToSeriesRowTransformer(check_transformer=False,
   ...                                                        with_std=True)), 'transformer1__check_transformer': False, ...}
new_value  = [('transformer1', SeriesToSeriesRowTransformer(check_transformer=False,
                             transformer=Stand...                              with_mean=True,
                                                        with_std=True)))]
original_params = {'n_jobs': None, 'preserve_dataframe': True, 'transformer1': SeriesToSeriesRowTransformer(check_transformer=False,
   ...                                                        with_std=True)), 'transformer1__check_transformer': False, ...}
original_value = [('transformer1', SeriesToSeriesRowTransformer(check_transformer=False,
                             transformer=Stand...                              with_mean=True,
                                                        with_std=True)))]
param_name = 'transformer_list'
params     = {'n_jobs': None, 'preserve_dataframe': True, 'transformer1': SeriesToSeriesRowTransformer(check_transformer=False,
   ...                                                        with_std=True)), 'transformer1__check_transformer': False, ...}

To Reproduce
Run the test with:
pytest sktime/tests/test_all_estimators.py

Expected behavior
Test passes
Additional context
Versions
See github actions under #1620

I think the bug is straightforward, just looking at it (needs to be confirmed).
FeatureUnion has a transformer attribute which contains the components. Instead of fitting these directly where they are, the transformers should be cloned (using deepcopy or a safe sklearn clone) to a transformer_ attribute and fitted there, without having side effects on the transformer attribute written in the init.

Relates to this section of the extension contract specification in the extension template which is probably violated:
        # any model parameters should be written to attributes ending in "_"
        #  attributes set by the constructor must not be overwritten
        #  if used, estimators should be cloned to attributes ending in "_"
        #  the clones, not the originals shoudld be used or fitted if needed

don't have time to fix it today, but if someone wants to pick it up quickly, I've attached the "good first issue" label

Thanks for the input @fkiraly! Let me try to make it work.

I found that FeatureUnion has a lot of code duplicated from sklearn.pipeline so I got rid of that in #1665 and I'm getting a different test failing this time, namely:
_____________________________________________ test_raises_not_fitted_error[FeatureUnion] ______________________________________________

estimator_instance = FeatureUnion(n_jobs=None, preserve_dataframe=True,
             transformer_list=[('transformer1',
                   ...                                                              with_std=True)))],
             transformer_weights=None)

    def test_raises_not_fitted_error(estimator_instance):
        """Check that we raise appropriate error for unfitted estimators."""
        estimator = estimator_instance
        # call methods without prior fitting and check that they raise our
        # NotFittedError
        for method in NON_STATE_CHANGING_METHODS:
            if hasattr(estimator, method):
                args = _make_args(estimator, method)
                with pytest.raises(NotFittedError, match=r"has not been fitted"):
>                   getattr(estimator, method)(*args)
E                   Failed: DID NOT RAISE <class 'sktime.exceptions.NotFittedError'>

sktime/tests/test_all_estimators.py:357: Failed

Which is a bit weird since if I type the minimal example it works as expected:
from sktime.series_as_features.compose import FeatureUnion
fu = FeatureUnion([("scaler", MinMaxScaler())])
fu.transform([1])
...
    raise NotFittedError(msg % {'name': type(estimator).__name__})
sklearn.exceptions.NotFittedError: This MinMaxScaler instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator.

The test though. I think it's because it's a sklearn exception and not sktime's and the message is slightly different.

On a broader note, I don't know if FeatureUnion is well placed being tested on par with other estimators since it's a "meta" estimator that takes other estimators as arguments. From that perspective it's closer to a Pipeline object. Any thoughts @fkiraly @mloning ?

I think it's because it's a sklearn exception and not sktime's and the message is slightly different.

Yes, the test looks for the text has not been fitted, but the expectation raised has is not fitted instead. So either changing the error message or the text that the test is looking for should fix this, would suggest the former if that's easy.

On a broader note, I don't know if FeatureUnion is well placed being tested on par with other estimators since it's a "meta" estimator that takes other estimators as arguments. From that perspective it's closer to a Pipeline object. Any thoughts @fkiraly @mloning ?

That's perfectly fine, since composites (what you call "meta" estimators) usually follow the template of an estimator type, in this case a transformer. That's the same with sklearn pipeline or grid search, which results in an object that behaves just like your normal supervised learner or transformer.

We have our own sktime.exceptions.NotFittedError, seems like the FeatureUnion is raising scikit-learn's one.

It seems this should be reopened since the test is not passing still, see https://github.com/lmmentel/sktime/runs/4498946788?check_suite_focus=true As you can see it's failing for all linux host and for macOS with py37.
I've tried some additional ideas but so far I'm not able to make it work. Could someone who knows more about PaneltoPanelTransformer and SeriesToSeriesRowTransformer look into this. I think the issue might be related to those transformers not being "good"  meta transformers. @mloning @fkiraly

Why is this closed, @TonyBagnall? It doesn't seem resolved (on the specific combination of py version and OS), we need this to pass on all combinations.

did I close it? Sorry, must have been a mistake on my part!

This can be closed now since the failing test is now being excluded through #1792.

no, not really, @lmmentel!
Because this is still a bug! We're just silencing it temporarily, until someone fixes it...

OK, than I guess the title and description should be updated to reflect the actual issue and how to reproduce.

sure - updated the text of the bug description. I think the title is still accurate?

Fixed by #1810


Restructure for webpack4

Hi Benedikt,
Firstly, thank-you for providing this project… I think a lot of the "examples" out there are just overly complicated -- the simple approach taken really helped work out what was "essential" to get the job done.
I'm not sure what license your project is under, if you could put that metadata into package.json, that'd be a big help to understanding where I stand in using the code there.
I couldn't get tests working at all -- not sure what I'm doing wrong, but the fact that you mention issues with Travis CI might be a factor -- I'm using Gentoo Linux AMD64 which isn't dissimilar to the Ubuntu environment that Travis CI runs.
I did manage to port the build environment to Webpack 4.  I found minification would break the application, even after getting the ng-annotate-loader module working because the way the functions for each controller were require()d in, confused the loader.  Moving the controller definition to the file where its function was defined fixed that, and now (in Firefox at least), I can use your application when minified by Webpack 4.
I might take another look at test frameworks, see if I can get them going here.  If I manage that, I might provide another pull request -- that might get Travis CI working too.
Regards,
Stuart Longland

Hello Stuart,
thank you! You really made my day. I'm very happy that this repo help you!
When I saw the notification about your PR I couldn't really remember this repository. Then I looked into it and started to remember that is was something I adopted year ago from an example by @basti1302. I haven't touched it in ages and I don't intend to change it.
I'm wondering: why are you looking for something with Angular.js given that fact that Angular 7.x has already been released (see https://angular.io/). Maybe you better start looking there, since I think it's a good idea to start a new project with Angular.js today.
Regarding your license question: consider this repo to be licensed unter Apache License v2. I may add that to the package.json. After that I'll probably make this repo read only to not confuse more people into thinking this is the way things should be done today.
Anyway, thanks again!

Yeah, that's what my workplace uses… there's talk of moving over to something else but what that something else will be I don't know.  It could be Angular7, React has been mentioned, and there's also Vue.js and Dojo lurking in the background.
In the meantime I needed to solve a problem with using AngularJS and get my head around the modern build tools -- I'm too used to the days when the web browser market was a duopoly of Netscape and Internet Explorer (I think 5 or 5.5 might've been "bleeding edge") and pages (which had to fit an 800×600 pixel display) were expected to load within 30 seconds on a 28.8kbps modem.
A lot has changed. :-)


Can't see master trades when trading with villagers

I find it pretty annoying that I can't see the master trades from villagers when using this I think this could be fixed with a scroll bar to scroll to the trades that are not shown

You certainly used the mod in a world where you didn't use it, this is not recommended due to mechanics like this, which are changed by it. (if it wasn't that, you used it in a version of the mod where there was a bug where Villagers unlock twice as many trades)
Villagers and Wandering Traders normally have a maximum of 10 trades, without modifications or bugs, so the default interface doesn't show more than that, I may or may not change this in the future, if you really want to do these trades, enable Classic Crafting


When is the next release? Set up CI job to create releases once a day?

About this discussion
Hey all, i love this project. I did not receive a helpful answer in the tg group, so i ask here.
When will the next release happen?
I looked into contributing some icons (and app names to app/src/main/res/xml/grayscale_icon_map.xml), but the last release was 1,5 month ago and many were already added...

New release will be coming soon after the contacts, messages & phone icons are redesigned. We'll try to make a new release every 30 days.

Ok great. Not the solution i prefer but at least i know when i can look into it, thx!

I'd much prefer having this issue open so I could keep track of it (and maybe implement it soonish, releasing every month). Also the "daily" builds can be seen in the Actions tab (see #Downloads of the README file)

Also the "daily" builds can be seen in the Actions tab (see #Downloads of the README file)

That's true, but it requires people to unzip the artifacts making the process more complicated that it needs to be. ALVR made a separate nightly repository. We could do the same for Lawnicons, and even Lawnchair

New release will be coming soon after the contacts, messages & phone icons are redesigned. We'll try to make a new release every 30 days.
30 days release cycle is really good option

Any update?

I suggest automating releases according to the following logic: if a month has passed since the last release and more than 100 icons have been added, then make a release. If less than 100 icons have been added in a month since the last release, then the release is postponed for a month.

Until something like this is implemented by the Lawnicons team, I've made my own Lawnicons nightly repository. New releases are made every day (using GitHub actions), as long as there have been changes since the last release happened.
You could add the repo to Obtainium or something similar to automate the downloading of the APKs.
You can access it here.
Hope you find it helpful :)

Until something like this is implemented by the Lawnicons team, I've made my own Lawnicons nightly repository. New releases are made every day (using GitHub actions), as long as there have been changes since the last release happened.
You could add the repo to Obtainium or something similar to automate the downloading of the APKs.
You can access it here.
Hope you find it helpful :)

That's great...
Thanks...


Validate text encoder cache + add deepspeed arg parsing

Changes:

Validates text encoder cache, similarly to how image latents are validated. Previously only checked existence of file, but I had issue with incomplete or corrupted file breaking my training 600 steps in.
Fixes deepspeed arg parsing in cache latents scripts, related to https://github.com/kohya-ss/sd-scripts/issues/1288
Adds --skip_to_step arg to sdxl_train. I am somewhat new to this project so not sure if this is correct. The purpose is to bring the dataloader in sync with desired step and resumed state. It is much simpler than https://github.com/kohya-ss/sd-scripts/pull/1359. I will remove this change if not correct.

Update:

Enable load of SDXL tokenizer from pretrained_model_name_or_path. Not sure why it doesn't do that in the first place, perhaps from before SDXL was easily available on huggingface?. Currently it loads from

TOKENIZER1_PATH = "openai/clip-vit-large-patch14"
TOKENIZER2_PATH = "laion/CLIP-ViT-bigG-14-laion2B-39B-b160k"

However, I have modified tokenizers that I expected to be loaded from pretrained_model_name_or_path.

Thank you for this! For --skip_to_step, this implementation calls DataLoader for all steps, it will take a lot of time if the dataset is large. For example, if one epoch has 10,000 steps, skipping 10 epochs needs 100,000 calls for DataLoader. So we needs 'skipping epoch' feature.
I will review other updates in this PR.

Would something like this work?:
# before dataloader loop
steps_skipped = args.skip_to_step - 1
 accelerator.skip_first_batches(train_dataloader, steps_skipped)
 progress_bar.update(steps_skipped)
 global_step += steps_skipped

 # then
 for step, batch in enumerate(train_dataloader):

I don't completely follow the changes in the other PR. I can remove the skipping part from the PR if I'm not getting it right.
Also, I added another small change, details in original post.

Question:
Do you know if there is a reason batch_size=1 in cache latents and text encoder outputs?
https://github.com/kohya-ss/sd-scripts/blob/main/tools/cache_text_encoder_outputs.py#L129
https://github.com/kohya-ss/sd-scripts/blob/main/tools/cache_latents.py#L124
Would it be ok to make this adjustable w/ args?


Prefetch data for route components

Currently we have getInitialData but it does not inject data or props to relevant route component, hopefully we can implement a real getInitialData which injects resolved object to component data or getInitialProps which injects props instead.
getInitialData:
export default {
	async getInitialData() {
		return { count: 0 }
	},
	render() {
		return <button>{this.count /* this.$data.count */}</button>
	}
}

getInitialProps:
export default {
	async getInitialProps() {
		return { count: 0 }
	},
	props: ['count']
	render() {
		return <button>{this.count /* this.$props.count */}</button>
	}
}

If it's possible to have getInitialProps then we don't need to implement getInitialData

Refs:

getInitialProps in Next.js
asyncData in Nuxt.js

It seems like HOC is the only way to do this, but they are ugly in vue. 😕

很简单啊，我自己写的一个Vue SSR框架就实现了（基于vue hacknews 2.0那个），有空写个PR。

https://ream.js.org/guide/data-prefetching.html