boto times out when reading/writting from s3

Traceback (most recent call last):
  File "/neuroglancer/python/neuroglancer/pipeline/task_execution.py", line 24, in <module>
    task.execute()
  File "neuroglancer/pipeline/tasks.py", line 518, in execute
    s3i.apply_gzip_encoding(self.prefix)
  File "neuroglancer/pipeline/storage.py", line 301, in apply_gzip_encoding
    k = k.copy(k.bucket.name, k.name, {'Content-Encoding':'gzip'}, preserve_acl=True)
  File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 500, in copy
    src_version_id=self.version_id)
  File "/usr/local/lib/python2.7/dist-packages/boto/s3/bucket.py", line 873, in copy_key
    body = response.read()
  File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 410, in read
    self._cached_response = http_client.HTTPResponse.read(self)
  File "/usr/lib/python2.7/httplib.py", line 588, in read
    return self._read_chunked(amt)
  File "/usr/lib/python2.7/httplib.py", line 630, in _read_chunked
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/ssl.py", line 756, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 643, in read
    v = self._sslobj.read(len)
SSLError: ('The read operation timed out',)"

Traceback (most recent call last):
  File "/neuroglancer/python/neuroglancer/pipeline/task_execution.py", line 24, in <module>
    task.execute()
  File "neuroglancer/pipeline/tasks.py", line 518, in execute
    s3i.apply_gzip_encoding(self.prefix)
  File "neuroglancer/pipeline/storage.py", line 301, in apply_gzip_encoding
    k = k.copy(k.bucket.name, k.name, {'Content-Encoding':'gzip'}, preserve_acl=True)
  File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 500, in copy
    src_version_id=self.version_id)
  File "/usr/local/lib/python2.7/dist-packages/boto/s3/bucket.py", line 873, in copy_key
    body = response.read()
  File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 410, in read
    self._cached_response = http_client.HTTPResponse.read(self)
  File "/usr/lib/python2.7/httplib.py", line 588, in read
    return self._read_chunked(amt)
  File "/usr/lib/python2.7/httplib.py", line 642, in _read_chunked
    raise IncompleteRead(''.join(value))
IncompleteRead: IncompleteRead(41 bytes read)"

https://github.com/boto/boto3/issues/185

this is a nice library to use https://pypi.python.org/pypi/retrying
to implement some exponential backoff retry

I got a sweet PR into retry's successor: https://github.com/jd/tenacity/pull/70


User photos in banner, account search etc. are scaled wrongly

Please compare the user account photo in loklak and twitter e.g. in the home banner or account search. The height/width are distorted. Please fix this.
Loklak

Twitter

Accounts View
Before

After

Note the quality of the image.

Ok, please also compare this: Some user photos are displayed "stretched together", meaning people appear thinner.

@mariobehling The accounts and other areas with bad image quality is changed, is there still an issue in this ?

Please deploy and we will test in detail.

@mariobehling Any update ?

It looks like in loklak account photos are not scaled wrongly and made into a square even though the base image is not a square. The result: The photo on loklak make the user image stretch/squeezed together. See the image below, the user photo makes the user appear thinner than in reality.
Twitter

Loklak

Design is out of order, overlaps and is not a square anymore.

Please compare to twitter.

Plrease refer https://github.com/loklak/loklak_webclient/pull/517#issuecomment-134920731


Fix opendf.exceptions.python_exception.SemanticException: Unexpected …

Dear authors, WeatherQueryApi has to match its simplified node. Otherwise, this program won't compile:
 WeatherForEvent(
    FindEvents(
       AND(
          at_time(
             ThisWeekend(
                ) ) ,
          has_subject(
             hike ) ) ) )

Is this still relevant?

Yes. This API still has to be patched.

minor modification, please confirm.


Create Link.sdk

Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.

Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

//.git.merge

'autocomplete<EMAIL_ADDRESS>Using: '-get -copilot.bot',```


no such table: task

