Try out "Voxelus"?

https://www.voxelus.com - looks like a voxel engine with VR support, some overlap with this project, but what is exactly, how does it compare? Worth a try at least to see if it is promising (why are they selling "voxels"?)

https://web.archive.org/web/20171106183157/https://www.voxelus.com/

Back in 2017 (started in 2016), this appeared to be a new interesting voxel engine.
In 2019 https://web.archive.org/web/20190628020959/https://www.voxelus.com/ they rebranded:

Voxelus gets rebranded to RevolutionVR

The Company Behind Voxelus.com and Cryptocurrency Voxels (VOX) Rebrands to Address Bolder Vision and Broader Opportunity in Cloud VR Gaming, Developing New Game to Showcase Infrastructure.

2020 https://web.archive.org/web/20200204054914/http://www.voxelus.com/ shows "Error. Page cannot be displayed. Please contact your service provider for more details. (18)"
2021 now they appear to be a crypto news site?

Nothing to see here, moving along


[AutoDiff] Major cleanup of FloatingPointDifferentiation.swift.gyb

Add missing derivatives of protocol methods and enforce consistent code style.
Partially resolves SR-15796.

Blocked by SR-15793 (breaks FloatingPoint.addProduct). Also, some functions will not be implemented until https://github.com/apple/swift/pull/40986 is resolved.

I tried rebasing my commits to override the pull request's commit history, but it didn't work. I'd rather not bloat Swift's pull request history with a history of pull request attempts. Should I proceed with the PR I have here?

CC: @rxwei who is best suited to review so many changes?

SR-15794

I’m closing this because S4TF doesn’t need these functions. All it needs is the Builtin.applyDerivative_arityX style functions to create a pullback, like what enables my Differentiation package.
Also, I think it could be brought up in a better way. Perhaps tackle the issue of unexplained @_transparent modifiers in one PR, the incorrect derivative in another, and the refactoring in a third.
Please, anyone use the tests I drafted for reference in a future pull request. I am not going to delete this branch on my fork, so you can merge my commits to a local branch and build off of them.


Move ownership to Skatteetaten GitHub

This repository is docker base image of terraform-nomad-hive
@fredrikhgrelland You might need to transfer ownership to Skatteetaten

@fredrikhgrelland Any update on this?

This repo needs a review and cleanup before moving


403 Forbidden From Atlas for v2.0.14

Getting the following when trying to download the box
default: Loading metadata for box 'boxcutter/ubuntu1404'
    default: URL: https://atlas.hashicorp.com/boxcutter/ubuntu1404
==> default: Adding box 'boxcutter/ubuntu1404' (v2.0.14) for provider: vmware_desktop
    default: Downloading: https://atlas.hashicorp.com/boxcutter/boxes/ubuntu1404/versions/2.0.14/providers/vmware_desktop.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 403 Forbidden

As a work-around, you can use vagrant box add --box-version 2.0.13 boxcutter/ubuntu1404 to download the prior version. Use config.vm.box_version and config.vm.box_check_update to tweak Vagrant's actions to suit.
Yes, even the atlas says the box file for VMware is unavailable. :thumbsdown:

Any plans to bring back vmware_desktop box support?
It seems that boxcutter/ubuntu1510 also is missing for VMware.

Ubuntu 15.10 is now EOL


Add DiscussionCommentEvent

Hi, I have created Disscussion Comment event as per the Github API docs. Please review and suggest necessary changes. Thanks.

@gmlewis I done the requested changes, do let me know if further changes are required. Thanks.


document what "job_name" is

The docs just say to supply the "job_name" and this causes some confusion:
Imagine this workflow:
name: Test Something
on:
  workflow_dispatch:

jobs:
  build:
    name: Test that this build Works
    runs-on: ubuntu-latest
    steps:
      - name: Show the context
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
        run: |
          echo "$GITHUB_CONTEXT"

The "job_name" must be " Test that this build Work" which comes from jobs.build.name in the yaml and not "build" itself, which in the context is github.job. There is nothing in the context to supply the job_name in this case.
I haven't tried it but I suspect github.job can be used if there is no name field in the job entry in the yaml.

Hi @leemeador, Thanks for pointing it out.
It looks like github.job was added at some point.
https://stackoverflow.com/questions/61611978/get-current-job-name-in-github-actions-workflow
How about this? https://github.com/Tiryoh/gha-jobid-action/pull/23
preview url: https://github.com/Tiryoh/gha-jobid-action/tree/feature/update-readme

Merged #23.
If you have further comments, please re-open this issue.


About Datasets

For the MatterPort dataset, there are 1TB files on the official website. I don't know which parts I need to download to complete this; For the 3D60 data set, there are also hundreds of GB; For PanoSUNCG, the official website did not provide a download link, and the author did not reply; For standfor2D3D, the official website maintenance also cannot obtain data sets. I wonder if you can share the dataset, thank you!

Same question!I want to ask for relevant data sets, I long for help, thank you very much!


[ci] [R-package] upgrade to R 4.0.4 in CI

R Windows CI jobs are currently failing on master (logs) and #4027 (logs) with the following:
* checking whether package 'lightgbm' can be installed ... WARNING

Found the following significant warnings:

  Warning: package 'R6' was built under R version 4.0.4

See 'C:/tmp-r-cmd-check/lightgbm.Rcheck/00install.out' for details.

Status: 1 WARNING

There has not been a release of {R6} since October 2020 (https://cran.r-project.org/web/packages/R6/index.html), but CRAN does create new package binaries when a new version of R is released. R version 4.0.4 was released about two weeks ago: https://twitter.com/pdalgd/status/1361246911378960391, but right now LightGBM's CI uses 4.0.3.
This PR proposes resolving the warning by updating R to 4.0.4.
Notes for Reviewers
I did look into whether this warning could be disabled in R CMD CHECK with an environment variable, and it doesn't look like it.

https://github.com/wch/r-source/blob/613bdfd0e1d3fc9984142d5da3da448adf2438c7/src/library/base/R/library.R#L321
https://github.com/wch/r-source/blob/613bdfd0e1d3fc9984142d5da3da448adf2438c7/src/library/base/R/library.R#L119-L122

Linking to #3763

Thanks a lot for the prompt fix!


Fixes Issue/242 - CPID Stuck on INVESTOR Due to invalid BOINC Data Path Detection

This still needs testing and may need some extra work to get it up to standards but it's the start of a fix for the BOINC data path issue.

Why create a full class with constructor and multiple methods when a simple function would be sufficient?

@tonemackay Yes, this can be condensed down to just a function. A couple of notes:

I tried it in Win10 and it seems to just get the first character of the value in the registry. Possibly a unicode issue.
We can probably move the contents of GetBoincDataDir2 into this new function and remove the old one alltogether.
Add boinc.cpp to gridcoinresearch.pro the makefiles under src/. I'll try to make this less cumbersome.

My reasoning was so that the call to the registry etc only happens once and therefore multiple calls to GetBoincDataPath are cheap but I'm sure how often it's called.
The DefaultBoincDataPathExists function was leftover from some testing I was doing and can be removed.
Maybe you are right and it's overkill especially if the function is only called once and should just go into main?

@tonemackay Keep the code in boinc.cpp. I want to move as much of the Gridcoin code out of main.cpp to organize things. I'' try to do an additional test this evening.

Does anyone (@tomasbrod?) have an easy solution for the wstring->string issue? Otherwise we will merge this now and make all the file operations unicode later.

I dont @denravonska

for the record on github, i suggested in IRC to maybe make the whole thing UTF-8 as described in a stackoverflow thread.

@Peppernrino thanks for the link you posted in IRC. The issue I'm having is the function call to the Windows registry returns wstring and converting it to a normal string is a bitch.
@denravonska I've tried using WideCharToMultiByte and also tried boost local but both methods don't seem to work. The boost filesystem exists function returns false.

Maybe note and disregard that users can install to different drives and paths. A Win scenario is primary drive C is low on spare capacity so users path to a second drive (mapped or direct). They can create their own installation folder then install to that. They can do this for BOINC and Gridcoin for both data and applications. Considering the frequency of this scenario is low, go round it maybe but note it and caveat for it (about Gridcoin>'this is test software' or Gridcoin EULA (End User License Agreement) https://www.eff.org/wp/dangerous-terms-users-guide-eulas.

@denravonska http://stackoverflow.com/questions/4358870/convert-wstring-to-string-encoded-in-utf-8


Question about SwinUNETR

https://github.com/Project-MONAI/MONAI/blob/ab800d8413df5680161ea00fb3d6c1a7aa8dd04b/monai/networks/nets/swin_unetr.py#L304
Why isn't a encoder layer after hidden_states_out[3] like the other hidden outputs?

Hi @chaoscls , thanks for the interests of the work. The hidden out 3 is a design option, the goal is to keep 4 times of downsampling to avoid the model to be too large and complex. You could freely reformat the hidden to 5 times downsamples and connect all hidden layers to skip connection and outputs. That will increase the # of parameter by a bit. From our observation, the difference is minimal. Thank you.


live <= main

Docs Build status updates of commit a539552:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.github/workflows/wrong-pr-target.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Supporting Google OAuth2

What is the recommended way to support Google's OAuth2 implementation. Google requires scope and has many additional parameters.  As an example:
https://accounts.google.com/o/oauth2/v2/auth?
 scope=https%3A//www.googleapis.com/auth/drive.metadata.readonly&
 access_type=offline&
 include_granted_scopes=true&
 response_type=code&
 state=state_parameter_passthrough_value&
 redirect_uri=https%3A//oauth2.example.com/code&
 client_id=client_id

I think most of the parameters are standard OAuth2 parameters, which will be set automatically.
But you are right, some of them (like scope) and arbitrary custom parameter can currently not be set. I think it would make sense to amend this though. Would be you able to come up with a PR?

Actually you can set scopes, I was looking in the wrong location :facepalm: …
https://github.com/ctron/yew-oauth2/blob/49d35734a8ac153e360e9c17c79778b06ad51ea6/src/components/context.rs#L18
For the other parameters, it might make sense to either amend the Config structure. Or, if they are more generic, add them to the component properties too.

Yeah I use the scopes prop to pass. I will create a PR for rest. Maybe good approach would be to add any common oauth ones to config and maybe the rest as a new property called params or something?

I'm encountered a similar problem when working with Discords OAuth2, where there is a query option prompt=none which requires the user to allow app permission only once. This works fine for login purposes as we can just use start_login_opts(...), but this doesnt work when there is an redirect because of unauthenticated state.
I was able to cover this problem locally by introducing LoginOptions as property of the OAuth2 struct like this:
`    let mut hashmap = HashMap::new();
hashmap.insert("prompt".to_string(), "none".to_string());
let options = LoginOptions { query: hashmap };
html!(
    <>
    <OAuth2 {config} {scopes} {options}>

...`
I can provide a PR with the changes made, if that way looks fine.

As PR #9 is merged and released, can we close this issue?


Can't configure the url to go to after clicking the notification

Hi @zenopopovici and thanks for your work.
It seems like the url we can configure using:
var $buoop = {
  [...]
        url: null,         // the url to go to after clicking the notification
  [...]
};

is always overridden by whatbrowser.org here (in browser-update.js, lines 18 & 19):
var burl = "//whatbrowser.org";
op.url = burl;

When commenting out these lines, my own target url defined in $buoop is used, if not, the user is always redirected to whatbrowser.org...
Is this on purpose?

@hisem No :). I'll look into it. I'm just maintaining this but not actualy using it.

@zenopopovici Haha ok, no worries, thanks for your time if you get around to fixing it. I just extracted the .js file and made it fit my needs for this project, so there's no rush.
Do you use some alternative for this now? I looked into outdatedbrowser.com but it only seems to handle outdated IE browsers, and is not very customisable.

@hisem Not really. http://outdatedbrowser.com when needed.  Don't really know why they've done it like that.
Isse fixed.

@zenopopovici Awesome, that was quick, thanks! Will check it out tomorrow.


Feature: Retrieve Safe Apps only guaranteed to work on the current client

What it solves
Resolves #2672 where apps limited access to embedding it as an iframe to specific origins
How this PR fixes it
So now, for GET /safe-apps, there's a clientUrl param available on the client gateway and config service. It takes a hostname with a protocol, and the returned apps are ensured to work on this client.
How to test it
Will update in a sec

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
23 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.01%) to 32.42%

