Support Win32

Hello,
Please publish v0.1.0 for 32-bit windows.

Why are you still on 32-bit OS?

I using 64-bit OS but in my office, there are many old computers (32-bit).
These old computers are responsive to the needs of employees, so they do not upgrade.
It is also expensive to upgrade computers.
The telegram is a popular Iranian messenger but has been censored by the Iranian government.
If the project continues to support 32bit OS, My friends can use the telegram.
Thanks.
(Sorry for my bad English)

I see. Please try the latest v0.2.0 release. However I have to point out that Go does not seem to work too well on 32-bit platforms and if there are any problems with the build, you're on your own to fix them.
(Don't worry my Iranian friend, your English is very good :)

I see. Please try the latest v0.2.0 release. However I have to point out that Go does not seem to work too well on 32-bit platforms and if there are any problems with the build, you're on your own to fix them.
(Don't worry my Iranian friend, your English is very good :)

Thank you very much. ❤❤❤

Dear @riobard
v0.2.0 have a bug and I can't use it.

See, this is why 32-bit OS sucks 😄 anyway here's a potential fix you could try https://github.com/riobard/go-shadowsocks2/releases/tag/v0.2.1 (I have no idea if it works)

Use this instead https://github.com/riobard/go-shadowsocks2/releases/tag/v0.2.2

See, this is why 32-bit OS sucks 😄 anyway here's a potential fix you could try https://github.com/riobard/go-shadowsocks2/releases/tag/v0.2.1 (I have no idea if it works)

v0.2.1 working fine
Thanks.

Use this instead https://github.com/riobard/go-shadowsocks2/releases/tag/v0.2.2

There is a problem releasing the new v0.2.2

Both files shadowsocks2-win32.zip and shadowsocks2-win64.zip are 64-bit.

Oops, there was a config error in the build script. Please try v0.2.3.

Oops, there was a config error in the build script. Please try v0.2.3.
Dear Rio
Now I using v0.2.3 but the problem persists!

WinXP? I think I know why… the previous build was done by an older version of Go (1.11 I think). The new build was done by recent version of Go 1.13. Go has completely dropped support for WinXP since 1.10. I'm afraid I cannot support ancient Go versions. You could fork this project and build on Go 1.10 instead, but there might be code that requires newer version of Go.

I build from source using below command:
go get -u -v github.com/riobard/go-shadowsocks2

If you like, add this file to your release:
go-shadowsocks2-winXP.zip
Thanks for your support.

Great if it still works on XP!
Actually I'm going to stop releasing binaries from this repository, as it is meant to be more cutting-edge and experimental. People wanting release binaries should use the stable fork at https://github.com/shadowsocks/go-shadowsocks2/ instead.


[Feature Request,Bug] Instagrapi doesn't support Large Sized IGTV uploads yet

VideoTooLongException on a 20+ minute video.
See Notebook to reproduce this issue

Please sponsor the development of this feature if you need it.
5 cups of coffee


Changes babel preset from ES2015 -> env

babel-preset-airbnb was just switched to use babel-preset-env instead of babel-preset-es2015, as a result we need to change the tests here to use the env preset rather than the es2015 preset.
Ran this with npm test and all tests pass.
Fixes #23

Thx for merge!


Updating Babel to latest version

Switch babylon to @babel/parser.

This is done in https://github.com/DanielRuf/esdoc-next/commit/bb8f77e8d8003519762c882415101e2a795e0297

Could it be helpful to avoid warning on optional chaining and private members?


suggest one improvement on rust_profile tutorial

In the Update interface description file part of the rust profile tutorial, I use Edge browser and I find I always trigger download when clicking the provided (.did file)[https://internetcomputer.org/assets/files/profile-54ab75a0d7a1a7b3b3b38861dba2dd6a.did], in order to make this part more reader friendly, I suggest just putting this piece of code inside the text instead of providing a link (just like the next tutorial). Besides, the original type declaration file has some meanless code (maybe due to versioning reason?), I also suggest removing them to improve readers' experience.

Thanks for the suggestion, Kevyn! Can we delete the .did file then? I'd prefer not leaving it in if it isn't referenced anymore. CI will catch it if a link breaks because of that

Thanks for the suggestion, Kevyn! Can we delete the .did file then? I'd prefer not leaving it in if it isn't referenced anymore. CI will catch it if a link breaks because of that

It should be ok to delete the profile.did, I've searched for profile.did in the portal repo and I think only profile-rs tutoral uses this link.

Nice! Can you do that in your branch, please? I don't think I have write-access to it

Nice! Can you do that in your branch, please? I don't think I have write-access to it

Done it. 🥳


Restore setting of L2 MTU and --deviation_omit_l2_mtu

#383

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.677%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1314

Relevant Lines:
1808

💛  - Coveralls

Added clarification for RT-5.1


Bumped to 0.11.4 for ARMv7

I tried building it and running on my Raspberry Pi and I pushed image to Docker hub hermanzdosilovic/ghost:armv7. Everything works as expected.

Temporarily accepting PR - the order and use of npm has to change to support Nodejs LTS.


Some edits (Python 2.6 compat., no websocket by default, some debugging)

Great, thanks for this. I'll have a quick look now and do a quick test over the weekend.

Hello! Did you had any time to review this?

I think "Prevent exception on quit" https://github.com/OliverF/mjpeg-relay/pull/10/commits/986760e74a5bf5156146c147ef6479ca54e9474d is the wrong fix.
IMHO https://github.com/OliverF/mjpeg-relay/pull/13/commits/61df10bcb60dc04db5ce0b0e451e3f5f4d05a026 is the right one.

This seems to be different problems. In 986760e, I'm fixing a bug I think I added in previous commit:
Since you can disable the sockets, there will be exception if at the end you try to close a socket that was disabled on startup.

Well, ok for the requestHandler, but the broadcast variable is a mistake. The diff should be like this:
diff --git a/relay.py b/relay.py
index e2285b3..3014132 100644
--- a/relay.py
+++ b/relay.py
@@ -24,8 +24,10 @@
 # Close threads gracefully
 #
 def quit():
	broadcast.kill = True
-	requestHandler.kill = True
+	if requestHandler:
+		requestHandler.kill = True
 	quitsock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 	quitsock.connect(("<IP_ADDRESS>", options.port))
 	quitsock.close()
@@ -54,6 +56,9 @@ def quit():
 		logging.error("Port must be numeric")
 		op.print_help()
 		sys.exit(1)
+
+	requestHandler = None

 	Status()
 	statusThread = threading.Thread(target=Status._instance.run)

To be honest the whole quit() code is dubious.
Instead of all these foo.kill = True, it'd be code like requestHandler.acceptsock.close()

Here is what I have in mind as a refactoring of the shutdown process: https://github.com/Silex/mjpeg-relay/commit/217904d862cade494d031667d9e30884a9e1e34d

Sorry @Elektordi, I haven't forgotten about this, I've just been very busy lately!
@Silex good catch regarding quitsock. I think you're right, the whole quit process needs re-thinking. Perhaps we could open a new PR for your proposed changes and discuss there?

A'ight :+1:


@click.prevent.self does not prevent all click

Version
2.5.17
Reproduction link
https://jsfiddle.net/jtandy/eywraw8t/501804/
Steps to reproduce
step 1: open console panel in chrome
step 2: click the link "https://cn.vuejs.org"
What is expected?
@click.prevent.self will prevent all clicks. no response to click the link
What is actually happening?
click is executed and print the result in console panel

Order matters when using modifiers because the relevant code is generated in the same order. Therefore using v-on:click.prevent.self will prevent all clicks while v-on:click.self.prevent will only prevent clicks on the element itself.

from https://vuejs.org/v2/guide/events.html

The element <a> has the default browser action that it will open the webpage referred in the href property. The .prevent prevents this default behavior, however it does not stop the propagation of the click event to the parent elements and does not disable the custom event handler set on this element.
More info about event.preventDefault()

This is working as expected.

This is working as expected.

Thanks for comments. I think "using v-on:click.prevent.self will prevent all clicks" in official document is misleading for green hands


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.16.8",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bd6e1b930e12dd8f5d1d84f4d9729c2cce441ebb"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "bd6e1b930e12dd8f5d1d84f4d9729c2cce441ebb",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "drm/amd/display: Update watermark values for DCN301\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.8 by commit bd6e1b930e12dd8f5d1d84f4d9729c2cce441ebb. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000658


Frame numbers for urls of video data

Hello,
I would like to download specific frames of video data associated with an annotation. However, I've found that (1) a frame URL corresponding to an annotation is not embedded in the annotation object and (2) URLs for all frames are grouped together in the data_unit and not in an order corresponding to the frame ordering.
Is there some way to determine to which frame each URL corresponds?  Any help would be appreciated.

Thanks for the response.
My data is of type "dicom" which appears to be treated like video data. Using:
row = get_label_row(label_hash, get_signed_url=True)
data_unit = list(row['data_units'].values())[0]
urls = data_unit["data_links"]`

...I observe urls to be a list of urls corresponding to all slices of the dicom but in no discernible order. Is it the case that there is no way to associate an annotation for a frame in the dicom with that frame's url?
It's true that I can go to the original source for the uploaded data or sometimes find the frame number in the dicom attributes, but it would be convenient to use the urls to get the relevant frames directly from Encord.

Got it @csheaff
Right now, as you have identified correctly, there is no association between the frames and the DICOM files. The reason for this is that DICOM files can have very flexible mappings between one or multiple DICOM files to one of multiple frames.
With that being said, the engineering team is actively looking into this and aiming to release a mapping the next weeks. There is not an exact ETA yet, but I can let you know here once we have released an update.

Thanks @denis-cord .

Hi @csheaff ! Apologies for the late reply on our end. We worked on exporting metadata for DICOM annotations in the label rows; you should now be able to see a new metadata field in each indexed slice and at the data unit level. The slice metadata will contain a link to the DICOM file, the DICOM file's instance UID , and the frame number if the DICOM file is multi-frame, for example:
    "data_units": {
      "3dd...4": {
        "data_type": "application/dicom",
        "labels": {
          "0": {
            "objects": [
              {
                "color": "#D33115",
                "boundingBox": {
                  "h": 0.1236,
                  "w": 0.1709,
                  "x": 0.5388,
                  "y": 0.3677
                }
              }
            ],
            "classifications": [],
            "metadata": {
              "dicom_instance_uid": "<IP_ADDRESS>...4023482721087",
              "multiframe_frame_number": null,
              "file_uri": "https://...ea7",
              "width": 2457,
              "height": 1996
            }
          }
        },
        "metadata": {
          "patient_id": "6af121c8...c2fe921",
          "study_uid": "<IP_ADDRESS>...408371899414",
          "series_uid": "<IP_ADDRESS>...66885"
        },

Could you try opening and saving your labels in the label editor, and then exporting the labels?
(we're working on enabling the metadata for all the existing annotations but at the moment it requires having the annotations saved in a newer version of the label editor)


[Bug]: SimpleDirectoryReader cant recursively find docs

Bug Description
Recursive use of SimpleDirectoryReader doesn't find files:
  File "/Users/User/load.py", line 24, in <module>     loader = SimpleDirectoryReader(              ^^^^^^^^^^^^^^^^^^^^^^   File "/Users/cahier/lib/python3.11/site-packages/llama_index/core/readers/file/base.py", line 223, in __init__     self.input_files = self._add_files(self.input_dir)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/User/lib/python3.11/site-packages/llama_index/core/readers/file/base.py", line 305, in _add_files     raise ValueError(f"No files found in {input_dir}.")
Version
0.10.26
Steps to Reproduce
Use code here: https://huggingface.co/learn/cookbook/rag_llamaindex_librarian
from llama_index.core import SimpleDirectoryReader
loader = SimpleDirectoryReader(
input_dir="./.test/",
recursive=True,
required_exts=[".epub"],
)
documents = loader.load_data()
Relevant Logs/Tracbacks
No response

Personally, I think this is a typo in the guide. It's saving data to a hidden dir .test -- I think it should be ./test
And if it is supposed to be .test, SimpleDirectoryReader has an option for including hidden files, which is by default true
SimpleDirectoryReader(..., exclude_hidden=False)
I'll get the guide updated on huggingface

yes, I have come to this conclusion too I think - why have a test directory called .test?


docs(diagrams) added some much needed diagrams to this repository

Hoping this will make this repository more approachable :)
rendered example without broken images here: https://github.com/Kong/kong-build-tools/blob/doc/diagrams/README.md

:tada: This PR is included in version 4.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Upgrade client-manifest format

Vue2, is using a client manifest with format of:
type ClientManifest = {
  publicPath: string;
  all: Array<string>;
  initial: Array<string>;
  async: Array<string>;
  modules: {
    [id: string]: Array<number>;
  },
  hasNoCssVersion?: {
    [file: string]: boolean;
  }
}

Vue 3:
{
  "main.js": {
    "file": "assets/main.4889e940.js",
    "src": "main.js",
    "isEntry": true,
    "dynamicImports": ["views/foo.js"],
    "css": ["assets/main.b82dbe22.css"],
    "assets": ["assets/asset.0ab0f9cd.png"]
  },
  "views/foo.js": {
    "file": "assets/foo.869aea0d.js",
    "src": "views/foo.js",
    "isDynamicEntry": true,
    "imports": ["_shared.83069a53.js"]
  },
  "_shared.83069a53.js": {
    "file": "assets/shared.83069a53.js"
  }
}

We can probably also find a way to transparently upgrade format

The benefit of the new format (file:meta) is simpler and extensibility (like we can add fields like type: 'module'

To preserev mapping from legacy format for modulesand assetsMapping i think we can use a virtual format so we have { 'module:32154068': { imports: [ 'css/7a3f40f.css' ] } and { '1b1cfc6.js': imports: [ 'asset: '085a35c4' ] }


Fix more outdated information

There is more outdated information in the README file, like saying that the only feature is looking up users.

And also fix a grammatical error


Cask request: Oscilloscope

Cask details
Name: Oscilloscope
Homepage: https://github.com/kritzikratzi/Oscilloscope
Download URL: https://github.com/kritzikratzi/Oscilloscope/releases
Description: A software oscilloscope attempting to mimic the aesthetic of old school ray oscilloscopes

#27279.


Jenkins runs fail on invalid XML: "Invalid byte 2 of 4-byte UTF-8 sequence"

Some Jenkins build runs will fail completely without output like this. No test results or artifacts will be available.
Failed to read test report file /Users/brew/Jenkins/prs/version/yosemite/brew-test-bot.xml
org.dom4j.DocumentException: Invalid byte 2 of 4-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 4-byte UTF-8 sequence.
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    at org.dom4j.io.SAXReader.read(SAXReader.java:264)
    at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:123)
    at hudson.tasks.junit.TestResult.parse(TestResult.java:286)
    at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:232)
    at hudson.tasks.junit.TestResult.parse(TestResult.java:167)

The test output is all included in an XML file, which includes the output of some of the steps. That output, from commands we call, may not be valid XML CDATA, or even valid UTF-8, since we're calling external commands.
The test-bot command attempts to filter out invalid characters but it's apparently not being thorough enough. We need more robust filtering or escaping.
I think the approach in https://github.com/Homebrew/legacy-homebrew/pull/50092 was pretty solid, but needed different syntax, like so.
output = step.output.gsub(/[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u{10000}-\u{10FFFF}]/, "")

And it might be better to replace filtered-out characters with a Unicode "replacement character" placeholder instead of just eliding. Then there'd still be some indication that there was other output there.
References

Blocking https://github.com/Homebrew/legacy-homebrew/pull/49971
https://github.com/Homebrew/legacy-homebrew/pull/50092 was an attempt to fix, but didn't work out
a6b918d6c5cd8a05494002d288f15d9b7b30f9df – original
60055ba8901dfe2844c323101d2e425ce800cf2e – fixup
161a1e286ec238cc9449a1d3e40362ce49e207bc – reverted to old code
Caused breakage in https://github.com/Linuxbrew/linuxbrew/pull/1037#event-612849650

Looks like there are a couple other issues besides the pattern for valid XML characters.
The output from the test steps is buffered one byte at a time, because the IO streams for the pipe are encoded as BINARY.
      begin
        pid = fork do
          read.close
          $stdout.reopen(write)
          $stderr.reopen(write)
          write.close
          working_dir.cd { exec(*@command) }
        end
        write.close
        while buf = read.read(1)
          if verbose
            print buf
            $stdout.flush
          end
          @output << buf
        end
      ensure
        read.close
      end

Since buf is a BINARY aka ASCII-8BIT stream, I think that means each individual byte will be coerced to a UTF-8 character, not code unit, when it's appended to @output. So multibyte UTF-8 characters will be transcoded wrong.
Then later on, long output is truncated. At this point, it's a UTF-8 string, so slice() takes offsets in character counts. But the bounds are calculated in terms of bytes, so they may be off, and it's possible that output with lots of multibyte characters could cause the offsets to fall outside the bounds of the string, erroneously producing nil instead of a substring. Or if there are lots of multibyte characters, the resulting truncated string could still be significantly longer than 1 MB, which could be a problem if that 1 MB is a hard limit.
            if output.bytesize > BYTES_IN_1_MEGABYTE
              output = "truncated output to 1MB:\n" \
                + output.slice(-BYTES_IN_1_MEGABYTE, BYTES_IN_1_MEGABYTE)
            end

Working on fixing those up as part of this.

I think I have a fix for this – https://github.com/apjanke/brew/commit/eb8db209c3a79145be49191978ef2328e602abee. But I don't know how to write a unit test for it, since test-bot is already a testing scaffold, and (I think) is dependent on the state of your local git repos.
Seems to work when I run it locally on my 10.9 and 10.11 boxes. And I found why the issue might be occurring for this case: one of the file names in the akka distribution has spaces and an oddball multibyte character in its name: akka-2.4.2/lib/akka/i have sp+�ces.jar. Looks like it's there to exercise encoding and escaping issues just like this.
When I look at the diff in the output between the current code and my patch, it shows up as different. But I'm having trouble pulling out exactly the difference, because the text editors and stuff I'm working with are probably doing their own invalid-character-replacement stuff.
4784c4784
<   inflating: akka-2.4.2/lib/akka/i have sp+�ces.jar
---
>   inflating: akka-2.4.2/lib/akka/i have sp+�ces.jar

Next up: finding a simple command-line XML validator that I can pass the "before" and "after" brew-test-bot.xml output to, to see if validation is fixed. Preferably one using the same Java XML libraries that Jenkins does. Seems like I ought to know one, but my XML-fu all involves developing big Java programs.

Oh, ha ha: it's just xmllint, included with OS X.
It likes my changes.
[~/tmp/test-bot]
$ xmllint --noout brew-test-bot-orig.xml
brew-test-bot-orig.xml:4784: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xF1 0x63 0x65 0x73
  inflating: akka-2.4.2/lib/akka/i have sp+�ces.jar
                                           ^
[✘ ~/tmp/test-bot]
$ xmllint --noout brew-test-bot-after.xml
[~/tmp/test-bot]
$

@apjanke Nice work on this. When you're happy with it I think it's fine to just push to master for the test-bot.rb to run and just keep an eye on it for a few jobs.

Thank you!
If @xu-cheng is awake, would like to hear his feedback before pushing, since he knows test-bot.

I think you can push it. Looks good to me.

Thanks! I'm about to go to bed. I'll push it in the morning when I'll be around to monitor the test jobs for a while.

Pushed it. I'll be watching the test-bot for the next few hours, and running some additional builds to exercise it.

:clap: Thanks for not only tackling this issue, but also for documenting the process so nicely! Reading this issue was very instructive and insightful.

I pushed the revised version. Since then, some Jenkins runs have been failing with "output not available", but they're Jenkins-level errors saying "GitHub is down for maintenance", so I'm pretty sure it's a coincidence. Will keep an eye on it.


Height issue

Height of textarea and preview should be equal to height of window. There should be no scrollbar.

Solved


[Plugins/Target] Remove differences from upstream.

-> Sort headers correctly.
-> Remove an unneded shared_from_this() call.

@swift-ci test and merge


Readme mentions mysqldbcompare what about mysqldiff

Just wondering if DBDiff has considered https://dev.mysql.com/doc/mysql-utilities/1.5/en/mysqldiff.html

@CMCDragonkai Yep, this was also tested. mysqldbcompare pretty much has the same API as mysqldiff but does more than mysqldiff. However, they both produce diffs that are not satisfactory for any real-world usage.


Youtube links with time attribute doesn't work as expected

When I go to https://youtu.be/d0yGdNEWdn0?t=60 in Helium, video doesn't start from defined seek time. I think the code in here needs some improvement. (I have no experience in swift, that's why I didn't send a PR)

Working on that. I'll submit PR when I get it worked out.


Confusing (misleading?) statement about FHE in README

The README of the SEAL library mentions:

Homomorphic encryption is not a generic technology: only some computations on encrypted data are possible.

Perhaps within a certain scope/context this statement makes sense, but one of the leading FHE libraries making such a blanket negative statement about FHE is dangerous, as people who are not familiar with all the technical details may use such a statement to dismiss FHE as a privacy solution, and opt for another (inferior) privacy-enhancing technology instead. (I have already seen this specific phrase being quoted externally as a reason to dismiss FHE.)
Could one of the SEAL authors explain why this statement is there? And either rephrase it to clarify the context of this statement, or remove it altogether?

How is this sentence negative though? Is it not accurate? This was added to counter unrealistic expectations and hype surrounding FHE. Overpromising and underdelivering is bad strategy and my gut feeling is that FHE being dismissed in some situations because of such a simple quote might just have protected the community from unmet expectations and customer disappointment.
Of course, if the sentence is no longer accurate, then there is a problem that should be fixed. IIRC we already amended it once in collaboration with some others in the industry, but maybe it does need to be refreshed. How would you approach this?

Hi Kim, thanks for the quick reply!
Regarding the quote, I think that "only some computations on encrypted data are possible" is rather negative/restrictive of the potential of FHE, and in my understanding it is not accurate. Sure, FHE does not magically allow you to break RSA or solve the Collatz conjecture, but is there anything we can do with computers that cannot theoretically be done under encryption?
Perhaps more importantly: is there anything that cannot be done under FHE but can be done with other privacy-enhancing technologies, like secret sharing-based multiparty computation?
And conceptually, if it weren't for (current) computational drawbacks, wouldn't it be fair to say that, at least in some contexts, FHE is a generic technology, which can theoretically be used to e.g. turn any outsourced cloud computation to a secure one, given enough time and memory?
Adding a caveat like "(...) only some computations on encrypted data are possible to do efficiently with current FHE implementations" would achieve the same purpose of warning people about expecting too much about the technology at the moment, but also makes it clear that these are not fundamental drawbacks of FHE, and may be addressed in the future.
If I am misunderstanding the meaning of the quote, or if there is an important limitation of FHE I am not considering, feel free to correct me.


Inaccurate Phaser.Display.Color.HSVToRGB algorithm

Version

Phaser Version: v3.22.0

Operating system: Win8

Browser:

Description

When you try to convert HSV-values (those you've got with Phaser.Display.Color.RGBToHSV()) you will get other RGB-values than original. The code inside Phaser.Display.Color.HSVToRGB() resembles what you can find in the HSV to RGB subtitle from HSL and HSV page on Wikipedia, but it obviously lacks proper rounding usage. I'm using only one test case below, but there are many of them.
Example Test Code
var rgb1 = {r: 255, g: 17, b: 20, color: 16716052};
var hsv1 = Phaser.Display.Color.RGBToHSV(rgb1.r, rgb1.g, rgb1.b);
var rgb2 = Phaser.Display.Color.HSVToRGB(hsv1.h, hsv1.s, hsv1.v);
console.assert(
  rgb1.r === rgb2.r && rgb1.g === rgb2.g && rgb1.b === rgb2.b,
  "Colors are not equal:", rgb1, rgb2
);

// Output:
//  Assertion failed: Colors are not equal:
//  {r: 255, g: 17, b: 20, color: 16716052}
//  {r: 255, g: 16, b: 19, color: 16715795}

Additional Information
The better solution to this issue is to adapt algorithm from the HSV to RGB alternative subtitle in HSL and HSV page on Wikipedia. I guess it's more concise. I'll provide pull request to address this issue a little bit later.

If it is required, I could improve my pull request. Just say how.

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


:animationData="require('@/assets/animation.json')" doesn't work with Vite

The Vue 3 example has :animationData="require('@/assets/animation.json')" in the template. However, require fails when using Vite. Is there an alternative way of telling lottie-web-view what animation data file to use?

I found out how to make it work with Vite:
import animationURL from<EMAIL_ADDRESS><lottie-animation
  ref="anim"
  :animationData="animationURL"
/>

Please consider adding this to the Readme.

Hi @rhclayto, thank you for highlighting this issue. I've updated the README in response to your feedback.
Please see: https://github.com/garbit/lottie-web-vue/commit/65fad4684edfeb0002e48aa731c30e2e6f0b941f

Great! Perfect!


Implement ray tracing extensions for GLSL in glsl.meta.slang and bring the parity to HLSL

This task is a subtask from the other issue #3362 , which is a big task.
This issue is to cover a smaller portion of it so that we can work with other people together.
We have "ray-tracing" functionality implemented for HLSL but it is not implemented for GLSL.
The goal of this task is to bring the parity to GLSL as much as slangc already does for HLSL.
The description for the "ray_query" extension can be found from here
The description for the "shader_invocation_reoder" extension can be found from here
The description for the "ray_tracing_motion_blur" extension can be found from here

note: need to add GL_EXT_ray_tracing to the implementation (a 4th raytracing ext)


Fundraising and partician calls mess with the page number?

Are the page number and the layout of the pages with the included participation and fundraising calls handled well?

What exactly do you mean by mess? For example, in the current build (well, of course until 3 am), look at pages 85 to 87. The chapter ends at a page numbered 85, then you have the participation call and the next chapter starts at 87. This is also the page number in the TOC. I can't see anything abnormal here.

My bad... Everythings seems to be alright :-)


Rename OpenXR profiles

Overview
There's no real need (and in fact we have some customer signal that it only leads to confusion) for these profiles to be labeled "Obsolete". They aren't our recommended, default profiles but can provide a solid starting point on OpenXR.

/azp run


add rewards panels and change styles

stat show in the end of plugins
add rewards panels
fix the list padding problem
other panel small adjust

First, I want to start by saying I really appreciate your help in building the plugin!
We're a bit new to this stuff so the code-review might take a bit time.
There seems to be no RewardView file here so the plugin won't build at all, might want to check that.
Our plugin doesn't really run in the background, so we don't really think a log is necessary here.
I'll leave more comments for questions I have, looking forward to your replies!

Okay, once your plugin is ready you can open another pull request, looking forward to it!


Make all binding methods take shared references

Made GodotObject::claim safe.
Removed unsafe variants of Instance::map and map_mut.
try_from_unsafe_base is still unsafe because it uses the pointer.

Close #301
This should be followed up by #390.

Rebased on #417


Disable ZIP64 extensions when not needed

reference: https://github.com/SheetJS/sheetjs/issues/2766
Inspecting the contents of the attached file in the issue, it would seem that NPOI 2.5.1 generated this file.
The file itself uses ZIP64 extensions even though the file does not contain any relevant entry.  To see this, pass the data through xxd to view the bytes:
00000000: 504b 0304 2d00 0000 0800 8359 0c55 3149  PK..-......Y.U1I
00000010: 9811 ffff ffff ffff ffff 0b00 1400 5f72  .............._r

The first file entry has a compressed and uncompressed size of 0xFFFFFFFF and does not have the deferred flag bit set, indicative of Zip64 use.
Strictly speaking, Excel accepts Zip64 extension even when it is not needed.  The file's correctness is not called into question.
However, commit e3d7579afc547d033041f701159d799547b8ba06 appears to turn off ZIP64 extensions.  This landed years before 2.5.1.  Is there some pathway by which ZIP64 extensions are accidentally turned on?

https://stackoverflow.com/questions/23836885/editing-and-saving-xlsx-with-npoi-results-in-a-corrupted-file

From @silvialeung 's test file, the custom properties are:
{ Generator: 'NPOI', 'Generator Version': '2.5.1' }

If the tag for 2.5.1 is on the right commit, ZIP64 extensions should have been disabled: https://github.com/nissl-lab/npoi/blob/2.5.1/openxml4Net/OPC/ZipPackage.cs#L536
                zos.UseZip64 = UseZip64.Off;

Fixed by #958


Enhancement: Verify user with email

What is the status on this?  Is it implemented?

This hasn't been implemented. If you'd like to contribute this feature, that would be great. The only thing is that we should merge #343 first because that will affect the user model. Take a look at #343 and see if you can suggest any changes first, and then we can add in user verification.

Let's make sure we're doing it on 0.4 if possible

@lirantal As part of 0.4.0 or in 0.4.x? I'm assuming you mean 0.4.0 since it would probably be a breaking change.

in 0.4.x I think, because we don't want to add anymore work on the 0.4 branch - we just want to get it out already.

Hey guys, who's in charge for this one? Any proof of concept has been committed or what? If not, let me know.

I'm closing this infavor of the work being done on the related PR https://github.com/meanjs/mean/pull/1382
cc @freemind-


Update server.ts

Fixed issue causing error message, "TypeError: Cannot read property 'output' of undefined"

Coverage remained the same at 93.378% when pulling 7b1684247def8dd9d158d78718fdf60ab68311d7 on david-templeton:master into f4900680b8c885983625052b52f3b50df1c8752e on vpulim:master.

Coverage remained the same at 93.378% when pulling 7b1684247def8dd9d158d78718fdf60ab68311d7 on david-templeton:master into f4900680b8c885983625052b52f3b50df1c8752e on vpulim:master.

Coverage remained the same at 93.378% when pulling 7b1684247def8dd9d158d78718fdf60ab68311d7 on david-templeton:master into f4900680b8c885983625052b52f3b50df1c8752e on vpulim:master.

@david-templeton can you add a test?


feat: support logging level config by DDl (#395)

support logging level config by DDL: SET CONFIG sql loggin.level =

LGTM👍
#403


can i binding query result  to winform gridview

Thanks this lite databse ,can i binding query result  to winform gridview , is there has an example ?

Well let me answer my questionse,
        using (var db = new LiteDatabase(connectionString))
        {
            // Get a collection (or create, if not exits)
            var col = db.GetCollection<T>("filterword"); // here T is your entity
            var docs = col.FindAll();
            griveViewHandle =  docs.ToList();

           }


Consider using a "purl" as the package identifier

Consider redesigning the package identifier as a "puurl" as described at https://github.com/nexB/scancode-toolkit/issues/805#issuecomment-340313273.

The "purl" (not anymore "puurl") specification has its own repository now: https://github.com/package-url/purl-spec

pinging myself to be kept posted on this ticket

For info @stevespringett contributed a Java implementation of Package URLs https://github.com/package-url/packageurl-java

pinging myself to be kept posted on this ticket

Just click the "Subscribe" button on the right next time 😉

In https://github.com/heremaps/oss-review-toolkit/pull/1266 we stopped overriding toString() for Identifier in favor of introducing toCoordinate(). So there is no single "correct" string representation for an Identifier anymore, and https://github.com/heremaps/oss-review-toolkit/pull/1266/commits/68d8c3711a28fe84a7cfdcf29743be43e4af91e8 introduced toPurl() as another string representation that can be used at will.


Update circe-core, circe-jawn, circe-parser, ... to 0.14.4

Updates

io.circe:circe-core
io.circe:circe-jawn
io.circe:circe-parser
io.circe:circe-refined

from 0.14.3 to 0.14.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.circe" }
}]

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

Superseded by #1709.


Issue with code callouts in docs UI

Description
The code callouts are not rendered correctly in the Antora UI when using Highlight.js v11, because Antora 3 only supports v9.
Downgrading to Highlight.js v9 or switching to a different source code highlighter (Prism) might solve it.
Additional context
https://antora.zulipchat.com/#narrow/stream/282400-users/topic/.E2.9C.94.20Escape.20content.20in.20source.20block

Was fixed after updating the UI to be a subtree of the default UI: https://github.com/LiskHQ/lisk-docs/blob/development/ui/package.json#L42


sha256

where is sha256 ？

http_archive(
    name = "bazelpods",
    sha256 = "6cf1183796cff6015dfc2391af6d550c255696022d8bb68a5f6fdd41dc8b6713",
    strip_prefix = "BazelPods-0.9",
    urls = ["https://github.com/sergeykhliustin/BazelPods/archive/refs/tags/0.9.zip"],
)

load("@bazelpods//:repositories.bzl", "bazelpods_dependencies")

bazelpods_dependencies()

You can use this for the time being. Hope it helps. ;)

@gaonian @slice-dharamd
I've added proper release flow. Starting from 0.9.1 correct workspace snippet will be in the release notes. Also added correct archive so no more strip_prefix


Setup PR/CI/CD

The BSS team now has 'admin' rights on the repo - please let me know if this is sufficient for setting up CI/CD or if you need other permissions.


Only configure/reconfigure as necessary

Closes #54

Works like a charm, thanks. This is now much faster for numpy, and the output is only a few lines:
$ ./dev.py build
$ meson compile -C build
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /home/rgommers/mambaforge/envs/numpy-dev/bin/ninja -C /home/rgommers/code/numpy/build
ninja: Entering directory `/home/rgommers/code/numpy/build'
[1/1] Generating write_version_file with a custom command
$ meson install --only-changed -C build --destdir ../build-install


Updated links in Readme

Thanks @delneg! Actually only updated one of the samples to Fable 3 so far 😅 I need to do the rest and update the docs.


Support Docker for Mac

Right now on macOS host when target is not for macOS cross simply does nothing and calls cargo directly. But with Docker for Mac running it should be possible to cross compile to all targets that cross supports using docker.

Sounds good to me! Travis CI doesn't support docker for mac though so there's no way to ensure mac support doesn't break through CI. Also, I don't have a mac so I can't implement this and be sure that it actually works. However, I'm happy to accept patches that add mac support to Cross as long as we document that mac is considered a tier 2 platform that can unintentionally break on new releases.

@griff do you want to implement that? I just had a "it can't be that hard, right?" moment and looked at the code.
The first step is probably to adjust the Host::is_supported method to also check needs_docker().
Then, it's a matter of supplying the docker call with the right toolchain. By default, it seems to just use what rustc --print sysroot says, which is the host's toolchain. Changing this to stable-x86_64-unknown-linux-gnu (for the Ubuntu images; make sure this is installed) would be my first try. Sadly that still doesn't seem to supply the right files for the actual target, and I have not idea where those live. </lunchbreak>

You probably need to install a Linux Rust toolchain on your mac. Something like rustup toolchain add nightly-x86_64-unknown-linux-gnu. Which is a little weird because you can't use that toolchain from the command line since it's a Linux / ELF binary. Then instead of rustc --print sysroot you would have to use something like $(rustc --print sysroot)/../nightly-x86_64-unknown-linux-gnu.
We could make Cross install the Linux toolchain but then Cross would the one picking the Rust channel / version the code will be compiled with.

@japaric yeah, I did that for the second step, but then it doesn't find the target toolchains in the Docker image. (Which is where I stopped debugging it.)

We could make Cross install the Linux toolchain but then Cross would the one picking the Rust channel / version the code will be compiled with.

True, but parsing the current toolchain and installing it with rustup is probably not that hard (think (stable|beta|nightly)(-[\d-]+)?-(.+), only breaks for custom linked toolchains AFAICT). Actually, does Rustup have a --message-format=json flag or something like that? Would be quite helpful!

but then it doesn't find the target toolchains in the Docker image.

Ohh, OK. That makes sense. When you do rustup target on the host you get mac binaries and those won't work on the Linux VM. I think there is some syntax for installing targets for a non-host toolchain using rustup component ... hmm maybe something like $HOST-rust-std-$TARGET. Better check what rustup does on Windows; since there are two toolchains there (GNU and MSVC) it has deal with this somehow.

Sounds good to me! Travis CI doesn't support docker for mac though so there's no way to ensure mac support doesn't break through CI

I am working on rust-azure-pipelines maybe changing from travis to azure pipelines would be a good move? It will alow you test cross on Windows Linux and macOS agents

#131


Refined search tab

This is the exception I get, in the logs. I suppose it has something to do with the map not being there:
E/flutter ( 6445): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, Unable to add window android.view.ViewRootImpl$W@3190612 -- the specified display can not be found, null)
E/flutter ( 6445): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter ( 6445): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:321:33)
E/flutter ( 6445):
E/flutter ( 6445): #2      AndroidViewController._create (package:flutter/src/services/platform_views.dart:640:54)
E/flutter ( 6445): #3      AndroidViewController.setSize (package:flutter/src/services/platform_views.dart:557:14)
E/flutter ( 6445): #4      RenderAndroidView._sizePlatformView (package:flutter/src/rendering/platform_view.dart:174:29)
E/flutter ( 6445): #5      RenderAndroidView.performResize (package:flutter/src/rendering/platform_view.dart:155:5)
E/flutter ( 6445): #6      RenderObject.layout (package:flutter/src/rendering/object.dart:1703:9)
E/flutter ( 6445): #7      RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
E/flutter ( 6445): #8      RenderObject.layout (package:flutter/src/rendering/object.dart:1724:7)
E/flutter ( 6445): #9      RenderStack.performLayout (package:flutter/src/rendering/stack.dart:505:15)
E/flutter ( 6445): #10     RenderObject.layout (package:flutter/src/rendering/object.dart:1724:7)
E/flutter ( 6445): #11     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:163:11)
E/flutter ( 6445): #12     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:477:7)
E/flutter ( 6445): #13     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:232:7)
E/flutter ( 6445): #14     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:391:14)
E/flutter ( 6445): #15     RenderObject.layout (package:flutter/src/rendering/object.dart:1724:7)
E/flutter ( 6445): #16     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
E/flutter ( 6445): #17     RenderObject.layout (package:flutter/src/rendering/object.dart:1724:7)
E/flutter ( 6445): #18     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
E/flutter ( 6445): #19     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1232:11)
E/flutter ( 6445): #20     RenderObject.layout (package:flutter/src/rendering/object.dart:1724:7)
E/flutter ( 6445): #21     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
E/flutter ( 6445): #22     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1584:7)
E/flutter ( 6445): #23     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:844:18)
E/flutter ( 6445): #24     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:344:19)
E/flutter ( 6445): #25     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:774:13)
E/flutter ( 6445): #26     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:283:5)
E/flutter ( 6445): #27     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1102:15)
E/flutter ( 6445): #28     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1041:9)
E/flutter ( 6445): #29     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:957:5)
E/flutter ( 6445): #30     _rootRun (dart:async/zone.dart:1126:13)
E/flutter ( 6445): #31     _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter ( 6445): #32     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
E/flutter ( 6445): #33     _invoke (dart:ui/hooks.dart:259:10)
E/flutter ( 6445): #34     _drawFrame (dart:ui/hooks.dart:217:3)
E/flutter ( 6445):


Creating a completely custom response

for example responding to requests to an API endpoint with this exact response:
HTTP/1.1 200 OK
Date: Sat, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: expires=Sun, 00-Jan-81 00:00:00 GMT; path=/; domain=.example.com; HttpOnly
Allow: HEAD, OPTIONS, GET
Strict-Transport-Security: max-age=31536000; includeSubDomains
Via: 1.1 google
Alt-Svc: clear
Server: nginx

Resource override has a header rule that allows you to change request and response headers. Keep in mind that if you are trying to make a CORS request, the only headers the client can see are:  Cache-Control, Content-Language, Content-Type, Expires, Last-Modified, and Pragma. See here: https://developers.google.com/web/updates/2015/03/introduction-to-fetch#response_types
Also I'm not sure why, but chrome doesn't seem to want to let extensions set the set-cookie header if the request was an ajax request. It works fine otherwise though.

No, I need (for example) Resource Override to modify the request itself and send it to another server, returning that request's response instead of the one the webpage tried to make
Does that make sense?

I'm not sure I understand the issue...
A URL -> URL rule is a basic way to send a request to a different server than what the browser tried to send to.
This extension can also modify both request and response headers (when chrome allows it).
Or maybe you mean that you want a URL -> URL rule followed by custom response headers? In that case, don't forget to use the URL you redirected to as the match URL for the headers rule.

No. The URL -> URL rule sends a redirect request telling the browser to make a request to the intended destination.
However, CORS preflight does not respect this, and returns an error.

Right.. unfortunately with a cors request that also causes a preflight options request, I don't think there's much we can do. I was trying to get around this and debugging my extension's code and chrome seems to hide cors requests that cause preflight requests. My comment in https://github.com/kylepaulsen/ResourceOverride/issues/11 explains more about this.


What's the gauge float precision?

Hi, I am sending data from PHP like this: metric:725.5598|g, but can't get out of the Graphite/Grafana more than 2 digits after decimal. Is it a statsd problem or should I check the problem on the: Graphite/Grafana side? Thanks

Apparently it was the Grafana configurable decimals setting:


Plugins module (WIP)

This is a WIP for the plugin system of the editor.

[x] Create module
[ ] Mechanism to add plugin in the toolbar (structural directive, forRoot() method like routes)
[ ] Add built-in plugins

@stevermeister I have added a demo plugin to demonstrate the whole process, so that I can get some feedback before creating the actual plugins.


Make search case insensitive

Search is currently case sensitive.

LoL. On it. :+1:

Completed. :+1:


Text isn't formatted properly in Tutorial PageViews

Summary
Formatting the text properly in the tutorial page views would enhance the UI of the application. Instead of a '-', a bullet point should be used, and the line wraps should be properly indented.
Steps to Reproduce
Changes will be made to the following pages:

welcome_do_upload.xml(landscape too)
welcome_dont_upload.xml(landscape too)
welcome_image_details.xml(landscape too)

Observed Screenshots

Expected Screenshots

Can I please start working on this issue?

Looks good to me. It might be a good idea to let others pitch in too. @neslihanturan your thoughts on this?
@gupta-meghna64 There are a lot of other beginner friendly tasks as well that you could take up. :)

