Rendered fewer hooks than expected error with Storybook 7

Hi,
This week I had to update the project of my company to use a new version of NX (from v15 to v16), which implied to upgrade Storybook as well (v6 to v7). We used to have the cookieDecorator in our preview file, using the version 1.0.4 of the addon, and everything was working well.
After the update, I have the version 3.0.1 of the addon and Storybook 7.0.26, and I got this error on some stories :

It only occurs on 30 stories out of 250, 3 for components and most of the errors are on stories of our email views.
I checked the source code of the lib, it doesn't seem there is an early return before the use of hooks so I don't know why it's happening. Also FYI, we don't even use the cookie feature anymore, so I'm gonna remove the decorator from our codebase, but it's really weird and maybe some other people can face the issue, that's why I'm opening this issue 😄

I apologize for the delay in my response.
Thank you for reporting the issue. We'll take a look at it.

Hi! Any update to this issue? Latest release of v3.2.0 this still persists:) Thanks!


Missing Scala Versions

Do I understand correctly that this list is supposed to contain all supported Scala versions eventually (i.e. up to 2.12.16 and 2.13.8)?
https://github.com/typelevel/scalac-options/blob/1a75eef01b7e0d338089ec1619eeba3a595c0079/lib/src/main/scala/org/typelevel/scalacoptions/ScalaVersion.scala#L27-L39
Or are there only those versions listed that introduce some changes in scalac options?

Or are there only those versions listed that introduce some changes in scalac options?

This is my understanding. But I don't think it would hurt to complete the list.


Add Jar to the users.md

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Adding Jar app to the users list, thanks for building this brilliant piece of tech.
Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

Thanks for the addition!

Thanks! We don't use merge commits in Cilium, so I re-pushed without that commit. I'll merge the change now.


Fix epic_key column in list call. Closes #75

Example query results

Results
> select
  key,
  id,
  epic_key,
  project_key
from
  jira_issue
where
  key in ('SBT-1', 'SBT-2', 'SBT-3')
+-------+-------+----------+-------------+
| key   | id    | epic_key | project_key |
+-------+-------+----------+-------------+
| SBT-3 | 10052 | SBT-1    | SBT         |
| SBT-1 | 10050 | <null>   | SBT         |
| SBT-2 | 10051 | SBT-1    | SBT         |
+-------+-------+----------+-------------+

Time: 396ms. Rows fetched: 1. Hydrate calls: 0.
> select
  key,
  id,
  epic_key,
  project_key
from
  jira_issue
where
  project_key = 'SBT'
+-------+-------+----------+-------------+
| key   | id    | epic_key | project_key |
+-------+-------+----------+-------------+
| SBT-3 | 10052 | SBT-1    | SBT         |
| SBT-1 | 10050 | <null>   | SBT         |
| SBT-2 | 10051 | SBT-1    | SBT         |
+-------+-------+----------+-------------+

Time: 0.9s. Rows fetched: 3. Hydrate calls: 3.

@misraved
Findings:

The SDK is not returning the custom fields in the List call - epic_key is a part of the custom fields. Have raised an issue for the same  - https://github.com/andygrunwald/go-jira/issues/636
The issue persists even after updating the SDK
One workaround could be by using the get api as hydrate for the column. Which is of course an extra api call.
Another would be to use the raw searchIssue endpoint to fetch the List call data, which returns some means to fetch the epic data.

Have modified the list call in this PR to use the rest/api/2/search endpoint.


Stop LXC/LXD creating useless IPv6 Networking setup inside containers by default

Required information

Distribution: Ubuntu
Distribution version: 16.04
The output of "lxc info" or if that fails:

config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFcTCCA1mgAwIBAgIRAKrvdFAi5uDuycC8KnphJ/QwDQYJKoZIhvcNAQELBQAw
    RDEcMBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEkMCIGA1UEAwwbcm9vdEB0
    aW1zZXJ2ZXIudGltc3N0dWZmLmV1MB4XDTE3MDQxNDA2MTY1M1oXDTI3MDQxMjA2
    MTY1M1owRDEcMBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEkMCIGA1UEAwwb
    cm9vdEB0aW1zZXJ2ZXIudGltc3N0dWZmLmV1MIICIjANBgkqhkiG9w0BAQEFAAOC
    Ag8AMIICCgKCAgEAw5dwGlKwUQNFQlORZYK/SApR+xEEiu0rxM62GysFztuF41ps
    g2ig7MyTZ9yTRFm4WngkVVkamXswkO/l7nQ9VNYfIE/HFR76hbo/QcLbx6SM25U7
    DigzlsPj7UpN2BwTHdNj8y55JnXfqNnbN5Qvb2hP3IJg2e6TfgpmLNxoeoOid9Ju
    0wLGT6OaVvIjQv2AV51hDjORjoVB2yELgGu81DjPnVloKmmaDqIfDYAxj51EjIeR
    J+ELZ53zwYaDuMAdDFFykyJ0EJCjOzfBMrWfsVUmhUiwgUSZ/3u9fFq9N6l0mVws
    pBd/jCNROOOQB0GEZU6j7H/mab3ZHmyrSC9KmJAiFhtYwWLGcBZmWQWmEV39rC+E
    w598TKSRzsz4vhzrBwwGVxHA6IixKQU86Nncou90NIhIB6J1QD7bLiAwk4gxOgJV
    V4ouPM7zmiDn3EWe/vGuMc1ugciWTtotJaQ54o0+DLqWW3ZIdRYTTov/vMuYrI3C
    WMNGbT51idjV8M4UoHo2eMGSIsay9m9p+aYORfdEHSg+8+2i9+D4fjb0sMeSlEpi
    YXpljdyAxh9w/hIDbIoKbhvo8jqxGbUsG3mHvE2TWXfmTkWOBrbcWA5uePNscHOV
    HW7htUpniEWo+7JQcsiPgpRepf7IHI7c2Kvc1lBOxpPpBdRq/duFpwuW5CECAwEA
    AaNeMFwwDgYDVR0PAQH/BAQDAgWgMBMGA1UdJQQMMAoGCCsGAQUFBwMBMAwGA1Ud
    EwEB/wQCMAAwJwYDVR0RBCAwHoIWdGltc2VydmVyLnRpbXNzdHVmZi5ldYcEwKgA
    BDANBgkqhkiG9w0BAQsFAAOCAgEAcP0pir9ZIdgG9SWk6aoWSrl/8d9TZhxzO4Hm
    i0SshsV6NeZJbrRwkmNjyaBQKTFMgPBGAaUGuKdfCg71ixol84u+yUxjeJfF8ISc
    MkP9ObEAGQXVwBHz7S6DqsGXvLDNWfjI+NSquIMV1i0CE7pD0Nyp8WO+AO7QdUJW
    jqD19yOZ1Jho7dOuCTItWFFXLbP+M+zWhDislw4v8U/MjpMiRSoYpkCycLpaHiEv
    6hcSHNcZaUPh+0wDJFt6sbX1xV6pTjw9jta50CpVKrYncn9qt1jLEqgOI4GI5HUr
    0fRB0ADXmcGnLxyk5zVg7Mf3ZUxPiJv4Xf+T9BuCKM6SrBa91piijIUYKpkNQ8zL
    tNk7ciFKMqq6/R80I2wuLueVHOARCsIfEtnz4VMbuWYd93wayosK2zGwuP3UP+RS
    NTfCCKNtf9tkawZB9rUFMu1Wdj/EccOSqteVMqwXaaGEGjJ6STcEhoUuDKemljBX
    Bsdx8C8U71vUTrilGpdzsTlwn+EPXK3g7YgfQZqQRzF80k5iCvOK9H3fuR49xsy9
    VOkX+w51+hSyBe4sZsiUKg4zgi5OfBLJUjt2e9L16d1TOO3bd5tjr4U7TijBqXyL
    jBI8pe+9mcYAz1fJ91O/AWjewI7xPPQdUDJREOjxg+jqYLCYLla/79n6kHiLiV90
    NhqIjLU=
    -----END CERTIFICATE-----
  certificate_fingerprint: 3b48c7a09949167bcbd30f23ccd1511f19fcde2f15e64efc4e636f158f831282
  driver: lxc
  driver_version: 2.0.8
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.4.0-78-generic
  server: lxd
  server_pid: 26238
  server_version: "2.13"
  storage: btrfs
  storage_version: "4.4"

Issue description
By default lxc/lxd will create containers with an IPv6 network setup that does nothing. The problem with this is that its presence in the container prevents NetworkManager from working properly, see https://bugzilla.gnome.org/show_bug.cgi?id=782816
There appears to be no way to disable this default IPv6 network. If there is then please consider this a documentation bug, because it's not documented.
$ lxc list local:
+-------------+---------+---------------------+----------------------------------------------+------------+-----------+
|    NAME     |  STATE  |        IPV4         |                     IPV6                     |    TYPE    | SNAPSHOTS |
+-------------+---------+---------------------+----------------------------------------------+------------+-----------+
| emby-xenial | RUNNING | <IP_ADDRESS> (eth0) | fd29:1cd:eba7:4138:216:3eff:fe4e:ed65 (eth0) | PERSISTENT | 0         |
+-------------+---------+---------------------+----------------------------------------------+------------+-----------+

root@emby-xenial:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
6: eth0@if7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:16:3e:4e:ed:65 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fd29:1cd:eba7:4138:216:3eff:fe4e:ed65/64 scope global mngtmpaddr dynamic
       valid_lft 3093sec preferred_lft 3093sec
    inet6 fe80::216:3eff:fe4e:ed65/64 scope link
       valid_lft forever preferred_lft forever

Steps to reproduce

Create a container
launch a shell inside the container with lxc exec
run 'ip addr'

IPv6 in containers is configured on a per-network basis.
By default, containers are connected to the "lxdbr0" network (see lxc profile show default output).
You can disable entirely IPv6 on that network via
lxc network set lxdbr0 ipv6.address none

Thanks

Disabling by default is backwards thinking IMO.  IPv4 has run out of address space while IPv6 is plentiful.  Customers will demand  IPv^, IPv6 rPTR/DNS etc.  It is up to providers to mitigate the difficulties or your competitors will.

@albertodonato
lxc network set lxdbr0 ipv6.address none
yes, if you're using lxd > 2.0.10 . otherwise ?

@cloud4g

Disabling by default is backwards thinking IMO.
it's definitively not.  firstly don't enable things which you never use. (->security a.s.o. - apparently you come from $$$-side, right?).  secondly preemptive obedience leads to unquestioning obedience. better we gonna wait for a more sophisticated ipNG in the future, right?
thirdly if you are not sure, don't do it!

> IPv4 has run out of address space while IPv6 is plentiful.
that's right. with v6 you can give each alien devices outer space an ip-address ;) , ergo ?

