Flipper not enabled for custom Xcode configurations

Description
The problem:
Flipper does not find app if the Xcode build configuration is renamed from "Debug" to "Banana" (anything other than "Debug").
The recommended workaround (does not work):
Add your custom xcode build configuration name in the Podfile, such that cocoapods generates the correct xcconfig files, and use_flipper(...) must be passed a list of configurations that it should work for.
The problem:
The workaround does not work fully. It correctly adds -DFB_SONARKIT_ENABLED=1 to the main project but fails to add it to the React-Core pod.
This causes Flipper to recoginize the simulator but fail to find the app, causing this message to appear in Flipper:

("NO APPLICATION SELECTED")
The actual workaround (works for me):

Use patch-package to add your debug configurations to React Native's scripts/react_native_pods.rb file such that it adds the preprocessor variable/value, or
Manually add the flag in Xcode to the custom "Banana" config for "Other C Flags":

The cause:
Some important definitions as I understand them - because they can be quite confusion to discuss otherwise:

Xcode scheme: The top bar drop down in Xcode where you select a scheme. A scheme points to a build configuration and defines if a build is debuggable, among other things.
Xcode build configuration: A scheme points to a build configuration, which is defined in part by the .xcconfig files
react_native_post_install(installer): A function that calls flipper_post_install which installs Flipper in the build configurations. The default configurations are "Release" and "Debug".

While this change introduced a fix for standard installations, it fixes with a hardcoded configuration name, which silently fails/gets ignore despite all flags being set correctly for the project itself (for v0.68.2):
https://github.com/facebook/react-native/pull/33499/files#diff-adcf572f001c2b710d14f409c14763f1a50b08369b3034548f1602685d21f67f
(and this line in main at the time of writing, from 'main' branch)
A proposal for a fix?
Instead of a hardcoded "Debug" configuration, we should base it off of the list of provided configurations and their cocoapod mapping, e.g. the Podfile for this demo project is as such, and this should be the source of truth:
project 'AwesomeProject',
  "Debug" => :debug,
  "Banana" => :debug,
  "Release" => :release
# ....
target 'AwesomeProject' do
  use_flipper!(configurations: ['Debug', 'Banana'])
  # ...
end

Version
0.68.2
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 12.4
CPU: (10) arm64 Apple M1 Pro
Memory: 346.95 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.2/bin/yarn
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/sesoliman/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 30, 31, 32
Build Tools: 30.0.2, 32.0.0
System Images: android-28 | ARM 64 v8a, android-32 | Google APIs ARM 64 v8a, android-32 | Google Play ARM 64 v8a, android-33 | Google Play ARM 64 v8a
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

Create a project using npx react-native init AwesomeProject, i.e. follow the general guide
xed ios/ to open the workspace in Xcode
Rename or clone the build configuration from "Debug" to "Banana"
Add the recommended changes to ios/Podfile

project 'AwesomeProject',
  "Debug" => :debug, # in this case I cloned the config instead of renaming it
  "Banana" => :debug,
  "Release" => :release

and
use_flipper!(configurations: ['Debug', 'Banana'])

Run cd ios && pod install
Run the project
Open Flipper
No plugins will be available, the error "NO APPLICATION SELECTED" will appear

Snack, code example, screenshot, or link to a repository
Banana config added to new project:

Confirmation that despite making the necessary Podfile changes,
the React-Config pod is still missing the correct build flag:

Generic workaround, that we should probably integrate into the actual flipper.rb file in main:

Podfile changes, add a call to apply_flipper_fix(installer) and then add the definition for the function shown below:

target 'AwesomeProject' do
  # ...
  post_install do |installer|
    react_native_post_install(installer)
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
    # add this AFTER react_native_post_install(...):
    apply_flipper_fix(installer)
  end
end

# Fix for https://github.com/facebook/react-native/issues/34332
def apply_flipper_fix(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'React-Core'
      target.build_configurations.each do |config|
        if config.debug?
          puts "Enabling Flipper for build configuration '#{config.name}'"
          # For 0.68.2. Note that main branch now uses GCC_PREPROCESSOR_DEFINITIONS:
          # https://github.com/cipolleschi/react-native/blob/f3db6cc52792e3006a16408df4ae40f3aee19a86/scripts/cocoapods/flipper.rb#L87
          config.build_settings['OTHER_CFLAGS'] = "$(inherited) -DFB_SONARKIT_ENABLED=1"
        end
      end
    end
  end
end

Had a similar problem and somehow this workaround fixed everything for me. The Pods project in my app didn't have a react-core target:

...but I did have a React-Core-1aa923ac target which had no -DFB_SONARKIT_ENABLED=1  flag. Once I added that in manually, Flipper started working for me (finally).
I did try the apply_flipper_fix code above but it didn't work for me. I suspect its because in my project the target is named React-Core-1aa923ac and not just React-Core. I don't suppose there is a way to search for a target name based on a partial name?

Had a similar problem and somehow this workaround fixed everything for me. The Pods project in my app didn't have a react-core target:

...but I did have a React-Core-1aa923ac target which had no -DFB_SONARKIT_ENABLED=1  flag. Once I added that in manually, Flipper started working for me (finally).
I did try the apply_flipper_fix code above but it didn't work for me. I suspect its because in my project the target is named React-Core-1aa923ac and not just React-Core. I don't suppose there is a way to search for a target name based on a partial name?

# if target.name == 'React-Core'
if target.name.start_with?('React-Core')

I worked fine.

@scarlac I tried your solution but it didn't work for me !!
when i run my app with custom configuration flipper not detect it also when i run pod install after adding your code and it gives me:
Enabling Flipper for build configuration: Debug
Enabling Flipper for build configuration: Custom.Debug
it run successfully but flipper not work !


Unable to mount SATA hard drive: Wsl/Service/AttachDisk/0x80070032

Windows Version
Microsoft Windows [Version 10.0.25931.1010]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version <IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Determined drive path through the wmic disklist function (PHYSICALDRIVE1), unmounted all partitions through diskmgmt, ran WSL mount with the bare modifier as follows:
wsl --mount \\.\PHYSICALDRIVE1 --bare
Expected Behavior
The intended WSL mount functionality; bare-mounting it so I can give WSL the full drive and then pass through it to access both its EXT4 and NTFS partitions.
Actual Behavior
$ wsl --mount \\.\PHYSICALDRIVE1 --bare
The request is not supported.
Error code: Wsl/Service/AttachDisk/0x80070032

Of note, this happens be it with --bare or specifically targeting a partition (e.g, the known ext-4 partition --partition 4), as well as when targeting my other external data drive (\\.\PHYSICALDRIVE0)
Diagnostic Logs
Diskdrive output
C:\Windows\System32>wmic diskdrive get Availability,Capabilities,CapabilityDescriptions,DeviceID,InterfaceType,MediaLoaded,MediaType,Model,Name,Partitions
Availability  Capabilities  CapabilityDescriptions                                       DeviceID            InterfaceType  MediaLoaded  MediaType              Model                   Name                Partitions
              {3, 4}        {"Random Access", "Supports Writing"}                        \\.\PHYSICALDRIVE2  SCSI           TRUE         Fixed hard disk media  WDS200T1X0E-00AFY0      \\.\PHYSICALDRIVE2  5
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE0  IDE            TRUE         Fixed hard disk media  WDC WD4005FZBX-00K5WB0  \\.\PHYSICALDRIVE0  1
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE1  IDE            TRUE         Fixed hard disk media  TOSHIBA DT01ACA200      \\.\PHYSICALDRIVE1  4

WSL Logs
WslLogs-2023-08-23_18-34-12.zip

@CliffracerX the interface type is IDE but your hard drive is SATA capable, it should show InterfaceType=SCSI. How do you connect your hard drive?

Indeed, wsl --mount only supports SCSI disks at the moment so this is why you're seeing this error

@CliffracerX the interface type is IDE but your hard drive is SATA capable, it should show InterfaceType=SCSI. How do you connect your hard drive?

They're connected by some cables yoinked from the drive bays on the old computer I pulled them from; my current one doesn't have proper drive bays so I had to make do with some bodge-job mounting and cabling.

Indeed, wsl --mount only supports SCSI disks at the moment so this is why you're seeing this error

This would explain it, then- unfortunate that I'll need to futz with the setup to get them supported, but good to know it's user error on my part!


Add Tag for Laravel 9 Release

Can't properly update cause of the untagged release

Same issue here, using @dev for now

Done :)

Done :)

Legend, thanks 😊


don't cull ui nodes that have a rotation

Objective

Fixes #5293
UI nodes with a rotation that made the top left corner lower than the top right corner (z rotations greater than π/4) were culled

Solution

Do not cull nodes with a rotation, but don't do proper culling in this case

As a reminder, changing rotation and scale of UI nodes is not recommended as it won't impact layout. This is a quick fix but doesn't handle properly rotations and scale in clipping/culling. This would need a lot more work as mentioned here: https://github.com/bevyengine/bevy/blob/c2b332f98a0bcab7390e4b184099202cfb4fbbe1/crates/bevy_ui/src/render/mod.rs#L404-L405

bors r+


dependencies: Check libudev minimum version

Related to issue #415.
The node type udev requires an API modified in libudev 183.
This patch adds a check for libudev 204, the oldest version
I managed to test with.
Signed-off-by: Anselmo L. S. Melo<EMAIL_ADDRESS>

Thanks, merged !

sorry, wrong browser's tab

the patch looks good !

Applied, tks.


[PowerToys Run] have search Ignore file types

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
Option to ignore files using a file called .ptrunignore (in the user directory) that works just like .gitignore and .dockerignore (supports Regular Expression) but it works systemwide
Why?
I (and many others ) would like to have these kinds of results not show up in PT Run:

If this feature gets implemented, I could add *.pyc to .ptrunignore and results with the .pyc extension would not show up in PT run search results.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