(lldb) 2023-02-14 14:26:30.459252+0800 Runner[1728:99321] database path: /var/containers/Bundle/Application/FF13DA46-3958-497C-9B8E-9AE5E9C21D0E/Runner.app/Frameworks/flutter_downloader.framework/FlutterDownloaderDatabase.bundle/download_tasks.sql AllFilesDownloadedMessage: All files have been downloaded startBackgroundIsolate database path: /var/containers/Bundle/Application/FF13DA46-3958-497C-9B8E-9AE5E9C21D0E/Runner.app/Frameworks/flutter_downloader.framework/FlutterDownloaderDatabase.bundle/download_tasks.sql MAXIMUM_CONCURRENT_TASKS = 3 init NSURLSession with id: com.ipadump.iosapp.download.background.session AllFilesDownloadedMessage: All files have been downloaded Installing and launching...                                        11.8s flutter: download:{type: download, data: {url: https://pan.ipadump.com/d/tianyi/icons/-21.png}} execute query: SELECT * FROM task open DB successfully no such table: task Load tasks successfully
flutter doctor -v
[✓] Flutter (Channel stable, 3.7.1, on macOS 12.6 21G115 darwin-x64, locale zh-Hans-CN)
• Flutter version 3.7.1 on channel stable at /Users/lake/soft/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7048ed95a5 (13 days ago), 2023-02-01 09:07:31 -0800
• Engine revision 800594f1f4
• Dart version 2.19.1
• DevTools version 2.20.1
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/lake/dounine/android/sdk
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /Users/lake/dounine/android/sdk
• ANDROID_SDK_ROOT = /Users/lake/dounine/android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.1)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 56.0.5
• Dart plugin version 211.7233
[✓] IntelliJ IDEA Ultimate Edition (version 2022.2)
• IntelliJ at /Applications/IntelliJ IDEA 2.app
• Flutter plugin version 70.0.5
• Dart plugin version 222.3345.108
[✓] VS Code (version 1.75.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.58.0
[✓] Connected device (3 available)
• lake pm (mobile) • 00008110-00062D363E92801E • ios            • iOS 15.4.1 19E258
• macOS (desktop)  • macos                     • darwin-x64     • macOS 12.6 21G115 darwin-x64
• Chrome (web)     • chrome                    • web-javascript • Google Chrome 110.0.5481.77
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.

Hi @dounine
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.


Open to a few changes to grammar.mdk file to make it easier to compare to grammar in p4c?

Here are some changes that I have in mind, and have verified that it can make the contents of the grammar.mdk file much quicker for a person to compare against the file p4parser.ypp in the p4c compiler:

Change the order that some non-terminal symbols are defined in the file (no semantic changes)
Change the order of some alternatives in the definition of some non-termainsl (e.g. x: alt1 | alt2 ; would become x: alt2 | alt1 ; to match the order in p4parser.ypp)
Replace all single quotes with double quotes, e.g. ',' would become ",", to match what is used in p4parser.ypp

There might be one or two other changes I'm forgetting right now, but this is the idea -- changes that do not make any semantic change to the contents of grammar.mdk, but syntactically make it closer to something that you can use "diff" to compare it against p4parser.ypp -- or more precisely, a text file mechanically produced from p4parser.ypp via a tiny Python program that removes all of the C++ code in braces from p4parser.ypp.
If this would be of interest, what kind of PRs would make such changes quickest to review?
One PR with all of these changes combined into one commit?
Separate PRs for each of the bullet items above?
Something else?

One PR seems fine to me, if it's all confined to the grammar.

I think I will wait until after some of my other PRs are merged in to create such a PR, to avoid merge conflicts.  That said, there are likely to be some open PRs that would experience merge conflicts no matter when such a change to the grammar.mdk file was made, so it will likely lead to that annoyance for some currently open PRs.
As an example of the kinds of changes I have in mind, made in a step-wise fashion for easier verification what each step does, see https://github.com/jafingerhut/p4-guide/tree/master/compare-p4c-grammar-with-spec

Sounds great. This will be a valuable improvement of hygiene!

A separate but related question: Currently the Madoko source file P4-16-spec.mdk uses the Madoko INCLUDE capability only once, to include the entire grammar.mdk file in an appendix.
For some other P4_16 specs, I have often used a capability to INCLUDE a portion of a file like psa.p4 that is marked by specially formatted comments.  Example:

This line in PNA.mdk: https://github.com/p4lang/pna/blob/main/PNA.mdk#L460
causes this sequence of lines from the pna.p4 file in that same repo to be included when PNA.mdk generates HTML/PDF output: https://github.com/p4lang/pna/blob/main/pna.p4#L106-L167 (note the BEGIN and END comments immediately before and after those lines with the string Type_defns on them, which matches the string Type_defns in the PNA.mdk INCLUDE directive)

We could do something similar for excerpts of grammar.mdk in P4-16-spec.mdk, if there is interest.  One advantage is that it helps avoid duplication, and ensuring that changes to the grammar can be made in one place but appear in multiple places.

Hmm, maybe.  I can check whether those comments will be included in the full include in the appendix, or not.  The makefile could easily be made to remove those specially formatted comments, if so.

Proposed PR making syntactic changes to grammar.mdk, but should be zero changes in the semantics of the language generated by the grammar, here: https://github.com/p4lang/p4-spec/pull/1199

@mbudiu-vmw wrote in an earlier comment: "Won't insertions in the grammar mess up everything else?"
See this PR for an example of what I mean of using the Madoko INCLUDE directive to include small sections of the grammar.mdk file within the specification document: https://github.com/p4lang/p4-spec/pull/1201
Note: The mechanism uses specially formatted comments as begin/end markers of the sections to include, not line numbers, so there is no issue with line numbers getting out of date as future changes are made to the grammar.mdk file.

Closing this issue, now that grammar.mdk has been made closer to p4c's Bison grammar for easier diff'ing, and with this PR https://github.com/p4lang/p4-spec/pull/1201 merged in, P4-16-spec.mdk now makes extensive use of Madoko's INCLUDE directive for including excerpts of the grammar.mdk file in the spec.


Is possible to do smaller bundles with fusebox 4?

Hello I compiled one of my projects with fusebox 4 and total size (gzipped is 1.1 mb) while with my old bundler give me 870 kb. I found out that there is something with tree-shaking.
What possibilities do I have to minimize bundle med fusebox? Maybe it is written about this somewhere? Thnks.

V4 doesn't have tree shaking yet. So yes, that's the reason. although we have a full blown analysis implemented, we just need to implemented an algorithm

Cool. Is there any expectations where we could see this feature on v4?

What do you mean by expectations ? I will do it whenever I have time for it, unless someone else does it before me

I see. Thnks help.


New module for importing a page

Still unsure of how I should do this, but we need a module specifically for importing a page. It's like System.import but will also call canWait.data so that ssr knows what page we are visit.  For example if you are visiting the orders page this module would call canWait.data({ page: "pmo/orders" }).  We will use that information to know which CSS to response with.
I'm thinking of an API like this:
var importPage = require("can-import-page");

importPage("pmo/orders").then(function(){

});

It will call loader.import under the hood.

Fixed in #91


Error while loading keyfile to generating CSR

I have generated RSA public and private key pair and now I am trying to generate CSR following (mbedTLS/programs/x509/cert_req.c)
I am getting an error while trying to load the private key file in pk context using mbedtls_pk_parse_keyfile(). This function is returning an error -15616. I checked the private key file by printing the key value and the path of private keyfile. I set the password as NULL.
Has anyone of you come across this issue or know what this error means? Could anyone of you please help or guide me how to solve this?
Any help is appreciated.
Thank you

If you wish to check what an error code means, you can use the mbedtls_strerror( ) function. There is also a utility program shipped with Mbed TLS: programs/util/strerror, which uses the same function on a code provided from the command line. Using it on the code that you provided gave me: "PK - Invalid key tag or value".
As for why you get this error, it seems like the function is not provided with a key file that it expects. Please consult the documentation for the function here. It contains a note about the key context parameter and key types. You may check your program in that regard.
Additionally, you mention the example: programs/x509/cert_req. Did you also consult the Knowledge Base article? I would suggest following the instructions from the article and compare them with what you did before you received the error.


Unable to Login with AD

I'm attempting to setup our Workflow Manager JavaScript site with AD logins. We're currently using SSO for Portal and AGS with no issues. I was able to login with authentication set to 'none'.
I've modified the following lines of code as directed and have also tried the text call-outs to see the variable, but it's not working. It reads back <%= User.Identity.Name %> and not the Windows User.
        var user = "<%= User.Identity.Name.Replace("MyDomain\","") %>";  // user without domain authentication
        //var user = "<%= User.Identity.Name.Replace("\","*") %>";     // user with domain authentication
        Controller.startup( {user: user} );

Has anyone else had this issue? Thank you.

@danielkmog - It sounds like you've setup a portal and federated server to use Windows accounts.  If this is the case, then you will need to following the instructions in the JavaScript Viewer README.pdf file for setting up Portal Authentication.
Let us know if this works for you.
Thanks,
Lalaine

Thank you. I was able to get it working. I was missing the rename of the index.html and .config steps. The portal is federated, but we're hosting our Portal on site and I wasn't able to configure WMX 10.4.1 to use our Portal user store, it's asking for a AGOL login and I do not see a way to point it to our store.  I'll look into a work around later for now I'll just use AD.

@danielkmog - I'm glad you were able to get your issue resolved. If you are still wanting to get it to work with the Portal user store, you can change the Portal by using the ArcGIS Administrator utility. This is because Workflow Manager 10.4.1 uses the same Portal as ArcMap, ArcCatalog, etc.
The Managing portal connections from ArcGIS for Desktop document provides more help on this.

@kbedel I was just trying to do that. I set it up via the ArcGIS administrator, go into the WMX admin, change it to Portal and it toggles automatically back to Traditional. Getting ready to call Esri. 🤔


subsurface_color = base_color?

@brechtvl wrote:
We had planned to get rid of the distinct subsurface_color and use just base_color, partially because of an implementation quirk, and partially because nearly always the same texture map was connected to both. But maybe it is common to have separate texture maps for these for some users?

This seems like it could be closed, as in practice we are not going to merge the two colors (at least in the near term). Also it seems it's not clear whether doing that would be an improvement necessarily.


deepin-wm: init at 1.9.32

Motivation for this change
Add deepin-wm, the default window manager for Deepin.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build deepin.deepin-wm

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: deepin.deepin-wm
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: deepin.deepin-wm
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32
shrinking /nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32/bin/deepin-wm
shrinking /nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32/lib/libdeepin-wm.so.0.0.0
shrinking /nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32/lib/deepin-wm/plugins/libgala-zoom.so
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32/lib  /nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32/bin
patching script interpreter paths in /nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32
checking for references to /build in /nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32...
/nix/store/hphinjgsxdlz7lk57fsp18qj47s7g9sz-deepin-wm-1.9.32

Success on aarch64-linux (full log)
Attempted: deepin.deepin-wm
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32
shrinking /nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32/bin/deepin-wm
shrinking /nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32/lib/deepin-wm/plugins/libgala-zoom.so
shrinking /nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32/lib/libdeepin-wm.so.0.0.0
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32/lib  /nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32/bin
patching script interpreter paths in /nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32
checking for references to /build in /nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32...
/nix/store/zy3h0m6a6bky8sxjpibrz3m63xhicjx9-deepin-wm-1.9.32


 Webpack, JSPM or any other? I think that it could be related to your configuration.
You should look at: https://angular.io/docs/ts/latest/cookbook/component-relative-paths.html

I am having this same issue, how did you solve it Stefan. I am using webpack.

@stefanstelzer @bencameron00 Check 1.0.0 version :)

@mrzepinski
Thanks for your reply, have been in holidays, sorry for my late response.
Will install 1.0.0 and will give you feedback this afternoon.

@stefanstelzer How did you go?

I decided to write my own component in the end.
Thanks for the help though.
From: Maciej Rzepiński<EMAIL_ADDRESS>Sent: 18 September 2016 11:44
To: WoltersKluwerPL/ng2-spin-kit<EMAIL_ADDRESS>Cc: Ben<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [WoltersKluwerPL/ng2-spin-kit] ...rotating-plane.html 404 (Not Found) (#18)
@stefanstelzer https://github.com/stefanstelzer  How did you go?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/WoltersKluwerPL/ng2-spin-kit/issues/18#issuecomment-247840387 , or mute the thread https://github.com/notifications/unsubscribe-auth/AFtLSZovJrmIWY2_liESfPjPuXTWfpyAks5qrRXfgaJpZM4JodjI .  https://github.com/notifications/beacon/AFtLSSSV6XQWro4Qy9tATstWn6YGGr_8ks5qrRXfgaJpZM4JodjI.gif

@bencameron00 Close then?

Yes I think so. Thanks.
From: Jackie Gleason<EMAIL_ADDRESS>Sent: 11 October 2016 18:28
To: WoltersKluwerPL/ng2-spin-kit<EMAIL_ADDRESS>Cc: Ben<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [WoltersKluwerPL/ng2-spin-kit] ...rotating-plane.html 404 (Not Found) (#18)
@bencameron00https://github.com/bencameron00 Close then?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/WoltersKluwerPL/ng2-spin-kit/issues/18#issuecomment-252986222, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFtLSUeNOQiStg8PMHtErpIlcHXU6ECaks5qy8c7gaJpZM4JodjI.


Update node-fetch dependency

node-fetch is on release 1.6.0, and this library is still depending on ^1.0.1. Updating the dependency would give access to newer features added to node-fetch, like response.buffer.

Doesn't ^1.0.1 pick up 1.6.0?

@caoyangs
Regarding https://github.com/npm/node-semver

Caret ranges are ideal when an author may make breaking changes between 0.2.4 and 0.3.0 releases, which is a common practice. However, it presumes that there will not be breaking changes between 0.2.4 and 0.2.5. It allows for changes that are presumed to be additive (but non-breaking), according to commonly observed practices.
^1.2.3 := >=1.2.3 <2.0.0
^0.2.3 := >=0.2.3 <0.3.0
^0.0.3 := >=0.0.3 <0.0.4

^1.0.1 it's fixed to version 1.0.1 and 1.0.2  won't be picked up.

^1.0.1 it's fixed to version 1.0.1 and 1.0.2 won't be picked up.

Not true. That's only applicable if it's a fixed version number w/o ^.
^ usually allows changes for minor and patch versions except for left-most zero based versions which are considered breaking changes.
So, ^0.1.0 ranges to >=0.1.0 < 0.2.0 and ^0.0.1 ranges only to =>0.0.1 < 0.0.2 however, ^1.0.0 will allow ranges to >=1.0.0 < 2.0.0.
From that same link:-

Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple. In other words, this allows patch and minor updates for versions 1.0.0 and above, patch updates for versions 0.X >=0.1.0, and no updates for versions 0.0.X.

:+1: Wondering if @matthew-andrews still has time to maintain this package.

@shri3k is right. I've just tested:
% cat package.json
{
  "name": "if",
  "version": "1.0.0",
  "description": "Test isomorphic-fetch semver",
  "main": "index.js",
  "dependencies": {
    "node-fetch": "^1.0.1"
  }
}
% npm install
<EMAIL_ADDRESS>/home/dandv/if
└─┬<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>

i believe this isn't necessary and can be closed


Deployment

Description
Objective: Adapt the Deployment part of the course to a more beginner audience.
Changes

[x] Change exercise to include more guidance
[x] Include an intro to FastAPI
[x] Remove dead code and unused files

Very nice job, clear, concise, complete 🚀
I did not check the code itself, do you want me to ?

Would be nice if you could run the solution to see if it works


Force transcoding/re-encoding

For security purposes, I want to force transcoding or re-encoding any image I push through imgproxy, to make sure it's a valid image, and to get rid of any appended data (if any).

Does imgproxy strip non-image data from the files it processes, e.g. if arbitrary non-image data is appended to the image file?
Does imgproxy decode-then-encode the images it processes?
In many steps in the processing pipeline, there are short-circuit conditions (when met, the step does nothing). In general, at the entire pipeline level, and assuming the answer to question 2 above is positive, is it possible to ensure that imgproxy always re-encodes all the images it processes?

Hey @akhayyat!

If you're talking about image metadata, imgproxy strips it all except the copyright data by default. If you're talking about "garbage" data at the end of the file, it is skipped during the processing.
imgproxy always re-encodes images unless the processing is skipped. The processing can be skipped only by using the IMGPROXY_SKIP_PROCESSING_FORMATS config, skip_processing processing option, or raw processing option

Thank you!


data:ibilalkayy

Changes proposed
Adding a profile to the LinkFree account
Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Note to reviewers
Thank you for letting me create a profile on LinkFree!

This looks good to me.


Long images not loading on iOS

It seems like images that are taller in size (maybe taller than 3500px but that's a guess) do not get loaded in iOS Safari and Chrome. I'm not sure of Android and others.
Here's a link http://christinanguyen.net. Please click on the projects titled "CareersAtHCA," "Chloe's Desserts," "Pier 2934," and/or "HealthComm" for some examples. You'll see that some images load and the ones that are longer won't.
Here's a screenshot of how it looks when it doesn't load in.

It's an issue with how it detects if an image is in view - it only checks if the top or the bottom is within the viewport - but doesn't account for images where the image is longer, so the top is above and the bottom is below - no doubt at least one of the forks has fixed this obvious oversight ;-)

Will fix soonish :)


Can't test it right now. Paused until the method overloading for from methods is implemented.

Important Notes

Checklist
Please include the following checklist in your PR:

[ ] The documentation has been updated if necessary.
[ ] All code conforms to the Scala, Java, and Rust style guides.
[ ] All documentation and configuration conforms to the markdown and YAML style guides.
[ ] All code has been tested where possible.

What is the status of this PR ?


Test Github Actions PR workflow

Test PR to check if new workflow works correctly with forks

It works!
I went ahead and incorporated this in af7dd4a


👣 Foot-age

build a social media wall that displays all #fussbook footage
the wall shoot be somewhat foot related

bonus:

build a fussbook social network. All pictures mustn't contain faces but feet.

bonus:

recognize feet and faces in images and tell one that faces aren't allowed here, only feet.

If you'd like to team up for this one, reply here in the comment section


Querying more that 6 columns returns an error

System information:

Operating system (distribution) and version: MacOs Montery 12.1 (m1 chip)
DBeaver version Version <IP_ADDRESS>204170718
Additional extensions no

Connection specification:

Database name and version prestoDB 0.272
Driver name prestoDB
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
Hey there,
anytime I try to query more than 6 columns, the query will fail, "select *" will always fail. Error log is below
I have tried to install every version of DBeaver available for my CPU architecture without success.
A coworker has had the same issue in the past, their fix was to retrograding to an older version of DBeaver, which did not work for me.
I have tested my connection & queries with my Network admin and different coworkers, all have confirmed that the connection was right and that the queries were working on their side.
Steps to reproduce, if exist:
Any query returning more than 6 columns will fail (that number can vary, sometimes 8 is fine, but 6 has been the most common)
Include any warning/errors/backtraces from the logs
dbeaver-debug.log

Hello @DylanBranch,
I suspect that the issue is on the driver's side.
Can you please provide the database version and the driver version? I think you mixed them up. (0.272 is the latest driver version)
What happens if you use Trino driver instead?

Hi @ShadelessFox,
Switching to Trino has fixed my issue, thanks a lot!


chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml

Changes

The github.com/ghodss/yaml package is no longer actively maintained. There are numerous inquiries about the project's status on its issue tracker: https://github.com/ghodss/yaml/issues. sigs.k8s.io/yaml is a permanent fork of github.com/ghodss/yaml, which is actively maintained by Kubernetes SIG and widely used in K8s projects.
github.com/ghodss/yaml is only used in tests files so we can safely replace it and remove 1 extra dependency.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/ok-to-test

/ok-to-test


Assign a new role to a user in a project

Projects.py#L380
Saw this comment. Any idea or suggestion? As a workaround, I tried to do the POST manually, but I get a 412.
Thanks

Try to set the Headers content-type with:
headers['Content-Type'] = 'application/vnd.blackducksoftware.internal-1+json'
=>  It should avoid the 412.
By crafting the post request myself, I can add role to a user already in a project

Didn't try that option, but I tried the Assigning a Role to a User endpoint (/api/users/{userId}/roles) that is available in the REST API documentation, and it works too.


Writing values to the Tesla API via MQTT

I'm using Home Assistant - and after realising that the default Tesla integration is hungry as a hippo, I've decided to go with TeslaMate's MQTT approach. For reading data, this works really well. But losing the ability to trigger things (such as climate control) is a step backwards.
This information in the documentation intrigued me;

If however you would like to be able to write values to the Tesla API (Lock/Unlock Doors or automate Climate), there is a solution which involves configuring an extremely high polling interval for the Tesla component and using automation to populate the values from the TeslaMate MQTT parameters.

But as far as I could find, there's no elaboration on how one actually does this. Can we have this added to the docs?

I understood this to mean that we read from TeslaMate, but write to the Home Assistant integration.  For example, I could query TeslaMate to see if the doors are locked after midnight, but use HA Tesla to send the lock command.  It just means you have to be logged in twice.

Hmm... I didn't notice any configuration implying that we could stop the HA Tesla spam keeping the vehicle awake - which was the whole point of wiring up the MQTT channels in the first place.
If you're logged in via the HA integration, then there's no point wiring up the TeslaMate one as the data is already there, right?

I think this is the reason for "configuring an extremely high polling interval", ie. HA Tesla polls once each day (set scan_interval: 86400000).  TeslaMate uses its more advanced polling interval to query the state of the vehicle which won't wake it up as frequently as HA would if its polling interval were set lower.

Oooh I see. Yeah, ok that makes sense.


chore(master): release 2.0.2

:robot: I have created a release beep boop
2.0.2 (2024-06-12)
Bug Fixes

add check if mkcert is installed (5697f49)

Documentation

update readme.md (1351c1b)
updates to contributing guide (ded9951)
updating README.md (5edfa6d)

Dependencies

deps: update andreasaugustin/actions-template-sync action to v2.2.1 (05f73ec)
deps: update googleapis/release-please-action action to v4.1.3 (315dd16)
deps: update wayofdev/gh-actions action to v3.1.1 (7450e6a)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.0.2
:sunflower:


Abort/cancel analog trigger

If one configures an analog trigger, e.g. a_trig(board_num, channel, TrigType.TRIG_ABOVE, trig_value, ULRange.BIP10VOLTS), is there any way to cancel or abort the call if the trigger event does not take place?

Hello sTywin,
The only way to abort or cancel a_trig is to end the application.  There is no key or key combination that will allow you to move to the next line in your app.
a_trig is a tight loop of a_in and a comparison to the set value (trig_value), and repeats until the condition is satisfied, running as fast as your system will let it.
you might be better off writing this loop yourself, and place an application.DoEvents() (part of the VS CLR) in the code so you can cancel out of it if/when you need.
-Jeff

Thanks, Jeff; I wasn't sure if a_trig was using something in the UL drivers or on the device itself to send the trigger signal. It sounds like implementing the comparison myself is the right way for me.
Cheers,
-Scott


OmniSharp Agenda » Proposed Meeting June __th @ 18:00 UTC

I don't currently have a date, please let me know what day might work best for you.
Proposed Time

PST (UTC-8)
EST (UTC-5)
London (UTC)
Zürich (UTC+2)
Helsinki (UTC+3)
Sydney (UTC+10)

11:00 AM
2:00 PM
6:00 PM
8:00 PM
9:00 PM
4:00 AM

Meeting info
Join skype meeting
Join by Phone
Toll-free number: +1<PHONE_NUMBER> or Toll number: +1<PHONE_NUMBER>
Find a local number
Conference ID: 280856
Help
Agenda
If you can think of any more agenda items, feel free to edit the issue (if you have permissions) or just comment on this thread and we'll make sure to group them up before the meeting.
Also feel free to discuss any agenda items early as part of this issue, we can make sure to recap during the start of the meeting, and may cut down on the time we have to spend on some of them.
Project Management
I've been looking at Huboard, as it has the easiest integration with Github today.
Telemetry
No updates yet, see #5 for details.
Project Che Integration
http://www.eclipse.org/che/
New Project System
It's safe to assume the new Roslyn Project System will be an important project for us in the near future.  I'd love to know more about what the system is trying to do specifically, and how that relates to OmniSharp.
OmniSharp-atom

Currently working to resolve the outstanding issues.

OmniSharp-node-client

I refactored things a bit, there is now less work to support additional endpoints as they are added.  Also made it easier to call native endpoints, (and infact it may become the "standard" way to interact with the server, don't know yet).

OmniSharp-vscode

Landed! https://github.com/OmniSharp/omnisharp-vscode
Updates? Progress? Goals?
Contributors outside Microsoft?

Are now being accepted!

Use OmniSharp-node-client?

On the table as something to do in the future.

OmniSharp-roslyn

What else?

OmniSharp-scaffolding

Any information / updates?

OmniSharp-brackets

Any information / updates?

OmniSharp-sublime

Any information / updates?

OmniSharp-emacs

Any information / updates?
cc @ianbattersby

Additional agenda items?
Either update the issue, or add them in the comments below!
cc @OmniSharp/all

Moving to July 14th, based on everyones availability this may shift.

it's worth noting that huboard was already  set up, but not used. https://huboard.com/OmniSharp/omnisharp-roslyn/ may need a cleanup first.

Did I miss an update for the July 14 meeting? Is another one on the schedule? :)

@dmccaffery there is definitely another one on the schedule, I'd like to have one sometime this month.  @DustinCampbell is on vacation so it'll probably be near the end.

FWIW, I'll be back in the office on Monday, August 15th.


reqcheck: support PEP-0440 version specifiers

cf. https://www.python.org/dev/peps/pep-0440/#version-specifiers
Hopefully rdopkg could somehow use version handling code in pip, instead of re-writing the parser?
Examples of current parser failures taken from the commit message in https://review.gerrithub.io/249486
python-routes !=2.0,!=2.1,>=1.12.3;python_version=='2.7'
python-routes !=2.0,>=1.12.3; python_version!='2.7'

reqcheck does not parse 'python_version'

python-glance-store !=0.9.0,>=0.7.1 (>=0.9.1 in .spec)

reqcheck does not parse !=

python-sqlalchemy <1.1.0,>=0.9.9 (>=0.9.9 in .spec)

reqcheck does not parse <

All these except ; are supposed to be suppored (see VERCMP_TABLE), can you give me an exact reproducer for incorrect behavior?
I'd be shocked if the pip code for this would be reusable but I'm gonna look anyway ;) I remember I considered that in the beginning and decided to do it myself for some reason...


references to US MBON Working Groups

On the website we should include a summary of each working group and how to get involved:

[ ]  eDNA: environmental DNA
[ ] DMAC: Data Management and Cyberinfrastructure
[ ] Remote sensing/Seascapes
[ ] BioTrack
[ ] BioSound
[ ] Indicators
[ ] Ecosystem function
[ ] Stakeholder engagement

duplicate of https://github.com/marinebon/marinebon_wordpress_website/issues/24
thank you for the more complete list of working groups. I am updating my table now.


Fix reconnection error after first reconnection.

After the second consecutive mongodb failure, the driver does not reconnect properly. To reproduce the bug you can execute the following script:
const mongodb = require('mongodb');
const MongoClient = mongodb.MongoClient;

function randomIndex() {
  return Math.ceil(Math.random() * 2100);
}

MongoClient.connect('mongodb://localhost/somedb').then(db => {
  let collection = db.collection('somecollection');
  db.on('close', err => console.log('close', err));
  db.on('reconnect', () => console.trace('reconnect'));

  setInterval(() => {
    collection.find({
      index: randomIndex()
    }).limit(1).next()
      .then(console.log)
      .catch(console.log);
  }, 1000);
});

With the script running execute the following steps:

Start mongodb
Start script
Stop mongodb
Restart mongodb
Stop mongodb
Restart mongodb

After executing these steps, the script is not connected anymore. But if I restart the script it works properly.
My commit in this pull request seems to solve the problem in my script. But I could not got through the entire code and check if my changes have some side effects.

merged into 1.3 branch


Forwarding the name of the linked library

In building a static version of hdf5 we require the name of the library to appropriately link into a C dependency. Would it be possible to forward the name used for linking, i.e.
println!("cargo:rustc-link-lib=z");

should set
println!("cargo:lib-name:z")

or similar. This would make our life easy, instead of reverse engineering the code fragment in the build.rs to guess what the library is named.

Turns out this is unnecessary for us, and probably for other crates too.


Windows 11 official release

Hi, i was planning to use kdmapper tool, but i'm currently on the windows 11 pro official release (windows 11 21h2 22000.51), is there any plan to add support to this windows version any time soon ? Thanks.

I don't see any issue in Windows 22000.51

Hi, it was just a error in my driver, seems to be working properly, thank you!

np

I have a problem, I can not run kdmapper, it opens and closes, before I have formatted my computer, ran normally

I have a problem, I can not run kdmapper, it opens and closes, before I have formatted my computer, ran normally

because you have to add params, you cant just run kdmapper without any arguments to map 😭


convert TimeUtil.java to TimeUtil.js

TimeUtil.java was always intended to be ported to other languages, and I'm curious how the port to JavaScript would go.  I've been using the site https://www.jsweet.org/jsweet-live-sandbox/ to convert the code piece by piece, because it isn't working for the entire code, and it produces somewhat unreadable code anyway.
This is a table of function name in Java and if it is ported to JavaScript:

Java
JavaScript

final int TIME_DIGITS = 7;
Y

final int DATE_DIGITS = 3;
Y

String reformatIsoTime(String exampleForm, String time)
Y

String monthNameAbbrev(int i)
Y

int monthNumber(String s) throws ParseException
Y

String[] countOffDays(String startTime, String stopTime)
Y

String nextDay(String day)
Y

String previousDay(String day)
Y

String ceil(String time)
Y

String floor(String time)
Y

String normalizeTimeString(String time)
Y

String isoTimeFromArray(int[] nn)
Y

String formatIso8601TimeRange( int[] nn )
Y

String formatIso8601Time( int[] nn, int offset )
Y

String formatIso8601Time( int[] nn )
Y

String formatIso8601Duration(int[] nn)
Y

int[] now()
Y

int[] isoTimeToArray(String time)
Y

int dayOfYear(int year, int month, int day)
Y

int monthForDayOfYear( int year, int doy )
Y

long toMillisecondsSince1970(String time)
Y

void normalizeTime(int[] time)
Y

int dayOfWeek( int year, int month, int day )
Y

void fromWeekOfYear( int year, int weekOfYear, int[] time )
Y

int[] parseISO8601Duration(String stringIn)
Y

int[] parseISO8601Time( String string )
Y

int[] parseISO8601TimeRange(String stringIn)
Y

int julianDay(int year, int month, int day)
Y

int[] fromJulianDay(int julian)
Y

int[] subtract(int[] base, int[] offset)
Y

int[] add(int[] base, int[] offset)
Y

I found a new route to get this working.  If I take the entire code, then replace toMillisecondsSince1970(time) and now() with stubs, remove the Logger statements, it can translate.

If there's a way to make the symbols be TimeUtil.xxx(), it would be much easier to make the translation.  It would probably be nice to have the functions in a special namespace anyway.

TimeUtil = {}
TimeUtil.xxx = function (a) {return "yyy"+a}
TimeUtil.xxx("q")
On Sun, Apr 10, 2022 at 8:16 AM Jeremy Faden @.***>
wrote:

If there's a way to make the symbols be TimeUtil.xxx(), it would be much
easier to make the translation. It would probably be nice to have the
functions in a special namespace anyway.
—
Reply to this email directly, view it on GitHub
https://github.com/hapi-server/server-java/issues/4#issuecomment-1094259637,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUQ57RBFN5OQKQP6CGS5UDVELBBBANCNFSM5S7E76XA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks, Bob.  When I do the URI_Templates code, I'll use this form, and then I'll go back to the TimeUtil script.

This was moved over to https://github.com/hapi-server/uri-templates/issues/13

This task is done.  See https://github.com/hapi-server/uri-templates/issues/13.  Closing.


Allow configuring the Glue catalog id

This setting allows connecting to Glue catalogs in other AWS accounts.
I've named the setting hive.metastore.glue.catalogid to be consistent with Amazon's current implementation:  https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-presto-glue.html

@cla-bot check

@anoopj Do you want to take a look?

The changes look good to me. Thank you for being consistent with the existing EMR feature.  Databricks also recently started supporting Glue catalog with Spark and they also follow the same convention, so the consistency helps everyone.

merged, thanks! @sjpascual Could you add release note to https://github.com/prestosql/presto/issues/1000?


Failing to create product

Description
After details of the product is entered and "Save Product" is clicked upon, following screen is displayed.

Acceptance Criteria
When "Save Product" is clicked

Notify user that product has been created successfully
System creates a Datamatrix code with the GTIN, serial number, batch number & an expiry date.

Environment
Google Chrome (latest) on Macbook
Prerequisites
Logged into the system
Reproduction steps

Click on "Add Product" and Enter the product details
Click on "Add ePI" and upload the xml file downloaded from the dailymed website
Click on "save product"

This issue occurs when the GTIN is already used (/anchored). Please use a new & valid GTIN.
https://www.gs1.org/services/check-digit-calculator

@amanuel95  @UnHynek  Is this still an issue


Flight path support

Is it possible to view you're current flight path and waypoints?

yea, looking into that next.
there must be some way to get the waypoints via simconnect api. displaying them would/should be easy then.

Looks like you can get at the next waypoints lan/lon using
type NextWaypoint struct {
	simconnect.RecvSimobjectDataByType
	Latitude    float64 `name:"GPS WP NEXT LAT" unit:"degrees"`
	Longitude float64 `name:"GPS WP NEXT LON" unit:"degrees"`
}

@rikkuness yea, you also didn't see variables to get all points?

Not that I've seen so far, there's a variable to get the number of GPS waypoints, and ones to get previous and next waypoint lat/lon.
I thought there might be another API to query for a full flight plan, but all the flight plan API's seem to relate specifically to AI flight plans.

That would be awesome :-)