Files with Coverage Reduction
New Missed Lines
%

src/routes/safe/components/Transactions/TxList/TxSummary.tsx
2
3.03%

src/routes/safe/components/Transactions/TxList/TxCollapsedActions.tsx
4
9.52%

src/routes/safe/components/Transactions/TxList/TxExpandedActions.tsx
5
4.35%

src/logic/safe/store/actions/processTransaction.ts
12
1.2%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
3113

Relevant Lines:
8553

💛  - Coveralls

https://user-images.githubusercontent.com/16622558/149530675-a9591b72-ca93-46d9-acd4-8272a04ed0cf.mov
The issue reported by @JagoFigueroa  in the original issue was because the build used prod backend where correct accessControls are not set yet. When using staging endpoints it works perfectly (check video)

Thank you @mikheevm ! I think it's more than fair to close this ticket then ;)


Clearing State Between Views

Howdy.
This is more of a general Flux question, but being incredibly interested and impressed with Redux I wanted to see how all of you approached the situation, since I've been wavering on it for a while.
Flux and Redux implementations are both incredibly clear to me when you have state that persists across your entire application - Facebook commonly cites the canonical Todo app or FB chat in their examples. But what do you do when you have disparate views that require entirely new sets of data? By that I mean: what is the best way to discard of the unused data that still lives inside of other stores/reducers.
Creating a global "reset" action seems like a poor (albeit easy) way of doing this, but it severely hampers the ability to create reducers that reliably persist (or don't) between views. Or do you instead have the component/route responsible for triggering the initial load action also trigger an action to clear it? Thinking about it the latter option seems the most intuitive to me, but hopefully somebody more well-versed than me can speak on the issue. Maybe it's just that simple and I'm overthinking it.
If anybody has any recommendations or could point me to some documentation I'd greatly appreciate it. Almost all of the Flux examples I've found implement fairly trivial applications, so I'm still left wondering how reducers are managed in the context of a larger application.
Thanks :)

Or do you instead have the component/route responsible for triggering the initial load action also trigger an action to clear it?

This is how I'd do it.

Good enough for me, thanks.

Do you recommend this be done from componentWillUnmount? I've also seen "resetting the state" be done at the top of the action that sets the state.


🐛 BUG: Unable to View Real-time Logs from Cloudflare Pages via Wrangler

Which Cloudflare product(s) does this pertain to?
Pages, Wrangler core
What version(s) of the tool(s) are you using?
3.23.0
What version of Node are you using?
v20.10.0
What operating system are you using?
Windows 11
Describe the Bug

I attempted to view the Real-time Logs for my SvelteKit page deployed on Cloudflare Pages by executing the following command on my PC:

wrangler pages deployment tail 1927c4ba-d66c-4a71-8343-4a7c8045d265

Then, I selected the target project:

kit-ecsite

Until last week, the console.log outputs from within the project were displayed here, but now nothing appears.

After about 30 seconds, it results in the error stated in Please provide any relevant error logs.

Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
PS C:\repository\kit-ecsite> wrangler pages deployment tail 1927c4ba-d66c-4a71-8343-4a7c8045d265
Debugger attached.
Debugger attached.
 ⛅ wrangler 3.23.0
-------------------
Select a project:
> kit-ecsite
  test
  task-schedule
  cloudflare-memo
  kit-d1-proxy
  cloudflare-test

X [ERROR] A request to the Cloudflare API (/accounts/1f60a750acc192ddfcb4077542357b40/pages/projects/kit-ecsite/deployments/1927c4ba-d66c-4a71-8343-4a7c8045d265/tails) failed.

  An unknown error occured. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH.
  [code: 8000000]

  If you think this is a bug, please open an issue at:
  https://github.com/cloudflare/workers-sdk/issues/new/choose

Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...

This is happening for me as well. Both the wrangler and dashboard log streaming fail to work.

Same issue here

I believe this was due to https://www.cloudflarestatus.com/incidents/dr8pkxg4qztl and should now be fixed.

Thanks @Cherry! I'll close this out for now, but @okamototomoyuki feel free to open a new issue if the problem persists


Question: How exactly do I use?

Hello, I stumbled upon this project while looking for a way to sync my secrets from AWS Secrets Manager to my application server. Originally we are using dotenv (.env) with nodejs to set the secrets for the app. We're looking to move to AWS Secrets Manger to host the secrets and then import them into the application server into a dotenv file. How can I achieve this with teller?

