Get random builder working with include_torsion_forces=True

We have been setting include_torsion_forces to false when building to get around this, and then including them for the simulations. Figure out why it doesn't work in the random builder.

We should probably revisit this soon and figure out why turning on torsions leads to NaN initial coordinates - this is becoming more important as I'm starting to look at the reproducibility of the replica exchange results (specifically heat capacity and native contact curves) for independent starting configurations.


Fixed a lot of grammatical errors in CONTRIBUTING.md

Brief Information
Fixed grammatical errors in CONTRIBUTING.md and README.md
This pull request is in the type of:

[ ] bug fixing
[ ] new feature
[ ] others <--

What does this PR do?
Fixed a lot of grammatical errors in CONTRIBUTING.md and README.md

Fixed issues
Fixed a lot of grammatical errors in CONTRIBUTING.md and README.md

Details
Fixed a lot of grammatical errors in CONTRIBUTING.md and README.md
Before: What was the problem?
Many sentences had grammatical errors.

After: How does it behave after the fixing?
Fixed a lot of grammatical errors in CONTRIBUTING.md

Document Info
One of the following should be checked.

[ ] This PR doesn't relate to document changes <--
[ ] The document should be updated later
[ ] The document changes have been made in apache/echarts-doc#xxx

Misc
ZRender Changes

[ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs
N.A.
Others
Merging options

[ ] Please squash the commits into a single one when merging.

Other information

@plainheart can you review this?


SAP Mobile Cards - 4 New Tutorials for MCK on BAS

Mission - 1
Title: Start Building SAP Mobile Cards Using SAP Business Application Studio
Level: Basic
Time: 1 Hour 5 Mins
Tutorials:
Re-used Tutorial (Not a part of this commit)
Set Up Business Application Studio for Mobile Technologies
Create Your First Card in Business Application Studio
Mission - 2
Title: Push Cards to your Mobile Device From An External Application
Level: Intermediate
Time: 1 Hour 15 Mins
Tutorials:
Create A Sales Order Push Card
Push A Sales Order Card To Your Mobile Device

@jitendrakansal  FYI

@MichaelCzcz  @thecodester
we are about to start a new program next week with our customers where we will share the tutorial cp-mobile-bas-setup with them, i request you to help in reviewing this PR so that we are ready with our preparation for the program. Thanks for all your support.

@MichaelCzcz @thecodester Can we please merge this pull request this week?


Overloading on borrowing/consuming results in ambiguities with performance hacks removed

Description
One of the test-cases introduced by https://github.com/swiftlang/swift/pull/76834 depends on a type-checker hack that applies only to initializers - https://github.com/swiftlang/swift/blob/main/lib/Sema/CSSimplify.cpp#L9843-L9855. Removal of this hack makes the code ambiguous.
Reproduction
struct View : ~Escapable {
 init(_ otherBV: borrowing View) {}
 init(_ k: consuming View) {}
}

@lifetime(x)
func getConsumingView(_ x: consuming View) -> View {
  return View(x)
}

Without perf hack this produces:
 error: ambiguous use of 'init(_:)'

Expected behavior
We need to define expected type/flag matching behavior for borrowing and consuming parameters that does not depend on the performance hack(s).
Environment
Swift compiler main branch.
Additional information
No response

cc @meg-gupta

This is actually even worse than just ambiguity because the hack always prefers the first overload which means that flipping overloads around would result in a different pick.

This is an issue with non initializers as well.
This is accepted:
class Klass {}

func test(_ a: borrowing Klass) {}
func test(_ a: consuming Klass) {}

These should be rejected. We don't allow overloading on ownership qualifiers.

@meg-gupta Yeah, similar hack for one parameter overload sets, but that falls apart when there is more than one.


l2cc: Don't repeat disabling the cache when the cache is already disabled

Summary
When l2cc is already in disable state, performing a disable operation again will flush incorrect cache data to memory.
So, when it is found that the L2 cache is in a disabled state during startup, no flash operation is performed. Only when it is necessary to disable the L2 cache, a flush operation is performed.
Impact
L2 cache
Testing
sabre-6quad:smp

@zyfeier please rebase your change.

sabre-6quad:smp

@zyfeier
Did you test this PR on a real board (i.e. sabre-6quad board)?

sabre-6quad:smp

@zyfeier Did you test this PR on a real board (i.e. sabre-6quad board)?

Yes, test with sabre-6quad board and bes2003 board.


Add option for users to mark their builds as SE-2 Extension

After the release of SE-2 Extensions, I thought it would be neat to add a method for users to share their community-built extensions. This PR adds a type parameter to each build, marking the type. Currently, a dapp is the original "build", and an extension is, well, an extension.
Specifically, this PR adds:

A choice in the create/edit modal allowing the user to specify the type of build this is
A field in each build, type, storing the type of the build
An endpoint, /builds/extensions, listing out builds that have a type of "extension"

Notes:

The code expects every build to have a type field. To keep the code clean, I have opted to not add code filling in a default value. Therefore, it requires adding type: dapp to all existing builds.

After we iron out this PR, I will make another one in the scaffoldeth.io repo that adds a page listing out these extensions.

Hey @ByteAtATime , thanks for the PR.
I'd recommend creating an issue before raising a PR like this one. We can give you some context there, and discuss if it makes sense before building it.

Rebuilding the /builds page is been on the list for a while, and one of the improvements was to add a «type» field for builds (so we can sort, filter etc) Since we are about to start thinking about BGv4, we remove this task from the priority.
In any case, if you want to help, happy to merge this when ready.
Before testing, a couple of things I noticed from looking at the code:

Let's add these types: SE-2 build, SE-2 extension, SRE challenge, Design, DevRel, Other.
Don't hardcode the types on the form. Check helper/constants. Create the types there and build the options in the form from there.
Backend: Instead of /builds/extensions, let's just extend the GET /builds to accept an optional type param.
Backed: You missed the edit PATCH route + you'd need to tweak the signature verification too (for the POST too, where you added to the verifyOptions but didn't do anything with it in the getSignMessageForId function.

Ah, I'm so sorry about that! Will take note for future PRs

Since we are about to start thinking about BGv4

May I shamelessly plug my Firebase auth extension? I'm down to collaborate to improve my extension.

Let's add these types: SE-2 build, SE-2 extension, SRE challenge, Design, DevRel, Other

Done in https://github.com/scaffold-eth/buidlguidl-v3/pull/109/commits/b555392444aaedc627e8d395cc3670edab4f217a

Don't hardcode the types on the form. Check helper/constants. Create the types there and build the options in the form from there.

https://github.com/scaffold-eth/buidlguidl-v3/pull/109/commits/21d501bd785805a1940d7f13213c646b009cc1ff and https://github.com/scaffold-eth/buidlguidl-v3/pull/109/commits/21355cfe8c306f9691b061621af423238a0f65e4

Backend: Instead of /builds/extensions, let's just extend the GET /builds to accept an optional type param.
https://github.com/scaffold-eth/buidlguidl-v3/pull/109/commits/614ce2185a65fec9e0f11f8454eb4f530138b703

Backend: You missed the edit PATCH route
Accidentally committed that as part of https://github.com/scaffold-eth/buidlguidl-v3/pull/109/commits/614ce2185a65fec9e0f11f8454eb4f530138b703

you'd need to tweak the signature verification too (for the POST too, where you added it to the verifyOptions but didn't do anything with it in the getSignMessageForId function)

https://github.com/scaffold-eth/buidlguidl-v3/pull/109/commits/00499508653d129fdd0e8c598981c63f888f90c1


Node.js fix trusted setup file transformation

Currently, the generated trusted setup txt file does not match the trusted setup files used in other bindings, as the last g1 point is in the same line as the first g2 point.

It doesn't actually matter - any whitespace is fine. But seems fine for consistency.

Would you want to consider using load_trusted_setup directly instead?

I'm not sure about that. It was just that I noticed this inconsistency when trying to hook nodejs bindings to our https://github.com/sifraitech/rust-kzg and it failed due to the fact that we read points line by line.


[bug]  debian 9.13 build error

Describe the bug

Reproduction
No response
Expected behavior
No response
Platform and versions
debian 9.13
Stack trace
No response
Additional context
No response

Please always include the full output of tauri info as required by the template.
Also, try running cargo update in the src-tauri dir, we just released a new wry version which fixes a problem that very likely is related.

Sorry if I'm hijacking this tthread, but I believe it's the same root cause as the error I'm seeing. We had a brief chat about that on discord @FabianLars so I'll just add the details here as well.
  ...
  cargo:warning=`"pkg-config" "--libs" "--cflags" "webkit2gtk-4.0" "webkit2gtk-4.0 >= 2.36"` did not exit successfully: exit status: 1
  error: could not find system library 'webkit2gtk-4.0' required by the 'webkit2gtk-sys' crate

  --- stderr
  Requested 'webkit2gtk-4.0 >= 2.36' but version of WebKitGTK is 2.32.4
  You may find new versions of WebKitGTK at https://webkitgtk.org

npx tauri info
npx tauri info

Environment
› OS: Ubuntu 18.04 X64
› Node.js: 16.17.0
› npm: 8.15.0
› pnpm: Not installed!
› yarn: Not installed!
› rustup: 1.25.1
› rustc: 1.63.0
› cargo: 1.63.0
› Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
› @tauri-apps/cli [NPM]: 1.2.0 (outdated, latest: 1.2.1)
› @tauri-apps/api [NPM]: 1.2.0
› tauri [RUST]: 1.2.1,
› tauri-build [RUST]: 1.2.1,
› tao [RUST]: 0.15.6,
› wry [RUST]: 0.22.5,

App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:5173/

App directory structure
├─ .github
├─ node_modules
├─ examples
├─ .git
├─ dist
├─ src
├─ etc
├─ .vscode
└─ src-tauri

alrighty, finally got around testing it myself. Fix is in #5697


make update

Merged to master.
Do we need an issue raised to fix the make update checker?

I don't think this will have an impact on the NonStop builds, but I'm checking anyway.

Do we need an issue raised to fix the make update checker?

Why? It already does its job properly, the only issue is when we have several merges going in at a quick pace, then we occasionally miss something. I don't see that as a biggie.

@levitte thanks for the response.  I suspected as much but figured it was better to ask than not.

Thanks for merging it so quickly


Updated west.yml to Fix FlexPWM for LPC55XXX

Updated west.yml to fix to add
Wait Enable Bit fixing FlexPWM
for the LPC55S36 LPC5536 and LPC5534
devices.

Please update the west.yml file with the SHA


Issue with training speed / loss