Update rultor config

@rultor merge

@rultor merge

@blablatdinov Unfortunately, either you or me don't have 'write' permissions to the repository, I can't do what you're asking. Try to add me as a collaborator with 'write' access.

@rultor merge

@rultor merge

@blablatdinov Can't merge this pull requests, because the file .rultor.yml was modified. This is a security threat. Make a separate pull request with the modification of this particular file and ask project architect to merge it manually.


kube-addons may run before salt finishes writing templates

I thought I had worked this out during development, but from an IRC report from @chromakode off a 0.10 GKE cluster, SkyDNS isn't starting. A bit of log trawling:
== Kubernetes addon manager started at 2015-02-11T21:19:44+0000 ==
++ addon /etc/kubernetes/addons/dns/skydns-rc.yaml started in pid 6208 ++
++ addon /etc/kubernetes/addons/dns/skydns-svc.yaml started in pid 6209 ++
F0211 21:19:44.321986    6208 create.go:51] unexpected end of JSON input
++ pid 6208 complete ++
skydns
++ pid 6209 complete ++
== Kubernetes addon manager completed with errors at 2015-02-11T21:19:44+0000 ==

Maybe I closed #3323 too early?

@chromakode's gist with additional info: https://gist.github.com/chromakode/5896de3fde0ea5362be0

