How Photino invokes an WebView wrapper?

From what I've seen, at least on Windows 10 and 11, Photino runs on top of the Microsoft Edge WebView, but I can't control which version of the WebView it will use, nor do I know which webview it uses on other operating systems.
Different WebViews can bring notable changes to web resources, which complicates development and removes the concept of "portability".
So, I want to know: how does Photino select which webview engine to use on different operating systems and how can I change this to use a specific engine for all operating systems, like Chromium v.120 for example?

@CypherPotato Please refer to the docs at https://www.tryphotino.io/
Photino.Native is a C++ (and Objective-C) wrapper around the OS’s built-in Chromium or WebKit-based browser control in it. On Windows it uses the Chromium Edge based WebView2 control, on macOS it uses Safari’s WKWebView and on Linux it uses WebKitGTK+ 2. The Photino.Native package is compiled for each platform and distributed via NuGet.
You can control the version of WebView2 on Windows platform (again, see the docs). If you are looking to use Chromium across all platforms, take a look at Electron as it distributes the Chromium runtime as part of every installation. Photino does not take that approach.


Links with "_" in the domain name are not regarded as links

what is the issue?
Links with "_" in the domain name, for eg:

https://api_stage.dzcode.io
https://api_stage.dz_code.io

are not regarded as links, which is no true, see :
https://stackoverflow.com/a/2183140/8113942
the same goes for fuzzy links, for eg:

api_stage.dz_code.io
api_stage.dz_code.io

As far as I've been able to research, api_stage.dzcode.io is an alias for api-stage.dzcode.io, and dz_code.io simply isn't a thing.
Please provide an example of widely used domains with underscores in them.
Underscores in domain names are very rare because:

not permitted by some RFCs (see discussion here)
domains with underscores are being phased out from being issued SSL certificates
you can't register 2nd level domain name with underscores (I've just tried)

Linkify-it isn't meant to find every single link (which is impossible), so we have to restrict ourselves to the most common cases. I'm not sure if domains with underscores are worth supporting, especially given false-positive potential of them being introduced in fuzzy links.

Is it possible we get this resolved already? It seems like we are discussing whether this is a valid case or not, but it's obvious that there are cases like this around the web. This library has 100% test coverage, so it's safe to add this change without worrying it would break something. We hear "false-positive potential" mentioned before, but what are the exact cases which could be false-positives?
There is also other option that gets suggested - to use onCompile to override src_domain regexp, however, since most of the regexps are dependant on one of another this simple change needs to be applied like this:
LinkifyIt.prototype.onCompile = function onCompile() {
  const re = this.re;
  const text_separators = '[><\uff5c]';

  re.src_domain =
    '(?:' +
    re.src_xn +
    '|' +
    '(?:' + re.src_pseudo_letter + ')' +
    '|' +
    '(?:' + re.src_pseudo_letter + '(?:-|_|' + re.src_pseudo_letter + '){0,61}' + re.src_pseudo_letter + ')' +
    ')';

  re.src_host =
    '(?:' +
    '(?:(?:(?:' + re.src_domain + ')\\.)*' + re.src_domain/* _root */ + ')' +
    ')';

  re.tpl_host_fuzzy =
    '(?:' +
    re.src_ip4 +
    '|' +
    '(?:(?:(?:' + re.src_domain + ')\\.)+(?:%TLDS%))' +
    ')';

  re.src_host_strict =
    re.src_host + re.src_host_terminator;

  re.tpl_host_fuzzy_strict =
    re.tpl_host_fuzzy + re.src_host_terminator;

  re.src_host_port_strict =
    re.src_host + re.src_port + re.src_host_terminator;

  re.tpl_host_port_fuzzy_strict =
    re.tpl_host_fuzzy + re.src_port + re.src_host_terminator;

  re.tpl_email_fuzzy =
    '(^|' + text_separators + '|"|\\(|' + re.src_ZCc + ')' +
    '(' + re.src_email_name + '@' + re.tpl_host_fuzzy_strict + ')';

  re.tpl_link_fuzzy =
    '(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|' + re.src_ZPCc + '))' +
    '((?![$+<=>^`|\uff5c])' + re.tpl_host_port_fuzzy_strict + re.src_path + ')';

  re.tpl_link_no_ip_fuzzy =
    '(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|' + re.src_ZPCc + '))' +
    '((?![$+<=>^`|\uff5c])' + re.tpl_host_port_no_ip_fuzzy_strict + re.src_path + ')';

};

I don't think that's maintainable on our codebase.
I actually see couple of options here:

Merge https://github.com/markdown-it/linkify-it/pull/96 which adds test coverage for these cases and fixes the issue.
Make this library extendable/configurable in a better way, which doesn't include having half of regexps codebase on consumer side, maintaining backwards compatibility.

Please make some kind of decision, as doing nothing and ignoring OS community issues for years is not a valid solution.


MDX Changes to DRILLTHROUGH After Applying Filters Several Times

The bug https://github.com/intersystems-ru/LightPivotTable/issues/14

Please see #14 in LPT repository.
DeepSeeWeb uses changeBasicMDX and after setting filter the second time, MDX changes externally to DRILLTHROUGH.

Also it was discussed before in LightPivotTable/issues/10 but didn't yield any results.

updated


Memory leak on XOR demo

Allocating a new matrix in a loop without freeing the previous one
https://github.com/arthursfares/neural-network-c/blob/5d6e12473e5119aedd50a709c92b14d78312384c/src/xor.c#L31
Also, very nice repo :) Very well explained

Fixed. Thanks for the help :D


Strange issue with installation of eap_proxy for USG

I've followed religiously the instructions that Taylor Smith posted with eap_proxy to bypass the ATT router. When running the command 'sudo python /config/scripts/eap_proxy.py --restart-dhcp --ignore-when-wan-up --ignore-logoff --ping-gateway --set-mac eth0 eth2' I get the following output:
[2020-05-04 19:09:17,254]: starting proxy_loop
Traceback (most recent call last):
File "/config/scripts/eap_proxy.py", line 869, in
sys.exit(main())
File "/config/scripts/eap_proxy.py", line 865, in main
return proxy(args, log)
File "/config/scripts/eap_proxy.py", line 817, in proxy_loop
proxy.proxy_loop()
File "/config/scripts/eap_proxy.py", line 602, in proxy_loop
self.on_poll_event(socks[fd], event)
File "/config/scripts/eap_proxy.py", line 610, in on_poll_event
"[%s] unexpected poll event: %s (%d)" % (ifname, ename, event)
IOError: [eth2] unexpected poll event: POLLERR (8)
show interfaces gives me the following -
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address                        S/L  Description

eth0         <IP_ADDRESS>/24                    u/u  WAN
eth1         <IP_ADDRESS>/24                    u/u  LAN
eth1.100     <IP_ADDRESS>/24                  u/u
eth2         -                                 A/D
lo           <IP_ADDRESS>/8                       u/u
::1/128
In search the forums, I see that this has been reported before, but I don't see a resolution.
Can you offer any insight into this?
Thanks for any help you can offer,
Oren

This means your WAN2/LAN2 port on the USG is disabled. This is the default behavior, so not surprising. You need to enable the port which isn't in settings of the controller, but instead you can enable it from the devices page.
Click on your USG device, and go to the ports icon.

Click configure interfaces link where you will see that port is currently disabled. You can then enable that port to look like below:

I am still working through my configuration dealing with a potential dhclient issue, but at least this should get you closer in your case.

Can you offer any insight into this?

Sorry, I don't use a USG. Please try @pgullette's suggestion.


No release tag

Could you create a version tag for Swift PM?

This is a package we created for Vapor 3, whilst it's under development, to have an OpenSSL module map for Linux. I'd like to refer you to https://github.com/vapor/ctls


Add ARS + lim + Zalesak jobs

Purpose
Adds ARS343 + limiters + Zalesak FCT jobs to our longrun targeted resolution pipeline.
Closes #1733
Review checklist
I have:

followed the codebase contribution guide: https://clima.github.io/ClimateMachine.jl/latest/Contributing/
followed the style guide: https://clima.github.io/ClimateMachine.jl/latest/DevDocs/CodeStyle/
followed the documentation policy: https://github.com/CliMA/policies/wiki/Documentation-Policy
checked that this PR does not duplicate an open PR.

In the Content, I have included

relevant unit tests, and integration tests,
appropriate docstrings on all functions, structs, and modules, and included relevant documentation.

[x] I have read and checked the items on the review checklist.

@szy21 let me know if you don't want to keep all of these jobs, or if you also want to add coarse-resolution pipeline ones.

To review plots of the results for the MBW and Aquaplanet cases, please see the corresponding rows in this table in the dedicated issue.

bors r+

Weird that the longrun lim + ARS + zalesak baroclinic wave broke, with the given dt 200secs. I had tested it on my branch (that was rebased onto main before some of the latest changes that refactored things out of the driver) and it worked fine (I showed results in the table in the Issue).
@szy21 do you know what else might have changed?

I think this PR is the only one that changes MSE recently. It's not clear to me whether that longrun breaks due to an actual error or a bad node though.


doc: Reformatted Storage Documentation to Organize Keys by Storage Type

Signed-off-by: Jeffery Wu<EMAIL_ADDRESS>

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

fixes #9239

Alright, I think I went through all of it.
The summary is:

There are a bunch of keys that shouldn't be included for a variety of storage drivers. I think I added notes for all of those.
We need a separate section for cephfs distinct from ceph.
I think I'd prefer the storage drivers to match their LXD name in the list at the top (so, ceph, cephfs, dir, btrfs, lvm and zfs)
Need to sort out the handling of volume.XYZ keys, most likely by not having those included in every table but instead having a clear explanation that anything that's valid on a volume for a particular pool can be set as volume.KEY=VALUE on the pool and will then be used as a default for new volumes.

I think I'd prefer the storage drivers to match their LXD name in the list at the top (so, ceph, cephfs, dir, btrfs, lvm and zfs)

This would also be consistent with instance device type headings.

Looking good. I think we just need:

Sort all config keys alphabetically
Drop the now redundant condition column from the list of pool config keys
Rename the directory section to dir

Looks good, just a small issue with cephfs as it does support some of the ceph keys, but you couldn't have known that. I'll push an extra commit on top of this to sort that out and then merge it.

jenkins: test this please


s3utils: Support AWS S3 US GovCloud endpoint.

Fixes https://github.com/minio/minio/issues/4489

I tried to create a new bucket in us-gov-west-1 but it did give me:
$ go run makebucket.go
2017/06/11 21:01:44 The specified location-constraint is not valid
exit status 1