Hello, I'm looking to replicate the results of this repo. I've loaded the Objaverse data (rendered in a similar manner to G-Objaverse) and I've verified that the images look right (see below). I believe that the cameras are also being loaded correctly, although it is always possible that I made an error there.
I'm finding that the network does not train successfully.
I am asking anyone (the author or anyone else who has successfully trained a model), what the training process should look like. As in, what (approximately) should the loss be at 500, 1000, 5000 steps? Does the network take forever to converge or is something wrong with my setup?
For context, my renders look like:

And after 1500 steps of training (with a single 80GB GPU), I have losses that look like:
[INFO] 0/17534 mem: 55.56/79.33G lr: 0.0000160 step_ratio: 0.0000 loss: 1.339101
[INFO] 100/17534 mem: 60.59/79.33G lr: 0.0000171 step_ratio: 0.0002 loss: 0.552416
[INFO] 200/17534 mem: 60.59/79.33G lr: 0.0000202 step_ratio: 0.0004 loss: 0.484728
[INFO] 300/17534 mem: 60.59/79.33G lr: 0.0000255 step_ratio: 0.0006 loss: 0.499739
[INFO] 400/17534 mem: 60.59/79.33G lr: 0.0000327 step_ratio: 0.0008 loss: 0.479734
[INFO] 500/17534 mem: 60.59/79.33G lr: 0.0000418 step_ratio: 0.0010 loss: 0.431447
[INFO] 600/17534 mem: 60.59/79.33G lr: 0.0000528 step_ratio: 0.0011 loss: 0.502410
[INFO] 700/17534 mem: 60.59/79.33G lr: 0.0000655 step_ratio: 0.0013 loss: 0.357406
[INFO] 800/17534 mem: 60.59/79.33G lr: 0.0000797 step_ratio: 0.0015 loss: 0.424057
[INFO] 900/17534 mem: 60.59/79.33G lr: 0.0000954 step_ratio: 0.0017 loss: 0.351256
[INFO] 1000/17534 mem: 60.59/79.33G lr: 0.0001122 step_ratio: 0.0019 loss: 0.433826
...

and predicted images that look like this:

These losses/images look very bad to me, but perhaps I need to wait for much longer.
Am I doing something wrong?
Thanks for all your help!

I face the similar issue: it seems difficult to converge / generate reasonable results at early stages;
I would suggest to just overfit to one object. In my toy experiment i start from large checkpoint and still takes 20k iterations to achieve good psnr (around 27-28).
I didn't try to overfit from scratch yet. I may also try that and share here later.
One weird thing i observe:

pretrained model provides super decent results. At the beginning of my finetuning on single object, performance even drops. It recovers in about 1k iterations.

Now i would like to provide more results regarding overfitting to one object:
Orange curve is with resume='./pretrained/model_fp16.safetensors', while Green curve has resume=None
I use constant 5e-5 learning rate for both experiments; Objective functions are unchanged.
It seems like if i start from pretrained checkpoint, it converges slowly, but loss still goes down; When i start to train from scratch, the loss doesn't go down -- i checked the splatted 3D gaussian, which is a white image and shows PSNR around 15 w.r.t. training image.
@greeneggsandyaml Do you have any update on training?

@ashawkey Could you kindly provide any information on how your loss curve looks like? For me it seems difficult to converge when i train from scratch.

@YuxuanSnow Hi, thanks for your information!
Actually the pretrained model is trained in multiple runs due to some infra issues, so I cannot provide a complete loss curve. An observation is that LPIPS loss may harm convergence at the beginning stage of training, but does help to increase fidelity at the late stage, so you can try to disable it first.
You may refer to this issue too: https://github.com/3DTopia/LGM/issues/35

Now i would like to provide more results regarding overfitting to one object: Orange curve is with resume='./pretrained/model_fp16.safetensors', while Green curve has resume=None I use constant 5e-5 learning rate for both experiments; Objective functions are unchanged.
It seems like if i start from pretrained checkpoint, it converges slowly, but loss still goes down; When i start to train from scratch, the loss doesn't go down -- i checked the splatted 3D gaussian, which is a white image and shows PSNR around 15 w.r.t. training image.
@greeneggsandyaml Do you have any update on training?

@ashawkey Could you kindly provide any information on how your loss curve looks like? For me it seems difficult to converge when i train from scratch.

When overfitting on a single object, have you tried to adapt the code of LR scheduler?

Now i would like to provide more results regarding overfitting to one object: Orange curve is with resume='./pretrained/model_fp16.safetensors', while Green curve has resume=None I use constant 5e-5 learning rate for both experiments; Objective functions are unchanged.
It seems like if i start from pretrained checkpoint, it converges slowly, but loss still goes down; When i start to train from scratch, the loss doesn't go down -- i checked the splatted 3D gaussian, which is a white image and shows PSNR around 15 w.r.t. training image.
@greeneggsandyaml Do you have any update on training?

@ashawkey Could you kindly provide any information on how your loss curve looks like? For me it seems difficult to converge when i train from scratch.

When overfitting on a single object, have you tried to adapt the code of LR scheduler?

I didn't try to adapt the LR scheduler.
@ashawkey I have updated result when disable the lpips:

The PSNR can achieve higher value (purple curve), which means it's effective strategy to disable lpips; The image is still blury but i think adding lpips and further train could resolve the problem.

Now i would like to provide more results regarding overfitting to one object: Orange curve is with resume='./pretrained/model_fp16.safetensors', while Green curve has resume=None I use constant 5e-5 learning rate for both experiments; Objective functions are unchanged.
It seems like if i start from pretrained checkpoint, it converges slowly, but loss still goes down; When i start to train from scratch, the loss doesn't go down -- i checked the splatted 3D gaussian, which is a white image and shows PSNR around 15 w.r.t. training image.
@greeneggsandyaml Do you have any update on training?

@ashawkey Could you kindly provide any information on how your loss curve looks like? For me it seems difficult to converge when i train from scratch.

When overfitting on a single object, have you tried to adapt the code of LR scheduler?

I didn't try to adapt the LR scheduler.
@ashawkey I have updated result when disable the lpips:
The PSNR can achieve higher value (purple curve), which means it's effective strategy to disable lpips; The image is still blury but i think adding lpips and further train could resolve the problem.

u really do a wonderful job! for me,there are some questions in this paper,hope to acquire ur help!can i have ur tel or ins to talk

@jeremy123z Nice to meet you.
Could you help me train this model? when can I download the datasets and use it?

@jeremy123z Nice to meet you.
Could you help me train this model? when can I download the datasets and use it?

just download from gobjaverse, unzip it and set correct dir path to provider_gobjaverse.py

@jeremy123z Nice to meet you.
Could you help me train this model? when can I download the datasets and use it?

just download from gobjaverse, unzip it and set correct dir path to provider_gobjaverse.py

Thank you so much. can we connect on tg? https://t.me/David_Crypto001


Can't reduce sound volume for machines/generators?

I have the config file set with:
D:SoundVolume=0.25
This doesn't change machine or generator sound volume at all, staying the same as if it was set to 1. Aside from pulling the annoying sounds (crusher, wind turbine) from the mod's .jar, I am at a loss what to do. Any help here is appreciated. Thanks!

You may need to lower the sound volume even more for the changes to go into place - also make sure you restart Minecraft.  Regardless, this is solved in v8 with integration into the Forge sound system.


Interactions between cmdstan instances through /proc

I have a weird issue on an HPC with SLURM where chains of one model crash when a different model that is running simultaneously finishes sampling. The weird part is that as a workaround I had to containerize the different models and exclude /proc from the bind paths of the container. The details of of the bug and workaround are described in this post: https://discourse.mc-stan.org/t/race-conditions-between-independent-cmdstan-model-runs/30918
I am not sure if this is something specfic to my environment, but given the surprising interaction through /proc, I thought it might be worth drawing attention to. Maybe someone has an idea for what could be causing such a bug.

I've experienced chains terminating unexpectedly (with no error messages or further information) when spawning multiple R processes that each use  cmdstanr to sample from a different model (cmdstan 2.35.0, cmdstanr 0.8.1).
Sampling from each model in serial always succeeds, and running the same processes in parallel always results in at least one failure. As far as I can tell, it has nothing to do with the working directory or tempdir(). I haven't tried running the processes in separate containers with independent /proc directories. I don't have much experience with containers, but if I can find the time I'll give it a go and see whether it resolves this issue for me.

Sampling from multiple models in parallel succeeds when I create a new PID namespace for each process:
for model in ${MODELS}; do
    unshare --fork --pid --mount-proc --user --map-root-user ./run.R "${model}" &
done


Cannot use all clases when Importing AFNetworking on a new project through Swift Package Manager

Very Simple to reproduce:
When importing AFNetworking on a new project through Swift Package Manager (Swift or ObjC or Hybrid)
I cannot use AFNetworkActivityIndicatorManager.  (Use of undeclared identifier 'AFNetworkActivityIndicatorManager')

您的邮件已收到，我会尽快查阅，谢谢！

Any news?

Was there an update here?


Roof Removal Plugin - Grim Tales Tower

Describe the bug
The roof isn't removed in the tower south of the mind alter. It is visited during the Grim Tales quest.
Screenshots

Environment:

OS: Ubuntu
RuneLite version: 1.7.17
Launcher version: 2.1.5

This area is inaccessible after the quest; someone who hasn't done the quest will need to fix this.

issue still here


Fixed haystack indexing problem for m2m objects.

Updated django-haystack to <2.4.
@ostcar
Thanks for your hint. I merged your test commit into my commit.
One index problem is still open:
If an assignment is created and you added a candidate. The search index is NOT updated with the new candidate. The assignment is listed in index but without candidates. Workaround: edit assignment and save the form again to rebuild index for this object. Than the new candidate is searchable and related to assignment object.
Any idea to fix this?

Ok.

ok


/compare: Add "diff" to comparison page

Three ideas:

How many days (forward or back) the date of hospital overload occurs
Impact to total infected population
Impact to total deaths

I did some work on this to refactor the loading of all the models up into the top-level CompareModels component: https://github.com/covid-projections/covid-projections/pull/328
@rachelrf has started work on diffing models, so I'm handing this back over to her for now.
Note that my PR is likely going to conflict with stuff in the counties branch, so we'll need to be careful about when / how we merge it.