pinging @crutkas because this issue is not in a milestone nor it has been discussed by a core team (does not have a Needs-Triage label)

@alannt777 It hasn't a triage-needed label because of a error from me.

This needs to be integrated into settings

Actually think you can do this via windows search.

Well I was digging the Windows Search settings. But I could not find such an option
I could have the indexer ignore certain directories. But I want it to ignore files.

Pretty sure this is the correct way, uncheck the box in File Types in advanced options

Can't really use regular expression?

May be able to adjust the search query system


[BUG] Corrupted channel by directly writing to native stream in forked JVM

Context:

Playwright Version: 1.28.1
Operating System: Linux (Fedora)
Browser: All

Code Snippet
[INFO] Results:
[INFO]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[WARNING] Corrupted channel by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /home/shardis/dev/projects/java-studio-hub/target/surefire-reports/2022-12-23T00-15-56_946-jvmRun1.dumpstream
[INFO]

Describe the bug
I am getting warning about corrupted channel from surefire after building the project with playwright test.
I think that streams written to native stream might be just warnings like: BEWARE: your OS is not officially supported by Playwright; downloading fallback build. but it might be something more.
Description of this warning on maven site:
https://maven.apache.org/surefire/maven-failsafe-plugin/faq.html#corruptedstream

It looks like Surefire plugin has made an interesting design decision to use stdout/stderr instead of creating a dedicated pipe for IPC communication with its child process and it assumes that all writes to the standard output of the process that runs the tests go through System.out/err. This is not the case when you use Playwright - all the stderr/stdout messages from the driver process launched by Playwright Java library are forwarded to its stdout/stderr fd's of the test process which makes the plugin unhappy. Thankfully, according to the plugin documentation  you can configure the plugin to use TCP/IP for the communication by simply adding this to the plugin's config:
<configuration>
  <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
</configuration>

Will that work for you?

@yury-s I can confirm that changing surefire configuration have solved the problem.
Warning message is now gone. Thanks for your help.


Feature/kill

My container didn't reacted to dde stop or any other commands.
Any preferences here? @s4mpl3d @lukasluecke

I'd rather not "pollute" dde with more "redundant" functionality of docker-compose - if this is something that's happening repeatedly we could add it for now, but I'd rather move towards removing the "dde lock-in", and allow / push consumers to use docker-compose directly for these tasks. This is an ongoing effort, and depends on at least #5 (since this is the main reason for the dependencies on DDE_UID etc., which cause normal docker-compose to fail).

Good to hear and I fully agree. But yes, for the time being, it's very useful.

I'd propose leaving this as an open PR in that case, so for anyone encountering the same issue there's a solution, and if there are more, we can still merge it.
As a temporary solution you can also use DDE_UID=$(id -u) DDE_GID=$(id -g) docker-compose [command] to "bypass" dde.

I know, but that sucks. @s4mpl3d agreed that this PR would be useful

Rebased to develop (Gitflow).

@marcwieland95 Is this still an issue? I've never encountered something like this in this past year 🤔

Closing this PR since it references the old version of dde (Makefile)


fix: add google pay js to reactor deps

Description
Title

Testing required outside of automated testing?

[ ] Not Applicable

Screenshots (if appropriate):

[ ] Not Applicable

Rollback / Rollforward Procedure

[ ] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

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


Setting datapoints from a $http callback often leads to no data on the graph

Hello
I have the following html:
<c3chart bindto-id="chart" chart-data="datapoints" chart-columns="datacolumns" chart-x="datax">
    <chart-axis>
        <chart-axis-x axis-id="date" axis-type="timeseries">
            <chart-axis-x-tick tick-format="%Y-%m-%d"/>
        </chart-axis-x>
    </chart-axis>
</c3chart>

And following controller:
killrControllers.controller('WeatherStationViewCtrl', ['$scope', '$http', '$routeParams',
    function ($scope, $http, $routeParams) {
        $scope.datapoints = [];

        $http.get('/station/' + $routeParams.id).success(function (data) {
            $scope.station = data;
            $scope.datapoints = data.dailyPrecipitation;
            console.info("Setting data points to " + JSON.stringify($scope.datapoints));
            $scope.datacolumns = [{"id": "precipitation", "type": "bar", "name": "Daily Precipitation"}];
            $scope.datax = {"id": "date"};
        });

    }]);

About 50% of the time I get an empty graph even if there are many data points coming back from the HTTP call. Am i doing something wrong?
Thanks

Are you sure that data is an array.dailyPrecipitation? Maybe you should redraw the chart yourself?
In my example I add points to the current collection, add a watch to the collection and in the end redraw the graph using "function loadChartData()". You assign a new object, I hope an array to the variable. I am guessing but it could well be that the watch function than does not work.
Maybe you can create the sample in the same tree as my samples. I can have a look if I can fix it for you.

Thanks for the quick response. Turns out if I move the initialisation out of the $http callback then this works all the time, like this:
    function ($scope, $http, $routeParams, $interval) {
        $scope.datapoints = [];
        $scope.datacolumns = [{"id": "precipitation", "type": "bar", "name": "Daily Precipitation"}];
        $scope.datax = {"id": "date"};

        $http.get('/station/' + $routeParams.id).success(function (data) {
            $scope.station = data;
            $scope.datapoints = data.dailyPrecipitation;
            console.info("Setting data points to " + JSON.stringify($scope.datapoints));
        });

    }]);

Nice, so I can close the issue?

Yes thank you

On 6 Apr 2015, at 12:39, Jettro Coenradie<EMAIL_ADDRESS>wrote:
Nice, so I can close the issue?
—
Reply to this email directly or view it on GitHub.


Enterprise 2021.06.0 release notes

@uhoh-itsmaciek FWIW, I fast tracked this one to get the release done, but a post-merge review is certainly welcome here :)


feat(storage_profile): add support for CSI arguments

Describe your changes
Since settings are supported by terraform-azurerm-provider from v3.35.0 on, allowing to disable CSI driver one by one.
Issue number
#000
Checklist before requesting a review

[x] The pr title can be used to describe what this pr did in CHANGELOG.md file
[x] I have executed pre-commit on my machine
[x] I have passed pr-check on my machine

Thanks for your cooperation!

@microsoft-github-policy-service agree [company="{swisspost}"]

Hi @aescrob, since the master branch now should been fixed, would you please rebase to the latest master branch and try again? Thanks.

@aescrob please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

Contributor License Agreement

@microsoft-github-policy-service agree [company="swisspost"]

@aescrob please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

Contributor License Agreement

@microsoft-github-policy-service agree company="swisspost"

Hello @aescrob, I'm sorry we've met an issue on our pipeline so we have to upgrade the Github action yaml files in this repo, would you please merge your branch with the latest master branch so we can run the e2e test? Apology for the inconvenience, we're still refactoring the pipeline.

Oh...i am so sad to not made it into v6.3.0.
Anyway, thank you @lonegunmanb for your feedbacks

Oh...i am so sad to not made it into v6.3.0. Anyway, thank you @lonegunmanb for your feedbacks

No worries @aescrob , I'll release a new version for you once this pr has been merged.


Add UUIDs to zine

Another alternative is to provide a unique constraint on the zine title and key off the slug.

What is the intended us of the identifier. If it is for URL's then you should strive to make it friendly. A simple way is to use the id of the zine followed by the title id-title. Then you can call find and convert the param to an int. This offers some SEO benefits and is simple to implement.

That is captured in #44. I'm going to close this because when moving features from pivotal tracker, I let some of the half-baked terrible ideas through.


Add files via upload

please activate our school to create students accounts

@actiondot First stage of verification passed, official domain is alfarabischool.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://alfarabischool.com/main/

please activate our school to create students accounts

@actiondot Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add a generic or base search engine

Upon wanting to add more basic search engines, I realized that this could quickly get out of hand and this project would end up with too many engines. Now, since a user can easily define an engine in their configuration, would it be worth it to add a new engines:base-search-engine or engines:generic-engine so the user could override its basic arguments as follows?
(engines:generic-engine
 :shortcut "my"
 :fallback-url (quri:uri "https://example.com")
 :base-search-url "https://example.com/q?=~a")

Note that there already is nyxt:make-search-engine that does exactly that:
;; Creates a search engine with the shortcut, base-search-url, and fallback-url (respectively).
(nyxt:make-search-engine "my" "https://example.com/q?=~a" "https://example.com")

It's even mentioned in the manual, so I don't see much improvement required here.
What would make this extension much easier to use is the graphical menu for search engine selection -- this way we don't even need the README. The syntax of define-search-engine is easily parseable and it should be possible to generate an HTML form out of it. It's just that someone needs to write this interface code xD

You're right, with all this abstraction I completely forgot about nyxt:make-search-engine. An internal page describing the engines would indeed be ideal!


Include the release date on our release pages

For example, in http://docs.projectcalico.org/v2.1/releases/.
TBD whether we just make this happen for future releases, or if it's worth also adding the dates to past releases.

Let's add a note to RELEASING.md to disclose this new policy.

I'm going to milestone the "do this for future releases" part of this for v2.2.
Doing this for past releases doesn't necessarily need to be done in time for v2.2.

I'm going to open a new issue for back-applying to past releases.


Extend bugref regex to match JIRA tickets

e.g. jsc#ABC-123
Issue: https://progress.opensuse.org/issues/95989
Additionally improve logging in case the regex does not match, so that
we immediately see what didn't match and why.
If necessary, I will try to add a test, but will be afk for a few hours and wanted to push a fix ASAP.

I would prefer to only introduce error handling for unknown bugrefs for now. We should not pretend to support Jira tickets when we can not read out their status in another step.

Can you rephrase that? I don't understand what you mean here.

I would prefer to only introduce error handling for unknown bugrefs for now. We should not pretend to support Jira tickets when we can not read out their status in another step.