Customers will demand IPv^, IPv6 rPTR/DNS etc.
customers even like to be on twitter or facebook never wasting any thought about.  the thing is: customers never know what they do.
ipv4 is connectionless, ipv6 connection oriented. using ipv6 in a total ipv6 world == orwell 1984 !

It is up to providers to mitigate the difficulties or your competitors will.
that's no argument. not a customer business.

Politics aside. Many networks still don't support IPv6 and it's not always practical to use it as a default.

You can disable IPv6 addressing on the network using:
lxc network set lxdbr0 ipv6.address none


Feat:Hover effect on the connect with a reader button

Describe the feature
A hover effect on the button will make it more eye catching to the visitors and help locate the form more easily increasing number of swap readers.
Add ScreenShots

current version:

something like this but not limited to this could be added:

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Describe the feature
A hover effect on the button will make it more eye catching to the visitors and help locate the form more easily increasing number of swap readers.
Add ScreenShots

current version:

something like this but not limited to this could be added:

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

work on it!


[JS] Input file don't work when loading with ajax

Hello guys.
In my application, I have a form that loads with ajax, and in this form has some input file.
I've tested, when i put this input file in a normal page, it works fine, but, when it load with ajax, it don't work as expect.
Have a fix for this?

Fixed in https://github.com/Dogfalo/materialize/pull/1733 https://github.com/Dogfalo/materialize/commit/7bec3393da3888ebdb83abf45680182d049ded6e.


The client 'xxx' with object id 'xxx does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read'