(FWIW, this came up the next time, and we test this setup all the time using "Services should provide DNS for the cluster" https://github.com/GoogleCloudPlatform/kubernetes/blob/master/test/e2e/service.go#L41) but even if this is a low grade flake, I take a bit of a personal affront.)

The cluster where SkyDNS didn't come up was created via the console at https://console.developers.google.com/project/weeby-challenge/kubernetes/add. It was a cluster size of 2 on us-central1-b.


THRIFT-4854 oneway calls do not work over HTTP

Client: netstd
Patch: Jens Geyer

This is a generic issue across many of the language implementations.


Truncate notification buttons that get too long

#44319

/duplicate of https://github.com/Microsoft/vscode/issues/44538


[Music] missing HUD symbols

Extension
https://www.raycast.com/fedevitaledev/music
Description
Not sure if I didn't install the extension correctly, or if I'm maybe missing a font or something, but the icons shown in the confirmation HUD do not render correctly for me. Here's a screen shot:

Any idea how to fix it?

Hi thanks for reporting, seems like you don't have sf symbols installed.
installing it should fix this

Shouldn't SF symbols display on every Mac by default?
What MacOS version are you on currently @andrefgneves

@peterdev22 it should, but somehow happened the same to me when we introduced it in the extension (and I was on macOS 13.0)

@peterdev22, I'm on 13.2 Beta (22D5038i).
Installing the SF Symbols app fixed it. Thank you!


fix(material/checkbox): unable to focus checkbox with tooltip

Fix bug in Angular Material 'checkbox' with tooltip. Checkbox with tooltip cannot be focused by tab key.
related to: https://github.com/angular/components/issues/15294

Closing since this would break the overall accessibility of the checkbox.


csm_install

[x] 404 when installing gcloud
[x] missing_set is included in the list of available commands
[x] Invalid file type  for npm-example

Closing this issue since all are fixed. The invalid file type error is fixed in dev release.


Vectorized Paeth filtering (multiple pixels at the same time)

Most PNG decoders (including the one in Wuffs from what I can see) use a pixel-by-pixel approach to filtering, and may use SIMD for parallelism across the channels of a pixel. However, it is possible to use SIMD to apply the Paeth filter to multiple pixels at once. Not 4 sequential pixels, which would be the neatest case for SIMD but is prevented by dependencies between the pixels, but 4 anti-diagonal pixels. 4 anti-diagonal pixels can be collected together in a vector relatively efficiently by loading 4 rows of pixels, staggered so that the first row has an x-offset of 3 pixels compared to the last row, then transpose those 4 rows (similar to _MM_TRANSPOSE4_PS, but with integer vectors). That produces 4 of those sets of 4 anti-diagonal pixels for the price of 8 shuffles, and after applying the filter another 8 shuffles are needed to un-transpose them (some additional shuffles are needed to update the "top" aka B vector between columns). An anti-diagonal group of pixels does not have dependencies between the pixels in the same group (as a horizontal group of pixels would) so that kind of group can be filtered at the same time using SIMD. All the shuffling is not free but in my tests it was well worth doing.
Some diagrams:

Filtering 4 or 8 rows at the same time (filtering 8 rows at once exposes more ILP) does not fit very naturally onto the "possibly different filter for each row" nature of the PNG format, but it is still possible in cases where the Paeth filter is used for 4 or 8 adjacent rows. The Avg filter can be implemented in a similar manner.
If the Wuffs project is interested in this approach, I'm willing to help integrate it into Wuffs, but I'm really not familiar with the language.

That's an interesting idea. Do you have any numbers on how often "the Paeth filter is used for 4 or 8 adjacent rows" is true?

All the shuffling is not free but in my tests it was well worth doing.

Are you able to link to or share your test code?

Here's some test code just testing the raw filter, assuming that all rows use Paeth: https://gitlab.com/-/snippets/4781267
I don't necessarily have good (representative) numbers on how often it happens that 4 or 8 adjacent rows use the Paeth filter, but across some files from the qoi benchmarking dataset, I have seen some distribution that in many files it does not happen at all, but then in the remaining files it happens a significant number of times.
Here are some stats by qoibench, stbi2 is a modified version of stb_image where I applied this filtering technique:
## Benchmarking images/icon_512/*.png -- 4 runs

## Total for images/icon_512
          decode us   encode ms   decode mpps   encode mpps   size kb    rate
libpng:      1888.1         0.0        138.84          0.00         0    0.0%
stbi:        1118.0         0.0        234.48          0.00         0    0.0%
stbi2:        857.1         0.0        305.86          0.00         0    0.0%
qoi:          478.2         0.0        548.16          0.00         0    0.0%

## Benchmarking images/screenshot_game/*.png -- 4 runs

## Total for images/screenshot_game
          decode us   encode ms   decode mpps   encode mpps   size kb    rate
libpng:      7140.4         0.0         88.65          0.00         0    0.0%
stbi:        6250.4         0.0        101.28          0.00         0    0.0%
stbi2:       5380.9         0.0        117.64          0.00         0    0.0%
qoi:         2223.8         0.0        284.66          0.00         0    0.0%

Here's a histogram of in how many files, a certain percentage of rows were covered by the 4-at-a-time technique, from 1% to 100% but without the bar for 0% which would ruin the scale of the y axis

Here are some stats by qoibench, stbi2 is a modified version of stb_image where I applied this filtering technique:

OK, stbi2 is faster than stb_image, but stb_image does not do SIMD Paeth filtering, right? (It does have some SIMD code, for JPEG decoding, but not PNG.)
Wuffs already does SIMD Paeth filtering (example), even if it's only 1 row at a time and not your 4-at-a-time technique. Do you have a sense of how much faster it would be (compared to a SIMD-using baseline) to adopt your algorithm?

The 4-rows-at-a-time technique also wins in the pure filter-vs-filter (which are both SIMD filters but one is the classic pixel-by-pixel one and the other is the 4-rows-at-a-time one) test by up to 3x on my PC, but I don't have an "integrated" test that compares them in-context

I've got the same idea as @IJzerbaard about a week ago when improving PNG decoding performance in Blend2D. I think it's a great idea to use multiple rows to filter Paeth, but I think the most important is to optimize the DEFLATE decompressor first, because it consumes the most cycles, at least according to perf.
Here are my own benchmarks that compare decoding of libpng, wuffs, spng, stbimage, and blend2d (these are from my local branch, still working on improvements).  The first images are especially interesting as they contain dozens of dynamic Huffman tables so the decompressor can bottleneck on Huffman table building if fast-bits is too high. My aim is to match libdeflate in DEFLATE performance - then I think further filter optimizations make sense.
For comparison, here is a comparison with QOI:
[qoi_ref  ] qoi/dice.qoi            : Decode  0.817 [ms] | Encode  1.246 [ms]
[magicqoi ] qoi/dice.qoi            : Decode  0.607 [ms] | Encode  0.743 [ms]
[wuffs 0.4] qoi/dice.qoi            : Decode  1.802 [ms] | Encode  0.000 [ms]
[blend2d  ] qoi/dice.qoi            : Decode  0.538 [ms] | Encode  0.635 [ms]

[qoi_ref  ] qoi/edgecase.qoi        : Decode  0.017 [ms] | Encode  0.032 [ms]
[magicqoi ] qoi/edgecase.qoi        : Decode  0.006 [ms] | Encode  0.008 [ms]
[wuffs 0.4] qoi/edgecase.qoi        : Decode  0.049 [ms] | Encode  0.000 [ms]
[blend2d  ] qoi/edgecase.qoi        : Decode  0.003 [ms] | Encode  0.007 [ms]

[qoi_ref  ] qoi/kodim10.qoi         : Decode  2.020 [ms] | Encode  2.422 [ms]
[magicqoi ] qoi/kodim10.qoi         : Decode  1.932 [ms] | Encode  2.641 [ms]
[wuffs 0.4] qoi/kodim10.qoi         : Decode  1.786 [ms] | Encode  0.000 [ms]
[blend2d  ] qoi/kodim10.qoi         : Decode  1.079 [ms] | Encode  1.502 [ms]

[qoi_ref  ] qoi/kodim23.qoi         : Decode  1.977 [ms] | Encode  2.505 [ms]
[magicqoi ] qoi/kodim23.qoi         : Decode  1.932 [ms] | Encode  2.731 [ms]
[wuffs 0.4] qoi/kodim23.qoi         : Decode  1.756 [ms] | Encode  0.000 [ms]
[blend2d  ] qoi/kodim23.qoi         : Decode  1.066 [ms] | Encode  1.488 [ms]

[qoi_ref  ] qoi/qoi_logo.qoi        : Decode  0.084 [ms] | Encode  0.202 [ms]
[magicqoi ] qoi/qoi_logo.qoi        : Decode  0.022 [ms] | Encode  0.042 [ms]
[wuffs 0.4] qoi/qoi_logo.qoi        : Decode  0.292 [ms] | Encode  0.000 [ms]
[blend2d  ] qoi/qoi_logo.qoi        : Decode  0.014 [ms] | Encode  0.045 [ms]

[qoi_ref  ] qoi/testcard.qoi        : Decode  0.082 [ms] | Encode  0.137 [ms]
[magicqoi ] qoi/testcard.qoi        : Decode  0.051 [ms] | Encode  0.069 [ms]
[wuffs 0.4] qoi/testcard.qoi        : Decode  0.209 [ms] | Encode  0.000 [ms]
[blend2d  ] qoi/testcard.qoi        : Decode  0.031 [ms] | Encode  0.053 [ms]

[qoi_ref  ] qoi/testcard_rgba.qoi   : Decode  0.082 [ms] | Encode  0.145 [ms]
[magicqoi ] qoi/testcard_rgba.qoi   : Decode  0.049 [ms] | Encode  0.069 [ms]
[wuffs 0.4] qoi/testcard_rgba.qoi   : Decode  0.209 [ms] | Encode  0.000 [ms]
[blend2d  ] qoi/testcard_rgba.qoi   : Decode  0.031 [ms] | Encode  0.054 [ms]

[qoi_ref  ] qoi/wikipedia_008.qoi   : Decode  5.684 [ms] | Encode  5.964 [ms]
[magicqoi ] qoi/wikipedia_008.qoi   : Decode  5.185 [ms] | Encode  6.623 [ms]
[wuffs 0.4] qoi/wikipedia_008.qoi   : Decode  4.720 [ms] | Encode  0.000 [ms]
[blend2d  ] qoi/wikipedia_008.qoi   : Decode  2.726 [ms] | Encode  4.446 [ms]

The article I wrote here is already outdated with numbers (the perf of blend2d improved since then):

https://blend2d.com/blog/qoi-image-codec.html

In general when both PNG and QOI decoders are optimized to the bone the average decoding time is not that far. Both PNG and QOI are annoyingly scalar when it comes to decoding (impossible to do more work ahead of time as everything depends on past work).


Use OCP registries.conf for disconnected deployments

This change adds functionality to check for ImageContentSourcePolicy in the OCP cluster. If we find it, we infer from its existance that we are running in a disconnected OCP deployment. If this is indeed the case, we will pull the registries.conf file from the MachineConfig and use this for our dataplane nodes configured via edpm_ansible.
Jira: https://issues.redhat.com/browse/OSPRH-10303

Go 1.21 and release-4.16 allowed me to use the MachineConfig CRD from openshift/api which we already have a dependency on:
https://github.com/openshift/api/blob/release-4.16/machineconfiguration/v1/types.go#L301
So, we will need to wait until the Go upgrade PR merges before we look at this one. It should reduce the size of the PR once that other one is merged.

/hold

Failure is:
❯ curl -s "https://logserver.rdoproject.org/98/1098/0ef0806ac21876cddc079be6c4a6d8f4d70dca6c/github-check/podified-multinode-edpm-deployment-crc/ecd5596/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/crs/openstackdataplanenodesets.dataplane.openstack.org/openstack-edpm-ipam.yaml" | yq ".status.conditions[0]"
lastTransitionTime: "2024-09-26T04:21:07Z"
message: NodeSetDNSDataReady error occurred DNSData.network.openstack.org "openstack-edpm-ipam" not found
reason: Error
severity: Error
status: "False"
type: Ready

It does indeed appear to be there:
https://logserver.rdoproject.org/98/1098/0ef0806ac21876cddc079be6c4a6d8f4d70dca6c/github-check/podified-multinode-edpm-deployment-crc/ecd5596/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/crs/dnsdata.network.openstack.org/
Need to dig deeper to see if this is somehow related. But initial look appears to not be related.

/retest

recheck

/test openstack-operator-build-deploy-kuttl

/test openstack-operator-build-deploy-kuttl

recheck

/test openstack-operator-build-deploy-kuttl

/retest

recheck

recheck


Toggling the Console Does Not Work When Multiple InputEvents Occur

When multiple InputEvents occur during one frame and at least one of the DefaultActions.CONSOLE_TOGGLE, the console won't open.
As producing additional InputEvents is rather uncommon this might not affect most users but guess fixing this might save someone some time:)
Expected Behavior
The console should keep open when pressing the toggle key.
Current Behavior
The console does open but closes after a split-second.
Possible Solution
Replace line 94 in Console.gd with if e.is_action_pressed(DefaultActions.CONSOLE_TOGGLE):.
(InputEvent.is_action_pressed() behaves like Input.is_action_just_pressed(), just some weird naming I guess...)
This will check if e (the actual InputEvent) is the actual toggle event, instead of just any InputEvent that has been emitted in the same frame as the toggle.
Steps to Reproduce