Looks good to me! :-)


Better synopses in many packages for a prettier catalog

This should fix/complete the synopses of my projects. The few cases left are where the doc is in the main module of a contrib without a readme, like with header_keeper. I'm not sure what to do with those yet, maybe simply removing the src folder.
I seizes this opportunity to improve the extern_methods example and create missing readme files. And also reorganized the mnit platform implementations. There is still similar work to do with apps and submodules names to clean in mnit, but it will be for a future PR.

+1

Achievement unlocked: Quis custodiet ipsos custodes?. You broke nitpick: http://gresil.org/jenkins/job/CI_github/3444/testReport/cmd/nit/errors/

I think that maybe you should split the mnit merging issue with the documentation issue. Maybe this PR could contains documentation for all but mnit related things. And open a new one with the mnit things

Rerolled to fix typos and remove the mnit part.

+1

Fix test.

:shipit:


Overview feedback

Overall, it looks really great. However, there are some issues we could improve on

Better way to dispose .

if (disposable != null) {
      disposable.dispose();
 }

is repeated all over the place.
Using https://github.com/uber/AutoDispose to reduce.

LoginPresenter. java
A lot of bindings between Views and Presenter happening in the constructor looks like MVVM on iOS. It seems pretty hard to test!!!! Am I right? Need more unit test examples.