The service was running fine, but all the sudden, this exception happened, with the web app service failing to start:
System.AggregateException: One or more errors occurred. (The client xxx' with object id 'xxx' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/xxx/resourcegroups/SignService'.) ---> Microsoft.Rest.Azure.CloudException: The client 'xxx' with object id 'xxxx' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/xxx/resourcegroups/SignService'.
   at Microsoft.Azure.Management.ResourceManager.ResourceGroupsOperations.GetWithHttpMessagesAsync(String resourceGroupName, Dictionary`2 customHeaders, CancellationToken cancellationToken)
   at Microsoft.Azure.Management.ResourceManager.ResourceGroupsOperationsExtensions.GetAsync(IResourceGroupsOperations operations, String resourceGroupName, CancellationToken cancellationToken)
   at SignService.Services.ApplicationConfiguration.InitializeAsync() in C:\s\github\SignService\src\SignService\Services\ApplicationConfiguration.cs:line 80

I fixed it by adding back the application's (signservice-server) access to the subscription. Not sure why/how it changed :)
This answer helped.

Ran into this issue myself when using the ARM template

Odd...wonder what could have removed those permissions on the resource group?

In my case, I had deleted the original resource group and recreated it using the ARM template without running the InstallUtility a second time.


settings editor.cursorSurroundingLines to have scrolloff ends up in weird behaviour.

https://user-images.githubusercontent.com/61333365/190913176-dd2e97a7-edcf-4cb4-a967-f23cc65fd972.mov

Please describe the issue

I also experienced same issue. If you set scrolloff in VSCode high enough to have cursor always centered if you click somewhere above or below the cursor it'll jump to accommodate set scrolloff value. So it looks very weird and you can't really select anything with mouse. I just disabled scrolloff altogether.

I know what's the issue. You're using your mouse.


Wrong default value for mx_nxt_reward in chooseAction

in chooseAction function default value of mx_nxt_reward is 0. but in some cases in greedy action the ture max reward is negative so by default value of 0, no action will be choosen. there for default value of mx_nxt_reward should be -inf to prevent error in these cases.

mx_nxt_reward can be assigned a min integer value. Is this solution okay?
Can I contribute to this issue?

Yes it should be assigned to min integer value or -inf.

Can I contribute to this issue? Please assign me

@mahsayazdani
Please check PR  #11


[Proposal] Rootcard in row grouped by 2

What do you think about having the cards in the homepage grouped by 2 in the same row? it allow the website to be shorter and needs less scroll. It's also easier to read it.

On mobile instead it will remain the same as now:

Perfect! One thing: we need to find another icon for the fourth card

Hey @KristianLentino99! I totally agree that we could do much better to exploit horizonal space on desktop.
Actually we have a guy from Reddit who is a Designer and he volunteered to redesign/improve the UI. I think it's better to wait for his Figma not to waste our energies on UI changes we might revisit anyway.
If that UI redesign makes it, that will keep us quite busy to rethink the whole Frontend codebase 😊

Ok thanks !


Blacklist inverted bool fix

Description
A small bug blacklisted all endpointslices and services. This resulted in the service and endpointslices reflection prevention.

Pull Request Test Coverage Report for Build 280704001

0 of 4 (0.0%)  changed or added relevant lines in 2 files are covered.
27 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.2%) to 47.492%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/virtualKubelet/apiReflection/reflectors/outgoing/endpointSlices.go
0
2
0.0%

pkg/virtualKubelet/apiReflection/reflectors/outgoing/services.go
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/virtualKubelet/apiReflection/reflectors/outgoing/endpointSlices.go
2
34.03%

pkg/virtualKubelet/apiReflection/reflectors/outgoing/services.go
2
0%

internal/liqonet/tunnelEndpointCreator-operator.go
23
65.59%

Totals

Change from base Build 280493541:
-0.2%

Covered Lines:
6069

Relevant Lines:
12779

💛  - Coveralls


When configuring prefix: 'ever', the acro theme attribute did not become an ever theme issue

[ ] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Browser: chrome<IP_ADDRESS>

screenshot：


My CSS changes are not showing on yarn start/watch

I have updatet slate tools and have added exception for https://localhost:3001. When i yarn deploy my changes are visible but not if i make them while yarn is watching or started. I assume there have been changes with serving assets lately and i can't find any solution to this.
Info that could be helpful:

When i add CSS to theme.scss.liquid CSS applies but none of the CSS from imported files

I don't experience any "auto refresh" when i save files and my changes have been processed which was the case with previous versions of slate i worked with.

 I solved it by adding an exception for all URLs listed in terminal while yarn start is running and it's working fine now. Maybe it will be helpful to others lost like me.


Design a logo

Current logo was generated through some online logo generator, it will be good if a dedicated logo is present.

I'd like to work on it.

@maitreyav yeah sure


Feature: SchedulevCheck.ps1 can automate adding the Scheduled Job for…

Automated scheduled job creation.

Nice one!
A couple of things to note with this pull request:

I'd like to see this submitted to the dev branch
Personally, I think we might be better off rolling this functionality into vCheckUtils.ps1 rather than having another file in the project.
A bit more flexibility in the scheduling would be awesome. e.g. some people may only want weekly reports

That said, we have to start somewhere :) I'll have a think about how we want to merge this in over the next couple of days.

@Sneddo Thanks for the review. I'll open a new PR against dev. Might want to add that detail to the README to make it more prominent.


Replacing algorithm.gid with algorithm.s::Selector

At the moment, each sampler algorithm has a field alg.gid to match/select variables in VarInfo. This is used to implement the Gibbs sampler, i.e. assigning variables to different component samplers. The current solution creates an unnecessary dependency on Sampler since there are cases when we want to select variables from VarInfo without referring to a sampler. Perhaps we can create a Selector type, and move the gid field to this selector type.

create a Selector type and make it a field of Sampler: varinfo[spl::Sampler]===> varinfo[spl.s::Selector]
randomly generate a unique gid instead of using a manually assigned integer
each variable in v::VarInfo contain an array of s::Selector.

Note: each variable can be mapped to multiple samplers

Fixed by #720


..

Codecov Report

Merging #275 into master will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #275      +/-   ##
============================================
+ Coverage     32.62%   32.66%   +0.04%
- Complexity      221      223       +2
============================================
  Files            82       82
  Lines          1554     1555       +1
  Branches         74       74
============================================
+ Hits            507      508       +1
  Misses         1041     1041
  Partials          6        6

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/edu/fiuba/algo3/modelo/Puntaje.java
94.73% <100.00%> (+0.29%)
11.00 <2.00> (+2.00)

...ava/edu/fiuba/algo3/modelo/bonus/Exclusividad.java
100.00% <100.00%> (ø)
4.00 <3.00> (ø)

Continue to review full report at Codecov.

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


Should the fact that _backup.filter doesn't work under the app with WEBSITE_RUN_FROM_PACKAGE be mentioend?

Hi Team.
In my understanding, if app is configured with WEBSITE_RUN_FROM_PACKAGE, "_backup.filter" doesn't work. (I've also done experiment and confirmed it doesn't work.)
This may be because if WEBSITE_RUN_FROM_PACKAGE is enabled, content files including _backup.filter is not actually stored in wwwroot but zip package is mounted to wwwroot.
If above understanding is correct, should we mention that above scenarios is out of support?
Moreover, if user run application with WEBSITE_RUN_FROM_PACKAGE, using backup feature will be meaningful (as they have control of content)? If taking backup via this feature is not recommended (meaningless) in this case , that should also be mentioned. that should help user's design for backup more.
Thank you!

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

ID: 4754bcfc-204a-d398-6b86-e452cd0d44a1
Version Independent ID: 157885c4-2579-8f98-1e85-c3063a861207
Content: Back up an app - Azure App Service
Content Source: articles/app-service/manage-backup.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@yutaro113 Thank you for your feedback! We will review and update as appropriate.

@yutaro113 Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@SnehaAgrawal-MSFT , any update on this?

@yutaro113 it's clarified here that backups don't include run-from-package scenarios: https://docs.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#whats-included-in-an-automatic-backup

#please-close


Fix image path in format-xspec-report-folding.xsl

This pull request derives from #369. So needs to be handled after that.

src/reporter/format-xspec-report-folding.xsl generates incorrect //img/@src.
This pull request fixes it.
I manually tested the pull request and verified this:

ant -lib "saxon9ee.jar" -Dxspec.xml=tutorial\coverage\demo.xspec -Dxspec.html.reporter.xsl=src\reporter\format-xspec-report-folding.xsl generates the same demo-result.html as the previous commit (except for timestamp and @src) and that the arrow images are displayed correctly.

@cirulls
Merged this trivial bug fix.


Print contents of one table element

Hello,
I have been attempting to find a table element by its header, to then extract and print its raw data value from between the 	 tags. The line of HTML with the value of interest being 0.7 can be seen as follows:
0.7
Using the examples "elements_by_attr.c" and "text.c":

With the first example, I have managed to find the table element by its header, but the desired value next to the tag (as well as the closing tag after that) are not printed out. The program outputs:

instead of:
0.7
If I manually copy and paste the entire line of HTML representing table element and its inner value into example "text.c", the value is extracted and printed out as follows:
HTML:
0.7
Result:
0.7
Does anyone know if there is an easier way to do this?
If not, I think I need to find a way to modify the first program to save the entire line into a buffer rather than the shorted version containing only the opening tag.
If anyone has a few moments and doesn't mind taking a look, I have included the full details and my code at the following SO link:
https://stackoverflow.com/questions/69827153/lexbor-webscraping-a-html-table-in-c
Thanks for making this project. Please let me know if I may be able to provide any more information about my question.
Patrick

Hi @patrick-luck
I answered you two letters with this question.
Answered on StackOverflow.

Hi @lexborisov
Thank you for providing the example, I really appreciate it - I have upvoted and accepted your answer on StackOverflow.
Thanks again,
Patrick


ssh proxy command

Hello and thanks for this plugin!
Is it possible to pass a proxy command to DistantLaunch in order to connect first to a different server and then to the final destination?
similar to this: ssh -o ProxyCommand="ssh proxyserver -W %h:%p" username@finalserver
Thank you in advance!

@argapost there is under the name ssh.proxy_command for :DistantLaunch or ssh = { proxy_command = "..." } for host settings. I haven't tested it, which is why it isn't documented.

Thanks for the answer. I run the command you proposed and I get this error:
caused by: ssh handshake with finalserver:22: [Session(-43)] Failed getting banner
Any ideas?

You're getting into the depths of libssh2. I've never used the proxy command and it's only available because wezterm-ssh exposes it from libssh2.
Stackoverflow seems to provide a good explanation: https://stackoverflow.com/questions/61257397/ssh2-connect-error-starting-up-ssh-connection-43-failed-getting-banner.
Check the logs on your intermediate host. See if there's any failure described. Same with the ssh client being run on the


Add deSEC provider implementation

This PR adds an implementation for the deSEC provider.
I ran the tests from a different repository. They fail in this PR, but IIUC, this PR is just a stub.
go test -v . -domain [REDACTED] -token [REDACTED]
=== RUN   TestGetRecords
--- PASS: TestGetRecords (2.73s)
=== RUN   TestSetRecords
--- PASS: TestSetRecords (3.45s)
=== RUN   TestAppendRecords
--- PASS: TestAppendRecords (3.26s)
=== RUN   TestDeleteRecords
--- PASS: TestDeleteRecords (2.67s)
PASS
ok  	github.com/libdns/desec	12.416s

Fixes #43

Thank you, Matt. I'll work on the Caddy module next :)


Add command line argument parsing module to the standard library

Something similar to Python's argparse or POSIX getopt.
Should accept:

Positional arguments ./program foo bar baz
Optional short arguments ./program -abo foo -k
Optional long arguments ./program --foo --bar=123 --baz 456

Maybe also look into adding sub commands as well. Or at least assume that we may eventually want subcommands so make sure that that functionality could be added after the MVP of this module.

It might be worth porting https://github.com/skeeto/optparse/blob/master/optparse.h which looks to be a small, simple, yet fully features, public domain option parsing library.

Added the most bare bones of argument parsing libraries in 0fc7eacd8dee9f3053568565acd126127ea96cd1. I was feeling a bit of burn out when I implemented this so I chose a somewhat unorthodox, but much easier to implement, parser that feels much more like Go's flag package than it does like a traditional Unix getopt or getopt_long argument parser. This is not a fully featured parser, but it should be just enough to get basic CLI applications working.


Which model nanopolish uses for methylation calling

Hi @jts ,
This might be a silly question, but I was wondering which model nanopolish uses for methylation calling?
There are several different models in model folder, and in nanopolish call methylation command we only can define the type of calling (-q, --methylation=STRING             the type of methylation (cpg,gpc,dam,dcm)). I wanted to know which model will be used for each of them?
Many thanks,
Vahid.

Hi @vahidAK,
The naming convention for the models is <pore>.<alphabet>.<k>.<strand>. You're looking for the second field, <alphabet>.
Jared

Thanks, @jts for your response. So, how can we specify the model for call methylation command? and which one is the default model for CpG detection?

When you specify the methylation type to call (eg cpg) it will select the right model depending on the pore type it detects in the fast5 file for each read.

Excellent! Thanks a lot, @jts .

Hi @jts. Sorry for writing on this closed issue, but there is still something left unclear for me:
How does it detect the pore from the fast5 file? I looked at the fast5 files I'm providing, and I can't find any information in there that would give away the type of the pore.

Thank you so much for your fast replies @jts! I looked only at the datasets in my fast5 file, and overlooked that the information is stored as group attributes!

No problem. Eventually there will be a pore_type attribute in the fast5s but currently we have to infer it from the flowcell type.


Unable to build the project

 Issue by a1ex4nd3r
Monday Dec 04, 2017 at 17:39 GMT
Originally opened as https://github.com/catalogueglobal/datatools-server/issues/61

Hi,
When I try to build the project I am getting this error when the tests start: http://prntscr.com/hj0j3v
I do not see any info about a mongodb setup in the docs. I've started up mongodb locally but nothing changed. Any suggestions?

 Comment by landonreed
Friday Dec 15, 2017 at 14:56 GMT

The docs update had not been triggered properly.  Mongo (and Postgres) setup information can be found here now: http://conveyal-data-tools.readthedocs.io/en/latest/dev/deployment/#database-setup


Not able to validate forms with isolate scope inputs

I have a directive that creates inputs. Something like:
module.directive('ci', function() {
  return {
    scope: {
      model: '=ciModel',
      name: '@ciName',
      validation: '@ciValidation'
    },
    template: '<input validate="{{validate}}" name="{{name}}" ng-model="{{model}}" />'
  }
});

I use this in my form to generate inputs, like so:
<form name="userForm">
	<div ci ci-name="website" ci-validation="url|required" ci-model="user.website"></div>
</form>

This causes errors when I try to validate in my controller, like so:
var isValid = new validationService().checkFormValidity($scope.startForm);
// ERROR: checkFormValidity() requires a valid Angular Form or $scope object passed as argument to function properly (ex.: $scope.form1  OR  $scope).

If I include the inputs in my form without using the custom directive, the form validates properly.
I get why this happens... but is there a workaround for this? Or another best practice for this case?

I checked out the more examples with dynamic inputs. Here is more info on my situation.
The form correctly reports its valid state, like this:
console.log(userForm.$invalid) // false

And when I correctly enter data, the output changes to read true.
This is because in the check on this line $validationSummary is not set.
In fact, If I inspect scope I see that $validationSummary is nested within:
$scope.$$nextSibling.$validationSummary

In reality I did not play much with dynamic inputs, and every time I did, I already had a Form. Without a valid Form, I simply cannot run the checkFormValidity() because it's based on that fact. If your form is dynamic as well, it's harder and in this case you can look at the more-examples inside the dynamicForm-app.js, at the bottom completely there's the function: $scope.validate=function(), I got it working inside there for another user but I am not crazy about the fact that you need the debug mode to be enable for this to work.
If you have multiple forms on the page, the $scope.validationSummary will have a full set of all invalid fields for all the forms, while on the other hand the $scope.yourFormName.$validationSummary will hold only the errors of that form, so it's more suggested to use that one.

I'm actually facing this problem right now when using it inside a modal window (with Angular-UI Modal), it doesn't seem to be using the same scope because of an isolate scope. So I'm looking into having the possibility to pass your own scope to the Angular-Validation, something like this:
$scope.$validationOptions = { definedScope: $scope };

I'm on the proof of concept with this in my modal window, but it seems to work so far... any comments?

This should be fixed now, I had this issue with a Modal window and now this new fix works perfectly. See the Wiki - Isolated Scope
Let me know if there is anything wrong with it.
Thanks


KDE Connect | Remote access doesn't work

System Info and Version
 ArchLinux
hyprland 0.40.0, kdeconnect 24.05.0

Bug or Regression?
Bug
Description
Remote access with KDE Connect is not working. Everything works except controlling the computer from the phone.
How to reproduce

Install KDE Connect, hyprland
Try remote input

Crash reports, logs, images, videos
No response

https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/70 https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/64


Payggy: button to access transaction details should be the whole grey area

@david-gauquelin is this true?
@agazso wrote

I think by design the gray area on the widget is clickable, not just the icon. Otherwise the icon is too small, so the click area should be larger (for phones)

Yes the whole area is clickable
On 2023. Aug 4. 21:05 +0200, Vojtech Simetka @.***>, wrote:

@david-gauquelin is this true?
@agazso wrote

I think by design the gray area on the widget is clickable, not just the icon. Otherwise the icon is too small, so the click area should be larger (for phones)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Solved on #277


Worker generator

A couple years ago, I started building a sneakers worker generator. The idea was to have a CLI tool that is not Sneakers itself (to reduce noise in the main project); that was a premature optimization, since the original generator project kept getting more and more features until it stopped to a grind (I was out of free time) :).
I suggest building a small subsection within the Sneakers CLI module for a lightweight generator that will generate a worker and a rails initialization file.

This is a 'fresh' task. It doesn't require any familiarity with Sneakers core codebase.

I have a chance this won't happen any time soon => closing.


Custom U-Boot

For booting non-uefi based arm boards we need a custom u-boot for each board to chainload grub.
This card is about creating a set of script which can be called by #528  which generates u-boot specific versions for each board we want to support.
Current target is RPI2/3/4.

Blocked until we have raspberry pis.

Unblocking as we have arm64 packages

current bootloader implementation lives here: https://github.com/dragonchaser/pi-bootbuilder will be moved to cos-toolkit later. ATM it can chainload from a grub binary blob. grub compilation in the works. (if you need sth special just overwrite output/EFI/BOOT/grub.cfg

Firmware for RPI3 and RPI4 has been merged, follow ups will be created


Argument list is generated for every code block

This part should also be able to work from outside the loop. It might make it a bit faster.
https://github.com/QGMW22/OteraEngine.jl/blob/588aa411004c91a737bca1e5cc2342de97e1908d/src/OteraEngine.jl#L80-L83

I didn't notice that. I'll cure it and release soon.

I fixed this problem and released new version. thank you for telling me this problem!


portable-ruby: copy ncurses terminfo into bottle

This is one step towards fixing irb on Linux not being able to handle left, right or backspace keys.

Moving some of the discussion here from Slack:
Part two of fixing the issue involves setting TERMINFO_DIRS somewhere, and the question now is where - be it in brew or by patching Ruby. This cannot be baked in at compile time - it must be set at runtime, since it doesn't work well with relative paths.

Part two of fixing the issue involves setting TERMINFO_DIRS somewhere, and the question now is where - be it in brew or by patching Ruby. This value to set TERMINFO_DIRS to cannot be baked in at compile time - it must be evaluated at runtime, since it doesn't work well with relative paths.

The suggestion I liked the most from Slack adding /usr/share/terminfo to the search patch rather than bundling our of terminfo files. I don't feel strongly, though. I think we need to have something merged by e.g. 5pm Scotland time today so this isn't blocking the release of the next Homebrew version.

Just to summarise the different options here:

Bundle terminfo and set TERMINFO_DIRS in brew to <portable-ruby-dir>/share/terminfo.

Can be done either globally in brew.sh or locally to IRB invokations (dev-cmd and debrew),
Is there any concern about this affecting subprocesses?

Probably not - especially if there's nothing interactive.
Otherwise, making portable-ncurses look for another env is a way to prevent that (or some sort of module detour to unset it when not needed)

Bundle terminfo and set TERMINFO_DIRS in portable-ruby.

This requires hacking the Ruby source.
Where exactly?

Bundle terminfo and patch ncurses to determine the data directory dynamically.

Likely bulletproof, but is ultimately still a patch.

Don't bundle terminfo and pass a configure arg to ncurses to rely on a system installation.

The brew Docker image does not currently provide this.
Any concerns about version mismatches?
Any other locations on various distros beside /usr/share/terminfo?


Tab-completion breaks with Pycall

Tab completion becomes erratic after evaluating this code:
using PyCall
@pyimport pymc3 as pm
α,β = 1,1
β = [1,2.5]
x1 = randn(100)
x2 = randn(100) * 0.2;
y = α .+ β[1]*x1 .+ β[2]*x2 .+ randn(100)
function mymod()
    @pywith pm.Model() as m begin
        α = pm.Normal("α", mu=0,sd=10)
        β = pm.Normal("β",mu=0,sd=10,shape=2)
        σ = pm.HalfNormal("σ",sd=1)

        μ = α + β[1]*x1 + β[2]*x2
        y_obs = pm.Normal("y_obs", mu=μ,sd=σ,observed=y)
        return pm.sample()
    end
end
t = mymod();

Before evaluation of that last line, t[:\alpha <TAB> produces t[:α as expected. But after it, <TAB> in that context does nothing. Even stranger, ...

It still works at the beginning of a line, or to write nonsense like tα.
Other values like p[:\alpha <TAB> seem fine
There's no problem in the main Julia repl, only Jupyter notebooks with IJulia.

Not sure what you expect t[:α<TAB> to do?  There seems to be nothing for it to complete to, so you tab completion correctly does nothing
Anyway, the latest version of PyCall uses t.α and supports better tab completion of Python objects.

Not sure what you expect t[:α<TAB> to do?

You seem to have misread. The problem is with typing t[:\alpha <TAB>; the expected result is t[:α.
This error is still present on a fresh install, on a new computer. This is for PyCall v1.91.0. Unless it's corrected in a prerelease, an you please re-open this issue?

The problem is with typing t[:\alpha <TAB>; the expected result is t[:α.

Works fine for me (note: no space after \alpha when you hit tab).
PyCall shouldn't have anything to do with this.  If you open up a fresh notebook and type ``t[:\alpha, do you get t[:α`?

Ah, I can reproduce it now.  If I simply do
using PyCall
t = PyObject(1)

then tab-completing t[:\alpha no longer works.

I get exactly the same issue in the REPL with t = PyObject(1), so this is an issue with the Julia stdlib REPL.REPLCompletions module, not IJulia.

Great, thank you for tracking it down!


add note that DFINITY stopped contributing

Is ic-ref and ic-ref-test now dead altogether? Or just no longer developed in this repo?

Is ic-ref and ic-ref-test now dead altogether? Or just no longer developed in this repo?

ic-ref-test will live on and be maintained in the ic-repository.

Indeed, see commit: https://github.com/dfinity/ic/commit/d52c0f40feee648442a3b737492f0d24d362e85d


Package request: Android Open Source Project

Complete overview/guide for downloading AOSP source (including a custom kernel), building and running a QEMU image: https://www.collabora.com/news-and-blog/blog/2016/09/02/building-android-for-qemu-a-step-by-step-guide/
Build environment requirements: https://source.android.com/source/initializing.html
Source downloading: https://source.android.com/source/downloading.html
Building: https://source.android.com/source/building.html
(Included) compiler toolchain: https://source.android.com/source/jack.html
Selecting build device targets: https://source.android.com/source/devices.html
Kernel-only building: https://source.android.com/source/building-kernels.html
Running builds: https://source.android.com/source/running.html
Relevant for nixos (containers/nixops images):
QEMU kernel build script: https://android.googlesource.com/platform/prebuilts/qemu-kernel/+/master/build-kernel.sh

See
http://sandervanderburg.blogspot.nl/2012/11/building-android-applications-with-nix.html
and
http://sandervanderburg.blogspot.nl/2014/02/reproducing-android-app-deployments-or.html
Does that answer your question?

No, this is about the build environment for Android itself, rather than
Android -apps- :)
On Sun, 18 Dec 2016, 12:43 Maarten Hoogendoorn<EMAIL_ADDRESS>wrote:

See
http://sandervanderburg.blogspot.nl/2012/11/building-android-applications-with-nix.html
and
http://sandervanderburg.blogspot.nl/2014/02/reproducing-android-app-deployments-or.html
Does that answer your question?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/21222#issuecomment-267799948,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB2crCNRb2RGLuR7tpC3an5TYSSubWVfks5rJJ3cgaJpZM4LPvT_
.

Sounds to me like a usecase for https://github.com/NixOS/nixpkgs/pull/21243

@spacekitteh ah, I misread! Apologies. In that case :+1:. I'd like to build a custom build for my Samsung tablet as well ;)

FWIW, I suceeded building Android on NixOS using an FHS environment:
{ pkgs ? import <nixpkgs> {} }:

let
  jdk = pkgs.jdk8;
  fhs = pkgs.buildFHSUserEnv {
    name = "android-env";
    targetPkgs = pkgs: with pkgs;
      [ git
        gitRepo
        gnupg1
        python2
        curl
        procps
        openssl
        gnumake
        nettools
        androidenv.platformTools
        ccache
        ncurses
        jdk
        schedtool
        utillinux
        m4
        gperf
        perl
        libxml2
        zip
        unzip
        bison
        flex
        lzop
        bc
        which
        gcc
      ];
    multiPkgs = pkgs: with pkgs;
      [ zlib
      ];
    extraOutputsToInstall = [ "dev" ];
    runScript = "bash";
    profile = ''
      export USE_CCACHE=1
      export ANDROID_JAVA_HOME=${jdk.home}
      export BOARDCONFIGVENDOR=amami
    '';
  };
in fhs.env

Patching all the Android source to get rid of FHS assumptions is a gargantuan and hopeless task IMHO.

@abbradar hmm, I get "error: cannot convert a function to JSON" from that

Hmm, are you sure that one works? It can't find ncurses, it seems.

So this is what I currently have:
{ pkgs ? import <nixpkgs> {} }:

let
  jdk = pkgs.jdk8;
  current-repo = "nougat-mr1-release";
  fhs = pkgs.buildFHSUserEnv {
    name = "android-env";
    targetPkgs = pkgs: with pkgs;
      [ git
        gitRepo
        gnupg1compat
        python2
        curl
        procps
        openssl
        gnumake
        nettools
        rsync
        androidenv.buildTools
        androidenv.platformTools
        ccache
        ncurses5
        jdk
        schedtool
        utillinux
        m4
        gperf
        perl
        libxml2
        zip
        unzip
        bison
        flex
        lzop
        bc
        which
        gcc
      ];
    multiPkgs = pkgs: with pkgs;
      [ zlib
      ];
    extraOutputsToInstall = [ "dev" ];
    runScript = "bash";
    profile = ''
      export USE_CCACHE=1
      export ANDROID_JAVA_HOME=${jdk.home}
      export LANG=C
      unset _JAVA_OPTIONS
      export BUILD_NUMBER=$(date --utc +%Y.%m.%d.%H.%M.%S)
      export DISPLAY_BUILD_NUMBER=true
      export USER=copperhead-os-build

      source build/envsetup.sh
    '';
  };
in pkgs.stdenv.mkDerivation {
  name = "android-env-shell";
  nativeBuildInputs = [fhs];
  shellHook = ''
    cd ${current-repo}
    chrt -b -p 0 $$
    exec android-env
  '';
}

(note: requires #21368)
This gets me part of the way there. I run grsecurity, however, so I have to invoke it with sudo; this results in contamination of my /root folder by jack, among other things.
So, I think the next step from here is to containerise it, because AOSP is garbage and I don't want it touching anything on my system.

@abbradar did you ever run into a problem with getting "Unknown cipher suite supported by native code" errors when signing APKs during building?

@spacekitteh Sadly no. FWIW I built CyanogenMod, not vanilla AOSP -- maybe some differences are in play.
Anyway, do you think we can close this now? I'm not sure Android can/needs to be packaged any further than a chroot environment.

Yeah, I guess.

This needs to be reopened, actually. There are other issues getting it compiling on NixOS, and they probably should be figured out.
The current stumbling block is what appears to be an error with OpenSSL(and LibreSSL, but I'll just say OpenSSL for short) behaving differently on NixOS compared to Debian/Arch/Ubuntu. Specifically, the conscrypt Java Crypto Provider doesn't seem to be able to work properly with OpenSSL as nixpkgs provides. It gives the following error:
[ 25% 10601/42050] target Package: BasicDreams (out/targe...ct/marlin/obj/APPS/BasicDreams_intermediates/package.apk)

FAILED: /bin/bash -c "(touch out/target/product/marlin/obj/APPS/BasicDreams_intermediates/zipdummy ) && ((cd out/target/product/marlin/obj/APPS/BasicDreams_intermediates/ && jar cf package.apk zipdummy) ) && (zip -qd out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk zipdummy ) && (rm out/target/product/marlin/obj/APPS/BasicDreams_intermediates/zipdummy ) && (out/host/linux-x86/bin/aapt package -u -z  --pseudo-localize -c en_US,en_US,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_NZ,en_SG,eo_EU,es_ES,fr_CA,fr_CH,fr_BE,fr_FR,it_CH,it_IT,ja_JP,ko_KR,nb_NO,nl_BE,nl_NL,pl_PL,pt_PT,ru_RU,sv_SE,tr_TR,zh_CN,zh_HK,zh_TW,am_ET,hi_IN,en_US,en_AU,en_IN,fr_FR,it_IT,es_ES,et_EE,de_DE,nl_NL,cs_CZ,pl_PL,ja_JP,zh_TW,zh_CN,zh_HK,ru_RU,ko_KR,nb_NO,es_US,da_DK,el_GR,tr_TR,pt_PT,pt_BR,sv_SE,bg_BG,ca_ES,en_GB,fi_FI,hi_IN,hr_HR,hu_HU,in_ID,iw_IL,lt_LT,lv_LV,ro_RO,sk_SK,sl_SI,sr_RS,uk_UA,vi_VN,tl_PH,ar_EG,fa_IR,th_TH,sw_TZ,ms_MY,af_ZA,zu_ZA,am_ET,en_XA,ar_XB,fr_CA,km_KH,lo_LA,ne_NP,si_LK,mn_MN,hy_AM,az_AZ,ka_GE,my_MM,mr_IN,ml_IN,is_IS,mk_MK,ky_KG,eu_ES,gl_ES,bn_BD,ta_IN,kn_IN,te_IN,uz_UZ,ur_PK,kk_KZ,sq_AL,gu_IN,pa_IN,be_BY,bs_BA,normal,xlarge,large --preferred-density 560dpi -M packages/screensavers/Basic/AndroidManifest.xml -S packages/screensavers/Basic/res  -I out/target/common/obj/APPS/framework-res_intermediates/package-export.apk --min-sdk-version 25 --target-sdk-version 25 --product nosdcard --version-code 25 --version-name 7.1.1   --skip-symbols-without-default-localization -F out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk ) && (find out/target/common/obj/APPS/BasicDreams_intermediates/ -maxdepth 1 -name \"classes*.dex\" | sort | xargs zip -qjX out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk ) && (if [ -d out/target/common/obj/APPS/BasicDreams_intermediates/jack-rsc ] ; then find out/target/common/obj/APPS/BasicDreams_intermediates/jack-rsc -type f | sort | sed -e \"s?^out/target/common/obj/APPS/BasicDreams_intermediates/jack-rsc/? -C \\\"out/target/common/obj/APPS/BasicDreams_intermediates/jack-rsc\\\" \\\"?\" -e\"s/\$/\\\"/\" > out/target/product/marlin/obj/APPS/BasicDreams_intermediates/jack_res_jar_flags; if [ -s out/target/product/marlin/obj/APPS/BasicDreams_intermediates/jack_res_jar_flags ] ; then jar uf out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk @out/target/product/marlin/obj/APPS/BasicDreams_intermediates/jack_res_jar_flags; fi; fi ) && (mv out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk.unsigned ) && (java -Djava.library.path=out/host/linux-x86/lib64 -jar out/host/linux-x86/framework/signapk.jar --min-sdk-version \$((out/host/linux-x86/bin/aapt dump badging out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk.unsigned 2>&1 | grep '^sdkVersion' || echo \"sdkVersion:'0'\") | cut -d\"'\" -f2 | sed -e s/^.*[^0-9].*\$/25/) build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8  out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk.unsigned out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk.signed ) && (mv out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk.signed out/target/product/marlin/obj/APPS/BasicDreams_intermediates/package.apk )"

Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.conscrypt.OpenSSLBIOInputStream.<init>(OpenSSLBIOInputStream.java:34)
        at org.conscrypt.OpenSSLX509Certificate.fromX509PemInputStream(OpenSSLX509Certificate.java:119)
        at org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509PemInputStream(OpenSSLX509CertificateFactory.java:220)
        at org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509PemInputStream(OpenSSLX509CertificateFactory.java:216)
        at org.conscrypt.OpenSSLX509CertificateFactory$Parser.generateItem(OpenSSLX509CertificateFactory.java:94)
        at org.conscrypt.OpenSSLX509CertificateFactory.engineGenerateCertificate(OpenSSLX509CertificateFactory.java:272)
        at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339)
        at com.android.signapk.SignApk.readPublicKey(SignApk.java:182)
        at com.android.signapk.SignApk.main(SignApk.java:1087)
Caused by: java.lang.IllegalArgumentException: Unknown cipher suite supported by native code: DH-DSS-AES256-GCM-SHA384
        at org.conscrypt.NativeCrypto.<clinit>(NativeCrypto.java:750)
        ... 9 more
[ 25% 10601/42050] target thumb C++: libLLVMSelectionDAG_...<= external/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 1

At first I thought it was a bug in the way OpenSSL filters worked which NixOS exposes (see #21408) but apparently not.

ping @spacekitteh @abbradar

{ pkgs ? import  {} }:

let
  jdk =  pkgs.callPackage <nixpkgs/pkgs/development/compilers/openjdk/8.nix> {
    bootjdk = pkgs.callPackage <nixpkgs/pkgs/development/compilers/openjdk/bootstrap.nix> { version = "8"; };
    inherit (pkgs.gnome2) GConf gnome_vfs;
    minimal = true;
  };
  fhs = pkgs.buildFHSUserEnv {
    name = "android-env";
    targetPkgs = pkgs: with pkgs;
      [ git
        gitRepo
        gnupg1compat
        python2
        curl
        procps
	openssl
	gnumake
	nettools
	rsync
	androidenv.buildTools
	androidenv.platformTools
	ccache
	ncurses5
	jdk
	schedtool
	utillinux
	m4
        gperf
	perl
	libxml2
	zip
	unzip
	bison
	flex
	lzop
	bc
        which
	gcc
	binutils
	coreutils
	gdb
      ];
    multiPkgs = pkgs: with pkgs;
      [ zlib
      ];
    extraOutputsToInstall = [ "dev" ];
    runScript = "bash";
    profile = ''
      export USE_CCACHE=1
      export ANDROID_JAVA_HOME=${jdk.home}
      export LANG=C
      unset _JAVA_OPTIONS
      export BUILD_NUMBER=$(date --utc +%Y.%m.%d.%H.%M.%S)
      export DISPLAY_BUILD_NUMBER=true
    '';
  };
in fhs.env

[aosp/out/repo/host/linux-x86/bin]# paxctl -vQ ./dex2oatd
PaX control v0.9
Copyright 2004,2005,2006,2007,2009,2010,2011,2012,2014 PaX Team

- PaX flags: -p-s-m-x-e-r [./dex2oatd]

For 6.0.x

{ pkgs ? import  {} }:

let
  jdk =  pkgs.callPackage  {
    bootjdk = pkgs.callPackage  { version = "7"; };
    minimal = true;
  };
  fhs = pkgs.buildFHSUserEnv {
    name = "android-env";
    targetPkgs = pkgs: with pkgs;
      [ git gitRepo gnupg1compat python2 curl procps openssl gnumake nettools
        rsync androidenv.buildTools androidenv.platformTools ccache ncurses5 jdk schedtool utillinux
        m4 gperf perl libxml2 zip unzip bison flex lzop bc which gcc binutils coreutils gdb python
        emacs vim
      ];
    multiPkgs = pkgs: with pkgs;
      [ zlib
      ];
    extraOutputsToInstall = [ "dev" ];
    runScript = "bash";
    profile = ''
      export USE_CCACHE=1
      export ANDROID_JAVA_HOME=${jdk.home}
      export LANG=C
      unset _JAVA_OPTIONS
      export BUILD_NUMBER=$(date --utc +%Y.%m.%d.%H.%M.%S)
      export DISPLAY_BUILD_NUMBER=true
    '';
  };
in fhs.env

This is definitely not a problem anymore.  I have successfully built LineageOS 15.1 and 16.0, so Android 8.1 and 9.0 on NixOS.

Closing for now, then.


Can‘t run without hardware

John Lennon "Imagine

Unable to reproduce. I just ran it without hardware and got the expected output.


[FLINK-16363] [table] Correct the execution behavior of TableEnvironment and StreamTableEnvironment

What is the purpose of the change
*Both TableEnvironment.execute() and StreamExecutionEnvironment.execute can trigger a Flink table program execution. However if you use TableEnvironment to build a Flink table program, you must use TableEnvironment.execute() to trigger execution, because you can’t get the StreamExecutionEnvironment instance. If you use StreamTableEnvironment to build a Flink table program, you can use both to trigger execution. If you convert a table program to a DataStream program (using StreamExecutionEnvironment.toAppendStream/toRetractStream), you also can use both to trigger execution. So it’s hard to explain which execute method should be used.
For example:
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
StreamTableEnvironment tEnv = StreamTableEnvironment.create(env);
tEnv.sqlUpdate("INSERT INTO sink1 SELECT a, b FROM MyTable1")
Table table = tEnv.sqlQuery("SELECT c, d from MyTable2")
DataStream dataStream = tEnv.toAppendStream(table, Row.class)
dataStream…
env.execute("job name") ;
// or tEnv.execute("job name");
// both env.execute and tEnv.execute can trigger the execution
To correct current messy trigger point, we propose that: for TableEnvironment and StreamTableEnvironment, you must use TableEnvironment.execute() to trigger table program execution, once you convert the table program to a DataStream program (through toAppendStream or toRetractStream method), you must use StreamExecutionEnvironment.execute to trigger the DataStream program.
The example with new behavior:
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
StreamTableEnvironment tEnv = StreamTableEnvironment.create(env);
tEnv.sqlUpdate("INSERT INTO sink1 SELECT a, b FROM MyTable1")
Table table = tEnv.sqlQuery("SELECT c, d from MyTable2")
DataStream dataStream = tEnv.toAppendStream(table, Row.class)
dataStream…
env.execute("job name") ; // only trigger the DataStream program
tEnv.execute("job name"); // only trigger the sql update query program*
Brief change log

remove isEagerOperationTranslation method, and the buffer behavior is same for both TableEnvironmentImpl and StreamTableEnvironmentImpl
Use DummyStreamExecutionEnvironment to buffer the transformation generated during translation in planner
use StreamGraphGenerator to generate StreamGraph in Executor
_ add createPipeline method in Executor and getPipeline method in StreamTableEnvironmentImpl for sql client

Verifying this change
This change added tests and can be verified as follows:

Added TableEnvironmentITCase to verify different TableEnvironment methods combination
*update the existing test cases based on new execution behavior *

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run travis

Thanks for @godfreyhe for contribution.
Consider 1000+ codes and 42 files, can we split to three commits or PRs?

Quite confused, It seems that StreamWindowSQLExample is wrong too?

@JingsongLi @wuchong thanks for the suggestion.

Quite confused, It seems that StreamWindowSQLExample is wrong too?
I think it's not wrong, the behavior is just changed.

We should also check codes in example and walkthrough and end-to-end tests.
totally agree with you, I will check all of them.

I think forget BatchTableEnvironment, I will add this part ASAP.

@hequn8128 @dianfu could you help review the python test change part ?

@godfreyhe Thanks for letting me know of this change. The changes related to the python tests LGTM.

Will merge this.


Custom UID

Is your feature request related to a problem? Please describe.
When generated new projects with nexrennder, I sometimes need to keep the project for later use (which the work path flag allows), but also to match a naming convention for the project name itself.
Describe the solution you'd like
Being able to set the uid in the job file.
{"uid": "CustomName",   "template": {     "src": "file:///path/to/file",     "composition": "main"   },...}
Solution : In the Crete function from Job.js file in nexrender-types, just replace "uid":nanouid() with uid: job.uid ? job.uid : nanoid(),
I have tested this solution in my fork.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Thank you for the awesome work.
Ben

Hey
Sounds good. And if you tested in your fork that successfully, I believe you can even do a PR?
Unless that is something you wouldn't want to do.
Cheers!

Closing, since the feature was merged and released. :)


1.20.1-4.0.2 crashing my modpack

Hey there,
This might just be modpack specific; some conflict somewhere in the pack.. but I was crashing whilst having this fork installed, here's the log:
https://paste.atlauncher.com/view/0305eec9-a838-451a-a251-06e86927092a
If the log isn't too helpful (doesn't seem to be really) feel free to just close the issue. I figured I'd share it though in case you notice what it might be and can fix it.

Will be fixed next update (4.0.3), it's a conflict with lithium.


Fix multiSet when pairs is empty

Details

The native apps are crashing because there's an action (unknown at the moment) that calls Onyx.multiSet with an empty object as argument. This happens because the query for multiSet is expecting an array with key-value pairs.

Additionally, this bug was reported here.
Related Issues

https://github.com/Expensify/App/issues/14437
Automated Tests

N/A
Linked PRs

N/A atm, a new PR will be created when this change is deployed to npm

I have read the CLA Document and I hereby sign the CLA

While you are fixing this, can you check other methods too? such as mergeCollection etc..

While you are fixing this, can you check other methods too? such as mergeCollection etc..

Good call, seems we're fine with other methods. For mergeCollection we're already checking here if the collection is empty.

@marcochavezf Have you been able to test this patch? Could you please upload a video of the sign-out on native working? The changes look good to me, but it would be good to confirm just now

Yeap, sure I attach a video with the fix:
https://user-images.githubusercontent.com/6829422/213822641-9b37e43c-f6ae-43ca-af3e-b39f6b405db6.mov

Merging it now to fix the deploy blocker. Thanks @mountiny!

thanks!


fix event can have duplicate tags

need to fix events will have duplicate tags if user input multiple same tags

also check for empty tags


test: skip persistent log case on RHEL test

Due to bug https://github.com/CentOS/centos-bootc/issues/354

/test-rhel94-replace


Add a Ouroboros.Consensus section to "Module Structure And Network Components"

... to the generated haddock documentation, which is linked here.
Information we could add:

Overview.
Links (with short descriptions) to the haddock generated documents for key
modules, e.g., the modules listed in Onboarding.md.
Indicate which are the key (or top-level) modules one might begin with.

Also rather than having this text in Onboarding.md:
“Large comments, for example in these modules. ….
: Ouroboros.Consensus.Util.ResourceRegistry
: Ouroboros.Consensus.HeaderValidation
…”
move these modules to the top-level haddocks, giving a summary of why each module is relevant and how they fit the overall picture.

I think this should be closed by #4197 ?

Indeed! 🙌

Uhg, I forgot to move the
Large comments, for example in these modules. This list is a continual work
    in progress -- if you find some comment to be particularly illuminating,
    please open a PR adding it here.

      * `Ouroboros.Consensus.Util.ResourceRegistry`
      * `Ouroboros.Consensus.HeaderValidation`
      * `Ouroboros.Consensus.Mempool.API`
      * `Ouroboros.Consensus.Forecast`
      * `Ouroboros.Consensus.HardFork.History.EraParams`
      * `Ouroboros.Consensus.HardFork.History.Qry`
      * `Ouroboros.Consensus.HardFork.History.Summary`
      * `Ouroboros.Consensus.Protocol.Abstract`
      * `Ouroboros.Consensus.Storage.ChainDB.API`
      * `Ouroboros.Consensus.Storage.ChainDB.Impl.ChainSel`
      * `Ouroboros.Consensus.Storage.ChainDB.Impl.Iterator`
      * `Ouroboros.Network.AnchoredFragment`
      * `Ouroboros.Consensus.MiniProtocol.ChainSync.Client`
      * `Ouroboros.Network.BlockFetch.Decision`
      * `Network.TypedProtocol.Core`

part to the haddocks. I'll create a separate issue.

Uhg, I forgot to move the
Large comments, for example in these modules. This list is a continual work
    in progress -- if you find some comment to be particularly illuminating,
    please open a PR adding it here.

      * `Ouroboros.Consensus.Util.ResourceRegistry`
      * `Ouroboros.Consensus.HeaderValidation`
      * `Ouroboros.Consensus.Mempool.API`
      * `Ouroboros.Consensus.Forecast`
      * `Ouroboros.Consensus.HardFork.History.EraParams`
      * `Ouroboros.Consensus.HardFork.History.Qry`
      * `Ouroboros.Consensus.HardFork.History.Summary`
      * `Ouroboros.Consensus.Protocol.Abstract`
      * `Ouroboros.Consensus.Storage.ChainDB.API`
      * `Ouroboros.Consensus.Storage.ChainDB.Impl.ChainSel`
      * `Ouroboros.Consensus.Storage.ChainDB.Impl.Iterator`
      * `Ouroboros.Network.AnchoredFragment`
      * `Ouroboros.Consensus.MiniProtocol.ChainSync.Client`
      * `Ouroboros.Network.BlockFetch.Decision`
      * `Network.TypedProtocol.Core`

part to the haddocks. I'll create a separate issue.

https://github.com/input-output-hk/ouroboros-network/issues/4245


Causality Typo - Slide 5

I only updated the rmd. I could not render the html/pdf because my computer would not let me access the Cairo package.

Thanks!


Initial plugin architecture set up

Moved most helper functions (prompt_geometry_colorize, prompt_geometry_hash_color, prompt_geometry_seconds_to_human_time, prompt_geometry_setup_async_prompt) to lib/ directory.

Created plugins/ directory with default plugins: git, exec_time

Move most variables/flags to it's plugin file

It does support custom prompts! Example.

It does works :D

TODO

[x] Unregister/shutdown functions
[x] Avoid registering a plugin multiple times
[ ] Enforce code/naming conventions
[ ] Update README.md
[ ] Review backward compatibility

Fixes #42

Really liking the way this is going. Great job!
I'd recommend, like I said in another comment, putting the PR on a different branch. That way I and someone who would like to help can jump in easily.
A lot of comments you had there could be in a TODO list, together with the list already on the PR description. I'd like to have some issues and improvements flagged for people looking for their first PR. Props for flagging some issues, really helps with that.

Gonna merge to develop. I'm not squashing commits as of now to keep the changelog.
All development regarding plugins should be done in a feature branch branched off v2.


Body parsers

I was originally planning on parameterizing Body with JsValue or Map[String, String] but that really messed with the routing and middleware composition stuff because we want to be able to have multiple body types, and in the end, we couldn't group a bunch of controllers that had different body types together.
I still don't feel like this is the best way to do it because while each controller can specify its own body type, it still makes writing middleware a bit more confusing (you have to manually call the next controller's body parser). ideas?