Hi @arukaen, Teller actually make .env redundant, and your environment cleaner (you won't have files with secrets sprawling around). Just configure your secret providers as you wish (in your case Secrets Manager) and then run your server:
$ teller run bin/your-server

This command fetches the relevant secrets and injects them into bin/your-server's environment, essentially doing what .env is doing behind the scenes.
If you would still like to avoid changing your code, you can use Teller as an intermediary, so the process would be:

Run Teller and export a .env file
Run your server and have it pick up the generated file

$ teller env > .env
$ bin/your-server

@arukaen can we close this one?


Rotation angle doesn't display after I change its value

Affected Version: Standalone, Remote
Steps to reproduce:

Draw a structure on the canvas
Navigate to Display Settings and change Rotation Step value
Rotate the structure

Expected result: When I rotate, the rotation angle is displayed in a pop-up in upper right corner of the canvas:

Actual result: The rotation angle is not displayed unless I reload the page after changing settings.

Issue is closed as fixed


Load image assets progressively using thumbnails or show a placeholder while they're loading

An alternate name might be Show placeholder land / estates with grey boxes and a placeholder name while the real ones load
Image from React Native Elements could help with this https://react-native-training.github.io/react-native-elements/docs/image.html


Refs #33245 -- Minor edits to django.utils.html.urlize() changes.

A few minor changes following review by @ngnpope on the original PR.

@tim-mccurrach Thanks :+1:


Accept PayPal Donations on webpack.js.org

Why doesn't webpack.js.org also accept donations via PayPal?:
https://opencollective.com/webpack/donate
Donation pages should conform to the convenience the donator. There's no telling how many people have not followed through with their intention of donating simply because they didn't immediately see a PayPal option.
Having to setup an account with another 3rd party (while one already has a relationship with paypal) certainly hinders some donations. Since providing a PayPal donation link is easy; it seem like you'd provide a PayPal option alongside the preferred option that is currently showcased.

There is an paypal option on opencollecti ve

@sokra That's good; they should showcase that prominently, because I don't see a paypal logo here among the other logos showcased.
Even still, every additional step required to make a donation will reduce the number of donations completed. Online marketers are familiar with this concept. If someone has a paypal account, they are accustom to making donations in 2 steps and do not enjoy going through yet another 3rd party to accomplish that.
I say continue making OpenCollective the default option, but you'll be surprised on how many additional donations a direct paypal link (that circumvents 3rd party sign up) will bring.

@Lonniebiz These are our sponsors, not a donation methods, sorry we cannot just accept money because it is taxed, so we use open collective https://opencollective.com/webpack, we made it as simple as possible

@evilebottnawi Oh, I see. I thought that was some list of payment methods accepted by OpenCollective.
However, this misconception is beside my point that "less steps equal more donations". I think you're losing some donations without a direct paypal button. Maybe it is worth it. Not my call.

In my opinion, the best way to do it is to have a bullet list of accepted donation methods. This way, the donator is one click away from doing the method they prefer (without creating an account somewhere else first).

But there we can get a tax problem :disappointed: I think open collective repo it is the best places for asking UX improvements, but yes, maybe we should improve this on our site too

Interesting. For some reason I thought webpack was a non-profit organization and didn't realize there were any taxes on charitable donations. Maybe, I think know things, but I don't :)


fix - RegisterPropertyChangedEvent property missing

When we use UIA2 and try to register property change event ,property is missing.
I have added the missed parameter.

Thanks for your contribution. Guess I missed that.


issue in stockprice.py

On running the command:
python stockprice.py -s TSLA --debug
I got this error. Please help me to solve this one:
2019-05-09 11:41:25,510 [INFO][stocksight] Adding stock data to Elasticsearch...
2019-05-09 11:41:25,562 [WARNING][elasticsearch] POST http://localhost:9200/stocksight/stock [status:400 request:0.048s]
2019-05-09 11:41:25,566 [DEBUG][elasticsearch] > {"symbol": "TSLA", "price_last":<PHONE_NUMBER>0683594, "date": "2019-05-09T06:11:25", "change": 0.01634246728233062, "price_high":<PHONE_NUMBER>7402344, "price_low":<PHONE_NUMBER>7070312, "vol": 97861}
2019-05-09 11:41:25,570 [DEBUG][elasticsearch] < {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [stocksight] as the final mapping would have more than 1 type: [tweet, stock]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [stocksight] as the final mapping would have more than 1 type: [tweet, stock]"},"status":400}
2019-05-09 11:41:25,574 [ERROR][stocksight] Exception: can't get stock data, trying again later, reason is TransportError(400, 'illegal_argument_exception', 'Rejecting mapping update to [stocksight] as the final mapping would have more than 1 type: [tweet, stock]')
2019-05-09 11:41:25,574 [INFO][stocksight] Will get stock data again in 120 sec...

I think you are using Elasticsearch 6, stocksight requires ES 5.6.x

will  Elasticsearch 7 not work with the project?

Can you please take some time to explain how to completely run your project from the beginning. That would help a lot. I read the Radme file but still got many errors.

i think the stockprice.py yahoo finance is discontinued and it needs to be updated

@niraj97 I just tested with python2.7 and python3.6 and stockprice.py works.. what error do you get? Are you using ES 5.6.x?

Great work @shirosaidev.
I forked this repo and it works with 7.2 https://github.com/entrpn/stocksight if anyone needs it.

@entrpn always looking for contributors, please consider putting your new features/changes back into the project with PR.


Ticket #35831 Include ModelForm and its Meta options in reference docs

Trac ticket number

ticket-35831
Branch description
Created reference entry for ModelForm's inner Meta class. Added a link target to the ModelForm topic entry.
As noted on the ticket, make produces a warning since I haven't added this to any toctrees (I wasn't sure if I could make the call to move things around in the docs since the best place to put this has already been taking by a different reference entry)
Checklist

[X] This PR targets the main branch.
[X] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[X] I have checked the "Has patch" ticket flag in the Trac system.
[X] I have added or updated relevant tests.
[X] I have added or updated relevant docs, including release notes if applicable.
[X] I have attached screenshots in both light and dark modes for any UI changes.

@cliff688 I've made the changes and combined this reference entry with the one on ModelForm factory functions!

Concerning your CI failure, please set up pre-commit.

@cliff688 CI passes now and changes have been applied!

If you want this to appear on maintainers' queue, you have to uncheck patch needs improvement in Trac.


fix: wrong youtube iframe height

Related:
/
Description:
The iframe height was set to 1000% instead of 100% wich resulted in a cropped and pixelated preview image.
Ready?
yes
Anything Else?
/
Review Process:
/

Oh, well thanks for the hint.
Yep when setting a poster source the media-poster element is correctly created.
For my use case i will fetch the youtube video thumbnail as fallback then.
Maybe its worth to implement from vidstack by default
https://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api
Best regards

No source is required when using the YouTube provider, the poster should work as expected. The above examples assume you're using the Default Theme and you've applied the vds-poster class.

Im using the normal js api so i can progressively enhance the browsers video element or in this case iframe.
When the player is created form the iframe the aspect ratio gets set to unset. And the element will be just 150px in height.
If the media-players aspect ratio is set to 16 / 9 via css with !important the preview image is pixelated and cropped.
Here is a repro link: https://stackblitz.com/edit/vitejs-vite-m2eptd?file=main.js
PS: i tried to include the web components element as reference but i somehow couldn't get it working.


Fe assessment 3 files added

drift

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
0

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

The commit message's format must be proper
Work on the directory structure
Use separate files for the interfaces, constants, etc.
Modularize the code
Format the code properly
Store all the string constants in the different file
The snackbar message should be proper


g does not expand hamburger menu on todoist small-screen mode (951/952?)

Not sure how new this is, and tbh not sure if I prefer it this way or not (!), but the g key doesn't expand the collapsed section navigation menu in narrow app mode, which I'm sure it did before. The nav shortcuts themselves do still work though.

Good catch!  Looks like a change in the todoist CSS.  I've uploaded a new version with a fix to this issue.


sort_file: Preserve permission bits

isort 4 would overwrite the old file in place, so its permission bits would not be modified.  But as of commit 1920a6c47796bec4ddc2141dbaece6b44a93834e or so, isort instead writes a new file with default permission bits and renames it into place.  So we now need to explicitly copy the permission bits.
Fixes #1194.

This looks great! Thanks for catching and fixing this!


Add config option to ignore Pulseaudio Sinks

This adds a new config option, ignored-sinks, for the Pulseaudio module, which can be used to stop certain sinks (in my case the EasyEffects sink) from appearing. This is needed as these sinks are always running, and so hijack the volume indicator in the bar.
Example config:
"pulseaudio": {
    "ignored-sinks": ["EasyEffects Sink"]
}

Nice, can you add this feature to the man?

Sure, done. I'd also be happy to add an entry to the wiki once this is merged.

Hi @Alexays - I've rebased this against master. Is there anything else blocking this being merged?

Would love to start using this @Alexays!

@Alexays Please accept this fix, people have been waiting for it for a long time.
https://github.com/Alexays/Waybar/issues/1347
https://github.com/Alexays/Waybar/issues/1415

Sorry for the delay, done :)

Can you update the github wiki @IsaacWoods?

Sure :)


e131_get_option returns the opposite of what was set using e131_set_option