MainActivity.java line:39
I don't know which activity will be started. It's very subtle. I got it after navigating the project. Need a better name for this like Intent.makeInjectionActivity().name()...

Could you compare your dagger to google-architecture project? My only concern on your dagger is that you're using reflection in onCreate. it may slow down start-up process.

I really like CollectionView.  It solves most of LCE problem.

I still prefer  MVVM, Redux, MVI to MVP. How do you survive config change in MVP because the  the view  is detachedonDestroy? How about state management? for example if the button is liked, press to dislike and vice versa?

Navigation? References iOS:
https://medium.com/@giovannyorozco24/mvvm-and-coordinator-pattern-together-8920fc0f1f55
https://github.com/AndreyPanov/ApplicationCoordinator
https://will.townsend.io/2016/an-ios-coordinator-pattern

First of all, thanks for your attention and very detail feedback. I suggest we will discuss each item in a separated comment.

The disposable.dispose() is implemented in a base class then we don't need to repeat it over time. So I think we don't need to use a 3rd library in this case because it's over-engineering. By the way, +1 for your suggestion.

It does not matter whether to binding in the constructor or somewhere else as long as you stop your binding in an appropriate lifecycle callback. In this case, destroy is the counterpart to constructor.
To test the presenter you just need to mock the UserModel then you can do your testing. It's absolutely very easy to test.