Rephrasing: I suggest you only introduce the handling of unexpected bugref formats including the suggestion I made in https://github.com/os-autoinst/openqa_review/pull/173#discussion_r676465447 . I suggest to not change the regex to cover Jira tickets as in other place where we read out information from tickets we do not support Jira, e.g. when reading the status, priority, assignee.


daemon is not compatible with AWS provider: runtime error: invalid memory address

[ ] checked https://foundation-model-stack.github.io/multi-nic-cni/user_guide/troubleshooting/.
[ ] titled with the bug issue (if applicable).
[ ] provided corresponding information regarding the troubleshooting guidelines (CR list/detail, multi-nic cni controller and/or daemon status/log).

Describe the bug
A clear and concise description of what the bug is.
Daemon cannot create routes on AWS machine.
To Reproduce
Steps to reproduce the behavior:
1.
2.
3.
4.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.:

log of failed multi-nicd pod:

2023/01/19 07:40:39 Delete L3 config multinic-ipvlanl3 (false): Failed to get tableID
2023/01/19 07:40:39 force delete multinic-ipvlanl3 (-1)
2023/01/19 07:40:39 delete rule ip rule -1: from <nil> table 100:no such file or directory
2023/01/19 07:40:39 add rule ip rule -1: from <IP_ADDRESS>/16 table 100:<nil>
2023/01/19 07:40:39 Apply L3 config 100; (true)
2023/01/19 07:40:39 cannnot get name: no net or virtio folder from /sys/bus/pci/devices/0000:00:07.0
2023/01/19 07:40:39 cannot list address on ens5: <nil>
2023/01/19 07:40:39 Acknowledge greeting from <IP_ADDRESS>
2023/01/19 07:40:39 Acknowledge greeting from <IP_ADDRESS>
2023/01/19 07:40:39 delete 0 of 0 routes from table 100
2023/01/19 07:40:39 delete rule ip rule -1: from <nil> table 100:<nil>
2023/01/19 07:40:39 Delete L3 config multinic-ipvlanl3 (true):
2023/01/19 07:40:39 force delete multinic-ipvlanl3 (100)
2023/01/19 07:40:39 delete rule ip rule -1: from <nil> table 100:no such file or directory
2023/01/19 07:40:39 add rule ip rule -1: from <IP_ADDRESS>/16 table 100:<nil>
2023/01/19 07:40:39 http: panic serving <IP_ADDRESS>:54984: runtime error: invalid memory address or nil pointer dereference
goroutine 47 [running]:
net/http.(*conn).serve.func1()
   /usr/local/go/src/net/http/server.go:1801 +0xb9
panic({0x12f0860, 0x20761e0})
   /usr/local/go/src/runtime/panic.go:1047 +0x266
net.networkNumberAndMask(0x0)
   /usr/local/go/src/net/ip.go:498
net.(*IPNet).String(0xc0005dc180)
   /usr/local/go/src/net/ip.go:548 +0x2b
github.com/foundation-model-stack/multi-nic-cni/daemon/router.isRouteExist({0x3, 0x0, 0x0, 0xc000504f30, {0x0, 0x0, 0x0}, {0xc000482310, 0x10, 0x10}, ...}, ...)
   /usr/local/app/src/router/router.go:171 +0x109
github.com/foundation-model-stack/multi-nic-cni/daemon/router.ApplyL3Config(0x7f7b6eeba108)
   /usr/local/app/src/router/router.go:44 +0x307
main.ApplyL3Config({0x163cb48, 0xc000f40000}, 0xc000504360)
   /usr/local/app/src/main.go:151 +0x3e
net/http.HandlerFunc.ServeHTTP(0xc000f38300, {0x163cb48, 0xc000f40000}, 0xc000a0d9f8)
   /usr/local/go/src/net/http/server.go:2046 +0x2f
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0001c2180, {0x163cb48, 0xc000f40000}, 0xc000f38200)
   /root/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x1cf
net/http.serverHandler.ServeHTTP({0x16314f0}, {0x163cb48, 0xc000f40000}, 0xc000f38200)
   /usr/local/go/src/net/http/server.go:2878 +0x43b
net/http.(*conn).serve(0xc0005e40a0, {0x16406f0, 0xc000504480})
   /usr/local/go/src/net/http/server.go:1929 +0xb08
created by net/http.(*Server).Serve
   /usr/local/go/src/net/http/server.go:3033 +0x4e8

debug node

sh-4.4# ip rule
0:	from all lookup local
29:	from <IP_ADDRESS>/16 lookup multinic-ipvlanl3
30:	from all fwmark 0x1745ec lookup 7
32766:	from all lookup main
32767:	from all lookup default
sh-4.4# ip route show table multinic-ipvlanl3
Error: ipv4: FIB table does not exist.
Dump terminated

Environment (please complete the following information):

platform: OpenShift on AWS
node profile:
operator version :
cluster scale (number of nodes, pods, interfaces):2 worker nodes 1 secondary interfaces

Additional context
Add any other context about the problem here.
Signed-off-by: Sunyanan Choochotkaew<EMAIL_ADDRESS>

Should be fixed by https://github.com/foundation-model-stack/multi-nic-cni/pull/58.


Freelancer loses picture with game out of focus

With current d8vk master (43f9208) and Wine 8.2 when running Freelancer and Alt-Tabbing out of the game for some period of time, the game turns black when it's refocused and then can't be restored and requires restarting it.

Can confirm I've reproduced this with Wine Staging and latest master. When alt+tabbing back in while the problem is manifesting, I get a "compiling shaders..." message, the screen remains black and "Vidmem heap 0" usage slowly increases in constant increments (about 5MB per rendered frame as far as I can tell).
I'll attempt to get the behavior on a trace, to figure out what is going on.

@shmerl If you grab the artifacts from PR 112 and set d3d8.allowNestedBeginScene = True in a dxvk.conf file dropped alongside the game exe, does that fix it for you?

I tried that custom build and it still happens for me.

I tried that custom build and it still happens for me.

Do you see:
info:  Effective configuration:
info:    d3d8.allowNestedBeginScene = True

on launch?
I've tested it and can confirm it circumvents the issue for me, but it's only a workaround really.

Oh, my bad, I think I forgot that config key. Can you please rebase your PR on the latest master? I wanted to try the static build to void having separate d3d9.dll.

That would unfortunately be extremely painful and I'll only do it if I really have to. You'll notice I'm working with a fork of dxvk, not of d8vk directly, so yeah, thanks GitHub... besides, I'm not entirely sure how stable the static build is as of now, since it's very much a work in progress.

Just tried it with conf file - seems to help me too.

@shmerl Should now be fixed/worked around with latest master. Can you please retest?

I'll test it shortly.

I'll test it shortly.
How should I build it? Do I still need d3d9.dll or not anymore?

If you have the required dependencies https://github.com/AlpyneDreams/d8vk#requirements then you can just build like you would DXVK. But instead of using package-release.sh you instead use build_d3d8.sh.
Only a d3d8.dll is needed from d8vk now.
The easier way is to just grab the latest CI artifact from https://github.com/AlpyneDreams/d8vk/actions/workflows/artifacts.yml?query=branch%3Amain

Yeah, I tried building it last time without d3d9.dll and something didn't work (I was using one from dxvk in the prefix). I'll give it another try now.

Building with my own script, and I'm getting:
src/meson.build:36:4: ERROR: Problem encountered: D3D9 is required for D3D8.

I guess I'm doing something wrong.
That's how I'm calling it:
  meson setup --cross-file "$cross_file" --buildtype release --prefix "$dest_dir" --libdir "$lib_dir" --bindir "$lib_dir" -Denable_d3d9=false -Denable_d3d10=false -Denable_d3d11=false -Denable_dxgi=false "$build_dir"

Oh, could be some branches mess. I see it switched to main from master, while dxvk didn't. I need to fix my script.

Just tested - seems to work fine, thanks!
So I'll close this unless it comes up again.


Bcmohad 15666 acc fields

This is a post deployment step.
Please refer this link: https://proactionca.ent.cgi.com/confluence/display/BCMOHAD/Deploying+Unlocked+package
Thank you


replace the ipld implementation with rust-ipld

depends on https://github.com/ipfs-rust/rust-ipld/pull/22

@dvc94ch Do you envision this as a subcrate inside of rust-ipfs kind of like the http crate is now? If so I think this is a good idea and a critical improvement over the current code organization :+1:

I'd like to have the ipld related things in it's own repo (rust-ipld) as it is an independent project (just like libp2p is).

You would agree that rust-ipfs should still implement rust-ipld though, yes?

rust-ipfs will use rust-ipld and help with it's development (hopfully).

The scope of rust-ipld is bigger than what ipfs might need.

I see, and also looking at the discussion in https://github.com/ipfs-rust/rust-ipld/issues/14 it seems that IPLD is meant to be somewhat independent of the substrate it's working on - so the links might come from somewhere besides IPFS... is my understanding correct?

Yes. IPLD is it's own independent project (like IPFS or libp2p). IPFS is using parts of IPLD and libp2p.

Ok, I'm persuaded to not want it in a subcrate anymore :+1:

Completely agree with all the above

The scope of rust-ipld is bigger than what ipfs might need.

For this reason I was thinking that is there a pressing need for this switch, as in, in the scope of the grant, do we need this now as opposed to "when entering phase 1.2" or later? During the initial grant planning, we also had an idea of "giving time for @vmx" and others to work on rust-ipld as we've now begun with the discussions around block api.

the first step would be backporting some of the current implementation that rust-ipld doesn't have yet. it'll help the rust-ipld design by getting practical experience with it's integration. both me and @vmx missed that the prefix was a concept used in bitswap, which we wouldn't have noticed if I hadn't tried updating rust-ipfs to use the PR.

both me and vmx missed that the prefix was a concept used in bitswap

