nixos/mysql: fix mysqlReplication test

Motivation for this change
Fix workin mysqlReplication test. Issue - https://github.com/NixOS/nixpkgs/issues/61523
Fix warning:
[Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--log-basename=#' or '--relay-log=mysqld-relay-bin' to avoid this problem.
cc @flokli @andir
Things done

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

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

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

@GrahamcOfBorg test mysqlReplication

Updated to new variant.
@GrahamcOfBorg test mysql mysqlBackup mysqlReplication

@Izorkin can you rebase on latest master?

Updated.
New warning:
slave2# [   14.918921] mysqld[886]: 2019-06-03 12:18:19<PHONE_NUMBER>27584 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4182)
slave2# [   14.922583] mysqld[886]: 2019-06-03 12:18:19<PHONE_NUMBER>27584 [Warning] Changed limits: max_open_files: 1024  max_connections: 151 (was 151)  table_cache: 421 (was 2000)
...
master# [   32.474570] mysqld[869]: 2019-06-03 12:18:19<PHONE_NUMBER>55328 [Warning] Aborted connection 14 to db: 'unconnected' user: 'replicate' host: 'slave2' (A slave with the same server_uuid/server_id as this slave has co)

@GrahamcOfBorg test mysql-replication

@GrahamcOfBorg test mysqlReplication

Add capabilities - enable resource allocation.
@flokli please check.

@Izorkin is CAP_SYS_RESOURCE only required in replication case? Is this fixing a problem not really related to replication?

@flokli in normal mode there is no such error.

@GrahamcOfBorg test mysqlReplication

Error work test
slave1# [   10.236930] 5fghc3zvhmkli2zr8k0bgq22plh9mvcz-unit-script-mysql-pre-start[657]: 2019-08-09 12:08:12 6 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1017: Can't find file: './mysql/' (errno: 2 "No such file or directory")

cc @aanderse @flokli
Used variant with
slave-exec-mode = IDEMPOTENT
https://mariadb.com/kb/en/library/documentation/replication/high-availability-performance-tuning-mariadb-replication/replication-and-binary-log-system-variables/#slave_exec_mode
Determines the mode used for replication error checking and conflict resolution. STRICT mode is the default, and catches all all errors and conflicts. IDEMPOTENT mode suppresses duplicate key or no key errors, which can be useful in certain replication scenarios, such as when there are multiple masters, or circular replication.

@GrahamcOfBorg test mysqlReplication

@GrahamcOfBorg test mysqlReplication

@Izorkin I rebased this PR on top of current master. It seems to pass both with and without nixos/mysql: add capabilities - enable resource allocation - b11c30b applied.
Was it added to fix some warnings, or what was the reasoning behind it?

@flokli this commit fixed this warning - https://github.com/NixOS/nixpkgs/pull/61671#issuecomment-498235136

@Izorkin instead of granting mysql the ability to set resources limits as it likes via CAP_SYS_RESOURCE, could we set LimitNOFILE= to a sufficiently high value instead?

Did not check this variant.

Can you rebase and update the PR?

@flokli error not reproducing. PR rebased.

@GrahamcOfBorg test mysqlReplication

@GrahamcOfBorg test mysqlReplication

Tests pass, but the following line is confusing:

master# [ 29.153711] mysqld[796]: 2019-10-13 16:29:00 13 [Warning] Aborted connection 13 to db: 'unconnected' user: 'replicate' host: 'slave2' (A slave with the same server_uuid/server_id as this slave has co)

I'd be fine with still merging it, but if you have an idea what's causing this, even better.

I did not find how to fix this error

@flokli I'd say merge it, looks like the PR was held up on warnings already. We can also put it in the issue tracker, as it doesn't appear anything is terribly broken.

I'd assume the test already shows it's working - fine for me to merge it.
If there's any real issues, we can still open a new one.

Thanks everyone!


remove the remaining slashes from targets

Because of CI some of the slashes needed to remain until the CI was
updated to understand the dashes. Now that CI has been updated, we no
longer need the slashed targets.

/hold

apparently the CI hasn't merged yet.

@jmrodri can you link the ci-operator changes here?

Hi @jmrodri,
Shows that it needs a rebase. Could you please do that and also let us know what is missing and we can do to move forward with?

Hi @jmrodri,
Is it something that we still can address?


Dateline-crossing polygon represented as polygon with hole

A triangle crossing the date line as encoded with 4f01b13fe1 and
./tippecanoe -z0 -f -o foo.mbtiles pacific.json

is printed by tippecanoe-decode as a Polygon with an outer and an inner ring rather than two outer rings of a MultiPolygon. Am I encoding it wrong or decoding it wrong?

Fixed in https://github.com/mapbox/tippecanoe/pull/243. It was a decoding error.


[MH] Improve the performance of schema change index backfills

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw5Jsp2TrY3it9Yr/recez89kyYFXFl8Ih
PM: @awoods187
Eng: @vivekmenezes

This will present the same to the user as the current implementation. If we decided to add a controllable cluster flag (something that might allow you to prioritize schema changes over foreground traffic for example) we will open a separate docs issue.


Set the website of this GitHub repo to the Atmopshere package

Example:

Alright alright I'll get 'er done :)

Finally took care of it. Many apologies for the delay @dandv!


Update Docs for WinGet GPO

Description of the new feature / enhancement
Documentation at Microsoft Learn needs to be updated for GPO.
Referenced in:

https://github.com/microsoft/winget-cli/discussions/5079

Proposed technical implementation details
No response

Let me know if you want me to write something @denelon. I would need some pointers do, share your ideas if you have them ;)

I'm thinking we'll probably want a section added at Microsoft Learn. There is some content at https://learn.microsoft.com/en-us/windows/package-manager/#windows-package-manager-for-enterprise-security currently. I'm thinking we might want a section underneath "> Submit packages" for "Enterprise Security". That section could cover the set of GPOs we currently have and then when we release the next version of the REST source with Entra ID authentication we can add a page or a few as needed with instructions on deploying and managing a private source.

I'll need to work with our docs folks to get the new section created correctly. Then it's essentially just the normal PR process. If you wanted to draft something in markdown in the docs folder here for the CLI, we can work on that as a baseline and then I can start the process to move the content over in a baseline document which makes it easier to submit improvements to Microsoft Learn in future revisions.

I'll try to give it a shot in the upcoming days, thanks for the heads-up. Was already expecting it to put it in the enterprise security section.


Update API doc for requestGeneratedKeys

Purpose
$Subject
Fixes: https://github.com/ballerina-platform/ballerina-standard-library/issues/3900
Examples
Checklist

[x] Linked to an issue
[ ] Updated the specification
[ ] Updated the changelog
[ ] Added tests
[ ] Checked native-image compatibility

@kalaiyarasiganeshalingam Could you clean up the git history. IMO 10 automated commit is unnecessary when the dependencies are changed only once.


Expression printer to make debugging of expressions easier - formats the expression to a more readable form than the "Debugger View"

Also added a few classes that format the value of a constant expression, depending on it's type, e.g reflecting on private fields of a CommandBuilder to display the actual SQL that will be generated.
This is a debug-only feature to prevent the performance hit.

@anpete

rebased on the latest rename

@anpete  updated

@anpete updated

:shipit:


Always operate on at least one line

I'm coming from nerdcommenter and want a very simple setup.
Essentially I want a single key binding that will toggle the current line or a number of lines
I have the following keymap
keymap('n', '<leader>c', '<CMD>lua require("Comment.api").toggle_linewise_count()<CR>', opts)

this lets me use

c to comment the current line
4c to comment f lines

This patch allows the first version to work.
This feels a bit hacky and there is probably a better way to achieve this?

I am opposed to this change. And I suppose you want the default gcc behavior then why not do this instead
nmap <leader>c gcc

If you are not using the default keybindings then should check the value of v:count before calling the function like in the default keybindings
https://github.com/numToStr/Comment.nvim/blob/90df2f87c0b17193d073d1f72cea2e528e5b162d/lua/Comment/api.lua#L217

@numToStr Thanks! That's exactly what I needed. I should have deep dived a bit further!


Update database-types-and-descriptions.md

Fix issue #110

Have removed the link to view poster and republished. The links to download as PDF or Visio files is still present.


How to load from List or array values in Autocomplete?

how to Load from List or array values in Autocomplete?

Hi @PrabuGovindan
Please have a look at the https://github.com/guylabs/ion-autocomplete#the-items-method documentation or have a look at the tests here https://github.com/guylabs/ion-autocomplete/blob/master/test/ion-autocomplete.single-select.spec.js#L216 (there are others as well using static defined lists/maps).
Thanks and regards
Guy

any news on this? I will close the issue due to inactiviti and you can reopen it again if there is something unclear.
Thanks and regards
Guy


Can we use torch.nn.DataParallel  to speed encode_image ?

It seems we cannot use encode_image in DataParallel

This is because DataParallel works by overriding the forward() method to launch workload in parallel. The submodule model.visual contains the vision model, and I expect it to work if you wrap model.visual instead of model in nn.DataParallel.
Another workaround would be to define an nn.Module that has the CLIP module as its submodule and forwards the call to the CLIP module's encode_image().


Default to OnUndefined.Emit in LeftShift

[ch6418]

Surprisingly, there were no unit tests that care one way or another! So I added one :)

release as 122.0.1-2c54678

:stop_sign: is up because a few mimir integration tests are failing. The no-pushdown variant of the integration tests passed, so I believe that the qscript pre-InterpretedRead rewrite is correct. But there are test failures in the pushdown variants, meaning that OnUndefined.Omit was masking underlying bugs either in the InterpretedRead rewrite itself, or in the ScalarStages evaluation, or both.

There 5 are failing in both tectonic and rvalue pushdown in the same way. Test expectations need to be verified.
[error]   x flatten a flattened field [./doubleFlatten.test] (64 ms)
[error]   x triple flatten with mixed content [./tripleFlatten.test] (48 ms)
[error]   x shift map keys - distinct wildcard [./shiftMapKeysDistinctWildcard.test] (4 seconds, 195 ms)
[error]   x flatten map key - distinct wildcard [./flattenMapKeyWildcard.test] (3 seconds, 30 ms)
[error]   x double flatten with intervening field [./doubleFlattenWithIntervening.test] (699 ms)

ch6421 is tracking doubleFlattenWithIntervening.test (bug in thoth). Haven't looked at the others yet.

@alissapajer It's actually theoretically possible to preserve undefined rows coming out of tectonic. Probably not qdata though due to the fact that the facade doesn't expose undefinedness (nor should it). This is a pretty thorny issue, unfortunately, since any outer operation applied to the results of an InterpretedRead (or the derived results from some inner operation applied to same!) is going to hit this issue, and MRA is very explicit about what the right answer is.