In A project with the addon installed, create an empty scene and attach a script to it.
Add the following code to an additional InputEvents per frame

func _process(_delta : float) -> void:
	var moving_input = InputEventMouseMotion.new()
	Input.parse_input_event(moving_input)

Pressing the console-toggle button will produce the behavior as described.

Thanks for reporting, I'll try to find time to fix this. I'm happy to accept a pr if you'd want to do it :)

I couldn't reproduce but the proposed but the proposed fix totally makes sense


internal/import-licenses-by-python-api

Add python script which will import licenses into the DSpace to the github action.
@Paurikova2 created that python script.

The licenses are already imported when migrating dspace5 to dspace7.
https://github.com/dataquest-dev/DSpace/pull/220


Text editor mode

The text editor mode which is available for projects can be selected for story levels in the admin panel but doesn't show up for users in story levels

Done


Mass-update formatting to PSR2 (cosmetic only)

Updates all code to be PSR-2 compliant, per the new guidelines for Laravel 5.1. Changes are purely cosmetic.

Some of these changes arn't PSR-2, AND you've made some breaking changes to our methods by removing optional parameters. Not sure why you did that?

@GrahamCampbell There was a single instance in src/Illuminate/Queue/IronQueue.php where the optional parameter was followed by a required parameter - you can't have an optional parameter before a required parameter, because by definition to provide the required parameter, you also need to provide the optional parameter.
Are you able to provide (just a few, not all) examples regarding which of these changes you believe not to be PSR-2?

