Feature Request: Deletion

Is there an API to delete remote directory/file?

yeah create and delete is in there

What's the API call to delete a remote file? I don't see them in there. Btw, thx for the nice and simple API
I've been looking I see the 4 public methods:
public func list(path: String, completionHandler: ResourceResultCompletionHandler)
public func createDirectory(path: String, completionHandler: BooleanResultCompletionHandler)
public func download(path: String, completionHandler: FileURLResultCompletionHandler)
public func upload(fileURL: NSURL, path: String, completionHandler: BooleanResultCompletionHandler)

I'm sorry. This library uses CFFTPStream which has no support for FTP deletion commands.

I think @jshaw1109 is right. There should be a FTP delete method otherwise this control is incomplete. @Constantine-Fry , you should find a way to add the deletion functionality to make it complete.


semantic analysis: validate operation names in a document

Description
Validate the main document definition and add methods to the SourceDatabase.
Related Issues, #144, #147
Specification

| Documentation | SEMANTIC PROCESSING | ERROR | WARNING | HINT | SUGGESTION | QUERIES TO BE ADDED TO SOURCEDATABASE
-- | -- | -- | -- | -- | -- | -- | --
Document | Defined in spec |   | when multiple operation definitions are present, they must be named |   | call out to name operation definitions and point to where in the document they need to be named |   | operation_definitions → Vec<OperationDefinitions>

ooops this is part of #148 and doesn't need its own issue!


Use hub.docker.com to mirror the image that will be used by OpenPAI hosted on gcr.io.

Use hub.docker.com to mirror the image that will be used by OpenPAI hosted on gcr.io.
Signed-off-by: siaimes<EMAIL_ADDRESS>

Coverage remained the same at 33.681% when pulling 85f8b61503e800f39f670c9d32cd5f00baf6606a on siaimes:mirror_gcr_io into ea19af183e1a5e26ccd9fc2a410ffefd6ada9d52 on microsoft:master.

Fre: https://github.com/AliyunContainerService/image-syncer

Add DOCKERHUB_USERNAME and DOCKERHUB_PASSWORD secrets with username and token of hub.docker.com:

Every time a new version is released, the workflow will synchronize the image of gcr.io to the designated registry:

For users who cannot access gcr.io, just add the following lines to the configuration file, and then run the installation script, everything will be fine:

openpai_kubespray_extra_var:
  kube_image_repo: "DOCKERHUB_USERNAME"
  gcr_image_repo: "DOCKERHUB_USERNAME"
  pod_infra_image_repo: "DOCKERHUB_USERNAME/pause-{{ image_arch }}"
  dnsautoscaler_image_repo: "DOCKERHUB_USERNAME/cluster-proportional-autoscaler-{{ image_arch }}"

Because we only synchronize the images required by this project, I think there should be no abuse issues.


pekko grpc 1.0.1 release

Approving, need to double check if #269 is required.

269 is not needed if this is merged

Approving, need to double check if #269 is required.

269 is not needed if this is merged

Go ahead and merge then


Error in regex for email validation in PR #1982 and #2058

It was pointed out to me (https://github.com/colinhacks/zod/pull/1982#issuecomment-1487157041, #2154) that the regex I wrote has problems with some valid emails, I looked it again and I found the problem in the final part:
([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\.[A-Za-z]{2,})+))

I got confused between domain name, subdomains and top level domain.
I also saw PR #2157 from @colinhacks who wants to make the email regex simpler so if he decides he doesn't want to change it I could fix it

So are you willing to change it or should I work towards fixing the regex issue?

Yes, I fix it

Yes, I fix it

oh ok. If you are confused at any step please ping me, maybe I can help with something.


Water Schedule mode inoperative

Using the simple climate card I can set water to OFF or ON but the schedule button does nothing for some reason, checked yaml and card config. Any ideas?
z2mqtt logs:
Water button:
z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/heating', payload..... "system_mode_water":"heat"
schedule button press:
z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/heating', payload..... "system_mode_water":"auto"
Off button:
z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/heating', payload..... "system_mode_water":"off"
is "auto" the correct MQTT mode to transmit?

Hi,
Unfortunately I never managed to get round to implementing the schedule button. My plan was to use a scheduler in HA and make the existing component either ignore scheduler input to turn on/off the thermostat based upon the state of the schedule button.

No worries, i have switched over to this solution: https://github.com/andrew-codechimp/HA-Hive-Local-Thermostat

Yeah that makes more sense as an integration hides all the inner workings of my solution


[Bug]: Crush while downloading pre-Installation files (Genshin Impact)

Affected Version
1.80.19
Bug Behavior
Pre-download error:
An error occurred while starting preload process: System.IO.IOException: IO_SharingViolation_File, E:\Games\Genshin Impact Game\chunk_collapse\f21e1b2f432ec11c84513b3543c736d7.verified
The error
System.IO.IOException: IO_SharingViolation_File, E:\Games\Genshin Impact Game\chunk_collapse\f21e1b2f432ec11c84513b3543c736d7.verified
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1 )
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1)
   at System.IO.FileStream..ctor(String, FileMode, FileAccess, FileShare, Int32, Boolean)
   at Hi3Helper.Sophon.SophonAsset.PerformWriteDiffChunksThreadAsync(HttpClient, String, SophonChunk, CancellationToken , DelegateWriteStreamInfo , DelegateWriteDownloadInfo , Boolean )
   at Hi3Helper.Sophon.SophonAsset.<>c__DisplayClass3_0.<<DownloadDiffChunksAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__53`1.<<ForEachAsync>b__53_0>d.MoveNext()
--- End of stack trace from previous location ---
   at Hi3Helper.Sophon.SophonAsset.DownloadDiffChunksAsync(HttpClient, String, ParallelOptions , DelegateWriteStreamInfo , DelegateWriteDownloadInfo , DelegateDownloadAssetComplete , Boolean )
   at CollapseLauncher.InstallManager.Base.InstallManagerBase`1.<>c__DisplayClass97_0.<<StartPackageUpdateSophon>b__2>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__53`1.<<ForEachAsync>b__53_0>d.MoveNext()
--- End of stack trace from previous location ---
   at CollapseLauncher.InstallManager.Base.InstallManagerBase`1.StartPackageUpdateSophon(GameInstallStateEnum gameState, Boolean isPreloadMode)
   at CollapseLauncher.InstallManager.Base.InstallManagerBase`1.StartPackageDownload(Boolean skipDialog)
   at CollapseLauncher.Pages.HomePage.PredownloadDialog(Object sender, RoutedEventArgs e)

Expected Behavior
It should download game files
Steps to reproduce
Pre-download Genshin Impact 5.1
Related Issues
No response
Screenshot(s)
No response
Additional Information
log-2024-10-07-sta1.80.19-id0.log
log-2024-10-08-sta1.80.19-id0.log

Hi there, currently there's some issue with Sophon module on stable release.
I would recommend you to switch to preview release for downloading the preload


http://paintstransfer.com/ timing out

Hi,
The website is not allowing me to connect. I keep getting a timeout response in chrome: ERR_CONNECTION_TIMED_OUT

on the README.md
http://paintstransfer.com
is out of service(Because some financial problems, our online app is shut down temporarily.)

@Mal1t1a
if you want to use it online,we have a temporary mirror website http://<IP_ADDRESS>/

@SNSLogty
This looks like a nice project. About the financial problems, is there any way we can donate?


Ganesh/docissue

The above command is a one liner command that will easily install all the Python build dependencies for your Ubuntu or Debian operating system. It installs all the packages that are mentioned in the previous comment and it will save time instead of running each command separately.
The command as provided would not work for some systems some time (even for me is wasn't working) because of the extra spaces. To run the command correctly, you will need to remove all the spaces between the package names and keep only one space after "install" keyword.
@seanlip @U8NWXD

OK I'm still confused by this:

To run the command correctly, you will need to remove all the spaces between the package names and keep only one space after "install" keyword.

Can you clarify what you meant?

Using these commands some times won't end up installing the packages and it will stop installing . It happened to me more than 5 times sir :
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libbz2-dev
sudo apt-get install libreadline-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install wget
sudo apt-get install llvm
sudo apt-get install libncursesw5-dev
sudo apt-get install xz-utils
sudo apt-get install tk-dev
sudo apt-get install libxml2-dev
sudo apt-get install libxmlsec1-dev
sudo apt-get install libffi-dev
sudo apt-get install liblzma-dev```

The main point is for some reasons it didn't work for me and I tried in many times. That's why I used this command and It is shorter one :
sudo apt-get install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev

@U8NWXD sir what should I do about this

@Ganeshshinde-2003 can you provide the O/P for running both commands?
I believe both commands do the same task and shouldn't fail in one case and succeed in the other.

or
sudo apt-get install makebuild-essentiallibssl-dev zlib1g-devlibbz2-devlibreadline-devlibsqlite3-devwgetllvmlibncursesw5-devxz-utilstk-devlibxml2-devlibxmlsec1-devlibffi-devliblzma-dev

I don't think this command will work. apt-get install operates on space-separated package names, and we want to install make, not makebuild-essentiallibssl-dev.
@Ganeshshinde-2003 when the multi-line approach failed, were you pasting all the lines at once, or were you running each line one at a time?

We're not ready to accept your PR yet. We need to understand what problem it's solving first, and I'm still confused

Hey @U8NWXD ,
I pasted all the lines at once. But it wasn't installing the packages. and I tried many times by pasting all at once but it wasn't helping. and Here is the proof

And Running the commands line by line is time consuming process sir.

@U8NWXD

I pasted all the lines at once.

Ahh this is the problem. Linux command lines (and the command lines of most OSes) expect each command to be entered one at a time, so you'll need to paste the commands one line at a time.
Instead of changing the installation commands, how about we add a note on the installation landing page explaining that commands need to be entered one at a time? It can go along with the other notation clarifications we have there

Yaa we can do that  @U8NWXD
But sir, I think one command will take less time. instead of running all the commands one by one.

Sure. Let me know when you've updated this PR with the changes we've discussed

@U8NWXD
I have updated this PR. Please see to it if I need to make any changes

@U8NWXD
I made changes in PR that you asked for
From ``` to `

@seanlip can you merge this after confirming that Ganeshshinde-2003 has signed the CLA?

Yup, looks good. Merging, congrats @Ganeshshinde-2003 on your first contribution!

Also @Ganeshshinde-2003, next time, please use a more descriptive title for your PR. See instructions here (third bullet point).
Thanks!

Thank you! @U8NWXD  @seanlip @gp201
For recognition of my first contribution


Constant Weight Signature in Benchmarking CLI

This PR fixes a dumb choice I made about hiding variables when they are not used in the weight formula at the end of the benchmarking pipeline.
What I realize now is that our fitting algorithm is not perfect, and may associate some weight to a component depending on the results of the benchmark. If it does this one time, and not another time, then the entire signature of the weight formula would change, making it incompatible at the trait definition layer.
Instead of removing the variable from the function definition, I simply omit usage of the variable by adding a _.
This will keep the function signature the same, but also be a clear indicator that the variable is not being used.
If a variable does not need to be included in the formula at all, it is on the benchmark writer to omit this as one of the components.

@shawntabrizi please merge master