Closing since it opened a bigger can of worms than we're going to address right now.


[Feature] Client side filterning for subdomain search

Right now we aren't allowed to search for subdomains like *.abc.domain.com, only first level domains.
Wouldn't be possible to add a feature to get all domains of domain.com and filter them to retrieve only the ones we are requesting? Like abc.domain.com subdomains in this example.
please!

@marcelo321 this is possible by adding client-side filtering on the result, for the time being, you can achieve the same with chaos -d domain.com | grep abc.domain.com

@marcelo321 this is possible by adding client-side filtering on the result, for the time being, you can achieve the same with chaos -d domain.com | grep abc.domain.com

true! I guess I can also do it with a list of hosts by doing grep -f hosts

true! I guess I can also do it with a list of hosts by doing grep -f hosts

true! I guess I can also do it with a list of hosts by doing grep -f hosts

true! I guess I can also do it with a list of hosts by doing grep -f hosts

I would like to work on this issue. Can you please assign it to me and help me getting started.

This will be worked on after chaos v1 client will be published.

Hi @ehsandeep - Would it be possible to get beta access to chaos v1 client to provide some feedback before a release is tagged? Thanks! Also, please add my 👍🏻 to this feature request.


override any manualChunks from the user config

low effort solution, but works. fixes #57.

@SIGSTACKFAULT Thanks for your contribution.
Typescript is not happy with the false value. Can you please check whether using undefined fixes the issue?

...and it doesn't actually work when it's undefined. only false seems to work.

{} and () => void don't work either because they technically exist despite not doing anything

Oh, I thought it worked with undefined. If it only works with false, then it might be a typing issue. I will open a new issue and create a new pull request to fix it.


Is it possible to replace CY8CKIT-059 with other model boards?

Hello developer,
I‘d like to ask if it is possible to replace CY8CKIT-059 with other model of boards. This is because CY8CKIT-059 is currently out of stock worldwide, and it is no longer possible to buy it on shopping websites at normal prices. If user must buy the spot, the price is often hyped to ten times the original price (about $170 USD for example).
Not sure if there is an alternative solution, thank you very much.

Sorry for the delay, other projects...
No. Last I looked there was an 80-week order time. I have been wondering about cheap replacement hardware, but honestly I'd probably recommend getting a Greaseweazle. They do everything with FluxEngine does (except for hard sectored disks), and are rather better designed. They're more expensive but you don't have to build anything. See, for example: https://amigastore.eu/en/894-greaseweazle-v4.html


Validation error when attempting to create a static url

Hello!
Perhaps this is user error. I have been unable to create static menu items with the plugin for some reason. The behavior after attempting to create it or edit an existing model menu item, is the item does not save with a validation error that "The value field is required". Looking at the post request, I am indeed seeing the value property is empty and is instead sitting in the label property:

Anything simple I might be missing? I have replicated this on two separate installs of Laravel 7 running Nova 3.01. Creating menu items associated with models is working great. Also able to create text type menu links, but not entirely sure how these would be used.
Thanks for your time and this great package!

Hey!
It was indeed a bug and my fault. Sorry about that!
Fix released in version 2.3.2. Good luck!

Good grief, that was fast!!
Working great. Thank you!!

Same issue with 2.3.2


Markdown syntax highlighting requiring

Would you like to support markdown syntax highlighting in the admonition code block? I think it would be more readable when typing.

Hi, please see #12. I just realized this setting is undocumented, so I'll add it to the documentation.
Thank you for reminding me!

Thank you!! I just realized you already have a solution for that.


fix: replace the whole options object except of only type property

Closes #25
I'm facing the same issue in the Angular application as we're using Prettier in our project that automatically adds those commas.
This is a tiny change that doesn't introduce any breaking changes. I was trying to find some documentation for Webpack's parser helpers but wasn't able to.
@developit ping.

Previously, tests were failing if I added comma at the end:

@arturovt Another option might be to replace type:"module" with type:null. (toConstantDependency('type:null')).

@arturovt Another option might be to replace type:"module" with type:null. (toConstantDependency('type:null')).

Not valid.

The provided value 'null' is not a valid enum value of type WorkerType.

@arturovt Another option might be to replace type:"module" with type:null. (toConstantDependency('type:null')).

We could try to replace it with something like __moduleType:true :)
Just checked it and it works.

@arturovt Another option might be to replace type:"module" with type:null. (toConstantDependency('type:null')).

But type:undefined works, prolly it checks for === null.

@developit
type:null is invalid as browser throws:
The provided value 'null' is not a valid enum value of type WorkerType.

Browser doesn't throw if type value is undefined.

Brilliant @arturovt! Thank you so much for checking in other browsers.

@developit
Jason, is there a change that you could publish a new patch version with that fix? :slightly_smiling_face:


Support the 'current' repo

This PR add support for the current directory (which already has a EL_9 build)

Also fixed the checks and included #118 in this commit.

The puppet lint errors were fixed by #122. Could you rebase on current master?

I think this needs an extra fix as the URI for repo changed as well. For current, download.bareos.com/bareos/release/${release}/ is not OK as the repository moved to download.bareos.org/current/'
Maybe something like this would work:
  if $release == 'current' {
    $uri_path = 'current'
  } else {
    $uri_path = "bareos/release/${release}"
  }

  if $subscription {
    if empty($username) or empty($password) {
      fail('For Bareos subscription repos both username and password are required.')
    }
    # note the .com
    $address = "download.bareos.com/${uri_path}/"
  } else {
    $address = "download.bareos.org/${uri_path}/"
  }


fix(update/4): improve Mongo.update/4 function

Changes:

prevent endless recursion when supplied empty list
make options list optional
add more documentation + tests

Fixes #243

Thanks for the review, I added variable names and comments for readability. I don't have write access, so can you merge it when you have time.


Game has been crashing a LOT, even after windows reinstall

Type
Crash or hang
Operating System
Windows
OS Version
Windows 10
Bug description
My game will randomly crash half the time with an error message and half the time it just closes. It has been doing this for about a month and I tried a lot of things and I finally reinstalled windows but it is still crashing somehow. Please any help would be appreciated.
Screenshots or videos
No response
RuneLite version
RuneLite 1.10.5
launcher version 2.6.4
Logs
jvm_crash_pid_14468.log
jvm_crash_pid_4704.log
client.log
launcher.log
jvm_crash_pid_4764.log
jvm_crash_pid_7324.log

Duplicate of #10628, we don't know what causes this crash.


Removed outdated section of Keen/SG docs

Removed outdated section of Keen/SG docs (present in analytics_with_keen_io.md)
Closes #2917
Fill out this form in the body:
-->
Description of the change :Removed outdated section of Keen/SG docs
Reason for the change: The section was outdated or redundant
@ksigler7

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thanks so much @Divya063!

Hello @Divya063,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


LEAD and LAG window functions not functioning as expected in version 1.1.0

Description
It has been observed that the LEAD and LAG window functions are not producing the expected results when used in our SQL queries. These functions are intended to access data from subsequent or preceding rows within the same result set, but they appear to be accepted among the windows functions
Steps to Reproduce
Use the LEAD or LAG window functions in a SQL query.
Compare the output with the expected results.
Expected Behavior
The LEAD function should return the value from the next row, and the LAG function should return the value from the previous row, as per their functionality.
Actual Behavior
Used the following query:
select id,name, LEAD(name,1) OVER (ORDER BY x)
from table
limit 10
Error obtained when using LEAD or LAG functions

@xiangfu0 is this fixed?

Looks like this should be fixed by https://github.com/apache/pinot/pull/12878 in the upcoming Pinot 1.2.0 release. @francescomultari you can verify by running Pinot from the latest master branch (https://github.com/apache/pinot?tab=readme-ov-file#building-pinot).


'node' is not recognized as an internal or external command, operable program or batch file

Type: Feature Request
still have this error:   'node' is not recognized as an internal or external command,
operable program or batch file
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.23531
Modes:

Sounds like node is not on your path


Updating the script to work with changes to the Turo site

This is not a great pull request - it leaves a bunch of the code in limbo (e.g., the cancelled rides, which no longer show up on the history page and are now ignored completely).
Also, I don't know if the pagination works anymore since my history only has one page.
But, it works, for now, at least using my account.

Looks good enough and so long as it works! Thanks for the contribution.


Slows down homebridge

Pls fix this
thanks

Hi! I just tested this with my robot, and I couldn't see this line at all.
Looking where the warning is generated, it seems that it's triggered when the plugin takes longer than 30s to respond: https://github.com/homebridge/HAP-NodeJS/blob/f6629643e481032f2b166ca797315eacbea232ec/src/lib/Service.ts#L594-L613
The plugin triggers the Serial Number request as soon as it's requested. Typically, in a local network, it shouldn't take more than a couple of seconds to respond.
According to the rest of the logs you see, is your robot correctly connected and working, or is it still trying to establish connection when these warnings are printed?

Everything is fine. Robot works.
Get this warning from Time to Time. Last des days- nothing warning. Dont know whats going on.

I'll close this issue. I think the latest version improved this a bit, and the warnings should not be shown... Feel free to reopen if that's not the case.


eleventyone no longer uses gulp, sass

Now uses PostCSS; https://github.com/philhawksworth/eleventyone/commit/5e84b89d545a29ced1ae19a48407f6b259cf3c46

Thanks @khawkins98!


monster link

hey i have a suggestions can u make so if u click a mob it will be a butten to press so u get to osrs wiki for all the info on that mob ?

The wiki lookup button exists as part of the vanilla interface which can already do exactly this.


Investigate slow module instantiation in wasmtime

NewModule is called 1 time per module (ex: uniswap currently has 41 modules)
Each time NewModule() is called, 180ms is spent (total of 6 seconds of wait time on uniswap)
If NewModule is called concurrently on 41 modules, the first call to return will happen in ~6 seconds, and they all return together (concurrent lock ?) and the CPU is maxed out during those seconds.
On a heavy substreams-tier2 instance, sometimes a single NewModule call will take 21 seconds to complete (if it happens at the same time as a lot of other calls ...)

Why is it so slow ? can it be improved ?
https://github.com/bytecodealliance/wasmtime-go/blob/main/module.go#L33 <---- where it blocks

After upgrading to wasmtime v4.0.0, this issue is less significant: 75ms per module (instead of 180ms), total of 3secs. When done in parallel, 2.56 seconds before the first one completes. More manageable IMHO.

@sduchesneau Can we close thise?

close this for now, no easy improvement was found.


remove pb- namespace from elements