Changing the array stuff isn't PSR-2. Please don't send another PR. We deal with CS on our own internally.

array stuff

There's a lot of 'array stuff' in PHP code - do you have a specific file/line? I'd like to be able to justify any changes you feel are unwarranted.

We deal with CS on our own internally.

Given the amount of code that is not PSR-2 compliant (as demonstrated by the PR), this really doesn't seem to be the case. There's even indentation with 3 spaces instead of 4, that was resolved in this PR.
I'm not trying to cause a fuss, or saying this PR should be accepted, but it does demonstrate that a significant amount of code is not PSR-2 compliant - perhaps this might be better listed as an issue, for you to deal with internally at a later date?

Could you send the indentation fixes please?

perhaps this might be better listed as an issue, for you to deal with internally at a later date?

It's fine - I'm keeping track of this in my head.

:)

Thanks for the response/acknowledgement :)
Indentation fixes submitted as PR https://github.com/laravel/framework/pull/9671


[Precondition & Code cleanup] Refactoring of Job-Actions

I would like to refactor some code around job actions before adding code to allow for a "craft" action. This would allow me to add crafting-related code without making the code messy.
I would like to do the following:

Refactor job actions into multiple classes AbstractAction, BreakAction, FishAction, etc.
Refactor loading of the job actions
~Create CraftItemAction which then should be able to differ between items by ID and specified keys~ Better to do that in a dedicated PR.
Refactor break, place, ... listeners into custom watcher classes to move the code out of the JobManager

Comments?
@Erigitic ?

Updated the job information display:


Multiple type validation in new compiler

I have a query, that receives list of nodes of multiple types. And these types contain different fields:
fragment messagesListResponse on Driver {
    messages(after: $after, before: $before, first: $first, last: $last, filters: $filters) {
        edges {
            cursor,
            node {
                ...centerMessage
                ...driverMessage
            }
        }
    }
}

fragment centerMessage on IncomingMessage {
    id,
    title,
    body,
    type,
    status,
    sendTime,
    expirationTime
}

fragment driverMessage on OutcomingMessage {
    id,
    body,
    sendTime
}

It worked well with an old compiler, but it doesn't work with a new one.
As I understand, the reason for that is in different approaches:
Here is a generated mapper's code of the old compiler version:
public static final class Mapper implements FragmentResponseFieldMapper<Fragments> {
        final CenterMessage.Mapper centerMessageFieldMapper = new CenterMessage.Mapper();

        final DriverMessage.Mapper driverMessageFieldMapper = new DriverMessage.Mapper();

        @Override
        public @NotNull Fragments map(ResponseReader reader, @NotNull String conditionalType) {
          CenterMessage centerMessage = null;
          DriverMessage driverMessage = null;
          if (CenterMessage.POSSIBLE_TYPES.contains(conditionalType)) {
            centerMessage = centerMessageFieldMapper.map(reader);
          }
          if (DriverMessage.POSSIBLE_TYPES.contains(conditionalType)) {
            driverMessage = driverMessageFieldMapper.map(reader);
          }
          return new Fragments(centerMessage, driverMessage);
        }
      }

And here is the same part, but with a new version:
public static final class Mapper implements FragmentResponseFieldMapper<Fragments> {
        final CenterMessage.Mapper centerMessageFieldMapper = new CenterMessage.Mapper();

        final DriverMessage.Mapper driverMessageFieldMapper = new DriverMessage.Mapper();

        @Override
        public @NotNull Fragments map(ResponseReader reader, @NotNull String conditionalType) {
          CenterMessage centerMessage = centerMessageFieldMapper.map(reader);
          DriverMessage driverMessage = driverMessageFieldMapper.map(reader);
          return new Fragments(centerMessage, driverMessage);
        }
      }

As we can see, using previous version, Apollo checks validity of the type and always return Fragment with either one of objects or 2 nulls.
But newest version does't have that checking part. So it tries to map response to all available types, but fails, because these models contain different field, so when, for instance, OutcomingMessage is available in reader, it tries to crate centerMessage using that reader. OutcomingMessage  contains own preset of fields, so mapper consumes id, because id is available in OutcomingMessage as well, but it fails when trying to access to title field, because it doesn't exist for that type of object.
Is it an expected behavior, that new code generator skips that check part or you're planning to restore it in next releases?

Could you please try the snapshot version as it supposed to be addressed via https://github.com/apollographql/apollo-android/pull/1608

Have tried.
Snapshot version 1.2.0 works correctly, generates the same code as in the previous version of mapper.


Flatpak distribution

The flatpak distribution shows at 0.5.0 whereas the actual release is at 0.7. The release on Flatpak furthur shows it as last being updated/committed to on three years ago. Could you perhaps update the app on Flatpak as well? I would have used the .deb version but sadly am not on a Debian based distro currently.

I don't maintain the Flatpak release. I will attempt to reach out to the person and see if I can take it over.

@hadess Hey. I believe you set up this project on Flathub back in #42. Could you please transfer it to me?

I can't transfer it, but I can request for you to be added as a maintainer. Best of luck trying to update it, I've spent too many evenings trying to do just that.

Done in https://github.com/flathub/tech.feliciano.pocket-casts/pull/10


[AMBARI-24038 HDFS] Metrics shows all blocks as 'Corrupt Replicas'

What changes were proposed in this pull request?
STR

Deployed a cluster with HDP-3.0 and Ambari-2.7 (or upgrade from HDP-2.6 to HDP-3.0)
Go to HDFS Summary page
Observe the count of blocks under 'Corrupt Replica'