Ok found the mention in spec, under wireformat and the corresponding lines of code. To be honest I am a bit surprised it's there as well but I am a bit confused as to why bitswap talks about CID's instead of plain multihashes in general. Could elaborate why this is sent along the block in bitswap, as it's not mentioned in the spec text other than in the protobuf section. Is it only to allow later checking of "I just received a block on my wantlist according to this cid-prefix which contains the hash to use"?
How is ipld concerned with the cid prefix?

How is ipld concerned with the cid prefix?

Not directly IPLD, but CID. I wanted to remove some API that didn't make much sense to @dvc94ch and me (https://github.com/multiformats/rust-cid/pull/40#issuecomment-595741823). But it makes sense to keep it due to having bitswap.
If rust-ipfs is using rust-ipld (and hence the most recent versions of multiformats like rust-cid), we can detect such things.

Wonder if this the source for this was deleted?

If rust-ipfs is using rust-ipld (and hence the most recent versions of multiformats like rust-cid), we can detect such things.

Just checked the cid dependency can be updated to 0.4 without breaking anything but the latest master was already used but locked into 2276fa7a8c4aa81d809004643505a7e66f7cf381 (near/before v0.3.2), so I can't see how this rust-ipld dependency would've helped here. I wonder if comments in the rust-cid would had helped in this particular case, describing the why parts of rust-cid exist.
Looking at Davids dag-pb and thiserror PR into rust-ipld it's looking good and I can sort of see a path forward with replacing the ipld side. Perhaps the upgrade should become as a libipld-dag-cbor, libipld-dag-pb, libipld-base dependencies, or does someone else already have a plan? Migration away from the failure to thiserror would probably be great but that should be another issue in it self.

should have this done soon, just need to fix the tests in rust-ipfs


Setting to suppress missing documentation messages for Access <> Public objects

Hi @365businessdev,
Could you add a setting that let's you specify that you would only like to see "missing documentation"-messages from the code-analyzer if the object is part of the public API? (So, no message if Access = Internal, for example)
If this is already possible, then could you please let me know how? 😃

Related to reopened issue #28

Hi @rvanbekkum,
Thank you very much for reporting. This is a bug in our RegEx to detect object access level!
I fixed this in version 1.0.3.
Basically the documentation was wrong. The configuration parameter CheckProcedureDocumentationForAccessLevel is exactly handling this. So with the new version procedures will not be checked in objects with "Access" other then "Public".
At least in default configuration:
    "al-xml-doc.CheckProcedureDocumentationForType": [
        "Global Procedures",
        "Local Procedures",
        "Internal Procedures",
        "Protected Procedures",
        "Event Publisher"
    ],
    "al-xml-doc.CheckProcedureDocumentationForAccessLevel": [
        "Public"
    ]

By the way: If you add Internal to CheckProcedureDocumentationForAccessLevel but remove Internal Procedures from CheckProcedureDocumentationForType you will also check Internal objects but not internal procedures.
I know it's not perfect from handling perspective right now. We're thinking for a better way to manage this, but for now there is no better idea...


Fail on Sparql update for subjects outside repository domain

Addresses FCREPO-1361

Because you're PRing from your repo and not from origin, I can't make line comments, but if I could, I would suggest logging the exception before throwing it. This is so that in debugging situations, it's clear where the problem happened. Remember that exceptions thrown out of that listener don't actually get reported out until quite a ways downstream.

Gah. Sorry about that, I was confused as you had commented inline to my changes to the ontology repo, but the restrictions on it maybe different. I have added in some debug statements.

No prob-- it's because I don't have write access to your clone of fcrepo4. Not to be a picky person, but maybe ERROR is more appropriate for this than DEBUG?

Resolved with: https://github.com/fcrepo4/fcrepo4/commit/2e5265c8f78e111e1d0030207ad32be105bb26cd


Texture issue in FBX file

@dmsurti Please find the sample FBX file.
test_16.zip

@MadhuiOS Thanks for the sample asset. Your asset has an embedded texture and there are a few fixes around that in assimp v4.1.0, which might fix this problem.
Currently, AssimpKit uses assimp v4.0.1 library. The next release of AssimpKit will integrate the assimp v4.1.0 library, so if there is a fix in the upstream dependent assimp, this should be fixed.
Once I debug further in AssimpKit, I will update this thread.

@MadhuiOS For the binary format file, where you see the tokenize error, we have to wait till it is fixed in assimp upstream.
For the non binary format, if it is fixed in v4.1.0, we are lucky! I plan to release v1.3.0 of AssimpKit this month end, unfortunately this release is getting pushed due to my other work commitments.

Hi, I just checked the file and there is no visible texture in your model. So we still need to fix this issue in assimp.
By the way: I hate FBX ...

@kimkulling  Thanks for the update.

FBX = Ferociously Benzoic Xylenol :-D

@dmsurti Can you please support to solve this bug, i only facing texture issue.

@dmsurti Can you please tell me when you're planning to release next version.

@MadhuiOS Sorry, right now I am busy with other stuff that needs to be given higher priority and not sure when I can fix a few things (WIP) and make a new release.

@dmsurti @kimkulling Can you please give me any solution and any idea to solve this issue or give me any direction how to find the solution to  make this texture visible, this is urgent for my project, if you can help that could be great, thanks.

@dmsurti Can you please solve this issue.


Update README to include more related work

Would it be possible to add some more description on how these are relevant? Especially "debugging backwards in time"?


Add mypy to pre-commit

Why are these changes needed?
Ideally, pre-commit hook should check types for files that will be checked by mypy in CI. This PR:

adds to mypy configuration in pyproject.toml the list of files to be checked
add optional dependency target [types] to setup.py including mypy and other packages that needs to be installed for type checking
adds mypy check to pre-commit hook
refactors the existing workflow in CI to use the same configuration as pre-commit

As a consequence, we can run mypy locally on a subset of files as specified in pyproject.toml by simply executing the following command:
$ mypy

Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 13.32%. Comparing base (ca506ba) to head (1ceab17).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2068       +/-   ##
===========================================
- Coverage   36.79%   13.32%   -23.48%
===========================================
  Files          66       66
  Lines        7060     7060
  Branches     1541     1541
===========================================
- Hits         2598      941     -1657
- Misses       4234     6095     +1861
+ Partials      228       24      -204

Flag
Coverage Δ

unittests
13.32% <ø> (-23.48%)
:arrow_down:

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

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

Are we able to use the normal mypy hook? https://github.com/pre-commit/mirrors-mypy

Are we able to use the normal mypy hook? https://github.com/pre-commit/mirrors-mypy

I did once and regretted it, it doesn't work as expected. See e.g. https://jaredkhan.com/blog/mypy-pre-commit

Are we able to use the normal mypy hook? https://github.com/pre-commit/mirrors-mypy

I did once and regretted it, it doesn't work as expected. See e.g. https://jaredkhan.com/blog/mypy-pre-commit

Ah that makes sense, thanks for sending that explanation!

There is a conflict with main.

There is a conflict with main.

I'll fix it later today when I get back home

do we want to change any docker file to preconfigure it?

@sonichi no need, it is automatically setup through existing pre-commit hook


h2 benchmark (end to end)

this can be done through the #526 one

Closed in favor of https://github.com/istio/istio/issues/526


trained model

I read with interest your article and looked through the script. Thank you for this great contribution!  Since it takes several weeks to train the model is there a way to get the trained model ?

I found the trained model :)


why 1_accept bind on client public address port

thanks for your contributions, but one thing I can understands is why bind client_pub_add in tcp_client line 75, thanks for your reply.
threads = {
    "0_accept": Thread(target=accept, args=(priv_addr[1], )),
    "1_accept": Thread(target=accept, args=(client_pub_addr[1], )), -- this line
    "2_connect": Thread(target=connect, args=(priv_addr, client_pub_addr,)),
    "3_connect": Thread(target=connect, args=(priv_addr, client_priv_addr)),
}

I think the author accidentally wrote client_pub_addr instead of pub_addr.
This would make sense because if the peer is another client program running on the same os, it would connect to the client's pub_addr

@abhi204 never mind  :./

@abhi204 never mind :./

Could you use the code?
did it run properly and did the clients connect to each other??
I'm trying to use it but the clients sent syn to each other but they are not answering that with syn-ack
I don't know do they receive it or they are not responding.


Django backend: add jsonrpc batch support.

At the moment it fails.

@pavlov99 Does it have any chance to be merged?

@pavlov99 Does it have any chance to be merged?


Add a page for cumulative charts

I will add the Dataset freshness metrics and Dataset completeness metrics in the next PR.

 Embed dataset charts in the curator UI


Add cli command to download files specified in manifest file constructed by the data browser

The Data Browser facet search will construct a manifest file specifying UUIDs and timestamps for files the user wants to download.
We need to provide a "hca download <manifest_file>" cli command to do the actual download (including retries).

Note that there has been a lot of discussion about the manifest file being human readable. This interface should produce a file format that is usable by non-programmers, perhaps outputting as a tsv or a csv file.  We could optionally save it in a machine readable format like JSON as well, or have optional output formats. But the requirement is that the user should be able to output a human readable format too.


Unable to implement changes on googlefonts icons when deployed on github even though works fine when testing through localhost

There is an issue in styles.css file where in categories sub section, I have been unable to implement changes to google fonts icons when deployed even though its working fine in localhost.

Which font do you want??  the font in the file is working
<img width="371" alt="Screenshot 2024-02-05 at 1 36 38 PM" src="https://github.com/GadgetGoblins/Main/assets/

110713113/805f2c22-6510-48c0-af78-2d52c57ed4e9">

Working Now, Guess it was a CDN hot-reload problem


small python script to move mouse

moves mouse every interval set by the user