I am not even sure that this is supposed to work with our s3 account. @harshavardhana, do you have any idea ?

I am not even sure that this is supposed to work with our s3 account. @harshavardhana, do you have any idea ?

It won't work you need a special account like china. @vadmeste It is being validated upstream by mattermost folks. We can only review if the code is correct and working.

One little problem with PR is it has a regression concerning creating a bucket with a region that doesn't match to the Minio server's region (AWS S3 is fine). Here is the log:
$ go run makebucket.go
---------START-HTTP---------
PUT /bucket-3/ HTTP/1.1
Host: localhost:9000
User-Agent: Minio (linux; amd64) minio-go/2.1.0
Content-Length: 153
Authorization: AWS4-HMAC-SHA256 Credential=minio/20170615/us-west-2/s3/aws4_request, SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date, Signature=bc07bd248b47da97cd1bf3898c2f75ed3fcffb0ccb32fb0d0b3dddacc14bb4e3
Content-Md5: Op2YSFwhrUHkWAAirYWTWQ==
X-Amz-Content-Sha256: a4a3d263179bfcbaf88755b14ea9db3048e4179c03bbc94ccf0f13c8c2d3df6a
X-Amz-Date: 20170615T171741Z
Accept-Encoding: gzip

HTTP/1.1 400 Bad Request
Transfer-Encoding: chunked
Accept-Ranges: bytes
Content-Type: application/xml
Date: Thu, 15 Jun 2017 17:17:41 GMT
Server: Minio/DEVELOPMENT.GOGET (linux; amd64)
Vary: Origin
X-Amz-Bucket-Region: us-east-1
X-Amz-Request-Id: 14C85B1E21AB8870

ee
<?xml version="1.0" encoding="UTF-8"?>
<Error>InvalidRegion<Message>Region does not match.</Message><Key></Key><BucketName></BucketName><Resource>/bucket-3/</Resource><RequestId>3L137</RequestId><HostId>3L137</HostId></Error>
0
---------END-HTTP---------
2017/06/15 18:17:41 Put http://localhost:9000/bucket-3/: http: ContentLength=153 with Body length 0
exit status 1

0
---------END-HTTP---------
2017/06/15 18:17:41 Put http://localhost:9000/bucket-3/: http: ContentLength=153 with Body length 0
exit status 1

Looks like there is a bug in retry @vadmeste - let me check why.

To reproduce this, you can call MakeBucket("mybucket", "us-west-2") where the region of Minio server is the default one (us-east-1)

To reproduce this, you can call MakeBucket("mybucket", "us-west-2") where the region of Minio server is the default one (us-east-1)

Yep found it!

@jwilander would you mind validating this PR again we made some more changes.. related to location handling etc.

Passed the new build along to the customer and they're reporting seeing Amazon S3 endpoint should be 's3.amazonaws.com'. when trying to put objects

Passed the new build along to the customer and they're reporting seeing Amazon S3 endpoint should be 's3.amazonaws.com'. when trying to put objects

This is strange and should not happen. Let me check again.

Actually it looks the build I gave them was built without the patch by accident. Sorry about that I'll try again with a proper build

Actually it looks the build I gave them was built without the patch by accident. Sorry about that I'll try again with a proper build

Oh no problem. Thanks @jwilander

Hi @harshavardhana, just wondering what's the release schedule look like? We'd like to include this in our next Mattermost release (merge deadline is in a few weeks) if possible. Not a big deal if there isn't a release until after, we can always use a temporary fork with these changes applied. Apologies if this is documented somewhere, I couldn't find anything on it after a quick look around

Hi @harshavardhana, just wondering what's the release schedule look like? We'd like to include this in our next Mattermost release (merge deadline is in a few weeks) if possible. Not a big deal if there isn't a release until after, we can always use a temporary fork with these changes applied. Apologies if this is documented somewhere, I couldn't find anything on it after a quick look around

Generally you can just vendorize from the master.. for Go we don't necessarily do this. But if you wish to have a tagged release we can do that as well. @jwilander

If it's not too much trouble a tagged release would be great

If it's not too much trouble a tagged release would be great

Waiting for couple of other patches before we can proceed to tag.


Failed to improve error

After three times to improve my code base, for the third time, the "failed to improve" error was raised
Currently, I use the Codium Vscode extension and I have no idea how to solve this problem!

After three times to improve my code base, for the third time, the "failed to improve" error was raised
Currently, I use the Codium Vscode extension and I have no idea how to solve this problem!

May I ask to share a screenshot?
Also, can you please share the Request ID?
You can find it by clicking on CodiumAI logo on the top-right of CodiumAI panel
Thank you for submitting this issue


Cake.Core Version Incompatibility

Seems that with the new version of Cake the Cake.Sonar stopped workinig and returns this message:
Error: The assembly 'Cake.Sonar, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (0.25.0).
This assembly need to reference at least Cake.Core version 0.26.0.
Another option is to downgrade Cake to an earlier version.
It's not recommended, but you can explicitly opt-out of assembly verification
by configuring the Skip Verification setting to true
(i.e. command line parameter "--settings_skipverification=true",
environment variable "CAKE_SETTINGS_SKIPVERIFICATION=true",
read more about configuration at https://cakebuild.net/docs/fundamentals/configuration)

Using the skip verification argument make it work, but is something to avoid if posible

I've PRd it.


Centralise logging [RFC]

I keep hitting weirdness in logging when I try to use it, and wanted to tighten up expectations and consistency over the logging approaches.

Maybe I should have started with this question: what kind of weirdness are you running into?

It’s too bad java.util.Logging misses the mark so badly.

It’s a nice abstraction but I really hate to introduce our own logging abstraction.

Agreed.  Awkwardly we have some conflicting requirements.

We want it to do the right thing by default by two distinct platforms (Android + Java8+)
We don't want additional dependencies.
Platform.get().log is a useful way of notifying the developer of things in dev mode.  In JVM using JUL achieves this, on Android System.out.println or Log.i do the same.

I’m grumpy because I just read this which really resonated with me.
https://sobolevn.me/2020/03/do-not-log

+100 Hopefully this exact topic comes across as a theme I've been pushing for.  A lot of the code in exploratory android work has been trying to build events out of connections, networks etc.
https://github.com/square/okhttp/issues/5194
https://github.com/square/okhttp/issues/5833
https://github.com/square/okhttp/issues/5319
JSSE is the worst example to be honest.  Such a critical API and failures are only debuggable via turning on logging.
I'll raise a clear ticket to cleanup logging and replace with events and observable state.

Could we use something like OkHttpDebugLogcat so we exclusively use the JUL logging API instead of creating our own?

This is probably the best short term solution, switch to JUL completely, but hook up our own zero dependency logging by default with AndroidPlatform.

Maybe I should have started with this question: what kind of weirdness are you running into?

It's not fun trying to handle logging in useful way e.g.
https://github.com/yschimke/okurl/blob/master/src/main/kotlin/com/baulsupp/okurl/util/LoggingUtil.kt#L40


Dimension(s) of the target image unknown Ab

Hey there, why only sometimes I'm getting this error?
<img src="/0881005_4.jpg" class="reel" data-responsive="true" data-loops="true" data-speed="0.15" data-cw="true" data-revolution="200" data-images="/0881005_#.jpg|4..15" style="">

Anyone any hints about this issue?

Same issue here.

Well in my case it turned out that this was caused by the slow loading of the first image (specified with the src tag). My workaround was adding a callback for the image loading. See:
https://github.com/legyenegysajatvarosod/gallery/blob/gh-pages/js/gallery.js#L10


Add missing backticks to tutorial.md

Codecov Report

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

@@           Coverage Diff           @@
##           master     #231   +/-   ##
=======================================
  Coverage   62.62%   62.62%
=======================================
  Files          62       62
  Lines        2555     2555
=======================================
  Hits         1600     1600
  Misses        755      755
  Partials      200      200

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 983172a...b424b17. Read the comment docs.

Thanks for the contribution @tylerphelan :)


Implement default values for job history limits

According to the documentation of both the cronjob and tzcronjob the defaults for the job limits are either 1 for failed jobs and 3 for successful jobs. Currently tzCronjobber ignores those defaults completely.

@hiddeco any opinions on this PR? This could really help us since there are a lot of completed jobs in our clusters. It would make it much easier to adjust this on the controller-side, other than edit each TZCronJob.

:wave:, sorry it took me so long to get to this.
This is indeed a mistake from my side, and thanks for noticing this and creating a (working) patch. The more idiomatic way of doing this, and also how this is done in the Kubernetes cronjob controller, is by defining default values in the v1alpha1 API package.
This approach has my preference as it does not create "buried" default values in the orchestrating controller code.

Hey sorry for the long delay, was also busy and forgot this PR. I tried the defaulters from the upstream controller in #41. However in my test setup, this does not work. I'm not that familiar with the kubernetes API machinery. Can you maybe give me a hint what I did wrong?


Failure to read symlinked dnscypt-proxy.toml.

I'm trying to manage my dnscrypt-proxy.toml with GNU Stow (which will create a symlink to the real config file).
A permission denied error is thrown:
Feb 16 18:20:29 ce systemd[1]: Started DNSCrypt-proxy client.
Feb 16 18:20:29 ce dnscrypt-proxy[2891]: [2019-02-16 18:20:29] [FATAL] open /etc/dnscrypt-proxy/dnscrypt-proxy.toml: permission denied
Feb 16 18:20:29 ce systemd[1]: dnscrypt-proxy.service: Main process exited, code=exited, status=255/n/a
Feb 16 18:20:29 ce systemd[1]: dnscrypt-proxy.service: Failed with result 'exit-code'.

These are the file permissions:
lrwxrwxrwx. 1 root root 76 Feb 16 18:19 /etc/dnscrypt-proxy/dnscrypt-proxy.toml -> ../../OMITTED

I'm managing config files for another application in this manner and it works for that one, so I'm not sure what's going wrong here.

Permission denied means that the file (the actual file, not the symlink) is not readable by the user the service was started with.

I think the dnscrypt-proxy service runs as a system service. Even if it were running under my user, the file being symlinked to is in my home directory, so it should be readable.

Can you start the service from the command line, as root, without using systemd?

When I start the service as root, there's no output for some reason (I checked the logging options in the config, syslog is off). If I start it under my own user, everything seems normal and it loads the config file, but I can't resolve DNS queries.

I tested linking the dnscrypt-proxy.toml to another path in /etc/ and the service works like that. I don't understand why it isn't able to follow the symlink to my home directory.