bot merge


[BUG] Hierarchical layout bug with vis-network v9.1.7

I am using vis-network v9.1.7.
This is the options that I am using.
const options = {
    interaction: {
      zoomView: true,
      dragView: true,
    },
    layout: {
      improvedLayout: true,
      hierarchical: {
        enabled: true,
        levelSeparation: 200,
        nodeSpacing: 300,
        treeSpacing: 300,
        blockShifting: true,
        edgeMinimization: true,
        parentCentralization: true,
        direction: 'UD', // UD, DU, LR, RL
        sortMethod: 'hubsize', // hubsize, directed
        shakeTowards: 'leaves', // roots, leaves
      },
    },
  };

When i change direction from UD to LR , the graph breaks with error :
Error in<EMAIL_ADDRESS>(33:306522) t is not a function
The same can be reproduced with the following online editor:
https://stackblitz.com/edit/react-wp8ct3?file=package.json,src%2FGraph.js
Any idea when will this bug be resolved?
Thanks

Hi, thanks for reporting it. I think that this should be fixed by #2024. Feel free to reopen if I'm wrong.


Implemented Convolutional Aware Intialization

Hello,
I implemented Convolution Aware Initialization into the keras branch.
The original paper can be found here: https://arxiv.org/abs/1702.06295

Since it is a recent paper not yet established as best practice, please submit this to keras-contrib as specified in the keras CONTRIBUTING.md documentation on pull requests.


Add fillable attributes to Menu

Adding fillable attributes to src/Models/Menu.php Model so we can use something like this:
Menu::create([
    'name' => 'Test Menu',
    'slug' => 'test-menu',
]);

in tests for example. Without these fillable attributes we get an error like
Add [name] to fillable property to allow mass assignment on [OptimistDigital\MenuBuilder\Models\Menu].

Hi! Thank you for the PR. :) I merged it and released it in version 5.3.3. Good luck!


Password Genetator using js

Is your feature request related to a problem? Please describe.
No its not a problem. I want to add it in project list.

I am a gssoc participant. Please assign this project to me

@Archna29  This project is already been implemented.
Feel free to look around, plenty of things can be added or modified within this project. Create an issue we will be happy to assign you.
I'm closing this issue for now


v8.0 missing the 'dist' directory

I've just updated a project to v8.0 using Bower and the result is the headroom.js directory missing the dist directory entirely. I'm using Bower v1.7.7

closing as a discussion about bower is happening in #198

Missing out the dist directory is intentional. I'm aiming to avoid committing build artefacts as they always cause confusion in PRs. I'm hoping we can work something out using npmcdn. See discussion in the other issue

I need the dist directory as part of the bower process, since I use the Sage framework which pulls raw scripts and then compiles / minifies them in a later part of the build process. Is there any chance we can have them as an option?


Need help in deploying custom theme

We have successfully deployed this in AWS China with ECS Fargate option, however, I need help in customizing the theme and applying a custom login theme instead of the default one. Can someone please help or guide how to customize or add a new theme folder and which location?
Here are the details of the deployed platform.

Region: China Bejing
Template used: Existing VPC and with Aurora MySQL
Keycloakc version: keycloak:12.0.4

+1


Adding linux info

I'm mostly just opening this PR for now so I can get Travis to run CI. I thought maybe that would be faster to see the output of some of these commands rather then trying to set up a Linux dev environment on my machine. Ignore this for now - I'll close and re-open this later on when it's actually ready.

Wouldn't ya know it, it looks like this is now works for Linux as well. I think I might leave it here, since I really don't want to try and set up a windows dev machine to try this stuff out...
However, I've changed the output, and also made the tests a little better now that the output has been improved a bit. We're now displaying the memory usage in GB.
Want me to close the other PR and just roll with this one, or should it be two separate steps?

If you need something tested on Win10, just give me steps, ping me with @OvermindDL1, and I can do so.

@OvermindDL1 Oh, that's awesome!! It might even be easier if you would want to implement those two functions. I'd be happy to walk you through it if you like. Or I can poke around and see if I can get something that might work and then send it over for you to test. Either way, thanks for the offer!!

@devonestes Sure, what functions do you need implemented?  Or what do you need me to test?  Whatever you prefer?  I only have access to Windows at work so the hours I can test are limited (4.4 more hours today), I use linux everywhere else on everything else.  ^.^

@devonestes I already merged the other PR so this one might need a rebase/cherry pick/whatever :)
Thanks for implementing Linux! I might actually go around to set up a Windows CI with appveyor... did that back for shoes, wasn't exactly fun but might be nice for our Windows friends.
also thanks @OvermindDL1 for offering to at least test if not implement Windows :)

Oh, and of course also thanks! Coveralls seems to take their sweet time updating the commit status today though, don't worry about it too much :)

I had a few minutes available on Windows10 so I cloned this PR and ran mix test, got these results if anything is useful:
$ mix test
..........................................

  1) test .cpu_speed returns the speed of the current cpu (Benchee.SystemTest)
     test/benchee/system_test.exs:31
     Assertion with =~ failed
     code:  Benchee.System.cpu_speed() =~ ~r"\\d+.*hz"i
     left:  "N/A"
     right: ~r/\d+.*hz/i
     stacktrace:
       test/benchee/system_test.exs:32: (test)

.

  2) test .available_memory returns the available memory on the computer (Benchee.SystemTest)
     test/benchee/system_test.exs:35
     ** (MatchError) no match of right hand side value: :error
     stacktrace:
       test/benchee/system_test.exs:36: (test)

.....................................................................................................................

  3) test inputs feature version of readme example (BencheeTest)
     test/benchee_test.exs:192
     Expected false or nil, got true
     code: Regex.match?(~r"fast"i, output)
     stacktrace:
       test/benchee_test.exs:266: BencheeTest.readme_sample_asserts/1
       test/benchee_test.exs:206: (test)

...

  4) test integration keywordlist as options in second place (BencheeTest)
     test/benchee_test.exs:64
     Expected false or nil, got true
     code: Regex.match?(~r"fast"i, output)
     stacktrace:
       test/benchee_test.exs:266: BencheeTest.readme_sample_asserts/1
       test/benchee_test.exs:76: (test)

.

  5) test formatters have full access to the suite data, values in assigns (BencheeTest)
     test/benchee_test.exs:156
     Assertion with =~ failed
     code:  output =~ ~r"Run time: #{@rough_10_milli_s}$"m
     left:  "Operating System: Windows\nCPU Information: N/A\nNumber of Available Cores: 8\nAvailable memory: N/A\nElixir 1.4.0\nErlang 19.2\nBenchmark suite executing with the following configuration:\nwarmup: 5.00 ms\ntime: 10.00 ms\nparallel: 1\ninputs: none specified\nEstimated total run time: 15.00 ms\n\n\nBenchmarking Sleeps...\nRun time: 15.00 ms\nAverage: 15.00 ms\nCustom value\n"
     right: ~r/Run time: ((8|9|10|11|12|13|14)\.\d{2} ms)$/m
     stacktrace:
       test/benchee_test.exs:186: anonymous fn/0 in BencheeTest.test formatters have full access to the suite data, values in assigns/1
       test/benchee_test.exs:157: (test)

..

  6) test .measure runs a suite with multiple jobs and gathers results (Benchee.BenchmarkTest)
     test/benchee/benchmark_test.exs:61
     Assertion with >= failed
     code:  length(run_times_hash["Name 2"]) >= 8
     left:  7
     right: 8
     stacktrace:
       test/benchee/benchmark_test.exs:62: (test)

  7) test integration high level README example old school map config (BencheeTest)
     test/benchee_test.exs:48
     Expected false or nil, got true
     code: Regex.match?(~r"fast"i, output)
     stacktrace:
       test/benchee_test.exs:266: BencheeTest.readme_sample_asserts/1
       test/benchee_test.exs:61: (test)

  8) test integration expanded README example (BencheeTest)
     test/benchee_test.exs:79
     Expected false or nil, got true
     code: Regex.match?(~r"fast"i, output)
     stacktrace:
       test/benchee_test.exs:266: BencheeTest.readme_sample_asserts/1
       test/benchee_test.exs:95: (test)

..

  9) test .measure populates results for all inputs (Benchee.BenchmarkTest)
     test/benchee/benchmark_test.exs:188
     Assertion with >= failed
     code:  length(results["Short wait"]["sleep"]) >= 8
     left:  7
     right: 8
     stacktrace:
       test/benchee/benchmark_test.exs:207: anonymous fn/0 in Benchee.BenchmarkTest.test .measure populates results for all inputs/1
       test/benchee/benchmark_test.exs:189: (test)

..

 10) test .measure runs a benchmark suite and enriches it with measurements (Benchee.BenchmarkTest)
     test/benchee/benchmark_test.exs:45
     Assertion with >= failed
     code:  length(run_times_hash["Name"]) >= 5
     left:  4
     right: 5
     stacktrace:
       test/benchee/benchmark_test.exs:46: (test)

.

 11) test .measure doesn't take longer than advertised for very fast funs (Benchee.BenchmarkTest)
     test/benchee/benchmark_test.exs:92
     excution took too long 47000 vs. 30000 +- 1.2e4
     stacktrace:
       test/benchee/benchmark_test.exs:93: (test)

.....

Finished in 5.4 seconds
187 tests, 11 failures

Randomized with seed 235000

@OvermindDL1 gnarggghhh! I should probably really get a Windows CI going... is that machine by any chance rather slow? Lots of those failures are general speed tests that I already wrapped in a retrying block... testing actual benchmarking is harsh on differing hardware.... I try to make them as resilient as I can (I run 6 test suites in parallel on my machine to make them slower...)

is that machine by any chance rather slow?

Lol, nope, it is quite fast, one of the newest business class Dell Desktop's for General Use, sec...
Processor	Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 3408 Mhz, 4 Core(s), 8 Logical Processor(s)
Installed Physical Memory (RAM)	8.00 GB

@OvermindDL1 How did you get that info?! That's exactly the stuff we want to put in those functions!! I'll see if I can whip up another branch tomorrow for you to test as well (if you have the time, of course!)

but... but... all of them are tests where it ends up being too slow for what I test and there's already pretty much leeway in there. That's even faster than my machine :scream:
I guess I got some work to do there... :| Might setup elixir on my windows machine as well... oh, the thinks I do for open source.
Thanks for testing this out.
This bunny thanks you for your effort with its own effort to get a carrot:

@OvermindDL1 How did you get that info?! That's exactly the stuff we want to put in those functions!! I'll see if I can whip up another branch tomorrow for you to test as well (if you have the time, of course!)

Not from Elixir, I opened Windows "System Information" built-in program.  I'm not sure I've ever come across a way to query that information from erlang.

but... but... all of them are tests where it ends up being too slow for what I test and there's already pretty much leeway in there. That's even faster than my machine 😱

Lol, do remember that the Windows event system operates on slow 11ms (12ms?) cycles, so if you do anything that would be affected by that then...  (thread switches, events, etc...)

I guess I got some work to do there... :| Might setup elixir on my windows machine as well... oh, the thinks I do for open source.

Ahh if only Windows were dead by now...  ^.^;

This bunny thanks you for your effort with its own effort to get a carrot:

Adorable as always.  ^.^

Lol, do remember that the Windows event system operates on slow 11ms (12ms?) cycles, so if you do anything that would be affected by that then... (thread switches, events, etc...)

That might be it... most of those tests work with :timer.sleep and often in 5 milliseconds or 10 milliseconds... (to make the tests predictable) - sometimes less, sometimes more - which would probably explain it.
Maybe increasing the times would help, that makes the test run times a bit more annoying but I can live with that. Thanks for all the help!

If you want the windows information you can always query it from wmic or so (pretty sure that program is standard since XP I 'think'?), examples from the command prompt:
$ WMIC CPU GET NAME
Name
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz

$ WMIC CPU GET NUMBEROFCORES
NumberOfCores
4

$ WMIC COMPUTERSYSTEM GET TOTALPHYSICALMEMORY
TotalPhysicalMemory
8467570688

$ WMIC CPU GET L2CACHESIZE
L2CacheSize
1024

$ WMIC CPU GET CURRENTCLOCKSPEED
CurrentClockSpeed
3408

(Yes it prints a lot of newlines at the end of each command it seems...)
And tons and tons and tons of other commands.  Loading up an external windows built-in program might be beyond what you want to do though.  ^.^;
It is fully described though, like you can call WMIC CPU and you get a list of every specific thing you can access as well as what their values are in table aligned format that barfs on the command prompt.  :-)

That might be it... most of those tests work with :timer.sleep and often in 5 milliseconds or 10 milliseconds... (to make the tests predictable) - sometimes less, sometimes more - which would probably explain it.

That would likely be the reason then if the EVM/BEAM scheduler is not kept spooled up and goes to sleep for its timeslice.  :-)

@OvermindDL1 Those are beautiful examples! Now I can definitely have something to test by tomorrow. The work is basically done for me!


feat: validate running bot against UI

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Set Map default view based on route

When landing on a profile page, the default for all maps is a citywide view.  All maps then animate their view change, but have already requested resources at the zoomed out view.
To save some async requests for tiles, and the webGL work of animating many maps, let's set the initial view based on the route.
Another enhancement here would be to eliminate animated movements on the maps in the content area, so they only load what is needed for the view.

This is done via #327, right?


Fix scroll to next tab when view size was changed.

When I resize my view, next tap on tab bar will be ignored.
https://www.dropbox.com/s/bbhiv3li5dxwdrl/scroll_issue.mov?dl=0

@antrix1989
Now XLPager updates the content offset only if the width changes.
Anyway we still need to update the frame of each child view controller due to height change.
Regards

Great! Thanks.

@antrix1989 @mtnbarreto  Hi, I am facing a issue container scroll view is not moving up. please suggest how can I make container view scroll vertically as my child controller view height is greater than container scroll view height and I am not able to see bottom view of child view. how can I fix it? please suggest.


Comma operator in statement position

Description
The comma operator can be reformatted into distinct lines of code as long as it isn't used in an expression context, like so:
Input
The code looked like this before beautification:
function foo() {
    x = 5, y = 4, z = x + y
}

Current Output
The  code actually looked like this after beautification:
function foo() {
    x = 5, y = 4, z = x + y
}

Expected Output
The code should have looked like this after beautification:
function foo() {
  x = 5;
  y = 4;
  z = x + y;
}

Environment
Browser User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36
Language Selected:
Beautify JavaScript
Settings
{
  "indent_size": "4",
  "indent_char": " ",
  "max_preserve_newlines": "5",
  "preserve_newlines": true,
  "keep_array_indentation": false,
  "break_chained_methods": false,
  "indent_scripts": "normal",
  "brace_style": "collapse",
  "space_before_conditional": true,
  "unescape_strings": false,
  "jslint_happy": false,
  "end_with_newline": false,
  "wrap_line_length": "0",
  "indent_inner_html": false,
  "comma_first": false,
  "e4x": false,
  "indent_empty_lines": false
}

The beautifier is currently a whitespace-only reformatter.  Is does not change the non-whitespace parts of the code.


D415 reports an error and cannot be used

I have two D415, both with shells. I have been using them normally for a while. Today, when I use one of them, it keeps reporting errors and the camera is unusable. I found that its serial number has changed to ffffffffffff, it was not such a serial number before. I switched the cables, the other one can be used normally, but this one still cannot be used. There should be no problem with the cable. Is there any solution?

librealsense
2.49.0 RELEASE

OS
Windows

Name
Intel RealSense D400

Serial Number
ffffffffffff

Firmware Version
<IP_ADDRESS>

Advanced Mode
YES

Camera Locked
YES

Usb Type Descriptor
3.2

Product Line
D400

Asic Serial Number
041323020901

Firmware Update Id
041323020901

RealSense error calling:
Invalid Value in rs2_open_multiple(sensor:000002A9F9CD2AB0,
profiles:000002A9FA465AB8, count:1):
hwmon command 0x2c( 9 0 0 0 ) failed (response -9= No expected user action)

Hi @gaoxiaohuiandy  This is a very rare error.  A good starting point for investigating your case will be to direct you to a similar D415 case at the link below so you can see whether there are any aspects of that case that are similiar to your own situation.
https://support.intelrealsense.com/hc/en-us/community/posts/4411008428307-D415-lost-its-brain-

@MartyG-RealSense Thank you very much for your reply! Yes, my situation is the same as his, let me try again to see if there is a solution.

Hi @gaoxiaohuiandy  Do you have an update about this case that you can provide, please?  Thanks!

Hi @gaoxiaohuiandy  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


libfido2: 1.10.0 -> 1.11.0

Description of changes
libfido2: 1.10.0 -> 1.11.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Target should be the staging branch. Please rebase.

Sorry everyone, I messed up that rebase.


make test for using cli with remote path that doesnt exist

Spawned from https://github.com/fair-software/howfairis/pull/288

PR was merged, closing


Not able to migrate to 3.0

I've been tasked with modding a game someone else has made in GB studio. This project started in version 2.0 and was not able to be migrated to 3.0. Now I've taken the blunt of this unfortunate circumstance and cannot migrate the project to version 3.0. It's a bit disheartening because in order to migrate the game the entire thing is going to have to be rebuilt. For reference when i try to run the game it does not run...at all. And, even when trying to re-build the game in 3.0, it seems like the files i've been provided with aren't even compatible (the program just completely crashes/freezes when i try to run the game). I am on Windows OS. The original game was also made on Mac OS, I hope that doesn't contribute to the problem - and it shouldn't - because i can run most of the source files on my laptop.
Needless to say I feel like this issue could've been solved if older versions of GB studio were provided. If anyone can point me in that direction it would be very helpful. The devs have absolutely no contact information so I don't know what to do here. Thanks.
Screenshot of what happens when I try to migrate:

This orange text just seems to repeat over and over instead of actually running the game.

I can't help with the migration issue, but you can indeed download previous
versions on GitHub: https://github.com/chrismaltby/gb-studio/releases
On Wed, May 25, 2022, 11:56 AM Xern @.***> wrote:

I've been tasked with modding a game someone else has made in GB studio.
This project started in version 2.0 and was not able to be migrated to 3.0.
Now I've taken the blunt of this unfortunate circumstance and cannot
migrate the project to version 3.0. It's a bit disheartening because in
order to migrate the game the entire thing is going to have to be rebuilt.
For reference when i try to run the game it does not run...at all. And,
even when trying to re-build the game in 3.0, it seems like the files i've
been provided with aren't even compatible (the program just completely
crashes/freezes when i try to run the game). I am on Windows OS. The
original game was also made on Mac OS, I hope that doesn't contribute to
the problem - and it shouldn't - because i can run most of the source files
on my laptop.
Needless to say I feel like this issue could've been solved if older
versions of GB studio were provided. If anyone can point me in that
direction it would be very helpful. The devs have absolutely no contact
information so I don't know what to do here. Thanks.
Screenshot of what happens when I try to migrate:
[image: image]
https://user-images.githubusercontent.com/106263273/170305149-a4f58201-f2a7-4a4e-b7fc-39d5bdafcd5d.png
[image: image]
https://user-images.githubusercontent.com/106263273/170305184-91dd6162-806a-48a7-8e9b-c299b09dd7f7.png
This orange text just seems to repeat over and over instead of actually
running the game.
—
Reply to this email directly, view it on GitHub
https://github.com/chrismaltby/gb-studio/issues/1118, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC2YSS6DOZHQHYQ3CCO3JDVLZERBANCNFSM5W5TSH6Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you, unfortunately the damage has already been done and we've restarted. I think this should be more public knowledge in the future. I appreciate the reply.


Add other clients

An interim fix until all the documentation has been updated.

Closed because not properly implemented in this branch.


Automatically clean up docker images in the registry without a tag pointing to them

When pushing new docker images for an existing tag, the old image still exists and uses up storage one the server. While you can use images just by pointing to their sha, I've yet to find someone who actively uses that. For my own registry (portus) I have a cron job to automatically remove everything that does not have a tag pointing to it. Docker even has a command for this.
Having a cleanup job like that would allow to keep old versions but still solve the storage space problem.
@KN4CK3R in https://github.com/go-gitea/gitea/issues/21658#issuecomment-1301794468:

No, only if it's "older than" or not included in the "keep pattern". But it should be no problem to add a special logic here because there is already the custom Version == "latest" for containers.

Gitlab has an automatic garbage collection process for this: https://docs.gitlab.com/ee/administration/packages/container_registry.html#removing-untagged-manifests-and-unreferenced-layers
I think it's best to discuss this before implementing, mostly regarding these open questions:

Should this be enabled automatically?
Should this be a repo/org setting or a global config one?

Just for clarification, a repo has no impact on packages:

Should this be a repouser/org setting or a global config one?

I checked again how I implemented this and currently there are no untagged images in the container registry! (Exception: If you upload a multiarch image, the different arches are untagged images) If you tag and push an image you can later pull that image with the tag and its hash. If a tag gets pushed again the old tag/version gets removed and that deletes the hash reference too. So after that operation there is no untagged image available anymore.
https://github.com/go-gitea/gitea/blob/f17edfaf5a31ea3f4e9152424b75c2c4986acbe3/routers/api/packages/container/manifest.go#L309-L312
So at the moment the cleanup does not need to remove untagged images because there are none. The question should first be "Should Gitea keep untagged version?"

Use case sounds pretty similar to git gc which we already automatically run as a cron IIRC.

Should this be enabled automatically?

If it's stable, I'd say so.

Should this be a repo/org setting or a global config one?

I think global is sufficient. Ideally it should just be another cron to cleanup orphaned images, like we already do for orphaned git commits via git gc.

I've came across this issue after experiencing the same effect.
Building multiarch images when only the manifest is tagged, left me with lots of "packages" behind with only the digest (the manifest had only one copy since it was tagged).
Tagging each arch so it gets overwritten makes the "details" tab a bit impractical when you have too much different arch and versions (for matrix builds).

Should this be a repo/org setting or a global config one?
In my case, I would be happy with the exact same global mechanism described (similar to the cron that runs git gc)

I am also looking for a similar feature, going out of my way to manually prune images is painful.

Doesn't #21658 resolved the issue?