works.

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
doroshroman, @coinbrute, @MeesterVers, @tugrulaltun, @corey-recai, @airbler, @naticio, @imhugofonseca, @coodered, @XandeTorres, @argiegaviola17, @Naga079, @feliche93, @fritol, @up1, @mmartinmo, @dhqthai, @8bitsats, @BadBeatBuck, @GoDotDotDot, @Freedomg7, @avishukla0, @vleushin, @esodot, @Alfie, @yoshi00, @bocao9107, @iamminci, @samnang, @niuhb, @athon-millane, @d1-dblaze, @henrypbriffel-ai, @pengjinning, @JustUzair, @t3mujin, @Devilla, @emmajaesadler, @hiddenkirby, @erenersahin, @intotheorigin, @TyroneBarajas1, @0xmarkaap, @ronjunevaldoz, @Zhu-Zhen-Yi, @Bossjaychin, @fasterv410, @seki2020, @xlorne, @Jigar3


can wanakana.toKatakana() function can convert string containing both hiragana and katakana eg "タヌたぬたぬタヌ"

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Before opening a new issue, you may find an answer in already closed issues:
https://github.com/WaniKani/WanaKana/issues?q=is%3Aissue+is%3Aclosed
Issue Type

[ ] Bug (https://github.com/WaniKani/WanaKana/blob/master/.github/CONTRIBUTING.md#bug-reports)
[ ] Feature (https://github.com/WaniKani/WanaKana/blob/master/.github/CONTRIBUTING.md#feature-requests)

Description
(Add images if possible)
Steps to reproduce
(Add link to a demo on https://jsfiddle.net or similar if possible)
Versions

Browser:
OS/Device:
Keyboard/Input Method:

I don't quite understand your questoin. Please provide more information in a new issue including expected and actual results, if this is still causing you trouble. Thanks.


Current_user not always giving the current user

Hi,
sry if I'm wrong but shouldn't current_user giving me the current signed in user / the user related to the auth_token?
I'm using the recent versions of devise (3.5.6) and devise-token_authenticatable (4.0.0).
It's an absolutely weird behavior when I'm logging into my App the token is generated normally and everything works like expected. But if I logout and use a different user, a new devise token is saved in database for this user, but when using current_user by API with the new token, I'm always getting the first user. Looks to me like a problem with the session or cookie but not sure at which point in the code this occurs.
Anyone else an idea ?
Thanks a lot
Chris

Hey Chris,
could you give us a bit more background information about your current setup if this is still an issue for you? How do your controllers and models look like? How does your devise setup look like?
Cheers

Hey,
ahh yes the "problem" still occurs. However I think problem is the wrong word. I figured out that my app generates a session cookie which is used to handle all the incoming requests after the initial login.
A new Login with a different user generates a new auth_token but if I'm using the new auth_token I still gets the data from the old user. The user with the session.
So the issue is how to remove or invalidate the session cookie or how to ignore it when an auth_token is used.
My setup looks like:
ApplicationController: before_filter :authenticate_user!
Routes:
  devise_for :user,              :controllers => { :registrations => 'users/registrations',                                :confirmations => 'users/confirmations',                                :sessions => 'devise/sessions'},              :skip => [:sessions]
Devise config:
Devise.setup do |config|
  # config.secret_key = 'bded6704e0ded221f3bd42206b566bc1ae1cac81fa7cf801db878bacb8c1b4f91c3b649eba92a1d16420a85037f119ef322adec639121823b58da431bef45332'
  config.mailer_sender =<EMAIL_ADDRESS>  require 'devise/orm/active_record'
  # config.authentication_keys = [:email]
  # config.request_keys = []
  config.case_insensitive_keys = [:email]
  config.strip_whitespace_keys = [:email]
  # config.params_authenticatable = true
  # :database      = Support basic authentication with authentication key + password
  # config.http_authenticatable = false
  # config.http_authenticatable_on_xhr = true
  # config.http_authentication_realm = 'Application'
  # config.paranoid = true
  config.skip_session_storage = [:http_auth]
  # config.clean_up_csrf_token_on_authentication = true
  config.stretches = Rails.env.test? ? 1 : 10
  # config.pepper = 'd62f5edaa08103dd6ca05a9b877165311ddf82bbcca7872ca5d408b75bec030ca03256e72c66067bb0dc43a83f0f0def70ff628a385999a8da879c3497389873'
  # config.allow_unconfirmed_access_for = 2.days
  # config.confirm_within = 3.days
  config.reconfirmable = true
  # config.confirmation_keys = [:email]
  # config.remember_for = 2.weeks
  config.expire_all_remember_me_on_sign_out = true
  # config.extend_remember_period = false
  # config.rememberable_options = {}
  config.password_length = 8..128
  # config.email_regexp = /\A[^@]+@[^@]+\z/
  # config.timeout_in = 30.minutes
  # config.expire_auth_token_on_timeout = false
  # config.lock_strategy = :failed_attempts
  # config.unlock_keys = [:email]
  # :time  = Re-enables login after a certain amount of time (see :unlock_in below)
  # :both  = Enables both strategies
  # :none  = No unlock strategy. You should handle unlocking by yourself.
  # config.unlock_strategy = :both
  # config.maximum_attempts = 20
  # config.unlock_in = 1.hour
  config.reset_password_within = 6.hours

  config.sign_out_via = :delete

`

Hey Chris,
you should be able to do the following in your devise setup:
config.skip_session_storage = [:http_auth, :token_auth]

This should tell devise to skip persisting the session while you use token authentication. Does that make sense?

Hey,
that seems to work perfectly. Thanks a lot for the support.

@CR4567 Glad that I could help. I close this for now.


filter added to system/stream

am not sure where to add a test. based on system/stream/mapConcat

@curiosityfoundation thanks, I will merge it for now and patch in master directly. We are trying to keep implementations in line with ZIO as much as possible so I will change A.chain to use the A.filter as it is in https://github.com/zio/zio/blob/master/streams/shared/src/main/scala/zio/stream/ZStream.scala#L1245


Add runtests invoke task

I've added an invoke task that runs the tests and all style checkers in order to help developers follow the style guidelines used by the project. This should also help prevent the situation where a developer runs the tests locally and sees them pass only to have CI fail due to a style issue.
If there is a better name than runtests, I'm all ears!

I was thinking of adding tox, but this is way better and more elegant. 👍


[docs] Fix documentation broken links and remove whitespace at end of lines

Summary
I was reading the docs and saw lots of broken links, bad paths, extra ]'s, and incorrectly indented code blocks so I fixed most of them.
QA Instructions
I ran mkdocs to make sure the links were all correct.
Merge Plan
Should be able to be merged without problem.
Checklist

[x] The PR has a short but descriptive title, suitable for a changelog
[ ] Tests added / updated (if applicable)
[ ] Documentation added / updated (if applicable)
[ ] Updated What's New copy (if doing a release after this PR)

Thanks for the tidying @magnusviri 🫡


调度作业支持调用http接口和JAVA程序包吗？

Version 1.0.2 support http interface, released April 26
java jar has been supported for a long time
Easy Scheduler Road map: Work Plan . where in Development card is 1.0.2 version , TODO card is to be done (including feature ideas)


chore(core): Remove unnecessary slice.

Since it's already calling map, there doesn't seem to be any purpose to call slice to make a shallow clone.

oh you're absolute right. sorry i totally missed this PR


Drivers: CAN: Introduce CAN driver for gd32

This add an initial support for gd32 can device.
There two version of CAN ip in GD32.

CAN 2.0 B

GD32F4xx
... (add later)

CAN-FD

GD32C103
GD32E103
Only a few early specific batches of GD32E103 can works, and CAN function have been removed for the new batch.

Because there is no eval board for GD32C103 series, I can only test it through the special GD32E103 in my hand.All commits related to GD32E103 will be marked as DNM and will be deleted when the draft is complete.
Tasks:

[ ] initial can

[x] device tree
[x] kconfig
[x] clock
[x] pinmux
[ ] bus timing (uncalc value for now)

[ ] can send

[x] can
[ ] can-fd (not tested)

[ ] filter config

[x] device tree
[x] kconfig
[x] add
[ ] add to sub filter
[ ] search
[ ] remove

[ ] can recv

[x] can
[ ] canfd (not tested)

[ ] boards

[ ] gd32vf103c_starter (can only)
[ ] gd32e103v_eval (special chip version can run can-fd function well)

[x] CAN0 (main controller)
[ ] CAN1 (secondary controller)

[ ] documents

filter design
over view
How to use can filter was not wrote to gigadevice  document, but it looks same as stm32F4's can filter.
so I use the example in stm32's reference manual.

STM32F4 Reference Manual (RM0090 Rev19, Page1089)

All callback of reveive can message will be storaged into linked-list,and invoke when message received.

size of filter linked-list can be set by kconfig item CAN_MAX_FILTER
split of main can controller(CAN0) and secondary controller(CAN1) can be set by CAN_FILTER_SPLIT

depend on:

https://github.com/zephyrproject-rtos/hal_gigadevice/pull/18

More GD32 work https://github.com/zephyrproject-rtos/zephyr/issues/38657

@feilongfl Do you have the intention to continue working on this PR?


Numba error in calculate_qc_metrics on a windows machine

Numba issue: https://github.com/numba/numba/issues/4529
The issue seems to come from np.array(..., dtype=np.int) and sparse.csr_matrix(...).indptr.shape - 1 not having equivalent dtypes.
I'm unable to reproduce on my machine, so I'm guessing this is coming from @fkoegel being on a windows machine.

It looks like the underlying issue (np.zeros was being called with a heterogeneous shape tuple) has been marked to be resolved in the next numba release. We could implement a workaround here where we force the dtype, though numba does have a pretty fast release cadence.
@fkoegel, if we implemented a fix here would you be able to test it for us on master branches?

@ivirshup I am getting same numba errors on windows 10 machine. I can test the workaround if you provide a fix. Currently to make the function working I set percent_top=None

I think I've come up with a fix upstream in numba (https://github.com/numba/numba/pull/4729). What's your comfort level with using a development branch of that? It would require a bit of compilation.
Otherwise I can open a quick fix branch here. Basically all that would include would be is changing this line:
https://github.com/theislab/scanpy/blob/e6e08e51d63c78581bb9c86fe6e302b80baef623/scanpy/preprocessing/_qc.py#L391
to:
partitioned = np.zeros((indptr.size - 1, np.int64(maxidx)), dtype=data.dtype)

Fixed upstream


Update CoreResources_zh.properties

Update CoreResources_zh.properties to add bundle about:
Menu/Toolbar/SQL Editor context menu item,
New Connection Wizard ,
Preference/Properties Dialog.
(By the way, I always add bundles and never delete from the original file.
The compare results is always caused by  the format, like space beside = .)

Umm, something went wrong. Looks like this PR conflicts with the first PR for CoreResources l10n.

Yes,  indeed so.  I have resolved the conflicts now  : )


Docs: Add note to install Linux packages

I ran into pyppeteer.errors.BrowserError: Failed to connect to browser port: and after a bit of snooping found that some Linux packages needed to be installed on my machine for pyppeteer to run. Suggest to add a note to save others time. What do you think @kennethreitz?

looks great!


dotnet-sdk_7: 7.0.100 -> 7.0.101

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for dotnet-sdk_7 is: ".NET SDK 7.0.101"
meta.homepage for dotnet-sdk_7 is: "https://dotnet.github.io/"
meta.changelog for dotnet-sdk_7 is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.0.101 with grep in /nix/store/d66l0kal1wlz4cnmb4isyw29vv8c4x87-dotnet-sdk-7.0.101
found 7.0.101 in filename of file in /nix/store/d66l0kal1wlz4cnmb4isyw29vv8c4x87-dotnet-sdk-7.0.101

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

8 package rebuild(s)

First fifty rebuilds by attrpath
BeatSaberModManager
dotnet-aspnetcore_7
dotnet-runtime_7
dotnet-sdk_7
dotnetCorePackages.aspnetcore_7_0
dotnetCorePackages.runtime_7_0
dotnetCorePackages.sdk_7_0
ryujinx

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d66l0kal1wlz4cnmb4isyw29vv8c4x87-dotnet-sdk-7.0.101 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dotnet-sdk_7 https://github.com/r-ryantm/nixpkgs/archive/05a718fc29f4205328c335605e5806bd1e100620.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d66l0kal1wlz4cnmb4isyw29vv8c4x87-dotnet-sdk-7.0.101
ls -la /nix/store/d66l0kal1wlz4cnmb4isyw29vv8c4x87-dotnet-sdk-7.0.101/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

BeatSaberModManager

4 packages built:

dotnet-aspnetcore_7
dotnet-runtime_7
dotnet-sdk_7
ryujinx

Maintainer pings
cc @kuznero @mdarocha for testing.

Duplicate of https://github.com/NixOS/nixpkgs/pull/206768
Can we merge one of these so that it stops making new PRs?

#206768 was merged


Unsafe CMOS RFC reading

The realtime clock is read in an unsafe manner. The osdev wiki article is very worried that you might capture a moment where the clock is still updating. The kernel currently only reads a single snapshot and assumes it's good. It would be better to use the strategy from the wiki where it is read twice and compared, if different, it keeps reading. This should be essentially as fast and safe.
Additionally gettimeofday only keeps track of whole seconds. It would be better if the RTC was read on boot and then the timer interrupt will add to the current cached time. This way the get-time system call can return a higher precision value.

See also #65 which discusses deficiencies in timing APIs.


Can't see download in RubyMine 2018.3

Hi, thanks for making an awesome plugin!
Not sure if the problem is on RubyMine's end or Railways's, but in the latest RubyMine version, I'm unable to find the Railways plugin for download. I see in your changelog that you released a recent version of this plugin that updates it for the most recent IDE version, but for some reason, it is not showing up when I search the Marketplace.
Thanks again!

Hi!
It's strange, I just tested on RubyMine 2018.3.1 (Build #RM-183.4588.71, built on December 6, 2018) and I can see the plugin in marketplace. The version of IDE I specified is the minimal that is required to run the plugin. Do you have the same version installed?

Ah, that was it! I was a patch release out of date. Everything looks good now. Thank you! :)


Implement Docker and journald log rotation

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened: Docker and journald do not seem to be configured for log rotation, this should be fixed

Can you provider more evidence there?
This is what has done the job for docker previously:
https://github.com/jetstack/tarmak/blob/master/puppet/modules/site_module/templates/docker.erb#L4
https://github.com/jetstack/tarmak/blob/master/puppet/modules/site_module/templates/docker.erb#L37
Not too sure if something changed when centos upgraded to docker 1.13

/assign @dippynark

Ah yeah, missed the OPTIONS, but I still think journald rotation needs configuring - it's using the defaults from /etc/systemd/journald.conf from what I can see which only limits the number of files rather than their total size

To be ones not too sure, that might be well the case. Do we know which folder had the issues?

@simonswine  from https://www.freedesktop.org/software/systemd/man/journald.conf.html, usage is capped at 4G - journald is currently storing everything in memory so long running nodes will tend towards 4G of memory used just for logs which is unrelated to this issue but may also be a problem


hello, In the test contract example, how do you get the output of calling the contract?

evm/tests/test_basic_smart_contract.rs

I have the same question

The zkEVM's goal is to prove Ethereum state transitions. As such, it only cares about an input and output states, some additional metadata, and will prove that the transition is valid (i.e. respects the Ethereum specs).
Integration tests here have either been generated through a py-evm script or taken from the Ethereum official test suite, but the zkEVM isn't outputting contract calls.


[DPE-2704] Integrate Kafka built from source

This PR is to test that the charm work well with a new snap revision that was built from source. That revision is currently sitting on 3/edge/dpe-2704-kafka-from-source

Well, I'd say both. I open the PR to make sure it works, but also we want to merge this such that we pack SNAPs using canonical provided artifacts. So, please do make also sure that updating the litearls is all is needed and - if so -give me thumbs up
However, to merge this PR, we need to first merge this, release a new SNAP to 3/edge, and use that revision here.

The snap has now been published to 3/edge with revision 21, so I have updated the PR which is now ready to be merged


Use embedded PostableAlert

Description of change
Checklist

[ ] Tested in playground or other setup
[ ] Documentation is changed or added
[ ] Tests and/or benchmarks are included
[ ] Breaking changes

This change is

Closing in favor of #1015


Selective download of adapter manifests

Signed-off-by: metonymic-smokey<EMAIL_ADDRESS>Description
Currently, manifests for all adapters are downloaded, including adapters not required by the current context. This PR adds logic to only download adapter manifests for adapters present in the current context.
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #4020 (678cb15) into master (89ed2a4) will decrease coverage by 7.47%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #4020      +/-   ##
==========================================
- Coverage   26.31%   18.84%   -7.48%
==========================================
  Files          64       64
  Lines        5004     5019      +15
==========================================
- Hits         1317      946     -371
- Misses       3282     3784     +502
+ Partials      405      289     -116

Flag
Coverage Δ

gointegrationtests
?

unittests
18.84% <0.00%> (-0.06%)
:arrow_down:

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

Impacted Files
Coverage Δ

mesheryctl/pkg/utils/platform.go
3.76% <0.00%> (-0.15%)
:arrow_down:

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-62.83%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.05% <0.00%> (-53.69%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
0.90% <0.00%> (-39.10%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
1.78% <0.00%> (-32.15%)
:arrow_down:

mesheryctl/internal/cli/root/system/update.go
1.17% <0.00%> (-29.42%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.39% <0.00%> (-22.38%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
0.00% <0.00%> (-21.60%)
: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 88d1c7c...678cb15. Read the comment docs.

Thank you for taking this initiative, @metonymic-smokey! I love seeing this sort of organic improvement coming forward. On the surface of this area of consideration, you're spot on. When you dig a little deeper or considering the complexities involved in maintaining this logic under different modes of deployment (Internet-connected, air-gapped, Docker-based, K8s-based, switching between Docker and K8s, one version of Meshery to the next version of Meshery) the return on investment here (return being kilobytes of disk space saved on the user's filesystem) isn't worth the effort.
The primary concern in the area of bundling (downloading) installation manifest files is that of:

ensuring that mesheryctl keeps versioned copies of the installation manifests separated from one another
ensuring that mesheryctl applies manifests that uphold the specifics of the current-context (or the flagged context).

So long as mesheryctl is applying the manifests based on what is described in the current-context 2. we're all set until a design spec review inclusive of content bundling (apps, filters, patterns), installation manifest bundling, caching, and air-gapped deployments is to be completed. No change from the current behavior here is needed. mesheryctl is to download all the manifests (for both platforms) for a given version of Meshery. Trying to add more selective logic here will only get mesheryctl in trouble.
Selective downloading over-engineers a solution that is not in need of optimization (small footprint), but will actually create an issue for the user, who will be surprised when their air-gapped installation only support deploying some components of Meshery and not others. Keeping this area simple and only being selective in so much as which version of Meshery's manifests (all of them), whether that version is already locally available, whether that is a pinned version or a latest subscription... these are enough concerns to handle unto their own.
If 1., keeping a set of directories with release and version number (example below) is not being performed today, this is something to address.
~/.meshery
├── config.yaml
├── manifests
  ├── stable-v0.2.20
    ├── kubernetes
       ├── meshery-consul-deployment.yaml
       ├── meshery-consul-service.yaml
       ├── meshery-cpx-deployment.yaml
       ├── meshery-cpx-service.yaml
      .... # includes the rest of the k8s manifests
    ├── docker
      ├── stable-v0.2.20
        ├── meshery.yaml
  ├── stable-v0.2.21
    ├── kubernetes
       ├── meshery-consul-deployment.yaml
       ├── meshery-consul-service.yaml
       ├── meshery-cpx-deployment.yaml
       ├── meshery-cpx-service.yaml
      ....
    ├── docker
      ├── stable-v0.2.21
        ├── meshery.yaml
  ├── stable-v0.2.25
    ├── kubernetes
       ├── meshery-consul-deployment.yaml
       ├── meshery-consul-service.yaml
       ├── meshery-cpx-deployment.yaml
       ├── meshery-cpx-service.yaml
      ....
    ├── docker
      ├── stable-v0.2.25
        ├── meshery.yaml
  ├── edge-latest # there is only one of these.

I have started a spec: https://docs.google.com/document/d/13XPXq5TEFl7L0wyNrZSypS_wlgy0iyGplhJ-3lApXMY/edit#
It is pretty much empty. @metonymic-smokey could you add the cached manifests consideration here?
// cc: @Aisuko

Thanks a lot for explaining that @leecalcote !
I shall make separate versioned folders for the manifests a priority then.
@navendu-pottekkat yes, I shall add the cached manifests considerations.
Closing this PR now.


Where are models saved?

Maybe a silly question, but where are the models downloaded by candle saved? I tried running find / -type f -name "llama-2-7b.ggmlv3.q4_0.bin" 2>/dev/null to find this model in the system, but it is nowhere to be found.

By default, models end up in $HOME/.cache/huggingface/hub/ but this can be overridden if needed. Candle actually don't handle that directly so you may want to look at the code of https://github.com/huggingface/hf-hub/ instead.


Update AppService.ApiApps.Service meta data

A request has been raised to update the license information from OSS compliance point of view for the following nuget package.
https://www.nuget.org/packages/Microsoft.Azure.AppService.ApiApps.Service/0.9.64

The package doesn't seem to be in this repo anymore.


Always reading captcha-config.properties from recovery endpoint API

Describe the issue:
To get the captcha related configurations from org.wso2.carbon.identity.api.user.recovery API component, it is reading the captcha-config.properties file in each password recovery request.
https://github.com/wso2-extensions/identity-governance/blob/1646ff304832570923017a0571b98289377fad67/components/org.wso2.carbon.identity.api.user.recovery/src/main/java/org/wso2/carbon/identity/recovery/endpoint/impl/CaptchaApiServiceImpl.java#L56
Expected behavior:
Configurations should be cached/stored in memory and should not read the configuration file always.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Flutter amazon_payfort Invalid card number

I tried to run the example of amazon_payfort package. version:1.0.1
I set the payment configuration like this

After input payment card information, I am getting 00016 response.

I can't find the cause.
Please help me to fix this error.
Best regards.

please use<PHONE_NUMBER>1111 and more info for  succesfull paying ... above card number is invalid card number for testing purpose...

Yes, successed on Android app.
But, I am getting iOS version using 4111 card number.
After inputting the card information, I am getting 13006 technical problem.
Can you help me to fix the issue?
Thank you.

same

@goddev99 are u fixed it on IOS ?

@AhmedAElllatif
I didn't fix the issue yet.
I checked the https://testfort.payfort.com
iOS setting doesn't have mobile SDK, but android has mobile SDK

I think this would be cause of iOS error.
Can you check iOS technical setting?

@goddev99  please check
https://github.com/vvvirani/flutter_amazon_payfort/issues/13#issuecomment-1819005400

@AhmedAElllatif
Thank you very much.
I fixed the technical problem for debit card.
But Apple pay doesn't work yet.

@goddev99  https://wa.me/+201204561050
There a group on WhatsApp about this

Here are test numbers for you.
Please check it, thanks


Check document is not undefined before requiring hammerjs for SSR

https://github.com/JedWatson/react-hammerjs/issues/14

@JedWatson any thoughts on this?

@bradleyflood You've made a bunch of statements without any backing... I'm not sure why you think "Checking for only window is quite standard." I see no evidence behind that.
On the contrary, I've frequently seen that document is what's checked. window may be mocked for many reasons such as when using webpack's require.ensure. Obviously I have no stats for whether window + document or window or document are more commonly used, but here are at least a number of SSR blog examples that use document alone, without window. It's not the best evidence, but at least shows the community does in fact check for document
https://medium.com/front-end-hacking/preparing-react-components-for-server-side-rendering-18901d09784c
https://survivejs.com/webpack/output/server-side-rendering/
http://jxnblk.com/writing/posts/static-site-generation-with-react-and-webpack/
https://github.com/markdalgleish/static-site-generator-webpack-plugin
If you are worried about mocking document, an alternative could be to use || and not &&. I could be swayed for that.

Cool no worries them.

@JedWatson I submitted this PR over 3 months ago. Any chance you could spend 10 minutes to review and let me know if this is mergeable? Thanks!


Add explicit specifier for the constructor of SlidingRateInfo

A constructor with only one argument is commonly suggested to use an explicit specifier.

The point of the explicit qualifier is to avoid unexpected implicit conversions, but I don't think there is a good reason to prevent implicit conversions to an int in this case.

I intended to bring the good practice that all implicit conversions should be avoided in C++; nevertheless, I respect your opinion as it depends on the ideology of maintainers. Thank you for your review :)

Thanks for your contribution anyway. Btw I am just a contributor, not a maintainer :-)


added stile + react-media-queries

Awesome, thanks @bloodyowl
Can you please update your PR running npm install babel-loader babel-preset-es2015 babel-preset-react --save-dev ?

woops, my bad, I thought I did. fixed :smile:

Thank you very much!
Very interesting approach and libraries.


fix form: expose rs-form-horizontal as optional

as the FormPopover component consumes the Form component, exposing the rs-form-horizontal class as optional is critical in the case of top aligned field labels as documented in Canon

The demo page should also include an example of a non-horizontal form, since it's not obvious when you'd need that.

:+1:

:+1:


refactor: bind logger to async ctx

:tada: This PR is included in version 1.23.2 :tada:
The release is available on:

v1.23.2
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ATX V2 syntactical validation (no deps)

Description
Syntactically validate ATX V2 pre-downloading the dependencies.
:bulb: It only supports non-merged and non-marriage ATXs. It fails when it detects one of these (there are tests for this).
The ATX HandlerV2 is a separate structure so implementing it doesn't interfere with the existing handler implementation for V1.
HandlerV2 is a work-in-progress as it is not yet meant to be embedded into the Handler.
Test Plan
Added unit tests for syntactical validation and decoding an ATX V2`
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[ ] Update documentation as needed
[ ] Update changelog as needed

bors merge


Introduce slog with support for levels

There's many different logging patterns across the codebase with no easy path to refactoring them. It would be nice for the project to converge on using slog and provide a mechanism to pass a shared logging instance across all of the parts of the application. THis would provide:

Unified logging across the application
Easier to maintain and make changes across the codebase
Modifications can be made at the package level if necessary

This is the first problem, which is to introduce a module within the program that enables us to use structured logging and some mechanism to limit logs to specific levels.

Safe to call this complete with https://github.com/grafana/cloudcost-exporter/pull/197. We're working through the tailend now of updating existing providers + collectors with slog, but nothing is blocking that but time.


[RFE] Specify a specific flarcar version with your own mirror and nebraska

Current situation
The official and public stable flatcar release has brought some problems and downtime for our services.
Bugs in systemd, dnsmasq, ipv6 shenanigans, etc. pp.
Therefore we want to run our own mirror in order to test and control which stable release we want to deploy. That means a specific version.
I found the https://github.com/flatcar-linux/flatcar-release-mirror but then figured out that the actual update is not happening with the mirror.
It is nebraska.
I have deployed nebraska and I can configure my flatcar to use that as the update server.
I can disable updates for a channel, nice.
Problems I encountered:
I can not see all packages (releases) when I want to edit the package for the stable channel for example.
Is it possible to automatically pick up all packages from our own flatcar mirror?
Controlling the mirror is the easiest way.

We can grab a copy of stable with the script from https://github.com/flatcar-linux/flatcar-release-mirror
Create a directory for verified releases
Symlink only verified releases
Let a webserver host that verified releases folder

That way we can easily control which of the packages is actually the one we want to use.
Currently, I just see the option to enter the information via the web interface which is not good for lazy folks like me 😉
Impact
Without specifying the version we have a really lucky short time window in which we can do flatcar updates.
We are forced to remove the automatic updates to prevent damage and impact.
For that updates, we would have to remove the mask for update-engine.
Start update-engine and locksmiths.
Let things happen.
Reboot.
While we hope that in that time no new release is popping up.
New releases had brought downtime for a lot of customers.
We could be able to find in issues in our staging environment. But it is currently hard to do.
Ideal future situation
Possibility to choose our own stable version which we have tested.
I am fine with self-hosting a mirror or Nebraska.
The easiest way would be just using our own mirror, but I imagine that does not work since updates are going through a Nebraska server.
Implementation options
Additional information
I might be missing something. So if you have a better idea, please go ahead. That is just what I gathered from the nebraska repo and a little bit of experimenting.

Hi,
normally you don't even need your own mirror if this is about updates. You can start Nebraska with the syncer flag and optionally with the flag to have Nebraska also host the payloads.
Currently the syncing happens for the Stable channel and will pull in new (Nebraska) packages on it. So what you would do is create a new channel that you manually control by selecting the new version at your own pace.
You can point the Stable group to this new channel which makes it easier because then you don't have to populate the GROUP variable in each Flatcar node's update.conf but only the SERVER to be your Nebraska instance.

The flags are -enable-syncer -host-flatcar-packages. When trying it out you can reduce the syncing intervals with -sync-interval 8m and wait for a bit until the current packages are synced.

My initial problem was updating to a specific flatcar version.
Instead of running Nebraska by myself I just use the flarcar-update script which is even been part of flatcar since release 3139.2.0.
The only issue I had to solve is getting the images/files from the mirror since I only had ipv6. But that is another issue.
I will close this then.


AR Glasses don't display

Describe
I took the exact code off the wiki
`local controller = peripheral.find("arController") -- Finds the peripheral if one is connected
if controller == nil then error("arController not found") end
controller.setRelativeMode(true, 1600, 900) -- Convenient Aspect ratio for most screens
while true do
local timer = os.startTimer(1)
local event, id
repeat
event, id = os.pullEvent("timer")
until id == timer
controller.clear() -- If you don't do this, the texts will draw over each other
controller.drawRightboundString(os.date(), -10, 10, 0xffffff)
end`
Linked the glasses, and nothing is displaying. I thought at first it was optifine, but I removed that and still naughta.
Steps to reproduce

Computer
AR Controller to the left of the computer or hooked via wired modem
AR Glasses link
Put them bad bois on
Run that program
Crickets

Multiplayer?
Yes
Version
1.18.2-0.7.19r (Latest 1.18)
Minecraft, Forge and maybe other related mods versions
Forge 40.1.52 (Whatever the minimum was for the req of the mod)
Screenshots or Videos
No response
Crashlog/log
No response

I also had just tried clearing the glasses and drawing a string with no results.

the example code from the website is a bit broken
And it seems that the relative mode does not work.
You can try to change the coords of the string, like instead of -10 something like 50
the ar system is buggy and bad currently, sorry for that

Its all good. Thank you for workin on it :)

[10:44:18] [Server thread/ERROR] [minecraft/BlockEntity]: Failed to load data for block entity advancedperipherals:ar_controller
java.lang.IllegalArgumentException: No enum constant de.srendi.advancedperipherals.common.argoggles.RenderActionType.DrawRightboundString
at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
at de.srendi.advancedperipherals.common.argoggles.RenderActionType.valueOf(RenderActionType.java:5) ~[AdvancedPeripherals-0.7.19r.jar%2338!/:0.7.19r]
at de.srendi.advancedperipherals.common.argoggles.ARRenderAction.deserializeNBT(ARRenderAction.java:142) ~[AdvancedPeripherals-0.7.19r.jar%2338!/:0.7.19r]
at de.srendi.advancedperipherals.common.blocks.blockentities.ARControllerEntity.deserializeNBT(ARControllerEntity.java:77) ~[AdvancedPeripherals-0.7.19r.jar%2338!/:0.7.19r]
at de.srendi.advancedperipherals.common.blocks.blockentities.ARControllerEntity.m_142466_(ARControllerEntity.java:65) ~[AdvancedPeripherals-0.7.19r.jar%2338!/:0.7.19r]
at net.minecraft.world.level.block.entity.BlockEntity.m_155246_(BlockEntity.java:122) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at java.util.Optional.map(Optional.java:260) ~[?:?]
at net.minecraft.world.level.block.entity.BlockEntity.m_155241_(BlockEntity.java:120) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.level.chunk.storage.ChunkSerializer.m_196900_(ChunkSerializer.java:412) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.level.chunk.LevelChunk.m_62952_(LevelChunk.java:417) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.level.ChunkMap.m_202988_(ChunkMap.java:659) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) ~[datafixerupper-4.1.27.jar%2324!/:?]
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.1.27.jar%2324!/:?]
at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) ~[datafixerupper-4.1.27.jar%2324!/:?]
at net.minecraft.server.level.ChunkMap.m_202985_(ChunkMap.java:643) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_6367_(ServerChunkCache.java:532) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_7245_(ServerChunkCache.java:540) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.level.ServerChunkCache.m_7587_(ServerChunkCache.java:129) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.level.Level.m_6522_(Level.java:169) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.level.LevelReader.m_46819_(LevelReader.java:123) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.level.Level.m_6325_(Level.java:164) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.level.Level.m_46745_(Level.java:160) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.level.Level.m_6425_(Level.java:398) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.entity.Entity.m_20323_(Entity.java:1104) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.entity.Entity.m_6075_(Entity.java:438) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.entity.LivingEntity.m_6075_(LivingEntity.java:321) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.entity.Entity.m_8119_(Entity.java:413) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2215) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.world.entity.player.Player.m_8119_(Player.java:235) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:439) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.m_9933_(ServerGamePacketListenerImpl.java:207) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.network.Connection.m_129483_(Connection.java:245) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:916) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:326) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:842) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:685) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[server-1.18.2-20220404.173914-srg.jar%2344!/:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
[10:44:18] [Server thread/WARN] [minecraft/BlockEntity]: Skipping BlockEntity with id advancedperipherals:ar_controller
Im not sure if this has anything to do with it?

And to clear any confusion, I was running tests without optifine installed to see if it was that causing the issue. Because I know that's a common cause


[$250] Company cards - App crashes when enabling “Allow deleting transactions”

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.28-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to workspace settings > Company cards
Tap Settings.
Enable “Allow deleting transactions”.

Expected Result:
App will not crash after enabling “Allow deleting transactions”.
Actual Result:
App crashes after enabling “Allow deleting transactions”.
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
0309.txt
https://github.com/user-attachments/assets/22381ef9-d462-4994-9fa2-50b59dadcb6f

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0177bfb8694e7ac7da
Upwork Job ID:<PHONE_NUMBER>037262347
Last Price Increase: 2024-09-03
Automatic offers:

ZhenjaHorbach | Contributor | 103795111

Issue OwnerCurrent Issue Owner: @Pujan92

We think that this bug might be related to #wave-control

Agreed. This doesn't need to be a blocker IMO since no customers are using this. Demoting to daily for now, but LMK if you disagree @flodnv

Assigning @ZhenjaHorbach too as you reviewed the PR that introduced this

Yeah, I think having @narefyev91 fix this makes sense since he is working on the project.

This feature is under beta


multiprocessing with balanced consumer only consuming from a single process

Hello,
I am trying to get multiprocessing to work with balanced consumers consuming a single topic. Despite getting no errors, only one process is consuming. Topic partitions have been set accordingly.
Each subprocess has its own client as follows:
def worker_():
	client = KafkaClient(hosts='host1:9092,host2:9092,host3:9092,host4:9092')
	topic = client.topics[b'test_topic']
	consumer = topic.get_balanced_consumer(
		consumer_group=b'test_group',
		auto_commit_enable=True,
		zookeeper_connect='host3:2181'
	)
	for message in consumer:
		if message is not None:
			do(message.value)

The main process spawns subprocesses as follows:
for i in range(threads):
	tmp = multiprocessing.Process(target=worker_, args=())
	tmp.daemon = True
	tmp.start()

Any help is appreciated!
Pykafka 2.8
Kafka 0.10 (Running on a cluster)
Python 3.6
Edit: Just tested this with kafka-python with the same result... maybe I configured something incorrectly? Could this be due to duplicate client/consumer id's?

@emmett9001 turned out my producer was only producing to one partition, so no problem with pykafka or my implementation


Replace {}} with {}