Issue 3: thanks for your suggestion. I'll consider your suggestion for the better naming convention.

Issue 4:

I'm not expert at the new dagger (2.1x) so I can't give a fair comparison. I just post my minimal configuration of my daggers here. So, you can compare yourself.
I agree with you that daggers uses reflection to do its logic. But it's a trade-off to have the convenience and I think it's acceptable. FYI, butter-knife used the same kind of reflection to do its binding.


Page collection containing pages in ANY language?

I've setup a site that supports English and German languages where 90% of the pages are English-only and the rest is mostly German-only with only a few bi-lingual.
For the home page, I want to have a list of the most recently changed pages REGARDLESS OF THEIR LANGUAGE.
At the moment, I'm doing this:
content:
  items:
<EMAIL_ADDRESS>wiki
  order:
    by: header.modified_date
    dir: desc
  pagination: true

But this only returns pages in the currently selected/detected language. How do I get a collection of ALL pages with<EMAIL_ADDRESS>wiki - regardless of their primary language. Is that possible using frontmatter?

@mbirth it is not possible by default as grav only knows 1 language at a time, you could make it work with custom code

In Grav 1.7 there is a Page::trasnlatedLanguages() method to get an array of translated languages per-page.

Just as a follow-up: While there indeed is a Page::translatedLanguages() method, it doesn't return anything for pages that are only available in other than the currently active language. (Pages fetched with $this->grav['pages']->all().)
So e.g. a page only available in German isn't properly initialised if your site's language is currently set to English. And because of that, $p->translatedLanguages() returns an empty array.