@lunny I didn't test it but I don't think so. The PR allows to configure rules for removal of tags, I just want to remove every image layer not associated with a tag.

No, I have 1.20.4 running and it does not happen.
Am 19. September 2023 14:06:27 MESZ schrieb Peiwen Xu @.***>:

Is this still happening?
--
Reply to this email directly or view it on GitHub:
https://github.com/go-gitea/gitea/issues/21673#issuecomment-1725380028
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

No one has implemented this yet, but it's definitely a vital feature to conserve disk space. Maybe it should likely be disabled by default to support pulling image by hash, which is a rare, but likely valid use case.

Does anyone tried this cleanup rule?

Does anyone tried this cleanup rule?

Using that and then checking with the preview yields no results, does not look like its working.

It looks like the official docker registry implementation uses this function to find and remove all untagged layers, as described here.
@KN4CK3R As far as I understood from glancing over the code, Gitea does not just "embed" the official registry package, so it's not as easy as just copying that function?

I'm facing the same issue with the latest version of gitea

Does anyone tried this cleanup rule?

The following seems to work perfectly! It deletes all images that do not have an associated tag with them. I would only suggest using ^sha256:.+ instead, as you could otherwise match a tag that for some reason has sha256 in the middle.

Be careful with this approach, when using multi platform images!
In this case the individual platform images might be untagged, but the images themselves may still be referenced (by the multi platform manifest that is). I'm currently trying to deal with this problem myself and have not yet found a way that does not require deeper insight into the relationships of the images involved.
If someone has something to suggest that'd be very welcome!

Yes, the cleanup rule delete platform variants images.
Until we can find a integrated solution, I ended up with an external cronjob that prune old images in my self-hosted instance.
I fetched the registry api and used the gitea golang sdk, in a hacky way but It's working.
gitea_registry_prune.go.txt

Yes, the cleanup rule delete platform variants images.
Until we can find a integrated solution, I ended up with an external cronjob that prune old images in my self-hosted instance.
I fetched the registry api and used the gitea golang sdk, in a hacky way but It's working.
gitea_registry_prune.go.txt

Thank you, that works perfectly as needed!
@lunny will there be a solution to cleanup orphan registry images? Space grows on server so this manual hack is the only way cleanup space.

I don't think so. I will take a look at this problem.

I don't think so. I will take a look at this problem.

Orphan images occur when pushing with the same label (e.g. latest) to container registry.


xgb dump significant figures for leaf preds

Hi guys,
I am looking to use the model dump to reconstruct all trees in another environment for scoring purposes.
I'm seeing a slight discrepancy when using the 'predict' function vs. the model dump - i believe the source of this is rounding errors, as leaf predictions are truncated to 6sf in the dump.
Is it possible to include an option to increase the number of floating point digits in the dump?
Alternatively is there any 'hack' solution i can do - not sure whereabouts in the source code i can adjust this...
Thanks.  Using R.
example:
[1] "0:[Petal_Length<3.95] yes=1,no=2,missing=1,gain=26.2465,cover=135" "1:leaf=0.0224811,cover=52"
[3] "2:leaf=0.0289524,cover=83"
But a leaf one prediction is
0.522481143474579)

MMmhhhh interesting, there is no such conversion in the C++ code
https://github.com/dmlc/xgboost/blob/6f16f0ef5829965ba420ef6937617600d286820a/src/tree/tree_model.cc#L18

Hm the noise is in the order of 10^-5 to 10^-7 (as one would expect) so I'm not hugely concerned. Thanks for your help

FYI https://github.com/dmlc/xgboost/issues/2077

Also: https://github.com/dmlc/xgboost/pull/1726


python run.py  error

from langchain.llms.base import create_base_retry_decorator

ImportError: cannot import name 'create_base_retry_decorator' from 'langchain.llms.base'

@MSYXing thanks for raising this issue.
Can you please give us library versions of langchain, python version, your OS and what command you were executing?
Looks like you are using older version of langchain

@MSYXing just re-surfacing this, will close this issue if I don't get your response within the next week. Thanks.

Hopefully your issue has been solved with new our improved dependency management, if not, please create a new issue

I am facing this issue, Followed all the steps for installation and got this :
"    from langchain.llms.base import create_base_retry_decorator
ImportError: cannot import name 'create_base_retry_decorator' from 'langchain.llms.base'"

same issue during run "python run.py --verbose True --config examples/example_agent_setup.json"
and the langchain is 0.1.3 :

same issue during run "python run.py --verbose True --config examples/example_agent_setup.json" and the langchain is 0.1.3 :

please check this: https://github.com/filip-michalsky/SalesGPT/issues/89


--drivername not passed to driver

https://github.com/cernops/cvmfs-csi/blob/e96e011380031690d9667706f7a9783915d8d52c/cmd/csi-cvmfsplugin/main.go#L51
The current release of this driver does not allow configuration of the driver name and requires it be set to the hard coded value of "cvmfsDriver".

Hi @innovate-invent, we are overhauling the driver in #39. The driver name should be correctly passed in the new version. Since the issue you're reporting won't be relevant anymore, I'm closing it. Please feel free to reopen, or open another one if you have comments or questions.


Updation of Motive and Join Us documentation

Documentation
The lines in the motive section are not well structured and the join us lines should be edited.
Have you spent some time to check if this issue has been raised before?
No it is new.
Have you read the Code of Conduct?
Yes

Hey @Bikramjit21  we don't need this updation and so closing this issue. Thank you for taking time to report this.


Holoparas can be summoned inside a dragon, also living people can attack from the inside

Description

Dragon need a regurgitate option or something
Reproduction

Screenshots

Additional context

i dont think the latter is a bug, but yeah dragons should have a way to regurgitate their stomach contents


Potential mistake in anchors2bboxes function

Hi there,
I was looking at the above named function and I realised that the mapping from the delta -> bbox is not the inverse of bbox -> delta from the original point pillars paper (Section 3.2). The function in question is shown below:
https://github.com/zhulf0804/PointPillars/blob/b9948e73505c8d6bfa631ffdf76c7148e82c5942/model/anchors.py#L72-L92
For example, to recover z should you not simply insert this after h has been defined:
z = deltas[:, 2] * h + anchors[:, 2]?
Also for theta no arcsin is used.
Here the a screenshot of the relevant section in the paper:

Is this intentional, and if so, why?
Thank you!

Hello @jonasdieker,
Thank you for your good question. And the code is reasonable.
For the first one, anchors[:, 2] is the bottom center, so half height anchors[:, 5] / 2 is added. Maybe the following line is more clear.
z = deltas[:, 2] * anchors[:, 5] + (anchors[:, 2] + anchors[:, 5] / 2)

For the second question, angle offset is predicted as shown in
https://github.com/zhulf0804/PointPillars/blob/b9948e73505c8d6bfa631ffdf76c7148e82c5942/model/anchors.py#L113
and loss function is the sin function as shown in
https://github.com/zhulf0804/PointPillars/blob/b9948e73505c8d6bfa631ffdf76c7148e82c5942/train.py#L102-L104
So, we get the predicted angle as the following line
theta = anchors[:, 6] + deltas[:, 6]

Best.

Hello @zhulf0804,
I appreciate you taking the time to respond to my question. It all makes sense now, thank you!


physical dimension parameters

Currently the wrapper fixes the detector and image pixel sizes to unit value.  It should allow those to be set to the actual physical dimensions otherwise you lose the physical units in the output values.
What about allowing the following arguments:
delta_channel   [default to 1, whatever units of this value here correspond to output (eg. mm -> mm^-1)]
img_downsamp  [ value>=1, default to 1,  maybe call this "delta_xy_relative"]
img_size_x_rel   [ value in (0,1], default to 1, this is approx size of image along x relative to detector width]
img_size_y_rel    [similar]
Then the image and pixel sizes would be calculated:
delta_xy = delta_channel * delta_xy_relative
Nx = ceil( img_size_x_rel * num_channels / delta_xy_relative )
Ny = ceil( img_size_y_rel * num_channels / delta_xy_relative )

I like this idea.
Based on this idea, I just started a new issue to discuss how we do automated parameter selection.

If we introduce arbitrary pixel pitch, then we need to make sure we don't break the svmbir.project function.
Right now svmbir.project determines the sinogram array size from the image size, but this won't always be possible if we make the pixel pitch, Nx, and Ny arbitrary.

Issue fixed by new interface


Uncaught TypeError: filter is undefined

http://<IP_ADDRESS>:4100/tables/extended-table
Typing on Product Name Field Got Blank Page

package.json
"react-bootstrap-table-next": "^3.1.4",   ----->    "react-bootstrap-table-next": "^4.0.3",
"react-bootstrap-table2-filter": "^1.1.9",   ------->   "react-bootstrap-table2-filter": "^1.3.3",
it worked for me


fix: warning about GHA security

We can instead use dependabot.yml to keep actions up via PRs every day or week when new changes are detected. In that case, we'd use v2.0.0 here.
This was released about 30 minutes ago, see https://github.com/conda-incubator/setup-miniconda/issues/84

Thanks!


Short date culture fix

Previously were hardcoded to .ToString("dd/MM/yyyy") which could be confusing for some users.
For example: currently a date would show: 02/09/2024, but now it would show as 9/2/2024 for the en-US culture

Thanks for the PR @digitaldirk !
Two small things:

The Archive-Page also has some date handling. To be aligned, the change has to be made there as well.
(Have to check later on my machine, just a hunch): The Unit tests (that involve dates) might break now as they don't have any culture set. That would be probably a good idea.

I will make some more changes and sorry I should have been more proactive on the tests (quickly did this PR on web)

Nahhh don’t worry - given that all tests are green, they had some implicit assumptions or behavior.

ShouldPublishScheduledBlogPosts failed but that also fails on a fresh pull of master branch.
Think I'm all done :)

ShouldPublishScheduledBlogPosts I guess it doesn't fail on CI because of invariant culture.

Thanks for your efforts - I will merge the PR


how to solve this captcha?

hello, i have a harder challange, how would i use the library to presegment and actually solve thiscaptcha?

img.debugImage("debugPreprocessed");
img.binarize(190);

I'd start by filtering out the horizontal line with a convolution filter that basically smears things vertically.
var cbl = new CBL({
    preprocess: function(img) {
        img.debugImage("debugPreprocessed");
        img.convolute([ [0, 1, 0],
                        [0, 1, 0],
                        [0, 0, 0] ]);
        img.debugImage("debugPreprocessed");
        img.colorRegions(2, false);
        img.debugImage("debugPreprocessed");
    },
    character_set: "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
    blob_min_pixels: 5,
    blob_max_pixels: 100,
    pattern_width: 16,
    pattern_height: 16,
    pattern_maintain_ratio: true,
    allow_console_log: true,
    perceptive_colorspace: true,
    blob_debug: "debugSegmented",
    model_loaded: function() {
        document.getElementById("aSolve").style.display = "inline-block";
    }
});
cbl.train("1NKM4J.png");

It's not perfect, but it's a good start.

@skotz  Thank You!!

and for this type of captcha with inverse color format above png just like this ...