Yes, remove it, it's useless.

I don't see dnscrypt-proxy.service in the repo, has this file been created by the package maintainer? If so then I'll probably need to get in contact with them to remove this.

The built-in installer installs a systemd service on Linux, but it doesn't have ProtectHome=yes, so I guess that one was indeed installed by a package.

Alright, thanks. I'm going to try to get to the bottom of this packaging stuff in the next days because the dnscrypt-proxy Fedora package is really not being done properly.

It's okay to add a clause to only accept the configuration file in a specific directory if the configuration file is always in that directory. But yeah, people are different requirements, and packages probably shouldn't do such assertions.

I've sent an email to the package maintainer so hopefully we can work on fixing this issue and #727.

I have removed ProtectHome for your use case. It will be in the next update if everything goes as planned.


Added relevant methods for CheckMenuItems, updated Builder ...

Added two methods to the main class so that the CheckMenuItems can be accessed after being added to the menu, which makes sense since someone might need to know whether or not the menuItem is actually checked or not.
Added methods to the Builder class to accommodate CheckMenuItems
Added TWO example apps showing how to use CheckMenuItems - one is Builder style only the other not so much.
Updated README and inserted an animated GIF showing the use of CheckMenuItem
Updated the Builder tutorial for same...
Javadoc comments all nice and tidy
Tested to make sure that CheckMenuItems get rejected if they have the same label as an existing MenuItem.

Merging and pushing release later tonight. Thanks @EasyG0ing1


WARN invalid UTF-8 at transliterate (transliterate.c:790) errno: Resource temporarily unavailable

Hi there,
I'm working on an Elixir NIF for libpostal (mainly just to learn how to build NIFs to be honest). When I retrieve the binary string data from the Erlang VM and copy it into a signed char, I pass it through to libpostal to parse/expand the address input. It seems to work perfectly around 20% of the time, and all the other times I instead get the following response:
WARN  invalid UTF-8
   at transliterate (transliterate.c:790) errno: Resource temporarily unavailable

I would've assumed that the problem was in my code (it probably still is) but the errno: Resource temporarily unavailable as well as the fact that /sometimes/ it does work has thrown me off...
Would you be able to provide any insight?
You can check the code out here: https://github.com/johnhamelink/postie