[See also https://github.com/covid-projections/covid-projections/issues/296]

@rachelrf got this working for "hospital overload".  Hooray!  Can play with it at: https://covid-projections-git-rachelrf-issues296.covidactnow.now.sh/compare
I think that branch is kinda' in limbo until all the county stuff lands though.

Is this mergeable?

Yep, should be

Unfortunately there are actually merge conflicts (again).  😭   ModelChart.js is a dangerous file to touch.
@zjrosen1 was looking into it earlier today though and thought he might be able to get it fixed up / merged.

oh man haha...I can take a look and get it fixed again

This got merged via #464.  Thank you!

Oops, reopened.  we now have hospital overload diffing, but not the other 2 yet.

I can add the other 2 filters as well, call out anything else that would be useful :) @davidstrauss

@rachelrf Please feel free to jump on it! The ideas listed were from my meeting notes based on requests from others, so we may need to pull in someone like Max if you'd like more direction on how the "diff" of the impacts should be presented.


Calling dotenv package in isolate

Hi!
I've encountered an issue where isolate can't load .env file. I get NotInitializedError from dotenv package. Can I somehow initialize the dotenv package inside an isolate or is this a isolate_handler package issue?
Thank you for the anwser :)

Did a work around


ko-KR: Unable to set AM/PM in DatePicker

Provide a general summary of the issue here
AM and PM in Korean start with the same character - 오전 is AM and 오후 is PM. Hence, to type this first character the user presses 2 keys and the difference between AM and PM starts only with the third key press.
The problem with the DatePicker component is that it removes focus from the dayPeriod once the user enters 2 characters and moves it to the timezone. Hence the user cannot enter the next character that would define whether it's AM or PM.
🤔 Expected Behavior?
User can enter (AM 오전) in Korean by typing ㅇ, then ㅗ, ㅈ, ㅓ, and ㄴ
😯 Current Behavior
User tries to enter (AM 오전) in Korean by typing ㅇ, ㅗ but it loses focus before user can enter ㅈ, ㅓ, and ㄴ to complete entry. CodeSandbox with the current React Spectrum version to test the behavior: https://codesandbox.io/s/long-night-qg2723?file=/src/App.jsx
💁 Possible Solution
No response
🔦 Context
Online Korean keyboard for reference: https://www.branah.com/korean
🖥 Steps to Reproduce
CodeSandbox with the current React Spectrum version to test the behavior: https://codesandbox.io/s/long-night-qg2723?file=/src/App.jsx
Version
"@adobe/react-spectrum": "3.29.0",

What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS
🧢 Your Company/Team
Adobe
🕷 Tracking Issue
No response

On a device with a keyboard, using a spinbutton control or clicking on the AM/PM segment to toggle will allow users to access the correct value. There is currently no way to do this on a mobile/touch device. Open to suggestions on how we should handle this.

@lreis Can you please have a look and come up with a suggestion? Thanks
cc @angmail101


ACL management support.

In Chef 12 every object have permissions list associated with it.
I've introduced a class which should help to manage object permissions.
Acl class provides access to the Acl in the Chef 12.
Acl(object_type, name, api, skip_load=False)

object_type - type of the Chef object. Can be one of the following value: "clients", "containers", "cookbooks", "data", "environments", "groups", "nodes", "roles"
name - name of the Chef object (e.g. node name)
api - object of the ChefAPI class, configured to work with Chef server
skip_load - is skip_load is False, new object will be initialized with current Acl settings of the specified object

from chef import ChefAPI
from chef import Acl

api = ChefAPI('http://chef.com:4000', 'chef-developer.pem', 'chef-developer', '12.0.0')
acl = Acl('nodes', 'i-022fcb0d', api)

Each object of the Acl class contains the following properties:
create, read, update, delete, grant
each property represents corresponding access rights to the Chef object.
each property contains the following fields :

actors - list of the users, which have corresponding permissions
groups - list of the groups, which have corresponding permissions

print acl.update.groups
>>> ['admins', 'clients']

Each object of the class Acl contains the following methods:

reload() - reload current Acls from the Chef server
save() - save updated Acl object to the Chef server
is_supported() - return true if current Api version supports work with Acls

from chef import ChefAPI
from chef import Acl

api = ChefAPI('http://chef.com:4000', 'chef-developer.pem', 'chef-developer', '12.0.0')
acl = Acl('nodes', 'i-022fcb0d', api)
print acl.update.groups
>>> ['admins']
acl.update.groups.append('clients')
acl.save()
acl.reload()
print acl.update.groups
>>> ['admins', 'clients']

Also, I've added get_acl() method to each class which represents Chef object
from chef import ChefAPI
from chef import Node

api = ChefAPI('http://chef.com:4000', 'chef-developer.pem', 'chef-developer', '12.0.0')
node = Node('i-022fcb0d', api)
acl = node.get_acl()
print acl.read.groups
>>> ['admins']
acl.save()

Note about versions
Chef server with version < 12 doesn't have Acl endpoint, so, I've introduced method is_supported() for Acl class.
This method check if api version is greater than 12.
So you should pass valid Chef server version to the ChefAPI constructor
api = ChefAPI('http://chef.com:4000', 'chef-developer.pem', 'chef-developer', '12.0.0')
acl = Acl('nodes', 'i-022fcb0d', api)
print acl.is_supported()
>>> True

api = ChefAPI('http://chef.com:4000', 'chef-developer.pem', 'chef-developer', '11.2.0')
acl = Acl('nodes', 'i-022fcb0d', api)
print acl.is_supported()
>>> False

But if you pass string '12.0.0' when actual Chef server version is 11.2, you will receive an error when you try to build Acl object.

I have this integrated into my repo here:
https://github.com/freimer/pychef


[Code Addition Request]: Create an Advanced BMI Calculator using Python and Tkinter GUI

Have you completed your first issue?

[X] I have completed my first issue

Guidelines

[X] I have read the guidelines
[X] I have the link to my latest merged PR

Latest Merged PR Link
n/a
Project Description
I want to create an advanced BMI (Body Mass Index) calculator as a Python project with a graphical user interface (GUI) using Tkinter. This project should allow users to input their weight and height in various units, calculate their BMI, and categorize the result (e.g., Underweight, Normal weight, Overweight, Obese). The tool should include additional features like age and gender-based recommendations for ideal weight, as well as a clean, user-friendly interface.
Key Features:
Input fields for weight (kg, lbs) and height (cm, feet & inches).
A BMI calculation button that displays the result with category information.
Optionally provide an ideal weight range based on age, gender, and height.
Clear and reset buttons to reset inputs and output fields.
Clean, responsive GUI design using Tkinter.
Full Name
Aman
Participant Role
GSSOC

@amanver45 you can only raise 1 issue at a time and please read guidelines before raising issues on discussion page.


On a scale of 1-10 how production ready is it at this point?

Hey, although its stated in the description its not production ready yet, I am very interested in this project and wanted to ask, if someone who is particapting in this project to give a quick overview, how stable this version already is, what the major bugs at this point are and how long they think it will take to make this production ready. If possible I would also like to contribute

@EnterRavement We hope to have a production-ready beta in a month or two. It is currently not production ready in that you can't check out yet!


Missing requirement for JSX

I'm unsure why this is happening. Generated a fresh build from the website, including JSX. Everything is working for language-javascript, but as soon as I attempt to use language-jsx highlighting is dead. No error, nothing, it only seems to change the className by prepending a space.

My bad, apparently there was an on/off error, only sometimes visible in another part of the application.


Deploying application with just schema change is taking aroung 3-4 mins

Describe the bug
We have a vespa setup with one config nodes, 8 container nodes and 18 content nodes using K8s. We are trying re-deploying the application package after updating the schema with one field added to an existing schema. But this process is taking around 4-5 mins.
Is there any way we can reduce the time.
To Reproduce
Steps to reproduce the behavior:

Deploy an application with a schema which includes fields with attribute and indexing.
Add one field to the schema and deploy the application using prepare and activate.

Expected behavior
Is there any way to reduce the time taken to add a field to an existing schema.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

Infrastructure: Kubernetes
Versions [e.g. 22]

Vespa version
We used vespa:latest tag in the docker image
Additional context
Add any other context about the problem here.

You are asking because you consider using this directly towards users interactively?
There could be some things that could be sped up somewhat, but it's never going to be a good fit for that.
Schema changes should be viewed more like a code change both in terms of resources spent and risk profile.

Hey,
We observed that response time was slower when we use map fields instead of normal fields. We thought instead of using map fields we can update the schema every time a new field is introduced if the schema update process is fast.
Thanks ,
Dipan

We observed that response time was slower when we use map fields instead of normal fields.

No, that isn't true. In any case the point of using a map here is that you don't need to update the schema and therefore there is no delay.

Just wanted to clarify I mean search response time in the previous post and not the time taken to deploy application ackage.
Reference - https://github.com/vespa-engine/vespa/issues/19441
Thanks!

Yes, there it could be a difference, depending on what you do precisely, whether the fields have fast-search etc.

Note that in https://github.com/vespa-engine/vespa/issues/19441, for the second query, you use regular expression in the query (using matches instead of contains).

Got it... That cleared up my issue.
Thanks a lot!


function removeCorrespondentDevice added

executes a delete statement on table correspondent_devices; are there any other tables involved?
Table device_messages was always empty during testing.
The new function is used in byteball wallet to remove paired devices.

I've closed the duplicated pull request; all changed files are in this pull request
What about the 'trading bot' problem you mentioned? To solve this we need e.g. another flag to distinguish such devices from simple chat devices, or don't we? If I should look for a solution, please tell me which kinds of devices can be paired and how unlinking should be handled (e.g. handshake, subscribing/unsubscribing at bots,...)

Yes I think we should have a flag in conf (e.g. bIgnoreUnpairRequests) that says that we should ignore removed_paired_device commands received from peers.

This solution still leaves the problem, that a peer can remove a paired device (e.g. the bot) and after that will not receive any messages from the bot. The bot still sends messages because it ignored the removed_paired_device message.
Another solution:

device A accepts invitation from device B (bot)
device B sends pairing message to device A; in the message body it sends a flag, that device A must unsubscribe before removing device B from devices list
then, device B is not removable, but a 'unsubscribe' button will appear
when device A unsubscribes, a new message will be sent ('unsubscribing') to device B
then device B decides whether unsubscribing is allowed or not and sends an answer
device A receives the answer message and can handle it accordingly

Problem: what happens if device B never answers?
Solution:

wallet GUI allows hiding and unhiding of devices, so a user can decide to remove a device from the chat list, but messages will still be received. If necessary or wanted the device can be shown in chat list again.
messages from hidden devices will be shown on demand