Xnero: Watch tcsbaroda.com

Xnero requests the watch of the watch_keyword tcsbaroda\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

tcsbaroda\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Support variable scopes

Description

Check for feature support by checking returned session scopes
Related Issue(s)

Related https://github.com/gitpod-io/gitpod/issues/12254
Related PR https://github.com/gitpod-io/gitpod/pull/12446
How to test

First comment some scope in related gitpod PR, (I already commented function:sendHeratbeat) and build prev env
Open workspace in prev env https://jp-oauth-inspect.preview.gitpod-dev.com
Connect to workspace from step 2, you'll need to sign in and check heartbeat is disabled in logs
Enabled the scope you disabled in step 1 and build prev env
Open workspace in prev env https://jp-oauth-inspect.preview.gitpod-dev.com
Connect to workspace from step 5, you'll need to sign in again and check heartbeat is enabled in logs

It would be good if tests would be:

old installation without scopes and check (for June) -> test that it works and session is reused
upgrade to latest installation -> test that session is invalidated

@mustard-mh @jeanp413 Maybe sync with @MrSimonEmms to learn how to to perform such testing. If you can document it in how we work internally it would be also great. We need to make it easier for us that we can do it regularly.

It would be good if tests would be:

old installation without scopes and check (for June) -> test that it works and session is reused
upgrade to latest installation -> test that session is invalidated

We can also just use the prev env

First comment some scope, (I already commented function:sendHeratbeat) build it and connect with vscode
Enabled the scope again, build  and connect again it should ask you to login again

cc @akosyakov

@filiptronicek @mustard-mh Could you help testing how @jeanp413 proposed?

let's land it? Did anyone try with current gitpod.io just to make sure that backward compatibility works if inspect endpoint is missing?

Need to wait for https://github.com/gitpod-io/gitpod/issues/12254 to be merged and deployed

Need to wait for https://github.com/gitpod-io/gitpod/issues/12254 to be merged and deployed

@jeanp413 why is it necessary? This PR should be backward compatible to installation which don't have this endpoint as well.


Updating linear_fit.py

Correcting the "build_design" function to convolve all regressors with the gamma hemodynamic function.

@rossbar Hi Ross. This commit of ours failed due to an error in Travis CI build so we could not merge it. Could you take a look and give us some advice on how to fix this? Thanks!

There is a piazza post on how to handle the error you are getting

Thanks Ross!


Currency Conversion issue

Hi, I have tried your utility and it worked great but there is problem, it didn't work with all ISO code.
I have asked conv 1 usd to pkr or conv 1 usd pkr got error. Cannot convert it into PKR.

Hi,
As the NOTES state, all the reference exchange rates are from the ECB. Unfortunately the PKR is not among them.


Adding Azure CosmosDB Mongo vCore as a datastore.

I will be adding Azure CosmosDB Mongo vCore as a data store. Mongo vCore now supports vector search on embeddings, and it can be used to seamlessly integrate your AI-based applications with your data stored in the Azure ComsosDB. More details about Mongo vCore can be found here https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/vector-search.

@aayush3011 - thanks for creating this.  Once you have the PR started please add it to this issue for tracking.