You could try first inverting the image and then running the same filters as before. I just added the invert method, so you'll need to get the latest version of the library for it to work.
preprocess: function(img) {
    img.debugImage("debugPreprocessed");
    img.invert();
    img.debugImage("debugPreprocessed");
    img.convolute([ [0, 1, 0],
                    [0, 1, 0],
                    [0, 0, 0] ]);
    img.debugImage("debugPreprocessed");
    img.colorRegions(2, false);
    img.debugImage("debugPreprocessed");
}

Actually, since there are always 6 characters that are always in the same place with the same horizontal line, you can just grab the characters out of the same place every time. Again, I added a new method to the library to support this. With this method you can get pretty close to 100% accuracy after training.
var cbl = new CBL({
    preprocess: function(img) {
        img.debugImage("debugPreprocessed");
        img.convolute([ [0, 1, 0],
                        [1, 2, 1],
                        [0, 1, 0] ], 1/6);
        img.debugImage("debugPreprocessed");
        img.binarize(128);
        img.debugImage("debugPreprocessed");
        img.invert();
        img.debugImage("debugPreprocessed");
    },
    fixed_blob_locations: [
        { x1:  5, y1: 3, x2: 13, y2: 12 },
        { x1: 15, y1: 3, x2: 23, y2: 12 },
        { x1: 25, y1: 3, x2: 33, y2: 12 },
        { x1: 35, y1: 3, x2: 43, y2: 12 },
        { x1: 45, y1: 3, x2: 53, y2: 12 },
        { x1: 55, y1: 3, x2: 63, y2: 12 }
    ],
    character_set: "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
    pattern_width: 9,
    pattern_height: 10,
    allow_console_log: true,
    blob_debug: "debugSegmented",
    model_file: "model.dat"
});

cbl.train("1NKM4J.png");
cbl.train("3WJ671.png");
cbl.train("730CR1.png");

How can i distinguish between these two different captcha, programtically

You could write a method to check the pixel at (0, 0) and see whether it's black or white.

@skotz  Thank You for your support. now i able to achieve 99% accuracy for the above captcha

Does the library has any method to get the pixel value? It's some what difficult to get the pixel value through CANVAS element.
Kindly extend the library to support getPixel method

That's a good idea. I'll mark this thread as an enhancement and add that when I have time.

By the way, I've added the method. Now you can get a specific pixel and perform some kind of check to see if it's white, and if it is, invert the image.
if (img.getPixel(0, 0).r == 255) {
    img.invert();
}


net: Add IGMP shell to manage multicast groups

Is your feature request related to a problem? Please describe.
Test multicast groups, handy to have a shell command rather than writing applications for testing.
Describe the solution you'd like
It’s handy to have a IGMP shell as part of net to manage and test multicast groups, multicast is essential for Matter.
Below should suffice to start with:
net igmp join <group address>
net igmp leave <group address

I am not sure we need separate shell commands for this. As the multicast networking does not really work without joining to IGMP (for IPv4) or MLD (for IPv6), we could modify the net ipv4 and net ipv6 shell commands so that when user adds a multicast address to the interface, the shell command will automatically join the multicast group.

I can implement this, will send a PR shortly.

that when user adds a multicast address to the interface, the shell command will automatically join the multicast group.

Yes, this is how it works in Linux, adding a route will trigger IGMP join.


springboot 2.2.0.M5 invalid

springboot 2.2.0.M5 invalid
jasypt:
encryptor:
private-key-format: pem
private-key-location: secret/private.pem
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-09-03 18:34:31.272 ERROR 70244 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   :

APPLICATION FAILED TO START

Description:
Failed to bind properties under 'spring.datasource.password' to java.lang.String:
Reason: either 'jasypt.encryptor.password' or one of ['jasypt.encryptor.privateKeyString', 'jasypt.encryptor.privateKeyLocation'] must be provided for Password-based or Asymmetric encryption

Action:
Update your application's configuration
Disconnected from the target VM, address: '<IP_ADDRESS>:50297', transport: 'socket'
Process finished with exit code 0

We'll add support soon


Revert color changes for ListBox

Describe the bug

We checked in sweeping color changes in #3728. This PR had the unintended consequence of partially updating colors used by ListBox such that this control no longer meet contrast ratio requirements. We need to undo the problem by reverting a few changes to make sure ListBox can continue to use the colors defined in the OS generic.xaml
ListBox
The background of selected ListViewItems no longer meets contrast ratios, it's almost invisible.
"updated" (incorrect)

previous (correct)

Additional context

Copied from internal bug

I would like to work on this.

I would like to work on this.


Asynchronous getters/setters

Hello,
Is there a way to implement asynchronous getters with mongoose ?
I'm having a hard time populating DBrefs in a tree-like structure (where documents contain a plain tree of arbitrary depth, where some nodes have a DBref as a property), and I figured out I could use asynchronous getters (if they existed) to manually populate those without having to call .populate() with all possible nested DBref paths...

Nope, no way to do async getters/setters. That's just the nature of ECMAScript 5. Mongoose won't be adding support for this any time soon, I'd recommend you just implement this with a helper function.


.hugo_build.lock: too many open files

Hallo,
working with visualStudioCode on macOS
hugo v0.118
Error: error building site: failed to acquire a build lock: open /Users/.../hugobricks/.hugo_build.lock: too many open files
Any error on my side?
Thank you for answering!
RT

I have never seen that before... did you manage to fix it?

OK,
building the complete site with hugo command works w/o error.
starting the hugo server makes the error. Deleting of /.hugo_build.lock w/o effect.
imac27-2020@iMac27-2020 hugobricks % hugo
Start building sites …
hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e+extended darwin/amd64 BuildDate=2023-09-24T15:20:17Z VendorInfo=brew
               | EN

-------------------+------
Pages            |  83
Paginator pages  |   0
Non-page files   |   0
Static files     | 104
Processed images |  60
Aliases          |   1
Sitemaps         |   2
Cleaned          |   0
Total in 8807 ms
command: hugo server
Watching for changes in /Users/imac27-2020/Documents/hugo-sonnenhaus/hugobricks/{content,data,static,themes}
Watching for config changes in /Users/imac27-2020/Documents/hugo-sonnenhaus/hugobricks/config.yaml
Start building sites …
hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e+extended darwin/amd64 BuildDate=2023-09-24T15:20:17Z VendorInfo=brew
Built in 0 ms
Error: error building site: failed to acquire a build lock: open /Users/imac27-2020/Documents/hugo-sonnenhaus/hugobricks/.hugo_build.lock: too many open files

https://www.docsy.dev/docs/getting-started/#workaround
This works, but is probably not persistant.
sudo launchctl limit maxfiles 65535 200000
ulimit -n 65535
sudo sysctl -w kern.maxfiles=200000
sudo sysctl -w kern.maxfilesperproc=65535

Is this fixed? Seems like a Hugo bug, not theme specific...

Hallo,
had to pause my project.
updated hugo to: hugo v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740+extended darwin/amd64 BuildDate=2023-12-08T08:47:45Z VendorInfo=brew
error still in place
I think, it is not a hugo bug but a problem with the system due to a too large number of open files.
Wer do these many files come from?
sudo launchctl limit maxfiles 65535 200000
still helps.
Merry chrisstmas for the all of you!
RT

Hello,
I've the same issue using MacOS 14.2.1 (23C71) and vscode on Apple Silicon. I don't have a solution for that problem. But the workaround I'm currently using is to avoid the automatic rebuild. I simply use the command: hugo server --buildFuture --watch=false.
This isn't ideal since you will lose one of the biggest advantages of Hugo. But at least I can use the theme, which is more important for me than having automatic rebuilds at the moment.

here is the code you should change -->
open shortcodes in layout >themes> gallery.html and replace it with this code It worked with me thanks to Mr. Joost
{{ $dir := string (.Get "dir") }}

{{ range (readDir (print "/static" $dir)) }}
  {{- $image := resources.Get (printf "%s/%s" $dir .Name) -}}
  {{- $imageurl := printf "%s/%s" $dir .Name -}}
  {{- $imagetitle := index (split .Name ".") 0 -}}
  {{- if eq $image.ResourceType "image" -}}

  {{- end -}}
{{ end }}

Hello,
I've the same issue using MacOS 14.2.1 (23C71) and vscode on Apple Silicon. I don't have a solution for that problem. But the workaround I'm currently using is to avoid the automatic rebuild. I simply use the command: hugo server --buildFuture --watch=false.
This isn't ideal since you will lose one of the biggest advantages of Hugo. But at least I can use the theme, which is more important for me than having automatic rebuilds at the moment.

This works for me too, but I wonder if there is a solution to make the autopublish with hugo server running


Lay foundation for descriptor sets tracking system

Implements dispatch with the new design.
Since dispatch uses descriptor sets, the biggest part was to make descriptor sets work with the new design.

Note that while the traits necessary for descriptor sets are here, they are not yet implemented on descriptor sets themselves. Therefore you can only pass () for now to the new dispatch command.
Implementing on descriptor sets themselves will require more changes to descriptor sets, in order to keep strong typing.


setupCache() should be called only once error

Hello - I tried doing what is shown in the react example, however I still get the error "setupCache() should be called only once".
axios-context.js
/* eslint-disable */

/*
 * Replace ../../src with axios-cache-interceptor
 */

import Axios from 'axios';
import { createContext, FC, useContext, useState } from 'react';
import { setupCache } from 'axios-cache-interceptor'; // axios-cache-interceptor

/** @type {import('react').Context<import('axios-cache-interceptor').AxiosCacheInstance>} */

const AxiosContext = createContext(null);
export const useAxios = () => useContext(AxiosContext);

export const AxiosProvider = ({ children }) => {

  const [axios] = useState(
    setupCache(
      Axios.create(),
      {}
    )
  );

  return <AxiosContext.Provider value={axios}>{children}</AxiosContext.Provider>;
};

_app.tsx
export default function App({
  Component,
  pageProps: { session, ...pageProps },
}: AppProps<{ session: Session }>) {
  return (
    <SessionProvider session={session}>
      <AxiosProvider>
        <Component {...pageProps} />
      </AxiosProvider>
    </SessionProvider>
  );
}

dashboard.tsx (Where I want to make the requests)
  const axios = useAxios();

  const [{ data, error, loading }, setResponse] = useState({
    data: [],
    loading: true,
    error: null
  });

  useEffect(() => {

    axios.get('https://discord.com/api/users/@me/guilds', {
      headers: {
        Authorization: `Bearer  ---`,
      },
    }).then(
      ({ data }) => setResponse({ data, loading: false, error: null }),
      (error) => setResponse({ data: [], loading: false, error })
    );

  }, []);

Thanks in advance :)

This is because this part is executed everytime your context re-renders (the session changes?)
 const [axios] = useState(
    setupCache(
      Axios.create(),
      {}
    )
  );

You can probably fix it by making sure setupCache is called only once, like this for instance:
const axios = useMemo(() => {
  return setupCache(Axios.create(), {});
}, []);

I tried this, but the same issue persists.
export const AxiosProvider = ({ children }) => {

  const axios = useMemo(() => {
    return setupCache(Axios.create(), {});
  }, []);

  return <AxiosContext.Provider value={axios}>{children}</AxiosContext.Provider>;
};

The problem is that, even if you use the first time created, next renders of your component will call the setupCache() again, even if it don't use it.