Sorry for late response, github notifications somehow go unnoticed.
There is one problem with the proposed solution that it can be abused by device B to never allow unsubscribing itself.
Actually, I don't see any issues in bot's messages not being delivered.  It is a bot, there are no expectations, no feelings, if its messages are not being replied to.  It is not the case for humans, but we won't allow to set bIgnoreUnpairRequests flag in the GUI wallet.

Sorry for late response. Other work was important.
OK. I'll add the bIgnoreUnpairRequests flag; if set to true, the removed_paired_device will be ignored.
How can setting the flag be avoided in GUI wallet conf? Overwriting at startup?
Should there be a default?

OK.
It should default to false, will stay false in GUI wallets, and we don't expose this setting in the UI.  If a user edits it manually, he should know what he is doing.

flag bIgnoreUnpairRequests added


Add orientation and height fields to Badgelayouts API response

The Badges plugin API currently returns the following JSON structure for badge layouts for the following call

GET /api/v1/organizers/(organizer)/events/(event)/badgelayouts/

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "name": "event",
            "default": true,
            "layout": [
                {
                    "type": "textarea",
                    "left": "13.09",
                    "bottom": "49.73",
                    "fontsize": "23.6",
                    "color": [
                        0,
                        0,
                        0,
                        1
                    ],
                    "fontfamily": "Open Sans",
                    "bold": true,
                    "italic": false,
                    "width": "121.83",
                    "content": "attendee_name",
                    "text": "Max Mustermann",
                    "align": "center"
                }
            ],
            "background": null,
            "item_assignments": []
        }
    ]
}

Enhance this API response to include additional fields: orientation and height. This will help in defining the badge layout more precisely.
Proposed JSON structure:
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1,
      "name": "event",
      "default": true,
      "layout": [
        {
          "type": "textarea",
          "left": "13.09",
          "bottom": "49.73",
          "fontsize": "23.6",
          "color": [0, 0, 0, 1],
          "fontfamily": "Open Sans",
          "bold": true,
          "italic": false,
          "width": "121.83",
          "height": "100.0"  // new field
          "content": "attendee_name",
          "text": "Max Mustermann",
          "align": "center",
          "orientation": "portrait",  // new field
        }
      ],
      "background": null,
      "item_assignments": []
    }
  ]
}

These fields will allow for more flexible and detailed badge layout configurations, which are necessary for upcoming features.

@mariobehling I am willing to work on this issue!


Newsletter Section Addition

Is your feature request related to a problem? Please describe.
Adding the newsletter section in the footer of the website where user get regular update.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context

assigned to you @Damini2004

any work update @Damini2004 ?

Yes wanted to work but facing difficulity in setup the backend process any video for setup ?

@Damini2004 you can go through, readme
one contributor has also faced same difficulty,
I've explained each step in conversation, go through it
#138
let me know any errors, with SS ..

or simply if you are working on frontend,
just get the HTML from dango-web-app/templates
CSS and js code which is linked to that HTML from static folder,
comment the code involving the dango HTML syntax,
test and make changes to code
uncomment the django HTML syntax..

Hey @Damini2004 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Add more commands examples for editor setting

Pycharm:
pycharm-professional --line {line}  {filepath}

Hey,
Nice ui,
Some other ide commands:

pycharm-professional --line {line}  {filepath}
gnome-terminal -- vim {filepath} +{line}
terminator --new-tab -e "vim {filepath} +{line}"

Needs accomplish #12 to escape correctly commands

#12 is now fixed. I tried the commands for terminator and gnome-terminal but it does not work here, maybe a local problem


Support for Version Angular 1.3.*

When I run the command "bower install" a notification appears:
Unable to find a suitable version for angular, please choose one:
1) angular#>=1 <1.3.0 which resolved to 1.2.28 and is required by angular-bootstrap#0.12.0
Can they update the dependency to:
"dependencies": {
         "angular", "~1.3.0"
     }
Or is there a problem?

We have not yet upgraded enough components to be 1.3 compatible.  See the Angular 1.3 Label on many issues in this project.

Thanks.


Typical causes for that are processes with open fds, and leaked bind mounts.

        Ss   21:09   0:00 /usr/lib/libvirt/libvirt_lxc --name 44dc27545cca49afa30f2f277a38fde5 --console 23 --security=none --handshake 56 --background --veth vnet7
root      2073  0.0  0.3   9248  6448 pts/0    Ssl+ 21:09   0:00  \_ /.containerinit
root      2086  0.0  0.4  11820  8260 ?        Ssl  21:09   0:00      \_ /bin/logaggregator -logaddr :514 -apiaddr :80 -snapshot /data/logaggregator.dat

I am not currently sure how this is happening, I will continue to investigate.

Ok so reading more into this, creating a mount namespace creates a copy of the parent's namespace, so if a long-running job is created between the time of creating a volume and the time of trying to destroy it, this failure will happen as the volume will still be mounted in the child's mount namespace, regardless of whether it is mounted in the parent or not.
The solution here is to only mount the volume inside the container, so when the container exits we are free to destroy the volume, I'm just not sure how straight forward that would be.

Nice work! Looks like this is the root cause of #38 too. @benburkert we should make sure we avoid this in the new container runner.

To expand on my last comment, here is the description of CLONE_NEWNS (which creates new mount namespaces) from the Linux clone(2) man page:
CLONE_NEWNS (since Linux 2.4.19)
	Start the child in a new mount namespace.

	Every process lives in a mount namespace.  The namespace of a process is the data (the set of mounts) describing the file hierarchy  as
	seen by that process.  After a fork(2) or clone() where the CLONE_NEWNS flag is not set, the child lives in the same mount namespace as
	the parent.  The system calls mount(2) and umount(2) change the mount namespace of the calling process, and hence affect all  processes
	that live in the same namespace, but do not affect processes in a different mount namespace.

	After a clone() where the CLONE_NEWNS flag is set, the cloned child is started in a new mount namespace, initialized with a copy of the
	namespace of the parent.

To demonstrate the issue, creating and destroying a volume without containers started in between works fine:
$ sudo zfs create -o mountpoint=/mnt/test flynn-default/mount-test
$ grep test /proc/mounts
flynn-default/mount-test /mnt/test zfs rw,relatime,xattr,noacl 0 0
$ sudo zfs destroy flynn-default/mount-test
$ grep test /proc/mounts

However with a long running container in the middle:
$ sudo zfs create -o mountpoint=/mnt/test flynn-default/mount-test
$ grep test /proc/mounts
flynn-default/mount-test /mnt/test zfs rw,relatime,xattr,noacl 0 0
$ sudo unshare -m sleep 10 &
[1] 19659
$ sudo zfs destroy flynn-default/mount-test
cannot destroy 'flynn-default/mount-test': dataset is busy
$ grep test /proc/mounts
$ grep test /proc/19659/mounts
flynn-default/mount-test /mnt/test zfs rw,relatime,xattr,noacl 0 0

Once the container finishes, the volume can be destroyed:
$
[1]+  Done                    sudo unshare -m sleep 10
$ sudo zfs destroy flynn-default/mount-test

After poking at this a bit I found that libvirt-lxc apparently does the right thing and cleans up all of the mounts we don't want from the parent namespace. Unfortunately I think the explanation for this problem is more complex than initially thought. I wonder if there's a way for the mounts to leak despite that code?

@titanous libvirt does the correct thing in the child container process before execing the relevant binary, but it's the parent libvirt_lxc process which is in a new, uncleaned mount namespace (see here for an explanation of why it creates the new mount namespace in the parent rather than the child).

Upstream bug at: https://bugzilla.redhat.com/show_bug.cgi?id=1067489


Bring back old Centered Layout behavior

When first introduced, Centered Layout would only be active if there was a single editor (or if there was a horizontal split maybe? I never used that layout, so idk). If, while in the Centered Layout, a "split vertical" command was issued, the centered layout would be disabled until there was only one editor again.
In the most recent release (1.25.0), this behavior was changed such that, rather than disabling the centered layout while there's a vertical split, the editor stays centered with the same dimensions, and the split occurs inside this centered container. There was something in the release notes about how the old behavior was confusing or had unexpected results, but no details on what the actual unexpected behavior was.
I'm having trouble thinking of a situation in which this is ever what you want. For the Centered Layout to be most effective, the width of the editor should be close to the width of the actual text being edited, that way the text is actually centered in your view. When I say "give me another editor next to my current one," I never want two editors that are half the width of the text that I'm editing, but that's how the new centered layout behaves. You'd have to either

Resize the centered container for the new split layout and then resize it again back to the original dimensions once you're done with the split
Manually disable Centered Layout after splitting and manually re-enable it when you're back to one editor or
Keep the width of your centered window large enough to accommodate a split. But then it's not actually centered.

If not a full reversion back to the old behavior, can we at least get a configuration option to re-enable it? Obligatory XKCD
Centered:

Split:

@jechase thanks for the xkcd, that is one of my favorites.
I would only consider introducing an option if more users ask for this. So for now leaving this open and waiting for feedback.
fyi @joaomoreno

Related to #53694. I am using only single layout with always enabled and centered zen-mode for a long time. v1.25 just adds some extra gaps around tabs and nothing more. Also (according to #53694) the option zenMode.centerLayout has no effect at all, no matter false it or true.
I know Zen-mode isn't in priority for some reasons, but I hope that mode will be changed in near future. And Zen-mode will be really Zen-able, flexible and clean (like in Atom editor, for example).

Yes, we will consider bringing back some of the old behavior in the future.
fyi @joaomoreno

IMHO the centered layout option should remember its position respecting open vertical split editors

A single window
Two splits
Tree splits
etc...

So I would not have to resize my centered layout width every time I change the amount of opened splits.