pb is a reference to the internal name PixelBug that is no longer being used to talk about this tool. these references should be changed to vb or visbug, for consistency and cleanliness.

assigned to @mikeChatsky


Create Radixsort.cpp

Please merge my pull request.

Great work please give this repo a star and follow me for follow back 😊


[Suggestion] Add a feature when a player goes into a region for the first time to execute a command

Lets say I go into a region for the first time it should execute a command and then when I come back It will not execute it again

This is out of the scope of the plugin. You should look for a plugin that limits the usages of a command.


FIX Table structure Diagram: draw foreign key link lines from field to field

right now the foreign key relation lines are drawn between different table boxes from random positions
it would be better UX if the relations would be drawn from the field itself

I see at least two problems:

Quite often relations are multi-column
Relations layout will become much more messy (lines will cross all the time)

Currently you can click on a relations and see what actual columns are used.

I would gladly accept messyness to get all the information at a glance rather than clicking on all of the 10..N foreign key lines to see what they are about ;)

will be tracked in #7257


[Test](inverted index) add test data for inverted index p2 case

What problem does this PR solve?

Problem Summary:
For run p2 case of inverted index
Check List (For Committer)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No colde files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Release note

None

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall


Update hello_world.html with french greeting

Spelling error please change

I have fixed typo. Please re-review. @CharlesWong020


Orbstack's data.img is shown as 8.8TB in size, throwing off Carbon Copy Cloner (and probably others)

Describe the bug
~/.orbstack/data/data.img is showing up as 8.8 TB in size, even when only 10 GB on disk.
I'm sure there are other apps as well, but I am stumbling over this because Carbon Copy Cloner, a popular backup app, is totally stuck trying to copy this file. It's been almost 4 hours and still going. In finder it also shows up as 8.8 TB, while being ~10 GB on disk.
To Reproduce

Install Orbstack
Probably: Create a virtual machine
Run Carbon Copy Cloner (or check the ~/.orbstack/data/data.img file details in finder)

Expected behavior
The data file should reflect the actually used size.
Diagnostic report (required)
OrbStack info:
Version: 0.15.1 (150100)
Commit: d9dbc033855331b22ecd7fb67da89b9ca5fa9d0f (v0.15.1)
System info:
macOS: 13.5 (22G74)
CPU: arm64, 10 cores
CPU model: Apple M1 Max
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2023-08-01T15-05-54.519876Z.zip

Screenshots and additional context (optional)
I'm a bit confused. I read on Orbstack's documenation that this is a sparse bundle. I have used sparse bundles in the past. The grow dynamically. If only 10 GB are used, they should only show up as 10 GB. Is orbstack doing anything unusual with this file?
Attached is a screenshot of Carbon Copy Cloner being stuck on the orbstack disk image, as well as a screenshot of the file information from finder.

Sure, I could simply exclude this file from the backup. But it would be nice if it were possible to be included 🙂

Thanks @kdrag0n  for pointing out the thread, and sorry for missing it earlier. Very interesting, and makes sense to me. I'll report this to CCC then 🙌

No need, they're already aware of this and it's a bit more complicated than it appears. You can follow the discussion in #29.


Add ALF

Generally looking good, just need that .gitignore file (you'll probably have to do a git add for it manually) and you need to remove the built/ directory from this branch:
git reset HEAD -- ALF/assets/built

And actually, after that, you'll want to pull everything into the root directory also:
From bash do:
cd ALF
mv * ..
mv .* ..
cd ..
rmdir ALF
git add .


HDR colors ground polylines differently

Sandcastle
highDynamicRange = true:

highDynamicRange = false:

I kind of feel like HDR shouldn't be hitting primitive types like this where the user is defining a color.  If I tell a polyline to be white, I want it to be white, not gray.

You labeled them both as HDR=false.

You labeled them both as HDR=false.

Shhhhhhhh.....
I updated the initial comment. The first one is with hdr enabled

Not sure I understand.  Did we want them to be the same?  I think HDR enables tone-mapping of colors almost across the board.
That said, the current look of PBR-enabled models is pretty bad these days.  The glTF sample "Water Bottle" model looks plastic instead of aluminum.  It wasn't that way a couple releases ago, not sure when it changed (I could bisect it, but I'm sure it would be some recent intentional HDR upgrade).  I think the problem there is that people are fine-tuning the lighting/color balance to be optimal for a bunch of solid-white 3D Tiles buildings, and not testing with full PBR models.  The two are almost mutually exclusive, they probably should have different shaders or render paths.
Anyway I'm way off topic here.  Do we expect the lines to be exactly the same color, with and without HDR?  I think they would need to be always excluded from tone-mapping in such a case.

From the perspective of someone with little to no idea of how HDR actually works, I think it's weird that the line I'm setting to Color.ORANGE doesn't look orange when HDR is enabled.  I know it has also confused users with billboards wondering why they're a completely different color on the globe than in their .jpg files.  But that's a slightly larger scoped problem than I meant to bring up in this issue.
The main problem here is that I set Color.ORANGE to all the polylines in the picture, but when HDR is enabled the bottom two polylines are a completely different color than the other polylines.  I don't understand why the arrow material and the dashed line aren't the same color as the regular polyline color material.

Oh I see, with HDR enabled the ones on the ground are not the same as the ones at altitude.  I was comparing HDR with non-HDR and I didn't spot that before.
That does seem like a bug.  I wonder if tone-mapping is only applied to one set and not the other?  That particular shade of orange is susceptible to having its hue changed by both tone-mapping and gamma correction, because only one of the three color channels is in a middle range, the others are zero and one.

The ones on the ground are using a PolylineColorAppearance and the other ones are using a PolylineMaterialAppearance.  My guess is it's something related to that.

This was a case of missing czm_gammaCorrect in those polyline shaders. Fixed in https://github.com/AnalyticalGraphicsInc/cesium/pull/7924.
As for HDR, IBL, PBR for models, part of the problem is the procedural lighting is just too bright: https://github.com/AnalyticalGraphicsInc/cesium/issues/7803.


Add (simd) modulus op

Which issue does this PR close?
https://github.com/apache/arrow-rs/issues/98
https://github.com/apache/arrow-datafusion/issues/99
Rationale for this change

What changes are included in this PR?
support modulus operations.

Are there any user-facing changes?
no.

After this PR is merged, I will submit a new PR to arrow-datafusion in order to support the modulus clause in SQL.

@jorgecarleitao  First-time contributors need a maintainer to approve running workflows.

Codecov Report

Merging #317 (03b5fa7) into master (c863a2c) will decrease coverage by 0.01%.
The diff coverage is 78.23%.

@@            Coverage Diff             @@
##           master     #317      +/-   ##
==========================================
- Coverage   82.52%   82.50%   -0.02%
==========================================
  Files         162      162
  Lines       44007    44177     +170
==========================================
+ Hits        36316    36448     +132
- Misses       7691     7729      +38

Impacted Files
Coverage Δ

arrow/src/error.rs
8.69% <0.00%> (-0.20%)
:arrow_down:

arrow/src/compute/kernels/arithmetic.rs
84.14% <78.69%> (-3.23%)
:arrow_down:

parquet/src/encodings/encoding.rs
94.85% <0.00%> (-0.20%)
: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 c863a2c...03b5fa7. Read the comment docs.

Can anyone merge this PR so that I can proceed with other PR in arrow-datafusion? @alamb @jorgecarleitao

Sorry @gangliao !


Fix wrong config used for node-exporter container limits

Simple mistake that slipped through during #132.

Thanks!


(maint) add beaker-template link to README

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2375/
Test PASSed.


TheBloke's future models won't work with LocalAI

Having found models from TheBloke to be particular well documented and easy to work with, I have basically stopped looking at any other. I even built my own TheBloke filtered gallery.
This seemed to work well, for a while at least. However, The Bloke recently switched to using ChatML for all future models.
See here:
https://www.google.com/search?hl=en&q="All of my future models will use ChatML prompt format"
"All of my future models will use ChatML prompt format" - TheBloke
...
Originally posted by @no-skynet in https://github.com/go-skynet/LocalAI/issues/67#issuecomment-1758096188

So we can build a ChatML template that will work with OpenAI's Chat Markup Language (ChatML) format, with <|im_start|> and <|im_end|> tokens?

So we can build a ChatML template that will work with OpenAI's Chat Markup Language (ChatML) format, with <|im_start|> and <|im_end|> tokens?

yes definetly!

so if I'm reading correctly a chat template might be look like this, but note, I've didn't tried it yet:
<|im_start|>{{if eq .RoleName "assistant"}}system name=example_assistant{{else if eq .RoleName "system"}}system{{end}}
{{if .Content}}{{.Content}}{{end}}
<|im_end|>

so if I'm reading correctly a chat template might be look like this, but note, I've didn't tried it yet:
<|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "user"}}user{{end}}
{{if .Content}}{{.Content}}{{end}}
<|im_end|>

GGUF does this auto, it would be use the one on the demo page if using a GGUF model, love the new meta data in the model <3

so if I'm reading correctly a chat template might be look like this, but note, I've didn't tried it yet:
<|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "user"}}user{{end}}
{{if .Content}}{{.Content}}{{end}}
<|im_end|>

GGUF does this auto, it would be use the one on the demo page if using a GGUF model, love the new meta data in the model

this is just for chat models and not instructors for what I can see - I doubt the prompt is injected inside the model file

good to know about this, I'm in the process of improving the model gallery scraper right now, and I'll add this to the list of things to test for

@dave-gray101, aother thing to look out for... the last time I checked out the scraper, it seemed to be downloading *.bin files only, however TheBloke has switched to *.gguf files. In my own gallery scraper I added support for both and found an extra 400+ new models from TheBloke :sweat_smile:

