feat: support bmm fp8

torch.bmm doesn't support fp8 and torch._scaled_mm doesn't support 3d, so I write this one. @yzh119 cc @merrymercy @Ying1123 @ispobock
Thanks @yzh119 for assisting with debug.
AType: fp8 e4m3, fp8 e5m2
BType: fp8 e4m3, fp8 e5m2
DType: bf16, fp16
Does not support both AType and BType fp8 e5m2. ref https://docs.nvidia.com/cuda/cublas/#cublasltmatmul
pytest python/tests/test_bmm_fp8.py

works on H100
=================================================================================== test session starts ===================================================================================
platform linux -- Python 3.12.4, pytest-8.3.2, pluggy-1.5.0
rootdir: /flashinfer
collected 8 items

python/tests/test_bmm_fp8.py ...s...s                                                                                [100%]

============================================================================== 6 passed, 2 skipped in 2.16s ===============================================================================

Another suggestion is to move group gemm and bmm fp8 to a common gemm.py, we should also update the group_gemm.rst (to gemm.rst) as well.

Another suggestion is to move group gemm and bmm fp8 to a common gemm.py, we should also update the group_gemm.rst (to gemm.rst) as well.

make sense


Angular does not recognise this package

Hi!
I can't use this in Angular 2.4.3. If I import it in the app module and use the html syntax Angular throws a error that the swiper-view and swiper-item are not Angular components. Am I doing something wrong?

You need the version 2.x.

Where is the 2.x version of this lib?

Naturally all versions are released to npm.

As you can see in the readme, latest version through npm is 2.1.0.

I'm using the 2.1.0 version. Does it use other syntax then is in the readme?

2.x brought some api / component name changes so you want to check the Readme. Mainly swiper-item component is not needed anymore. And there is also directive for alternate usage.

In the readme is the same html syntax that does not work for me.

Sorry there seems to be an error, the correct component name is just swiper not swiper-viee. Will fix the readme.

Actually it seems that I have forgotten to update the README completely, now the example should be right, but I will add more info soon. The example app is always up to date so you can have a look at its code in case you still have problems.

Thanks Janne!
Op vr 20 jan. 2017 om 17:55 schreef Janne Julkunen<EMAIL_ADDRESS>

Actually it seems that I have forgotten to update the README completely,
now the example should be right, but I will add more info soon. The example
app is always up to date so you can have a look at its code in case you
still have problems.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zefoy/angular2-swiper-wrapper/issues/9#issuecomment-274122190,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJgC2jTFas9vQYPifswis4AAgBsg5xR3ks5rUObxgaJpZM4LpHvX
.

--
Dirk H. Wolthuis
t:<PHONE_NUMBER>


[FEATURE] Any possibility of hugo to generate a mind map from a markdown

Hi all,
I was wondering if hugo has the ability to create a mind map from a markdown text.
Something similar to https://github.com/markmap/markmap ?

Hey.
As per the docs, no such feature is currently implemented within Hugo.
Plus, as my personal view, I think such a feature is better implemented as a Hugo theme anyway.
Best.

You're probably best off using a Hugo theme with Mermaid JS; I'll be adding it to my general shortcode collection at some point.

@marcelcastrobr
Please search


 NOT EVEN A LITTLE.

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

ID: a299cd29-143b-c263-7996-3467035b8937
Version Independent ID: a8a1d0d0-411e-44eb-51da-c1f8ab90befa
Content: Configure anonymous public read access for containers and blobs - Azure Storage
Content Source: articles/storage/blobs/anonymous-read-access-configure.md
Service: storage
Sub-service: blobs
GitHub Login: @tamram
Microsoft Alias: tamram

@kl3mta3
Thanks for your feedback! We will investigate and update as appropriate.

@kl3mta3 - We respond only to constructive, specific, and polite feedback. Yours does not qualify.
#please-close


Update text input example

The current default example is for National Insurance numbers, but these should not be full width. This replaces it with the same example we use for the Email address pattern.

You can preview this change here:
Built with commit 1255bb4f1fc4a35e7662783ea813b4fb333c0abf
https://deploy-preview-349--govuk-design-system-preview.netlify.com


IBM-203: Table heading style

this is not semantic, your TH is now longer the header for the column its referring to


Create drawer_view.xml

Description (required)
Works on #2643
Extract the NavigationView for the drawer into drawer_view.xml so it's not duplicated everywhere. There are a couple of unused files which still refer to NavigationView but these should be deleted by #2641 and I don't want to create merge conflicts.
Tests performed (required)
Tested 2.10.1-debug-refactor-drawer~0b5af825a at API levels 28 and 19

Codecov Report

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

@@          Coverage Diff           @@
##           master   #2645   +/-   ##
======================================
  Coverage    2.77%   2.77%
======================================
  Files         259     259
  Lines       12373   12373
  Branches     1117    1117
======================================
  Hits          343     343
  Misses      12003   12003
  Partials       27      27

Continue to review full report at Codecov.

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

Very helpful @domdomegg , thanks:)


Add Schema Org for Website

https://schema.org/WebSite

@mhaack  - this is the current code, I am wondering how you would inject the LD/JSON code into the script, I have seen this via an Ajax call or in the HTML.
`

`


Calling MavenPublication.getArtifacts before declaring dependencies results in an almost empty POM file

If you have something like this in your build:
publishing {
    publications.named<MavenPublication>("library") {
        artifacts.removeIf { it.classifier == "javadoc" }
    }
}

dependencies {
    api(some_dependency)
    implementation(other_dependency)
}