@isidorn will it fix the ~regression~ as-designed feature (#53694) when tabs bar has a reduced size like an editor pane? 🤔

@isidorn should this rather be workbench.editor.centeredLayoutAutoResize?

@Ky6uk no, it will not. Sorry
@bpasero yeah, editor prefix makes change looking at other settings whcich have the editor prefix. Updating it...


XL lang with some similarities to Basil

I've just come across XL and am quite surprised by its capabilities and simplicity. It's default compiler is written in C++ and it can compile to native binary as well as to bytecode (for which there is a VM).
XL seems a bit similar to Basil when it comes to the goals, so it might be a good source of inspiration. XL is being actively developed, so there is also plenty of room to influence XL itself :wink:.

It does look pretty interesting, I hadn't heard of it before. I'll keep an eye out.


Feature: Log when a runner accepts a job

Happy to do this patch for you; right now it's silence until the runner yields a result, making it hard to debug things during initial setup.
Thanks for the great operator!

@erikh Hey! Sounds like a great addition 👍 How would you achieve it? Is there any flag that toggles the log level of the runner agent?

@mumoshu this is legit, enhancement label please

sorry I won't have time to do this patch!

We'd better file a feature request to GitHub Actions first, not here! Let's reopen or create another issue once it becomes possible.


Minor landing page changes

📝 Changed routes:

/

(view full size)

Commit 15dda66434406b48038112d486965d49f9b366d9 (https://thirdweb-pkdekyvzk.thirdweb-preview.com).


RFC: group futures related API in a futures mod

We are running into namespacing issues where good function names clash, eg spawn in glib refers to spawning processes but would be handy to spawn futures.
The idea floated on the chat channel is to group all futures related API in a futures module.
To do that we need to collect a list of the functions we would move and how they would be renamed.

See also https://github.com/gtk-rs/gtk-rs-core/pull/902

See also https://github.com/gtk-rs/gtk-rs-core/pull/528


Backport #487 to sdf9: support L16 pixel format

Support for the L16 pixel format was added in sdf10, so this back ports it to sdf9. Use Rebase and Merge.

#487

Codecov Report

Merging #959 (225bf3d) into sdf9 (72b77c2) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

:exclamation: Current head 225bf3d differs from pull request most recent head cca6286. Consider uploading reports for the commit cca6286 to get more accurate results

@@            Coverage Diff             @@
##             sdf9     #959      +/-   ##
==========================================
- Coverage   87.57%   87.55%   -0.02%
==========================================
  Files          63       63
  Lines        9901     9903       +2
==========================================
  Hits         8671     8671
- Misses       1230     1232       +2

Impacted Files
Coverage Δ

src/Camera.cc
81.16% <0.00%> (-0.44%)
:arrow_down:

Continue to review full report at Codecov.

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


Is it possible to make this also server-side ?

Hi
First of all thanks for this awesome starter kit , really helped me <3
I was wondering is it possible to also render pages server side whenever javascript is not available !?
Thanks in advance

I have no experience on ssr,but the issue11 said this starter kit cannot used with ssr

:disappointed: Why not ? it's so useful , is there any technical issue or difficulty ? Do you know any multiple page kit like this that is Hybrid ( server-side & client-side ) !?

https://nuxtjs.org/

FYI Vue-cli3 disable-index-generation


adding code of conduct file

Every HacktoberFest-2022 participating repository needs a code_of_conduct.md file
So I have created a well curated for this repository.
If everything looks good, you can merge it and add hacktoberfest-accepted label to it.

Hello @anamikarawat I want to work on this issue.

Can You Assign Me This Work?


Feature/fix rich assets precompile

Fix rich rake task assets:precompile failed to store non digest versions of assets, because of sprokets version 3 use fingerprints 64 chars length.

@Sergey-B Why canceled this request? I have meet that assets missing in production environment, I guess that it maybe resolved with your these commits.


[HackerNews] Failed to load content

Extension – HackerNews

Author:@thomaspaulmann

Description
Failed to load stories:

Steps To Reproduce

Launch Raycast
Type Hacker News and hit enter
Observe error: Failed loading stories / Error code 429

The current behavior
Extension is unable to load stories from Hacker News
The expected behavior
Raycast version
Version: 1.38.3
System information
OS: macOS Monterey
Version: 12.5

The issue was addressed, clsing for now.


List/Table Column width distribution

Is it possible to have a List option like this one? So you can manually distribute table column size evenly?

implemented in #869


Traditional Chinese Got Garbled

When I play some music on my channel and the name of the song is Traditional Chinese. I will get garbled like this.
http://imgur.com/crAXt98
My channel name also Traditional Chinese and got same issue.
Someone help?

Known bug in https://github.com/Kwoth/NadekoBot/issues/1366


memcached support getrange ？

redis:
GETRANGE key start end

@dormando  hi

this package is not maintained for years. i can recommend to read memcached wiki.
https://github.com/memcached/memcached/wiki

this package is not maintained for years. i can recommend to read memcached wiki.
https://github.com/memcached/memcached/wiki

Seen, not supported。  Can we support getrange?

memcopy substring ?

you're looking for getting a byte range within a key? not a range of keys, etc?

Object Storage Add Cache，  get(key, off, limit)     Read 4k from 4M，  Network card full。


(select): should have same error behavior as input

select's error state is not affected by form submit, select also doesn't support error messages (see: http://plnkr.co/edit/4nJFdsq4Z4ckpLfHVkAt?p=preview)

I've sorted out the error state in https://github.com/angular/material2/pull/4754.

awesome!

closing as dup of ##4611


Unable  to download PDF of Microsoft Dynamics 365 for Finance and Operations documentation

Please help me downloading PDF of Microsoft Dynamics 365 for Finance and Operations documentation.  As im getting error

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

ID: 784a9997-47ed-b2d1-980a-b453138e16ad
Version Independent ID: d57cdbe6-a216-41ec-80bf-01a0292587a8
Content: Microsoft Dynamics 365 for Finance and Operations documentation - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/fin-and-ops/index.md
Service: dynamics-ax-applications
GitHub Login: @MargoC
Microsoft Alias: margoc

Thanks for bringing this to our attention. We will work to get this resolved as soon as possible.

This issue has been fixed and you can now download the pdf.

Hi Kristin,Thank you so much for your support.Yes, i can download it.Thanks,Avinash DandySent from my Samsung Galaxy smartphone.
-------- Original message --------From: Kristin Fender<EMAIL_ADDRESS>Date: 23/03/2019  01:04  (GMT+05:30) To: MicrosoftDocs/dynamics-365-unified-operations-public<EMAIL_ADDRESS>Cc: avinashdandy<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/dynamics-365-unified-operations-public] Unable  to download PDF of Microsoft Dynamics 365 for Finance and Operations documentation (#1081) This issue has been fixed and you can now download the pdf.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/MicrosoftDocs/dynamics-365-unified-operations-public","title":"MicrosoftDocs/dynamics-365-unified-operations-public","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/MicrosoftDocs/dynamics-365-unified-operations-public"}},"updates":{"snippets":[{"icon":"PERSON","message":"@kfend in #1081: This issue has been fixed and you can now download the pdf."}],"action":{"name":"View Issue","url":"https://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/issues/1081#issuecomment-475753019"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/issues/1081#issuecomment-475753019",
"url": "https://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/issues/1081#issuecomment-475753019",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]


Using PIM and Access Reviews

how should managed service providers configure PIM and Access reviews for their staff that is accessing managed tenants?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b9072670-a990-3b3f-0849-de749c2eec98
Version Independent ID: a2681792-d66d-93fb-113f-a78bb4b57258
Content: Recommended security practices - Azure Lighthouse
Content Source: articles/lighthouse/concepts/recommended-security-practices.md
Service: lighthouse
GitHub Login: @JnHs
Microsoft Alias: jenhayes

@DeanGross we'll review your feedback and get back to you shortly. Thanks.

@DeanGross Please find the guidance here - https://docs.microsoft.com/en-us/azure/lighthouse/how-to/create-eligible-authorizations

@DeanGross We haven't heard back from you, so we will now close this issue. If this remains an issue, please reply and we will gladly continue the discussion.


Monitor Command not responsive

Hi,
I am able to use these commands - Reboot, Stop, Refresh & Restart.
However i am having trouble to turn the monitor on/off.
Can you please Guide ! Where i am making mistake.
{
module: 'MMM-AlexaControl',
position: 'middle_center',
config:{
image: true,
pm2ProcessName: "mm",
vcgencmd: true,
refresh: true,
restart: true,
stop: true,
reboot: true
}
},

I am completely new to programming, so unable to figure it out.. in terminal window
vcgencmd display_power 0
works just fine !

Hi, sorry I updated the module in the last days and I forgot to edit the config example. So that's the config you should use:
    {
        module: 'MMM-AlexaControl',
        position: 'middle_center',
        config:{
            image: true,
            pm2ProcessName: "mm",
            vcgencmd: "vcgencmd"
        }
    }

Works like a charm..
However, i was trying to create a switch called "news" -> that would direct me to Page 2, I created a switch called news using the code below, but alexa is unable to find the device named "news".
{                         module: 'MMM-AlexaControl',                         position: 'top_bar',                         config:{                                image: false,                                pm2ProcessName: "mm",                                vcgencmd: "vcgencmd",                                refresh: true,                                restart: true,                                stop: true,                                reboot: true,                                shutdown: true,                                monitor: true,                                pages: 2,                                devices: {                                           devices: [{                                           name: 'news',                                           port: 11102,                                           handler: _this.sendSocketNotification("PAGE_CHANGED", 1)                                         }                                         ]}                                }                 },
Please guide

If the syntax used is correct or not
Do i have to add switch "news" any where else such as, node_helper.js or in /translations/en.json
Any additional requirement that needs to be followed ?

Thanks in advance :-)

Your config seems to be right. I see that you have still configured two pages. Had Alexa find these devices? If she found you can rename the device for page two and you don't need an extra device. I'm don't really know why Alexa not discovered the device. Did you made any network changes?

I got it working ! Thanks for your Support !


Add optional tensor support for layer norm

We need optional output tensor support for layernorm op
Primary Issue #5044

Moreh team will address


Add check for spelling variant synonyms

Following up from #17725
We would like checks for

signaling -> signalling
center -> centre
fiber -> fibre
organiz* and variants  -> organis*

etc ?

@ValWood Would you like only the main term label to have the equivalent in British spelling, or all synonyms ?

I think for searching it should usually work OK if the main synonym has the British spelling....

main synonym ??

There used to be a file for OBOedit called GODict.DAT. I cannot locate it. I'm not sure it would be useful as, as far as I can tell, there were thousands of terms.

Sorry I mena term label.

Is this asking to support British spelling to be added as a synonym?

yes, at least for a few common words.


Follow up of 20.02 meetup

Description

Subtasks

[ ] publish slides
[ ] collect photos and videos

@sorskoot  where that content can be found?

Mm.. I somehow closed the issue my accident...


Updated demo.py with A/B/X/Y button example

Added code to show a simple example of the on-board A/B/X/Y button press detection and displaying the result on the display, as this feature of the Pico Explorer hardware was not being demonstrated in the initial demo.py example.

Great idea, thank you!


Add alert rules for reboot

add alert rule for reboot detection

Context
Moving network NRPE checks from charm-nrpe.
Testing Instructions
Tested with
rule_files:
  - reboot.rules

evaluation_interval: 1m

tests:
  # test two restarts firing only one alert
  - interval: 1m
    input_series:
      - series: 'node_boot_time_seconds{instance="test-model_1234_test-app_test-app/0"}'
        values: '100x5 105x2 107x5'  # boot times 100, 105 and 107
    alert_rule_test:
      - eval_time: 5m
        alertname: HostReboot
        exp_alerts: []  # no alert
      - eval_time: 6m
        alertname: HostReboot
        exp_alerts:
          - exp_labels:
              severity: warning
              instance: test-model_1234_test-app_test-app/0
            exp_annotations:
              summary: Host machine rebooted recently (instance test-model_1234_test-app_test-app/0)
              description: >-
                Host machine rebooted recently.
                  VALUE = 1
                  LABELS = map[instance:test-model_1234_test-app_test-app/0]
      - eval_time: 7m
        alertname: HostReboot
        exp_alerts: []  # no alert
      - eval_time: 8m
        alertname: HostReboot
        exp_alerts: []  # no alert
      - eval_time: 9m
        alertname: HostReboot
        exp_alerts:
          - exp_labels:
              severity: warning
              instance: test-model_1234_test-app_test-app/0
            exp_annotations:
              summary: Host machine rebooted recently (instance test-model_1234_test-app_test-app/0)
              description: >-
                Host machine rebooted recently.
                  VALUE = 2
                  LABELS = map[instance:test-model_1234_test-app_test-app/0]
      - eval_time: 10m
        alertname: HostReboot
        exp_alerts: []  # no alert
  # test no values during booting
  - interval: 1m
    input_series:
      - series: 'node_boot_time_seconds{instance="test-model_1234_test-app_test-app/0"}'
        values: '100x5 _x2 107x5'  # boot times 100 and 110, 2m no data during boot time
    alert_rule_test:
      - eval_time: 5m
        alertname: HostReboot
        exp_alerts: []  # no alert
      - eval_time: 6m
        alertname: HostReboot
        exp_alerts: []  # no alert
      - eval_time: 7m
        alertname: HostReboot
        exp_alerts: []  # no alert
      - eval_time: 8m
        alertname: HostReboot
        exp_alerts:
          - exp_labels:
              severity: warning
              instance: test-model_1234_test-app_test-app/0
            exp_annotations:
              summary: Host machine rebooted recently (instance test-model_1234_test-app_test-app/0)
              description: >-
                Host machine rebooted recently.
                  VALUE = 1
                  LABELS = map[instance:test-model_1234_test-app_test-app/0]
      - eval_time: 9m
        alertname: HostReboot
        exp_alerts: []  # no alert

and promtool
Unit Testing:  ./test_reboot.yaml
  SUCCESS
                                                                                [0.08s]

Release Notes

add alert rule for reboot detection

@rgildein can you please rebase the fork to make sure the tests pass? Thanks!

@rgildein can you please rebase the fork to make sure the tests pass? Thanks!

I rebase it, so hopefully it's ready for merging. @simskij


USB Audio support has been officially include in ArkOS

Hi,
Just sharing that USB Audio support has officially been added to ArkOS as of the 11/04/2023 OTA update.
Thanks,

Heck yea! That's amazing.
On Thu, Nov 30, 2023 at 8:57 AM christianhaitian @.***>
wrote:

Hi,
Just sharing that USB Audio support has officially been added to ArkOS as
of the 11/04/2023 OTA update.
Thanks,
—
Reply to this email directly, view it on GitHub
https://github.com/carloslmar/rg351v-usb-audio/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIFIR4N2QNFCAR463CLG2GTYHCNFJAVCNFSM6AAAAABABKOTDKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTQOBVGA3DMNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yea, enjoy


Fix the autofix bug

See the background info in #255.
I would suggest using the timestamp to avoid the infinite loop.
After talking with eslint guys, they suggest me I should use the output property. If output exists, this means eslint fixed/saved/touched the file. If output does not exist, this mean eslint did nothing. So you can use that field to break the infinite loop.
I think this is the proper fix
See https://eslint.org/docs/developer-guide/nodejs-api#cliengineexecuteonfiles

If they accept my PR, then we can use "fixedCount" to avoid infinite loop. See eslint/11214

See https://github.com/eslint/eslint/issues/11219#issuecomment-450699027


Implement copyFromBuffer, copyFromArrays, copyToBuffer and copyToArrays

I'm very inexperienced at C/rust ffi, so happy to get some feedback before adding all four functions and tests.
Closes https://github.com/georust/geos/issues/117

Is this crate concerned at all with m values? If they aren't supported anywhere else, should I remove them from these functions?

I added a couple more doctests. I think the new_from_buffer function signature should be simplified still, especially because it currently lets you pass in size: 3 but has_z: false and has_m: false. If we assume we never have m values then that makes this a little simpler.
The other thing to note is in get_as_buffer/copyToBuffer. It appears that GEOS always stores coordinates internally as 3 dimensions, so copyToBuffer will fill in NaN values for z coords. Should the API here handle repacking into a 2d buffer? For my case that's unnecessary because I'll be repacking again into arrow memory anyways

I added a couple more doctests. I think the new_from_buffer function signature should be simplified still, especially because it currently lets you pass in size: 3 but has_z: false and has_m: false. If we assume we never have m values then that makes this a little simpler.

size is independent from the m and everything as far as I can see: https://github.com/libgeos/geos/blob/0a55b3af552470754893485b51407cc0219dbaae/capi/geos_ts_c.cpp#L2435-L2443

size is independent from the m as far as I can see<EMAIL_ADDRESS>
That's so interesting; I should've known to look at the source! So passing in a buffer of XY is not a straight memcpy

I added a couple more doctests. I think the new_from_buffer function signature should be simplified still, especially because it currently lets you pass in size: 3 but has_z: false and has_m: false. If we assume we never have m values then that makes this a little simpler.

size is independent from the m as far as I can see<EMAIL_ADDRESS>
Oops I meant to write dims, not size. size is the number of coordinates in the array; dims is the number of dimensions; we should be able to infer dims from has_z and has_m

Time for the last part of the PR: fixing CI errors. :)
Don't worry about errors from valgrind though. Also, don't forget to rebase on master.