Hello,
Not sure if this is a known bug (or an user error :(), but, when compiling from a fresh clone of the master branch,  e131_get_option() seems to return the opposite of what was previously set using e131_set_option().
If it isn't caused by an EBKAC, I think the problem seems to lie in this if statement condition of e131_get_option():
bool e131_get_option(const e131_packet_t *packet, const e131_option_t option) {
  if (packet == NULL || packet->frame.options & (1 << (option % 8)))
    return false;
  return true;
}

If the relevant bit is set this statement:
packet->frame.options & (1 << (option % 8))

Evaluates to true, which causes the
return false

statement to be executed.
Was going to put in a pull request with a fix, but I just wanted to make sure I was using it correctly.
Thanks for giving this a look through.
I ran this little snippet to test:
#include <e131.h>
#include <string.h>
#include <stdlib.h>

int main(int argc, char** argv) {
    e131_packet_t packet;
    e131_pkt_init(&packet, 1, 1);
    e131_set_option(&packet, E131_OPT_TERMINATED, 1);

    printf("------------Dumping packet to stdout--------------\n");
    e131_pkt_dump(stdout, &packet);
    printf("----------------End packet dump-------------------\n");
    printf("Set E131_OPT_TERMINATED, but result of the get_option function is:"
           " %d\n", e131_get_option(&packet, E131_OPT_TERMINATED));

    e131_set_option(&packet, E131_OPT_PREVIEW, 1);
    printf("------------Dumping packet to stdout--------------\n");
    e131_pkt_dump(stdout, &packet);
    printf("----------------End packet dump-------------------\n");
    printf("Set E131_OPT_PREVIEW, but result of the get_option function is:"
           " %d\n", e131_get_option(&packet, E131_OPT_PREVIEW));

    e131_set_option(&packet, E131_OPT_TERMINATED, 0);
    printf("------------Dumping packet to stdout--------------\n");
    e131_pkt_dump(stdout, &packet);
    printf("----------------End packet dump-------------------\n");
    printf("Cleared E131_OPT_TERMINATED, but result of the get_option function"
           " is: %d\n", e131_get_option(&packet, E131_OPT_TERMINATED));

    e131_set_option(&packet, E131_OPT_PREVIEW, 0);
    printf("------------Dumping packet to stdout--------------\n");
    e131_pkt_dump(stdout, &packet);
    printf("----------------End packet dump-------------------\n");
    printf("Cleared E131_OPT_PREVIEW, but result of the get_option function"
           " is: %d\n", e131_get_option(&packet, E131_OPT_PREVIEW));
}

And it gave me this result:
------------Dumping packet to stdout--------------
[Root Layer]
  Preamble Size .......... 16
  Post-amble Size ........ 0
  ACN Packet Identifier .. ASC-E1.17
  Flags & Length ......... 28783
  Layer Vector ........... 4
  Component Identifier ...<PHONE_NUMBER>0000000000000000000000
[Framing Layer]
  Flags & Length ......... 28761
  Layer Vector ........... 2
  Source Name ............
  Packet Priority ........ 100
  Reserved ............... 0
  Sequence Number ........ 0
  Options Flags .......... 64
  DMX Universe Number .... 1
[Device Management Protocol (DMP) Layer]
  Flags & Length ......... 28684
  Layer Vector ........... 2
  Address & Data Type .... 161
  First Address .......... 0
  Address Increment ...... 1
  Property Value Count ... 2
[DMP Property Values]
  00 00
----------------End packet dump-------------------
Set E131_OPT_TERMINATED, but result of the get_option function is: 0
------------Dumping packet to stdout--------------
[Root Layer]
  Preamble Size .......... 16
  Post-amble Size ........ 0
  ACN Packet Identifier .. ASC-E1.17
  Flags & Length ......... 28783
  Layer Vector ........... 4
  Component Identifier ...<PHONE_NUMBER>0000000000000000000000
[Framing Layer]
  Flags & Length ......... 28761
  Layer Vector ........... 2
  Source Name ............
  Packet Priority ........ 100
  Reserved ............... 0
  Sequence Number ........ 0
  Options Flags .......... 192
  DMX Universe Number .... 1
[Device Management Protocol (DMP) Layer]
  Flags & Length ......... 28684
  Layer Vector ........... 2
  Address & Data Type .... 161
  First Address .......... 0
  Address Increment ...... 1
  Property Value Count ... 2
[DMP Property Values]
  00 00
----------------End packet dump-------------------
Set E131_OPT_PREVIEW, but result of the get_option function is: 0
------------Dumping packet to stdout--------------
[Root Layer]
  Preamble Size .......... 16
  Post-amble Size ........ 0
  ACN Packet Identifier .. ASC-E1.17
  Flags & Length ......... 28783
  Layer Vector ........... 4
  Component Identifier ...<PHONE_NUMBER>0000000000000000000000
[Framing Layer]
  Flags & Length ......... 28761
  Layer Vector ........... 2
  Source Name ............
  Packet Priority ........ 100
  Reserved ............... 0
  Sequence Number ........ 0
  Options Flags .......... 128
  DMX Universe Number .... 1
[Device Management Protocol (DMP) Layer]
  Flags & Length ......... 28684
  Layer Vector ........... 2
  Address & Data Type .... 161
  First Address .......... 0
  Address Increment ...... 1
  Property Value Count ... 2
[DMP Property Values]
  00 00
----------------End packet dump-------------------
Cleared E131_OPT_TERMINATED, but result of the get_option function is: 1
------------Dumping packet to stdout--------------
[Root Layer]
  Preamble Size .......... 16
  Post-amble Size ........ 0
  ACN Packet Identifier .. ASC-E1.17
  Flags & Length ......... 28783
  Layer Vector ........... 4
  Component Identifier ...<PHONE_NUMBER>0000000000000000000000
[Framing Layer]
  Flags & Length ......... 28761
  Layer Vector ........... 2
  Source Name ............
  Packet Priority ........ 100
  Reserved ............... 0
  Sequence Number ........ 0
  Options Flags .......... 0
  DMX Universe Number .... 1
[Device Management Protocol (DMP) Layer]
  Flags & Length ......... 28684
  Layer Vector ........... 2
  Address & Data Type .... 161
  First Address .......... 0
  Address Increment ...... 1
  Property Value Count ... 2
[DMP Property Values]
  00 00
----------------End packet dump-------------------
Cleared E131_OPT_PREVIEW, but result of the get_option function is: 1

Hi @shenghaoyang, well spotted!
I just confirmed that indeed this is a bug, much appreciated.
I got a bit messed with the logic in e131_get_option() and I fixed it now.
Thanks again!

Awesome, thanks for the quick fix!

Made a new release just now. Thanks again for your help.


Add CORS headers to simple API

Hello from Pyodide!
This adds CORS headers to simple API to allow fetching responses from client-side JavaScript.
Additional context
Pyodide has a runtime in-browser package manager called micropip, which downloads packages from PyPI. So far, Pyodide was using the legacy pypi.org/pypi/<name>/json  endpoint to fetch package metadata, but we are considering migrating to pypi.org/simple/. The legacy API sets CORS headers (#578), while simple API doesn't.
Related:

#4687
https://github.com/pypi/conveyor/issues/11

Thanks! Good luck with Pyodide, definitely let us know if you need anything else!

@di Hi, it seems that packages that have been cached before this PR don't have this header yet. Is there a regular period when PyPI flushes the cache?
For example, pyperformance (https://pypi.org/simple/pyperformance) has CORS headers:
$ curl -v https://pypi.org/simple/pyperformance/ 2>&1 | grep access-control
< access-control-allow-headers: Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since
< access-control-allow-methods: GET
< access-control-allow-origin: *
< access-control-expose-headers: X-PyPI-Last-Serial
< access-control-max-age: 86400

while, snowballstemmer (https://pypi.org/simple/snowballstemmer/) doesn't:
$ curl -v https://pypi.org/simple/snowballstemmer/ 2>&1 | grep access-control
[no headers]

I manually purged the cache for this one and the headers are now present:
$ curl -v https://pypi.org/simple/snowballstemmer/ 2>&1 | grep access-control
< access-control-allow-headers: Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since
< access-control-allow-methods: GET
< access-control-allow-origin: *
< access-control-expose-headers: X-PyPI-Last-Serial
< access-control-max-age: 86400

I'm not sure why our CDN was serving a stale page here, but this is likely related to https://github.com/pypi/warehouse/issues/12214.
If you have other examples, I can purge them as well.

Thanks! I didn't realize that there was an existing issue about this.


Loosen up and fix URN parsing

Fixes #387 by allowing more permissive parsing of URNs coming from engine and adhering to 'string' spec in regard to it being any string without double colons.

@lbialy

adhering to 'string' spec in regard to it being any string without double colons.

Not that I need them, but what is wrong with double colons in the resourceName? ;)

It turns out that for URNs not to match spec is not a big deal for Pulumi
as they basically turned resource name into (?s:.*), so yes, it seems
that they did not validate resource names so hard that now they have to
support newlines in them. We could mirror that (and we do, for stuff coming
from engine) but I would like to preserve a bit of sanity in resource names
mostly because I'm convinced that:
a) somebody will or already did implement a parser that partitions by ::
and additional out of spec double colons will trip it
b) newlines in resource names are not escaped in cli and will break tui
Also, ocd. There's a spec. Let's be predictable and respect the spec.
On Mon 12. Feb 2024 at 20:10, Leonid Dubinsky @.***>
wrote:

@lbialy https://github.com/lbialy
adhering to 'string' spec in regard to it being any string without double
colons.
Not that I need them, but what is wrong with double colons in the
resourceName? ;)
—
Reply to this email directly, view it on GitHub
https://github.com/VirtusLab/besom/pull/389#issuecomment-1939367011, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBVNUT4NPGZXX7OFKG4XH3YTJSK5AVCNFSM6AAAAABDE5MBS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZZGM3DOMBRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