I was playing around a little bit, and if we use an abstract class for Controller, we can use context bounds when we create a controller, so we'd be able to implicitly grab BodyParser[JsValue] if we extended Controller[SimpleRequest, JsValue]. But, this still doesn't solve the problem of reconciling all the types in all the routing constructs.

Hmmm this gets us close. I think we should try to keep the Controller interface as clean as possible though.
Perhaps this is an opportunity for leveraging the custom request type and making the population of the  body done through an opt in top level middleware.
The middleware can be something like BodyParserMiddleware(BodyParser, (Request, Body) => Request). This will preserve the controller interface in regards to the method signature of action. It also makes body parsing an opt-in thing for the framework user.
I also think we might have to add a default pass through method to the base middleware trait so that we can grab the desired body parser from any layer in the middleware chain from the controller at the end. Something like def getBodyParser(): BodyParser = next.getBodyParser()

Cool, so my latest commit, we can do something like this:
case class MyController() extends Controller[SimpleHttpRequest] {
  override def middleware() = List(
    BodyParserMiddleware((request, body: JsonBody) => request)
  )

  override def action(implicit request: SimpleHttpRequest): Box[Throwable, HttpResponse] = Ok("")
}

BodyParserMiddleware((request, body: JsonBody) => request) is the important part. We can also write this like BodyParserMiddleware[SimpleHttpRequest, JsonBody]((request, body) => request). Should we just not context bounds and have the user specify the BodyParser they want explicitly?