Helo @evchaki , Can you please assign this to me?

@lemillermicrosoft @dluc Is it already assigned or can I pick this one up?

@kshitijcode thanks for picking this up and creating a PR!

@kshitijcode Is this feature already done, I have the PR here for it. https://github.com/microsoft/semantic-kernel/pull/2990

@awharrison-28 - can you review the PR for this issue #2990. See if it aligns with the outline we discussed with MongoDB team.

The PR is merged - https://github.com/microsoft/semantic-kernel/pull/2990


docs: the session_id acquisition method that is not described

PHP Version
8.0
CodeIgniter4 Version
4.1.7
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
Windows
Which server did you use?
cli-server (PHP built-in webserver)
Database
PostgreSQL 11
What happened?
The document only shows how to get session_id by executing session_id() , but since Session::__get('session_id') is always defined, you can get session_id with $session->session_id.
As a merit of describing this method, by mocking the Session class, it is possible to test the processing that depends on the contents of session_id with only the genuine CodeIgniter function.
Steps to Reproduce
Document issue
Expected Output

Publishing in documentation.
add class documents
@property string session_id

Anything else?
No response

Checked the source code. $session->session_id returns the current session id, unless it is not set.
It is fine to add it to the user guide.

I sent a PR: https://github.com/codeigniter4/CodeIgniter4/pull/6349


add to stackage ?

Thank you for this great library. Could it be added to stackage ? On general principles, and also I'd like to add it as a core dependency of hledger on non-windows platforms; because it's not in stackage I need to list it in extra-deps for the stack tool; because this can't be conditionalised I'll need to provide a separate stack.yaml file for windows users. (PS: any hope for vty working on native MS Windows ?)

I've added vty to stackage:
https://github.com/fpco/stackage/pull/751

Would you be willing to open other issues for e.g. Windows support? I'd like to close this one and keep issues about one topic each.

Wonderful, brick as well! Thanks.


Create File, Pull Request and More Examples

Aside from tests which most tend to ignore and go directly with actual testing, it would be nice to have more actual api examples to get a handle or familiarity with the api and perhaps leave the authentication blank if it is required on some to be filled out.

Agreed! PRs welcome!!


[Question] How to jump to next argument without going into nested function calls

I'm hoping to write a macro that involves jumping to a second argument of a function call and deleting it. The function arguments will sometimes include nested function calls, sometimes not, will sometimes be on multiple lines, and sometimes all on one line. I'm struggling to figure out how to use nvim-treesitter-textobjects to achieve the desired jumps.
My move configuration currently looks like this:
require'nvim-treesitter.configs'.setup {
  textobjects = {
     move = {
       enable = true,
       set_jumps = true,

       goto_previous_start = {
         ["[["] =<EMAIL_ADDRESS>       },
       goto_next_start = {
         ["]]"] =<EMAIL_ADDRESS>       },
     },
  },
}

And then for example, with a code snippet like this:
func foo(a, b int) int {
  return a * b
}

func bar(a, b int) int {
  return a + b
}

func main() {
  foo(
    bar(
      1,
      2,
    ),
    3,
  )
}

When my cursor is on bar, and I hit ]], I'd like it to jump to 3, the next argument at the same level as the current node. However, it currently jumps to 1, the next argument at the lower level of the nested function call.
Any suggestions for how to achieve this desired jump? Thank you for your help!

On bar, hit % will jump to bar's closing parenthesis (this is the default behavior of matchit, see :h matchit for details), and then hit ]] will jump to 3. This workaround just one more key to press so I think it's acceptable.


Add 16bpp

Although 8bpp is great for speed and size, sometimes we want maximum quality no matter the speed or storage cost. This would be particularly useful for programs focused around pictures.

I believe I added this, but it's currently untested - do you want to be the one to test it or should I just make somthing?

tested and seems to be working


Tensorflow GPU installation issues

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Through PyCharm virtualenv
TensorFlow version: 1.12.0
Python version: 3.6.7
Installed using virtualenv? pip? conda?: virtualenv
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: CUDA 10 / cuDNN 7.4.2
GPU model and memory: GeForce GTX 1050 Ti

Trying to install and run tensorflow gpu version. I have installed CUDA and cuDNN and run the deviceQuery sample with what seems like good results (picture attached). I have installed tensorflow and Keras through PyCharm and when I try to run the following two lines to see if TF is installed correctly I get the following error message:
import tensorflow as tf
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
Traceback (most recent call last):
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Mr.Jones/Documents/Master Thesis/Offline_models/define_models_Jonas.py", line 1, in
import tensorflow as tf
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Mr.Jones\Documents\Master Thesis\Offline_models\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

I see that you have cuda 10 installed. Please switch to TensorFlow 1.13.0-rc2 as it supports cuda 10.

I installed TensorFlow 1.13.0-rc2 but still got the same error

Did you update the cuda, cudnn path as per the windows setup guide?

Yee cuda, cudnn together with the correct paths are added as described in the guide.
Can there be any problem due to me trying to run it all in PyCharm?

Yes its possible that PyCharm interpreter is missing those paths. Are you able to import tensorflow using your terminal?

I tried it today but ended up with the same error:
Traceback (most recent call last):
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Test1.py", line 1, in
import tensorflow
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Mr.Jones\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

Can you attach a screenshot showing environment variables to cuda path?
This issue is a duplicate of #26059 . Please take a look. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

There is a screenshot of it, I tried to re-install everything today but still no luck

Additionally I've managed to install tensorflow cpu on a laptop and it works fine there. Neither cpu or gpu is working on my stationary though...

You need to add sub folders: bin , include and lib to the path. I see that lib and include folder's are not added to the path. Can you please try adding them as well?

These might have been removed during one of the re-installations. Both are added again but I wasn't sure if it was lib or lib\x64 so both are added:

However it still gives me the same error. What feels strange is that I can't even get tensorflow cpu version to run


compilers: drop support for GCC 4.9

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Also update documentation and tests to use non-disabled GCC.

GCC 4.9 was removed.
GCC 5-8 are all disabled:

5 - removal on 2024-10-03
6 - removal on 2024-10-03
7 - removal on 2025-02-22
8 - removal on 2025-02-22

LGTM but might need to wait for the next minor release as this is technically a breaking change?

I don't feel strongly either way. I'd be amazed if there's people relying on GCC 4.9 support given it's been removed for a while.

System GCC also counts here but yeah.
If we're planning to also drop 5 and 6 maybe it's worth doing it all at the same time which is probably roughly when we'd do a minor release anyway.

Did we support using old system GCC?

For Homebrew/core, not really. Can override it with --cc but that's like maximum levels of untested.
Third party taps are however free to use their own policies and CI images. We recommend aligning with Homebrew/core but do not require it.

I'll split out documentation changes to separate PR so this only touches Library/Homebrew/compilers.rb

For when we merge this, it might be worth dropping the gcc-4.9, gcc-5 and gcc-6 shim symlinks too.

For when we merge this, it might be worth dropping the gcc-4.9, gcc-5 and gcc-6 shim symlinks too.

Forgot about those. Will update PR to remove them.
Also, unrelated to this PR, was looking at shims and noticed we still have some old Apple GCC 4.2 shims. Is there any use for these?

Minimum Xcode we support is 7.3 so probably can be removed.
I guess technically speaking a formula or build-script could rely on them my invoking llvm-gcc. This is probably rare though given we're already calling the GCC removal a breaking change so we can bundle removing that with this PR.


earlgrey core is not configured correctly

It seems that the earlgrey core is not including files that it needs in order to elaborate. For example, the package "pwrmgr_reg_pkg" is not included. It's listed as a dependency in the fusesoc core but never ends up in the generated lowrisc_systems_top_earlgrey_0.1.scr file, so I assume there's a problem related to collecting transitive dependencies. I don't know enough about fusesoc to know if this is a misconfig in sv-tests, in the earlgrey core file, or a bug in the fusesoc tool itself. It does need to be fixed though, because otherwise the core is not able to be elaborated.

Fixed by https://github.com/chipsalliance/sv-tests/pull/2116


Latest NEI not compatible with latest versions of CCC

Since the refactors made to CCC / CCL etc, the latest NEI version available on http://chickenbones.net/Pages/links.html does not work.

Crash log if necessary

The changes since this commit: https://github.com/TheCBProject/NotEnoughItems/commit/4ff5b842acf6c38a0400055104301eaf2a4dbd09 have not been added to the download page. Only version <IP_ADDRESS> is the available latest.
This may be intentional, in which case just feel free to tell me to mind my own business. :p

Ahh, yeah nah, thats not intentional, reply to this in about 12 hours to remind me :P

Bumping to remind you. :P

Cheers, Thats probably why its broken.. https://puu.sh/syua3/6d81e33791.png

Ah. Oh dear. Well, good to know I guess.. x)


Attention Matrix

Hi quick question:
Do you have a quick example for machine_translation to get the weights for an attention matrix?
Thanks.

Please refer to this thread in blocks-users group. You will get faster responses if you post "not bug" related questions on blocks-users.


Fixing port related description

This tutorial has a step to use randomly generated port number but it was not mentioned that it can be different when the user tries this example. so to remove ambiguity, I have added a proper description. Please have a look at #16810
fixes #16810

/assign @BenHall

@BenHall 👋 Have you moved on from Kubernetes?

GitHub didn't allow me to assign the following users: BenHall.
Note that only kubernetes members, repo collaborators and people who have commented on this issue/PR can be assigned.

@zacharysarah Not at all, still here. I'm just not a member or collaborator :)
The change looks good to me!
One improvement I would make it the original text finishes with " and then click.". Maybe it should be extended to include " and then click Display Port."

Linking to #15787 for later discoverability.

@zacharysarah @BenHall Thanks for your review. I have incorporated review comments. Can you please have a look.

/lgtm
/approve


Accuracy

The "cross hair" seems to be above where it hits. Physics taken into mind, math may be incorrect or camera position is poor

Fixed through hardware and slight software adjustment! Updates "final" position better according to distance, and camera angle improved... still slow though