[explorer] Fix smart contract rendering

Before:
There will be an error for rendering Move package object(example: https://explorer-internal-testing.s3-website-us-east-1.amazonaws.com/objects/8070E826B3668A048A59A095DE23EC26491CA2D9)

After:

@Andrew47 , if you examine the changed file, you will see the fix is different. We need both! This PR fixes the SDK <> backend, while your PR fixes the layout. Without this change, https://github.com/MystenLabs/sui/pull/1535 is not going to work

Rebase and re-test
@Andrew47 , note that the devnet gateway is currently down,  if you would like to repro this locally,

follow https://github.com/MystenLabs/sui/tree/main/explorer/client#connecting-to-local-rpc-server
2.Use this command to publish a package

cd <sui repo>
wallet publish --path sui_programmability/tutorial --gas-budget 30000

Otherwise you can just watch the video below where I have thoroughly test the flow
https://user-images.githubusercontent.com/76067158/166800460-c6ab13ba-52c1-4d44-b678-76b87cf22e88.mp4


Save dialogue labels need changing

Save dialogue box currently looks like this

It would be neater if the following were replaced:
'Please select a chemistry file' with 'Save as Type'
'Macromolecule HELM' with 'HELM'
'Macromolecule XML HELM' with 'xHELM'

Fixed in 2016-10-21 udpate

The last 2 have been changed but not:
'Please select a chemistry file' with 'Save as Type'

The default name seems to be a date prefixed by JSDraw. Please change the prefix to HELM.

Fixed in 2016-10-26 update

Thanks, very nearly there. Last issue - clicking the OK button does nothing. It should close the box.

Not sure which OK button this is about.  A screenshot will be helpful.


STRICT READ

Hi there,
I am trying to set up group rights where a user should see only specific or dedicated folder to create and edit pages with STRICT permission: glob='STRICT' ['READ'] . However this does not seems to take effect as the user is able to see all folders under /content.
Am I doing something wrong here? Please advise.
Thank you

any updates on this?

Hi @murleehyd ,
could you provide script with this entry?

@dominik-przybyl-wttech - any advise?

@murleehyd,
you can use other restrictions, for instance:
#Content Folders and Pages Rights
ALLOW '/content' restrictions={'rep:current': ['*']} ['READ']
ALLOW '/content/sites' restrictions={'rep:current': ['*']} ['READ']
ALLOW '/content/sites' glob='/jcr:content*' ['READ']

#Masters Content Folder and Pages Rights
ALLOW '/content/sites/masters' restrictions={'rep:current': ['*']} ['READ']
ALLOW '/content/sites/masters' glob='/jcr:content*' ['READ']
ALLOW '/content/sites/masters/MuraliRo' ['READ']
ALLOW '/content/sites/masters/Murali' ['ALL']

or
#TAG Rights
ALLOW '/content/cq:tags' restrictions={'rep:current': ['*']} ['READ']
ALLOW '/content/cq:tags' restrictions={'rep:globs': ['/a*', '/basic*', '/dam*', '/default*']} ['READ']

Release with rep:current and rep:globs support is scheduled for Wednesday, March 27.

@dominik-przybyl-wttech
Thank you and I have tried as suggested. However ending up with an error message:
ALLOW | "/"["READ"]restrictions={rep:current: ["*"]} |   | Invalid name: *Execution interrupted

true, fix will be release on Wednesday, March 27

Hi @murleehyd,
apm v5.7.1 is now available

@dominik-przybyl-wttech @dprzybyl - perhaps I haven't provided correct what I trying to achieve. Apologies and here is the approach I am looking forward to get it work.
The structure is like this:

So with STRICT READ on OnPrem we are able to achieve for a user group to see only following folders:
/content/sites
/content/sites/masters
/content/sites/Folder A
and the user group do not see below folders:
/content/campaigns
/content/outbound-marketing
/content/**********sitesassets
However, using this I am unable to achieve it.
ALLOW '/content'restrictions={'rep:current': ['*']} ['READ']
Perhaps you have better suggestion, to have the user group to see dedicated folder only without using 'DENY' right.
Thank you in advance,
Murali

@dprzybyl @dominik-przybyl-wttech - I think I found the root cause for glob='STRICT' ['READ'] as well as restrictions={'rep:current': ['*']} ['READ'] were not getting effective because of the Contributors group in AEM Cloud which gives read access for the users.


RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation

I try the code and get the runtime error down,any idea?
Training...
Epoch-0-:   0%|                                         | 0/391 [00:00<?, ?it/s]Traceback (most recent call last):
File "main.py", line 46, in
main()
File "main.py", line 34, in main
trainer.train()
File "/home/qiaokang/MobileNet-V2-master/train.py", line 63, in train
cur_loss.backward()
File "/usr/local/lib/python3.5/dist-packages/torch/tensor.py", line 93, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/usr/local/lib/python3.5/dist-packages/torch/autograd/init.py", line 89, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation

also got the same problem

same problem

Which Pytorch version do you use?

I got the same error with Pytorch 0.4.1.

Training...
Epoch-0-:   0%|                                                                                | 0/391 [00:00<?, ?it/s]Traceback (most recent call last):
File "main.py", line 45, in
main()
File "main.py", line 33, in main
trainer.train()
File "/home/grafty/external_projects/pruning/MobileNet-V2/train.py", line 63, in train
cur_loss.backward()
File "/usr/local/lib/python3.5/dist-packages/torch/tensor.py", line 93, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/usr/local/lib/python3.5/dist-packages/torch/autograd/init.py", line 90, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation

what the checkpoint name,and where can download it?

it worked when I used pytorch 0.3.1 but i was not found the change in pytorch 0.4.x

i also got the same problem in pyTorch 0.4.0

i also got the same problem in pyTorch 0.4.0

changing your dropout or relu6 to out-of-place or use the model of

i also got the same problem in pyTorch 0.4.0

changing your dropout or relu6 to out-of-place or use the model of https://github.com/tonylins/pytorch-mobilenet-v2

thanks !  When I did this, the problem was solved.

search the keyword "inplace" in train.py and delete the args like inplace=True,or change inplace=False,I solved the problem,it's a pytorch version problem,the author used version 0.4,and yours in version 0.4.


Add specific SYSLIB warning suppression info

Fixes #29833. Similar to #29811.

Delete suppression include file.
Instead, add customized text with the specific rule ID to each article.

@IEvangelist Let me know if you want me to update the source generator SYSLIB warnings like this too.


Change license from CC-BY-SA to CC-BY

Motivation (discussion on the Carpentries mailing list): https://carpentries.topicbox.com/groups/discuss/Td64229aeb252a027
In short, the motivation is to simplify reuse for those who wish to take parts of our lessons and remix them into material which is CC-BY.
At the team meeting 2019-08-12 we have decided to change the license to CC-BY provided that all contributors to this lesson material agree to this change.
This issue will track the progress of this change.

@Vathasav @wikfeldt can you please comment whether you agree to this change?

I agree to a license change to CC-BY. Richard agrees via https://github.com/coderefinery/git-intro/issues/192#issuecomment-521359880.

I agree to a license change to CC-BY

I agree to a license change to CC-BY.


Use modal for page navigation

The official NReader has reached more than 75 servers! This means it's now ready for the verification process. Originally, the bot shouldn't need any intent to work. However, since seeing the lack of Eris' development, I had to use the MessageContent intent for page navigation. This was fixed by using Discord's Text Inputs or known as Modal feature.
As Eris hasn't supported a documented function of modal, I had to make one my own using the raw version (though, some had already been implemented).
The current version of Eris belongs to a combination of forks (by Donovan which is no longer maintained). Some typings are horribly typed and I encountered a couple of breaking changes which I'll properly fix in NReader code base tomorrow.

Also marking this PR as a draft as I haven't made changes on other paginator classes.


Incorrect href in React learning documentation

https://ko.react.dev/learn/updating-arrays-in-state#making-other-changes-to-an-array
On the above page, the href attribute for '중첩된 JavaScript 객체 업데이트' is incorrect.
It should be corrected to https://ko.react.dev/learn/updating-objects-in-state#updating-a-nested-object.
The translated learning documentation has helped me a lot in my learning.
Thank you.
copy of https://github.com/reactjs/react.dev/issues/6582
(raising a copy as I didn't have access to move issues 😅)

처음 기여하기 좋은 issue일 것 같습니다 👍

I think it'll be a good issue to contribute to for the first time. 👍


Update Release Notes for GA

Description
[Describe what this change achieves]
Update Release Notes for GA
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@aditjind Looks like we need to include rc1 release notes also in this.


Refactor page cache

This is a new attempt at https://github.com/zenithdb/zenith/pull/79. This time, it includes only the refactoring of the existing RocksDB implementation, not the re-implementation of the in-memory storage backend yet. That's where I'm going with this work, but I think this refactoring makes sense on its own, so let's get that in first.
I tested this on my laptop with the DEBUG_COMPARE_LOCAL debugging option enabled from https://github.com/zenithdb/postgres/pull/42. It passed the regression tests. But without the second commit in this PR, "Refactor the way truncations are handled",  it fails with a lot of errors like this:
+ERROR:  could not read block 7 in file "base/16384/2606": read only 0 of 8192 bytes

Those failures happen even on main, without this PR. I think this code in do_gc handles truncation WAL records wrong:
                        // reconstruct most recent page version
                        if (v[0] & PAGE_IMAGE_FLAG) == 0 {
                            trace!("Reconstruct most recent page {:?}", key);
                            // force reconstruction of most recent page version
                            let (base_img, records) = self.collect_records_for_apply(key.tag, key.lsn);
                            let new_img = self.walredo_mgr.request_redo(key.tag, key.lsn, base_img, records)?;

                            self.put_page_image(key.tag, key.lsn, new_img.clone());

                            reconstructed += 1;
                        }

If a block was truncated away, it will call request_redo with the truncation WAL record. I'm not sure what page image that will return, an all-zeros page perhaps? In any case, it will store that page image in the repository, and it will be found by the next get_relsize() request, so it will report the old relation size again. The second commit makes the treatment of truncations a bit nicer, and it happens to fix that, too.

@ericseppanen, you left a lot of comments on the formatting and such in https://github.com/zenithdb/zenith/pull/79. Thanks for that. I haven't addressed those yet, but I will do that tomorrow.


Lock .toDB, .delete etc. on skeletons if an output render is attached

Maybe related to #187.

Fixed by #204


When exporting the profile, settings for some extensions that were removed earlier still appear in the file.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.93.1
OS Version: Linux mint 21.3

Steps to Reproduce:

install thunder client extension (I found that there are other extensions that also have this issue, so I think this issue is related to vscode)
uninstall thunder client extension
export the profile, then search thunder-client in the file, I can find workbench.view.extension.thunder-client.state.hidden, thunder-client-sidebar etc

I have tried version 1.95.3, but the issue is still there.

Settings are not automatically removed when an extension is uninstalled.


get month chooser widget working

This is for fields that are integer fields that end in _month or _monthnum.
It should just let people choose 1-12, for the month of the year.

This is not critical for 1.0


Removed unwanted call to google font

Issue Reference
This PR addresses the Issue : Fixes #220
Summarize
Removes the unwanted call of font.

Duplicate of #222 : Consider merging one and closing both

Tested okay.

Duplicate of https://github.com/IEEEKeralaSection/rescuekerala/pull/222

I think we should close this in favour of #222


draft example PDHG and strong convexity

In some (or most) of our inverse problems, we use the L2NormSquared as a data fidelity or regularisation term. This has a very nice and useful property, which is called Strong convexity. Using this property we can accelerate some of algorithms, e.g., PDHG, ADMM, FISTA.
For instance in the PDHG algorithm, there are cases where the primal/dual stepsizes sigma and tau can be updated iteratively based on that property and not be fixed for all the iterations. In this way, we can converge faster to our solution.
There are three cases, see here:

if G is strongly convex
if F^{*} is strongly convex
if both of them are strongly convex.

Note that sigma, tau stepsizes are computed analytically.
In this draft PR, I have a simple denoising demo, comparing the simple PDHG and the PDHG with strong convexity. In particular, the PDHG setup for this case is:

K = GradientOperator(ig)
F = alpha * MixedL21Norm()
G = 0.5 * L2NormSquared(b=noisy_data) which is strongly convex function

The acceleration is clear from the pdgap:

How to design:
Clearly, for this demo I added very few lines in the PDHG set_up and update, using an additional parameter gamma and the update rule of sigma,tau based on the fact that function G is strongly convex.
Therefore, for this example, we will need two things:

a class variable in the Function class which will be False by default. And for every function class that is strongly convex True. We use the same practice with the Lipschitz constant.

This is quite tricky. Atm, we cannot use this acceleration when the function F^{*} is strongly convex. In our functions we have a convex_conjugate method that computes the value at a point x. Therefore, we do not have access to a  class that represents the convex_conjugate of a function f.

Since the convex_conjugate of a function f is still a function then it is reasonable to make them as Function classes with:

a call method
a gradient method
a proximal method which will be in fact the proximal conjugate

This is indeed something that we should support and work on with high priority, as it will help us with faster convergence on most of the cases we routinely run, e.g., squared 2-norm.  I can't tell from your description, but I think we would not just need to represent strong convexity by True or False but, like for Lipschitz, with a specific scalar value of the strong convexity parameter?  This parameter enters into convergence rate results.

@epapoutsellis I made this a draft as you state this in the title and it is really a proof of concept.
IMO we need to:

modify the Function class to have a new member that is strong_convexity (or other names). This new member should be what? A boolean, a number? A function that is not strongly convex, has it as None?
modify the general PDHG adding a update_stepsizesmethod at the end of eachupdate. In normal PDHG` with no assumptions on convexity, it'll do nothing.

On strong convexity of the convex conjugate, we should discuss. I see 2 options:

the method convex_conjugate() returns a new Function, or an object that does what it's needed
we add a new member called convex_conjugate_convexity that returns the same as strong_convexity of a standard function.

Will be closed by #1031


[csrng] Fix test for hw_inst_exc

This patches the CSRNG interrupt test to hit interesting status responses from the CSRNG. It does 3 things:

Split error and status covergroups, since they are orthogonal.
Write test to stimulate all HW instances and both at the same time.
Minor RTL fix to ignore SW app in HW status bits.

LGTM but please do add this new covergroup to the .hjson with a brief description.

This would make indeed sense. I am fine to add this in a follow up such that we can merge this one now (as it passed CI already). WDYT?


Automated Load Testing and Failure Testing

Verify QPS
Verify dropped messages are handled gracefully
Can we simulate cascading failure?

Verify QPS

We need to get an idea of a baseline QPS. We can start by setting parameters on what the test environment looks like, tweak params as needed, and eventually get regression testing out of this. Here's a stab at the test environment:

Every VM type discussed below is n1-standard-2
A CF environment where each service runs on separate VMs,

5 Diego Cells
1 Loggregator instance

A stackdriver-tool nozzle deployed

1 instance
Configured to receive and push all Firehose metrics to Stackdriver

Parameters should be adjusted to find the upper bound of QPS where some percentage (99?) of queries succeed.

Verify dropped messages are handled gracefully

After an upper bound QPS is established, the 2nd phase of a load testing pipeline should push past that bound, triggering failure in the form of dropped messages by the nozzle. Graceful handling of dropped messages is characterized by the nozzle logging the fact that it dropped messages via the fluentd client.

*Can we simulate cascading failure?

Deploy 2 nozzles to handle ~2x QPS, and scale the CF install to provide that QPS. Resize the nozzle job to only have 1 VM and observe its behavior. It should log what it's able to log and report dropped messages without crashing.
@johnsonj how's the for an initial outline?

LGTM

Closing due to age. This would be nice to have.


Where is the complete source code of this editor?

I wanna this monaco-editor newest version source code.

From the readme:

Please note that this repository contains no source code for the code editor, it only contains the scripts to package everything together and ship the monaco-editor npm module.

You can find an overview of the modules it uses  in https://github.com/Microsoft/monaco-editor/blob/master/CONTRIBUTING.md

Hello,
Thanks for the link given below ...
But I would like to know if you know where we can find the sources (TypeScript files) of monaco-editor-core...
In the link above there are only sourcemap of TypeScript files ...
Thank you.

Hello,
Thanks for the link given above ...
But I would like to know if you know where we can find the sources (TypeScript files) of monaco-editor-core...
In the link above there are only sourcemap of TypeScript files ...
Thank you.

This is actually what I want to ask.

This is actually what I want to ask.

I think there are several ways to recover TypeScript source files:
1- With a code that restores the source files from sourcemap (as do browsers).
2- Retrieve the list of files (in sourcemap) and copy the source files from the folder src in vscode.
Sorry my english is bad ..

Here are the sources of the monaco editor core --> https://github.com/Microsoft/vscode This is explained in detail at https://github.com/Microsoft/monaco-editor/blob/master/CONTRIBUTING.md


refine name descrip and fluid.data.

refine parameter name describe, use fluid.data

adaptive_pool3d
adaptive_pool3d
grid_sampler
kldiv_loss
spectral_norm
temporal_shift

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


On Windows 8 Themes are switched

The theme option that says "Dark" is actually light and the "Light" mode is actually dark

Possible duplicate of #34

Oh okay, thank you for referring me there.


systemd.service operation: support masking/unmasking

Is your feature request related to a problem? Please describe
I have some systemd units that I need to stop and mask, to prevent them from being started at all.
Currently I do something like this:
def systemd_unit_enabled_state(unit: str) -> str | None:
    enabled_state = host.get_fact(Command, command=f"systemctl is-enabled {unit} || true")
    return enabled_state

def mydeploy() -> None:
    if systemd_unit_enabled_state("myunit.service") != "masked":
        server.shell(commands=['systemctl mask myunit.service'],
                     _sudo=True)

Describe the solution you'd like
Probably adding a masked argument to the systemd.service operation.
I suspect this might require improving some of the things going on behind the scenes, specifically querying unit status.

Right, I forgot about that, now I have the following:
def systemd_unit_enabled_state(unit: str) -> str | None:
    enabled_state = host.get_fact(Command, command=f"systemctl is-enabled {unit} || true")
    return enabled_state

@operation()
def systemd_mask_unit(unit_name: str) -> Generator:
    if systemd_unit_enabled_state(unit_name) == "masked":
        host.noop(f"unit '{unit_name}' is already masked")
    else:
        yield from files.link(f"/etc/systemd/system/{unit_name}", "/dev/null")

I don't think I will have to time to work on integrating it, but with the "directly symlink it" approach it should be much easier.


Allow autocomplete to function on incomplete update statements

Closes https://github.com/square/sqldelight/issues/721
Going to test this more thoroughly before I start pinning every rule type since I think it might have some weird side effects.

thanks for asking! pin points to a specific match in the rule (in this case the UPDATE keyword) - when the parser sees this keyword it will parse as if its the update_stmt rule.
For example, this text:
UPDATE table
SET column =

parses to this tree without a pin

which isnt a tree at all but a bunch of tokens since no rule was matched. With a pin on UPDATE you get

try pinning today!


System Crash under Synology DSM 7.1.1 (DSM 7.1.1-42962 Update 5) - Seems to be a Kernel Issue - Not a Container issue

Experiencing issues? Check our Troubleshooting FAQ wiki!
Describe the Bug
The bug seems to be Kernel-related - not Container related. But i would like to rise awareness.
I would like to cite a reddit post which tells you maybe more than me:
"This is a known issue. You need to use Use lloesche/valheim-server:debian10 instead, Synology uses an old kernel which runs into problem with the latest valheim container running debian11. "
https://www.reddit.com/r/synology/comments/z5vkbr/comment/iy4z8n7/?utm_source=reddit&utm_medium=web2x&context=3
This seems to be a know issue.
Sorry for posting here, but i had a 1 hour near heart-attack experience in the middle of the night (because i was so clever to set the container to autorun ... haha)
One of my HDDs won't survive this and begs to be "shot" - hat 12 hard reboots till i fixed this issue.
Your Runtime Command or Docker Compose File
Please censor anything sensitive. Your runtime command might look like this:
I use the 7.1.1 DSM Docker GUI - The Variables and Startup-Commands are literally from your 2-Step Beginners Guide.
System Specs (please complete the following information):
If you're on Linux, just paste the following block as a single command, and paste the output here.
Linux pandora 3.10.108 #42962 SMP Fri Mar 24 00:28:41 CST 2023 x86_64 GNU/Linux synology_avoton_1815+
Alternatively, you can find the information manually. Here's what we're looking for:

OS: [e.g. Ubuntu 18.04 x86_64] (Linux: uname -a)
CPU: INTEL Atom C2538
RAM: 6GB
HDD; 10TB

Logs
Sorry... cant provide due to immidiate crash. Had to enable SSH in a 20-30 Second window after plenty of reboots (hard resets) and to sudo stop docker (htop and killing every docker process) and deleting the docker image/server
Additional Context
I know this might be only a Synology issue - but maybe there might be a workaround for this. :)
Kind Regards
Marc

maybe https://github.com/lloesche can shine some light on this because basically the consequences are the same.

@Hecatonchires667 try running the container with following image: wolveix/satisfactory-server:v1.7.4

This Version starts without a crash! :) - Thank you!

Seems to work - but the system was unresponsive for a moment. Let´s see - In general it seems to work. Downloading stuff right now :)

Works like a charm! Thanks a lot 💯

@Hecatonchires667 glad to hear it! So, we upgraded the Docker image from Ubuntu 18 to Ubuntu 22 in v1.8.0. Looks like that's causing the issue for you.
If possible, you should really upgrade your system's OS as soon as possible, given that Ubuntu 18 reach end of life last year :) I don't intend to put out any future image versions with it, instead using Ubuntu 22 moving forward.

Thanks for the fast reply!
Unfortunately DSM 7.1.1 is the last OS for my precious Synology 1815+ 😢
The Successor Model costs around 1070€ which is a bit expensive 🫰 for my taste 😢😅
But as long as we can use the older Docker container of yours we are quite happy ❤❤❤
Thanks for your efforts!
Will donate a few bucks 😉😚😊

@Hecatonchires667 hah, yeah that's the problem with locked down systems! Thanks for sharing your perspective with me.
It wouldn't be particularly difficult for me to push an Ubuntu 18 image from time to time, so perhaps I'll do that as a single image tag (e.g. ubuntu-18), or I'll test an alternative OS and see whether they work on your system (if you're ever willing to test it on my behalf).
Glad to hear you have a working solution at least, enjoy!!

Oh this would be awesome! There are plenty of people using Synology NAS who might struggle with this!
I even would suggest a little hint in your leading text for them before they fry their System like I did 🙈
Something like:
"Attention Synology users!
DSM 7.1.x - Please use the 1.7.4 Image
DSM 7.2.x - Please use latest built"
😅
I would of course test an alternative for you. No problem. 😊 But I think every Kernel above 4.x might be an Issue. Even DSM 7.2.x is "only" a heavily modified Ubuntu 19 with a Kernel of 5.x which causes this problem (the first mentioned valheim threads mentioned this).
Ah... Before I forget... Would you provide me your PayPal.me link?
I would like to donate 20€ to you - it's not that much but a sign of appreciation ❤
Can't find the link via the mobile GitHub app 😅

Ah! Found the PayPal.me link 😄🤟

@Hecatonchires667 that certainly wasn't necessary, though it is greatly appreciated! Thank you so much! ❤


[Firefox] scroll position shouldn't be always restored

In Firefox, scroll position is restored even when going to a new page (with a full-page load). This should only happen when moving forward/backward in history or refreshing the current page, not when going to a new page.
This problem doesn't happen in other browsers.

Sorry my mistake, seems like the issue is not only UI-router related.


Adding alias for sane default options to "ag" ("the silver searcher")

ag ("the silver searcher") is a fast alternative to grep or ack for source code repo searching.  This PR adds a default alias with some sane defaults similar to those used for ack.

Can you outline what these options are, maybe in a comment above the alias?
From what I can see from the ag man page, --smart-case is enabled by default...
What does -MIRFX do? I couldn't find all of these options in the man page.

@nwinkler:  Yes, --smart-case was enabled by default in newer versions of ag (specifically after ggreer/the_silver_searcher@16ce713).  However, if you happen to have an older version of ag, it must be specified.  As I've learned when dealing with unknown versions & behavior of software, it's best to be explicit and declarative when configuring how you want things to behave (as long as the interface or command line options have not changed also)
From the less(1) man page, here are the options to less that it uses:
less(1)

  -M (-M or --LONG-PROMPT)
    Causes less to prompt even more verbosely than more.

  -I (-I or --IGNORE-CASE)
    Like -i, but searches ignore case even if the pattern contains uppercase letters.

  -R (-R or --RAW-CONTROL-CHARS)
    Like -r, but only ANSI "color" escape sequences are output in "raw" form. Unlike -r, the screen appearance is maintained correctly in most cases. ANSI "color" escape sequences are sequences of the form:

     ESC [ ... m

    where the "..." is zero or more color specification characters For the purpose of keeping track of screen appearance, ANSI color escape sequences are assumed to not move the cursor. You can make less think that characters other than
    "m" can end ANSI color escape sequences by setting the environment variable LESSANSIENDCHARS to the list of characters which can end a color escape sequence. And you can make less think that characters other than the standard ones may
    appear between the ESC and the m by setting the environment variable LESSANSIMIDCHARS to the list of characters which can appear.

  -F (-F or --quit-if-one-screen)
    Causes less to automatically exit if the entire file can be displayed on the first screen.

  -X (-X or --no-init)
    Disables sending the termcap initialization and deinitialization strings to the terminal. This is sometimes desirable if the deinitialization string does something unnecessary, like clearing the screen.

Thanks for the thorough explanation! It makes sense to have these, I agree.


NTR: regulation of proteoglycan catabolic process

Please provide as much information as you can:

Suggested term label:

regulation of proteoglycan catabolic process
positive regulation of proteoglycan catabolic proces
negative regulation of proteoglycan catabolic process

Definition (free text)

Any process that modulates the rate, frequency, or extent of the chemical reactions and pathways resulting in the breakdown of proteoglycans, any glycoprotein in which the carbohydrate units are glycosaminoglycans.
Any process that activates or increases the frequency, rate or extent of the chemical reactions and pathways resulting in the breakdown of proteoglycans, any glycoprotein in which the carbohydrate units are glycosaminoglycans.
Any process that decreases the rate, frequency, or extent of the chemical reactions and pathways resulting in the breakdown of proteoglycans, any glycoprotein in which the carbohydrate units are glycosaminoglycans.

Reference, in format PMID:#######

PMID:32083858 and PMID:32484067

Gene product name and ID to be annotated to this term

Btk/Bruton tyrosine kinase RGD:1359683

Parent term(s)

"proteoglycan catabolic process” (GO:0030167)

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

Hi @slaulederkind
I dont see evidence that the proteoglycans are degraded; just that the levels are lower (for example, they could be excreted?)
Also, it looks like proteoglycan loss is a way to assess inflammation and auto-immune induced arthritis, see also https://arthritis-research.biomedcentral.com/articles/10.1186/s13075-020-02219-7
How about annotating to GO:0006954 inflammatory response instead?
Thanks, Pascale

Hi @pgaudet, We''ll annotate with something else.  We won't need the proteoglycan terms.  Thanks, Stan


"About" page

Originally on 2010-08-09
Invenio should support something like the MediaWiki "About" page, where users can go to see information such as which code branch and commit the source was checked out from, when the tree was built, which system libraries are installed, what database backend is being used (Currently always MySQL, but one could imagine others), etc. etc.  Information mostly intended as a convenience for developers and sys admins.  It's easy to find these things out, but it would also be easy to collect them all together in one place, and it would make each instance of lookup just a little bit easier.

see http://invenio.readthedocs.org/en/latest/


beta15: set_shader_parameter fail to be serialized if shader assigned in the same frame.

Godot version
Regressed in 4.0.beta15. Still broken in rc1. Worked fine in beta14
System information
Windows 10, Nvidia
Issue description
I'm writing a custom importer that needs to assign a ShaderMaterial to some materials.
When creating a new ShaderMaterial and assigning a shader, it seems that parameters assigned in the same frame are not serialized properly. One workaround is to use set_deferred("shader_parameter/color", ...) or call_deferred("set_shader_parameter", "color", ...) but this doesn't work for my application (an editor importer).
This issue was previously opened as #72143 but there was some confusion due to an error in the original MRP, so I'm opening a new report.
The reproduction project does:
			var new_mat = ShaderMaterial.new()
			new_mat.shader = load("res://shaders/color_stripes.gdshader")
			new_mat.set_shader_parameter("color", color)

If left alone, this will appear to work fine because it's not being serialized.
Therefore I also run this code in the reproduction project to force it to be serialized and then reloaded from disk ignoring cache:
			new_mat.take_over_path("res://saved_material.tres")
			ResourceSaver.save(new_mat, "res://saved_material.tres")
			new_mat.take_over_path("res://junk_material.tres")
			new_mat = ResourceLoader.load("res://saved_material.tres", "", ResourceLoader.CACHE_MODE_REPLACE)

On beta15, saved_material.tres contains:
$ cat saved_material.tres
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://b3j8rq3rbwteh"]

[ext_resource type="Shader" path="res://shaders/color_stripes.gdshader" id="1_mfh7u"]

[resource]
shader = ExtResource("1_mfh7u")
shader_parameter/color = null

The null value is the bug.
On beta14, it contains:
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://b3j8rq3rbwteh"]

[ext_resource type="Shader" path="res://shaders/color_stripes.gdshader" id="1_mfh7u"]

[resource]
shader = ExtResource("1_mfh7u")
shader_parameter/color = Color(0.564706, 0.4, 1, 1)

Steps to reproduce

Open the attached project.
It should run the property setter on load, which will autosave and already show the incorrect material.
Click the checkbox Use Standard on and off. This serializes a new material and then loads it from disk.
Starting from beta15, the serialized material has no shader_parameter assigned, so when using CACHE_MODE_REPLACE, they are loaded.

The correct behavior is it should have stripes with the selected color (purple in the MRP). if the color is not serialized correctly, it will use the default color in the shader which is greyish.
Minimal reproduction project
set_shader_parameter_test.zip

I wonder if this has the same root cause as https://github.com/godotengine/godot/issues/72538


import attr from attrs imports wrong package

2023-12-13 19:48:09.894 [info]     from lsprotocol import types as lsp
File "/home/svobora/.vscode-server/extensions/ms-python.pylint-2023.10.1/bundled/libs/lsprotocol/types.py", line 14, in
import attrs
File "/home/svobora/.vscode-server/extensions/ms-python.pylint-2023.10.1/bundled/libs/attrs/init.py", line 3, in
from attr import (
ImportError: cannot import name 'AttrsInstance' from 'attr' (/usr/lib/python3/dist-packages/attr/init.py)
It imports attr package from system python folder (Ubuntu 22.04). What to do?

OK, I'm sorry, but how are we supposed to help you with that? It seems to be a packaging issue, caused by a VS Code extension that seems to bundle attrs!? My best suggestion is to reinstall ms-python.pylint whose installation seems to be corrupted.

There's also this: https://github.com/microsoft/vscode-pylint/issues/386

For the starters do not name your packages the same as already existing packages, especially if those are installed as part of mainstream operating systems.

What package would that be?

attr (not attrs) and removing import attr from your package

https://pypi.org/project/attr/
Attrs should shadow it with its own attr package but it is not working. I suggest not naming a package with a same name as another package in pip.

Have you double-checked it's actually that package?
On Ubuntu it is not:
$ egrep '(title|author)' /usr/lib/python3/dist-packages/attr/__init__.py
__title__ = "attrs"
__author__ = "Hynek Schlawack"


Add Automatic Deployment of your CSV Database Web Service

Depends on #30.
Criteria:
When something gets pushed to the main branch, a GitHub action should automatically deploy the new code to our Azure App Service.

Updated issue text


Not working

I have a brand new installation of the editor. This is the only plugin I have installed. It's not working. I type - or * and space and it never makes a list.
react 16.9.0
draft-js 0.11.1
draft-js-plugins-editor 3.0.0
draft-js-autolist-plugin 2.0.0

Also seeing this. I suspect it's related to the draft 0.11.x upgrade.

The bug is here:
https://github.com/icelab/draft-js-autolist-plugin/blob/6abe2c5352c13ee4ade3626addb36e18cef2d9cd/src/index.js#L121
In the latest version of draftjs-plugins-editor a new parameter was added: https://github.com/draft-js-plugins/draft-js-plugins/pull/1303/files#diff-8ba3abec38e74b4fedeec7a96faee909R39

Can we get the fix merged here?

Sorry for the delay folks. Closing a company, starting a new job, hiding during a pandemic. Should be released as v3.0.0


Application fails to take float value for Currency converter when Japanese Calendar is enabled

A team member will update this issue with more details soon.

This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member.

Describe the bug
When you update your calendar settings to Japanese, Calculator's currency converter stops letting you input values after a decimal point.
Steps To Reproduce

Open intl.cpl
Select "Japanese (Japan)" from the "Format" drop down
Select "Additional Settings" Date
In the "Calendar Type" dropdown, select the 2nd calendar "和暦", which is the Japanese
Select "Apply" and “Ok" buttons.
Launch Calculator
From menu, select currency convertor
Type in digits, then a decimal point, then type in more digits

Expected behavior
The additional digits should get used as part of the number, but don't.
Device and Application Information (please complete the following information):
OS Build: 10.0.18362.0
Architecture: X64
Application Version: 10.1902.42.0

I looked into this one a bit more. The reason that this happens is that when you change your Format to Japanese (Japan) the Currency Format changes by default to have 0 "No. of digits after decimal". This may or may not be correct, but Calculator is correctly using the format. I will follow up with the intl.cpl team form them to decide if the current intl.cpl behavior is correct or not.

This issue showcases a wider issue.
The Currency Format dialog gives information about the locale currency, not all currencies.
When you use Japanese yens, the lower coin is 1 yen, cents don't exist, so it seems normal that the number of digits after decimal equals 0 when the region is Japan. But should we use this settings for all other currencies? Probably not.
When we convert Yen in Dollar, should we display: 25 Yen == 0 Dollar or 25 Yen == 0.22 Dollar?
Because Yen doesn't feature cents, should we allow users to write "212.40 Yens" when this value doesn't exist?
Similarly, if a US user wants to know how many dollars his/her Kuwaiti dinars are worth, we should probably allow him/her to type 12.005 Dinar (because the currency includes millesimal)
We should probably associate a number of decimals to each currency and use these values instead of Windows settings for the currency converter.

The number of decimals for each currency is defined in ISO-4217, we can hard-code the list of currencies not using 2 decimals and use it for Currency Converter.
@Geveffe, let me know if I should create another issue or if we can just rename this one in order to debate about this idea.

Thanks for digging into this @rudyhuyn. We should definitley handle the variations between currencies. As you point out, there is some nuance here for handling conversions (e.g., Yen/Dollar), so lets create a new issue to discuss further.

Issue reopened by #1204.