Context bounds and implicit don't seem to buy us much in this case. It would probably result in a much cleaner interface if we just have the middleware user explicitly pass in the body parser instead of leaning on implicit resolution.

case class MyController() extends Controller[SimpleHttpRequest] {
    override def middleware = List(
      BodyParserMiddleware(JsonBodyParser(), (request, body: Body) => request)
    )
    override def action(implicit request: SimpleHttpRequest): Box[Throwable, HttpResponse] = ???
  }

Is the usage now.

Looks legit.


Error with Popups font

When I input /hud reload /iazip everything is normal.

But after restarting the server, there's an error with the Popups font, while the rest of the HUD is normal.

I can't support you only this image. go to my discord channel and send me your resource pack please.

Sure, I have privately sent the compressed file to your Discord. Please take a look, and thank you very much for your help.

Hello, I have identified the cause of the popups error. It's because BetterHUD doesn't support the skill release mode of Using key combos in MMOCore. When I switch to the mode of Using the [1] to [9] keys, everything returns to normal. I hope you can add support for the Using key combos mode. Thank you very much.

我不能只支持你这张图片。转到我的 Discord 频道并将您的资源包发送给我。

Hello, may I ask if I clicked Connect but could not join discord I sent you a friend application on discord


[dua] add NdProxy table on Backbone Router