I updated with better docstrings, a bug fixed in as_buffer, better handling of m values

Clippy is still unhappy.

Clippy is still failing for the same reason.

Clippy is still failing for the same reason.

It is? The Clippy output is different in my last two commits. The first time it had a warning related to my changes; now all the clippy warnings are unrelated to my changes. I can change the lifetime syntax there if you'd like

Oh sorry, didn't pay attention. I opened https://github.com/georust/geos/pull/122 to fix it. In the meantime, please squash your commits.

I guess this is why on my own repos I usually let github squash my commits for me, because I'm inept at git 😂

I guess there's no way for me to re-open this PR, even if I push a new commit to the branch now; sorry about that! I'll have to open a new PR

My issue was I followed the second suggestion in https://stackoverflow.com/a/25357146 and ran
git reset --soft $(git merge-base master HEAD)

but then ran git push -f, forgetting to commit again 😆

thanks! didn't know you could do that

Me neither until we ended up in this situation. ;)

Thanks!

thanks for your help!


Create welcome.yml

Summary

Changes

Closes:
Task list

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.

.


use own protobuf tokens instead of JWTs

does token need to be its own package?

does token need to be its own package?

It's better this way IMO since it's not exactly related to anything else. We could also put it in harmonytypes.

does token need to be its own package?

It's better this way IMO since it's not exactly related to anything else. We could also put it in harmonytypes.

I think it'd be a good idea to put it there.


Using WebImage in asp.net core razor mvc

Sorry for posting a question here but I cannot seem to get an answer in SO so I am duplicating the question here in case someone can help me find the right direction.
I'm following this sample for working with WebImage. However I'm using asp-net core mvc in vs code.
Since there is no System.Web.Helpers where should I reference WebImage from? I tried searching and there are no explanation in aspnet mvc github wiki.

The WebImage library was designed to be used with ASP.NET 4.x, and not with ASP.NET Core. You might be able to add a reference to the System.Web.Helpers NuGet package if your web project targets dnx451, and the code might work, but there's no guarantee.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

I am getting the same issue. Do we have better way of handing image upload from a mobile device.


Fix overlap when used with Test Result Trend

Without clear, the pipeline stage-view overlaps the Test Result Trend graph that is floated to the right.

@svanoort it looks like the tests fail on HEAD for Windows due to line endings... Care to merge-squash this anyway?

Example of the problem without the clear


Possibly deprecate realpath

What's the issue?
realpath may not be as readily available as initially thought.
Why is this important?
Because users should be able to install things.
What are the steps to reproduce?
TBD, need to test on a fresh macOS (at least).
Any additional info?
See #3.
Any screenshots or other media?
Nope.

For the time being realpath stays as a dependency but is not mentioned in the README. This was done in 8520ea5e7521c50ae71798b0ea33eac1e4c85672.
However, it would be great if it weren't a dependency in the first place, so this issue stays open.

Done in #6.


added dictionaries for weather-icons, aka nerd fonts

This adds a few new dictionaries to the lib/constants.py file so that people using nerd-fonts or their own custom font with weather-icons can use this more easily (assuming the new view is implemented).
I know you already assigned this to @moonwitch, but I was bored and had time. Feel free to ignore this if you want. I hope that's ok.

I hope that @moonwitch will be glad that someone already implemented some part of her work :)

I hope so too. Thanks! I look forward to the new view. :)


Conditions: Avoid unnecessary updates in NRSchedOperator

NUMAResourcesSchedulerOperator has the same minor error comparing Conditions as NRO had and was solved in #168
This come from some code duplication in both components that should be approached
https://github.com/openshift-kni/numaresources-operator/blob/f52e0bc30807e431b3cd2bf82769225308fea6d5/controllers/numaresourcesscheduler_controller.go#L192

solved by #170


API to walk through module scala instances

I would like to be able to walk though a module hierarchy (for this particular application, the Scala instances) in order to collect information about the design (or in the future, generate monitor code to be bound later).
So an API to traverse through the module instances would be helpful.

Do you want this to be done in Chisel or in Firrtl? I've requested something similar to this for the purposes of auto-generating some clock constraint information at the Firrtl level. Assuming the module name is unique, @albert-magyar wrote a cutesy analysis thing that can map the module name to its absolute instance path. (If the module name is not unique, it'll get all instance paths to that module). I'm pretty sure @jackkoenig @azidar are aware of how powerful something like this can be, and really, I think this is where you can really exercise Firrtl potential...