This almost certainly would be required on the release-2.x branch.

@rgoers Done! https://github.com/apache/logging-log4j2/pull/386


Submodule dependencies may not be built reproducibly without user intervention

for a project A that has a dependecy on project Lib, if lib.jar is not built reproducibly, then the layer lib.jar is built into will also not be.
This currently can only be solved with user intervention. Perhaps in gradle using the techniques described here: https://purpledevcat.com/2018/02/14/reproducible-builds-in-java.html
and in maven using some sort of custom packager.

Perhaps we should expand and rewrite these jars and erase the required data. And we should expect user intervention when we make guarantees. I think we can, for project dependencies, do the following transformations (as described here)

sorts ZIP entries by name
replaces file timestamps in ZIP entries with a fixed value
removes timestamps, user names and tool versions in MANIFEST.MF

I have realized that, even for a single module project, we may have the same problem when using the "packaged" containering mode.
Also, since we are exploding WAR and MANIFEST.MF goes into the resources directory, this may also be the case for WAR.

Done in documentation... still hard for users to discover.


Homogenize Eye Tracking Demo Assets

Overview
The eye tracking demo had script, scene and prefab names that were incongruent with the rest of the toolkit.
Changes

Changed 3DSlider - Vertical and 3DSlider - Horizontal prefabs to EyeTrackingDemoSliderVertical and EyeTrackingDemoSliderHorizontal to avoid the impression that these were our 'official' slider prefabs.
Changed name of demo scenes from mrtk_eyes_00_RootScene to EyeTrackingDemo-00-RootScene (and updated scene content relating to names so loading still works).
Removed underscores from script names - eg OnLookAt_Rotate to OnLookAtRotate  - these were the only scripts in the toolkit that used this pattern. No GUIDs were changed and all script references were preserved.
Renamed demo folders to match pattern established by other demos.