This PRs adds the initial implementation of ND proxy table without Backbone related features.
Please take a look when you have time. @abtink @jwhui


packaging: don't be verbose when compressing node_modules

Funnily enough, this makes Travis CI to fail because the log gets too long.
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

Merging myself :yum:


Use a builder instead of ImmutableDictionary in JSON models

This works around JamesNK/Newtonsoft.Json#652 by avoiding the direct use of immutable types in the serialization process. The result remains efficient because the builder class caches the last returned immutable instance, and will continue returning the same instance as long as no changes are made to the builder.
Fixes #1359

:+1:


SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

Hi, I got this error under python 3.10
Python 3.10.10 (main, Mar 21 2023, 18:45:11) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mmh3
>>> a=mmh3.hash("abc", 1234)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
>>>

Any solution or code hacking?

Hi, could you check the version of the installed mmh3?
As far as I'm concerned, version 2.3.2 or older may cause such an error in Python 3.10 or newer. If the version of mmh3 is newer than that, it should be a bug and I'll try to fix it as soon as possible.

Hi, I have the same error message for mmh3 2.3.5 under python 3.11.5.


bug with new list logic

unifying attempt w search broke list
which breaks uninstall
TODO move to develop branch to not break main anymore
plugget.search("bqt", verbose=False, app="blender")

using cached manifest repo, last updated less than a day ago
source_dirs search [WindowsPath('C:/Users/user/repos/plugget_fake_manifest_repo2'), WindowsPath('C:/Users/user/AppData/Local/Temp/plugget/plugget-pkgs')]
[PackagesMeta(bqt latest version:'latest')]