Result
All blocks show as corrupt
How was this patch tested?
UI unit tests:
21800 passing (30s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2605/
Test PASSed.


fix: 除导出外,attribute使用key显示

配合pr：https://github.com/opendatalab/labelU-frontend/pull/5

:tada: This PR is included in version 1.0.0-alpha.2 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.2 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.1 :tada:
The release is available on:

GitHub release
v1.0.0-alpha.1

Your semantic-release bot :package::rocket:


Feature/change user type masthead

Changing the type of the user element in the masthead.

Closing the PR after resolving issues reported!


Add ASDF build

Could you add instruction?

I would check with Gabe whether he wants his email published on the intarwebz first.

@Slids Can you check with Gabe ? I'm afraid that putting one's name in the sources, more that the official recognition, means that one will start receiving bug reports and other types of requests (especially since Lisp gRPC is high visibility).

he's yet to respond so nvm...


Wishlist: etcher-cli build for ARM platform (Raspberry Pi Raspbian OS)

It would be useful to run etcher-cli from an RPi.

Hi @Liontooth ,
Thanks for reaching out. Etcher already builds fine on armhf, however we're having a very hard time making Travis CI build it for that arch (see https://github.com/resin-io/etcher/pull/1482).
Until the issue is sorted,  you can run the project from source as described in https://github.com/resin-io/etcher/blob/master/docs/CONTRIBUTING.md

Why cannot you just have few arm boards with build agents on them?
I understand Travis is free, but how many build agents do you need to own and have something like drone.io on them either onsite or in the cloud like scaleway. I am doing both for syncloud.org and will never go back to Travis.

@cyberb we do have ARM build servers, and will eventually get around to building & packaging for ARM, but there are some other, a little more involved things to sort out first unfortunately – mainly electron-builder and some dependencies not supporting ARM


Bug: download complete return me an empty file

1.download a file
2. delete the file in file system after download complete
3.download this file again
result: Fetch will return me an empty file and complete callback was invoked

@shuwenyouxi  I am also facing this issue.
@tonyofrancis please look into this

Same issue here

I done small investigation, the problem occurs when the file url and filename is the same with each download. Only first download happen, next request will be completed instantly with file size 0B. I guess this is something about storing ids somewhere - ids are generated by hashcode of url and filename, so if any of them doesnt change the id will be the same as requests before.

Yes mostly because fetch doesn't check file existance when we try to add download with same filename as previously completed download.
Fetch only check if any download with this filename present or not and if present it will just move new request to completed downloas as default behavior of UPDATE_ACCCORDINGLY enque action.

@maulik9898 is correct! What you need to do is set enableFileExistChecks(true) on the fetchConfiguration or use a different enqueue action. See enableFileExistChecks(true) documentation. EnableFileExistChecks is off by default.
      final FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(this)
                .enableFileExistChecks(true)
                .enableRetryOnNetworkGain(true)
                .setDownloadConcurrentLimit(3)
                .build();
        final Fetch fetch = Fetch.Impl.getInstance(fetchConfiguration);

@maulik9898 is correct! What you need to do is set enableFileExistChecks(true) on the fetchConfiguration or use a different enqueue action. See enableFileExistChecks(true) documentation. EnableFileExistChecks is off by default.
      final FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(this)
                .enableFileExistChecks(true)
                .enableRetryOnNetworkGain(true)
                .setDownloadConcurrentLimit(3)
                .build();
        final Fetch fetch = Fetch.Impl.getInstance(fetchConfiguration);

But the checks fileExistChecksEnabled is true default, in the source code latest
const val DEFAULT_FILE_EXIST_CHECKS = true

@alvince You are correct!. That was my mistake. File checking is enabled by default. The issue is with the enqueue action. The default is update_accordingly. It should be set to a different option.

@alvince You are correct!. That was my mistake. File checking is enabled by default. The issue is with the enqueue action. The default is update_accordingly. It should be set to a different option.

I think it was effected by file checking, and fixed it. #410

@alvince  provided a fix. It will be pushed in the next release.

@tonyofrancis May I known the time of next release

Still issue persists
My config
   FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(context)
            .enableFileExistChecks(false)
            .enableHashCheck(false)
            .setAutoRetryMaxAttempts(30)
            .setDownloadConcurrentLimit(20)
            .build();

First time downloading fine. Next time it will return success result. but file empty (0KB)

Still issue persists
My dependency
implementation "androidx.tonyodev.fetch2:xfetch2:3.1.4"
My config
   FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(context)
            .enableFileExistChecks(false)
            .enableHashCheck(false)
            .setAutoRetryMaxAttempts(30)
            .setDownloadConcurrentLimit(20)
            .build();

First time downloading fine. Next time it will return success result. but file empty (0KB)
Tried this too. .enableFileExistChecks(true) && .enableHashCheck(true) but same result

waiting for this long time


Update providers.xml

I intended to update #3335. But that seems to have closed the PR. So here is the rewritten version that keeps the changes to a minimum.

wow. @cketti thanks


Auto reload ipynb when updated on disk

I'm building this PowerShell module https://github.com/dfinke/PowerShellNotebook.
One feature, it has a DSL to create PS Notebooks.
Does Azure Data Studio have the feature that reloads the ipynb  when it gets updated on disk? If not, it'd be very handy.

Not yet unfortunately. We're tracking this ask with #8522 and intend on addressing this concern. Thanks!


Updating support lib to 25.4.0

Updated support lib to the latest stable release.
Added the new Google Maven Repo.

Well, this doesn't really update the lib 😄 . You have to replace the source of the Blueprint classes and run the generator to generate the new source.
Nice try anyways, I'll update it for you :P

There you go! 25.4.0 is out

thanks :)


Decide on name/pfp for the bot

Bow about Botty McBotface?

Honestly, I know "CS Bot" is generic and supposed to be temporary, but it's rather fitting for a CS-major-collab-project for the CS-major-Discord.

I find "CS Bot" to be a little too bland for my tastes, personally. Some good ideas have been thrown around in the discord, I say we select a number from there and let the general server decide (and then if they pick the wrong one, we can just pick what we want).


Determine how to store METS files in VHS

I think this is done, right? At least, the “Determine” part – we’ll be storing the full XML files, with pointers from the DynamoDB index.


Samurai.PT Family

name: Samurai.PT Family
key: SamuraiPT
color: Yellow
emblem: Traditional_Star_06.png

info:
  logo: https://images.app.goo.gl/sPbJwVPEij82FQKA8

  description: >
    **Samurai.PT** is a _Portuguese_ team, that was founded in the 4th of December 2018.
From the very beginning we've always been an united clan with great ambition. As a team we aspire to be one of the best and the most feared team in Portugal!
We also aim to participate in national Clash Royale tournaments.

  social:
    - twitter: https://www.twitter.com/SamuraiPT1
    - discord: https://discord.gg/EWxfsGq
    - twitch: http://www.twitch.tv/teamsamuraipt
    - reddit: https://www.reddit.com/u/TeamSamuraiPT
    - youtube: https://www.youtube.com/channel/
    - website: https://samurai-pt0.webnode.pt/
    - instagram: https://www.instagram.com/teamsamurai.pt/
    - facebook: https://m.facebook.com/SamuraiPt
    - twitch: https://twitch.tv/
    - youtube: https://www.youtube.com/channel/
    - application: https://samuraipt.teamapp.com/
    - email<EMAIL_ADDRESS>clans:
  - name: Samurai.PT
    tag: 9VVR0VQP
  - name: Samurai.PT 2
    tag: PG89V9CP

nome : Samurai.PT
Chave da família : SamuraiPT
cor : Emblema amarelo
 : Traditional_Star_06.png

info :
   logo : https://images.app.goo.gl/sPbJwVPEij82FQKA8

  description : >
    ** Samurai.PT ** é uma equipe _Portuguese_, fundada em 4 de dezembro de 2018.
Desde o início, sempre fomos um clã unido com grande ambição. Como equipa, aspiramos ser uma das melhores e mais temidas equipas de Portugal!
Também pretendemos participar de torneios nacionais de Clash Royale.

  social :
    - twitter : https://www.twitter.com/SamuraiPT1
    - discórdia : https://discord.gg/EWxfsGq
    - twitch : http://www.twitch.tv/teamsamuraipt
    - reddit : https: //www.reddit .com / u / TeamSamuraiPT
    - youtube : https://www.youtube.com/channel/
    - site : https://samurai-pt0.webnode.pt/
    - instagram : https://www.instagram.com/teamsamurai .pt /
    - facebook : https://m.facebook.com/SamuraiPt
    - twitch: https://twitch.tv/
    - youtube : https://www.youtube.com/channel/
    - aplicativo : https://samuraipt.teamapp.com/
    - e - mail<EMAIL_ADDRESS>clãs :
  - nome : Samurai.PT
    tag : 9VVR0VQP
  - nome : Samurai.PT 2
    tag : PG89V9CP

Excuse me.  I closed unintentionally.  Confirm when to update please

name: Samurai.PT Family
key: samuraipt
color: yellow
emblem: Traditional_Star_06.png

info: Recrutamentos apenas por Facebook ou Discord
  logo: https://photos.app.goo.gl/rBcgxfr11RNjeu7m7

  description: >
    **Samurai.PT** is a _Portuguese_ team, that was founded in the **4th of December 2018**.
From the very beginning we've always been an united clan with great ambition. As a team we aspire to be one of the best and the most feared team in **Portugal**!
We also aim to participate in national Clash Royale tournaments.
  Se achas que tens o perfil para te juntares a nossa família, envia-nos mensagem pela nossa página facebook ou Discord.

  social:
    - twitter: https://www.twitter.com/SamuraiPT1
    - discord: https://discord.gg/EWxfsGq
    - twitch: http://www.twitch.tv/teamsamuraipt
    - reddit: https://www.reddit.com/u/TeamSamuraiPT
    - youtube: https://www.youtube.com/channel/
    - website: https://samurai-pt0.webnode.pt/
    - OmletArcade: https://omlet.gg/profile/samurai.pt
    - instagram: https://www.instagram.com/teamsamurai.pt/
    - facebook: https://m.facebook.com/SamuraiPt
    - twitch: https://twitch.tv/
    - youtube: https://www.youtube.com/channel/
    - application: https://samuraipt.teamapp.com/
    - email<EMAIL_ADDRESS>clans:
  - name: Samurai.PT
    tag: 9VVR0VQP
  - name: Samurai.PT 2
    tag: PG89V9CP
  - name: Samurai.PT 3
    tag: Y0C2P8GG

update please:
-color
-info
-description
-email "link error"
thank you :)


refactor: sharky rewrite

Checklist

[x] I have read the coding guide.
[ ] My change requires a documentation update, and I have done it.
[x] I have added tests to cover my changes.
[ ] I have filled out the description and linked the related issues.

Description

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

This change is

This sharky implementation does not have guaranties which shard and location is returned next. As an outcome this could lead to 1) probably more cache invalidation (on hdd/ssd level); and 2) fragmented data. Would it make sense to have sharky to always return first available location in consistent order? This way disk IO will probably hit same sector(s) on disk (probably having cache hit).