I think there are reasons you would want it in both. In Firrtl for obvious
reasons, but also in Chisel it can be nice to be able to inspect the actual
Chisel Scala objects.
On Thu, Mar 2, 2017 at 3:16 PM Angie Wang<EMAIL_ADDRESS>wrote:
Do you want this to be done in Chisel or in Firrtl? I've requested
something similar to this for the purposes of auto-generating some clock
constraint information at the Firrtl level. Assuming the module name is
unique, @albert-magyar https://github.com/albert-magyar wrote a cutesy
analysis thing that can map the module name to its absolute instance path.
(If the module name is not unique, it'll get all instance paths to that
module). I'm pretty sure @jackkoenig https://github.com/jackkoenig @azidar
https://github.com/azidar are aware of how powerful something like this
can be, and really, I think this is where you can really exercise Firrtl
potential...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ucb-bar/chisel3/issues/541#issuecomment-283784126, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIL84vws-lVInPQMq6XL_NauNgLW4JZvks5rhzG5gaJpZM4MRfDZ
.

For this particular need I'm currently encountering, in Chisel (I want to access the LazyModule parameters so that I can create a separate breakout unit level tester with the same parameters as the final instantiation).  But I've talked to jack about firrtl passes also for other purposes in the past also.

Related: #414

This is implemented in #1077 !


Package manager key 'nuget' was not registered

I tried the new   #r "nuget: FSharp.Data"  but got this from the error checker:
error FS3216: Package manager key 'nuget' was not registered
I use the latest FCS 34.0.0. and this code
let checker= FSharpChecker.Create(suggestNamesForErrors=true)
checker.GetProjectOptionsFromScript(fileFsx, sourceText, otherFlags = [| "--langversion:preview" |] )

Do I need to register nuget first?

@matthid

Additionally, I don't like magic scanning of dll files at locations I don't know.

Regarding the deployment of the extension assembly, there is supposed to be a known list of locations to scan for:
https://github.com/fsharp/fslang-design/blob/a356f700adf1a1323329225104ecc52081220a9b/tooling/FST-1027-fsi-references.md#handler-resolution
If you feel that mechanism is not the right approach, could you bring the points https://github.com/fsharp/fslang-design/issues/167 and/or propose edits to the RFC?

Having a compiler flag to provide a folder to search for or direct file path

As of now, the FSI implementation (that FCS relies on) doesn't follow the scanning mechanism.
It seems any assembly which is loaded via #r is scanned for those extensions and, possibly, passing the assembly as normal reference will also work.

Give it the "System.Type" directly (preferred)
(Turn off the autosearch feature)

It may be possible to rely on the fact that this member is checked, and if None, the dynamic resolution takes place:
https://github.com/dotnet/fsharp/blob/95d89777032f8191b1f991f0b33977c5e4ccb5bf/src/fsharp/DependencyManager.Integration.fs#L154
Most of the initial work in the compiler was added in this PR:
https://github.com/dotnet/fsharp/pull/5850/files
I'm waiting for couple of parameters to be reintroduced in dotnet/fsharp and flow through FCS to start working on adding the tests for this PR.

@goswinr ok, some more actuals:

my code sample is not correct, getting a ParseTree doesn't run any code
to use extensions, you need to pass additional --compilertool:.. arguments with path to folder containing the extensions assemblies
none of the Compile* method will actually carry the TcConfigBuiler that is first correctly created by call to GetProjectOptionsFromScript
there are few hardcoded paths that are used by the DependencyManagerIntegration infrastructure, it seems like the only way right now that using the dependency managers can be achieved for compile of AST scenario is to put the extension assemblies there (on windows, I get c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\commonextensions\microsoft\fsharp\)

Reminder: my knowledge of FCS is very bare.
@matthid, there is no autosearch beside the --compilertool and what's already in place for type provider tooling, AFAIU.
updated code sample:
#r "artifacts/bin/fcs/Debug/net461/FSharp.Compiler.Service.dll"
open FSharp.Compiler.SourceCodeServices
open FSharp.Compiler.Text
let checker = FSharpChecker.Create(suggestNamesForErrors=true, keepAssemblyContents=true)
let sourceText = """
#r "paket: nuget FSharp.Data"
let v = FSharp.Data.JsonValue.Boolean true
"""
let pathToExtension =  @"C:\dev\src\github.com\fsprojects\paket\src\FSharp.DependencyManager.Paket\bin\Release\netstandard2.0\"
let projectOptions,errorInfos =
  checker.GetProjectOptionsFromScript(@"c:\test.fsx", SourceText.ofString sourceText, otherFlags = [| "--langversion:preview"; sprintf "--compilertool:%s" pathToExtension |] )
  |> Async.RunSynchronously

let wholeProjectResults, answer = checker.ParseAndCheckFileInProject(@"c:\test.fsx", 0, SourceText.ofString sourceText, projectOptions) |> Async.RunSynchronously
let errors,a,assembly = checker.CompileToDynamicAssembly([wholeProjectResults.ParseTree.Value], "foo", [], None) |> Async.RunSynchronously


application: add controller

What type of PR is this?
/kind feature
What this PR does / why we need it:
the implement of #280
1. Resource creation:
creates resources based on an Application object.
currently,  supports two combinations:   GitRepo + Kustomization and HelmRepo + HelmRelease.
2. Status synchronization:
the status of all related configurations created will be synchronized to the Application object.
3. spec synchronization:
changes to variables in the GitRepo, HelmRepo, Kustomization, and HelmRelease structs in the Application object will be synchronized to the corresponding resoucrce.
4. Resource deletion:
when the Application object is deleted, all the resources created by the Application will be deleted.
also the app in cluster will be removed.
5. Test cases:
source come from https://github.com/stefanprodan/podinfo

Test Case 1: app-gitrepo use a GitRepo as its source, with two syncPolicy containing "podinfo" and "webapp", and a fleet containing two attached clusters.
Test Case 2: app-helmrepo use a HelmRepo as its source, with one syncPolicy containing "podinfo",  and a fleet containing two attached clusters.

/hold

/hold cancel


Subscriptions fail to create WebSocket connections

Describe the Bug
I have a FastAPI server with Strawberry. It requires to have a WebSocket system for chat functionality and hence it uses the Subscriptions.
While the server is up the WebSocket connection gets created in the playground of one window and doesn't in another window.
The developer tools console gives the following error:
WebSocket connection to 'wss://my_url.com/api/graphql' failed:

In the network tab, except the request URL everything is empty. Further, there are no errors visible in the server logs
The setup is as below:
@strawberry.type
class Subscription:

    @strawberry.subscription
    async def test(self, data: str) -> AsyncGenerator[str, None]:
        print("Test Subscription")
        yield "Hello World"
schema = strawberry.Schema(query=Query, subscription=Subscription, mutation=Mutation)

graphql_app = GraphQLRouter(schema, graphiql=None)

app = FastAPI(docs_url="/docs", redoc_url=None)

audio_router = APIRouter()

app.add_middleware(
    CORSMiddleware,
    allow_origins=["*"],  # Allows all origins
    allow_credentials=True,
    allow_methods=["*"],  # Allows all methods
    allow_headers=["*"],  # Allows all headers
)

app.include_router(graphql_app, prefix="/api/graphql")

In the graphql playground i get:
{
  "errors": [
    {
      "isTrusted": true
    }
  ]
}

Now, I have tried it in multiple browsers, their windows on multiple operating systems as well.
The problem doesn't occur on Windows Chrome browsers and Mac Safari
Though it is intermittently faced on MacOS chrome browser.
The weird part is that it on the chrome browser, it works fine in one window while doesn't in another.
I faced this initially on the deployed server which has TLS but it is reproducible locally as well (again happens 50% of times).

System Information

Operating system: Mac OS Sonoma
Strawberry version (if applicable): 0.215.1

Additional Context

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

Just to confirm: did you test the websockets using GraphiQL in all these cases or does the issue also happen when you use a graphql client library like Apollo for example?


Move boundaries and assets folder into public