plugget.list("bqt", verbose=False, app="blender")

app_manifest_dir list C:\Users\user\AppData\Roaming\plugget\installed\blender
source_dirs search [WindowsPath('C:/Users/user/AppData/Roaming/plugget/installed/blender')]
[]

list returns empty instead of installed bqt package

fixed


Enhancing mv generation.

At the moment there are cases where the mv generation fails to add all mv nodes to the mv grids. This may cause island grids.
One solution may be the optimization of the found mv grid.

Do you have an example pbf where this happens. This may makes it easier for the person who will work on this issue


TypeScript Types: Allow Newtypes for Axes

Summary
Currently the axes and their formatter functions take a number as a first argument. This is prohibitive for people that want stronger types as that doesn't explain what kind of number, strings, dates these represent.  This extends to some other types with formatters as well, but these two are getting in my way.
API Changes
All types allow power users to override, while not breaking current code. Example:
declare module ApexCharts<X = number, Y = number> {
  export interface ApexOptions {
    // ...
    xaxis?: ApexXAxis<X>
    yaxis?: ApexYAxis<Y> | ApexYAxis<Y>[]
    // ...
  }
}

export interface ApexXAxis<X = number> {
  // ...
  formatter?(val: X, opts?: any): string
  // ...
}
}

export interface ApexYAxis<Y = number> {
  // ...
  formatter?(val: Y, opts?: any): string | string[]
  // ...
}

Maybe this would required an additional, optional getter (ala Lenses, function toNum(a: A): number { .. } with our default being identity since the default is a number) because you need a number for the data, but that's a small price to pay to be able to specify real types for the axes.
I am quite new to TypeScript so I don't know what sort of implications this change has or if this syntax is entirely correct.
Intended Use Case
In PureScript/Haskell, I would use Newtypes to 'wrap' my numbers so the wrong type of number doesn't go into the wrong function.
newtype USD = USD Number
newtype EUR = EUR Number

-- Pattern matching on the USD wrapper, print USD as string
printUSD ∷ USD → String
printUSD (USD usd) = implementation usd -- suppose Intl.NumberFormat

You can do this exact pattern with newtype-ts from the fp-ts sphere, but the code is much less terse.
In this example my printUSD function does not allow numbers as input and it doesn't allow Euros, only US dollars as my type says. This is perfect for my formatter on my axes. If I have a chart with an access that contains USD, want the appropriate formatter to match, I can guarantee my formatter matches. With this example I could do something like
// `Percent` & `USD` are Newtypes wrapping `number`
const myOpts: ApexOptions<Percent, USD> = {
  xaxis: {
    formatter: printPercentage,
  },
  yaxis: {
    formatter: printUSD.
  }.
}

function printPercentage(percent: Percent): string {
   const f = new Intl.NumberFormat(undefined, { style: "percent" })
   return f.format(percent)
}

function printUSD(usd: USD): string {
   const f = new Intl.NumberFormat(undefined, { currency: "USD", style: "currency" })
   return f.format(usd)
}

Stalebots are bad. Issues don't go just bad.
toastal ไข่ดาว | https://toast.al
PGP: 7944 74b7 d236 dab9 c9ef  e7f9 5cce 6f14 66d4 7c9e

Thank you for submitting your idea, but this not something we will be adding.

I'm saddened by this response from the maintainers. For one, the type currently defined for ApexOptions.tooltip.x.formatter
{
  formatter?(val: number, opts?: any): string
}