Add Optional bson Support

Adds a new flag, -bson, which will also generate MarshalBSON and
UnmarshalBSON commands that satisfy interfaces specified in
gopkg.in/mgo.v2/bson.

Gonna test this some more before PRing


move_file_into_cache() expects rename to be atomic

Two commands might create output files with the same hash x. If they are executed in parallel, both will rename the output file from sandbox to cas/x. The current implementation is based on the assumption that rename is atomic (cas/x will not change between the two parallel calls to rename).
In a special use case (Windows host, Linux container in podman, cas dir in mounted volumes) it's sometimes observed that rename exits with Permission denied or cas/x does not exist at some point in time.

related: https://stackoverflow.com/questions/69076026/under-which-conditions-is-renaming-a-file-an-atomic-operation-on-linux

Thinking of adding a queue to call rename single threaded and keep track of the cas files to avoid overwriting existing files completely. This might be a better solution than trying to work-around platform specific behaviour of rename.
Problem might pop up again if multiple razel processes access the same cas file. Currently the cache directory has no process specific lock.

hopefully fixed in https://github.com/reu-dev/razel/releases/tag/v0.2.3


Adding a Live Chat Support

Adding a Live Chat Support for the users for more better and effective experience.
###Features -

Instant communication
Convenient and accessible
Multitasking capability
Detailed information exchange
Analytics and insights

@Anupkjha2601  , please assign me this issue under gssoc23.


Updating worker.py to be inline with redis==3.2.1 and rq==1.0

Quick update to support rq==1.0.
Tested on my machine and now works successfully -- so thanks to the people who came before me!
Signed-off-by: Andrew V. Jones<EMAIL_ADDRESS>

Thanks for the contribution!


Improve error message displayed when a string is used instead of an array for 'authors' in the manifest

Problem
Currently, if one uses a string instead of an array of strings as the value for the authors field an error message is displayed which is not helpful for a new Rust developer to identify the cause of the problem.
Example of an incorrect Cargo.toml:
[package]
name = "alenandbarb"
version = "0.1.0"
edition = "2021"
authors = "Todd Decker"
description = "A toy application for crustatian exploration along network and applications seafloor"

[features]
desktop = ["dioxus/desktop"]
web = ["dioxus/web"]

[dependencies]
dioxus = "0.2.4"

The error message displayed is:
Execution failed (exit code 101).
/Users/ptdecker/.cargo/bin/cargo metadata --verbose --format-version 1 --all-features
stdout : error: failed to parse manifest at `/Users/ptdecker/CLionProjects/alenandbarb/Cargo.toml`

Caused by:
  data did not match any variant of untagged enum MaybeWorkspace for key `package.authors`

stderr :

Proposed Solution
An error message along the lines of the below would be more informative:
Execution failed (exit code 101).
/Users/ptdecker/.cargo/bin/cargo metadata --verbose --format-version 1 --all-features
stdout : error: failed to parse manifest at `/Users/ptdecker/CLionProjects/alenandbarb/Cargo.toml`

Caused by:
  value of `package.authors` is a string, while an array was expected

stderr :

Notes
I also submitted the PR below to update the Cargo documentation to better explain the requirements of the field:
https://github.com/rust-lang/cargo/pull/10938
@epage saw my post on the forum about my problem (link) and suggested that I also submit an issue to improve the error message itself.
Thank you
P. Todd Decker

For now, I think it's challenging to improve it because the internal error will ignore by MaybeWorkspace.
Also, publish: Option<MaybeWorkspace<VecStringOrBool>> affect by it, you can not get the VecStringOrBool inner error.
[package]
name = "cargo"
version = "0.65.0"
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://crates.io"
repository = "https://github.com/rust-lang/cargo"
documentation = "https://docs.rs/cargo"
readme = "README.md"
description = """
Cargo, a package manager for Rust.
"""
publish = "a"

➜  cargo git:(master) ✗ ./target/debug/cargo test
error: failed to parse manifest at `/Users/rustin/ClionProjects/cargo/Cargo.toml`

Caused by:
  data did not match any variant of untagged enum MaybeWorkspace for key `package.publish`

It should be invalid type: string "a", expected a boolean or vector of strings.
See more: https://github.com/serde-rs/serde/pull/1544.
@epage Do you have any thoughts about how to work around it?

I saw https://github.com/rust-lang/cargo/pull/10944 try to fix it. Maybe it's a good way.


Issues with tool tips on Linux and macOS

Describe the bug
I have noticed a couple of issues with ToolTips on Linux and macOS. Everything works fine on Windows.

On Linux, sometimes the app will hang when a tool tip closes. This is the same as #3536 ; that was fixed for the default theme, but still happens if the Fluent theme is enabled (see my comment to that issue for an updated repro).

On macOS, if ShowDialog is called while a tool tip is open, the tool tip will remain open until the child window is closed and the mouse is moved again on the parent window. This happens with both the default theme and the Fluent theme.

To Reproduce
To reproduce n. 2:
Create a new project and replace the content of the main window with:
<Button Content="Show dialog" ToolTip.Tip="Tool tip" Click="ButtonClicked" />

Then add the following method to the xaml.cs file:
private async void ButtonClicked(object sender, RoutedEventArgs e)
{
    MainWindow win = new MainWindow();
    await win.ShowDialog(this);
}

Publish the app for macOS and run it. Now, place the mouse on the button and wait for the tool tip to appear then, without moving the mouse, click on the button: the tool tip will not disappear while the new window opens.
Expected behavior

Tool tips should not cause the app to hang.
Tool tips should disappear when a new window is opened.

Desktop (please complete the following information):

OS: macOS and Linux (tested on Ubuntu 20.04). Everything works as expected on Windows.
Version: 0.10.7

Additional context
Just in case it helps anyone else looking for a quick workaround to this, in my apps I'm having all windows implement this interface:
internal interface IWindowWithToolTips
{
    List<Control> ControlsWithToolTips { get; }
}

Then, I replaced all calls to ToolTip.SetTip with calls to the following method:
public static void SetToolTip(Control control, object tip)
{
    if (System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.OSX))
    {
        if (control.FindAncestorOfType<Window>() is IWindowWithToolTips win)
        {
            win.ControlsWithToolTips.Add(control);
        }
        else
        {
            control.AttachedToVisualTree += (s, e) =>
            {
                if (control.FindAncestorOfType<Window>() is IWindowWithToolTips win)
                {
                    win.ControlsWithToolTips.Add(control);
                }
            };
        }

        ToolTip.SetTip(control, tip);
    }
    else if (!System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Linux))
    {
        ToolTip.SetTip(control, tip);
    }
}

Finally, I created the following extension method and I am using it in place of the "normal" ShowDialog method:
public static Task ShowDialog2(this Window subject, Window owner)
{
    if (System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.OSX))
    {
        if (owner is IWindowWithToolTips win)
        {
            foreach (Control control in win.ControlsWithToolTips)
            {
                if (ToolTip.GetIsOpen(control))
                {
                    ToolTip.SetIsOpen(control, false);
                }
            }
        }
    }

    return subject.ShowDialog(owner);
}

This disables tool tips on Linux (which is not ideal, but better than risking that the app hangs) and "manually" closes them on macOS before opening any dialog window.

Have the similar issue on Linux (Ubuntu 21.10) but without a tooltip.
When I click to close my app window it's hang on.
Problem faced only on Avalonia 10.10, 10.9, 10.8.
On Avalonia 10.7 works without any problems - app don't hang when windows closing.

The origin of the problem on macOS is in the PointerLeave event which is used by ToolTipService
https://github.com/AvaloniaUI/Avalonia/blob/7842883961d094e08e9def7f30cf32fd573179c7/src/Avalonia.Controls/ToolTipService.cs#L36
MacOS window implementation does not handle this well. It ignores cases when the mouse does not move above the original window when leaving.
https://github.com/AvaloniaUI/Avalonia/blob/48477574a68d116d3bb64e4b0e31753f0469dd0c/native/Avalonia.Native/src/OSX/window.mm#L1758-L1763
I don't know objective C too well but something like this should do the trick. Is anybody able to implement this correctly? Everything is described in this SO question.
https://stackoverflow.com/questions/8979639/mouseexited-isnt-called-when-mouse-leaves-trackingarea-while-scrolling

Hi, the problem with the stuck tooltip on macOS is still (or again) occurring. You can check it in ControlsCatalog under Dialogs on the latest master


Ensure we support sdk v0.43 as well

This seems to have some breaking changes (in events at least... maybe some in protobuf msg?) from 0.42, so the relayer must be smart enough to handle it.
See https://github.com/informalsystems/ibc-rs/issues/918 and https://github.com/informalsystems/ibc-rs/issues/1057

We should also favor the packet_data_hex attribute (if present) over packet_data.
This is only present in ibc-go: https://github.com/cosmos/ibc-go/blob/main/modules/core/04-channel/keeper/packet.go#L135

This should work with CosmJS 0.27.
We need to test the ibc semantics, maybe add hex_data etc.
Definitely need to update CI script

Please note that the simapp 0.44 (maybe 0.43 as well) does not include IBC support anymore because the ibc module was removed from the cosmos-sdk repo. So this might require changes to the test setup.

Closed by #214 as gaiad v6 is using Cosmos SDK 0.44 and ibcv2


explore to use git describe to replace hardcoded version strings

from @crawford : Ignition might be a good model to use. It uses git describe to generate the version number (no more hardcoded version strings). It also reports itself in the log.
It is a good thing, so we dont' need to bump version manually.
Some concerns:

it doesn't strictly follow semver
if user doesn't use build script, he will end up with no etcd version.

/cc @crawford @vcaputo

One limitation in the ignition model is that we can't export releases for consumption outside of a git tree which use the existing build script as-is, now that our build script integrates with git for deriving the version.
This should be easily remedied with a release script sticking the git-derived version in a file and some minor changes to the build script to use the file when present.

@yichengq More thoughts on this one? Or shall we simply keep today's approach?