then the POM file generated by Gradle will be almost empty (i.e. won't have any dependencies). Put the dependencies block before publishing, and it starts to work correctly.
Expected Behavior
POM file should be populated with dependencies regardless of the order of dependencies/publishing configuration, and should not depend on the nature of configuration of a publication, as long as it does not affect the dependencies sets directly.
Current Behavior
POM file contains no dependency declarations if the getArtifacts getter is called within a publication configuration block before any dependencies are declared. I believe this will happen when you call any method on a publication which invokes the populateFromComponent method.
Context
The above example roughly represents what I'm doing - I need to remove an artifact from publishing (and replace it with my own), and I can't work around that because originally this artifact is added by a plugin where this behavior is hardcoded, and I can't just not use this plugin. But I imagine this could be not the only situation where this might happen.
Steps to Reproduce
An example build script which demonstrates the problem:
plugins {
    java
    `java-library`
    `maven-publish`
}

group = "com.example"
version = "1.0.0"

// Simulate some setup done by another plugin - the point is, the publication should already exist
publishing {
    publications.register<MavenPublication>("library") {
        from(components["java"])
    }
}

dependencies {
    api(group = "org.slf4j", name = "slf4j-api", version = "1.7.25")
    implementation(group = "ch.qos.logback", name = "logback-classic", version = "1.2.3")
}

publishing {
    repositories {
        maven {
            name = "testRepo"
            url = uri("$buildDir/testRepo")
        }
    }

    publications.named<MavenPublication>("library") {
        println(artifacts)  // access `artifacts` somehow, does not matter how
    }
}

If you run the publishAllPublicationsToTestRepoRepository task, you will get valid POM files with correct dependencies in them. Now, remove the build/testRepo directory, swap the order of the bottom two top-level blocks (dependencies and publishing), and run the publishAllPublicationsToTestRepoRepository task again. Now the POM is almost empty except the required fields.
Your Environment
I can reproduce this both on Gradle 5.6.4 and Gradle 6.1.

No work is planned on this.


mac-29 is dead.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-29 is dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

mac-29 is up and running fine, I can login remotely from my end.
flutter@flutter-devicelab-mac-29 ~ % uptime
17:25  up 1 hr, 3 users, load averages: 1.25 1.36 1.38

mac-29 is out of sync with the Salt master, ran command "salt-call state.apply" to re-sync with Salt master again.


enable pulseaudio

ALSA might hold the sound device exclusively, which prevents the host from playing any sound. This pull request replaces ALSA with pulseaudio by configuring the container as a client to the pulse server running on the host.

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

Thanks for the improvement!
Could you please explain that why the uid is hard coded as 1000 in your code?

Thanks for the improvement!
Could you please explain that why the uid is hard coded as 1000 in your code?

yes, that can be improved. replacing it with $(id -u user) will do.
do i need to re-submit the pull request?

Thanks for the improvement!
Could you please explain that why the uid is hard coded as 1000 in your code?

That could be improved if I can get the uid of user in the container, but i have no idea how to do that. I think the uid is almost fixed to 1000. Any suggestions?

another commit fixing hard coded uid


Ensure tile spawns on all planes are simulated

Follow-up of #2487. Instead of using just the current plane, simulate them for all 4 planes.
For #2480

@deathbeam I intended to squash 40dac25 before merging, which is a fixup commit.

Yeah, i squashed it for you, git has easy to use interface for that :d

Ah, totally missed that! :+1: in that case


Navbar (menu)

@slawomir-andrian @wbartosz could you add the links to review? I don't see any.

TODO Search bar
TODO Try Istio linked
TODO @wbartosz add link for a review

Netlify link


Make crowbot testable

There have been some regressions recently because crowbot has grown organically and it's hard to test everything. We should refactor the bot to separate the interaction with the IRC library from the actual handlers, which would allow us to write automated tests that verify that everything behaves as expected. I imagine the handler function could accept a say argument which would be a function to be called in place of bot.say and bot.act. For the tests this could just append to an array, while for the real bot it would redirect to the appropriate methods of bot.

Can I pick this up?

@bobthekingofegypt Please do!

I made a start on this tonight.  I've created an early pull request, I'm not sure if you had plans or opinions on implementation.
I've just gone with mocha and sinon, shuffled the code around a bit to make it easier to test in its current state.
I'll just go through the method adding tests for all conditions if you are happy.

See #41 for the initial implementation here.

#41 was merged.


Cannot find module 'metro'

What happened?
Hey everyone! RNXKit was working perfectly fine and just gave up one day. Can't really understand why.
Here is the output if it helps:
`repos/monorepo_study [study] > yarn ios:start
yarn run v1.22.15
$ yarn workspace @mymonorepo/mobile ios
$ react-native run-ios
error Failed to load configuration of your project.
Error: Cannot find module 'metro'
Require stack:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><path_to_repo>/apps/mobile/node_modules/import-fresh/index.js
<path_to_repo>/apps/mobile/node_modules/cosmiconfig/dist/loaders.js
<path_to_repo>/apps/mobile/node_modules/cosmiconfig/dist/createExplorer.js
<path_to_repo>/apps/mobile/node_modules/cosmiconfig/dist/index.js
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><path_to_repo>/apps/mobile/node_modules/react-native/cli.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (<path_to_repo>/node_modules/@rnx-kit/metro-service/lib/index.js:4:15)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: ~/.nvm/versions/node/v16.15.0/bin/node
Arguments: ~/.node/corepack/yarn/1.22.15/lib/cli.js ios
Directory: <path_to_repo>/apps/mobile
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
Affected Package
@rnx-kit/cli
Version
0.14.2
Which platforms are you seeing this issue on?

[X] Android
[X] iOS
[ ] macOS
[ ] Windows

System Information
System:
    OS: macOS 12.5.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 28.35 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v16.15.0/bin/yarn
    npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK:
      Android NDK: 21.3.6528147
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8609683
    Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
  Languages:
    Java: <IP_ADDRESS> - ~/.jenv/shims/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to Reproduce
Start iOS app with a yarn command.
Observe the error above.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

adding /@rnx-kit/ to nohiost seems to solve the issue.

Hi @jokerwolf, sounds like something in your repo (somewhere) changed causing the dependencies to be updated. If that's right, it makes sense that isolating the dependency (not hoisting it to the root) helped fix the issue.

Hey @afoxman, after further discussion, the nohoist'ing of the @rnx-kit is the correct approach, so this issue can be closed - all good )


fishPlugins.done: 1.16.1 -> 1.16.3

Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 130032 at 62cc156d run on x86_64-linux 1

1 package built successfully:

fishPlugins.done

3 suggestions:

warning: missing-phase-hooks
configurePhase should probably contain runHook preConfigure and runHook postConfigure.
Near pkgs/shells/fish/plugins/build-fish-plugin.nix:37:10:
   |
37 |   inherit unpackPhase configurePhase buildPhase;
   |          ^

warning: missing-phase-hooks
checkPhase should probably contain runHook preCheck and runHook postCheck.
Near pkgs/shells/fish/plugins/build-fish-plugin.nix:69:3:
   |
69 |   checkPhase = ''
   |   ^

warning: missing-phase-hooks
buildPhase should probably contain runHook preBuild and runHook postBuild.
Near pkgs/shells/fish/plugins/build-fish-plugin.nix:37:10:
   |
37 |   inherit unpackPhase configurePhase buildPhase;
   |          ^

Result of nixpkgs-review pr 130032 run on x86_64-darwin 1

It's a small update,, and the CI pass, I don't see any reason to keep this on hold.


updateReleasesCount: Uncaught (in promise) TypeError: Cannot read property 'textContent' of null

Uncaught (in promise) TypeError: Cannot read property 'textContent' of null
    at updateReleasesCount (content.js:1605)
    at add_releases_tab (content.js:1622)
    at enableFeature (content.js:806)
    at <anonymous>

  function updateReleasesCount() {
    if (isRepoRoot()) {
      // >>>>>>>>>>>>>>>>>>>> THERE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
      const releasesCount = select_dom_default()('.numbers-summary a[href$="/releases"] .num').textContent.trim();
      localCache = {
        [repoKey]: releasesCount
      };
      browser.storage.local.set(localCache);
    }
  }

What page did you see this on?

@bfred-it This was on a private repo, but I reproduced here: https://github.com/sindresorhus/refined-github/tree/faster-reviews?files=1

Wow, how did you get there? Even GitHub has bugs on that page

Anyway, updates are needed to page-detect.js

@bfred-it Yes, I noticed (even checked whether this or the issue links extension is causing that). A colleague sent me the link to his branch (in our private repo). I just replaced our org name, repo name, and branch name with this repo's ones.

This is reproducible even on a repo homepage without the tree segment: https://github.com/sindresorhus/refined-github?files=1
https://github.com/sindresorhus/refined-github?files=1

I gave it a further look and I think that the two features need a more specific check (like isRepoRoot) and isRepoRoot needs to be updated to check for files=1


chore: bdd-spring-1573698932 to 0.0.1

chore: Promote bdd-spring-1573698932 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


add GeneralInfo project validator to analyze --suggestions

Fixes: #109830
Pre-launch Checklist

[ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[ ] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[ ] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[ ] I signed the [CLA].
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is [test-exempt].
[ ] All existing and new tests are passing.

LGTM


Maybe wrong check

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Affected packages and versions
<EMAIL_ADDRESS>Link to runnable example
No response
Steps to reproduce

set allowDangerousHtml to true in micromark.
parse some content with an iframe in it.
see the actual result, the iframe tag being shown as raw text.

Using Node.js 20
Expected behavior
I would expect the iframe to be rendered correctly.
I think the check at
https://github.com/micromark/micromark-extension-gfm-tagfilter/blob/4772ae620b521c834bf01df676ebfed68622a2f8/lib/index.js#L44
is wrong, it should have a ! before.
Actual behavior
Trying to parse content with an iframe and allowDangerousHtml set to true, the extension continues to escape the tag, causing the iframe tag being shown as raw text.
Runtime
Other (please specify in steps to reproduce)
Package manager
pnpm
OS
Linux
Build and bundle tools
Vite

Hi!

see the actual result, the iframe tag being shown as raw text.

Which is what this project does:

You don‘t want this project, see the readme: https://github.com/micromark/micromark-extension-gfm-tagfilter#what-is-this

You can omit this package. The only thing this package does is that replace. So if you don't need to replace, you can omit it, you don't need the code for it

Yeah I know that, but micromark-extension-gfm is using this package

Indeed. micromark-extension-gfm does not give an option, because it is a tiny wrapper around several things. I don’t think it’s a good idea to include code that you do not use. Sometimes people don’t want tables. Sometimes they don’t want strikethrough. In such cases, you can pick and choose which of the extension you want. If you don’t want this extension, that’s fine! https://github.com/micromark/micromark-extension-gfm#when-to-use-this


TypeError: 'float' object cannot be interpreted as an integer

Traceback (most recent call last):
File "C:/Users/lichunhong/Desktop/python_code/autokeras_try/1.py", line 10, in
clf.fit(x_train, y_train, time_limit=12 * 60 * 60)
File "C:\ProgramData\Anaconda3\lib\site-packages\autokeras\classifier.py", line 225, in fit
run_searcher_once(train_data, test_data, self.path)
File "C:\ProgramData\Anaconda3\lib\site-packages\autokeras\classifier.py", line 40, in run_searcher_once
searcher.search(train_data, test_data)
File "C:\ProgramData\Anaconda3\lib\site-packages\autokeras\search.py", line 190, in search
accuracy, loss, graph = train_results.get()[0]
File "C:\ProgramData\Anaconda3\lib\multiprocessing\pool.py", line 644, in get
raise self._value
TypeError: 'float' object cannot be interpreted as an integer

Having the same problem here. Couldn't install with 'pip install autokeras', so I installed with --no-dependencies. Then installed the dependencies manually (wrong versions). Could be that. But I am having the same problem on windows. Under Linux Subsystem it worked perfectly.


Add permutation method for array

Adds Array#permutation

Thanks!!
A few comments:

I think the block version should yield the permutations but not return an array of them (just return self). Ruby behaves that way:
irb(main):003:0> a = [1, 2, 3]
=> [1, 2, 3]
irb(main):004:0> x = 0
=> 0
irb(main):005:0> a.permutation { x += 1 }
=> [1, 2, 3]
irb(main):006:0> x
=> 6

Be careful with self - [e], because it deletes all occurrences of e. So for example if you try [1, 1, 2].permutation.to_a in Ruby you get [[1, 1, 2], [1, 2, 1], [1, 1, 2], [1, 2, 1], [2, 1, 1], [2, 1, 1]], but if I try that with your code I get [].

Ruby's does this faster. But don't worry about this now, we can always improve this later as long as the API is compatible :-)

@asterite Thank you for your fast feedback. I will adjust the specs & the code when I'm back from work :)

@asterite I now added specs for the bug and the block behaviour

Looks good to me overall, minor comment about code layout and then once comment about code duplication :)

Looks good to me too! :-)
I checked the performance against Ruby, it's a bit slower. This is such an interesting/fun problem that a couple of days ago I also decided to implement it but for the case of n = length, but didn't think of the general case. This is my (dummy) solution. Looking at your solution, @jalyna, it's basically the idea I had but with a twist (the one needed for the general case).
I tried to see what Ruby does. First, for the cases of n = 0 and n = 1 there's something easier that can be done. So I did that and the times improved, but still slower than Ruby.
Then there's the general case, handled in permute0 in Ruby. I didn't have time to analyze that code, but I think it basically permutes things in-place and then generates arrays from that, so you effectively don't create intermediate arrays for the intermediate results.
Then I remembered that @kostya mentioned that he implemented that for Topaz. When I first saw that I saw to_a.reverse and I thought "Hm, there you have two intermediate arrays, so I guess this won't be a fast solution", so back then I didn't try it. But now I decided to try it. I copied the code to a file, removed the self and used it. This is the result.
I was so surprised that it worked without changes, it's always amazing when you can copy/paste Ruby code and it just works.
Then I re-wrote that as an Array method, added a version that returns an array (because @kostya's solution yields the results) and benchmarked it: computing all permutation of a 10-sized array takes 1.76s in Ruby and 0.51s in Crystal with @kostya's version. Super fast!
So, I guess the correct thing to do here would be to use @kostya's version, but I'd like to understand it first :-)
@jalyna I hope you agree with this decision. One thing I can do is merge your pull request and then apply the optimizations, so we reuse your specs and check that they still work. In any case, if we didn't do that, eventually @kostya would have sent a pull request with optimizations (by now I think he's known in this project (and maybe others) as the king of optimizations: https://github.com/kostya/benchmarks, https://github.com/kostya/crystal-benchmarks-game, and he always tries to optimize things more and more).
One issue still remains: in Ruby Array#permutation (without a block) returns an Enumerator. Maybe we'd like to do the same and return an Iterator, but I don't know how easy it would be to translate the algorithm to an iterator one.

Another implementation to look at is Rubinius'

Also, I'm pretty sure PyPy's is worth checking out, after all, it is the fastest Python implementation.

And while we are at this, what do you think about not using Ruby's names and using:

permutations: returns an array with the permutations
each_permutation(&block): yields each permutation
each_permutation: (without a block) returns an iterator (if we ever implement this)

i compared such code with ruby, topaz and crystal (topaz imll):
a = (0..(ARGV[0] || 10).to_i).to_a
n = (ARGV[1] || a.length).to_i
nn = n / 2

t = Time.now
c = 0
w = 0
a.permutation(n) { |r| c += 1; w += r[nn] }
puts c
puts w
puts Time.now - t

ruby perm.rb 11 8: 7.10s
topaz perm.rb 11 8: 2.17s
crystal build perm.cr --release && ./perm 11 8:  4.28s

Well, this is the PyPy algorithm, ported to Ruby:
class Array
  def self.permutation2(array, r=nil)
    r = array.length if r.nil?
    n = array.length
    if n-r < 0
      # Do something here (an error?)
      return
    else
      indices = (0...n).to_a
      cycles = n.downto(n-r).to_a
    end
    nxt = false
    while true
      result = (0...r).map {|i| indices[i]}
      i = r-1
      while i>=0
        j = cycles[i]-1
        if j>0
          cycles[i] = j
          indices[i], indices[-j] = indices[-j], indices[i]
          yield result
          nxt = true
          break
        else
          cycles[i] = indices.length-i
          num = indices[i]
          n1 = indices.length-1
          (i...n1).each {|k| indices[k] = indices[k+1] }
          indices[n1] = num
          i -= 1
        end
      end
      if nxt
        nxt = false
      else
        yield result
        return
      end
    end
  end
end

Array.permutation2([1, 2, 3], 2) {|r| puts "#{r}" }

@kostya which of all the codes did you compare?

ruby default, topaz my impl, and crystal topaz impl
i think topaz faster because jit reduces bounds checks, and also may be by faster gc.

I finally decided to merge this, do the renames and apply @kostya 's optimizations.
Thanks @jalyna for the initial implementation, the specs and docs! You sure opened an interesting discussion :-)
And thanks @kostya for the optimized version. I tried installing topaz but failed, I get this:
$ py.test
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/_pytest/config.py", line 543, in importconftest
    mod = conftestpath.pyimport()
  File "/usr/local/lib/python2.7/site-packages/py/_path/local.py", line 650, in pyimport
    __import__(modname)
  File "/Users/asterite-manas/Projects/topaz/tests/conftest.py", line 3, in <module>
    from rpython.config.translationoption import get_combined_translation_config
ImportError: No module named rpython.config.translationoption
ERROR: could not load /Users/asterite-manas/Projects/topaz/tests/conftest.py

Maybe topaz is faster because of the GC. We could try to optimize it, but right now it's much faster than Ruby so that's good enough :-)


Create Workload Improvement: Multi-Process Index Extraction

Is your feature request related to a problem? Please describe.
When using OpenSearch Benchmark's create-workload feature to extract data from clusters, users often extract more than one index. For example, a user might have a cluster comprised of 5 indices and OSB will extract each corpora in order. This is a time consuming process and can be more efficient. For larger sets of data, this can also lead to read timeouts like below:
[ERROR] Cannot create-workload. ConnectionTimeout caused by - ReadTimeoutError(HTTPSConnectionPool(host='<example host endpoint>', port=443): Read timed out. (read timeout=10)).

Describe the solution you'd like
To expedite the process and make it more efficient, OSB can use N number of processes to extract N number of indices.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@IanHoang 👋🏽, I've opened a PR for this ->  #403


Text props improvement

I think need to make additional props (to avoid using styles) for underline, strike, and italic (textDecorationLine), that's basic for text like bold.

@ryskin
Thanks for the suggestion!
What we're trying to achieve with the components is provide the developers with a good "starting point" for customization. Most components have just enough props (external customization) that it would be enough for most use-cases. What we don't want to do is provide "too much"  that components become hard to maintain. So, in other words, we have the basics and we have a way that you can extend that for your needs.
So, the difference between having a "size" prop and a "decoration" prop is that "size" is used on most apps, but something like a strike-through is rarely used.
You can use the presets block to add more predefined style groups to your style. You can define a lineThrough preset and add the necessary styles. You can do the same for italic, but note that the default fonts don't include italic glyphs (so you'll need to add that).

I'm agree with you but this small thing will make this component complete, underline and italic for example is often using by designers and in any design tool it will be visible.
This will not overload component, even in editor I write this message I always see icon bold and _italic _

@ryskin We've been noticing your activity internally here at Infinite Red and rest assured it's very appreciated! You've had some great ideas and contributions.

@ryskin I always take ideas from Ignite and always wanted much more examples in demos and the latest release I think is the most significant. Also, I would like later to try to contribute with a code. I have some ideas, I remember what was hard for me some time ago, especially with MST, because the community is not big as I wish.


ImageViewer: clear current bar entry data before saving

Fix OpenKh.Tools.ImageViewer doesn't clear bar data before saving image, when it is launched by OpenKh.Tools.BarEditor as embedded tool.

This is repro and explanation of the problem:


If an Azure Service Principal is used then another Endpoint must be c…

…reated
On VSTS the Azure Service Principal can only be used by an Azure Resource Manager Service Endpoint but the Azure Web App Deployment task requires an Azure Endpoint be defined.

This issue was fixed by a recent PR: https://github.com/Microsoft/PartsUnlimited/pull/56


Fix release branch check

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm
/approve


Kaspersky false positive virus PDM:Exploit.Win32.Generic

Description
Hello developers, applying the system default file manager in the program will be reported by Kaspersky Behavioural Analysis, and other virus analysis software listed in the virus PDM:Exploit.Win32.Generic uploaded to other virus analysis sites will also be misreported.
Steps To Reproduce
Set as system default
Requirements

e.g. Fix crash that occurs when...
Hopefully the developer handles it

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.2265
Log File
Event: Malicious Object Detected
Application: Registry Editor
User: DESKTOP-7PPP7UE\gurenqin
User Type: Initiator
Component: System Monitor
Result Description: Detected
Type: Trojan
Name: PDM:Exploit.Win32.
Threat Level: High
Object Type: Process
Object Path: C:\Users\gurenqin\AppData\Local\Packages\Files_wvne1zexy08sa\LocalState\FilesOpenDialog
Object name: SetFilesAsDefault.reg
Reason: Behavioural Analysis
Database release date: Today, 2023/9/6 2:18:00
MD5: 588B8F793D82ED4D4BED3618127BC28C
https://www.virustotal.com/gui/file/9f09add6084f2b30451d91864a573cc4cd0bf728a1df9bfc87fd1b7027487c60

This happens every now and then and we appreciate that you took the time to report it. This is a result of the registry edits required to set Files as the default file manager. If you feel up to it, you can try reporting it as a false positive but either way it's safe to ignore.

mesmo problema aqui no Brazil.
Evento: Bloqueado
Aplicativo: Registry Editor
Usuário: meu_computador\meu_usuario
Tipo de usuário: Usuário ativo
Componente: Inspetor do Sistema
Resultado da descrição: Bloqueado
Tipo: Trojan
Nome: PDM:Exploit.Win32.Generic
Nível de ameaça: Alto
Tipo de objeto: Processo
Caminho do objeto.: c:\users\meu_usuario\appdata\local\packages\files_wvne1zexy08sa\localstate\filesopendialog
Nome do objeto: setfilesasdefault.reg
Data da versão dos bancos de dados: Hoje, 29/11/2023 08:05:00

It isn't an issue with Files, report it as a false positive to your antivirus.


rpmbuild: Installed but unpackaged file found: cups_zh_CN.po

Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/cups-2.2.4-0.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/share/locale/zh_CN/cups_zh_CN.po
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/locale/zh_CN/cups_zh_CN.po

Dupe of Issue #5043 and #5044.

(and already fixed in the repo...)


ACL refactor

General QoL improvements to the ACL code, naming, splitting up larger functions, some more tests at different layers.
Rewrite of the filtering of peers served as part of MapResponses, fixing #1372, undoing #1239, #1377, redoing #320.

@kradalby Is there any chance of an image pushed to a public registry for trying out the changes directly?

@ventsislav-georgiev sorry, its being continuously updated, so its not really feasible with our current release pipeline, we dont support or build docker officially. There is a binary attached to the build job on this PR.

Hi, about the potential ACL API, what is the current plan ?

@loprima-l no plan, I have no intention of implementing an API for ACLs.
The current state is that some people want it, and have discussed how to do it, and we will accept an implementation that fits into the project. But it is currently not part of our priorities, and I do not think this will change for a long time.


connectedcar.exceptions.SyncException: Unexpected error

Hi, i got the following error:
connectedcar.exceptions.SyncException: Unexpected error
Code:
import connectedcar

client = connectedcar.AuthClient(
    '9fb503e0-715b-47e8-adfd-ad4b7770f73b',
    None,
    None,
    None,
    'EU')  # Create client connection

access = client.get_user_access_token(
<EMAIL_ADDRESS>'asdf1234')

vehicle = connectedcar.Vehicle('WXXXXXXXXX12345', access['access_token'], "EU")  # Create vehicle object

print(vehicle.details())

Output:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/requester.py", line 35, in call
    raise E.ResourceNotFoundException(response)
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/exceptions.py", line 9, in __init__
    json = response.json()
  File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 900, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/simplejson/__init__.py", line 525, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/dist-packages/simplejson/decoder.py", line 373, in decode
    raise JSONDecodeError("Extra data", s, end, len(s))
simplejson.errors.JSONDecodeError: Extra data: line 1 column 5 - line 2 column 1 (char 4 - 94)

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

Traceback (most recent call last):
  File "fordpass2openhab.py", line 27, in <module>
    print(vehicle.details())
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/vehicle.py", line 104, in details
    '/detail?lrdt=01-01-1970%2000:00:00')
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/api.py", line 68, in get
    return requester.call('GET', url, headers=headers)
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/requester.py", line 49, in call
    raise E.SyncException("Unexpected error") from e
connectedcar.exceptions.SyncException: Unexpected error

The following code works and shows my vehicles, the problem occurs by calling connectedcar.Vehicle.
user = connectedcar.User(access['access_token'], "EU")
vehicles = user.vehicles()  # Fetch list of user vehicles

Does anyone know a solution?

Hi @nils2410,
Try switching your region to "US". Sometimes there are issues with authenticating in different regions. Let me know if that solution works for you.

i changed the region to US:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/requester.py", line 37, in call
    raise E.ResourceNotFoundException(response)
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/exceptions.py", line 9, in __init__
    json = response.json()
  File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 900, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/simplejson/__init__.py", line 525, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/dist-packages/simplejson/decoder.py", line 373, in decode
    raise JSONDecodeError("Extra data", s, end, len(s))
simplejson.errors.JSONDecodeError: Extra data: line 1 column 5 - line 2 column 1 (char 4 - 94)

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

Traceback (most recent call last):
  File "fordpass2openhab.py", line 27, in <module>
    print(vehicle.details())
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/vehicle.py", line 104, in details
    '/detail?lrdt=01-01-1970%2000:00:00')
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/api.py", line 68, in get
    return requester.call('GET', url, headers=headers)
  File "/usr/local/lib/python3.7/dist-packages/connectedcar/requester.py", line 51, in call
    raise E.SyncException("Unexpected error") from e
connectedcar.exceptions.SyncException: Unexpected error``

response.text returns the following error:
 404 Not Found: Requested route ('user-profile-proxy-prod.uspd01.cf.ford.com') does not exist.


Option to move "grand total" row from the bottom to the top?

Hi Nicolas,
Your library is amazing.  It's been really incredible playing around with what it can do and implementing it into our solution.
One of my users suggested something that makes sense, but I wanted to float it to you to see if you'd consider it:
For the grand total row that always appears at the bottom, could you add an option to have it show up at the top as the first row below the headers row?  Reason being is that this grand total row is important a lot of times, and if you have a long pivot you have to scroll all the way to the bottom to see it.
Having an option to default this grand total row to the top would be very useful, in my opinion.  We would definitely default it to that option if there was a choice.
Thanks a lot for your consideration on this and keep up the great work!

I'm glad this tool is useful for you!
I don't think I would implement this feature request as an option into the main library (this is the first time anyone has requested it), but there are a couple of ways you can get this behaviour.

you could maintain a copy of the pivotTableRenderer() function in a separate file and use that renderer instead of the builtin one (similar to how the c3_renderers are in their own file).
you could modify the builtin pivotTableRenderer() function.

I recommend the first option, to make it easier to upgrade to newer versions of the library later.
In either case, you want to take the block of code in pivotTableRenderer() between the comments finally, the row for col totals, and a grand total and squirrel this away for later  and move it above the comment now the actual data rows, with their row headers and totals.

Thanks a ton for the response, Nicolas.
I just looked at the pivotTableRenderer function on the pivot.js file that was part of the package we downloaded, and those comments you referenced aren't listed in the function, unfortunately.
I'd love to try out your suggestion and move the block of code to the right spot, but I have no point of reference within the function itself.  If it's not a pain, could you maybe paste the block of code you want me to try moving and just tell me the spot where it should be moved to?   Again, thanks a ton for any help on this.

The comments are in the pivot.coffee file, which you can modify and recompile... If that's not something you want to do, can you confirm that you're using the latest version of pivot.js (i.e. this one: https://github.com/nicolaskruchten/pivottable/blob/master/dist/pivot.js ?) and I can give you line numbers.

Thanks Nicolas,
I'll take a look at that .coffee file.
Re: that pivot.js file.  Yes, that is the one.  If it's not too much of a hassle to give the line numbers, I think I'd rather try that route first.
Thanks again.

OK, take the current lines 875-900 inclusive (i.e. the selected block here: https://github.com/nicolaskruchten/pivottable/blob/master/dist/pivot.js#L875-L900) and move them up to sit just below the current line 834.
It's a pretty simple change: you're taking the block that generates the totals row and moving it above the block that generates the main body of the table. If you want a totals row both above and below, then just copy it instead of moving it and you'll get both :)

You are the man, Nicolas!
I hope to try this out tomorrow.  If not, I'll try early Monday and will let you know how it goes.
Thanks again for being so responsive.   I hope others get to appreciate this great library.  It really is amazing!

Nicolas:  this worked perfectly!  Thank you so much for the help.
Keep up the incredible work...

Happy to help!

I always wished Excel had this option.  It's great your code is able to allow this without too much effort.

Hi @nicolaskruchten
Is the file updated? Because i see line 875-900 as below
if (rowKey.length === 0 && colKey.length === 0) {
          agg = this.allTotal;
        } else if (rowKey.length === 0) {
          agg = this.colTotals[flatColKey];
        } else if (colKey.length === 0) {
          agg = this.rowTotals[flatRowKey];
        } else {
          agg = this.tree[flatRowKey][flatColKey];
        }
        return agg != null ? agg : {
          value: (function() {
            return null;
          }),
          format: function() {
            return "";
          }
        };
      };

      return PivotData;

    })();
    $.pivotUtilities = {
      aggregatorTemplates: aggregatorTemplates,
      aggregators: aggregators,
      renderers: renderers,

Can you guide me from if this is what i need to move to line 834?


Article citing the Project

@mkery In case you haven't seen this Nature post yet, there's a nice mention about Verdant. Here's the link: https://www.nature.com/articles/d41586-018-07196-1 second to last paragraph. :smile:

So cool! Thanks so much @willingc! 😃


Document how to manage service principal roles with management commands

Format is apparently .add database <database> <role> ('aadapp=<clientID>')

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

ID: 143622e5-86cc-6eeb-f9b8-c53336867149
Version Independent ID: be2e8dd2-907d-a749-5ce2-4d773e6fa098
Content: Manage database permissions in Azure Data Explorer
Content Source: articles/data-explorer/manage-database-permissions.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: orspodek

@algattik Thank you for bringing this to our attention. Just to confirm, as I think your example has been hijacked by some formatting issue, is the below correct?
.add database database role ('aadapp= | clientID')
Where database should be databasename and role should be rolename. I just want to clarify before having the content owner review this suggestion. Thank you!

Yes, and in the meantime I discovered the page https://docs.microsoft.com/en-us/azure/kusto/management/access-control/principals-and-identity-providers. I think the page should link to that page

@algattik Thank you for the additional detail. I have a pull request created to be reviewed by the content owner, to add a link from this document to the AAD examples document you provided. Once it has been approved and merged, it will be live.

@orspod For awareness.


Pre-extracted EgoNLQ Features seem unavailable

Hi, thanks for your work. I downloaded Pre-extracted EgoNLQ Features multiple times and failed when downloading 50% each time. Do you have any idea about that? Thank you.

Hi, Thanks for your interest in our work. I just tried to download the tgz file with EgoNLQ pre-extracted features, and it worked fine (as described here).

The tgz file requires ~40GB space. Will you please ensure if you have this much space available on your disk? Even if that does not work, I can upload the file into a drive and share it with you.

Thanks for your reply. I guess it may be related to the regional network (in Australia for now). It is better to provide a drive link. Thank you very much.

By the way, I am trying to extract features with the provided pre-trained model, I found some weight of Roberta Model were not initialized from the model checkpoint, such as "roberta.encoder.layer.10.alpha_t2i" and "roberta.encoder.layer.10.crossattention_t2i.output.dense.weight".  Do you have any idea about this? Thank you.

I have now uploaded the EgoNLQ features into OneDrive. Please find them here. Please let me know if you can download it now.
Regarding your second question about extracting features yourself, please clarify which script you are running and show me your exact Python command so I can better understand and correctly assist you. Thanks!

Thank you very much~ I checked the code and found it is from the code ".from_pretrained". So it looks like no problem for now.


Update ModestConstructorQuery.cs

added the extension so that only constructors without parameters of the supplied type are returned.

is there any way to do this with some kind of source control, because i would've made the commit of the tests in one go with the class changes. This is my first open-source project I'm contributing on ;-)

Try referring to this set of guides: https://help.github.com/articles/proposing-changes-to-your-work-with-pull-requests/
Basically the workflow is following:

Create a fork.
Checkout the forked repository locally.
Create a new branch and perform the work. You are free to alter commits (like amend) as much time as you need - it's your local branch. Ensure to push after you finish (or force push if you amended commits).
Create a pull request.
If any changes are required after the code review, simply adjust your commits (or add new, depending on scenario) in the branch and push/force push.
After the PR is merged, delete the branch.

That's it 😉

Thank you for the reply :-). I'll make sure the fork is created today, and all the changes will be pushed onto that. Normally I'll have enough time to do this and probably see if I can tackle something else (got more than enough time on my hands). Oh, and I'll make sure to follow the guide and workflow you proposed ;-)

Another concern is that we have other IMethodQuery classes (like ListFavoringConstructorQuery) and probably to make the behavior consistent we should adjust them as well. It would be great to investigate whether we can do that in some nice and unified way (although avoiding the inheritance). Otherwise, adding condition to each query would be probably clumsy a bit..

I'll see what I can do. I think I'll make the changes for the proposed classes first and then see if I can push it higher up the hierarchy without compromising too much. Because, as you said, adding the condition to each query separatly would be very clumsy and not so easy to maintain.

I've modified the code locally on my own fork, will be pushing it towards my fork here on Github. Is there any unified way you've already had in mind to design this? At this moment the only way I'd see is with virtual method overriding but that way we would need inheritance and since you want to avoid that. Any tips would be welcome, honestly 😄

Closing this one in favor of #937


docs: Use Markdown automatic numbering in staging branch instructions

[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.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

It's always a pain to re-number everything when adding or removing steps, so let's use the Markdown numbering trick.
This does render correctly in HTML, I tested building the site.

Thanks @issyl0!


SNS - High Power Relay

Referred to hardware.gpio and keyence which alsouses GPIO for 1st attempt to program to write to GPIO. There are a couple of cannot open source file and #include errors I'm not sure how to solve.

Change file names to relay.hpp and relay.cpp


[Question] PGP/MIME?

Are there plans to support PGP/MIME instead of just inline signing (or do you already support it and I missed something)?

:+1:

We use the openpgp.js library for encryption/sign.
It supports plain text encryption/decryption and signing.
Unfortunately it doesn't work with mail attachments.

Right that makes sense, it seems to me you'd need to pass the correct pieces to openpgp.js and constrict the pgp/mime email yourself

+1

+1

So was this closed because you implemented it?

What he said. Or asked.

Any updates on this?


Move updating checksums to checking upstream release

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Error: Cannot read properties of null (reading '0')

Tried to install the application as descibed int the readme. Installation was fine and everything shows normal as anonymous user. But if I try to login with google I receive the following error:
Website:

Logs:

Hi @veitbjarsch,
I had the same error, I fix it by changing the lines 11-14 in the file app/components/error/MissingFirestoreIndex.tsx to this :
const link =     error.details.match(       /(http|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])/     )?.[0] ?? "";

Hi @veitbjarsch,
I had the same error, I fix it by changing the lines 11-14 in the file app/components/error/MissingFirestoreIndex.tsx to this : const link = error.details.match( /(http|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])/ )?.[0] ?? "";

I had the same issue, however this suggestion from @babakhalid did the trick - great stuff 🙌 🌟


Idea for GSoC propsal of CRI

This is a idea proposal related to CRI. The task is about integrate Unikernels as Kubernetes runtime by CRI, and using kubernetes/frakti project as intermediate since it is designed for hypervisor runtime. feiskyer & me from sig-node would like to mentor it.
For more details please check the PR content.
For anyone not familiar with CRI design & implementation, please check this PR below: https://github.com/kubernetes/kubernetes/pull/17048, and this blog
cc @caniszczyk

Thanks @resouer

@resouer can you give me and Pengfei Ni email addresses so I can formally invite you to the GSOC tool: summerofcode.withgoogle.com/dashboard/

Thanks @caniszczyk, I just sent to your gmail.


Add fileSuffix option

TypeScript projects that use several moduleResolution settings (including "NodeNext") require that file imports include the entire filename (with extension) in their references.
This adds a --fileSuffix option which can be set to .js in these scenarios.

@mike-marcacci Thanks for your contribution!
Initially, I misunderstood the purpose of --fileSuffix and assumed it would add a suffix to every generated file. Upon reading your comments, I now understand that it's related to module resolutions, particularly for TypeScript projects using "NodeNext".
I wonder if we should consider renaming this option to better reflect its purpose or the reason behind its creation, perhaps something like --moduleResolution=NodeNext? This could make it clearer for future users. What do you think?

Hey @dderevjanik, thanks for the quick response!
I used --fileSuffix since I'm not entirely sure if there are valid scenarios where the files built by TS (or some combination of TS and another build tool) may actually generate .mjs or .cjs files, so I left the flag flexible enough to support that scenario.
I don't personally have that use-case, and it might not even be a good practice, so I'm perfectly happy to change this to --NodeNextModuleResolution.
Let me know if you still have a preference for --NodeNextModuleResolution and I'll update this PR with those changes.

@mike-marcacci
Was thinking about it again and would be nice to have --moduleResolution option similar to Typescript version, where you can specify module resolution strategy. To not overcomplicate it, let's start with supporting only two "Node" (by default) and "NodeNext" (suffix imports with .js).
Initially, we could support two resolution strategies: "Node" (which would be the default) and "NodeNext" (which would suffix imports with .js). Implementing this wouldn't necessarily complicate things; we could refactor the addSafeImport() function to accommodate an additional argument moduleResolution, utilizing a switch/case structure to handle different resolution strategies.
By aligning with TypeScript's convention, users of wsdl-tsclient would find it easier to locate and utilize their desired options. Plus, it sets the stage for potential future enhancements in line with TypeScript's capabilities.
What are your thoughts on this approach?

@mike-marcacci implemented as --esm argument in https://github.com/dderevjanik/wsdl-tsclient/commit/bde049045da8493945f62d373b11c8ca8643e6c6

Amazing! Thanks so much @dderevjanik, and sorry I completely missed your previous message!


Download flightstack logs using mavlink-router

We are running mavros 0.21 and wish to stream the flightstack logs using mavlink-router over udp. The commands we used were,
mavlink-routerd -e <IP_ADDRESS>:14550 -l /home/drone/logs /dev/pixhawk:921600
/dev/pixhawk is the device we mapped using udev rules
roslaunch mavros px4.launch fcu_url:=udp://@<IP_ADDRESS>:14550
The output of mavlink-routerd command was
Could not open conf file '/etc/mavlink-router/main.conf' (No such file or directory)
Open UART [4] /dev/pixhawk *
UART [4] speed = 921600
Open UDP [5] <IP_ADDRESS>:14550
Open TCP [6] <IP_ADDRESS>:5760 *

The output of examples/heartbeat-print.py was
HEARTBEAT {type : 14, autopilot : 12, base_mode : 81, custom_mode : 458752, system_status : 3, mavlink_version : 3}
HEARTBEAT {type : 14, autopilot : 12, base_mode : 81, custom_mode : 458752, system_status : 3, mavlink_version : 3}
HEARTBEAT {type : 14, autopilot : 12, base_mode : 81, custom_mode : 458752, system_status : 3, mavlink_version : 3}

But when we launch mavros, it doesnt receive anything over the fcu_url.
The output of rostopic echo /mavros/state
header:
  seq: 0
  stamp:
    secs:<PHONE_NUMBER>
    nsecs: 642219235
  frame_id: ''
connected: False
armed: False
guided: False
mode: ''
system_status: 0
---

No logs were created either(We are using a PX4 so .ulog)
Any help in setting this up would be appreciated! :)

Regarding the logging, have you checked https://dev.px4.io/en/log/logging.html ?

Try to run mavlink-routerd with "-r" so you can check if mavlink-router is sending and receiving packages in the UART and UDP ports but as it is working with the heartbeat-print.py I guess the problem lives in the mavros side.

Yes, the problem we saw was that both mavros and the log streaming using pymavlink(using script mavlink_ulog_streaming.py) was not working as they both try to bind to the same serial port.
A possible solution was to use mavlink-router as a proxy and have both mavros and mavlink_ulog_streaming.py talk to it instead. The latter(mavlink_ulog_streaming.py) works fine(generates logs) but the former(mavros) isn't able to communicate with mavlink-router using the commands seen above.
Am I missing something?

I successfully used mavros some time ago with mavlink-router. I don't remember the command exactly but I can check.

@zehortigoza
I did run it with -r. Here's part of the output
Endpoint AutoLog [-1] {
	Received messages {
		CRC error: 0 0% 0KBytes
		Sequence lost: 0 0%
		Handled: 0 0KBytes
		Total: 0
	}
	Transmitted messages {
		Total: 0 0KBytes
	}
}
Endpoint UART [4] {
	Received messages {
		CRC error: 1603 2% 245KBytes
		Sequence lost: 69749 93%
		Handled: 3179 331KBytes
		Total: 74531
	}
	Transmitted messages {
		Total: 263 43KBytes
	}
}
Endpoint UDP [5] {
	Received messages {
		CRC error: 0 0% 0KBytes
		Sequence lost: 0 0%
		Handled: 0 0KBytes
		Total: 0
	}
	Transmitted messages {
		Total: 2377 133KBytes
	}
}

This shows that it's reading data via the UART and transmitting over UDP but mavros isn't playing nice :(

Sequence lost: 69749 93%
Well there is something wrong in your setup, check the baudrate again of both ends again.
Looks mavros is connected and transmitting data to mavlink-router so the problem can be the above.

Another important thing is the mavlink-router the only user of the UART? if no that can explain this problem.

roslaunch mavros px4.launch fcu_url:=udp://@<IP_ADDRESS>:14550

from mavros' README, this part seems wrong. It should be udp://<IP_ADDRESS>:14550

@lucasdemarchi
I followed this schema present in the README
UDP: udp://[bind_host][:port]@[remote_host[:port]][/?ids=sysid,compid]
If i use udp://<IP_ADDRESS>:14550, it complains saying
[ INFO] [1508449754.932221703]: FCU URL: udp://<IP_ADDRESS>:14550
[ERROR] [1508449754.932335450]: UDP URL should contain @!

@zehortigoza
I double-checked the baudrate. Is there anything else I can check?
Right now, mavlink-router is the only user of the serial port mapped to /dev/pixhawk.

@kevin-george than add a @ to the end like udp://<IP_ADDRESS>:14550@ since mavros should bind to the port.

Sorry for the delay in getting back.
Thanks @lucasdemarchi That fixed the problem! The formatting of the UDP url was confusing :)
We were able to control multiple pixhawks via QGC and MAVROS.


Allow scoping of components

Enable Palau to accept an optional component definition of components so they needn't consume global scope more

Fixed with v2.1.3


Beta test feedback: downloading to spreadsheet

A beta-tester

Download in a spreadsheet – Perth and Kinross averages prices
for detached houses and the monthly percentage change for 2014

Would have expected to request the monthly percentage change
by year and had to export into a spreadsheet for all the dates
and then filter by year?

ijd: I'm not sure I can interpret this.

@MalcolmShazell to get some feedback from the user

killing this - we have had no other complaints about the spreadsheet download


Using -WhatIf or omitting -Confirm:$false/-Force fails on functions

I noticied this when running the commands Set-isiClusterOwner -location "Bergen"
Expected: The command should prompt if I want to continue, stating the cluster I'm performing the action on.
Actual:
Set-isiClusterOwner : The variable '$parameter1' cannot be retrieved because it has not been set.
At line:1 char:1
+ Set-isiClusterOwner -location "Bergen"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (parameter1:String) [Set-isiClusterOwner], RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined,Set-isiClusterOwner

Going through IsilonPlatformSet.ps1 and IsilonPlatformRemove.ps1, I notice several cases where $parameter1 is not set.
This may be related to #12 .

I tried to work around this by adding the line if (-not (Test-Path variable:parameter1) ){$parameter1 = "Inhereted from session"}.
This allows me to run with -WhatIf, but I then see a new error:
Set-isiClusterOwner : The variable '$ISIObject' cannot be retrieved because it has not been set.
At line:1 char:1
+ Set-isiClusterOwner -location "Bergen" -WhatIf
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (ISIObject:String) [Set-isiClusterOwner], RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined,Set-isiClusterOwner

This made me investigate this error (VariableIsUndefined), and I found that it's an error thrown when a variable is undefined and Set-StrictMode -Version Latest is set. This is the case here (it's set in IsilonPlatforSet.ps1).


upgraded to omnisharp 19

Upgraded the language server and test projects to use OmniSharp 19. This brings full support of LSP 3.16, including the semantic token legend, which should allow more control over syntax highlighting via semantic tokens.
OmniSharp release notes: https://github.com/OmniSharp/csharp-language-server-protocol/releases/tag/v0.19.0

Codecov Report

Merging #1802 (f763508) into main (1bd5ffc) will increase coverage by 0.49%.
The diff coverage is 94.80%.

@@            Coverage Diff             @@
##             main    #1802      +/-   ##
==========================================
+ Coverage   95.30%   95.79%   +0.49%
==========================================
  Files         377      375       -2
  Lines       22696    23130     +434
  Branches       15        0      -15
==========================================
+ Hits        21630    22157     +527
+ Misses       1066      973      -93

Flag
Coverage Δ

dotnet
95.79% <94.80%> (+0.06%)
:arrow_up:

typescript
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

....IntegrationTests/Helpers/IntegrationTestHelper.cs
96.55% <ø> (ø)

src/Bicep.LangServer/SemanticTokenVisitor.cs
0.00% <0.00%> (ø)

....LangServer/Handlers/BicepDocumentSymbolHandler.cs
83.78% <80.00%> (ø)

...p.LangServer/Handlers/BicepSignatureHelpHandler.cs
98.21% <88.88%> (-0.87%)
:arrow_down:

....LangServer/Handlers/BicepSemanticTokensHandler.cs
75.00% <90.00%> (+1.31%)
:arrow_up:

...ep.LangServer/Completions/CompletionItemBuilder.cs
94.59% <93.33%> (+2.00%)
:arrow_up:

....LangServer/Completions/BicepCompletionProvider.cs
92.73% <93.61%> (+0.01%)
:arrow_up:

...cep.LangServer.IntegrationTests/CompletionTests.cs
88.88% <95.74%> (+1.65%)
:arrow_up:

...ntegrationTests/Helpers/TextDocumentParamHelper.cs
100.00% <100.00%> (ø)

....LangServer.IntegrationTests/SignatureHelpTests.cs
100.00% <100.00%> (ø)

... and 37 more

Opened https://github.com/OmniSharp/csharp-language-server-protocol/issues/556 on the OmniSharp repo.


[🐞] Scroll Position doesn't reset to 0 when it was triggered by SSR / Form Submit Redirection.

Which component is affected?
Qwik City (routing)
Describe the bug
When anyone submits a form, and the action does throw/return a redirection then the redirection happens correctly but the scroll position doesn't get reset to 0 in the new page.
Reproduction
https://github.com/iamriajul/qwik-repro-ssr-redirection-scroll-position-bug
Steps to reproduce

pnpm install
pnpm start
Now scroll to the footer.
Now see above the footer there's a form.
Submit the form.
The bug: Page stays at the footer.

System Info
  System:
    OS: macOS 13.5.1
    CPU: (16) x64 ************ 8-Core Processor
    Memory: 207.31 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.2/bin/yarn
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
    pnpm: 8.9.2 - ~/.nvm/versions/node/v16.20.2/bin/pnpm
  Browsers:
    Chrome: 119.0.6045.105
    Edge: 120.0.2210.61
    Safari: 16.6
  npmPackages:
    @builder.io/partytown: ^0.8.1 => 0.8.1
    @builder.io/qwik: ^1.2.19 => 1.2.19
    @builder.io/qwik-city: ^1.2.19 => 1.2.19
    @builder.io/qwik-react: 0.5.0 => 0.5.0
    undici: 5.22.1 => 5.22.1
    vite: 4.4.7 => 4.4.7

Additional Information
No response

Hi @iamriajul we are using HTTP headers to do the redirection here is the code
is there a way to force a "scroll to top" with headers? 🤔

This bug only happens when a routeAction$ (and other Action maybe) returns redirect, but this bug doesn't occur when a routeLoader$ returns a redirect.

I'm not clear what are you talking about, both routeLoader$ and routeAction$ runs on server, they return similar response, but qwik-city-component handles their response differently.

Could I encourage you to create a PR with this feature?

I don't understand much here, what to change or not. I think @manucorporat can help here.

@gioboa I've submitted a PR. The issue is hampering our user experiences currently.

You can test your implementation right now with this method
Thanks @iamriajul from your commitment.


Clear TODOs that waited for now-current UCO release

Thanks to a community member for raising a question about the MessageFacet in this morning's AC call.


RAS support

[ ] Test plan
[ ] Test and verify
[ ] Automation

Closing this as it will be tracked by https://github.com/openbmc/openbmc-test-automation/issues/1606


Unable to package django app with staticfiles

Hi. I have a django app and I cannot build a docker image with django's staticfiles artifact.
Here's my dockerfile (this is just the first stage of my image, in the second stage I copy the environment)
FROM python:3.11-slim-bookworm AS builder

COPY --from=ghcr.io/astral-sh/uv:0.5 /uv /bin/

WORKDIR /myapp

# Copy app source code
...

# Create the virtual environment with myapp in it
RUN uv sync --frozen --no-dev --no-cache --compile-bytecode --no-editable

# Activate the environment - we will need it for commands below
ENV PATH="/myapp/.venv/bin:$PATH"

# Install static files
RUN COLLECT_STATIC=True python manage.py collectstatic

# Add the static files to .venv
RUN uv sync --frozen --no-dev --no-cache --compile-bytecode --no-editable

This is a pretty simple set up. Copy the app source code, run uv sync to install all the dependencies. Once that's done, I can start up my django app and collect the static files. The files are placed in the source folder. Then, I run uv sync again so that the staticfiles are copied to virtual environment. The problem is they are not.
#16 [builder  8/10] RUN uv sync --frozen --no-dev --no-cache --compile-bytecode --no-editable
#16 0.257 Using CPython 3.11.10 interpreter at: /usr/local/bin/python3
#16 0.257 Creating virtual environment at: .venv
#16 3.969 Prepared 141 packages in 3.69s
#16 4.107 Installed 141 packages in 138ms
#16 5.654 Bytecode compiled 6109 files in 1.54s
...
#16 DONE 6.2s

#17 [builder  9/10] RUN COLLECT_STATIC=True python manage.py collectstatic
#17 1.869 177 static files copied to '/myapp/myapp/staticfiles', 497 post-processed.
#17 DONE 2.4s

#18 [builder 10/10] RUN uv sync --frozen --no-dev --no-cache --compile-bytecode --no-editable
#18 0.216 Audited 141 packages in 0.52ms
#18 DONE 0.2s

Here's also the relevant part in pyproject.toml
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
only-include = ["myapp", "manage.py"]
artifacts = ["myapp/staticfiles"]

I'm completely lost on what's going on for 2 primary reasons:

In my local dev env, I can follow this procedure and it works: uv sync, collect static files, uv sync again and the app is packaged correctly with the static files.
I can add RUN rm -rf .venv to my dockerfile before the second invocation of uv sync and the static files will be then collected correctly.

Please advise.

Thanks for the issue. I think I wouldn't expect this to work either locally or in CI, because we won't re-build / re-install your project after the static files are generated. By default, we only re-build / re-install local projects if the pyproject.toml, setup.py, or setup.cfg files change -- it's similar to https://docs.astral.sh/uv/concepts/cache/#dynamic-metadata, but this is about extra content and not dynamic metadata per se.
I think you probably want --reinstall-package {project_name} in the second command.

@charliermarsh Thanks. That nudged me in the right direction. In fact, I utilized --no-install-project to first build the environment but not the app itself. Then I generate my artifacts and then I redo the sync and my app is installed into the environment for the first time, together with all the artifacts. No need for --reinstall-package.
That approach is much better because now I don't have to get all the dependencies every time the source code of my app changes.


Unbound Edgeos

Hi,
Im kinda new to linux but managed to install dnscrypt on an edgerouter 12 their github provides the binaries for this router think its
a mips cpu, i wanted to install unbound and the one on the repo by edgeos is like 6 years old is there anyway this github can provide the binaries aswell? or is there anyway to install a recent version of this on edgeos? any help is much appreciated.

Hello,
We do not provide binaries; only source code. Binaries are managed by the package maintainers for the different distributions.
The only exception for that are windows binaries which we offer as a low-maintenance community service because compiling on these systems is not the easiest thing to do.
I am not accustomed with EdgeOS but it seems to be a linux variation. Compiling the source code on the system should be possible. Cross-compiling for that system should also be possible.
You can also ping the EdgeOS package maintainers to see if they are willing to provide newer packages.
You can also try to reach other unbound users, that may have similar experience, on the official mailing list at https://lists.nlnetlabs.nl/mailman/listinfo/unbound-users.
I hope that this was useful somehow but unfortunately I cannot help you further; closing this issue.


I need help...

I am making a custom filter bot, but when I use the scratchattach project comment delete function, even though I'm only giving it one, here is my code:
            for comment in self.project_comments:
                for key in self.keywords:
                    if str(key) in comment['content']:
                        print(f"Found {comment['content']}")
                        self.project.delete_comment(str(comment['id']))

Fixed it


Use explicit Locale for era formatting

The field eraFormatter in TemporalCodecs.scala is missing an explicit reference to Locale.US which can cause unexpected behavior when a locale db with i.e. british locale is added to the dependencies.
I encountered this because we added https://github.com/cquiroz/scala-java-locales to our project, whose default db, which is recommended in the repository, is for british english.

Thanks, should we target this to series/0.6.x branch?

Specifically this arose because we were using $date from TemporalCodecs in a query which before adding the library formatted a date as 2023-03-12 and as 2023-03-12 CE after which postgres wasn't able to process.


Simplify thumbnail items in publish section

Reconsider required info for thumbnail items in the publish section: Do the alttext and title from this section even get used? Can we get away with not specifying mimetype?

This is now happening in #250


Cannot use custom port (non-80)

for example:
const res = proxyaddr(request, ['<IP_ADDRESS>:8080'])

what's the error?


Creating datasets.xml blocks for ERDDAP

We should add a standard method for generating  blocks for ERDDAP in each DSG class. ERDDAP's provided scripts  take an abstract approach so they can support a wide variety of data, but since we already know the featureType and details of the dataset, generating the correct block should be easy.

Some of my findings so far:

The featureType=timeSeries netcdf files we produce have needed the following fixes to work in ERDDAP:

<dataset type="EDDTableFromNcCFFiles" datasetID="phsen_2ac1_efcb_5466" active="true">
...
 <att name="cdm_data_type">timeSeries</att>
 <att name="cdm_timeseries_variables">feature_type_instance, longitude, latitude</att>
 <att name="subsetVariables">feature_type_instance, latitude, longitude</att>
...

To represent multidimensional variables as grid, we just need cdm_data_type=Grid:

<dataset type="EDDGridFromNcFiles" datasetID="phsen_2e2d_a110_30fa" active="true">
...
 <att name="cdm_data_type">Grid</att>
...

I've started a library to work towards generating ERDDAP dataset blocks.


[fix] fixed readme

script shouldn’t be executed with sudo as sudo’s home directory is /var/root/

Thx! =)


Does not compile on newest Flutter versions

On https://github.com/david-legend/flutter_catalog/blob/3c400e8311542129a3ed404836c186de985e7377/lib/main.dart#L2, you need to add hide Router because new Flutter SDK contains a class named Router, which conflicts with other imports on this file.
import 'package:flutter/material.dart' hide Router;

I would love to open PR's for this.

Please do, I would love that

If this also relevance for the title, can I open PR's on this? or i should create new issues?


AzureKeyVaultConfigurationProvider is not honoring ReloadInterval correctly

Describe the bug
AzureKeyVaultConfigurationProvider is not honoring ReloadInterval correctly.
In https://github.com/aspnet/Extensions/blob/master/src/Configuration/Config.AzureKeyVault/src/AzureKeyVaultConfigurationProvider.cs,
WaitForReload() function is taking _reloadInterval.Value.Milliseconds as delay time.
However, Value.Milliseconds do not corectly represent the whole TimeSpan, as it only contains milliseconds portion of it.
For example:
TimeSpan.FromMilliseconds(5000) returns 0 for its Milliseconds value,
TimeSpan.FromMilliseconds(5010) will return 10 for Milliseconds value.
To Reproduce
Steps to reproduce the behavior:

Using 3.0.0-preview4.19164.7 version of Microsoft.Extensions.Configuration.AzureKeyVault package,

Run this code:
var azureKeyVaultConfirationOption = new AzureKeyVaultConfigurationOptions("[some keyvault]"); azureKeyVaultConfirationOption.ReloadInterval = TimeSpan.FromMilliseconds(5000); config.AddAzureKeyVault(azureKeyVaultConfirationOption);

This will attempt to reload the keys at every possible moment, since it is essentially waiting Task.Delay(0);

Expected behavior
ReloadInterval should honor the whole TimeSpan, not just Milliseconds portion.

Yes, this looks like a bug.

This is done in https://github.com/aspnet/Extensions/pull/2000


dynamically give pdf path in pdf.js

Link to PDF file (or attach file here):
Configuration:

Web browser and its version:
Operating system and its version:
PDF.js version:
Is an extension:

Steps to reproduce the problem:

Somebody please help me to fix my issue:-
i've developed a small application in php and mysql, where i'm uploading pdf and moving file to UPLOADS folder and storing path in database. But in viewing after passing path i'm not able to open pdf on browser.
i've uploaded PDF.JS files in my folder aswel.
please help me to come out of it. below is my testing url please visit

http://www.farukhzama.com/fileupload/index.php
http://www.farukhzama.com/fileupload/view.php
2.
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Looks like your PHP app is broken and there is no way to see a source code (provide path to the public source control repo?) to see structure of this app. I don't think the problem is PDF.js but rather the way it's deployed. Closing as incomplete.

there

Sir are you there actually i was trying something

Looks like you are trying to implement https://github.com/joepie91/pdfy -- see this project first.

Sir could you please tell me where to put the datapath  can i send you the file

Sir
Thank you so much for your quick response, please check your mail I've sent you the complete code or also now you can check above url now its working

Sir could you please tell me where to put the datapath can i send you the file

Thank you so much for your quick response, please check your mail I've sent you the complete code or also now you can check above url now its working

At the moment, I'm just triaging the issue and have no intent on fixing somebody's issue in timely manner. If you provide enough details, project contributors or other people may assist you, but so far not enough information was provided and php language specifics out-of-scope.

sir i want to open pdf file dynamically from my database instead of displaying from web folder. How can i provide dynamic path of pdf from database to viewer.html


example cubemap does work on Intel HD Graphics 530

cannot load the cubemap texture, got black screen, while executed successfully on nvidia cards.
Renderer: Intel(R) HD Graphics 530 by Intel
OpenGL version: 4.5.0 - Build <IP_ADDRESS>73
Magnum console gave no warning/error message.

Oh well. Intel drivers on Windows are always full of surprises :/ For the record, I'm not getting such issue on Intel Mesa drivers on Linux.
What's the full engine log (including extensions and workaround used)? Maybe disabling some of these could make it work.

I was plowing through all the bugs related to Intel Windows drivers and this was one of them, cube maps in particular were extremely broken. I managed to reproduce and two new workarounds are in place since mosra/magnum@580a3c55535ac38c6974f4d09845301ecbe25af9 and mosra/magnum@f9c6deae6376d4fc2885740015dcb2077e6a3969, which are fixing this issue. (Apart from these, there's 6 other workarounds "fixing" other Intel bugs.)


moar bugs with the acct. settings

it allows you to set your username / pwd to blank or put spaces in the username... not good for parsing

~<

and maybe allow acct. deletion?


Pip: Raise PIP_VERSION to 18.1 to support PEP 508 URL requirements

See [1] and [2] for some background information.
[1] https://pip.pypa.io/en/stable/news/#v18-1
[2] https://github.com/pypa/pipenv/issues/3058
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Not that the PipFunTest update in this PR is unrelated to the PIP version upgrade.


Add Box

Kept Pointer.hpp as the same traits are used. If necessary, those can be moved into Box.hpp.

I resolve issues one by one, generally in individual commits, and mark those resolved along the way. It helps me navigate the remaining issues when there are too many messages. That said, it is possible that some of the issues are not resolved by the time I mark others as resolved. If it an issue, I can refrain from marking anything resolved until I fix everything, or I can post a pull-request-wise comment (e.g. "Done") to let you know that I've finished.

Resolving issues one by one in individual commits is perfectly fine, just
wait until all issues are resolved before pushing them to Github. Once I
get a notification on Github that the pull request has been updated I take
that as an indication to perform a review.
On Wed, Feb 27, 2019 at 1:05 PM andrei-sa<EMAIL_ADDRESS>wrote:

I resolve issues one by one, generally in individual commits, and mark
those resolved along the way. It helps me navigate the remaining issues
when there are too many messages. That said, it is possible that some of
the issues are not resolved by the time I mark others as resolved. If it an
issue, I can refrain from marking anything resolved until I fix everything,
or I can post a pull-request-wise comment (e.g. "Done") to let you know
that I've finished.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/eidolonsystems/rover/pull/6#issuecomment-467968001,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APzFGT4S1pWilaiPTf728k55yuvSV1Sdks5vRsjygaJpZM4bRBSt
.

--
Kamal Mansouri
Computer Programmer
+1<PHONE_NUMBER>

Oh OK. I thought it was the opposite (marked resolved as an indication for a review).


Git clone open new window

Fixes #68945. A problem with this, at least on my machine, is that the dialog box is fairly small and the "Open repository in new window" is abbreviated. Not sure whether that's an issue or not so I thought I'd make a pull request. Apologies for all the extra commits, I accidentally made some commits on my master branch and had to revert them

can u share your os display(scaling, dpi, etc) spec?
mine is fine

Closing in favor of https://github.com/microsoft/vscode/pull/69763, sorry about that!


Add security prerequisites support

As titled.
Closes: #713.

In machine learning APIs, we have some that involve "source" and "destination" indices, with different index privileges for each. For example: https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html, https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html.  Would it be possible to accommodate that here?

@lcawl I would say that this should be done via the description, since it's an edge case, and the edge case differs based on the API, I would write all the prerequisites in the tag (both source/destination and leader/follower) and add a note about it in the API description.

That seems reasonable, thanks!


feature: 查看类的弹窗点击非遮罩处需要能够关闭 (closed  #859)

Codecov Report

Merging #873 (40c99a1) into V2.2.18-rc (826023f) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           V2.2.18-rc     #873      +/-   ##
==============================================
- Coverage       71.05%   71.03%   -0.02%
==============================================
  Files             294      294
  Lines           21597    21597
==============================================
- Hits            15346    15342       -4
- Misses           6251     6255       +4

Impacted Files
Coverage Δ

apps/backend/subscription/steps/plugin.py
47.48% <0.00%> (-0.56%)
:arrow_down:

...nents/collections/agent_new/choose_access_point.py
95.12% <0.00%> (-0.49%)
:arrow_down:

Continue to review full report at Codecov.

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


Copyright year typo?

Is this really Copyright 2012 or is this a typo?
https://github.com/joeycastillo/OSO_Arduino_LCD/blob/3addb19a562b0e176df6f9384e508fc4a5dfcfda/license.txt#L3

This is a typo; I started with an Adafruit library before kinda restarting from scratch, and this must have remained. I’ll close this issue when I fix it. Thanks for pointing it out!


"amiga ansi" not properly supported

In the new ansi renderer, what I call "Amiga ansi" - escape codes used in Amiga specific text files are not rendered correctly. Even the Windows commandline does a decent job of this, so perhaps it is possible/relatively easy to implement?
Windows 11 command line:

Demozoo currently:

Native Amiga:

Transferred to https://github.com/demozoo/ansipants as this is reproducible outside of Demozoo.
The only thing that's identifiably "weird" about this file (as in, ansipants fails on it when run in 'strict' mode) is the escape sequence right at the start of the file: \x1b[0m\x1b[0 p\x0c\x1b[0m - if https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797#keyboard-strings is correct, \x1b[0 p would be a keyboard reassignment command, but any valid one would have multiple parameters (not just the 0 here). \x0c is a form feed character, and I'm not sure how that's meant to be treated - but in any case, removing these sequences still leaves it rendering correctly in Mac iTerm but broken in ansipants and ansilove, so it seems that's just redundant junk.
Looking closer, everything in the ansipants / ansilove rendering is in the correct place except for the horizontal lines, so I suspect it's using 'underline' control codes to achieve those, and neither ansipants nor ansilove is currently implementing them. And indeed, there are a whole load of \x1b[4m sequences, which is apparently the sequence for enabling underline. So I think that solves the mystery!


Isomorphic rendering support

Even after fixing all react 0.14 dependent stuff the library seems to be not suitable for the subject. Getting differences in this block:
<defs>
<clipPath id="lineClip_1000x200">
<rect width="1000" height="200" data-reactid=".1m7gez738cg" data-react-checksum="-1087171417"></rect>
...

Seems like it's created and rendered somehow out of react's workflow.
Any ideas or plans to add this feature?
Thanks a lot

Since I didn't try isomorphic rendering yet I first need to get my hands on some sample code.
It would be great if it would work though.

What do you think about trying this? http://oli.me.uk/2015/09/09/d3-within-react-the-right-way/

That sounds neat. Thanks for the link! I would like to try it out but absolutely no time these days.
I recently wondered if it's possible to rely more on d3, but didn't come around to look more into it.
If you want to try it out and compare the performance feel free to send a pull request :)


Careful read tracking through pipeline

This is a placeholder issue for work that might happen with other scripts.

No longer relevant.


Add a PR to tomopedia.github.io

I get a significant amount of traffic through tomopedia to TIGRE.
I realized that CIL/CCPi codes are not there (https://tomopedia.github.io/software/).
You may want to add a PR to get this code in there.

Maybe this test
Core Imaging Library (CIL) is an open-source Python framework for tomographic imaging with particular emphasis on reconstruction of challenging datasets. It provides state-of-the-art iterative algorithms and regularisers for tomographic inverse problems, using projectors from the ASTRA-Toolbox and TIGRE.

merge in master from tomopedia
https://tomopedia.github.io/software/


add: kickbox

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

@matheusfelipeog They actually have a completely free one with no limits here -> https://open.kickbox.com which uses https://github.com/ivolo/disposable-email-domains as the data source. I have updated it to the open variant domain in this pr #2808


Update dotnet-api-guide.xml, channel should be called channel and not model

At the start of the documentation you see that the Channel of type IModel is called channel so it's disturbing to see it called model just after.

@klettier Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@klettier Thank you for signing the Contributor License Agreement!

For historical reasons, this specific client has been using Model to refer to channel instances for over 10 years. While the docs certainly can and IMO should refer to them as "channels", the status quo is easy to explain.


Can a single subscription be used for all services/apps in the landing zone?

Let us know the feedback or general question
I see from the doc that a minimum of 1 sub is required - but can that 1 sub be used for all modules, including application deployments? Can resource groups be used as a security boundary instead?
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey @sujitdmello,
It can, but we wouldn't recommend it really.
Scaling within resource groups create complicated RBAC structures and also scaling challenges that are easily solved by adopting the subscription democratization principal of ALZ.

We also have a YouTube video talking to this: https://www.youtube.com/watch?v=R-5oeguxFpo

Hope that helps

Hey @sujitdmello,
It can, but we wouldn't recommend it really.
Scaling within resource groups create complicated RBAC structures and also scaling challenges that are easily solved by adopting the subscription democratization principal of ALZ.

We also have a YouTube video talking to this: https://www.youtube.com/watch?v=R-5oeguxFpo

Hope that helps

Creating subscriptions or getting access to multiple subscriptions is a lot more complex - hence the question. I can certainly appreciate that using them as a security boundary is better. But for smaller deployments (like maybe 1 or 2 app architectures), wondering if a single sub may suffice.


swift 3 with pod file

hello I am using pod in swift 3
pod 'thenPromise', :git => 'https://github.com/freshOS/then.git', :branch => 'swift3' #swift 3
but it doesn't work can you tell me right syntax

Hello @umeshjavastar there is nothing wrong with your Podfile as far as I can tell.  We have an issue with the swift3 version of then indeed but we're on it :)
I'll ping you when it's fixed, hopefully tomorrow. Have a great day,

Thanks,
I am waiting for new version update

Hi @umeshjavastar, swift3 version is now out
Here is a Podfile version that will pull the latest (swift3) version.
target "MyApp" do
  pod 'thenPromise', :git => 'https://github.com/freshOS/then.git'
  use_frameworks!
end

Let me know how it goes :)

Thanks its working

Awesome!


aux.ts is an invalid filename on windows, refuses to extract .zip repository or git clone on windows

https://github.com/gajus/react-aux/issues/10
https://stackoverflow.com/a/122431

omg, really?? 🧐😂 Will change this, thanks!


link body can't have a comma - what do?

probably should develop a different format than,
[link text, {"option1": "value1", "option2": "value2"}](http://link.to/file.mp4)

[link text || option1: value1, option2: value2](http://asdf.com) perhaps?


conda version ordering

we need to implement or take a function to get a version ordering that adheres to the conda spec.

@wolfv should we close this issue in view of #162

yup!


Will insert a gutter at the beginning of the current editing table cell from Obsidian v.1.5.*

The plugins lapel and obsidian42-strange-new-worlds both insert a gutter, so the current workaround is to make sure both are turned off if you want to remove the gutter. Waiting for a fix. Thank you for developing and maintaining this plugin! ❤

So for the delay in responding. In Settings you can disable the gutter block reference counter, while the rest of SNW keeps showing reference counters. Have you tried that?


"with_children" does not support adding single component

Currently, the implementation requires that the component being spawned implemented DynamicBundle, so you can't do something like this:
fn setup(
    mut commands: Commands,
) {
    commands
        // Player
        .spawn(SpriteComponents {
            material: materials.add(Color::rgb(0.5, 0.0, 0.0).into()),
            translation: Translation(Vec3::new(window_desc.width as f32 / 2.0, 50.0, 0.0)),
            sprite: Sprite {
                size: Vec2::new(30.0, 30.0),
            },
            ..Default::default()
        })
        .with(Player::new())
        .with_children(|parent| {
            parent.spawn(BulletEmitter::new());
        });
}

Instead, you need to do it that way:
.with_children(|parent| {
            parent.spawn( (BulletEmitter::new(), ) );
        });
}

While this is a decent workaround, could it be possible to make it so you can use a regular Component too?
A friend suggested implementing the following, although I'm not knowledgeable about Rust enough to do so myself:
DynamicBundle for T: Component
Thanks!

I thought about .with_child(BulletEmitter::new()), which wraps the current with_children), but it's too specific.
In that case, I prefer to;

define BulletEmitterComponents.
implement to_bundle(self) for BulletEmitter if it seems never used with other components.

This should be solved with the new Commands API in 0.5. See #1703.

Fixed in 0.5


Update CZML validation document.

Adds properties for showThroughEllipsoid for sensors.  No changes to assertions since these properties are extensions.
https://github.com/AnalyticalGraphicsInc/czml-writer/pull/171

Thanks for the pull request @shunter!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Build succeeded, merging.


Implement RPCv0.5 final spec

Starknet RPC v0.5 spec is finalized (https://github.com/starkware-libs/starknet-specs/releases/tag/v0.5.0) - implement all the changes since v0.5-rc1.

Done


VM instance on Azure are not able to set local time.

Hi, Guys:
When I set local time on VM instance at Azure,
It automatically rollback to the current UTC time.
set date<PHONE_NUMBER>12.12
show system uptime
Current time: 2022-12-12 12:12:14 IST   <<<< Clock changed to local time for very short time, then
show system uptime
Current time: 2023-01-15 13:50:39 IST  <<<< Clock rolled back automatically by it's own.
Online search shows that VM on Azure is not allowed to set date and time, (only allow to change time zone).
Does there has official document mentions this limitation?
Thanks.

@zshu11
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

This is the link that has meet the same issue:
https://serverfault.com/questions/576252/how-to-stop-time-synchronization-on-an-azure-vm.
about "add a link to the documentation you are following for these steps",  I am asking for the official doc from  Azure,
not I have the document.