is incorrect in more instances than it is correct. ApexXAxis.type allows for category, datetime, and numeric.
And the ApexXAxis.labels.formatter takes a string as it's value,
{
  formatter?(value: string, timestamp?: number, opts?:any): string | string[]`)
}

If you use an array of strings for your x categories, then ApexOptions.tooltip.x.formatter's first argument comes in as a string, but cannot be handled as it's true type without ugly type assertions. Typescript Types are meant to provide value to the developer, not put up roadblocks. In this specific case, the end user would've been better off even if the val argument was any.
I hope the team reconsiders this position.


Broken.

Hey,
I think I got this exploit working only once in my life, and that was 18 months ago.
QT4 is dead, it is near impossible to compile SIP+QT4+Qmake (with 2 different OS's) and all the other jazz, not to mention Openssl 1.1.1.
Any chance of fixing this?
Thanks
Dviros

Hi,
I think it is not at the top of our priorities so probably not. But can check. PR are welcomed.
Eyal


Fixing bug in the annotation of variable ops.

To facilitate the conversion of variable ops (used in the experimental disable_graph_freezing mode) the converter annotates the graph with the shape of the variable ops.
This PR fixes the mapping between captured input names and variables so that the graph can be annotated correctly.
the problem with the previously used mapping appeared when the list graph.internal_captures contains the non-resource type elements.
The unit test is provided.

Fixed issues found by PyLint

Hi @pjannaty Can you please review this PR ? Thank you!

Hi @pjannaty Can you please review this PR ? Thank you!

Hi @pjannaty Can you please review this PR ? Thank you!

Hi @pjannaty Can you please review this PR ? Thank you!

Hi @drivanov, @pjannaty  I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen! Thank you!


SMT lemmas at any scope

Using lemmas as universally quantified formulae at inner scopes is needlessly painful.
Here's a typical usage:
assume
val p : nat -> prop

let test (n:nat) =
  let lem (x:nat)
    : Lemma
        (ensures p x)
    = admit()
  in
  FStar.Classical.forall_intro lem;
  assert (p n)

The need to use forall_intro explicitly is a pain. There are more than 500 such uses in Project Everest. The pain is aggravated by the need to select an appropriate arity (forall_intro_2, 3, ...), to move requires clauses into implications, to not being able to provide patterns always etc.
This pull request fixes that by allowing you to decorate lemmas with SMT patterns at arbitrary scopes.
You can now write:
module NestedLemma

assume
val p : nat -> prop

let test (n:nat) =
  let lem (x:nat)
    : Lemma
        (ensures p x)
        [SMTPat (p x)]
    = admit()
  in
  assert (p n)

Thanks Nik, I merged it into master after a local ./everest make run.


Add new CSS for widgets forms

Implement styles for widgets tab pane [Data | Style] pane:

(Tentative scope)

TODOs

[ ] figure out how to apply styles to the backbone forms
[ ] …
[ ] implement styles for category data form
[ ] implement styles for histogram data form
[ ] implement styles for formula data form
[ ] implement styles for time-series data form
[ ] implement styles for style tab (same for all widgets)

@piensaenpixel please coordinate with @xavijam and @javierarce before starting on this one. Added the tentative scope for now

bump, can this be closed?

i think you can close it


Caching questions

Is it currently possible to use actions/cache with docker/bake-action somehow? I notice there is a no-cache option, however it doesn't seem to do much between runs.
Ideally I'd like to take advantage of docker layer caching between runs to speed up our deploys. Thank you!

Hi @gf3, yes you can use cache the same way as build-push-action through --set flag or set input with this action. Here is a quick example using the registry cache with the bake action:
name: ci

on:
  push:
    branches:
      - 'master'

jobs:
  docker:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v1
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1t
      -
        name: Build and push
        uses: docker/bake-action@v1
        with:
          push: true
          set: |
            *.tags=user/app:latest
            *.cache-from=type=registry,ref=user/app:latest
            *.cache-to=type=inline

ref: https://github.com/docker/buildx/blob/master/docs/reference/buildx_bake.md

thank you! i'll give this a shot

works great! i went with local caching:
    - name: Build and push to Amazon ECR
      uses<EMAIL_ADDRESS>      env:
        NODE_ENV: production
        REPO: ${{ steps.login-ecr.outputs.registry }}
        TAG: ${{ github.sha }}
      with:
        files: docker-bake.hcl
        push: true
        set: |
          *.cache-from=type=local,src=/tmp/.buildx-cache
          *.cache-to=type=local,mode=max,dest=/tmp/.buildx-cache-new

    # Temp fix
    # https://github.com/docker/build-push-action/issues/252
    # https://github.com/moby/buildkit/issues/1896
    - name: Move cache
      run: |
        rm -rf /tmp/.buildx-cache
        mv /tmp/.buildx-cache-new /tmp/.buildx-cache

@crazy-max thank you for the example.
When using a docker-compose.yaml file which builds multiple images, would using a single cache source with *.cache-from/to cause any issues?

@dudicoco Yes cache would be invalidated if Dockerfile/context is different but docker/buildx#721 could solve that in the future. In the meantime you have to add a docker/bake-action step for each target and a dedicated cache scope.

@crazy-max glad to hear you will be implementing my idea in https://github.com/docker/buildx/pull/721 :)
In addition to that, do you think it would be possible to add some kind of variable for the target name, in order to avoid repeating the same code?
For example:
x-cache:
  from: type=local,src=/tmp/.buildx-cache,scope=${{ .target }}
x-tags:
-  ${DOCKER_REGISTRY:-default}/${{ .target }}:latest

services:
  app:
    image: ${DOCKER_REGISTRY:-default}/app
    build:
      context: .
      dockerfile: Dockerfile

Where ${{ .target }} would always resolve to the target name, thus avoiding repetition of the same fields over and over.

@crazy-max now that https://github.com/docker/buildx/pull/721 is merged, when can we expect a release with this added feature?
Thanks

Note that build-push-action can now also use the Github Actions type=gha exporter. Testing it with bake-action however did not hit any cached layers when running the same job for the same commit twice.

Note that build-push-action can now also use the Github Actions type=gha exporter. Testing it with bake-action however did not hit any cached layers when running the same job for the same commit twice.

I ran into the same behavior - the issue is that the special environment variables for the github action cache are not exposed by default.  As a workaround, you can add the crazy-max/ghaction-github-runtime@v1 action before running bake-action.
I take it bake-action needs a minor update to support them directly.
A minimal workflow to run bake w/ type=gha caching should be like:
name: ci
on:
  push:
    branches: ["master"]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: docker/setup-buildx-action@v1
      - uses: crazy-max/ghaction-github-runtime@v1
      - uses<EMAIL_ADDRESS>        with:
          set: |
            *.cache-from=type=gha
            *.cache-to=type=gha,mode=max
          push: ${{ github.event_name != 'pull_request' }}

According to https://github.com/docker/buildx/issues/744 crazy-max/ghaction-github-runtime is only required when not using this action.
Sounds like a bug to me that caching doesn't work without it when using this action.
@crazy-max can you please clarify?

@dudicoco

According to docker/buildx#744 crazy-max/ghaction-github-runtime is only required when not using this action.
Sounds like a bug to me if gha caching doesn't work when using this action.

Indeed, crazy-max/ghaction-github-runtime is only required if you don't build through an action because GitHub runtime is not exposed for run: instructions like:
name: build

on:
  push:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Expose GitHub Runtime
        uses: crazy-max/ghaction-github-runtime@v1
      -
        name: Build
        run: |
          docker buildx build --cache-from=type=gha --cache-to=type=gha .

@crazy-max to clarify, the issue here is that when using the bake action from this repository, caching does not work unless the crazy-max/ghaction-github-runtime@v1 step is added as well.
See https://github.com/docker/bake-action/issues/36#issuecomment-1100287924

caching does not work unless the crazy-max/ghaction-github-runtime@v1 step is added as well.

Seems to work on my side. See https://github.com/crazy-max/buildx-buildkit-tests/blob/main/.github/workflows/bake-action-36.yml and https://github.com/crazy-max/buildx-buildkit-tests/runs/6096877843?check_suite_focus=true#step:6:184.


{Github} Update PR template

History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)
[Component Name 1] (BREAKING CHANGE:) (az command:) make some customer-facing change.
[Component Name 2] (BREAKING CHANGE:) (az command:) make some customer-facing change.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

Suggested change is a great function!

Should we move the Description of PR and Testing Guide above History Notes as they are more important information for reviewers and Description is mandatory while History Notes is optional?


documentation updates

Documentation updates. Addresses issues:
#64 open-ssl0.98 Handshake error
#65 SSLError: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
#66 Documentation: 5 Optional: Removing the public key from the certificate file

Can one of the admins verify this patch?


Add cmake install targets

resolves #223

Interesting.
If I got that right, it's failing because cmake < 3.13 cannot resolve targets of subdirectories if the install command is not in the top-level CMakeLists.
https://stackoverflow.com/questions/34443128/cmake-install-targets-in-subdirectories
https://cmake.org/Bug/view.php?id=14444

Great work, thanks a lot!


Update helm chart version

Update the helm chart version for kbatch.
(supersedes: https://github.com/kbatch-dev/kbatch/pull/57)
Apologies @TomAugspurger for all review requests. I forgot this repo existed and I was very confused on how the helm chart upgrades worked.  I'd also be happy to remove the duplicate helm-chart github pages if you're alright with it (see https://github.com/kbatch-dev/kbatch/issues/58).

I'd also be happy to remove the duplicate helm-chart github pages if you're alright with it

Feel free to do whatever makes sense :) I unfortunately haven't had time to work on kbatch.

Sounds good! Thanks a lot @TomAugspurger :)


Added access_token expiry unix timestamp as a class accessible variable

…ble with a reference method.

Thanks!


cmake build without netcdf4 fails

I am trying to build on an ibm pwr-8 system without hdf5 installed:
CC=xlc cmake -D CMAKE_INSTALL_PREFIX=/u/b5p195aa -DENABLE_NETCDF4=OFF -DENABLE_DAP=OFF -DENABLE_REMOTE_FORTRAN_BOOTSTRAP=ON ../
-- The C compiler identification is Clang 3.5.0
-- Check for working C compiler: /usr/bin/xlc
-- Check for working C compiler: /usr/bin/xlc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindHDF5.cmake:347 (find_package_handle_standard_args)
CMakeLists.txt:490 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/u/b5p195aa/Downloads/netcdf-c/bld/CMakeFiles/CMakeOutput.log".

Replace ENABLE_NETCDF4 with ENABLE_NETCDF_4.  I'll update the CMakeLists.txt to respect both options.

Thanks

Reopening issue so that I don't forget about it for the next release :).

Corrected in master, either ENABLE_NETCDF4 or ENABLE_NETCDF_4 should work now.


qutebrowser doesn't start (incompatible Qt version)

Issue description
qutebrowser doesn't start because of the following error:
16:45:13 CRITICAL: Cannot mix incompatible Qt library (version 0x50901) with this library (version 0x50902)
Fatal Python error: Aborted

Current thread 0x00007fd912c5a580 (most recent call first):
  File "/nix/store/87dk7zl5cam1rz0j1912188vf9drmadi-qutebrowser-1.0.2/lib/python3.6/site-
packages/qutebrowser/misc/sql.py", line 95 in init
  File "/nix/store/87dk7zl5cam1rz0j1912188vf9drmadi-qutebrowser-1.0.2/lib/python3.6/site-
packages/qutebrowser/app.py", line 444 in _init_modules
  File "/nix/store/87dk7zl5cam1rz0j1912188vf9drmadi-qutebrowser-1.0.2/lib/python3.6/site-
packages/qutebrowser/app.py", line 163 in init
  File "/nix/store/87dk7zl5cam1rz0j1912188vf9drmadi-qutebrowser-1.0.2/lib/python3.6/site-
packages/qutebrowser/app.py", line 137 in run
  File "/nix/store/87dk7zl5cam1rz0j1912188vf9drmadi-qutebrowser-1.0.2/lib/python3.6/site-
packages/qutebrowser/qutebrowser.py", line 186 in main
  File "/nix/store/87dk7zl5cam1rz0j1912188vf9drmadi-qutebrowser-1.0.2/bin/..qutebrowser-wrapped-wrapped", line 12 in <module>
fish: “qutebrowser” terminated by signal SIGABRT (Abort)

Steps to reproduce
Just install qutebrowser.
Technical details

System: 18.03pre118082.00e56fbbee (Impala)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: "18.03pre118082.00e56fbbee"
Sandboxing enabled: false

Oh, sorry, this is a duplicate of many NixOS bugs related to nix-env -i packages and Qt plugins. nix-env -u fixed it. Sorry for the disturbance.

I have a similar issue; get the error Cannot mix incompatible Qt library (version 0x50900) with this library (version 0x50902)
@pmiddend was an upgrade to your nix environment all you needed to fix the issue for you?

Yes, so I straced it and saw that there was one place where the old Qt version was mentioned, and it had to do with the user profiles (so I assume applications installed per-user via nix-env). So then, nix-env -u did the trick.


[Perf] consolidate xaml controls/pages into fewer DLLs

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
No response
Expected result
No response
Actual result
No response
Included System Information
No response
Included Extensions Information
No response

duplicate of #129


More Player Interactions

I'm not one to request things from mods, but I think that the mod should have more player interaction elements.
I was wondering if there could be ways to change Museum Puppets animations depending on certain aspects, like if the player gets within a certain range the animation changes. I was also wondering if the Museum Puppet would be able to look at players, similarly to before the Puppet could turn to face the player if they get close.
On a different note, I feel like there should be an easier way to control Puppet animations, like a simple command that I could put into a command block so that if I activate the command block, the Animation of a certain Puppet changes, for example I could make a puppet change from happy to sad with a button.
Alternatives
It should be somewhat possible since using commands blocks it's possible to activate when entities are within a certain range. Command: /execute if entity @a[distance=..4] run
Additional Context
I use the mod 'Ryan's Prototypes' to turn the Puppets into interactable NPC's, though I feel like It would be better if this mod included more Player Interactions to allow the Puppets to be more useable in things like mapmaking.

Good ideas, the first couple (change animation based on range, and moving the head to look at players) would probably be part of the AI update. The command stuff is good too, cleaner tools for that would be very nice to have.
As a temporary workaround in the meantime, you could use the vanilla /data command to change a puppet's animations by messing with their data.

awesome, I'll try messing around with /data some more. good luck with development!


Megacheck and go1.8.x

Hi,
I wanted to report that some vendors are actually outdated and megacheck report some possible errors.
Are you thinking about doing a new release? TravisCI should use go1.8.x instead of 1.7.
See,
bind/v2/v2.go:108:9: should use type conversion instead of struct literal (S1016)
bind_exporter.go:476:28: prometheus.Handler is deprecated: Please note the issues described in the doc comment of InstrumentHandler. You might want to consider using promhttp.Handler instead (which is not instrumented).  (SA1019)

Except for the prometheus.Handler, the issues have been fixed. There isn't a great alternative available for the Handler right now, besides doing all the instrumentation manually.


Enchance transaction update mechanism

use atomic update for all partitions
use timestamping to early detect if transaction is broken
implement an exception for such broken transactions
implement timestamping in checkpoint to detect if transaction is broken

done
done
done

done


Added nimcat

Please removing the trailing comma and resubmit. Thanks!

Why not just remove the trailing comma yourself?

Please get rid of your revert and remove the trailing comma.

Why not just remove the trailing comma yourself?

That's a good point! Mostly because I've been away so long that I've forgotten how to use GitHub. :wink:

Which comma here is the issue?


(suggestion) merging with bitwise-guy's text box generator

saw a few person's requests about "faceless textbox" and "colored text" and thought that you should get a hold of the gent who made this: http://bitwise-guy.net/assorted/underlog/ and merge your generators together, you'll have your faceless and colored boxes and he'll have faces

It doesn't work like that. IDTHV is build on the Elm language. Underlog on the other hand just uses PHP to generate a text box.

Yeah, thanks for bringing that other site to my attention; a little healthy competition is always good! But @ev1l0rd is right, merging the two sites wouldn't be any easier than just coding up a new one from scratch.


Metadata generator fails to generate metadata for MapboxNavigation SDK

The metadata generator emits compilation errors and exits when generating metadata for MapboxNavigation Pod. More info here: https://discourse.nativescript.org/t/building-mapboxnavigation-sdk-error/1690.

@ivanbuhov oh my bad ivan. It's this one. For some reason sebastian linked me to the other issue :/

Answer: https://github.com/NativeScript/ios-runtime/pull/780#issuecomment-323753246

@ivanbuhov any progress in solving this issue and being able to use the native Mapbox SDKs?

@mm-ns - I have now tried building a vanilla NativeScript app with a plugin that adds the MapboxNavigation pod without reproducing the issue you are mentioning. I am using the latest NativeScript version. Please take a look at the attached project. The only difficulty I faced was that the Pods project in the Workspace had to have its targets updated to Swift 4.0 to be able to build the MapboxNavigation pods. You will have to do this as well once the iOS platform is created in the attached project. Let me know how things work on your side.
meta-test.zip

Closing due to inactivity.


1.6.4

Miss
1.6.4 Ensure core dumps are restricted - processsizemax
1.6.4 Ensure core dumps are restricted - storage

Found them in FILE_CONTENT_CHECK


handle elysia start event

Adds checks for when an Elysia app listens for onStart event.

LGTM! Thank you for your contribution!


Feat/add consul testcontainer

Was looking to make my testcontainer more fully featured and wanted to leverage Consul for API discovery between API Client and Server. Note: the current Consul client doesn't support a port other than 8500, so at the moment it ends up being static (and sets that on the test container).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.nsteffan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR!


Multiple accounts

Hi,
I'm using this Library for the Volksbank Rostock. It works nice but it grabs only the data from the first account. Have multiple accounts on it. How can I get this data. Greets

Solved it :-)
Thx