Yeah. Do you have an idea on how to get around this?

Use it as a singleton

I'm sorry that the react guide is outdated, i need to updated it asap (using togheter axios-cache-hooks).
Try using axios-cache-hooks it may solve all your problems at once.
It may also be a little bit undocumented, but I'd love to help you with any problem and also use it as a documentation guide to follow when building it up.

Okay, I'll give axios-cache-hooks a shot and then get back once I've tried a bit.

I set it up, but I do still get the same error.

Have you set it up the way it says in the readme?

Yes, I followed the readme. I suppose its worth mentioning that I'm guessing createAxiosHooks was renamed to createAxiosCacheHooks and the docs just arent updated?

Yes, haha.
Create it outside of the component function.

Not sure what you mean by create it outside the component function.
getGuilds.ts
import Axios, { AxiosRequestConfig } from "axios";
import { setupCache } from "axios-cache-interceptor";
import { createAxiosCacheHooks } from "axios-cache-hooks";

export const axios = setupCache(Axios);
export const { useQuery, useMutation } = createAxiosCacheHooks();

export function getGuilds(token: string): Promise<any> {

  const guilds = axios.get("https://discord.com/api/users/@me/guilds", {
    headers: {
      Authorization: `Bearer ---`,
    },
  });

  return guilds;
}

dashboard.tsx
import { useQuery, getGuilds } from '../queries/getGuilds';

export default function DashboardPage() {
  const { data: session } = useSession();
  const [guilds, { loading, error }] = useQuery(getGuilds, "");

This is how I've currently got it set up.

I'll keep this issue open to point out lacking of documentation.

d72b122


Implement Module#private_constant, #public_constant

I didn't know about private constants in Ruby. Interesting!


Observer injection: capture arguments of function calls

Could you provide a few test cases? You can use webpagetest.httparchive.org.

Sorry I didn't realize merging the other PR would close this one. Could you open a new PR against main?


Default color

I think for object primitives we should set the default color to (128,128,128) if not specified.  Helps avoid confusion when people are look at the scene with the random initial colors now.

Added in b5c9079222695abccd2132ae66c0ead64a1aff57


Constrain history revision

Ability to change (or delete) item in friend's chat history.
A better xep would allow one to require this enabled by friends it order to chat much like one may require OTR

Constrain = conversation

Hi @TameOfGroans, if you have a suggestion for modifying chat history then I suggest you email the jdev mailing list (or join the jdev muc) and get a discussion going :)


Unique usertype persisting after being destroyed externally

I have had a problem that has been driving me crazy for the past 3 days. Apparently, destroying an unique usertype from a C function called from lua will not make it check if the pointer for it has changed to null, making UB possible.
The smallest MCVE i could come up with is relatively long (115 lines), since it requires setting up unique usertype traits. In it, I define a Button class, which will be the target unique type, and a custom pointer for it (ButtonPtr). After defining the unique usertype traits for Button, I create an example optional variable button_instance that will hold one single button. I create this button, giving it some value (In this case, a string), and then run the lua script.
The lua script provided deletes the button calling the externally-defined delete_button function that resets button_instance. Here's where the error happens: Sol3 thinks that the button still exists on the pointer given, which results in undefined behaviour when trying to access the button's text.
Here's the code: https://gist.github.com/alexdevteam/b6822616755e961889027e06db353463
And the output:
Button copied (constructor) -> 	Destroyed button.
Created button, address: 0x561299c6f6c0
get() called!
[script] Deleting...
[delete_button] Deleting button
Destroyed button.
[script] From inside:
	Button is (should be nil!): sol.sol::detail::unique_usertype<Button>: 0x56129a8a9b38
	Is button nil?: false
	Button's text is... (Should return index from nil error!): @���V
������V  _
Is the buttonPtr nullptr right now: true
[script] From outside:
	Button is (should be nil!): sol.sol::detail::unique_usertype<Button>: 0x56129a8a9b38
	Is button nil?: false
	Button's text is... (Should return index from nil error!): @���V
������V  _

Process finished with exit code 0

I'm using CLang on Manjaro Linux, latest sol2 master branch and CLion (which should not influence in the test at all.)

Thank you for your quick response.

button is pointing to a ButtonPtr instance that is recklessly and rogue-ly accessing dead data, because deleting the button in C++ does not remove it from Lua's GarbageCollector or make the userdata value nil.

So would passing ButtonPtr by reference in delete_button to set its value to nil work? Would collecting garbage work? I tried both things in the past but none worked, I still have to do a MCVE for them though.

No. You'd need to blow up the actual Lua variable in order for "button" to be nil. That means doing button = nil, in Lua code. There's no way for C++ to do this, and no way for a Lua function through a variable to help. You can structure something that contains a reference to a pre-existing sol::reference/sol::object and do aliveness-checks before invoking methods, or erroring, but that's a lot more effort.


Add raw sql support with execute

Add the support for executing raw sql from Repository classes.
Some discusion is needed concerning the duplication, I would rather delegate the execute method from Repository to SqlAdapter.

The failing spec is unrelated though, something in validations is breaking here
Lotus::Validations compatibility#test_0001_doesn't override already set accessor:

@peterberkenbosch Thanks this PR. I'll take care now of that failing spec.

@peterberkenbosch FYI - Build is green again :green_apple:

Do you want these commits to be squashed @jodosha @joneslee85 @AlfonsoUceda ?

@peterberkenbosch IMO yes please ;) :+1: to PR

Overall, :+1: from me

@peterberkenbosch Can you please squash the commits, and I'll take care of the rest. Thank you :+1:

@jodosha done :) And thanks.


Strange jump in training loss and accuracy

Hi. Has anyone had this type of behavior during training? I have just cloned and ran without changing anything.

EDIT: This is what it looks like when it has completely finished training.

@kleinash
The margin in marginal loss would become more strict with every epoch of training, thus the loss function would increase. (for instance, a vector has length 0.7 create zero error when the margin for positive sample is 0.6, but it will generate error when the margin is 0.8). I hope this explains the "steps" you saw in the training loss. Also, refers to #31 because we turned off weight decay.

Thank you. I will have to review your answer a few more times to try and wrap my head around it, but I think I understand now yes.

@kleinash
Sorry for a unclear explanation. If you take a look at the equation (5) of Matrix Capsule paper, notice a_t means the 2-norm of the capsule that represent the correct class, a_i means the 2-norm of a capsule that represent the wrong class.
Let's plug in some numbers:  a_t = 0.9, a_i = 0.1 for all wrong classes (10 classes in total, 9 wrong classes), m = 0.2. In this case, the spread loss for each i is (max(0, 0.2-(0.9-0.1)))^2=0, the total loss is the sum of spread loss for each wrong class, thus 0. This case, the network is good enough.
If m = 0.9 instead, the spread loss for each i is (max(0, 0.9-(0.9-0.1)))^2=0.01, the total loss is 0.09, thus with the increasement of margin, the network needs to enlarge the spread between the correct class and all wrong classes.
When m increases at each epoch, the network won't change immediately, thus cause loss function to jump a little bit. But finally the loss function would drop.

Ok! thank you. I think its eq 3 you are referring to?


code-server "--extensions-dir" not working in 1.1096-vsc1.33.1

code-server version: 1.1096-vsc1.33.1
OS Version: docker with Ubuntu 18.04 from macOS host

Description
Installing extensions to a custom directory from the command line no longer works and produces the error below. Part of the script I use is shown below where echo $CODE_EXTENSIONS_DIR is /home/jovyan/.rsm-msba/share/code-server/extensions. This worked fine with 1.939-vsc1.33.1.
extensions="vscode-icons-team.vscode-icons coenraads.bracket-pair-colorizer"
for ext in $extensions; do
  echo "Installing extension: $ext"
  code-server --extensions-dir  $CODE_EXTENSIONS_DIR --install-extension "$ext"
done