Order of writes does not guarantee order of reads however. We cannot tell which chunk will be retrieved in the future, so it does not matter which shard we place them.
That being said, there is a some benefit in having shards store only a certain PO.
For example, when the node is calculating the reserve sample and is going through the entire reserve, reading the shards in order could be a great optimization.

Consider this again after the major localstore releases.


Remove now unused MONGODB_NODES env var for manuals-publisher

We switched manuals-publisher to use MONGODB_URI in this PR. This change was deployed to production at approx 11:50 on 31 Mar 2017. So it should now be safe to remove the MONGODB_NODES env var.
In order to ensure I didn't miss anything, I created this commit by reverting the following two commits and squashing into one:

Write MONGODB_NODES for manuals-publisher correctly
Provide a list of mongodb hosts for manuals-publisher

@steventux: Thanks for reviewing. I'll get it merged shortly.

Now that alphagov/manuals-publisher@1ed50777cb079e0d136e880c65d7c64e0fad4023 has been deployed to production, it's safe to merge this PR. I'm going to rebase it against master and force-push in preparation for merging.


Decorators Loosing this Reference

Hello,
Im trying to build a decorator like this
export function Relational<T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) {
  const set = descriptor.set;
  descriptor.set = function (value: any) {
      const type = Reflect.getMetadata('design:type', target, propertyKey);
      set(new type(value));
  }
}

I have this class implemented:
export class MyComponent {
  // some logic here
}

export class MyClass {
  private _kind;

  @Relational
  @Reflect.metadata('design:type', MyComponent)
  set kind(value: Component) {  this._kind = value; }
  get kind() { return this._kind; }
}

But when i run this code im getting this error:
TypeError: undefined is not an object (evaluating 'this._kind = value')

Using the debugger this is undefined, is this a expected behavior?
Im following a Decorator example on the cookbook.

That's just how JavaScript this works. Either you call it as a method and get this set to the object the method was called on, or you call it as function and this is undefined or the global object.
You need to explicitly pass the this-reference to the setter:
set.call(this, new type(value));

But if i just pass this on this set.call(this, new type(value))
this in this context is the function context, the function doesnt know what is _kind.
need to access the current instance of the object that im working in.
is that possible?

your function (value: any) is assigned to the object instance. Therefore it has the correct this reference during execution.
Did you try my suggestion?

need to access the current instance of the object that im working in.

Does the target variable work? I think that one should reference the object you're working in.

Hello again, i think i could do the decorators following your help
import "reflect-metadata";

export function Relational() {
  return function(target: Object, propertyKey: string, descriptor: PropertyDescriptor) {
    let type = Reflect.getMetadata("type", target, propertyKey);

    descriptor.get = function(this: any) {
      return this[`_${propertyKey}`];
    }

    descriptor.set = function(this: any, value: any) {
      this[`_${propertyKey}`] = new type(value);
    }
  }
}

export class Bar extends Base {
  public some: string;
}

export class Foo extends Base{
  private _bar: Bar;

  @Relational()
  @Reflect.metadata('type', Bar)
  set bar(b: any) {  }

}

I think that was what @ajafff was talking about the this on the function!
Thanks for the help guys!


Clear session for arbitrary user

I'm trying to implement a way for admins on my site to log out any user (eg. if the user lost their device).
How would I be able to achieve this? I tried looking for ways to clear the session for an arbitrary user, but couldn't really find any reliable info.

You would need to clear the persist_code in the users table. This will effectively log any active users out.

Awesome! Thanks.


fix: make chat model detection from server more robust

We added a few guardrails depending on the response from the server. Especially if there is less or more than one model being available on the server.
Followup of #911.
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

It looks like this change is handling a case that we know will never happen. I'm not sure if it's worth it. Do you see a case where the new code path could occur? Or are you thinking this is to protect against changes in our default serving support that might be serving multiple models in the future?
There is a related change that is needed - #1102. That PR is trying to add validation of the requested model name when something specific is requested.

It looks like this change is handling a case that we know will never happen. I'm not sure if it's worth it. Do you see a case where the new code path could occur? Or are you thinking this is to protect against changes in our default serving support that might be serving multiple models in the future?
There is a related change that is needed - #1102. That PR is trying to add validation of the requested model name when something specific is requested.

The way I see it is more of a future-proof code for upcoming features. This code is not changing the current behavior but it could catch potential errors or misconfiguration in the future.
I think #1102 is important.

I feel a bit odd about merging this, knowing it'll never run and that we have no way to test it. It is certainly an area worth looking at if / when we change the server behind ilab serve, but I think right now my preference would be to leave the code as-is, focused on the currently expected behavior.

Closing based on https://github.com/instructlab/instructlab/pull/1127#issuecomment-2110294586


Example of using IDL with hertz and javascript/typescript

Describe the Question
Hello, thanks for your excellent work. I'm using hertz to build systems with IDL. It works well on the backend, but when IDL changed, I have to manually modify the js/ts code of frontend. I want to know if there is some way we could do this work more automatically. I searched the world and find some repos which can generate js/ts with IDL, but hz annotation does not works.
Reproducible Code
Give examples for generating js/ts code with using thrift/protobuf as IDL, and annotation should work.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your question.
Hertz version:
Please provide the version of Hertz you are using.
Environment:
The output of go env.
Additional context
Add any other context about the question here.

My understanding is that IDL is not very friendly to JavaScript, so I use IDL to convert to OpenAPI, and then convert to JavaScript.

My understanding is that IDL is not very friendly to JavaScript, so I use IDL to convert to OpenAPI, and then convert to JavaScript.

thanks for your reply. are you using protobuf with https://www.cloudwego.io/docs/hertz/tutorials/toolkit/plugin to gen openapi? how to do with thrift, I understand that thriftgo seems only support go language now...
and could you share which tool  you  used to covert openapi to js/ts?

Right now thriftgo does not have a plugin that generates openapi for "thrift", but you can investigate if there are other similar tools.
We don't currently offer a thrift to typescript conversion. Can you be more specific about the scenario? I'll do a research.

Previously we were using documentation to communicate API changes, now we want to use the features of hertz and IDL to do this.
hertz adds some annotations to IDL to generate Method and Path etc. in the code, this feature I understand should be achieved through hz as a protoc plugin. Currently we find some protoc plugins that generate js/ts but none of them support hz annotations, resulting in only being able to use the models generated by these plugins, and not the Service.
I hope to use this scenario as an example to add support for other language generation, for example, in the refactoring process, which may be refactored module by module, then microservices in other languages now only could use the idl generated model when using the idl provided by hertz, without the ability to have a client-like encapsulation.

@Rainshaw Thank you very much for your trust!
If you are already using hertz in production, please let us know - we will provide high-quality support for the needs of enterprise users - all you need to do is just reply this issue 🤗


Change requirements to 'Django>=1.11,<3.3'

We had <=3.2, which doesn’t work for >=3.2.1.
<3.3 works for 3.2.*.

I guess the requirement for  'Django>=1.11,<=3.2' was set by mistake, as it matches 3.2, but not the bug fix and security releases 3.2.* from 3.2.1 on.

LGTM

We were also bitten by this, please consider merging this PR. :pray:

Thank you! Any chance of releasing a new point release to PyPi, please? :pray:

@mbi I'm afraid I don't have access to release.

Hi, regarding the release - please join #release-management on [Slack] (https://www.django-cms.org/slack) where we can discuss next steps with our contributor team. The django CMS project is completely community driven. For this reason, we all need to work together to find a solution. Pypi access is currently only in the hands of a handful of people (for obvious reasons) - but except for django-cms, the releases for other packages are not really organized at the moment. We need to change that.


Support Gather and don't reshape scalar to [1]

@fdwr, PTAL, thanks!

Thanks @fdwr, comments addressed, PTAL again.


auth flow v2

What: auth flow v2.
The goal is to reduce the steps the user needs to do in order to create their account.
Why: Fixes https://app.asana.com/0/1168997577035609/1199660205574021 and https://app.asana.com/0/1168997577035609/1199201588072535
How:

implement a new auth flow
sync location details correctly

Media:
https://www.loom.com/share/73d6453317c54dfaba47082b030b5196

Where I get lost is that Discourse prompts the user to log with username and password but you actually don't have a password and you need to know about "login with email"? (min 1:44 of your video)

Where I get lost is that Discourse prompts the user to log with username and password but you actually don't have a password and you need to know about "login with email"? (min 1:44 of your video)

Yeah I agree is confusing, but I think we can take some ideas from Slack to make it easier for users to see this "Magic link" email to log in to their accounts

I'll create a ticket to follow up.


drag&drop to upload

Following: https://github.com/atom/electron/issues/2433
ref:  https://github.com/atom/electron/blob/master/docs/api/tray.md#event-drop-files

sweet! :+1:

[X] drop and upload a file to IPFS
[ ] drop a collection of files (needs multipart to be fixed on node-ipfs-api -> https://github.com/ipfs/node-ipfs-api/pull/35)
[ ] make a nice UI for file upload

can we not use https://github.com/feross/drag-drop for this?

@whyrusleeping not quite. We want to be able to drop to the tray icon, which isn't an html element.
It's working though, electron has some nice features that enable it (check drag-drop branch). Just missing a nice UI with bars and stuff spinning while it uploads (+ unicorns) and also a 'multi files' upload at the same time.

[x] Copy to the clipboard
[x] Show on the menubar
Need to make this look good

I'll design something tomorrow.
On Sun, Aug 9, 2015 at 9:38 AM, David Dias<EMAIL_ADDRESS>wrote:

[x] Copy to the clipboard
[x] Show on the menubar
Need to make this look good
[image: image]
https://cloud.githubusercontent.com/assets/1211152/9153952/47c8b9f0-3e7a-11e5-83b1-749c3fbcc423.png
—
Reply to this email directly or view it on GitHub
https://github.com/ipfs/electron-app/issues/26#issuecomment-129130302.

Thank you @jbenet :)
All the code is in this branch, the current design looks like this:

The blue charging bar is while it uploads a file

Added multiple file upload on the branch settings PR -> https://github.com/ipfs/electron-app/pull/32 Let's follow all of this there


dev.near.org search results improvement

@shelegdmitriy should this go here if it is related to another site?