Hi John - from my hazy recollection of Erlang, strings are represented as linked lists and then there's a more efficient type called a binary which is a pointer to a character array and its size similar to strings in C++, Python, etc. and that's the type you're using (bravo). I'll assume that the original string is already UTF-8 encoded (if not, that's what libpostal expects so should check/ensure its encoding on the way in).
The problem, I would guess, is that the Erlang string is not NUL-terminated ('\0' at the end) and that's how C expect strings to be represented. Most string operations in C, including those used in libpostal, will start at the pointer address and continue to read bytes from memory until a zero is encountered. When it occasionally works, that means there happened to be a zero somewhere beyond the boundaries of your string and the intervening "garbage memory" happened to be valid UTF-8. The simplest case would be if there was a zero in memory at strlen + 1, in which case it would behave like a normal C string.
So you'll want to create a NUL-terminated C string from the Erlang binary before passing it to libpostal. Haven't tested this, but something like changing https://github.com/johnhamelink/postie/blob/master/src/postie.c#L78 to char *address = strndup(in_binary.data, in_binary.size); should do the trick.  Note that strndup is a caller-frees function so you'll also need to call free(address) somewhere after the libpostal call to free up the allocated memory.

@thatdatabaseguy Thank you for such a clear and definitive explanation! Adding in that line did the trick, and because of no extra random data making its way into the libpostal call, the responses have become much less erratic as well, which also makes my unit tests work better.
I will keep working on it, and then perhaps I can submit a PR to add postie to your list of unofficial libs?

No problem, and yes, happy to accept pull requests!


[Question] How do I build a bare metal custom test in C?

Description
I am trying to build a test that I will run on opentitan_earlgrey with renode. I am trying to find a standalone linker and start script. I have a C program that I will compile with riscv-toolchain manually.

@andreaskurth - do you mind assisting on this and pointing to the right points in the documentation and/or redirect to others who may be able to assist?

Thanks for your question, @usmnzain.
We use Bazel to build our software. If Renode supports building with Bazel, I think that would be your easiest option. If that is not an option, you could extract the compile and link commands that Bazel executes by invoking Bazel with the --subcommands option (e.g., bazel build --subcommands //sw/device/examples/hello_world:hello_world) and put the relevant commands into your own scripts. Note that some files that are necessary for compilation (including header files to interface HW modules and linker files to define memory addresses) are autogenerated from higher-level descriptions.
There is a relatively simple C example program in sw/device/examples/hello_world. Linker and start files intended for bare-metal programs can be found in sw/device/silicon_owner/bare_metal.

Great thanks, I will look into it. Closing the issue, will re-open if required.


Preallocated tag helper optimization is not being applied when using RazorProjectEngine

Found this bug when porting the code generation tests over to use RazorProjectEngine. This is because PreallocatedTagHelperAttributeOptimizationPass is incorrectly ordered. It should run after DefaultTagHelperOptimizationPass. I'll include the fix along with the PR for #2082.
cc @NTaylorMullen @rynowak

f8dc5c470234a490d92eda60e1edcdbe29f1b613


Remove link styling on non-link navbar item

I rule and have completed some work on Case Manager that's ready for review!
Changed the styling on the navbar navigation "Your line:" item to reflect that it is not a link.
This pull request makes the following changes:

Change navbar list item in app/views/layouts/_navigation_links.html.erb from a blank link to static text
Change navbar list item class in _navigation_links to navbar-text to reflect the previous change
Change app/assets/stylesheets/application.css.scss. Change .navbar-inverse .navbar-text style to fit existing navbar item styling.

Before:

After:

It relates to the following issue #s:

Fixes "Your current line: DC" shouldn't be a link. Fixes #980

@SamuelLangenfeld this looks good to me! Test failures are from a test being flaky, so we'll merge as is.
Super cool thing about github that I love teaching people: it's got a super dope reference system that makes it super easy to link things back to issues or other pull requests. If you type a # it'll bring up a list of issues and PRs, and you can narrow it from there with either numbers or words.
I made an edit to the last line of your PR, adding Fixes #980 on the end. That way, when we merge this, github will automatically close the associated issue, and anyone looking at the issue will see that this PR relates to it. The github 'hey check it out' page is here: https://github.com/blog/957-introducing-issue-mentions

Slated for merge tomorrow.

Thanks @colinxfleming, that really is a cool feature.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #981   +/-   ##
=======================================
  Coverage   97.55%   97.55%
=======================================
  Files          40       40
  Lines         859      859
=======================================
  Hits          838      838
  Misses         21       21

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 8bca0ec...2d54805. Read the comment docs.


Mobile app crashes with java.lang.OutOfMemoryError when using this plugin

After installation, I found that my mobile app stopped working. The Obsidian application crashed with an error message. I realized from the application logs that the problem was with memory allocation and working with extensions (the name of the method that caused the error in the log says so). I disabled extensions one by one and the crashes stopped when I disabled the Text Generator extension. So the extension works fine on the desktop version, but makes it completely impossible to work from a phone.
I believe this is a critical priority issue, as running the extension results in the inability to use Obsidian on the phone. You can't even disable the extension so it doesn't cause a crash, unless you use storage synchronization as well as I do. So installing this extension may result in not being able to use the vault.

Has that been fixed?


Libfabric 1.15.2

Checklist

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

In this PR we experiment building for different versions of LibFabric and adding the version number in the build chain

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ The recipe is not parsable by parser conda-recipe-manager. Your recipe may not receive automatic updates and/or may not be compatible with conda-forge's infrastructure. Please check the logs for more information and ensure your recipe can be parsed.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12057980319. Examine the logs at this URL for more detail.


Support for Russian GOST bibliography/citation style

Description
I don't know why we had to create a separate bibliography style, but "it is what it is". I found a good implementation of it for biblatex (LaTeX): https://ctan.org/pkg/biblatex-gost. And I've used it like this:
\usepackage[style=gost-numeric]{biblatex}

I'm not sure how accurate it is since there are many rules in the spec and this is what I don't want to deep my toes in. But as far as I've tried — no problem. (Although some people will require a slightly different style which is "theirs standard" and you can't do anything about it.)
If there would be a possibility to use something like #show bibliography: it => ... where you can access any field/value of any bibliography entry, then this would be a huge step forward (you can also sort entries, i.e. make the whole bibliography from scratch).
I'm still not familiar with Rust (yet) and I don't know how to add a new style myself (I didn't find anything useful using rg <style name>).
Use Case
This will allow for creation of (if not all, then) the majority of documents that have to have a GOST style bibliography.
Thankfully, cite can be customized to some extent (#show cite: it => strong(it)), but using #set cite(style: "numerical") is already GOST compatible, AFAIK. Hence, cite() doesn't need as much attention as bibliography().

Ideally, Typst will support CSL in the future meaning you can fully customize your desired citation style.
Their implementation is still very much work in progress though.

Wow, I've heard of CSL a couple of times, but never actually understood what is it and how to use it. I think I should find a minute to do this.
Are you talking about https://github.com/zotero/citeproc-rs?

Unfortunately, citeproc-rs isn't maintained or used even by Zotero. Typst will use its own implementation: https://github.com/typst/citationberg

Haha, meme right away. It was created only this summer? Then it's too soon to hope for some beta releases, I guess.

Are there any hacks/workarounds right now? Using only Typst? Using only Rust? Both?
The easiest and the tidiest method is copy-pasting everything yourself and making sure you didn't mess up any space/delimiter or whatever (this is what I did in LaTeX before committing to use any bib package). This also implies, that I need to make custom cite function because there are no citations this way. I can only put labels next to every hard-coded bibliography entry, which will probably help a lot with making custom cite function.

There isn't that much you can do short of choosing the closest style and replacing stuff with show-rules and regex I think.

And how would I make such show rules? I can't use replace on content (#show bibliography: it => it.replace(",", " ---")) and I can't convert content to string, only use repr which outputs completely different information. regex only works on strings, right?

There is also a PR for making customization easier in Typst: https://github.com/typst/typst/pull/1249

And how would I make such show rules? I can't use replace on content (#show bibliography: it => it.replace(",", " ---")) and I can't convert content to string, only use repr which outputs completely different information. regex only works on strings, right?

To keep the show-rules scoped, I would do the following for example:
#[
  #show "Available": "Доступный"
  #bibliography("sources.yml")
]

This is a basic example, I don't know how far that can get you. Or, look at the PR @laurmaedje just mentioned.

Oh, ok, thanks. regex also works (#show regex(""): "replace"), so the regex hell path is now also unlocked. Now that I think about it, I can also extend this with #show regex(""): match => { ... }. But I don't think I want to go this way.

#bibliography("sources.yml")

Bold of you to assume, that I already switched from bib format. :) I was going to, but since I still won't be able to style everything correctly, I just gave up (for now).

I wanted to ask here, but still the main issue is different from all the consequences (that I need to go through), I asked it in discussions: #2007. It also can potentially generate a lot of comments that would be kinda of topic over here.

"gost-r-705-2008-numeric" is now a supported style. You can obtain other GOST styles from the CSL style repo and upload them to your project.

Yes, I've seen this, but haven't tested yet.

I've opened a PR over there: https://github.com/citation-style-language/styles/pull/6765. Assuming it will be merged, When, and will you update your copy of this style in the Typst binary?

Unfortunately, I don't really have my own "test" bibliography files (that has a lot of different fields set), so I can't fully appreciate or compare to some of my hard-coded bibliography. But from the look of it, I think "we're happy". Thanks!


Laravel 8.78.0 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v8.78.0 branch.
Before merging, you need to:

Checkout the shift-ci-v8.78.0 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: The Shift build servers run PHP 8. If you are still running PHP 7.4 or lower you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP 7 environment.

:information_source: The following Laravel packages were updated as they are known to be compatible with Laravel 8.78. Nonetheless, you should review the CHANGELOG to ensure no additional changes are needed.

[ ] thujohn/twitter


I wonder

I wonder this paper is accepted !

Not yet. Under review.

It got accepted by IEEE Access

Congratulations!!


Better support for ES2015

Fixes #33

Note, this is a breaking change. opts must be passed into the base constructor in order to preserve the interface contract.

Actually, alternatively, we can say the opts on the base constructor for Riot.Element is optional, so it's not breaking. But, I feel like it's better to be there.

thanks for the PR, I am going to have a look at it.
The only thing I am not sure is: what happens if you call riot methods during the constructor? E.g.:
constructor(opts) {
   this.on("something", ()=>console.log("here"));
}

perhaps we should have a breaking change and disallow the constructor....

Yea.. the timer example, e.g.
constructor (opts) {
  setInterval(() => {
    this.i++;
    this.update();
  }, 1000);
}

is probably broken by doing it this way. But I think the constructor is still useful for setting up properties from opts, which can be copied over to the tag instance. But, I think wiring up timers like this should probably be done from the mounted() callback, and then there's no issue.
Of course, feel free to find an alternative solution. This was just a suggestion 👍

Ok, there are some good news: I investigated a bit searching among the past issues in the Riot repo (https://github.com/riot/riot/issues/1155, https://github.com/riot/riot/issues/771 and https://github.com/riot/riot/issues/1451), and it seems that the new Riot (3.0) will just have the feature we are looking for see: https://github.com/riot/riot/pull/1921.
So when it will be released, I'll make the necessary changes to RiotTS too (which also needs a refreshing).

+1, waiting for it :)

This isn't a good solution, I'll wait for riot3+riot-ts


Redis.Cluster can't mocked by Jest

Hello,
I struggle with an issue in my unit tests (where Jest mock the ioredis classes) with the latest v4.24.3 version.
In the previous versions the following unit tests pass:
jest.mock("ioredis");

const Redis = require("ioredis");

describe("Test Redis", () => {
	it("create Redis instance", () => {
		const client = new Redis();
		expect(client).toBeInstanceOf(Redis);
		expect(Redis).toBeCalledTimes(1);
	});

	it("create Redis Cluster instance", () => {
		const client = new Redis.Cluster();
		expect(client).toBeInstanceOf(Redis.Cluster);
		expect(Redis.Cluster).toBeCalledTimes(1);
	});
});

Result

But with v4.24.3 I've got errors for the same tests:

Do you have any idea what is the problem and how can I fix it? Thanks in advance.

Hi @icebob, what was the ioredis version in the first screenshot?

v4.24.2, the previous version.

In the meantime, I'm trying debugging the issue and I think the problem comes from this changes: https://github.com/luin/ioredis/commit/bf3fe29ec78df184b359ee29468dbb058e886e59#diff-d5a4b3a0309f2337144861084c1014523cced561eb722cb9684c63f5e41e0567
Because in the compiled JS the Cluster changed to a getter and it seems Jest can't traverse the getters.

It was quick, thanks @luin, I really appreciate it. Now it works fine.

I have the same problem with the Redis constructor

I have the same problem with the Redis constructor in the new version


Fixed guest.html

Correction syntaxe html5.

The <p> tags are correct, but the other changes are HTML4, and HTML5 style rejects them.

Where is the tag  and  ?
The problem  is incorrect.  is correct.
Tag  is better.

Fixed in 41e2eaa9


rename OSZICAR to electronic_minimization

calc.electronic_minimizion.is_converged()

https://github.com/vasp-dev/py4vasp/pull/172


Make freed object different than null in comparison operators

This is so everything is consistent, in particular with booleanization of objects. Now freed objects are considered a truthy value to agree with the fact they are different than null.
Also makes freed objects different from each other (if they are not the same reference).
Fix #59816

I have a question:
    var a = Node.new()
    free(a)
    var b = Node.new()
    free(b)
    assert(a != b) # Is this guaranteed to succeed even if 'b' happened to take the same address as 'a'?

I have a question:
    var a = Node.new()
    free(a)
    var b = Node.new()
    free(b)
    assert(a != b) # Is this guaranteed to succeed even if 'b' happened to take the same address as 'a'?

It uses the ObjectID for comparison. Even if the address is the same, the ID should be different.

I'm still not sure if a freed Object should be truthy, given the following:
var a = Node.new()
a.free()

if a:
	# Do something with a

This would generate errors since a is not a valid object. The proper way to handle would be:
if is_instance_valid(a):
	# ...

Which is not as intuitive and require extra bookkeeping.
So maybe the best option is to make if a treat it as false if freed but a == null would also return false.

Would one reason for a freed object not being falsy that on release you don't want the VM to be checking validity all the time, and therefore users are expected to use is_instance_valid() or, better, set their freed object vars to null after destruction?
Many other areas of Godot perform validity tests only on debug, to let the user warn something is not right, with the hope that they will fix it so release builds don't crash.

Would one reason for a freed object not being falsy that on release you don't want the VM to be checking validity all the time, and therefore users are expected to use is_instance_valid() or, better, set their freed object vars to null after destruction?

is_instance_valid() is doing the check anyway so moving this down won't make much of a difference since this is only important in the context of if obj anyway. Setting to null won't help in most cases where this happens because usually it is freed somewhere else (my example was just for context).

Many other areas of Godot perform validity tests only on debug, to let the user warn something is not right, with the hope that they will fix it so release builds don't crash.

That is more of an argument to having a freed object equivalent false. If the user writes if obj: then it is better if obj is valid when the block runs because those checks won't happen in release.
The main question is: do we want users to shoot themselves in their feet so they can learn proper memory handling or should we help them with an easier construct? IMO forcing the user to use is_instance_valid() sounds more annoying than just "hiding" it under the regular if check. If they want explicitness they can still use if obj == null.

With regards to https://github.com/godotengine/godot/pull/73896#issuecomment-1621792458:
I tend to agree with the sentiment that obj == null should evaluate to false instead of obj evaluating to true.

Updated the PR to consider a freed object to be falsy, so if freed_object: does not run the block and not freed_object returns true. I believe this is more intuitive way of handling this, acting as a shortcut for is_instance_valid() instead of forcing using the function everywhere.

Yeah, this way you can also clearly distinguish between "this value was never set/was explicitly nulled" and "this value has been destroyed". I found this PR because I was considering an architecture for special abilities that might very well be interested in knowing whether a given object reference was ever assigned in the first place.

Thanks!
Reduz mentioned that this may make things slower now, but he didn't lean one way or another. So I'm fully trusting George and Pedro with this.

If I may, I feel like deleted objects being not equal to null is, at the very least, a major breaking change. It also does not make sense to me to ever need to distinguish between a deleted object and null, since both mean that there is no more value there. Null means an absence of value, a deleted object is has become absent. If such distinction is really needed, I think it should be a separate function like is_object_deleted or something of that sort, instead of making it not equal to null which will probably subtly break a lot of people's projects in addition to being NOT how other engines do it (e.g. unity, where a deleted object is in fact equal to null).

since both mean that there is no more value there.

They do not though, null means it's explicitly empty, this is true in other languages as well, please see the linked issue for the reasoning for this change, it's been extensively discussed, and been in the works for a long time in which objections could have been raised 🙂

After discussing with the GDScript and Core teams, we decided to revert this for now as there are still some aspects where we're not 100% sure what's the best behavior. We'll revisit this for a future release with more caution on how to avoid breaking user expectations and use cases, while fixing the inconsistency in the handling of freed objects.


Connection Documentation

I love this, been looking for an OLAP browser for a while. I'd love to help contribute. We build cubes internally and have always wanted a web-based browser for them. The documentation doesn't cover how the connection works. Can you shed some light on that? We have a SSAS running. Also, how does the MDX get generated or does work differently?

Great, I'll send you an email directly and we can get started! :)

George,
That's great, I'm glad you're willing to contribute, I already have some tasks for you ☺.
First, let me explain the current state of the affairs.

     I work at the University in Zagreb, CS department of Faculty of el.engineering and computing and teach BI and some other stuff

     However, I have developed jqOlapCube for commercial (state) project, but I’ve required, at least for that part of the project, that the jqOlapCube be FLOSS, and it is, and that’s great

     I’ve released it as jqCube, only to realize later that that name is not unique and have decided to rebrand it as jqOlapCube

     A student of mine did his master thesis and I’ve employed him to add visualizations using D3 (it actually analyses the dataset retrieved and suggests appropriate chart types)

     So, now a half-polished version (I believe that student’s code has a few esthetic glitches) is deployed at github

And then, of course, I had to do other things and would love if someone would help.
What remains to be done it so:
·         Check it once again, maybe polish out some things, make it prettier (you’ll notice that e.g. chart icons are a bit ugly)
·         Finish the docs (wiki) – good news is that I have a basic docs in pdf (see attachment)
·         Advertise it! Most notably, we should register the plugin at jQuery’s page!
Would you be willing to do some of these things?
Best,
Igor Mekterović
BTW, you can checkout the previous version (without charts) on this link: http://kent.zpr.fer.hr/igordev/olapservice/index.html
(please don’t spread it around, the server is a bit sluggish)
Yes, this is MSAS running in the background with the good old AdventureWorks DB.
MDX gets generated in the client (browser), you can see the actual MDX going “over the wire” if you start dev tools and monitor ajax network requests, you can do that on this link above as well.
Also, here is the demo student made: https://www.youtube.com/watch?v=3VRJ3tdQ1CQ   showing charts capability.
From: George Ortiz<EMAIL_ADDRESS>Sent: Friday, September 18, 2015 11:29 PM
To: mekterovic/jqOlapCube<EMAIL_ADDRESS>Subject: [jqOlapCube] Connection Documentation (#1)
I love this, been looking for an OLAP browser for a while. I'd love to help contribute. We build cubes internally and have always wanted a web-based browser for them. The documentation doesn't cover how the connection works. Can you shed some light on that? We have a SSAS running. Also, how does the MDX get generated or does work differently?
—
Reply to this email directly or view it on GitHubhttps://github.com/mekterovic/jqOlapCube/issues/1.

Hi George, that's great news, can you please send me you email to<EMAIL_ADDRESS>and I'll bring you up to speed.

Oh, and I've updated the wiki...


correct three spelling errors in install_raspberry.sh

my 1st try to contribute.
Just some spelling corrected...

Thank you 👍🏼


Update Go version to 1.18

Description:
Update Go version to 1.18.
We need to check about changes from 1.17 to 1.18 and reflect the changes on the Yorkie.
https://tip.golang.org/doc/go1.18
Tasks

[ ] https://github.com/yorkie-team/yorkie/issues/234
[ ] ...

Why:

We can reflect on the latest Go improvements and keep an up-to-date code.

We can use generics while updating to 1.18.
I think the list below would be good if generics were applied.

cache.go
splay.go
llrb.go
rga_tree_split

@dc7303 Thanks for your comments. I added the tasks in the first comment.


Optimize assets and decrease bundle/payload size

Optimize assets (js, css, html, img, etc.) to decrease bundle and payload sizes for a better and more performant user experience.  Track this before and after to watch changes.
Google webmaster tools suggests:

[x] Make styles.css load non-blocking - I'm not sure I want to inline this yet.
[x] Specify cache expiration for: .woff, .svg, .json https://github.com/numenta/numenta-web/issues/41#issuecomment-248085118
[x] Enable gzip/defaulte compression for: .svg https://github.com/numenta/numenta-web/issues/41#issuecomment-248085118

Other ideas:

More minification
Audit what webpack is bundling
More image compression and optimization
Gatsby 1.0 should have some code- and bundle-splitting (maybe Blog gets it's own bundle?)

@TODO Much more to come.
original: https://jira.numenta.com/browse/WEB-234
cc @jsfowles

starting
cc @jsfowles

https://github.com/NumentaCorp/numenta.com/commit/f65f66c57ac3aa64edd37985c4b699daf573f1fe

this is all done, besides a titch of .jpg compression


Change to OrdinaryDiffEqCore

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.03%. Comparing base (e9de366) to head (3f0fe78).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
- Coverage   98.24%   98.03%   -0.21%
==========================================
  Files           7        7
  Lines        1538     1528      -10
==========================================
- Hits         1511     1498      -13
- Misses         27       30       +3

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

@SKopecz If we switch to the reduced dependency OrdinaryDiffEqCore.jl, we will have to drop supporting Julia 1.9 here...

I'm not sure how important Julia 1.9 support is. I'd leave this up to you.

I would be fine dropping support for Julia 1.9. Let's first finish https://github.com/SKopecz/PositiveIntegrators.jl/pull/108, make a new release of PositiveIntegrators.jl, and then drop support for Julia 1.9 together with this PR.

Let's do the breaking change of #112 together with dropping support for Julia 1.9


[Feature Request] Select multiple custom css per tag

Existing Component
Yes
Component Name
Select
Description
It would be great to attribute specific classes to each tag in a select with multiple choices.
Today it is possible to customize the options (https://element.eleme.cn/#/en-US/component/select#custom-template) but not the selected elements.

+1


Webpack is not able to load styles from antd after proper configuration

Bug report

What is the current behavior?
antd styles do not load
If the current behavior is a bug, please provide the steps to reproduce.
This is the webpack.config.js inside my .storybook folder inside CRA project-
const path = require("path");

module.exports = {
    module: {
        rules: [
            {
                loader: 'babel-loader',
                exclude: /node_modules/,
                test: /\.js$/,
                options: {
                    presets: ["@babel/react"],
                    plugins: [
                        ['import', {libraryName: "antd", style: "less"}]
                    ]
                },
            },
            {
                test: /\.less$/,
                loaders: [
                    "style-loader",
                    "css-loader",
                    {
                        loader: "less-loader",

                        options: {
                            javascriptEnabled: true
                        }
                    }
                ],
                include: path.resolve(__dirname, "./")
            }
        ]
    }
};

What is the expected behavior?
Expected behavior is that styles should load from antd. However this is not the case and plain html elements show up

Other relevant information:
webpack version:  >3
Node.js version: any
Operating System: any
Additional tools: Babel, react, less loader

Seem to be related to the import babel plugin?
I don't see how webpack can help here?

Okay thanks !


Create delete-empty.sh

Delete empty files in a directory (Having filesize 0 bytes).

{PR Description goes here}

I have checked the following requirements before making this PR.

[x] The script is marked as executable (chmod +x).
[x] I have added/updated the README entry for the script (if applicable).
[x] I have mentioned any outstanding dependencies and OS requirements for the script in the README.

Hi @VrajGohil, thanks for your contribution. What would be the use case for this if I may ask?
Also, please add the script in the README as well.

It can be used to delete the empty files with can be created temporarily for programs.

Thank you, add it in the readme as well.

Done!

closed as duplicate of #27


V0.10.x

Pull Request Test Coverage Report for Build 1756

42 of 59 (71.19%)  changed or added relevant lines in 9 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.4%) to 43.835%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cache/redis/redis.go
6
8
75.0%

cmd/tegola/cmd/server.go
0
3
0.0%

config/errors.go
0
3
0.0%

config/config.go
1
5
20.0%

cmd/tegola/cmd/root.go
0
5
0.0%

Files with Coverage Reduction
New Missed Lines
%

provider/gpkg/binary_header.go
2
98.29%

Totals

Change from base Build 1637:
-1.4%

Covered Lines:
5162

Relevant Lines:
11776

💛  - Coveralls


R119 doc updates

Documentation updated to cover some recent changes in compilation: parameters, versions, etc

Build triggered. sha1 is merged.

Refer to this link for build results (access rights to CI server needed):
/job/libnd4j_PR/184/

Build finished. No test results found.


Text overlay on certain slides

Is it possible to add the text overlay on certain slides?

I'm closing this issue, you can re-open it if you still need help.


mouse scroll should be changed

Hi Etienne,
the mouse wheel should change tabs instead of vault files.
This would help to navigate better in the selected vault file.
Yours,
Teodias

Could be ab option, but mouse wheel going through the options of a dropdown is a standard form functionality.


Update aws-java-sdk-core to 1.12.475

About this PR
📦 Updates com.amazonaws:aws-java-sdk-core from 1.12.464 to 1.12.475
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #521.


There are so many combinations that the libstdc++ library can be buil…

…t that the performance
you get from std::chrono::system_clock and stxad::chrono::steady_clock has a dramatic performance difference.
On RHEL7/Centos with an witout this patch is 18ns vs 550ns.
@vekterli and @toregge @havardpe PR
Any other suggestions ?

To be honest, I am entirely sure. But I assume that library load order matters here.
I think @toregge might provide the gory details.


Updated Dependency-Injection to RC1

Responded to feedback. Fixes #725

:shipit: @shirhatti @rachelappel

Merged in 776d2b96031ee99eeb087e68e2dff3e6e292bbb3


Update chef gem to fix version conflict in ChefDK

This is an update to the readme with instructions on how to fix the version conflict problem with ChefDK 0.4.0 locking chef-zero to 3.2.1 which conflicts with the requirement for version ~4.0 of the gem

Sorry for the late merge.  post-ChefConf craziness.


Fixed composer.json 'authors' field

Detail: https://getcomposer.org/doc/04-schema.md#authors

Thanks!!


Rust analyzer fails to understand tuple destructured using index

I've found a weird pattern that was used in our code base where an enum gets matched using the "index notation" (I don't know how to call this...)
RLS understands that syntax but ra fails. I've created a minimal example to showcase this:
enum E {
    A(u8),
    B,
    C(u16),
}

fn check(e: E) {
    match e {
        // rust-analyzer fails here
        E::A { 0: 1 } => println!("E::A(1)"),
        // rust-analyzer fails here
        E::A { 0: 2 } => println!("E::A(2)"),
        E::A(3) => println!("E::A(3)"),
        E::A(i) => println!("E::A(i={})", i),
        E::B => println!("B"),
        E::C(4) => println!("E::C(4"),
        // rust-analyzer fails here
        E::C { 0: j } => println!("E::C(j={})", j),
    }
}

fn main() {
    check(E::A(1));
    check(E::A(2));
    check(E::A(3));
    check(E::A(4));
    check(E::B);
    check(E::C(4));
    check(E::C(5));
}

https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b627cf4d95693b560735cbfea4f461fd
I am using rust-analyzer d505ee968b2a99eed65dfe7be27940ad9b2647c1.

@matklad I want to take a crack at this but am a little unfamiliar with the parsing/syntax part of the code. Can you give some pointers?

All the parsing code lives in ra_parser/src/grammar, which has a hierarchical strcuture which correponds to the structure of the Rust langauage itself. In particular, parsing of record patterns is handled by record_field_pat in patterns.rs.
The easiest way to test this during dev is to modify and run parse_smoke_test. For real tests, it's best to dump the example to ra_syntax/test_data/parser/ok, or to use an inline test in a comment

I've updated ra to 7d6c3de890744a143ab2086a79f21fe4ff06008a and it now works. Great job! And thanks a lot!


Allow ssh access to mac from out with the office

Currently the macOS slave can only be accessed via ssh from within the office. That limits the ability to troubleshoot or monitor from home, e.g. out of hours.

Now done. No PR associated with this as all work was on the router and on the mac itself - moving straight to closed


Tutorial: Deuteron binding energy

Summary
A tutorial about how to use Qiskit Nature tools to tackle the specific problem of deuteron binding energy.
Details and comments
This PR is linked with the Issue #559, in this Issue was proposed the idea of add a new tutorial in Qiskit Nature based on https://github.com/jvscursulim/Qiskit-Tutorials/blob/main/11_deuteron_binding_energy.ipynb .

I think maybe the best course of action here is to close this PR off and open a new one. In your local fork make sure you update main branch, then create a local branch by whatever name you like and put the tutorial in docs\tutorials folder on the branch with the others. Then commit that change and do a PR from there and it should end up with only the one notebook file you want to add here.

Thanks Steve. I'll recreate the PR using my local branch.

Following the recommendations of @woodsp-ibm, I'm closing this PR, once in the process of the creation of this one, I didn't follow the steps pointed in the previous messages. To solve this problem I created the new PR (#580), following the instructions.


Dedicated Node 1967 with GPU: is not showing  GPU availability and specs.

The dedicated Node 1967 is not showing the same GPU results across the old dashboard and new.

Fixed on Ninja Domain.
https://dashboard.bknd1.ninja.tf/#/


Revert "Add '(approximate)' to the beginning of quick info requests in PartialSemantic mode"

Reverts microsoft/TypeScript#40061 since there were some concerns over whether the editor should do this instead.

@typescript-bot cherry-pick this to release-4.0


Cannot read property 'outputOptions' of undefined

Version
2.4.3
Reproduction link
https://codesandbox.io/s/30k541yq35
Steps to reproduce

Create new<EMAIL_ADDRESS>Add SCSS support npm install --save-dev node-sass sass-loader bootstrap bootstrap-vue
Add .scssfiles inassets/scss/`
Set extractCSS and parallel to true in the build property of nuxt.config.js
Add ~assets/scss/app.scss in css array, for example, in nuxt.config.js

What is expected ?
To work as expected.
What is actually happening?
Error in console:
ERROR  in ./assets/scss/app.scss                    friendly-errors 19:20:49
Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 9)
Cannot read property 'outputOptions' of undefined
at Object.pitch (/sandbox/node_modules/extract-css-chunks-webpack-plugin/dist/loader.js:67:98)
                                                 friendly-errors 19:20:49

@ ./.nuxt/App.js 3:0-33
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi eventsource-polyfill webpack-hot-middleware/client?reload=true&timeout=30000&ansiColors=&overlayStyles=&name=modern&path=/__webpack_hmr/modern ./.nuxt/client.js}
And set parallel to false, CSS file didn't loaded.

This bug report is available on Nuxt community (#c8616)

This might not be the fault of Nuxt, but rather extract-css-chunks-webpack-plugin itself:
I set a halting trap right over the publicPath variable:
if (typeof query.publicPath !== 'string') {
     console.log({ this: this, query })
     while(1);
}

(Nope, debugger won't work in this case)
And got this when query.publicPath is nowhere to be seen:
{ this:
   { version: 2,
     resolve: [Function: resolve],
     emitWarning: [Function: emitWarning],
     emitError: [Function: emitError],
     exec: [Function: exec],
     options: { context: '/mnt/Projects/nuxt/hw' },
     webpack: true,
     'thread-loader': true,
     sourceMap: false,
     target: 'web',
     minimize: undefined,
     resourceQuery: '?vue&type=style&index=0&lang=css&',
     context: '/mnt/Projects/nuxt/hw/.nuxt/components',
     loaderIndex: 0,
     loaders: [ [Object], [Object], [Object], [Object], [Object] ],
     resourcePath: '/mnt/Projects/nuxt/hw/.nuxt/components/nuxt-loading.vue',
     async: [Function: async],
     callback: [Function],
     cacheable: [Function: cacheable],
     addDependency: [Function: addDependency],
     dependency: [Function: addDependency],
     addContextDependency: [Function: addContextDependency],
     getDependencies: [Function: getDependencies],
     getContextDependencies: [Function: getContextDependencies],
     clearDependencies: [Function: clearDependencies],
     resource: [Getter/Setter],
     request: [Getter],
     remainingRequest: [Getter],
     currentRequest: [Getter],
     previousRequest: [Getter],
     query: [Getter],
     data: [Getter] },
  query: {} }
{ this:
   { version: 2,
     resolve: [Function: resolve],
     emitWarning: [Function: emitWarning],
     emitError: [Function: emitError],
     exec: [Function: exec],
     options: { context: '/mnt/Projects/nuxt/hw' },
     webpack: true,
     'thread-loader': true,
     sourceMap: false,
     target: 'web',
     minimize: undefined,
     resourceQuery: '?vue&type=style&index=0&lang=css&',
     context: '/mnt/Projects/nuxt/hw/.nuxt/components',
     loaderIndex: 0,
     loaders: [ [Object], [Object], [Object], [Object], [Object] ],
     resourcePath: '/mnt/Projects/nuxt/hw/.nuxt/components/nuxt-error.vue',
     async: [Function: async],
     callback: [Function],
     cacheable: [Function: cacheable],
     addDependency: [Function: addDependency],
     dependency: [Function: addDependency],
     addContextDependency: [Function: addContextDependency],
     getDependencies: [Function: getDependencies],
     getContextDependencies: [Function: getContextDependencies],

Then obviously typeof query.publicPath is going to be undefined


add import order config file for Eclipse

This is only for Eclipse right? Would you put Eclipse in the filename?

Changed the file name.

Hmm now it looks like this is only the import order when you use Eclipse...

So?  This file can only be imported into Eclipse, so this file only applies to Eclipse.  Idk if Idea has a way to export and import the import order.  Maybe it's part of the formatter config in Idea.

We have a separate file for IntelliJ

I don't understand the point you're trying to make, sorry.  What do you want the file name to be?

What about naming the file maluuba.eclipse.importorder?
maluuba for the group that uses the file
.eclipse because the file is for Eclipse
.importorder at the end because that's what Eclipse does.


Misspelled command in documentation

You used the following misspelling:  Retart-AzVmss
Under the section "restart vms in a scale set"

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

ID: 3b02d586-9864-02f3-1edc-0d6d9d48d4d8
Version Independent ID: 11a05cbf-e85a-2347-7002-7c67b05af032
Content: Manage Virtual Machine Scale Sets with Azure PowerShell
Content Source: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-manage-powershell.md
Service: virtual-machine-scale-sets
GitHub Login: @cynthn
Microsoft Alias: cynthn

@mihammer Oops! Thanks for catching that! Should be fixed in a build later today. Thank you!
#please-close


Need adjustable button size

Hi,
If you let the consumers to override the button size, it would be very much helpful to them. Currently I want to make it even more smaller than 40dp. But I couldn't able to :(

This library will adhere to material design specification, which defines only two FAB sizes, so I don't plan to add fully customized FAB size.


Run server on separate ws server

Is there a way to server the react code from one web server and the websockets from another?  I am using nginx to split functions between different back end services.
For instance in a rest api scenario I would configure the /api path in nginx to go to a different upstream that handles just rest calls vs the root path which delivers the react application.

That’s completely possible. As long as you set up your services correctly, it should work. That is, use one service to host the application and one service with React Agent.


S3 direct upload from EKS

Summary
When running in a container from EKS and using service accounts, AWS services are not accessed with a static key/secret pair, but with temporary credentials received from STS. (keyId, secret, sessionToken)
https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role-with-web-identity.html
Describe the solution you'd like
The following files will need to be updated to add x-amz-security-token to the policy document and the upload's form data:
src/Http/ViewComposers/MediasUploaderConfig.php
frontend/js/components/media-library/Uploader.vue
Additional context
Working on a branch with the changes

Hi @kizmanj, we're aware of this use case. For example, since this PR has been merged, it has been possible to use IAM roles on EC2 instances instead of access key pairs. It implies that you use the local endpoint type of the media library and specify a remote disk under twill.media_library.disk. That way the Twill uploader doesn't attempt to direct upload to S3, it uploads to your application first, which can be authorized to communicate with S3 to actually store the file. Maybe you've tried that and it didn't work?
Happy to review a PR improving compatibility for sure!


Feature - Set Overlay Position Manually

Changelog

Set Overlay position manually initially and after draw operation (27cd1d9cf7d450ef699bd0515e2cc537dab715fc)
Real Pixel Position v DataPoint position setter methods (d3f41d0c671515f3b68ec03c1002eb8c8a0ba3ff)
Add all the available attributes for LiveChartView in docs (4196465dbc5604c39d605802f0b4cab472112283)

Closes #39


Start Using SAP HANA 2.0, express edition (Virtual Machine Method)

Hi,
could you please give me an advice how I can get the cockpit-admin-web app? I downloaded the Hana Express Edition VM (server + application) but the  cockpit-admin-web app is not available. Or is there another way to set the proxy settings for XSA?
Thanks.
BR,
Jürgen

Hello Jurgen:  Is cockpit-admin-web-app showing 'started' as documented in Start Using SAP HANA 2.0, express edition (Virtual Machine Method)?
_8.Go back to your VM. Check that the application cockpit-admin-web-app shows STARTED in the list of XSA applications and has 1/1 instances.
Make a note of the URL for cockpit-admin-web-app._

Tip: The command xs apps | grep cockpit-admin-web-app returns the cockpit-admin-web-app row only.

If it is not started, did you follow the Troubleshooting procedure SAP HANA XS Applications Run Error?
Did you try stopping and restarting the DB?
Enter:
    HDB stop && HDB start

Note: After restarting, allow sufficient time for all services to start running before proceeding.

Hope this helps,
John C.


Named configurations as an option to cluster constructors

Would there be interest in having named configuration sets for the different constructors in addition to the pbs and slurm (and other) default configuration sets?
Use Case
There are several use cases. The first is clusters that share filesystems between different scheduling systems (Cori and Edison on NERSC). The second would be supporting multiple queues (high_mem, debug, burst, scavenger, etc). This would allow you to have different configuration sets for different job types.
Implementation
Currently when issuing a PBSCluster() call, the configuration is drawn from the
jobqueue.pbscluster dictionary inside yaml. The proposed implementation would leave that alone, but would add a optional keyword scheduler_name.
The user could then call
cluster = PBSCluster(scheduler_name='high_mem')

to access the portion of the yaml file given by the high_mem option
jobqueue:
    high_mem:
        cores: 64
        memory: 128GB
        processes: 4
        queue: debug
        walltime: '00:10:00'
        job-extra: ['-C haswell', '-L project, SCRATCH, cscratch1']
    pbs:
        cores: 64
        memory: 128GB
        processes: 4
        queue: debug
        walltime: '00:10:00'
        job-extra: ['-C haswell', '-L project, SCRATCH, cscratch1']

The keyword would default to the original pbs(or slurm, etc).
The implementation is pretty straightforward, just have each of the cluster initiation objects set self.scheduler_name to optional parameter scheduler name. Then change each of the dask.config.get calls to use scheduler_name instead of their hardcoded values.
If everyone is okay with this I can submit a PR next week with the implementation for comment.

In general I can see value behind this idea.  Presumably we would define classes like the following:
class PBSCluster:
    def __init__(..., name='pbs'):
        cores = cores or dask.config.get('jobqueue.%s.cores' % name

I'm curious to hear @jhamman 's thoughts.  I suspect that he has run into similar issues before

I like this idea. I would use it in a similar fashion as how @josephhardinee suggested. Currently, I've been overriding the default values in my class instantiation.

@josephhardinee do you think you will have time/interest on getting this done? Would you prefer someone else to implement this?

Closing thanks to #204. Thanks again.


fix: xds dynamic config issue

Issues associated with this PR
修复挂掉的 xds 配置转换逻辑，增加单元测试
Sign the CLA
Make sure you has singed the CLA
done
Solutions
N/A
UT result
done
Benchmark
N/A
Code Style

Make sure Goimports has run
Show Golint result

@nejisama 重新改了下，再看看


Make cert-manager an OLM dependency of KMM

Installing KMM and KMM-Hub will now pull cert-manager as a dependency.
/cc @ybettan @yevgeny-shnaidman

Codecov Report
Patch and project coverage have no change.

Comparison is base (883255a) 82.87% compared to head (b035b34) 82.87%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #432   +/-   ##
=======================================
  Coverage   82.87%   82.87%
=======================================
  Files          33       33
  Lines        3316     3316
=======================================
  Hits         2748     2748
  Misses        465      465
  Partials      103      103

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/lgtm


Update pod with NodePort publicEndpoint

Closing in favor of https://github.com/rancher/rancher/pull/11344


Card objects currently return both brand and type?

I guess this is, more generally, to start a discussion about backwards-compatibility vs. adherence to the Stripe API, but this issue I think is a good starting point.
Mocked card objects currently return both brand and the (defunct) type properties, so as to not break implementations relying on type.
Personally, I think when Stripe introduce a breaking change to their API, so should we, lest users write tests that pass with stripe-ruby-mock, but fail at the worst time when they update their live Stripe API version. Does everyone agree (especially @mindeavor)?

I actually implemented this back when Stripe changed their API. Looking back, I feel it would've been better to have 'stripe-ruby-mock' also break old implementations. Otherwise, like you mentioned, the change wouldn't be noticed until put to real use.

StripeMock should definitely keep up with the latest Stripe API version. If
StripeMock is up to date, it will help other developers upgrade their apps
to Stripe's latest API as well.
Every time we introduce a breaking change, we can reserve a branch for that
API version. I think this might be enough for those lagging behind in
versions. But that's just my guess.
On Saturday, January 24, 2015, Stuart Olivera<EMAIL_ADDRESS>wrote:

I actually implemented this back when Stripe changed their API. Looking
back, I feel it would've been better to have 'stripe-ruby-mock' also break
old implementations. Otherwise, like you mentioned, the change wouldn't be
noticed until put to real use.
—
Reply to this email directly or view it on GitHub
https://github.com/rebelidealist/stripe-ruby-mock/issues/168#issuecomment-71248648
.

Yeah I like that idea, keeping changes that apply to newer versions in different branches. (Maybe you want to set a target API version for a 2.0 release too?)
In bringing StripeMock up to speed (what little of it is left at this point) with its "base" version (2014-06-17), I assume we're cool introducing breaking changes to master as long as it matches the expected behaviour of 2014-06-17?

Yes on all accounts. Breaking changes can go in a api-yyyy-mm-dd
name formatted branch.
What did you mean by "set a target API version for a 2.0 release" ?
On Wednesday, January 28, 2015, Edd Morgan<EMAIL_ADDRESS>wrote:

Yeah I like that idea, keeping changes that apply to newer versions in
different branches. (Maybe you want to set a target API version for a 2.0
release too?)
In bringing StripeMock up to speed (what little of it is left at this
point) with its "base" version (2014-06-17), I assume we're cool
introducing breaking changes to master as long as it matches the expected
behaviour of 2014-06-17?
—
Reply to this email directly or view it on GitHub
https://github.com/rebelidealist/stripe-ruby-mock/issues/168#issuecomment-71856072
.

(back from my trip!) To be clear, what I meant was, anytime there is a breaking change, we create a new api-yyyy-mm-dd branch based on master. This new branch will be stable for that API version for those who need more time to update their code.
In other words, master will aim to always have the latest Stripe API behavior.

Sorry, totally forgot about this thread here.
Yeah I was suggesting something similar but that actually sounds even better and cleaner


possible issue with wxpython April24 update?

[windows 10 ] OS
[ 3.8.2] Python Version
[1.0.3 ] Gooey Version
[ It seems i have a bug in code that was working until recently.  The error happens upon launch.  Code runs perfectly without the @Gooey decorator] Thorough description of problem

[ launch gui for my argparse app] Expected Behavior
[ stacktrace] Actual Behavior

[see below for error ] A minimal code example -- preferably copy/pastable in the issue itself (less time figuring out how to run your code == more time debugging!)
[n/a - gui doesnt launch ] Screenshot (if visual quirk)
[ I think this is related to yesterdays wxpython 4.1.0 update...] Anything else you may think will be helpful

$ python cucm-exporter.py
status: starting 2020-04-25 08:41:26.255955
Traceback (most recent call last):
 File "cucm-exporter.py", line 287, in <module>
   main()
 File "C:\Users\bradh\Documents\code\cucm-exporter\.venv\lib\site-packages\gooey\python_bindings\gooey_decorator.py", line 87, in inner2
   return payload(*args, **kwargs)
 File "cucm-exporter.py", line 214, in main
   cli_args = parser.parse_args()
 File "C:\Users\bradh\Documents\code\cucm-exporter\.venv\lib\site-packages\gooey\python_bindings\gooey_parser.py", line 114, in parse_args
   return self.parser.parse_args(args, namespace)
 File "C:\Users\bradh\Documents\code\cucm-exporter\.venv\lib\site-packages\gooey\python_bindings\gooey_decorator.py", line 82, in run_gooey
   application.run(build_spec)
 File "C:\Users\bradh\Documents\code\cucm-exporter\.venv\lib\site-packages\gooey\gui\application.py", line 21, in run
   app = build_app(build_spec)
 File "C:\Users\bradh\Documents\code\cucm-exporter\.venv\lib\site-packages\gooey\gui\application.py", line 30, in build_app
   gapp = GooeyApplication(merge(build_spec, imagesPaths))
 File "C:\Users\bradh\Documents\code\cucm-exporter\.venv\lib\site-packages\gooey\gui\containers\application.py", line 42, in __init__
   self.header = FrameHeader(self, buildSpec)
 File "C:\Users\bradh\Documents\code\cucm-exporter\.venv\lib\site-packages\gooey\gui\components\header.py", line 33, in __init__
   self.layoutComponent()
 File "C:\Users\bradh\Documents\code\cucm-exporter\.venv\lib\site-packages\gooey\gui\components\header.py", line 75, in layoutComponent
   sizer.Add(headings_sizer, 1,
wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_CENTRE_HORIZONTAL)" failed at ..\..\src\common\sizer.cpp(2106) in wxBoxSizer::DoInsert(): Horizontal alignment flags are ignored in horizontal sizers

pip libraries
$ pip list
Package           Version
----------------- ----------
appdirs           1.4.3
attrs             19.3.0
autopep8          1.5.2
cached-property   1.5.1
certifi           2<IP_ADDRESS>
chardet           3.0.4
ciscoaxl          0.156
ciscoris          0.0.5
colored           1.4.2
defusedxml        0.6.0
Gooey             1.0.3
idna              2.8
isodate           0.6.0
lxml              4.5.0
numpy             1.18.3
Pillow            7.1.1
pip               20.0.2
psutil            5.7.0
pycodestyle       2.5.0
pytz              2019.3
requests          2.22.0
requests-toolbelt 0.9.1
setuptools        41.2.0
six               1.12.0
urllib3           1.23
wxPython          4.1.0
zeep              3.4.0

Thanks! ^_^

Same issue here, under the same conditions. I managed to get Gooey running by downgrading wxPython to 4.0.7
pip install wxPython==4.0.7

Yes.    I did the same with success.    Pinned WxPython at the older 4.0.7 revision. I only noticed it because my github actions was building from scratch and my local dev environment had the older WxPython still.    Once I put two and two together I realized what was going on.

On Apr 25, 2020 at 5:18 PM,  <Bernat (mailto:notifications@github.com)>  wrote:
Same issue here, under the same conditions. I managed to get Gooey running by downgrading wxPython to 4.0.7
pip install wxPython==4.0.7
—
You are receiving this because you authored the thread.
Reply to this email directly,   view it on GitHub (https://github.com/chriskiehl/Gooey/issues/549#issuecomment-619441977), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/AENAVRU244IIB4V3TPKAHULRONHR7ANCNFSM4MQXN5JQ).

Thanks for pointing this out!
A minor version bump that silently breaks backwards compatibility is just, like, peak modern software. >:(
I'm the dummy here for relaxing the deps in setup.py which allows these sorts of things to happen. Lesson learned! Apologies for the instability.
I cut a quick release that downgrades wxpython to 4.0.7. I'm still looking into whether or not removing the sizer options Wx is suddenly complaining about causes any visual regressions on Gooey's side.
I'll also cut a ticket with the Wx project shortly. The release notes don't specifically mention any breaking changes, but I do see this issue from last year which has the general guidance of updating as the right path, so... we'll see if this is a blip in wx or something long term.

Wx issue here
On a more careful reading of the notes, it does mention removal of deprecations, but this seems unrelated to any warnings generated by WX for previous versions.  So, 🤷 we'll see what the WX folks say.


Gitkraken no shared packages

Steps To Reproduce
Steps to reproduce the behavior:

: nix-shell -p gitkraken
gitkraken

Build log
/usr/share/gitkraken/gitkraken: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory

Additional context
wsl 2 debian
Notify maintainers
@xnwdd @evanjs @arkivm

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
jk@jk:~/community-app$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/l1993ah8cpzz300p2dmpk7j5nmp4ahq3-nix-info
copying path '/nix/store/l1993ah8cpzz300p2dmpk7j5nmp4ahq3-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux <IP_ADDRESS>-microsoft-standard-WSL2, Ubuntu, 20.04.4 LTS (Focal Fossa), nobuild`
 - multi-user?: `no`
  - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - channels(jk): `"nixpkgs"`
 - nixpkgs: `/home/jk/.nix-defexpr/channels/nixpkgs`

Do you still see this?
gitkraken has been updated several times since you opened this report, though the /usr/share/gitkraken/gitkraken makes me think this might not have been running nix's gitkraken in the first place (I'd expect something like /nix/store/*-gitkraken-<version>/share/gitkraken/gitkraken if the error is using an absolute path).

Taking this as a "no" but happy to reopen if anyone objects.


Graphics issues with Quick Create

Hi, as you can see from the screenshot the display of the two selects is not perfectly aligned and pleasant. How can I solve this graphics problem??

Hi there, I have not come across this issue, (I have used the quick create quite a bit) so i can only offer ideas to check.
Being that it works in my use cases, i would suggest checking the javascript console,
i usually find select components etc fail when there is a javascript error, for example repeating a column name, or a failure in a script  you have in a view etc if you have any included views etc, so all i can suggest with the little bit of info you have provided is to double check for console errors, try one component at a time and systematically identify where it fails and present that information, please include a snippet of the code that you have used to intiialize the component and steps you've taken to test it then we can be on the same page and be better able to assist


Add Homebrew install instructions

Update readme with Homebrew install instructions. :tada:

cool, thank for your pr 👍


CSS

CSS
User Story
AS A client who wants to use the weather app
I WANT the app to have a clean polished interface
SO THAT it's easy to understand how to use and looks professional
Acceptance Criteria
GIVEN a weather app
WHEN I load the application
THEN I see a nice color scheme and a professional looking app
WHEN I hover over the previous cities
THEN I should be able to tell that I can click on them

Application now meets all of the acceptance criteria and is responsive to mobile devices as well.


DNS queries over TCP create a new socket per query, exhausting the available file descriptors

I noticed when performing many queries over TCP (ex: [:tcp, '<IP_ADDRESS>', 53]) that the ruby process would create a new TCP socket per-query. These TCP sockets would not be closed fast enough (ex; waiting in TIME_WAIT), and would eventually cause the process to hit it's maximum number of open file descriptors (ex: Errno::EADDRNOTAVAIL).
Steps To Reproduce

ruby test.rb
In another terminal run watch "netstat -n" to observe connections

Gemfile
source 'https://rubygems.org/'

gem 'async-dns'

test.rb
require 'bundler/setup'
require 'async/dns'

nameservers = [[:tcp, '<IP_ADDRESS>', 53]]
resolver = Async::DNS::Resolver.new(nameservers)
hostname = 'google.com'

Async do
  loop do
    begin
      addresses = resolver.addresses_for(hostname)
    rescue Async::DNS::ResolutionFailure
    end
  end
end

Note: if :tcp is changed to :udp, then only one socket is created and reused.

This gem doesn't use a pool, we should update it.

I was looking through the code and it appears that UDP "sockets" are reused, where as the TCP "sockets" are used to create a new Transport for each request.

I was looking through the code and it appears that UDP "sockets" are reused, where as the TCP "sockets" are used to create a new Transport for each request.
https://github.com/socketry/async-dns/blob/075264ba6bd69dac4738323b4dd083a825589e28/lib/async/dns/resolver.rb#L214-L230

I will sort this out but it won't be this month probably, I have a lot on my plate, but I'll clear some time to review this during February.


Rename mips1 to mips

In fact mips1 is now used for all mips revisions.

We don't apply pull requests to master; we apply them to develop and then, after the tests have passed, merge from there to master

@mclow you forget this pr before new release, which makes boost1.79 cannot build on mips.

And ia64, loongarch64 too: https://bugs.gentoo.org/843212
Perhaps cut a patch release for fixing this? I'm not entirely familiar with the "hotfix" procedure of Boost, so just do whatever needed. We'll carry patches downstream in the meantime so don't worry too much...

I note that the last comment in https://bugs.gentoo.org/843212 says that applying this doesn't fix the issue though.

I don't know if this is related but we also have build failures on buildroot on arc and m68k since boost 1.79.0 and https://github.com/boostorg/log/commit/3cbc2585c3b7ff5d884a6c337a99525b57fa184b:

cd /home/buildroot/autobuild/instance-0/output-1/build/boost-1.79.0 && PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ./b2 --no-cmake-config toolset=gcc threading=multi abi=sysv variant=debug -j4 -q --ignore-site-config --layout=system --user-config=/home/buildroot/autobuild/instance-0/output-1/build/boost-1.79.0/user-config.jam link=shared runtime-link=shared -d+1
Performing configuration checks

    - default address-model    : 32-bit [1]
    - default architecture     : none [1]

Building the Boost C++ Libraries.

    - x86                      : no [2]
    - arm                      : no [2]
    - mips1                    : no [2]
    - power                    : no [2]
    - sparc                    : no [2]
    - has std::atomic_ref      : no [2]
    - has statx                : no [2]
    - has statx syscall        : no [2]
    - has init_priority attribute : yes [2]
    - has stat::st_blksize     : yes [2]
    - has stat::st_mtim        : yes [2]
    - has stat::st_mtimensec   : no [2]
    - has stat::st_mtimespec   : no [2]
    - has stat::st_birthtim    : no [2]
    - has stat::st_birthtimensec : no [2]
    - has stat::st_birthtimespec : no [2]
    - has fdopendir(O_NOFOLLOW) : yes [2]
    - cxx11_constexpr          : yes [2]
    - cxx11_decltype           : yes [2]
    - cxx11_hdr_tuple          : yes [2]
    - cxx11_template_aliases   : yes [2]
    - cxx11_variadic_templates : yes [2]
    - cxx11_basic_alignas      : yes [2]
    - native atomic int32 supported : yes [2]
error: at libs/log/build/Jamfile.v2:59
error: Unable to find file or target named
error:     '/boost/architecture//mips'
error: referred to from project at
error:     'libs/log/build'

Applying this patch doesn't fix the issue. The only way to fix it on my side is to revert https://github.com/boostorg/log/commit/3cbc2585c3b7ff5d884a6c337a99525b57fa184b
Full build log: http://autobuild.buildroot.org/results/edc/edcc7c7f3586993a77b6cc06ed02363a42c09a83/build-end.log

That's odd; https://github.com/boostorg/config/pull/390 has been applied, and it adds /boost/architecture//mips.
@Lastique because Log.

Boost.Log was changed in https://github.com/boostorg/log/pull/155. After the dependent change in Boost.Build in https://github.com/bfgroup/b2/pull/58 was merged.
Looks like Boost.Config was not merged to master before 1.79 release.

Yeah, the relevant commit https://github.com/boostorg/config/commit/6393b50d793f2e7d723f593e8cc6f4bff6174b69 is only on develop, still.
@jzmaddock

It is in master. Just not the 1.79 tag.

For documentation purposes, this was required -> https://github.com/openwrt/packages/pull/19221 in order to make boost.context visible for openwrt when building for mips64 arch


session->remove fix if passing array

Documentation says that you can pass array or string to session->remove method. Currently passing an array, will cause error because of the string typehint.

Good catch. Thanks.


Issue with @preact/signals-react useSignal not triggering re-render across components

Hello ,
I'm facing an issue with the @preact/signals-react library where a signal update in one component is not triggering a re-render in another component. Here's a simplified version of my code:
Store.tsx://

import { signal } from "@preact/signals-react";

interface DropedFileType {
  value?: {
    file_format?: string;
  };
}
export const DropedFile: DropedFileType = signal({});

ViewArea.tsx: //
import React from "react";
import { useSignal } from "@preact/signals-react";
import { DropedFile } from "./Store";

function ViewArea() {
  const dropedFile = useSignal(DropedFile);

  return (

      {dropedFile.value?.file_format === "3mf" &&
File format is 3mf
}

  );
}

export default ViewArea;

In this setup, when DropedFile.value is updated in another component, the change is not reflected in ViewArea until a manual re-render is triggered (e.g., by clicking somewhere on the page).
Has anyone faced a similar issue or have any suggestions on how to resolve this? Any help would be greatly appreciated!
expecting?
I tried using the useSignal hook from @preact/signals-react to track changes in a signal defined in a separate store file (Store.tsx). I was expecting that when the signal's value is updated in one component, it would trigger a re-render in another component (ViewArea.tsx) where the signal is being used. However, the re-render is not happening automatically. Instead, the updated value is only reflected when I manually trigger a re-render, for example, by clicking somewhere on the page.

Please read the set up instructions, you need to use the Babel plugin or the useSignals() hook


Why a wildcard cert?

I love what you're doing here and have been playing around a bit with it myself as a side project. I didn't understand why for SSL you've chosen to use a wildcard cert when as far as I can tell this architecture does not use or need any subdomains? Wouldn't it be more secure and easier to get the cert just for the root domain?
I'm going to test it out myself to see if a non-wildcard cert works and I may answer my own question and I'll respond back here if I find anything or have a PR that may be useful.

Hi @funkymonkeymonk !!
First off - my sincerest apologies for the delay in this reply!! I have had some crazy life changes as of recent and my beloved aws-url-shortener project has not been on the high list of priorities at this time!
I believe I choose a wildcard cert so that I could have SSL for both https://makeitshort.link/ and https://preview.makeitshort.link/ but I might take a look and see if there is indeed a better way to do this. I absolutely welcome any forking or PRs, please tag me and I will take a closer look!
Out of curiosity, how did you find this project? I haven't really advertised it yet so am genuinely curious 😄

A bunch of hunting on GitHub and reviewing architecture. It was one of those, I know it can be done this way, somebody must have done it, and finding yours. I was really impressed with the straight forward approach.
I've made some tweaks myself, specifically adding automatic QR code generation for my short links. At some.point in my laughably small amount of free time I'd like to add auth, link management, and manual link creation functions. If I do anything worth sharing have at it.


V1.3.0 does not point to binary

I'm adding this here for anyone who might look in issues after updating.
Basically, when version 1.3.0 was published, the upgrade of swc changed the directory structure of dist/ so the bin file doesn't point to anything.
This is addressed in this PR: https://github.com/songkeys/tswc/pull/8

closed via #8


Add method to decode via byte[]

Because UWP districts loading files from different locations than the .exe, there should be a method that takes the byte[] of a file (already loaded at other position in program) and then decodes it. Similar to:
public Mp3Decoder(string mp3File)
{ .... }
but with:
public Mp3Decoder(byte[] mp3Bytes)
{ ... }

you seem to be confused, that is already the case...  there is no file handling inside OpenMP3