(node:102) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
ERROR { [Error: EACCES: permission denied, mkdir '/src']
  [stack]: 'Error: EACCES: permission denied, mkdir \'/src\'',
  [message]: 'EACCES: permission denied, mkdir \'/src\'',
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/src' }

Looks like this is fixed in 1.1099 so closing


Remove repos when Quay.io

Feature Request
Cleanup of deleted repos
Desired behaviour
When a quay.org repo is deleted the corresponding registration on Dockstore should be removed upon refresh (or refresh of all tools)
This will be really helpful when creating a bunch of quay.io repos for testing or training purposes.  Most folks will want to clean them up after finishing the tutorial and will delete the corresponding Quay.io and Github repos.  Yet these stick around currently in Dockstore (not published but visible in the My Tools/My Workflows section).

The implementation should distinguish between a quay.io repo having been deleted and the service simply being unavailable or the user being rate limited.
Alternatively, we can just not restrict the delete function to manual tools. It might be useful for users to delete their tools and workflows to reset them if they somehow get in a bad state anyways.

This seems to now exist as part of https://github.com/ga4gh/dockstore/issues/1779


Standardize link color

Put text, icons and buttons the same color link.

We can asume this as done.


django 1.7 migrations

Hello,
Please consider renaming "migrations" to "south_migrations" and creating new migrations with Django 1.7.
This is the recommended upgrade path from Django 1.6 and South.
Django 1.7 is now released an considered stable.
Thanks

Hi, what is the state on this? Is the branch ready? @ionelmc

@AdrianLC I need to update the docs about SOUTH_MIGRATION_MODULES, otherwise it's fine. Gonna update the docs soon.

What is the status of this ticket?  The documentation is a bit confusing, declaring the project is no longer required but pointing to Celery documentation that actually recommends installing djcelery.  Which is it?
Is there a recommended way of getting ORM results backend with Django 1.7 or should one simply go with Redis and dumps?  That would not be an ideal solution.

Sorry, this ticket should had been automatically closed. The fix is in 3.1 and master, and the next maintenance release is going to have this.
@arnists, where do you see "Celery documentation that actually recommends installing djcelery"?

http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html#using-the-django-orm-cache-as-a-result-backend

The wording there indicates that it's optional, but maybe it's just obvious to me, or the wording is bad. :grimacing:
You can use redis as a result backend if you want, sure. The best backend depends of what sort of tasks, result data and deployment constraints you have.


Selected items in search place

It's is possible render selected items in 'Search' place?

Hi @tynarbekov,
sorry, but not sure I fully understand
can you please provide more details about the problem you have?
If you add example of your problem - it will be even better
Thanks!

@tynarbekov I am closing the issue.
Please feel free to reopen when you are able to provide more information.
Thanks.


Dev Tools on Iphone/IPad

This section only talks about Dev Tool on Desktop and Android client. I am able to enable developer preview on IPhone/Ipad but how to debug/inspect element?

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

ID: 3df1efbb-c6b2-a495-303d-7abf19c57f72
Version Independent ID: a5b5782f-7031-a989-5e42-dd3010e18893
Content: DevTools for Microsoft Teams tabs - Teams
Content Source: msteams-platform/tabs/how-to/developer-tools.md
Product: msteams
GitHub Login: @clearab
Microsoft Alias: anclear

@LalitAgrawala004 Currently it is not possible to access dev tools on iOS.

@Gousia-MSFT Are there any plans for this?
I am also facing some styling issues, only in IOS app, with my custom tab and am not able to inspect them.

@NischaiV Currently we do not have any plans for this.


Please make markuppy test dependency optional

We'd like to package tablib for Gentoo and run its test suite. However, it depends on MarkupPy right now, and this package is not really a good fit (last release in 2017, no tests, broken GitHub repository). Could you please consider making this test dependency optional?

#554 could be a way to avoid MarkupPy dependency. Opinions welcome.

markkuppy is no longer a dependency, see f3ef2e94b404


(#598) Improve rabbitmq clustering robustness

Without this patch, Puppet errors out when both sensu::rabbitmq_password, or
any of the sensu::rabbitmq_* parameters are specified along with
sensu::rabbitmq_cluster.  The error is:
Error: /Stage[main]/Sensu::Rabbitmq::Config/Sensu_rabbitmq_config[sensu-server.example.com]: Could not evaluate: no implicit conversion of String into Integer
/vagrant/lib/puppet/provider/sensu_rabbitmq_config/json.rb:137:in `[]'
/vagrant/lib/puppet/provider/sensu_rabbitmq_config/json.rb:137:in `password'

This patch addresses the problem by changing sensu::rabbitmq::config to ignore
sensu::rabbitmq_* class parameters when the cluster configuration is specified
via sensu::rabbitmq_cluster.
Resolves #598

Thanks @jeffmccune
Looks good. Please rebase for a clean merge.

Looks good. Please rebase for a clean merge.

Thanks!  Change has been rebased, Vagrantfile resolved and clean.

Merged some of your other work first and it caused a merge conflict. Could you please rebase again for me and I'll merge this next.

Will rebase shortly.

Rebased.

Released in v2.24.0

Thanks for fixing this! I can confirm that I can run puppet now without it failing. However, I did notice that puppet doesn't seem to manage the sensu-api service anymore with this change. I tried putting a
service { 'sensu-api':
    ensure => running,
}

block into my manifest, but then I got a duplicate resource declaration error. I even tried putting manage_services => true (although it is by default), and it still wont start the sensu-api service. I tried stopping the sensu-enterprise service, and puppet did restart it, so I think it's only ignoring the sensu-api service for some reason.

I believe the sensu-api service is not meant to run when using sensu-enterprise as it provides its own API service.

You're right. I figured out why I was running into issues and created a pull request to fix the problem:
https://github.com/sensu/sensu-puppet/pull/751

Thanks @csoleimani !


feat: Add JSONAPI support

Fixes #161, Fixes #257 and Fixes #272

[x] Add JSONAPI library and annotations
[x] Change attributes
[x] Change base URL
[x] Configure mappers
[x] Confirm model relationships and URL
[x] Test app
[x] Add migration

@niranjan94
I could not find event and attendee relationship, nor an issue for in in server repo?
Also, there is no way to get authenticated user's events right now?

Wasted a day making something work which was a library issue https://github.com/jasminb/jsonapi-converter/issues/105
Falling back to non JSONAPI solution to link ticket and event till it is solved

@mejariamol Please review

@mejariamol This is the nextgen API, developing for older API is mundane and a waste of time. Except for order API, everything is working fine. We were holding back because of new API wasn't ready. There is a lot to do with it now

@Shailesh351 @arp95 @rohanagarwal94 @shreyasnbhat Please review

@Shailesh351 @arp95 @rohanagarwal94 @shreyasnbhat @mahikaw
Guys, Please review it. All our PRs are carrying dependency on this.
Thanks
:smile:

@niranjan94 Please merge


Lutris wines can't open browser links with KIO Client

Describe the bug
Whenever an application running through a Lutris wine version tries to open a link, I get the following window:

But when I press continue, the link is not open.
This can also be reproduced by on Lutris doing "Open Bash terminal" and running wine winebrowser google.com
Steps To Reproduce

Run lutris. (NIXPKGS_ALLOW_UNFREE=1 nix-shell -p lutris --run lutris)
Go to wine > Manage versions and install a wine version if none installed already.
Go to main menu or select a game that runs with wine and to the right of the play button press the wine icon > open Bash terminal
In the new terminal run wine winebrowser google.com

Expected behavior
Should open links in my browser of choice.
Additional context
The error I get in the logs is this:
kf.config.core: Access to ' "/etc/profiles/per-user/yeshey/share/applications/vivaldi-stable.desktop" ' denied, not owned by root and executable flag not set.
kf.kio.core: Unable to open replacement file for "/etc/profiles/per-user/yeshey/share/applications/vivaldi-stable.desktop" "Existing file /etc/profiles/per-user/yeshey/share/applications/vivaldi-stable.desktop is not writable"

That file seems to be owned by root tho:
> ll /etc/profiles/per-user/yeshey/share/applications/vivaldi-stable.desktop
lrwxrwxrwx 2 root root 103 jan  1  1970 /etc/profiles/per-user/yeshey/share/applications/vivaldi-stable.desktop -> /nix/store/04vj57an335hw7wclgd33c93mikk8k58-home-manager-path/share/applications/vivaldi-stable.desktop

This might not be specific to lutris, or might be a common problem, I noticed the application heroic has this problem too, for example by opening heroic > Stores > Epic Store > Open in browser
(Also reported on the wine reddit)
Notify maintainers
@Madouura

Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.108, NixOS, 22.11 (Raccoon), 22.11.20230428.7449971`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `"nixos-22.11, nixpkgs-22.11"`
 - channels(yeshey): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

> nix-shell -p neofetch --run "neofetch"
          ▗▄▄▄       ▗▄▄▄▄    ▄▄▄▖            yeshey@nixOS-Laptop
          ▜███▙       ▜███▙  ▟███▛            -------------------
           ▜███▙       ▜███▙▟███▛             OS: NixOS 22.11.20230428.7449971 (Raccoon) x86_64
            ▜███▙       ▜██████▛              Host: LENOVO LNVNB161216
     ▟█████████████████▙ ▜████▛     ▟▙        Kernel: 5.15.108
    ▟███████████████████▙ ▜███▙    ▟██▙       Uptime: 4 hours, 36 mins
           ▄▄▄▄▖           ▜███▙  ▟███▛       Packages: 2114 (nix-system), 1930 (nix-user), 29 (flatpak)
          ▟███▛             ▜██▛ ▟███▛        Shell: bash 5.1.16
         ▟███▛               ▜▛ ▟███▛         Resolution: 1920x1080
▟███████████▛                  ▟██████████▙   DE: Plasma
▜██████████▛                  ▟███████████▛   WM: KWin
      ▟███▛ ▟▙               ▟███▛            Icons: breeze-dark [GTK2/3]
     ▟███▛ ▟██▙             ▟███▛             Terminal: .konsole-wrappe
    ▟███▛  ▜███▙           ▝▀▀▀▀              CPU: Intel i7-9750H (12) @ 4.500GHz
    ▜██▛    ▜███▙ ▜██████████████████▛        GPU: NVIDIA GeForce RTX 2060 Mobile
     ▜▛     ▟████▙ ▜████████████████▛         GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
           ▟██████▙       ▜███▙               Memory: 9081MiB / 15878MiB
          ▟███▛▜███▙       ▜███▙
         ▟███▛  ▜███▙       ▜███▙
         ▝▀▀▀    ▀▀▀▀▘       ▀▀▀▘

I get this everywhere. Any app that is sandboxed pretty much is blocked. VS Code links don't work. Heroic Launcher I can't log into games from. It's a mess. This issue is seriously bad and seems pretty much ignored. I went into chat asking for help with it and was ignored there on Element. I don't know what else to do. This is so frustrating.

Also have this error! Pls fix!

It seem like this error foes not accur with firefox as default browser. I only got it when brave was my default browser.

This error also happens in FHS VSCode, stopping it from opening the browser.

I was suffering from the same problem with Brave and took me ages to figure this one out but there is a workaround - the problem is caused by perms on the .dekstop file.
TLDR: copy your desktop file to ~/.local/share/applications, this should have the right perms and the URLs will start to work
Long explanation - I noticed that Firefox worked, but Brave did not. Looking at journalctl -f I saw errors about permissions

Depending on if Brave is installed for user or system wide, the location will differ. Find the location, follow the symlink and find the desktop files in the nix store
I compared Firefox and Brave desktop files to see that they indeed had different perms

you can now copy your Brave/Vivaldi desktop file to your home, adjust perms as necessary (I didn't need to) and fingers crossed it works!

I was suffering from the same problem with Brave and took me ages to figure this one out but there is a workaround - the problem is caused by perms on the .dekstop file. TLDR: copy your desktop file to ~/.local/share/applications, this should have the right perms and the URLs will start to work
Long explanation - I noticed that Firefox worked, but Brave did not. Looking at journalctl -f I saw errors about permissions  Depending on if Brave is installed for user or system wide, the location will differ. Find the location, follow the symlink and find the desktop files in the nix store I compared Firefox and Brave desktop files to see that they indeed had different perms   you can now copy your Brave/Vivaldi desktop file to your home, adjust perms as necessary (I didn't need to) and fingers crossed it works!

This is such a great idea @tomsjansons! I chose to try it like this, it also worked:
ln -s /run/current-system/sw/share/applications/* ~/.local/share/applications/

chown -hR [user]:users ~/.local/share/applications/*


Modularize polyfills

As far as I know, polyfill functions are repeated in each file they are needed, resulting in lot of duplicate code.
I suggest to optionally emit them as a module, so that they appear once in a bundled project.
E.g. instead of:
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};

var myclass= (function (_super) {
    __extends(myclass, _super);
    // ...

emit this:
var __extends = require("typescript-polyfills").extends;

var myclass= (function (_super) {
    __extends(myclass, _super);
    // ...

var __extends = require("typescript-polyfills").extends;

This assumes everyone is using the Common JS module loader.  What about those using an AMD loader, a SystemJS loader, etc?

oh that was just an example, I guess we could actually use the existing TypeScript capability of turning any import code into the chosen module loader. E.g. a sort of intermediate compilation with:
import { extends as __extends } from "typescript-polyfills";

var myclass= (function (_super) {
    __extends(myclass, _super);
    // ...

The basic idea here is to put polyfills into modules to save space. But perhaps that work might be delegated to the bundlers (webpack/browserify/etc...) by the use of a specific plugin.

Still doesn't deal with how the module will be resolvable...
Anyways a quick search shows that this is a dupe of #1350 which was discussed and the solution was #2901 (noEmitHelpers) flag.

thanks and sorry for the dupe--I always check but sometimes you don't know what terms to look for.

Also, for completeness, #3364 is delivering the helpers as a module for TS2.0 as per the roadmap.


add passlib to requirements

Metrics deployment needs passlib on the control host. Adding
passlib 1.7.1 to requirements.

Deployment with metrics works after rebuilding the pac-deployer container


WFLY-12351 Upgrade Weld core to 3.1.2.Final and Weld API to 3.1.SP1.

JIRA - https://issues.jboss.org/browse/WFLY-12351
Updates Weld to latest released version, both core and API.

The JDK 11 failure seems unrelated.

retest this please


fix #63 platform detection failure

Your image
keinos/sqlite3:latest

Current base image
alpine:latest

Overview

Image reference
keinos/sqlite3:3.47.0
keinos/sqlite3:latest

- digest
cdc9a2c3c976
87b78e9848d4

- tag
3.47.0
latest

- stream
latest

- provenance

https://github.com/KEINOS/Dockerfile_of_SQLite3/commit/b3dbd99c0de6d974105bc3f3372abeaa4af66fc0

- vulnerabilities

- platform
linux/amd64
linux/amd64

- size
9.7 MB
7.9 MB (-1.8 MB)

- packages
17
15 (-2)

Base Image
alpine:3also known as:• 3.20• 3.20.3• latest
alpine:latestalso known as:• 3• 3.21• 3.21.0

- vulnerabilities

Policies (0 improved, 0 worsened, 7 missing data)

Policy Name
keinos/sqlite3:3.47.0
keinos/sqlite3:latest
Change
Standing

Default non-root user
:white_check_mark:
:question: No data

No AGPL v3 licenses
:white_check_mark:
:question: No data

No fixable critical or high vulnerabilities
:white_check_mark:
:question: No data

No high-profile vulnerabilities
:white_check_mark:
:question: No data

No outdated base images
:warning:
:question: No data

No unapproved base images
:white_check_mark:
:question: No data

Supply chain attestations
:white_check_mark:
:question: No data

Packages and Vulnerabilities (18 package changes and 0 vulnerability changes)

:heavy_plus_sign: 1 packages added
:heavy_minus_sign: 3 packages removed
:infinity: 14 packages changed

Changes for packages of type apk (18 changes)

Package
Versionkeinos/sqlite3:3.47.0
Versionkeinos/sqlite3:latest

:infinity:
alpine-baselayout
3.6.5-r0
3.6.8-r0

:infinity:
alpine-baselayout-data
3.6.5-r0
3.6.8-r0

:infinity:
alpine-keys
2.4-r1
2.5-r0

:heavy_plus_sign:
alpine-release

3.21.0-r0

:infinity:
apk-tools
2.14.4-r1
2.14.6-r2

:infinity:
busybox
1.36.1-r29
1.37.0-r9

:infinity:
busybox-binsh
1.36.1-r29
1.37.0-r9

:heavy_minus_sign:
ca-certificates
20240705-r0

:infinity:
ca-certificates-bundle
20240705-r0
20241010-r0

:infinity:
libcrypto3
3.3.2-r1
3.3.2-r4

:infinity:
libssl3
3.3.2-r1
3.3.2-r4

:infinity:
musl
1.2.5-r0
1.2.5-r8

:infinity:
musl-utils
1.2.5-r0
1.2.5-r8

:heavy_minus_sign:
openssl
3.3.2-r1

:heavy_minus_sign:
pax-utils
1.3.7-r2

:infinity:
scanelf
1.3.7-r2
1.3.8-r1

:infinity:
ssl_client
1.36.1-r29
1.37.0-r9

:infinity:
zlib
1.3.1-r1
1.3.1-r2


Polymorphic type mapping failing to include stringJsonAdapter

Hi, I just started trying the library, so I apologize if I missed a step somewhere. The following code is producing an adapter that does not compile:
@Json
@Json.SubType(type = MoveAccuracy.Unavoidable.class, name="UNAVOIDABLE")
@Json.SubType(type = MoveAccuracy.Avoidable.class, name="AVOIDABLE")
public sealed interface MoveAccuracy {
    record Unavoidable() implements MoveAccuracy {}
    record Avoidable(int percentToHit) implements MoveAccuracy {}
}

The error is symbol:   variable stringJsonAdapter in MoveAccuracyJsonAdapter. Here's the generated class:
@Generated
public final class MoveAccuracyJsonAdapter implements JsonAdapter<MoveAccuracy> {

  // naming convention Match
  // percentToHit [int] name:percentToHit ERROR?? no constructor, setter and not a public field? subTypes [com.pwinckles.cassette.common.model.MoveAccuracy.Avoidable]

  private final JsonAdapter<Integer> pintJsonAdapter;
  private final PropertyNames names;

  public MoveAccuracyJsonAdapter(Jsonb jsonb) {
    this.pintJsonAdapter = jsonb.adapter(Integer.TYPE);
    this.names = jsonb.properties("@type", "percentToHit");
  }

  @Override
  public void toJson(JsonWriter writer, MoveAccuracy moveAccuracy) {
    writer.beginObject(names);
    if (moveAccuracy instanceof final MoveAccuracy.Unavoidable sub) {
      writer.name(0);
      stringJsonAdapter.toJson(writer, "UNAVOIDABLE");
    }
    else if (moveAccuracy instanceof final MoveAccuracy.Avoidable sub) {
      writer.name(0);
      stringJsonAdapter.toJson(writer, "AVOIDABLE");
      writer.name(1);
      pintJsonAdapter.toJson(writer, sub.percentToHit());
    }
    writer.endObject();
  }

  @Override
  public MoveAccuracy fromJson(JsonReader reader) {
    // variables to read json values into, constructor params don't need _set$ flags
    int        _val$percentToHit = 0; boolean _set$percentToHit = false;

    String type = null;

    // read json
    reader.beginObject(names);
    while (reader.hasNextField()) {
      final String fieldName = reader.nextField();
      switch (fieldName) {
        case "@type":
          type = stringJsonAdapter.fromJson(reader);
          break;
        case "percentToHit":
          _val$percentToHit = pintJsonAdapter.fromJson(reader);
          _set$percentToHit = true;
          break;

        default:
          reader.unmappedField(fieldName);
          reader.skipValue();
      }
    }
    reader.endObject();

    if (type == null) {
      throw new IllegalStateException("Missing Required @type property that determines deserialization type");
    }
    if ("UNAVOIDABLE".equals(type)) {
      MoveAccuracy.Unavoidable _$unavoidable = new MoveAccuracy.Unavoidable();
      return _$unavoidable;
    }
    if ("AVOIDABLE".equals(type)) {
      MoveAccuracy.Avoidable _$avoidable = new MoveAccuracy.Avoidable(_val$percentToHit);
      return _$avoidable;
    }
    throw new IllegalStateException("Unknown value for @type property " + type);
  }
}

To my eye, this code looks correct, except that it's missing a private final JsonAdapter<String> stringJsonAdapter field.
I get the same error in 1.5 and 1.6-RC4.

nice catch, it seems this part was overlooked. While I'm fixing it, you can add a string field to one of the types and it'll work.

Fixed in version 1.6-RC5 which I am releasing now.
I'm keen to add support for #109 and then release 1.6


allow excluding sectors from rendering

resolves https://github.com/personality-insights/sunburst-chart/issues/2

Thanks

@germanattanasio this might actually be a breaking change as it currently sits.  The variable profile is assigned the object passed in from the caller, so by setting profile.children, the caller's object has now been modified.  I think the profile object will need to be copied so that it is not modified.


The column targetYearOfPublication does no longer show conflicting dates strings such as "2013 or 2014"

We integrate data about translations from different sources. In certain cases different translations that are identified as the same via a common ISBN identifier have conflicting dates. We query the date of each data source with SPARQL and show it in separate columns (targetYearOfPublicationKBR, targetYearOfPublicationBnF, etc). A postprocessing with Python creates a new general column that -- if there is a date mismatch -- contains a string such as 2013 or 2014 => targetYearOfPublication.
For cases where the translation editions really are the same and simply one of the dates is wrong, we added the possibility to signal the correct year via our translation correlation list (https://github.com/kbrbe/beltrans-data-integration/issues/201). In short: the SPARQL query to create the Excel takes the year of the integrated RDF record for each data source if there is one, otherwise take the individual years.
However, for analytical purposes we also wanted to add the year of publication to all integrated RDF data records (and thus not only via postprocessing step to the Excel or via correlation list) https://github.com/kbrbe/beltrans-data-integration/issues/245
This resulted in a double post processing where we first add years to the integrated records (including conflicting strings such as 2013 or 2014) and then take those years instead of the individual years. The second post-processing then is confronted with invalid date values (containing "or") and hence no date is shown at all!
There was the wrong assumption that if there is a year in the integrated data record, it must come from the manual curation list. Unfortunately it also came in bulk for all data via the new integration step that added years of publication to all integrated records.
To fix this, we have to adapt the postprocessing step to ignore the dates, as they are already processed and consolidated during integration.

fixed in https://github.com/kbrbe/beltrans-data-integration/commit/a1a79e799b07a2e0566ec9f268d1eab5810a2c61


Date picker improvements

Change disabled date inputs type
Changed inputs date inputs type from date to text, for consistent value formatting across different browsers. These inputs are always disabled anyway.

Updated mobile layout to match the designer's vision
Before:

After:

Could you also disable "Build demo" GH Action? Looks like it is trying to deploy to original GitHub pages


Results set value viewer doesn't get updated in some cases

System information:
Windows 7 (64-bit) Build 7601 (Service Pack 1)
DBeaver <IP_ADDRESS>002011957
Connection specification:
PostgreSQL 10.10
PostgreSQL JDBC Driver 42.2.9
Describe the problem you're observing:
When I consistently call 2 SQLs with the equal result sets (means the same set of columns), the content of Results set value viewer doesn't update the value after the 2nd SQL executed, the value of 1st SQL remains.
It refreshs the value after forced click on any value in the Grid.

thanks for the bug report

Fixed

verified


Keep a consistent approach using locale in lang tag

Update docs and scaffolding  to use same approach for setting locale in lang tag.

Thank you :)


Roll engine 74e68ff8b..58fbd1fd1d13 (14 commits)

Also fix the paragraph test.
https://github.com/flutter/engine/compare/74e68ff8...58fbd1fd1d13
git log 74662ab69523..58fbd1fd1d13 --no-merges --oneline
58fbd1fd1 Roll src/third_party/skia 4442e3138927..7b7805581733 (1 commits) (flutter/engine#6435)
83151d9fc Roll src/third_party/skia 4dd17156c6e4..4442e3138927 (1 commits) (flutter/engine#6434)
5fe7e377d Roll src/third_party/skia 8841085abeb9..4dd17156c6e4 (1 commits) (flutter/engine#6432)
5340f4224 Revert "Use single_root_scheme when compiling platform (#6402)" (flutter/engine#6431)
37fd43d43 Add deadline_now_delta argument to Engine::NotifyIdle's trace (flutter/engine#6419)
4af077b29 Roll src/third_party/skia 4504a652c071..8841085abeb9 (1 commits) (flutter/engine#6429)
165f3dd1c Update //third_party/benchmark dependency to 21f1eb (ToT). (flutter/engine#6427)
34bd0ef87 Don’t build benchmarking binaries on Windows. (flutter/engine#6428)
ae4db4469 Ensure setViewIdResourceName has the correct version guard (flutter/engine#6404)
2c5d0c407 [rapidjson] Fix import statements (flutter/engine#6418)
c2128fc80 Create a benchmarking target for the shell. (flutter/engine#6420)
30f78af91 Raise errors on non-zero exits while creating artifacts on the bots. (flutter/engine#6424)
191168cec Disable line_height tests on Windows (flutter/engine#6423)
061cc6643 Fix ideographic baseline to match spec. (flutter/engine#6422)

LGTM

Other manual roll has landed.