@vcaputo we want etcd to work fine when people go get github.com/coreos/etcd, so we don't have the assumption that build will always go through build script.
It could be easy to forget to update the git-derived version file when commiting.

@yichengq why? That seems like an arbitrary (and silly) requirement. What is the use-case?

go get is the standard way in Go to download and install(https://golang.org/cmd/go/), and we would like to be a good citizen in Go.
This could enable fast try master by simply:
go get github.com/coreos/etcd
etcd

go get is for downloading packages and their dependencies. In this case, the user is downloading the project and building the binary. It seems completely reasonable to require the user to download all of the necessary pieces, not just the code.
I understand what you are saying though. Other tools are installed via go get (which is incredibly misguided) so it's reasonable for us to do the same.

@yichengq @crawford I hope we can make go tool chain work for etcd even if it is not perfect. If there is a huge disadvantage for making go tool chain work, then we may consider dropping the support of it.

I spoke with @yichengq yesterday about the versioning (unrelated to this) and realized that you are also using the version numbers on the wire (the combination of version and minVersion determines who is allowed to communicate). Hard-coding the version number is the only safe way to do this. A mixture of git tags and hard-coded strings is asking for trouble. You should stick with what you have.

@crawford Agree.


请教下，如何设置完成多级多卡间并行的测试相同的模型的不同checkpoint呢？

Describe the feature
无
Will you implement it?

[ ] I would like to implement this feature and create a PR!

Just consider these checkpoint as different models.
models = [
    dict(abbr='xxx-step-1000', path='xxx-step-1000.pth', ...),
    dict(abbr='xxx-step-2000', path='xxx-step-2000.pth', ...),
    dict(abbr='xxx-step-3000', path='xxx-step-3000.pth', ...),
    ...
]

Then run the config in a multi-machine multi-gpu way.


Cracklings due to CPU Leak after 1-2 minutes

Hello, first thanks for that amazing library.
I am working on an experimentation  to create a live coding environment inside the web browser using Tonejs. I needed something that could be stable over the time of a performance, maybe 1-2h first.
However while working on Tonejs, I realized the sound was rapidly crackling after 1-3 minutes of playing and modifying the transport. I started to read on that subject, trying to isolate the cause, apply the best performances practices from the tonejs wiki, from now without much success. But I managed to get some useful informations and a good demo to reproduce the problem.
Demo : https://jsfiddle.net/dotgreg/8sst7trg/66/ I add here 30 synths with random parameters on the transport. On my (quite beefy) computer (Dell xps15 9560, i7, 16gb ram), when I open chrome task Manager, I see the CPU usage of the tabs constantly raising from 1-2% to reach 13% after only a minute (crackling start at 9%).

Thinking it was maybe due to tonejs implementation, I decided to do some other tests on other libraries and got surprisingly the same problem on the testing page (http://codecur.io/us/projects/song-demo) of WAD. The only difference is that WAD follow the same CPU raise to reach 12% CPU but then fall again to 3% after reaching the pike.

I tested that fiddle on many devices and browsers to make sure my setup is not the problem, same results all the time (android chrome/native browser, chrome windows, microsoft edge windows).
I am also surprised by the lack of documentation or discussion on that subject, does anybody has that problem? Am I doing something wrong? (but looks Im really doing something fairly simple on my demo).
Is that a problem due to the tonejs implementation of the web audio api or a problem of performance of the web audio api itself?
Are my expectations of the web audio api too high (creating a live coding environment) for what it can actually do today?
Thanks for your help :)

Thanks for the thorough investigation into the issue. Looks like the problem might not be with Tone.PluckSynth. If i switch it to a Tone.Synth, (https://jsfiddle.net/814jLvs8/) there's no crackling. I'm able to run the page for many minutes and not hear a problem.
The way the PluckSynth works is using Karplus-Strong synthesis using a LowPassCombFilter. I've seen a few issues with feedback delays in Web Audio implementations. I'm waiting anxiously for the AudioWorklet so i can replace this component. Though, I've never seen this specific problem that the page stops working consistently after a couple of minutes.
I will open another issue specifically for the PluckSynth. My guess is that the feedback delay might be introducing floating point errors somewhere. I would be great to distill these issues and submit the bug to the browser makers.
If you're after this specific synth type, check out this Pluck String Node which uses a variation on the Karplus-Strong synthesis to good effect.

Thanks for the fast answer, Pluck was indeed the culprit here :)
As that behavior was more general on my system, I spent a day as well trying to figure out what was wrong in my code, as those pikes would also appears.
My CPU constant load raise was due to the fact I was updating elements on the fly on the transport by deleting and recreating them (a constraint of how I designed my system). But by doing that, I forgot to dispose() all the elements (Synths, effects, etc...) in the deleted code. Which cluttered the CPU and memory after a few modifications.
Cracklings are due to CPU not being able to follow, and not disposing/cleaning everything not needed anymore clutters CPU very fast. If it is not that obvious, maybe something worth mentionning the performance wiki.

Excited to find this thread as I've been having a very similar issue but with oscillators and effects rather than synths and I'm sort of stumped.
I'm working on a procedural drone that periodically starts an oscillator connected to a handful effects. As I near 30 oscillators in the system I get a CPU spike and audio cut out.
The general chain looks like this:
Osc
Oscillator > AutoPanner > Tremolo > Vibrato > Chorus > Gain (Out Node)
which is connected to a main effects chain:
Main Patch
Gain (In Node) > Freeverb > AutoPanner > Gain > Master
(I'm not super proficient with performance profiling but here's a similar image if it's of any use)

I recognize this seems like a weird approach but I'm randomly assigning values to each effect in each oscillator chain to make a more interesting drone so this setup is essential under my current thinking.
I set up a codepen to debug this and if I remove all the effects I can add a huge number of oscillators so I know it's something with the effects or my approach to them. Right now I'm just brute forcing this by commenting out effects and seeing performance but this doesn't feeling like a great system. Is there a better way to approach this and end up with less CPU usage? Am I just hitting the best I can realistically expect from the browser? Any feedback would be super helpful as I'm feeling clueless :)
[[also @dotgreg I love XinDaw. I was working on an adjacent idea here (in the 'compose' tab.) I see you stopped development - did you ever get anywhere with this? I'd love to be able to have proper live updating...]]


Feature request: Allow toggle for "No shadows on vertically maximized windows"

I would like to only have no shadows when a window is vertically maximized. For example, we can set this flag via wmctrl:
wmctrl -r :ACTIVE: -b add,maximized_vert

Unfortunately, the cinnamon window manager does not allow this (all the options I found are already available in this extension).
References, the cinnamon shadow implementation: https://github.com/linuxmint/muffin/blob/b3feb7f6933c443589c37c333885f2bdc1fd27c3/src/compositor/meta-shadow-factory.c

@nathan818fr Thanks for the info!


update about page

👷 Deploy Preview for fancy-puffpuff-df775f processing.

Name
Link

🔨 Latest commit
1b7a517f83c55035b7d16310a423f5bd5d5dbc6c

🔍 Latest deploy log
https://app.netlify.com/sites/fancy-puffpuff-df775f/deploys/65008259e9bb370008645632


The @jsx React.DOM pragma has been deprecated as of React 0.12

When bundling material-ui using babel-loader, this deprecation error appears:
ERROR in ./~/material-ui/lib/js/input.js
Module build failed: SyntaxError: /Users/Spencer/.../node_modules/material-ui/lib/js/input.js: Line 1: The @jsx React.DOM pragma has been deprecated as of React 0.12
> 1 | /** @jsx React.DOM */
    | ^
  2 |
  3 | var React = require('react');
  4 | var Classable = require('./mixins/classable');
    at File.errorWithNode (/Users/Spencer/.../node_modules/babel-core/lib/babel/transformation/file.js:361:13)
    at TraversalPath.exports.Program (/Users/Spencer/.../node_modules/babel-core/lib/babel/transformation/transformers/other/react.js:17:20)
    at TraversalPath.call (/Users/Spencer/.../node_modules/babel-core/lib/babel/traversal/path.js:115:24)
    at TraversalPath.visit (/Users/Spencer/.../node_modules/babel-core/lib/babel/traversal/path.js:136:8)
    at TraversalContext.visitNode (/Users/Spencer/.../node_modules/babel-core/lib/babel/traversal/context.js:24:20)
    at TraversalContext.visit (/Users/Spencer/.../node_modules/babel-core/lib/babel/traversal/context.js:32:17)
    at Function.traverse.node (/Users/Spencer/.../node_modules/babel-core/lib/babel/traversal/index.js:38:17)
    at traverse (/Users/Spencer/.../node_modules/babel-core/lib/babel/traversal/index.js:28:14)
    at Scope.traverse (/Users/Spencer/.../node_modules/babel-core/lib/babel/traversal/scope.js:47:3)
    at TransformerPass.transform (/Users/Spencer/.../node_modules/babel-core/lib/babel/transformation/transformer-pass.js:62:14)
    at /Users/Spencer/.../node_modules/babel-core/lib/babel/transformation/file.js:405:10
 @ ./~/material-ui/lib/index.js 17:9-30

How do I get this fix in the npm package? I'm having the same issue and have to manually delete these lines everytime I install?

Delete the following comment . . .
/** @jsx React.DOM */


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

isHttpHook: Support Koa ctx.req (#30)

<EMAIL_ADDRESS>Patch Changes

HookStack: Allow multiple instances (#31)

Might as well wait for #33


[SPARK-45569][SQL] Assign name to the error _LEGACY_ERROR_TEMP_2152

What changes were proposed in this pull request?
Assign the name EXPRESSION_ENCODING_FAILED to the legacy error class _LEGACY_ERROR_TEMP_2152.
Why are the changes needed?
To assign proper name as a part of activity in SPARK-37935.
Does this PR introduce any user-facing change?
Yes, the error message will include the error class name
How was this patch tested?
Add a unit test to produce the error from user code.
Was this patch authored or co-authored using generative AI tooling?
No.

@dengziming Please, resolve conflicts.