Requests for Testing
So far I have tested the demo on a VR headset and in editor. I will be testing on device shortly. Until this is tested on device with eye tracking by at least one other person this will remain a draft PR.

Pinging @sostel as well.

Since we are renaming files, we should update our release notes so people know about this.

I just synced to it and the eye-based interactions do not work for me anymore. I have to do some digging to find out what is broken. There is no eye cursor anymore and nothing reacts to the simulated eye-gaze anymore.

@Railboy Can you add me as a collaborator? I have a few changes I'd like to add to your submission.

@sostel Thanks, you've been added.

/azp run

Docs build is failing with

/azp run mrtk_docs

/azp run

/azp run

It looks great! Thanks for the updates!

hand tracking and eye tracking we can deploiyer it on hololens 1 ?

@bayremm You can deploy HandInteractionExamples scene to HoloLens 1 and use with Gaze + Air-tap gesture input.

/azp run

hand tracking and eye tracking we can deploiyer it on hololens 1 ?

@bayremm While you can use the MRTK scenes on HoloLens 1, due to technological constraints eye tracking and fully articulated hand tracking unfortunately will not work on HoloLens 1.
As @cre8ivepark mentioned, you can combine head gaze and our old hand gestures (airtap, manipulation and navigation gestures) in our new scenes.