Create React App (CRA) doesn't allow to import files or modules from outside of /src; however there is an 'escape hatch' that allows for data files / assets to be called from the /public folder https://create-react-app.dev/docs/using-the-public-folder/
The files in /boundaries are currently normal .js files, none of which have an exported member (so it isn't realistically possible to import them anyway)
CRA doesn't explicitly recommend to have json/geojson/data-like files in public folder, but this might be the easiest solution given the already existing boundary data and also for some way for GitHub hooks to continually update data as it is pulled
https://create-react-app.dev/docs/using-the-public-folder/#when-to-use-the-public-folder
A suggested (albeit heavy-handed) approach:

These js files should be converted in to .json or .geojson files (remove the var declarations in each of the boundary files and update the filename to .json or .geojson - if .geojson must be valid geojson https://geojsonlint.com)
Move these .json/.geojson in /public/boundaries so that GitHub actions can keep pointing to this folder and do its update data thing;
Create a custom hook that actually fetches the json/geojson from the public folder so the app can tangibly use the data. Recommended to be able to pass in the file location as an argument to the hook

https://reactjs.org/docs/hooks-custom.html
https://stackoverflow.com/questions/46793310/fetch-local-json-file-from-public-folder-reactjs

Based on last week's discussion (the exact time and date is irrelevant) we agreed to:

have the data as pure .json or .geojson
lets see what happens if we put in public folder first

if performance is notably horrible, maybe put it in /src/data and webpack will bundle with rest of app
long-term-ish approach is to house the data outside of the app entirely, as it should, like an S3 and the app will fetch the data somehow. and also it might play nicer with GH actions auto-updating the datasources

create some kind of serializer that kind of polishes the raw data and adds a bit of scaffolding to easier facilitate data ingestions (consumption?) that the map components do https://github.com/codeforboston/mattapan-mapping/pull/74#discussion_r750626832


Issue-19: handling refs as in displaying them as it is and giving the…

PR in regard to https://github.com/mohsen1/json-schema-view-js/issues/19

I usually recommend resolving refs before passing it to this directive.
Automatically rendering refs might not be desired. Please add an option for enabling this and make it off by default.

Can do that although IMHO refs are integral part of jsonschema so whats the harm in displaying them?

Per JSON Schema spec, refs are not part of json schema. I appreciate your work and am interested in merging this.

What you talking about. Its there in the spec. http://json-schema.org/latest/json-schema-core.html#rfc.section.8

@mohsen1 still not convinced about having it handle refs by default? I will make it optional if thats what you want.

Okay. Made it optional. Pls check and release it. My product depend on this

+1 I'll merge once the test is fixed.

Handling $ref's will be very useful. Is there an intent to proceed with this PR ay time soon?

I don't have time maintaining this. My suggestion is to resolve refs using json-refs npm package before sending it over to this package.


Rework how captured values are written to GeneratorBailInInstrs

This PR fixes an existing bug in the generator JIT implementation found by @rhuanjl.
In order to generate bail-in code, the backward pass copies "captured value" information from a yield's BailOutInfo into the associated GeneratorBailInInstr. The current implementation was copying bailOutInfo->capturedValues->constantValues on every pass over the yield instr. However, in a loop the yield instr is passed over twice, and each time entries are moved from bailOutInfo->capturedValues into bailOutInfo->usedCapturedValues. On the second pass over the instr, the current implementation is overwriting the constant values list with an empty list.
With this change, the constant values are transferred to the bailin instr directly in the code that processes bailout constant values and copy prop syms.

So there was a legitimate problem, not just an over zealous failfast? Good to see it fixed.

@MikeHolman would you mind taking a look at this PR for me? This bug is getting in the way of the other generator-related work that I'm doing.


SingleVM: Use templates to get SSH IP

Use templates to retrieve the SSH IP vs bash command pipeline. This enables more efficient execution.
This change moves all of verify.sh to use templates in all places where it is possible to do so.
Signed-off-by: Manohar Castelino<EMAIL_ADDRESS>

Coverage decreased (-0.05%) to 64.726% when pulling d463dbbc0feacfff876b4c6fcf099beb72fa5871 on mcastelino:singlevm_templates into ccd14adba32921d45ab69b6b4d441c62272856d1 on 01org:master.


Comments for variable names

From @jaredly’s https://twitter.com/jaredforsyth/status/972312891083849729
I think a docblock/attribute attached to a let binding, so that we can have short binding names and long prose description for said names on hover would be really nice.

We have these for module let bindings. Atom/VSCode should show the documentation for them on hover. There's just a few details that need to be improved, like the fact that you can't have leading starts on the doc comment without it being interpreted as a markdown list. Other than that, it's a great feature so far.

It looks like the markdown link doesn't work in your example.

@zploskey that's probably an artifact of Atom's/LSP's rendering. As I mentioned there's some issues with it. It would be great if someone could figure out the best approach to letting us use markdown in doc-comments, with leading stars. I think the fix could be in the LSP implementation?

@jordwalke I see what you mean about leading *s being interpreted as a markdown list. It looks like ocaml-language-server parses ocamldoc and renders the result to markdown. A special case in that parser could probably fix that (and as far as I know we can still do lists with -). Same for links. Is it intended that doc comments be written in markdown rather than ocamldoc format? Where does that leave us with tools to generate documentation?
I'm quite keen on getting the Reason documentation story ironed out. If docs are easy to write and generate from doc comments and well integrated in the editor I expect it will help adoption. People tend to not be very excited about writing documentation so the workflow needs to be smooth for at least getting API docs.

I would prefer markdown comments as opposed to ocamldoc which no one knows. Can you show me where the assumption about ocamldoc is hard coded?

There may be some other reasons to use ocamldoc (other documentation automation tools) and if that’s the case the other approach is to parse markdown in Reason parser and convert it to ocamldoc at parse time. There are libraries for helping to parse markdown. Let me know what you think.

The files relating to ocamldoc and parsing to markdown are here: https://github.com/freebroccolo/ocaml-language-server/tree/v1.0.28/src/bin/server/parser/ocamldoc
It looks like ocamldoc.intoMarkdown() gets called on hover.

I see. So a custom flag in language server which disables that for Reason won’t exactly work because we want to view docs for libraries that were written in OCaml too. We need to know the source language that the comment was written in for that to work.
It might be easiest to just convert markdown into ocamldoc on the way into the parse tree.

My reason-language-server handles both ocamldoc and markdown, based on the source file format. Feel free to open an issue on the ocaml-language-server repo.


How to use autoadb with stayawake

When I tried to use autoadb I get the following error. Can someone share how to specify the device?

Ideally, I would like to start the emulator upon pluging in with stay-awake feature, so i don't need to pull the cmd and type commands. Is this possible?

On windows, do not quite {}:
scrcpy -s {}

autoadb scrcpy -s {} --stay-awake

Thanks, I got the autoadb to work.
The screen however turns off after a few sec. I tried, none of them helped keep the phone on. That's Galaxy S8 if it matters.

autoadb.exe scrcpy -s {} --stay-awake
autoadb.exe scrcpy -s {} --stay-awake --turn-screen-off
autoadb.exe scrcpy -s {} --stay-awake --turn-screen-off -Sw

USB

Does it work without autoadb on your device?
scrcpy -Sw

Over USB or wifi?

when use wifi , i cant stayawake. Is it a problem?

when use wifi , i cant stayawake. Is it a problem?

0e4a6f462bcc628af00896eea38aa883d68acc88


fix: Bind status bar text with respective manifest

Associate status bar command with manifest which generated status text.
Fixes https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/issues/478

CC: @fbricon

CC: @fbricon


BlockBiCGSTB

Added a block version of BiCGSTAB.

Coverage decreased (-0.3%) to 97.278% when pulling 8c75dc5387643aa68d71db715c0ac7cbb11108a0 on erantreister:master into e142dc6a20d78584276d05bb71cfcb8847ebe39b on lruthotto:master.


ssh by tag

Nice tool!
might be cool (if not a little more expensive) if you could ssh by tag.. e.g.
sshaws -t Name:worker1

obviously if the particular tag is not unique.. you have troubles....

Hi, thanks for the suggestion.
How would you expect it to handle the situation with non-unique tags?

die and say these instances ids (i-1, i-2, i-3 ) all have that tag... ?


set up test files, a little css

Hey @StephanieEA @bekahlundy ,
We did a lil bit of CSS, and got the test suite set up. I want to write tests as we go, and we are about to do some more CSS too. Peace! Let me know what you think.
Dylan

Looks good!


Removing the role field of the OpenStackDataPlaneServiceSpec

should we undraft this?

/test all

recheck

recheck

some kuttl tests need update: https://github.com/openstack-k8s-operators/dataplane-operator/blob/main/tests/kuttl/tests/dataplane-service-custom-image/00-assert.yaml#L122-L132

/lgtm

/override rdoproject.org/github-check


Cannot cast Large Types to normal arrow types

Describe the bug
I am reading a parquet table, where one parquet file contains large arrow types, and one parquet file with normal arrow types. Datafusion doesn't like this and spits out an error that it cannot map the file schema to the table schema.
This even happens when I provide ParquetReadOptions with a schema that contains the normal arrow types. PyArrow for example has no issue reading these mixed large/normal types parquet table.
Plan("Cannot cast file schema field struct of type Struct([Field { name: \"x\", data_type: Int64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: \"y\", data_type: LargeUtf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }]) to table schema field of type Struct([Field { name: \"x\", data_type: Int64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: \"y\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }])")

https://github.com/delta-io/delta-rs/actions/runs/7045987181/job/19176836034?pr=1926
To Reproduce
stream = context
            .ctx
            .read_parquet(locations, ParquetReadOptions::default().schema(&file_schema))
            .await?;
            .execute_stream()
            .await?
            .map_err(|err| {
                ParquetError::General(format!("Z-order failed while scanning data: {:?}", err))
            })
            .boxed();

Expected behavior
No response
Additional context
No response

I think it doesn't support structs as of now: https://docs.rs/arrow-cast/49.0.0/src/arrow_cast/cast.rs.html#1174

@Dandandan can we get that support in? We just need to traverse the struct and check if each field is castable or not

Someone needs to pick it up and implement it. I advise you to create an issue in https://github.com/apache/arrow-rs

@Dandandan can we get that support in? We just need to traverse the struct and check if each field is castable or not.
I could also give it a shot (not that well experienced with Rust yet but I am getting along :) )


readme: link to nix package is labeled "NixOS"

Describe the bug
nix can be used on any linux distro (and even some non-linux OSes, like MacOS/darwin), not just nixos.
the correct label for this link would be "nixpkgs", not "nixos".
To reproduce
go to https://github.com/localsend/localsend?tab=readme-ov-file#download
Expected behavior
the nixpkgs package should be labeled "nixpkgs"
Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
idk if this should be a bug report, but there is no "documentation issue" template.

Sounds reasonable

@lolbinarycat You can now close this issue as it as been solved :)


Branch time trial

Changed CommandResult from interface to abstract class
Added some attributes for time trial mode to FlashcardCommandResult class

Nice. Thanks


Gemini support

This can definitely be done in a separate PR, but in general what are your thoughts on forwards compatibility from Gopher to Gemini? For example we could have a layer for Refresh.GopherFrontend that converts serializes Gophermaps as Gemtext
Should that be done in Bunkum.Protocols.Gemini or as a separate package?

This can definitely be done in a separate PR, but in general what are your thoughts on forwards compatibility from Gopher to Gemini? For example we could have a layer for Refresh.GopherFrontend that converts serializes Gophermaps as Gemtext
Should that be done in Bunkum.Protocols.Gemini or as a separate package?

it wouldn't be too hard to write a Gemtext serializer for Gophermaps, although i think that should probably be a separate package

We should probably provide some docs on generating certificates and setting up Bunkum to use them but I think it's okay for now


SC-43 # Changed --stage to --env

Changed

BREAKING CHANGE: --stage flag to --env, functionality has not changed.

LGTM 👍


Fix step function to not reset every step when using auto-reset

Per now, if using auto-reset, the env is reset every single step
if self.auto_reset:
        obs_re, state_re = self.reset_env(key_reset, params)
        # Use lax.cond to efficiently choose between obs_re and obs_st
        obs = jax.lax.cond(
            done,
            lambda: obs_re,
            lambda: obs_st
        )
        state = jax.lax.cond(
            done,
            lambda: state_re,
            lambda: state_st
        )

This is fairly expensive, and can be avoided by using cond to only call the reset function when needed, which saves around 504 calls to the reset function per game:
if self.auto_reset:
        # Reset the env only if done to avoid generating new state every step
        obs, state = jax.lax.cond(
            done,
            lambda: self.reset_env(key_reset, params),
            lambda: (obs_st, state_st),
        )

I'm not a Jax expert, but as far as I can tell, the above example should work.
Doing this, I observe an increase in steps per second of more than 30%

I am surprised jax can't optimize this part out. I'll take a look and benchmark as well.


[IREE-HAL-FENCE] Temporary fix for iree_hal_fence > 32

-- This commit includes a temporary fix for iree_hal_fence > 32
-- Refer: https://github.com/iree-org/iree/issues/11652
Signed-off-by: Abhishek Varma<EMAIL_ADDRESS>

Closing this since I opened another PR with the change here.