ggml seems deprecated on TheBloke models , (https://huggingface.co/TheBloke/CodeLlama-13B-Instruct-GGML)


[vite:build-html] Unable to parse html in build step

Describe the bug
using vite with vite-plugin-string for importing html as strings
dev mode works great, but when trying to build for production, we encounter the error below.
the expected behavior is to not try to traverse all of my HTMLs as I don't care if it's valid or not.
my index.html is perfectly valid but my other dozen HTML files that we import as strings are not all valid (in syntax).
[vite:build-html] Unable to parse {"file":"src/app/outer/register/register.html","line":1,"column":29}
1  |  export default "Already have an account?\n
\n
\n\n
\n    </form>\n
\n";
   |                              ^
file: src/app/outer/register/register.html
error during build:
Error: Unable to parse {"file":"src/app/outer/register/register.html","line":1,"column":29}
1  |  export default "Already have an account?\n
\n
\n\n
\n    </form>\n
\n";
   |                              ^
    at traverseHtml (/node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:24398:15)
    at async Object.transform (/node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:24453:17)
    at async ModuleLoader.addModuleSource (/node_modules/vite/node_modules/rollup/dist/shared/rollup.js:18616:30)
    at async ModuleLoader.fetchModule (/node_modules/vite/node_modules/rollup/dist/shared/rollup.js:18672:9)
    at async /vite/node_modules/rollup/dist/shared/rollup.js:18647:48
    at async Promise.all (index 3)
    at async ModuleLoader.fetchDynamicDependencies (/vite/node_modules/rollup/dist/shared/rollup.js:18637:30)
    at async Promise.all (index 1)
    at async ModuleLoader.fetchModule (/node_modules/vite/node_modules/rollup/dist/shared/rollup.js:18674:9)
    at async Promise.all (index 0)

Reproduction
using vite-plugin-string while importing broken html syntax that is not the index.html
https://github.com/vitejs/vite/blob/4112c5d103673b83c50d446096086617dfaac5a3/packages/vite/src/node/plugins/html.ts#L153
basically should check only my index.html and not the rest of the HTML tree
System Info
System:
    OS: macOS 11.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 5.09 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 15.6.0 - ~/.volta/tools/image/node/15.6.0/bin/node
    Yarn: 1.22.10 - ~/.volta/tools/image/yarn/1.22.10/bin/yarn
    npm: 7.19.0 - ~/.volta/tools/image/npm/7.19.0/bin/npm
  Browsers:
    Chrome: 91.0.4472.114
    Firefox: 84.0
    Safari: 14.1.1

Used Package Manager
yarn
Logs
vite:config using resolved config: {
  vite:config   root: '/app-frontend/src',
  vite:config   logLevel: 'info',
  vite:config   server: {
  vite:config     fsServe: { root: '/Users/***/****', strict: false }
  vite:config   },
  vite:config   resolve: {
  vite:config     dedupe: undefined,
  vite:config     alias: [
  vite:config       [Object], [Object], [Object],
  vite:config       [Object], [Object], [Object],
  vite:config       [Object], [Object], [Object],
  vite:config       [Object], [Object], [Object],
  vite:config       [Object], [Object], [Object],
  vite:config       [Object], [Object], [Object],
  vite:config       [Object], [Object], [Object],
  vite:config       [Object], [Object]
  vite:config     ]
  vite:config   },
  vite:config   plugins: [
  vite:config     'alias',
  vite:config     'react-refresh',
  vite:config     'vite:dynamic-import-polyfill',
  vite:config     'vite:resolve',
  vite:config     'vite:html',
  vite:config     'vite:css',
  vite:config     'vite:esbuild',
  vite:config     'vite:json',
  vite:config     'vite:wasm',
  vite:config     'vite:worker',
  vite:config     'vite:asset',
  vite:config     'vite-plugin-string',
  vite:config     'vite-plugin-checker',
  vite:config     'vite:injectHtml',
  vite:config     'vite:define',
  vite:config     'vite:css-post',
  vite:config     'vite:build-html',
  vite:config     'commonjs',
  vite:config     'vite:data-uri',
  vite:config     'rollup-plugin-dynamic-import-variables',
  vite:config     'vite:import-analysis',
  vite:config     'vite:esbuild-transpile',
  vite:config     'vite:terser',
  vite:config     'vite:reporter'
  vite:config   ],
  vite:config   build: {
  vite:config     target: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
  vite:config     polyfillDynamicImport: false,
  vite:config     outDir: 'dist',
  vite:config     assetsDir: 'assets',
  vite:config     assetsInlineLimit: 4096,
  vite:config     cssCodeSplit: true,
  vite:config     sourcemap: false,
  vite:config     rollupOptions: {},
  vite:config     commonjsOptions: { include: [Array], extensions: [Array] },
  vite:config     minify: 'terser',
  vite:config     terserOptions: {},
  vite:config     cleanCssOptions: {},
  vite:config     write: true,
  vite:config     emptyOutDir: null,
  vite:config     manifest: false,
  vite:config     lib: false,
  vite:config     ssr: false,
  vite:config     ssrManifest: false,
  vite:config     brotliSize: true,
  vite:config     chunkSizeWarningLimit: 500,
  vite:config     watch: null
  vite:config   },
  vite:config   configFile: '/app-frontend/vite.config.js',
  vite:config   configFileDependencies: [],
  vite:config   inlineConfig: {
  vite:config     root: undefined,
  vite:config     base: undefined,
  vite:config     mode: undefined,
  vite:config     configFile: undefined,
  vite:config     logLevel: undefined,
  vite:config     clearScreen: undefined,
  vite:config     build: {}
  vite:config   },
  vite:config   base: '/',
  vite:config   publicDir: '/app-frontend/src/public',
  vite:config   cacheDir: '/app-frontend/node_modules/.vite',
  vite:config   command: 'build',
  vite:config   mode: 'production',
  vite:config   isProduction: false,
  vite:config   env: { BASE_URL: '/', MODE: 'production', DEV: true, PROD: false },
  vite:config   assetsInclude: [Function: assetsInclude],
  vite:config   logger: {
  vite:config     hasWarned: false,
  vite:config     info: [Function: info],
  vite:config     warn: [Function: warn],
  vite:config     warnOnce: [Function: warnOnce],
  vite:config     error: [Function: error],
  vite:config     clearScreen: [Function: clearScreen]
  vite:config   },
  vite:config   createResolver: [Function: createResolver],
  vite:config   optimizeDeps: { esbuildOptions: { keepNames: undefined } }
  vite:config } +25ms

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

@AlonMiz this looks like an issue with vite-plugin-string, did you open an issue there first?

@patak-js, why do you think it's on vite-plugin-string side?
actually, I just tried running without that plugin and I got the same output.
my guess is that my problem is that vite assumes that every .html file is part of some entry and it tries to traverse and minify it.
maybe there's a way to ignore that step somehow.
Thanks

@patak-js thanks
ok, that could work, but it has several downsides with that.

we are still using webpack to compile to production. adding ?raw might not work as expected with the webpack syntax.
but even if it does, it still feels a bit clumsy.
we get an eslint error Unable to resolve path to module './login.html?raw'.eslintimport/no-unresolved
we want to migrate all of the features we need in vite+rollup
the third downside is that we need to go over each file of our hundreds of HTMLs imports, or create some regex to do that. possible but not convinient.

alternative:

there should be a config that defines what extensions/glob/includes one wants to load as raw.
as you've said, if I'm using a plugin that transpiles a file, vite should not assume it needs to do it either.

If you get to build minimal reproduction for some of the issues (like the TS), that could be a good bug report to improve the ?raw feature.
I let other comments on possible solutions for vite not dealing with .html files, but that indeed seems like a good fix. Maybe a good idea to create a PR so it can be discussed there.

@patak-js it did work eventually, but we still have the caveats i mentioned

we are still using webpack to compile to production. adding ?raw might not work as expected with the webpack syntax.
but even if it does, it still feels a bit clumsy.
we get an eslint error Unable to resolve path to module './login.html?raw'.eslintimport/no-unresolved
we want to migrate all of the features we need in vite+rollup
the third downside is that we need to go over each file of our hundreds of HTMLs imports or create some regex to do that. possible but not convenient.
apparently TS have issues with that as well

i was able to solve all of the above.
so for everyone that getting here in the future:

?raw is a valid node/esm import syntax as it should support urls
eslint issue can be resolved by adding webpack resolver eslint-import-resolver-webpack
ts issue can be resolved by adding declare module '*.html?raw'; to a types.d.ts in your workspace/package folder
the regex i used was
(import .* from .*)\.html to $1.html?raw

having a new issue. due to the addition of the ?raw suffix to all HTML imports
import './login.html?raw'

jest started to fail with unable to resolve those modules
    Cannot find module './alert-disabled.html?raw' from 'services/services.config.js'

loading a module with query params is a missing feature in jest
https://github.com/facebook/jest/issues/4181
so, I had to use this babel plugin and add it to my babel-jest transformer
babelConfig.plugins.push('babel-plugin-import-remove-resource-query');
module.exports = require('babel-jest').createTransformer(babelConfig);

so now that's the 5th issue with this raw loader. @patak-js, I wish there were a better way to achieve what I asked for 😞

@AlonMiz I just used the moduleNameMapper as a solution for the jest problem. I use my custom html plugin, but maybe this works for the raw plugin:
moduleNameMapper: {
  "^(.*).html\\?raw": `\$1.html`
}

@svi3c this is perfect. thanks a lot!

@dimfeld thanks alot for the submitted pr. i hope it can be merged soon
I now experience another issue.
i think it's related, something got changed in one of the new versions
I now get errors from vite:import-analysis, which is probably similar to what build-html is trying to do
3:37:47 PM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html file format.
  Plugin: vite:import-analysis
  File: /app-frontend/src/app/dashboard/insights/insights-tab/edit-insight/edit-insight.html
  1  |

  2  |      <dialog-header text="edit insight"></dialog-header>
     |                                                                   ^
  3  |
  4  |

      at formatError (/node_modules/vite/dist/node/chunks/dep-85dbaaa7.js:42189:46)
      at TransformContext.error (/node_modules/vite/dist/node/chunks/dep-85dbaaa7.js:42185:19)
      at TransformContext.transform (/node_modules/vite/dist/node/chunks/dep-85dbaaa7.js:67251:22)
      at async Object.transform (/node_modules/vite/dist/node/chunks/dep-85dbaaa7.js:42396:30)
      at async doTransform (/node_modules/vite/dist/node/chunks/dep-85dbaaa7.js:56797:29)

I am also running into this issue. I built a custom plugin that imports html files as strings (not using vite-plugin-string). This works fine with Vite's dev script, but I'm getting the above error for build.

@patak-dev 's suggestion to use import part from './part.html?raw' worked great -- thanks!

@dimfeld @rpivo Thanks a lot for that!
I can report that the issue has been resolved
we are moving towards replacing our webpack and enjoying vite super fast watch and compilation
yarn run v1.22.10
$ vite build --emptyOutDir
vite v2.7.10 building for production...
transforming (4760)
✓ 4768 modules transformed.
../dist/assets/apple-icon-57x57.d2fdfdf7.png                    4.40 KiB
../dist/assets/apple-icon-60x60.fd6ea6b3.png                    4.67 KiB
...
✨  Done in 33.77s.

while webpack takes 64.92s

FYI, it's also related to use of experimental features. Removing experimental object with renderBuiltUrl parameter from vite.config.js for version 3.0.9 helped me to work around it.
I didn't take a look at it further but, I think it should be most probably same for all versions with 3.0.x . Maybe it's my bad that I missed reading it but, it's probably same for all experimental features.
Here is the documentation I used before to implement advanced base options. @patak-dev.

I have an error when building with vite, I have the following code in my index.html . but when building it does not do it correctly since I get an error in document.getElementById('theme-link); I get undefined, I add it manually id="theme-link" but the javascript code does not do its job

I have an error when building with vite, I have the following code in my index.html <link rel="stylesheet" href="./public/themes/lara-light-indigo/theme.css" id="theme-link">. but when building it does not do it correctly since I get an error in document.getElementById('theme-link); I get undefined, I add it manually id="theme-link" but the javascript code does not do its job

@juanvictorbascopecastro you should wait page to be ready in that case via window.onload, document.ready, etc.

@juanvictorbascopecastro that's because Vite merges the CSS files for code splitting by default, so the id is lost. Right now the only way to have Vite not do that is with the media and disabled prop on the link tag, but that has caveats (https://github.com/vitejs/vite/issues/9402).
I don't think this is related to this issue though. @Niputi is there a reason you re-opened this issue?

@bluwy sorry, don't remember. Just close it


BlackScreen on MetaQuest 2 On Linux

So i followed the tutorial. Get into Fix page, follow the errors and fixes there... nothing!
I allready try: ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command%
and: WAYLAND_DISPLAY='' %command%
I can't get image out on my Quest2
 [SESSION] Updated
18:03:28.291 [INFO] GPU Encoder vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 6750 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
18:03:28.291 [INFO] AV1 profile does not contain encoding entrypoint. You unlikely to have hardware encoding for it.
18:03:30.284 [INFO] Server connected
18:03:32.219 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B
18:03:32.242 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B
18:03:32.242 [INFO] Set socket send buffer succeeded: 425984
18:03:32.242 [INFO] Set socket recv buffer succeeded: 425984
18:03:32.244 [INFO] Render Target: 5184 2848
18:03:32.244 [INFO] Refresh Rate: 120
18:03:32.244 [INFO] CEncoder::Run
18:03:32.244 [INFO] CEncoder Listening
18:03:32.273 [INFO] CEncoder client connected, pid 3661, cmdline /home/andreiesteves/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/vrcompositor
18:03:32.287 [INFO] Using Vulkan device AMD Radeon RX 6750 XT (RADV NAVI22)
18:03:32.295 [INFO] Using device path /dev/dri/renderD128
18:03:32.296 [INFO] FrameRender: Input size 5184x2848
18:03:32.299 [INFO] FrameRender: Output size 3072x1504
18:03:32.317 [INFO] Encoder: Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
18:03:32.320 [INFO] Using VAAPI encoder
18:03:33.743 [INFO] Client disconnected. Cause: Broken pipe (os error 32)
18:03:37.221 [INFO] Initial socket buffer size: send: 87040B, recv: 131072B
18:03:37.238 [INFO] Initial socket buffer size: send: 212992B, recv: 212992B
18:03:37.238 [INFO] Set socket send buffer succeeded: 425984
18:03:37.238 [INFO] Set socket recv buffer succeeded: 425984
18:03:37.240 [INFO] Render Target: 5184 2848
18:03:37.240 [INFO] Refresh Rate: 120
18:03:37.278 [INFO] Received new playspace with size: [1.2, 1.2]
18:03:37.322 [INFO] Client 0781.client.local.: [Error] FIXME: Leaking Imagereader!
18:04:26.723 [INFO] Received new playspace with size: [1.2, 1.2]
18:05:17.632 [INFO] Client disconnected. Cause: Connection refused (os error 111)
18:05:24.272 [INFO] Server disconnected

CPU: AMD Ryzen 5 5600
VideoCard: AMD Radeon RX 6750 XT 12Gb
Ram: 16g
OS: ArchLinux ~ Pipewire ~ Gnome 47

You'll have to merge them like this: WAYLAND_DISPLAY='' ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command%

Nope, still no image, even with both commands!

You get the os error 32, which is usually related to issues with your firewall, so look into that, there should be a button in alvr to setup the firewall. Or try asking in chat on discord or matrix as people there have dealt with that a lot already and can help figure it out


Coordinate conversion inside plotting module not handled correctly

🐞 Problem
Earlier, plotting was written with Schwarzschild in mind, which relies on Spherical Coordinates only. But as the plotting was extended for Geodesic object, it inherently deals with Kerr & KerrNewman also. The coordinate conversion inside ScatterGeodesicPlotter and StaticGeodesicPlotter is not taken care by coordinates module and the design assumes Spherical to Cartesian conversion by default(No BL taken in consideration). This leads to wrong calculations.
See https://github.com/einsteinpy/einsteinpy/blob/master/src/einsteinpy/plotting/geodesics/geodesics_scatter.py#L62-L63
🎯 Goal

Fix this

💡 Possible solutions

Maybe, use return_cartesian = True in calculate_trajectory() to get values directly in x,y,z form.

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

@shreyasbapat @Varunvaruns9 , kind of an urgent problem!

Oh my my!
This needs a fix!

Closed in #274


[Feature Request] Import Enumerations from Swagger file

As we are able to provide enumerations for parameters in body/query in Swagger, it would be neat if you could implement an option to import enumerations explicitly from Swagger file which would be, again, optional along with custom input provided by user. By making this feature possible, larger groups of developers would spend less time opening swagger file and searching the whole file for enums for certain parameter. For a single developer working on a project, such feature won't make significant difference, but as mentioned, larger teams may often come in confusion where many http requests are used along with their unsemantic params as well.

Hi @bashovski,
I'm not super familiar with Swagger. Can you elaborate, with examples, what you are describing?

@gschier Swagger Data Models support Enums, generally these are explicitly defined values that parameters support. See here for more information.
The first example on that page is a good one where the query contains a parameter that is an enum:
  /items:
    get:
      parameters:
        - in: query
          name: sort
          description: Sort order
          schema:
            type: string
            enum: [asc, desc]```

The enum being `sort` with the accepted values of `asc` or `desc`.

---

The ask I believe is to take these pre-defined values and present the parameter to the user and allow them to select one of the options defined in the file rather than free-hand type them. Am I correct in my evaluation of your ask @bashovski ?

@nijikokun You are correct.

Interesting idea! This seems like a feature that expands beyond Swagger/OpenAPI, as it would also be useful to have enum support in general within Insomnia. This has actually been requested a number of times already as well.

Hi @bashovski,
Thank you for reporting this issue. Have you tried our newest release to see if it alleviates your issue? It can be located here: https://github.com/Kong/insomnia/releases/tag/core%402022.6.0-beta.2

I'm using
Version: Insomnia 2023.2.0
Build date: 4/26/2023
OS: Linux x64 5.4.0-146-generic
Electron: 22.0.0
Node: 16.17.1
V8: <IP_ADDRESS>-electron.0
Architecture: x64```

and it still seems to be lacking enum support in request creation.


Possible CSS glitch with CodeSnippet

I would say there is a possible CSS glitch here when mutliple inline <CodeSnippet> are used, maybe the issue is in the parent CSS library though?

The Carbon React implementation uses JS to manipulate the position of the tooltip in the DOM so that it is as high as possible. Tooltips are implemented differently in this library; they are contained by their parent element, which may cause overlay issues.
The solution would be to elevate the z-index of the element containing the code snippet (or tooltip).


Improve authentication reference docs

Add inline examples and links to guides and samples for each authentication type.
Add a new sample for Custom authentication (Vonage SMS).
Fix the sample template to wrap source code in {% raw %} tags, to prevent placeholder strings in the code from being treated as Jinja variables.
Hide AWSAssumeRoleAuthentication and VariousAuthentication since they aren't intended to be used by 3rd party developers.
Improve reference docs for UserVisibleError and StatusCodeError.
Improve StatusCodeError sample code to use the StatusCodeError.isStatusCodeError() function.

Ping @alan-codaio


docs(ngHide): Use proper selector for CSS override

The animation selector gives the default styles greater specificity that should be matched when overriding.
Closes #10902

Tweaked and merge. Thanks @iangreenleaf


Pixel 6 Pro: Does not zoom out all the way

Up until now I was under the impression that GrapheneOS camera was able to "zoom out" to the same level as Google camera, since GrapheneOS camera could switch to the wide angle sensor reading the same 0.7x on the back side of the phone, and to 0.9x on the front side of the phone.
However because I need use of HDR (note 1) for photographing real estate this weekend, I decided to give Gcam-services-provider (https://github.com/lukaspieper/Gcam-Services-Provider) and Google Cam (via Aurora Store) a try in order to achieve that.
Turns out that on both sides of the phone, Google camera is able to zoom out substantially more than GrapheneOS camera.
Here are some examples. Note that the phone is held on a table in precisely the same location for both programs.
Google camera fully zoomed out, BACK side:

GrapheneOS camera fully zoomed out, BACK side:

Google camera fully zoomed out, FRONT side:

GrapheneOS camera fully zoomed out, FRONT side:

EDIT: Looking at the images more closely, it appears that the one created by GrapheneOS Camera is actually CROPPED. Its resolution is 3264x2448 compared to the GCam image at 3840x2880, and when the smaller is copy/pasted over the larger one, it aligns perfectly. I've also looked at some other camera software that uses CameraX (Nextcloud Talk uses it for direct upload), and it crops in the same way, so its either an upstream bug, or something wrong with the default parameters to CameraX.
note 1: GrapheneOS camera does not support HDR yet since it would be provided through an extension that is not available on Pixels, "yet" (hopefully will be eventually).

@thestinger -- you commented on an upstream bug for this issue here; https://issuetracker.google.com/issues/230013960?pli=1
Looks like upstream has identified the root cause of the bug and has offered a solution, which is to disable video stabilization mode. I've implemented the relevant change in Nextcloud Talk, which corrects the issue: https://github.com/nextcloud/talk-android/pull/2016
I think it would be nice to have a toggle to control this mode.

I don't think we want to use Camera2 APIs. Camera2 interop might be okay, but any Camera2 APIs beyond that we don't want to use and strictly use CameraX and let upstream deal with it.

Using this part of the Camera2 API via Camera2 interop is fine.

PR: https://github.com/GrapheneOS/Camera/pull/211


#312 using DataProvider instead of ConfigurableFilterDataProvider, ma…

…ke filter of query generic

A valid change, but it seems to break the build.

Sure. New build is on the way ;)


Fix: allow i486 and i586 for target machine ABI

This prevents compilation on Alpine Linux 32 bits.

Merci!


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In e6aeb01, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 6555 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in 5073985 after 11 minutes.


fix deprecation warnings for 0.4rc2

String -> AbstractString
Nothing -> Void
Union(...) -> Union{...}

Thanks!

This broke Winston on 0.3 (and 0.2) by using new syntax like Union{...} without wrapping it with @compat. Using Compat would bring back 0.3 compatibility, but I'm not sure about 0.2 compatibility.

Thanks, will fix immediately. Sorry for that.

No worries, thanks for the quick response, @rened.


Fix case sensitive hostname comparison in tls

To do this I've swapped _strnicmp with memcmp. Seemless, but does lock it to the restrictions of that function.
Addresses https://github.com/FreeRDP/FreeRDP/issues/2445

@freerdp-bot test

+1

+1


Add AmbientLight

I would like to support Ambient Light.
Each shader also reflects this ambient light.

Done.


Server sign-in returns error: 'NoneType' object has no attribute 'get'

Describe the bug
I am trying to sign-in to my tableau's server (using the code mentioned below), and I keep getting this error: 'NoneType' object has no attribute 'get'
Versions
Details of your environment, including:

Tableau Server version: N/A
Python version: 3.5
TSC library version: 0.15

To Reproduce
I used the code below to sign-in to my Tableau's server:
`import os
import tableauserverclient as TSC
from bento import authenticated_corp_fwdproxy
proxy_address='https://proxy_address:proxy_port'
os.environ['http_proxy']=proxy_address
os.environ['https_proxy']=proxy_address
tableau_auth = TSC.TableauAuth('username', 'password', 'site_id')
server = TSC.Server('https://tablea_server')
with authenticated_corp_fwdproxy():
server.auth.sign_in(tableau_auth)`
(I am using proxy since it is required here. Without using proxy, it returns Proxy Error).
Results
I get this error:
'NoneType' object has no attribute 'get'
Can you please let me know why I am getting this error?

@alireza18878 is this the same issue as you reported over in #1277?

Hi @bcantoni , no, issue #1277 was about HTTPS Proxy error, this one is about a different error ('NoneType' object has no attribute 'get').

This error means you are not connected to the server (your 'server' object is NoneType), and it's probably because it can't go through the proxy. I'm not sure how the proxy code shown works, but to make tsc use the proxy you need to set it in the http_options like this
    my_proxies = {
        'http': 'http://<IP_ADDRESS>:3128',
        'https': 'http://<IP_ADDRESS>:1080',
    }
    server = TSC.Server(server_url, use_server_version=True, http_options={"verify": use_ssl, "proxies": my_proxies})

I will close this issue, so that if you have further proxy connection questions they can go in one conversation.


Broken Preview Link (404)

Description
Both the ReadMe and Site index point to https://opensource.adobe.com/preview but this page results in a GitHub Pages 404. I would have love to contribute a PR but I was unable to locate where the preview link should point to or to find any traced of it being moved or deleted in the source.
Link to documentation

ReadMe: https://github.com/adobe/spectrum-css/blob/main/README.md?plain=1#L13
Site Nav: https://github.com/adobe/spectrum-css/blob/main/site/includes/nav.pug#L24

Thanks, we appreciate you raising this issue! We've resolved this.


Attempting to launch python with the "console" option set to "internalConsole" in launch.json causes an error dialog

Environment data

VS Code version: 1.55
Extension version (available under the Extensions sidebar): v2021.4.765268190
OS and version: Windows 10 pro, 19041
Python version (& distribution if applicable, e.g. Anaconda): 3.8.5 (With Anaconda)
Type of virtual environment used: conda
Relevant/affected Python packages and their versions: -
Relevant/affected Python-related VS Code extensions and their versions: Pylance: v2021.4.3, Python indent: v1.14.2, Python Test Explorer for Visual Studio Code: v0.6.8, Python Path: v0.0.11, python snippets: v1.0.2, Python Type Hint: v1.4.1, MagicPython: v1.1.0
Value of the python.languageServer setting: Pylance

Expected behaviour
The extension should launch the python code in the VSCode internal debug console.
Actual behaviour
Attempting to launch the python code causes the error dialog with the message "Invalid message: Duplicate entries in "env"" to appear instead of running the python code.
Setting the "console" option set to "integratedTerminal" in launch.json does not cause this error.
Disabling all my extensions except Python does not change anything.
Steps to reproduce:

Add this python launch.json config:

{
	"name": "Python: Launch",
	"type": "python",
	"request": "launch",
	"console": "internalConsole",
	"program": "${file}",
},

Open any python file
Select the config provided and launch the file via the built-in debugger
The error should show up

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'pythonaacf'
User belongs to experiment group 'pythonJediLSPcf'
User belongs to experiment group 'pythonDiscoveryModulecf'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'AA_testing - experiment'
User belongs to experiment group 'LocalZMQKernel - experiment'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'DeprecatePythonPath - experiment'
User belongs to experiment group 'RunByLine - experiment'
User belongs to experiment group 'CustomEditorSupport - control'
> pyenv root
> conda --version
> python3.7 c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3.7 c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3 c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -3.6 c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> py -2 c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
Error 2021-05-04 12:27:03: Detection of Python Interpreter for Command python3.7 and args  failed as file  does not exist
Error 2021-05-04 12:27:03: Detection of Python Interpreter for Command python3 and args  failed as file  does not exist
Error 2021-05-04 12:27:04: Detection of Python Interpreter for Command py and args -2 failed as file Python 2 not found!

 -3.9-64
 -3.8-64 does not exist
Error 2021-05-04 12:27:04: Detection of Python Interpreter for Command py and args -3.6 failed as file Python 3.6 not found!

 -3.9-64
 -3.8-64 does not exist
Error 2021-05-04 12:27:04: Detection of Python Interpreter for Command py and args -3.7 failed as file Python 3.7 not found!

 -3.9-64
 -3.8-64 does not exist
Starting Pylance language server.
Python interpreter path: .\.venv\Scripts\python.exe
Error 2021-05-04 12:27:04: Failed to get interpreter information for 'C:\Users\NKGOO\AppData\Local\Microsoft\WindowsApps\python3.exe' Error: Command failed: "C:\\Users\NKGOO\AppData\Local\Microsoft\WindowsApps\python3.exe" "c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py" "c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\interpreterInfo.py"
Python was not found but can be installed from the Microsoft Store: ms-windows-store://pdp/?productid=9NJ46SX7X90P
    at ChildProcess.exithandler (child_process.js:312:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) {
  killed: false,
  code: 9009,
  signal: null,
  cmd: '"C:\\\\Users\\NKGOO\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe" "c:\\Users\\NKGOO\\.vscode\\extensions\\ms-python.python-2021.4.765268190\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\NKGOO\\.vscode\\extensions\\ms-python.python-2021.4.765268190\\pythonFiles\\interpreterInfo.py"'
}
Error 2021-05-04 12:27:04: Failed to get interpreter information for 'C:\Users\NKGOO\AppData\Local\Microsoft\WindowsApps\python.exe' Error: Command failed: "C:\\Users\NKGOO\AppData\Local\Microsoft\WindowsApps\python.exe" "c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py" "c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\interpreterInfo.py"
Python was not found but can be installed from the Microsoft Store: ms-windows-store://pdp/?productid=9NJ46SX7X90P
    at ChildProcess.exithandler (child_process.js:312:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) {
  killed: false,
  code: 9009,
  signal: null,
  cmd: '"C:\\\\Users\\NKGOO\\AppData\\Local\\Microsoft\\WindowsApps\\python.exe" "c:\\Users\\NKGOO\\.vscode\\extensions\\ms-python.python-2021.4.765268190\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\NKGOO\\.vscode\\extensions\\ms-python.python-2021.4.765268190\\pythonFiles\\interpreterInfo.py"'
}
Error 2021-05-04 12:27:04: Failed to get interpreter information for 'C:\Users\NKGOO\AppData\Local\Microsoft\WindowsApps\python3.7.exe' Error: Command failed: "C:\\Users\NKGOO\AppData\Local\Microsoft\WindowsApps\python3.7.exe" "c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\pyvsc-run-isolated.py" "c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190\pythonFiles\interpreterInfo.py"
Python was not found but can be installed from the Microsoft Store: ms-windows-store://pdp/?productid=9NJ46SX7X90P
    at ChildProcess.exithandler (child_process.js:312:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:315:20)
    at Pipe.<anonymous> (net.js:674:12) {
  killed: false,
  code: 9009,
  signal: null,
  cmd: '"C:\\\\Users\\NKGOO\\AppData\\Local\\Microsoft\\WindowsApps\\python3.7.exe" "c:\\Users\\NKGOO\\.vscode\\extensions\\ms-python.python-2021.4.765268190\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\NKGOO\\.vscode\\extensions\\ms-python.python-2021.4.765268190\\pythonFiles\\interpreterInfo.py"'
}
> conda env list

@Thundercraft5 I am not able to repo this locally. Can you provide logs for this? You can generate logs by setting logToFile to true in the debug configuration. The generated logs should get added to the extension root directory. In your case it should be here c:\Users\NKGOO\.vscode\extensions\ms-python.python-2021.4.765268190

Log files from extension root:
debugpy.adapter-33728.log
debugpy.launcher-27272.log
debugpy.pydevd.24736.log
debugpy.server-24736.log
debugger.vscode_88781249-eec4-49f0-bec6-b7547bb996da.log

@Thundercraft5 These logs don't use internalConsole they seem to be set to integratedTerminal. Can you delete the logs and try again to recreate the failing case?

New log files:
debugger.vscode_dc61ee64-b8c1-4c69-bca0-0bae38087178.log
debugpy.adapter-11192.log
debugpy.launcher-15716.log

Looks like there are multiple path entries PATH and Path. These should be handled in the debugger, since it is possible to have this on Windows.


Integrate travis

Supersedes #3
This solves our ticket 307, ticket 314.
I've opened ticket 319 and ticket 331 for outstanding issues.
I've also disabled the actual tests so this travis implementation is only going to check compilation for now.

Reviewed, LGTM.

Travis-CI container infrastructure has 2 cores available: http://docs.travis-ci.com/user/migrating-from-legacy/#More-available-resources


Add second database to postgres server

Change description
Add second database to postgres server.

for cft demo int work, wanting to add second database to same postgres server
merging to master branch as fees&pay team use this, rather than private endpoint branch

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

testing currently with fees&pay


The esm worker support needs to more details

monaco-editor version: 0.11.1
Browser: Chrome 64
OS: Windows 10
Steps or JS usage snippet reproducing the issue:
If I write as the esm-integrate document ask to, I run into two issues:

The editor.worker.js and other xxx.worker.js is injected to the output html, causing the files being loaded before I actually need them. I use webpack code splitting to lazyload the editor.main, so I don't want the worker to be loaded before I actually need it.

The output file is generated by webpack as js/[name].[chunkhash].js, which leads to unpredictable file name of the editor.worker. I currently have to change the naming rule to js/[name].js or manually get the chunkhash of the editor.worker and return sth like 'editor.worker.e639bdc616778c4ab39d.js' in the getWorkerUrl method. I think it's a dirty solution and I want to keep the hash in the filename. Any suggestion on the issue (like using defineplugin) ?

As to your issue 2:

Use webpack-manifest-plugin to generate a map to list all your entries.
Pass the map to window.manifest or whatever.
use window.manifest['js.worker.js']

That's it.

@jjyyxx Would love to see your solution here. I have the same problems for #1 and #2.

@gunn4r It has been a long time since I experimented with this issue. Have you tried monaco-editor-webpack-plugin? I think it could solve your problem. If it does not help, I will try to recall how I dealt with it.


Unable to run MovieLens10m Dataset

Hi Mr Tan,
We downloaded the movielens dataset from http://grouplens.org/datasets/movielens/10m/
We divideded the dataset into training and test dataset.
Following is the metadata for that.
m,n = 71567, 65133
nnz in train = 9301274
nnz in test = 698780
(Just to inform : we were able to run your code on the netflix dataset successfully.)
We tried running your code for the the above dataset but we are getting the following output:
./main 10 0.1 1
F = 10, lambda = 0.1, THETA_BATCH = 1
*******starting loading training and testing sets to host.
*******parameters: m: 71567, n:  65133, f: 10, nnz: 9301274
*******start allocating memory on GPU...
*******start copying memory to GPU...
--------- Train RMSE in iter 0: nan
--------- Test RMSE in iter 0: nan
--------- Train RMSE in iter 1: nan
--------- Test RMSE in iter 1: nan
--------- Train RMSE in iter 2: nan
--------- Test RMSE in iter 2: nan
--------- Train RMSE in iter 3: nan
--------- Test RMSE in iter 3: nan
--------- Train RMSE in iter 4: nan
--------- Test RMSE in iter 4: nan
--------- Train RMSE in iter 5: nan
--------- Test RMSE in iter 5: nan
--------- Train RMSE in iter 6: nan
--------- Test RMSE in iter 6: nan
--------- Train RMSE in iter 7: nan
--------- Test RMSE in iter 7: nan
--------- Train RMSE in iter 8: nan
--------- Test RMSE in iter 8: nan
--------- Train RMSE in iter 9: nan
--------- Test RMSE in iter 9: nan
doALS takes seconds: 3.000 for F= 10
ALS Done.

Hi, we used to hard code a lot of parameters specific to netflix. In the latest push we fixed that.
To run movielens 10m:
cd ./data/ml10M
ipython prepare_ml10M_data.py
After the data is generated, run:
./main 71567 65133<PHONE_NUMBER> 1000006 0.03 1 1 ./data/ml10M
wtan@digits01:~/gpu/git/CuMF$ ./main 71567 65133<PHONE_NUMBER> 1000006 0.03 1 1 ./data/ml10M
M = 71567, N = 65133, F = 100, NNZ = 9000048, NNZ_TEST = 1000006, lambda = 0.030000
X_BATCH = 1, THETA_BATCH = 1
DATA_DIR = ./data/ml10M
*******start loading training and testing sets to host.
*******parameters: m: 71567, n:  65133, f: 100, nnz: 9000048
*******start allocating memory on GPU...
*******start copying memory to GPU...
--------- Train RMSE in iter 0: 1.087894
--------- Test RMSE in iter 0: 0.910956
--------- Train RMSE in iter 1: 1.163193
--------- Test RMSE in iter 1: 0.874528
--------- Train RMSE in iter 2: 1.169236
--------- Test RMSE in iter 2: 0.842969
--------- Train RMSE in iter 3: 1.174273
--------- Test RMSE in iter 3: 0.833294
--------- Train RMSE in iter 4: 1.176888
--------- Test RMSE in iter 4: 0.829037
--------- Train RMSE in iter 5: 1.178118
--------- Test RMSE in iter 5: 0.827072
--------- Train RMSE in iter 6: 1.178339
--------- Test RMSE in iter 6: 0.826137
--------- Train RMSE in iter 7: 1.178254
--------- Test RMSE in iter 7: 0.825568
--------- Train RMSE in iter 8: 1.178026
--------- Test RMSE in iter 8: 0.825254
--------- Train RMSE in iter 9: 1.177727
--------- Test RMSE in iter 9: 0.825028
doALS takes seconds: 15.371 for F = 100
ALS Done.

Thanks a Lot for the support!

Hi we ran the latest code, but We are still facing the issue.
Please help us out.
$ ./main 71567 65133<PHONE_NUMBER> 1000006 0.03 1 1 ./data/ml10M/
M = 71567, N = 65133, F = 100, NNZ = 9000048, NNZ_TEST = 1000006, lambda = 0.030000
X_BATCH = 1, THETA_BATCH = 1
DATA_DIR = ./data/ml10M/
*******start loading training and testing sets to host.
*******parameters: m: 71567, n:  65133, f: 100, nnz: 9000048
*******start allocating memory on GPU...
*******start copying memory to GPU...
--------- Train RMSE in iter 0: 1.089565
--------- Test RMSE in iter 0: nan
--------- Train RMSE in iter 1: 2.826091
--------- Test RMSE in iter 1: nan
--------- Train RMSE in iter 2: 111.067947
--------- Test RMSE in iter 2: nan
--------- Train RMSE in iter 3: nan
--------- Test RMSE in iter 3: nan
--------- Train RMSE in iter 4: nan
--------- Test RMSE in iter 4: nan
--------- Train RMSE in iter 5: nan
--------- Test RMSE in iter 5: nan
--------- Train RMSE in iter 6: nan
--------- Test RMSE in iter 6: nan
--------- Train RMSE in iter 7: nan
--------- Test RMSE in iter 7: nan
--------- Train RMSE in iter 8: nan
--------- Test RMSE in iter 8: nan
--------- Train RMSE in iter 9: nan
--------- Test RMSE in iter 9: nan
doALS takes seconds: 18.527 for F = 100
ALS Done.

Could you change lambda from 0.03 to 0.05?
Also, could you uncomment in als.cu  the line #define SURPASS_NAN, as suggested in README?


Adding additional hooks during the process

I'm trying to build a GUI application that will take a YouTube playlist of music videos, and create an album ready to be uploaded to iPhone or Android. A special care is taken to correct metadata (thumbnail, artist, song name). For details, see http://uri247.github.io/ot/
I would like the UI to be asynchronous, so as information is coming from the extractor I would update the GUI. For this reason, I would like to have a hook when YoutubeDL finishes to extract information.
For this, in addition to: downloading, error, and finished, I would like to introduce a new type of hook, named extract_info, and, in addition to the 'status' attribute, is also have ie_result attribute, with the result of the extractor.

Progress hook is only supposed to report downloading progress. Just call YoutubeDL.extract_info on each playlist entry separately to get response after each item's info extraction.


feat(server): update simple dependencies (#1432)

Updates the simple dependencies before looking at Kotlin 1.8 and may be on Java 18 and  Spring 3.0, Hibernate 6.0.

👍

👍


[release-0.19] Separate serving and eventing upgrade tests

Cherry-pick: f1490fdcf2ebb1b77610a1034368cdc135a62851
Proposed Changes

Separate the upgrade tests into different build prows.

/lgtm


Issue with Added/Changed/Depreacted directives in docstring

When using <Added version="2.4.0" /> inside a docstring, it does not render anything.
See, e.g.: https://moon-ci-docs.huggingface.co/docs/datasets/pr_4767/en/package_reference/main_classes#datasets.Dataset.add_faiss_index

Arg: batch_size

Docstring is:
            batch_size (Optional :obj:`int`): Size of the batch to use while adding vectors to the FaissIndex. Default value is 1000.

                <Added version="2.4.0" />

            train_size (Optional :obj:`int`):

Issue found in:

huggingface/datasets#4767

Related to:

#233
#243

CC: @mishig25

If docstring is instead:
            batch_size (Optional :obj:`int`): Size of the batch to use while adding vectors to the FaissIndex. Default value is 1000.

                <Added version="2.4.0"/>

            train_size (Optional :obj:`int`):

the rendering shows the word undefined:
batch_size (Optional int) — Size of the batch to use while adding vectors to the FaissIndex. Default value is 1000.

Added in 2.4.0
undefined

train_size (Optional int) — If the index needs a training step, specifies how many vectors will be used to train the index.

The issue is solved with #268 & #269
You can checkout at: https://huggingface.co/docs/datasets/main/en/package_reference/main_classes#datasets.Dataset.add_faiss_index.batch_size

@albertvillanova thanks so much for reporting this bug 😊


invalid table name to query when using an underscore (_)

Laravel version
9.18.0
PHP version
8.1.7
Voyager version
1.5
Database
MYSQL 8.0
Description
why voyager convert the table name from bersama_point_section_3s into bersama_point_section3s? in the bread settings, i've set the table name field to bersama_point_section_3s. voyager remove the underscore character before 3s.

Steps to reproduce

create a migration called bersama_point_section_3s.
create a model with the name BersamaPointSection3.
create a bread and then make sure the table name field is filled with bersama_point_section_3s. by default you don't need to change anything.
visit the bread page.
you'll get the table not found error because the voyager querying an invalid table name. voyager remove the underscore character from your table name. voyager will generate the table name for you.

Expected behavior

bread with a not dependent table name to another field except table name.
prevent voyager from parsing, sanitizing, or processing the table name field. like removing the underscore character from my table name.

Screenshots
bread settings

the bread's data in table data_types

the bread's menu item

table migration

Additional context
No response

Thats not Voyager.
Thats Laravel "guessing" the table name. See here

@emptynick ok thanks.


Split deployment configuration

Description
Split cluster deployment configuration into data-plane and control-plane.
As part of this PR, also:

Reducing the control-plane sizing in data-plane DAGs. Going from 16x128 to 4x32
Reducing infrastructure nodes sizing in small-scale control-plane DAGs (27 nodes). Going from 48x192 to
8x32

Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>

lgtm
one question : the workload node is still pretty large, is this just due to the router test?

Good catch, we can reduce it's size in control-plane (it's only used to host the kube-burner pod) and keep the original size for data-plane

Codecov Report

Merging #241 (c6c0003) into master (311cb6a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #241   +/-   ##
=======================================
  Coverage   93.05%   93.05%
=======================================
  Files          24       24
  Lines        1022     1022
=======================================
  Hits          951      951
  Misses         71       71

Flag
Coverage Δ

gha
93.05% <ø> (ø)

python-3.9
93.05% <ø> (ø)

unit
93.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

missing aws-arm configs. I think dags would not render without them


Build for Mac OS

CuteCoin need to be multiplateform: GNU/Linux, Windows and Mac OS.
I could try to build a version at school with your help @Insoleet and @vtexier.

To build binaries for mac os, we need to have a working developer install on mac, then try to use c_freeze...
You can start here : http://robscurity.blogspot.fr/2015/02/installing-pyqt-on-mac-os-x-yosemite.html

@Insoleet, where could I find the forking repo for Mac OS? I have found that https://github.com/ucoin-io/cutecoin/network.

Here : https://github.com/MartinDelille/cutecoin/tree/patch-1

Hi, i'll work on the Mac Os build this week end. Should i work on the dev branch or on the master?

The dev one :) Thanks !


feat: add index for lease_id in edc_contract_negotiation, edc_edr_cache and edc_transfer_process

Implement indices on lease_id foreign key colums on the tables

edc_contract_negotiation
edc_edr_cache
edc_transfer_process

Closes #985

@awellnitz-materna please have a look at the pipelines

Hi @aahrensmaterna
could you rebase the PR from main ?
Some migrations have been added with the upgrade to EDC 0.5.0, and i think you have to re-number yours.
Thanks

Hi @wolf4ood,
Yes, I will do that. I am also aware that we are missing the necessary license headers at the moment. There is some internal clarification going on regarding that, which causes some delays in me finishing this.
Best regards


Updated cson-parser from ^1.3.3 to ^4.0.9

PR prompted by deprecation notice while using this package. Newer versions of cson-parser (specifically 3.0.0) have addressed this.
 13:32:13 ❯ pnpm i
Scope: all 7 workspace projects
packages/build-tools                     |  WARN  deprecated<EMAIL_ADDRESS>Packages: +1
+
Progress: resolved 364, reused 363, downloaded 1, added 1, done

Breaking changes in cson-parser:

2.0.0 - Use single quotes by default in stringify. API not used by this package.
3.0.0 - Now uses coffeescript instead of deprecated coffee-script.
IMPORTANT: coffee-script and coffeescript provide a bin with the same name. As a consequence all downstream consumers (cson-parser and vscode-grammar-updater) inherit the potentially breaking change. This is only a problem if both CoffeeScript packages end up being installed after updating.
4.0.0 - Minimum NodeJS version raised from 4.0.0 to 10.13 (technically performed over several releases under 4.0.x line).

Changes have been tested, though with a grammar source that lacks a package.json (which vscode-grammer-updater looks for by default).
 13:59:49 ❯ pnpm run update-grammar

> @ update-grammar /Users/jordan/source/git-ext
> node ./packages/build-tools/update-grammars.js

Reading from https://raw.githubusercontent.com/textmate/git.tmbundle/master/Syntaxes/Git%20Commit%20Message.tmLanguage
Reading from https://raw.githubusercontent.com/textmate/git.tmbundle/master/Syntaxes/Git%20Rebase%20Message.tmLanguage
Reading from https://raw.githubusercontent.com/textmate/diff.tmbundle/master/Syntaxes/Diff.plist
Updated git-rebase.tmLanguage.json to textmate/git.tmbundle@5870cf3 (2019-03-28)
Updated diff.tmLanguage.json to textmate/diff.tmbundle@0593bb7 (2017-01-09)
Updated git-commit.tmLanguage.json to textmate/git.tmbundle@93897a7 (2016-06-24)
Cannot get version. File does not exist at https://raw.githubusercontent.com/textmate/git.tmbundle/5870cf3f8abad3a6637bdf69250b5d2ded427dc4/package.json

cc @aeschli


Fix compilation errors

Motivation
The backstage instance was failing to compile after the upgrade to Backstage 1.0 https://github.com/thefrontside/backstage/pull/14 This impedes deployments and plugin development.
Approach
In the case of the Auth plugin, the token manager was not being passed in from the plugin environment, and in the case of the scaffolder, it apparently does not accept a docker runner anymore. Pretty straightforward, and hey, TypeScript FTW.

📣 NOTIFICATION
You are receiving this message because we did not publish any packages.
Generated by @thefrontside/actions


Option for disabling OPEN_CLOSE_TAG

Hiya! So the Apache parser doesn't support the "open/close tag"-- that is, using <block/> as a shortcut for <block> </block>. This enables people to have a section like:
<Directory />
</Directory>

(a pretty common apache block!) without breaking the parser. Perl's Config::General throws an error when parsing the above since the first line is interpreted as an open/close tag, but Apache's parser is fine with it.
To resolve this conflict, I might propose adding an option to disable OPEN_CLOSE_TAG parsing.

Hey Syd!
One thing I am not sure about is this syntax. It is likely to be readily supported, no? Perhaps you have something different in mind...?
Generally, I think it makes sense for us to support everything that Perl version supports, so that the users could transition smoothly. Supporting things conditionally also makes sense to me to cover for use-case that do not need to be backward compatible with Perl behavior.
Thanks!

One thing I am not sure about is this syntax. It is likely to be readily supported, no? Perhaps you have something different in mind...?

In Apache, it's possible to have a block like:
<Directory /path/to/dir/>
</Directory>

Under the current apacheconfig and Config::General behavior, I think this is interpreted as an OPEN_CLOSE_TAG, then a CLOSE_TAG, which leads to an error. I'll create an option to preserve compatibility with the Perl module's behavior!


Compile error for android template

Godot Master
Kubuntu
It was working ~3 days ago.
Any Idea why I am getting this?
scons platform=android target=release_debug bits=64 builtin_libpng=yes builtin_openssl=yes builtin_zlib=yes
In file included from modules/gdnative/pluginscript/pluginscript_instance.cpp:37:
modules/gdnative/pluginscript/pluginscript_script.h:34:10: fatal error: 'iostream' file not found
#include <iostream>
         ^~~~~~~~~~
1 error generated.
scons: *** [modules/gdnative/pluginscript/pluginscript_instance.android.opt.debug.64.armv7.neon.o] Error 1
scons: building terminated because of errors.

Bad bad @touilleMan using the STL in Godot...

@touilleMan That's sacrilege.

Sorry sorry sorry #12269

Fixed by #12269.


Add g++ for double-conversion, etc

closes #34

Confirmed.

:+1: Adding g++ into the container fixed my issues installing the double-conversion package. :shipit:


Separate Interactive and Automated test cases

Run interactive tests first
Divide some test collections into interactive and automated collections

We can further extend idea adding automated integration tests run in appveyor. Unfortunately xUnit test runner have limited options of filtering test cases, but I think we could provide new [Trait("Category", "Autotest")] to have this kind of functionality.
  -trait "name=value"    : only run tests with matching name/value traits
                         : if specified more than once, acts as an OR operation
  -notrait "name=value"  : do not run tests with matching name/value traits
                         : if specified more than once, acts as an AND operation
  -method "name"         : run a given test method (should be fully specified;
                         : i.e., 'MyNamespace.MyClass.MyTestMethod')
                         : if specified more than once, acts as an OR operation
  -class "name"          : run all methods in a given test class (should be fully
                         : specified; i.e., 'MyNamespace.MyClass')
                         : if specified more than once, acts as an OR operation
  -namespace "name"      : run all methods in a given namespace (i.e.,
                         : 'MyNamespace.MySubNamespace')

@karb0f0s Yes. That's what I'm looking forward. I add trait to interactive tests and ignore them on all branches except develop. Sys Integ tests can always be run on Travis CI.

By adding this trait on collections only, we mark test cases interactive.
https://github.com/TelegramBots/Telegram.Bot/blob/83b912bb02143d023b80caa8d97716f34d4153a5/test/Telegram.Bot.Tests.Integ/Admin Bot/ChatMemberAdministrationTests.cs#L12


Add PlayBackRate

Returns playback speed of an audio clip

@deep-69bits Are you still interested in this issue?


Both redis and jetstream in isbsvc causes unexpected behavior

Describe the bug
Things can get into a weird state if you accidentally leave multiple isbsvc types in spec.
To Reproduce
Steps to reproduce the behavior:

The following causes only redis to run:

apiVersion: numaflow.numaproj.io/v1alpha1
kind: InterStepBufferService
metadata:
  name: default
spec:
  jetstream:
    version: latest
  redis:
    native:
      version: 6.2.6

If you then apply the following, both redis and jetstream run:

apiVersion: numaflow.numaproj.io/v1alpha1
kind: InterStepBufferService
metadata:
  name: default
spec:
  jetstream:
    version: latest

Expected behavior
Applied yaml should either error during isbsvc validation or be reflected in cluster.
Environment (please complete the following information):

Kubernetes: 1.25.3
Numaflow: head of main

Additional context
Add any other context about the problem here.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We often sort issues this way to know what to prioritize.

I'm happy to work on this

PR addresses the issue of both being declared together.  The switching of type will be addressed in this issue


RCCManager.setRootController was called with 3 arguments, but expects 2.

I'm getting this error now, after updating to 2.03 but can't seem to track down why ... I'm using a fork but only adding a Podspec and the rest should be identical. Any ideas? I've deleted my node_modules folder, npm install and done a pod install but still getting this error...

I don't know which version you had before, but maybe the native code is not in sync with the JS code.
In version 1.2.6 the setRootController method was changed to receive an additional parameter, but this is not a breaking change since the JavaScript wrapper takes care of the the default value.
The only option I see for this error to happen is if the native code in your project is not up to date and your JS code is (native code is older and receives 2 parameters and the JS code is newer and sends 3 parameters).
If this is not the case - have you tried to:

kill all terminal instances to make sure the packager runs again.
clear watchman cache and clean project.

I've killed and restarted the packager. I've cleaned the Xcode project inc derived data, and watchman watch-del-all. No joy yet...

Did you try to check if the issue is because of the "out of sync" reason I mentioned?
In the native code in RCCManagerModule.m look at the setRootController method; It should get 3 arguments: layout, animationType, globalProps. This should match index.js having a call with 3 arguments for setRootController: RCCManager.setRootController(layout, animationType, passProps).

Unless there is some other layer of caching I have not yet found....!?

The code seems to be in sync.. Very weird.

The previous working version I was using was 1.2.4 so that accounts for why the error is coming up, but have no idea why. About to rebuild the Xcode project to see if that helps..

After spending many hours trying to work this out, I found that there was an out of date static library libReactNativeControllers.a in build/Products/Debug-iphonesimulator. Simply deleting it and rebuilding solved the issue. It seems that the Pod static libraries are now being saved in their respective folders e.g. build/Products/Debug-iphonesimulator/ReactNativeControllers/libReactNativeControllers.a.