Colour change for reaction bubbles

Details
With mentions we made it so that green is the color to indicate your own mentions. We need to update reactions to use the same colors (green100/green600).
Fixed Issues
$ https://github.com/Expensify/App/issues/18530
Tests

Testing steps:

Open a chat in New Expensify
Hover over a message sent by another user
Select a reaction from the reaction pop-up that appears
Observe the reaction below the message and confirm the text and background colour are green.

[x] Verify that no errors appear in the JS console

Offline tests

No behaviour should change in offline mode.
QA Steps

Testing steps:

Open a chat in New Expensify
Hover over a message sent by another user
Select a reaction from the reaction pop-up that appears
Observe the reaction below the message and confirm the text and background colour are green.

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/puneetlath in version: 1.3.15-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.15-12 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Death Indicator marker removes the Bounty Hunter arrow

This is down to them both using the same arrow.
Issue made for frezzy on the Discord

The Death Indicator plugin no longer exists.


Move Serializer Exceptions to their own class file

On hold due to issues observed here: https://github.com/loadsys/CakePHP-Serializers/pull/57#issuecomment-79532693


computable module for protoDUNE-HD added

computable module for protodune-vd Xe light also added

Does this require files to be installed in StashCache?  Those should get installed before these go in.
<dunegpvm12.fnal.gov> ls /cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/PhotonPropagation/ComputableGraph/hd
ls: cannot access '/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/PhotonPropagation/ComputableGraph/hd': No such file or directory

Also the vd one is not there.  Either Ken Herner or I can help install files in StashCache for you.
ls -d /cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/PhotonPropagation/ComputableGraph/vd
/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/PhotonPropagation/ComputableGraph/protodune_vd_128nm_tf2.6

Okay -- files are there.  Merging.


feature: preact build --watch

I am testing beakerbrowser.com and would like to create a preact web app with it. So I ran:
preact create material beaker-webapp
cd beaker-webapp
yarn
yarn build

As beaker browser is able to serve a folder with hot reload, I would like to automatically build my webapp on every changes of any files. I did not find a way to build --watch.
The watch command run a standalone server and I got an error if I try yarn build -- --watch.
Any ideas to help decentralized web development?

Building on every file change is an expensive and slow operation, build command means creating a pre-render index.html with optimised & production ready JS bundle, chuncks & CSS. Do you need that to happen on every file change? now, we don't have watch for production builds and not sure any other CLI has or supports it, but we sure have watch and hot reload for dev mode!
potential solution idea:
If I was you, I would use preact watch while I am developing, and point beaker browser to serve my static build folder where I run yarn build on git commit hook. check out husky to see how you run build and update beaker folder when you commit your code: https://www.npmjs.com/package/husky
please let us know if that helps!

I haven't tested it, but this plugin may be what you're after. We don't pass along flags to the webpack binary directly, which is why build --watch wasn't working for you.

@developit @zouhir I misspoke myself. I do not want to watch on production build, I would like a preact watch without the development server. But you are right, there is no special needs to have files served by beaker browser rather than the development server. I was too much into the documentation of beaker browser when testing out preact development with beaker browser. See their documentation and the paragraph about livereloading embeded in the browser.
Maybe @lukeed's solution is a good answer: having webpack-dev-server to write bundle files to the file system.


All my changes

This is not granular enough for my taste.
Sorry, it is the first time, will do better from now on :-)

Thanks!  Awesome changes.  I'll try to get this released in the next couple of days.

Absolutely no pressure. Really. It just felt a bit long with no news :-)
Please release as you wish (when you get in all that you want for this version, when you have time, whatever)
Thank you very much,
Mihai

From: Hiram Chirino<EMAIL_ADDRESS>To: Mihai Nita<EMAIL_ADDRESS>Sent: Monday, 30 January 2012, 14:08
Subject: Re: [jansi-native] All my changes (#2)
Thanks! Awesome changes. I'll try to get this released in the next couple of days.

Reply to this email directly or view it on GitHub:
https://github.com/fusesource/jansi-native/pull/2#issuecomment-3728910


Question on APIs

Hello,
I want to know which API this app is using to display daily counts (confirm, recover, decease, active) for district wise results. I found this National/State/District Level : Latest cumulative/daily counts but its cumulative. This National/State/District Level : Specific date cumulative/daily counts has 404 status.

This: https://api.covid19india.org/v4/data.json.  Example:

The YYYY-MM-DD in https://api.covid19india.org/v4/data-YYYY-MM-DD.json represents the date. As an example, try https://api.covid19india.org/v4/data-2020-07-26.json.


Export custom timeline not codepen

Hello Hello 👋
I came across this awesome project through the Amazing Pete Barr feed, is there a way to export from a JS file that has already the timeline not from codepen? i mean i have a JS file that has the timeline and want to add a button to export it from the same file.
Not really an issue, just a question :)
Have a great day
A

It's not just limited to CodePen URLs, you can use any HTML URL that contains a GSAP animation/timeline.


user_info being copied each time a new chunk is transferred to the GPU

user info should be copied only once to the GPU, regardless of the number of chunks.  Also, the code needs to take this into account when calculating the chunk size, etc, because user info could in some cases be quite large.  If user info is too large to fit on the GPU, the code must return an error.

fixed


Enhance Add -Wshadow-field compile option to avoid unexpected shadowing behavior

Proposed changes
Shadow fields usually make mistakes, add -Wshadow-field compile option to avoid unexpected shadowing behavior.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


static OAI-PMH implementation

"Static Repository" = XML file with metadata records at specific url, following static repository schema
http://www.openarchives.org/OAI/2.0/guidelines-static-repository.htm
https://www.openarchives.org/pmh/
http://www.openarchives.org/OAI/2.0/guidelines-static-repository.htm
http://www.openarchives.org/OAI/2.0/OAI-PMH-static-repository.xsd

documenting info and XML template in branch oai-pmh

closed with #11


Expose CURLOPT_POSTREDIR

The CURLOPT_POSTREDIR option is e.g. required when the site is redirecting from not-slash-terminated to slash-terminated urls. Currently, the safe wrapper does not have a way to set CURLOPT_POSTREDIR, and the curl-sys crate doesn't have constants for CURL_REDIR_POST_301, CURL_REDIR_POST_302 , CURL_REDIR_POST_303 and CURL_REDIR_POST_ALL, which are defined here.

Hey I think this is already added by @sagebind in https://github.com/alexcrichton/curl-rust/commit/386e2c4429ec93803c27fe8eaa19c2b95c8bbfe9 about five months ago. Can this change be released so that it'll be available to everyone?


results tableView height is too big

the results i am showing are + 20 search results and the tableView is not within the superview so i can't scroll the tableView till the bottom, and in documentation you said maxResultsListHeight can set the max tableView height but it seems you removed it from source code and the tableView is private, so simply you gave me no workaround, please advise

maxResultsListHeight was not removed and it's declared open. Are you using the last version of the code?


ModelCheckpoint  can't work properly with filename which contains named formatting options containing dots

🐛 Bug
pytorch_lightning.callbacks.ModelCheckpoint  can't work properly with filename which contains named formatting options containing dots like this: filename="epoch={epoch}-mAP@0.50={val/mAP@0.50:.4f}"
To Reproduce
# Model
class MyModel(LightningModule):
	...
	def validation_epoch_end(self, validation_step_outputs):
<EMAIL_ADDRESS>0.2)

# config.yaml
trainer:
  accelerator: gpu
  devices: 1
  callbacks:
    - class_path: pytorch_lightning.callbacks.ModelCheckpoint
      init_args:
        filename: "epoch={epoch}-mAP@0.50={val/mAP@0.50:.4f}"
        save_last: True
        save_top_k: 1
        monitor<EMAIL_ADDRESS>        mode: "max"
        every_n_epochs: 1
        auto_insert_metric_name: False

Traceback (most recent call last):
  File "main_cli.py", line 6, in <module>
    cli = LightningCLI()
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/utilities/cli.py", line 528, in __init__
    self._run_subcommand(self.subcommand)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/utilities/cli.py", line 783, in _run_subcommand
    fn(**fn_kwargs)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 741, in fit
    self._fit_impl, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 685, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 777, in _fit_impl
    self._run(model, ckpt_path=ckpt_path)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1199, in _run
    self._dispatch()
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1279, in _dispatch
    self.training_type_plugin.start_training(self)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 202, in start_training
    self._results = trainer.run_stage()
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1289, in run_stage
    return self._run_train()
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1319, in _run_train
    self.fit_loop.run()
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/loops/base.py", line 145, in run
    self.advance(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/loops/fit_loop.py", line 234, in advance
    self.epoch_loop.run(data_fetcher)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/loops/base.py", line 151, in run
    output = self.on_run_end()
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 298, in on_run_end
    self.trainer.call_hook("on_train_epoch_end")
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1495, in call_hook
    callback_fx(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/callback_hook.py", line 93, in on_train_epoch_end
    callback.on_train_epoch_end(self, self.lightning_module)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 321, in on_train_epoch_end
    self.save_checkpoint(trainer)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 396, in save_checkpoint
    self._save_top_k_checkpoint(trainer, monitor_candidates)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 683, in _save_top_k_checkpoint
    self._update_best_and_save(current, trainer, monitor_candidates)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 717, in _update_best_and_save
    filepath = self._get_metric_interpolated_filepath_name(monitor_candidates, trainer, del_filepath)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 651, in _get_metric_interpolated_filepath_name
    filepath = self.format_checkpoint_name(monitor_candidates)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 582, in format_checkpoint_name
    filename = self._format_checkpoint_name(filename, metrics, auto_insert_metric_name=self.auto_insert_metric_name)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 543, in _format_checkpoint_name
    filename = filename.format(**metrics)
KeyError: 'val/mAP@0'

Environment

PyTorch Lightning Version:1.5.10
PyTorch Version:1.9.0
Python version:3.7
OS: Ubuntu20.04
CUDA/cuDNN version:cuda11.1/cudnn8
GPU models and configuration: 3090
How you installed PyTorch (conda, pip, source):  pull from dockerhub

cc @carmocca @awaelchli @ninginthecloud @jjenniferdai @rohitgr7

Hello
Breaking this down, this fails when doing string formatting like so:
metrics =<EMAIL_ADDRESS>0.2}
"{val/mAP@0.50:.4f}".format(**metrics)

  File "<ipython-input-29-c7a5e66c6218>", line 1, in <module>
    "{val/mAP<EMAIL_ADDRESS>0.2})
KeyError: 'val/mAP@0'

The dot in the key of the metric is not supported when string formatting.
Here is a better explanation: https://stackoverflow.com/a/23909682
We may want to validate against these names in advance to warn or error to the user.


Installed packages not shown in Firefox

webui version: 1.0.37
Firefox: 115.7.0esr
After install and reload no installed packages shown under Controls->Designer
Chome browser works

Could you show messges from your firefox console (Press F12 to enter developer Tools)
Could you try a newer firefox? (I have 122 and it works)

I installed Firefox 122.0 (64-Bit) and it works.


Updated tests & example for the Custom Set problem

Hi there! It didn't seem like anyone was working on it so I took care of https://github.com/exercism/ecmascript/issues/229
I've added all the canonical tests + a few of the tests that were in the JavaScript version that seemed useful. There were some bugs in the existing example so I also fixed those up and re-structured slightly. Let me know if anything needs to be adjusted!

Looks good to me! Any other comments from @exercism/ecmascripts ?

Can we have groups of tests for each operation/function like empty, contains, etc? Just like in the canonical json file: https://github.com/exercism/problem-specifications/blob/master/exercises/custom-set/canonical-data.json

@tejasbubane Definitely — the JS version didn't so I wasn't sure if it was desired or not. Will update tonight or tomorrow.

Updated with groupings & descriptions based on the canonical tests.

Updated to remove the non-canonical tests as per request above.

Should be good to go. Let me know if you want me to squash the commits.

@apapirovski nice work.  Looking great.
We do like to have the commits squashed if you're up for it.
If this looks good to you @tejasbubane I feel like it's ready.

Commits squashed. Let me know if anything else is needed. Thanks!

Can also probably close https://github.com/exercism/ecmascript/issues/229 now.

Ah!   Good catch.  For future reference, if you put Closes #229 in the description body for your PR, I believe it will close automatically when your branch is merged.


Transition to mkdtemp

This should fix the issues encountered with the temp file created with unexpected permissions. We create a random temp dir, write out the file to disk, move it into position then nuke the created temp dir.

Merged in [r2788] (http://flexget.com/changeset/2788)


Consider making "event_source::operator<<" transaction wrapper

Description

Currently operator<< is just a fancy way on writing src.emit(...);
Following code just emits 3 events in separate propagation turns.
ureact::event_source src = make_source<int>();
src << 1 << 2 << 3;

But it can be changed to do so atomically in a single turn. To do so "event_source::operator<<" should return some RAII proxy that starts transaction in the constructor, finishes it in the destructor and provides it's own operator<< to emit further events.
It would be a breaking change and I'm not sure if it is needed at all. But at the first glance it looks like a neat feature.

There is additional place where it can be considered - event_source::begin()
ureact::event_source src = make_source<int>();
std::copy( v.begin(), v.end(), src.begin() );

Currently it emits each event in a separate turn, but such iterator can as well perform transaction. Unlike operator<< this approach doesn't have reserve syntax to send events separately, so other method and iterator might be needed.


[Android] Update the cached dimensions when orientation changes

Summary
Currently the dimensions are created once, and then cached.  This change will reload the dimensions when the device orientation changes to insure that dimension update events follow orientation changed events.
this should help address the following issues, that I know of:
https://github.com/facebook/react-native/issues/29105
https://github.com/facebook/react-native/issues/29451
https://github.com/facebook/react-native/issues/29323
Changelog

[Android] [Fixed] - Dimension update events are now properly sent following orientation change
Test Plan
Open up RNTester app.  Select the Dimensions API list item.  Rotate the device and verify that the dimensions are correct based on orientation.

Thanks for sharing this fix @ajpaulingalls. I tested against this branch and can confirm that it fixes the issue I was seeing where the Dimensions.addEventListener wasn't firing callbacks in some scenarios.
It looks like the test_ios_unit_frameworks_hermes check failed, which seems completely unrelated to your change. Are you able to re-queue that CircleCI build somehow? Maybe it's an intermittent failure.

It looks like the test_ios_unit_frameworks_hermes check failed, which seems completely unrelated to your change. Are you able to re-queue that CircleCI build somehow? Maybe it's an intermittent failure.

I'm not sure how to kick it off again without making more code changes.  Hopefully a real reviewer will see its unrelated and merge it anyway..:)

I think #29105 is actually a separate issue with Dimensions.get('screen') specifically - this PR doesn't seem to fix it for me. I'll look into it.

Can we close all related issues then?

I think that this is fixed only on master, so for 0.64 and 0.63 is still an issue; until we cherry pick this into those and release patches we should keep them open imho

I don't think this is fixed in the case where you have e.g. a tablet locked to portrait orientation then open a react-native app using react-native-orientation-locker and do Orientation.lockToLandscape() (not sure about the case where you lock the orientation via AndroidManifest.xml but may be similar). The Dimensions module always returns the width and height reversed both via Dimensions.get('window') and useWindowDimensions. I think that may be what https://github.com/facebook/react-native/issues/29105 is referring to @ejanzer
Using the useOrientationChange hook from react-native-orientation-locker returns PORTRAIT and useDeviceOrientationChange returns the 'real' device orientation, neither of which are what we want (as the app is locked to a fixed landscape orientation) so it's hard to even work around the issue (while still accounting for the possibility of split screen / floating window views).
Not strictly a RN issue but it feels like the Dimensions module should take this into account - maybe via Activity.getRequestedOrientation

Plataforma	Motor	Arco	Tamaño (bytes)	Diferencia
androide	Hermes	arm64-v8a	7,507,277	+79
androide	Hermes	armeabi-v7a	7.099.065	+92
androide	Hermes	x86	7,945,421	+87
androide	Hermes	x86_64	7.856.485	+92
androide	jsc	arm64-v8a	8,971,996	+93
androide	jsc	armeabi-v7a	8.546.899	+100
androide	jsc	x86	8,971,649	+100
androide	jsc	x86_64	9.522.956	+93
Confirmación base: 3e77e15


Firefox: torus - popups blocked

Torus' popups are being blocked. I'm not sure if this can be fixed. But Portis doesn't seem to have this problem with their popups.

They've added a nice message for how to disable the popup blocking for the site.


Add shinasystem's switch for wwst

@greens  My certification is being delayed. Can you please confirm its status?


advanced javascript concept add

Navbar dropdown add of new course advanced js concept

Guys I am adding the new course Advanced Javascript Concepts on all pages

@SamirJouni Please merge the PR when you get a chance, Thanks 😃 !


Cannot open document

Does this occur consistently?
Repro steps:

Connect to Cosmos Account
Expand DB in the task pane
Select document
Nothing happens and error throws

Action: cosmosDB.openDocument
Error type: EntryNotFound
Error Message: EntryNotFound (FileSystemError): azureDatabases:/Johnson_dc8c3127-4318-4830-9a18-8d9054c66687-cosmos-document.json?id=/subscriptions/1e555350-e8a6-4258-b56f-3005e3c59e5b/resourceGroups/blev/providers/Microsoft.DocumentDB/databaseAccounts/blevtest/AzureSampleFamilyDatabase/FamilyContainer/$Documents/iWZFAKqnx+4DAAAAAAAAAA==
Version: 0.15.0
OS: win32
OS Release: 10.0.20180
Product: Visual Studio Code - Insiders
Product Version: 1.51.0-insider
Language: en

Call Stack
file:/workbench.desktop.main.js:6654:715

Are you see this issue with only this specific document or with all documents?

It happens only with that document as far as I can tell.

I ran into the same issue while I was working on Learn/Work with NoSQL data in Azure Cosmos DB/Build a .NET Core app for Azure Cosmos DB in Visual Studio Code. I used the code from the 4th unit and I cannot open both created documents. I also added 3rd document to the db through the portal and tried to open it but result was the same.
Does this occur consistently?
Yes.
Repro steps:

Choose Concierge Subscription
Expand Cosmos DB account pane
Expand database pane
Expand collection pane
Expand document pane
Click on document 1 or 2

Actual Result:
Document doesn't open and user get an error with the button to report it.
Action: cosmosDB.openDocument
Error type: EntryNotFound
Error Message: EntryNotFound (FileSystemError): azureDatabases:/1-cosmos-document.json?id=/subscriptions/be8b0530-081c-4940-9f0c-f15fa2e65980/resourceGroups/learn-1dc9be3f-f86b-4af8-a624-e5b5aedaff1d/providers/Microsoft.DocumentDB/databaseAccounts/asvas-cosmos-db-sql/Users/WebCustomers/$Documents/+wxGAIvUUioBAAAAAAAAAA==
Version: 0.15.1
OS: win32
OS Release: 10.0.18363
Product: Visual Studio Code
Product Version: 1.51.1
Language: en

Call Stack
file:/workbench.desktop.main.js:6687:388

Action: cosmosDB.openDocument
Error type: EntryNotFound
Error Message: EntryNotFound (FileSystemError): azureDatabases:/2-cosmos-document.json?id=/subscriptions/be8b0530-081c-4940-9f0c-f15fa2e65980/resourceGroups/learn-1dc9be3f-f86b-4af8-a624-e5b5aedaff1d/providers/Microsoft.DocumentDB/databaseAccounts/asvas-cosmos-db-sql/Users/WebCustomers/$Documents/+wxGAIvUUioCAAAAAAAAAA==
Version: 0.15.1
OS: win32
OS Release: 10.0.18363
Product: Visual Studio Code
Product Version: 1.51.1
Language: en

Call Stack
file:/workbench.desktop.main.js:6687:388

I'm encountering the same issue. All documents inside one of my collections fail to open in VSCode. All my other collections documents open fine.
azureDatabases:/view_d17410a46b884069a194b27dbad54c89-cosmos-document.json?id%3D%2Fsubscriptions%2F22abb5cb-2b1f-4204-a1a5-2f0b611f04f1%2FresourceGroups%2FCloud%2Fproviders%2FMicrosoft.DocumentDB%2FdatabaseAccounts%2Finspace-cloud%2Fapp%2Fviews%2F%24Documents%2Fl59AAPV%2BQe5JAAAAAAAAAA%3D%3D. Detail: Unable to read file 'azureDatabases:/view_d17410a46b884069a194b27dbad54c89-cosmos-document.json?id=/subscriptions/22abb5cb-2b1f-4204-a1a5-2f0b611f04f1/resourceGroups/Cloud/providers/Microsoft.DocumentDB/databaseAccounts/inspace-cloud/app/views/$Documents/l59AAPV+Qe5JAAAAAAAAAA==' (Error: Unable to resolve non-existing file 'azureDatabases:/view_d17410a46b884069a194b27dbad54c89-cosmos-document.json?id=/subscriptions/22abb5cb-2b1f-4204-a1a5-2f0b611f04f1/resourceGroups/Cloud/providers/Microsoft.DocumentDB/databaseAccounts/inspace-cloud/app/views/$Documents/l59AAPV+Qe5JAAAAAAAAAA==')

Hi @joelybahh, it looks like your error is different from the other errors presented in this issue. Let us know if you are still getting the "Unable to read file..." error, we can create a new issue for it.

Hi @joelybahh, it looks like your error is different from the other errors presented in this issue. Let us know if you are still getting the "Unable to read file..." error, we can create a new issue for it.

Hey @neelip , Yes I am still getting this issue, was there any way I can get a more detailed error log for you all, to help debug
further?

@neelip was there any update on the status of this error? It is still occurring on VS Code, its the only cosmos container that does it, all other containers work fine, just all files within that one container won't open.
cannot open azureDatabases:/view_466ffba7e78c4ba68f2f9437247c8737-cosmos-document.json?id%3D%2Fsubscriptions%2F22abb5cb-2b1f-4204-a1a5-2f0b611f04f1%2FresourceGroups%2FCloud%2Fproviders%2FMicrosoft.DocumentDB%2FdatabaseAccounts%2Finspace-cloud%2Fprovisionary%2Fviews%2F%24Documents%2FqlAlAJ%2BlkPs9AAAAAAAAAA%3D%3D. Detail: Unable to read file 'azureDatabases:/view_466ffba7e78c4ba68f2f9437247c8737-cosmos-document.json?id=/subscriptions/22abb5cb-2b1f-4204-a1a5-2f0b611f04f1/resourceGroups/Cloud/providers/Microsoft.DocumentDB/databaseAccounts/inspace-cloud/provisionary/views/$Documents/qlAlAJ+lkPs9AAAAAAAAAA==' (Error: Unable to resolve non-existing file 'azureDatabases:/view_466ffba7e78c4ba68f2f9437247c8737-cosmos-document.json?id=/subscriptions/22abb5cb-2b1f-4204-a1a5-2f0b611f04f1/resourceGroups/Cloud/providers/Microsoft.DocumentDB/databaseAccounts/inspace-cloud/provisionary/views/$Documents/qlAlAJ+lkPs9AAAAAAAAAA==')

The above image is just demonstrating what I mean by the whole container. every file in views will throw that error, but every other container (Marked with green tick), all the documents within those open fine

Hi @joelybahh, sorry for the delay. I think you error might be something to do with partition key/value for the collection, either you have a key but no value or you don't have a key at all. Please try to check the key and the value are correctly set.

Most of the EntryNotFound errors are happening due a problem with how partition key/value are set. Best option would be to throw a more readable error or update the "Enter partition key[or value]..." prompt.

Most of the EntryNotFound errors are happening due a problem with how partition key/value are set. Best option would be to throw a more readable error or update the "Enter partition key[or value]..." prompt.

I'm having this same issue. I'm not really sure how to proceed. The tutorial says to not enter a key and just press enter. If we're supposed to put a key, what should it be?
I'm on this part of the Cosmos DB/Node.js tutorial btw: https://docs.microsoft.com/en-us/learn/modules/build-node-cosmos-app-vscode/3-exercise-create-cosmosdb-instance

I'm getting the same "unable to resolve nonexistent file" for every document in every collection within a database.

I'm getting the same error:

Not good news for those who have data they need to keep, but I was able to resolve this by deleting my newly created Collection and recreating.
I'm not sure if perhaps I did a bad Bicep/ARM deployment involving the PartitionKey perhaps, but I'm not going to spend the time to attempt to recreate the problem.

This is happening to me when targeting Azure Cosmos DB Emulator.  All the setup of the database and collections was done through the VSCode UI.  I have my partition key set to "id" (which is a guid as a string), if that matters.

However, if I open the Data Explorer UI that comes with the emulator, I can view the documents just fine.

I merged a fix to mitigate this issue. The root cause was we were using _rid as the "id" parameter in the document's uri. In uri query string standard, plus sign '+' is decoded to whitespace ' ' for backward compatibility. In the extension, we cache the document with the _rid as is. However, after putting the _rid with the '+' to the query string and parse them back, the '+' is replaced by a whitespace and we can no longer match the correct document we have cached. The fix is to use a more appropriate value in the query parameter.
Although I merged a PR switching to use the id + partition combo, I realized it may still have this problem if your id has '+' or even '%2B' (the url encoded form of '+'). I expect it to be less likely though. To further mitigate this problem, I am going to replace the '+' sign to something definitely illegal in the original resource id. I am not going to deal with the '%2B's in the resource id.


Setup custom SSL certs for Caddy. Fixes #5

Potentially addressed now in master, undergoing testing.


xSQLServerRSSecureConnectionLevel: Should catch errors from the method SetSecureConnectionLevel()

Details of the scenario you tried and the problem that is occurring:
Today the resource calls SetSecureConnectionLevel() without checking if the call was successful. Error handling should be added for this method call.
https://docs.microsoft.com/fr-ch/sql/reporting-services/wmi-provider-library-reference/configurationsetting-method-setsecureconnectionlevel
The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
n/a
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev

If issue #587 is accepted, then this issue is obsolete.


add instructions to install just and cargo-hack to docs

When following the CONTRIBUTING.md instructions and trying to run the test command just qa, I had to install the missing tools just and cargo-hack.
I suggest adding installation instruction steps for these tools to the CONTRIBUTING.md doc.

Great idea. I can add it tonight, unless you prefer to do it yourself? Both ok for me!
Thinking about it, it might be overkill for developers to run ‘just qa’, especially on regular computers can take some time.
I think I’ll recommend to just run ‘just test’ or something like it. But I’ll add that you can also run just qa for those that want to run pretty much all tests (except version/platform). In that paragraph I can add install instructions for those tools.
thx again for the report and great feedback/suggestion. Much appreciated!

Might make more sense for you to take this one, if you are planning to make other amendments to the docs around just command usage?
Equally I am happy to add a couple steps to CONTRIBUTING.md.

Ok I’ll add it in some hours myself then. I agree with you there.

Closed in https://github.com/plabayo/rama/commit/fa4be34c48519d291235bd6bc44f56c1fd56a747.


Veloview fails to launch after compiling with all enabled

I get the following
'error:
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "" under id 22
libprotobuf ERROR /home/rukie/build/paraview/src/paraview/ThirdParty/protobuf/vtkprotobuf/src/google/protobuf/descriptor_database.cc:57] File already exists in database: vtkPVMessage.proto
libprotobuf FATAL /home/rukie/build/paraview/src/paraview/ThirdParty/protobuf/vtkprotobuf/src/google/protobuf/descriptor.cc:860] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
Aborted (core dumped)
'
Process
sudo apt-get install cmake-curses-gui build-essential libboost-all-dev libxt-dev libbz2-dev libqt4-dev qt4-default qt4-dev-tools zlib1g-dev software-properties-common libpcap-dev
sudo apt-get update
sudo apt-get upgrade
cd
git clone git://public.kitware.com/VeloView.git
mkdir build
cd build
ccmake ~/VeloView/Superbuild
It starts with an empty cache, press c to configure
Enable all flags, boost, eigen, liblas, paraview, pcap, python, pythonqt, qt, veloview
press c
get the following
'error:
CMake Error at CMake/ParaViewModules.cmake:163 (set_property):
set_property could not find CACHE variable ENABLE_png.  Perhaps it has not
yet been created.
Call Stack (most recent call first):
CMakeLists.txt:133 (process_dependencies)
CMake Error at CMake/ParaViewModules.cmake:188 (include):
include could not find load file:
 png

Call Stack (most recent call first):
CMakeLists.txt:133 (process_dependencies)
CMake Warning (dev) at /usr/share/cmake-3.5/Modules/ExternalProject.cmake:451 (message):
value '' with no previous keyword in PVExternalProject_Add
Call Stack (most recent call first):
CMake/PVExternalProject.cmake:49 (_ep_parse_arguments)
CMake/ParaViewModules.cmake:319 (PVExternalProject_Add)
CMake/ParaViewModules.cmake:189 (add_external_project_internal)
CMakeLists.txt:133 (process_dependencies)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Error at /usr/share/cmake-3.5/Modules/ExternalProject.cmake:1915 (message):
No download info given for 'png' and its source directory:
/home/rukie/build/png/src/png

is not an existing non-empty directory.  Please specify one of:
* SOURCE_DIR with an existing non-empty directory
* URL
* GIT_REPOSITORY

Errors occurred during the last pass
'
press e to exit help
turn on Use_SYSTEM_PYTHON,
no errors, press c,
turn on
USE_SYSTEM_BOOST, USE_SYSTEM_QT
press c
press g
export QT_SELECT=qt4
sudo make -j2
builds successfully
when trying to launch from install/bin/Veloview I get the error stated at the top
uname -r
4.10.0-28-generic
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609
python --version
Python 2.7.12
This is pretty close to a fresh ubuntu install. I've added dependencies for ROS and libpcl-dev.
I'd appreciate any help troubleshooting!

libprotobuf-dev is already the newest version (2.6.1-1.3) is installed on the machine
and machine details:
H/W path         Device      Class          Description
                         system         HP EliteBook 8470p (C1U25AW#ABA)

/0                           bus            179B
/0/d                         memory         64KiB BIOS
/0/0                         processor      Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
/0/0/2                       memory         32KiB L1 cache
/0/0/3                       memory         256KiB L2 cache
/0/0/4                       memory         3MiB L3 cache
/0/1                         memory         32KiB L1 cache
/0/5                         memory         4GiB System Memory
/0/5/0                       memory         DIMM [empty]
/0/5/1                       memory         4GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
/0/100                       bridge         3rd Gen Core processor DRAM Controller
/0/100/2                     display        3rd Gen Core processor Graphics Controller
/0/100/14                    bus            7 Series/C210 Series Chipset Family USB xHCI Host Controller
/0/100/14/0      usb3        bus            xHCI Host Controller
/0/100/14/1      usb4        bus            xHCI Host Controller
/0/100/16                    communication  7 Series/C210 Series Chipset Family MEI Controller #1
/0/100/16.3                  communication  7 Series/C210 Series Chipset Family KT Controller
/0/100/19        enp0s25     network        82579LM Gigabit Network Connection
/0/100/1a                    bus            7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2
/0/100/1a/1      usb1        bus            EHCI Host Controller
/0/100/1a/1/1                bus            Integrated Rate Matching Hub
/0/100/1a/1/1/1              generic        VFS491
/0/100/1a/1/1/3              multimedia     HP HD Webcam [Fixed]
/0/100/1b                    multimedia     7 Series/C210 Series Chipset Family High Definition Audio Controller
/0/100/1c                    bridge         7 Series/C210 Series Chipset Family PCI Express Root Port 1
/0/100/1c.1                  bridge         7 Series/C210 Series Chipset Family PCI Express Root Port 2
/0/100/1c.2                  bridge         7 Series/C210 Series Chipset Family PCI Express Root Port 3
/0/100/1c.2/0                bus            IEEE 1394 Host Controller
/0/100/1c.2/0.1              generic        SD/MMC Host Controller
/0/100/1c.2/0.2              generic        Standard SD Host Controller
/0/100/1c.3                  bridge         7 Series/C210 Series Chipset Family PCI Express Root Port 4
/0/100/1c.3/0    wlo1        network        Centrino Advanced-N 6205 [Taylor Peak]
/0/100/1d                    bus            7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1
/0/100/1d/1      usb2        bus            EHCI Host Controller
/0/100/1d/1/1                bus            Integrated Rate Matching Hub
/0/100/1d/1/1/6              generic        BCM20702A0
/0/100/1f                    bridge         QM77 Express Chipset LPC Controller
/0/100/1f.2                  storage        7 Series Chipset Family 6-port SATA Controller [AHCI mode]
/0/2             scsi0       storage
/0/2/0.0.0       /dev/sda    disk           180GB INTEL SSDSC2BW18
/0/2/0.0.0/1     /dev/sda1   volume         487MiB Linux filesystem partition
/0/2/0.0.0/2     /dev/sda2   volume         167GiB Extended partition
/0/2/0.0.0/2/5   /dev/sda5   volume         167GiB Linux filesystem partition
/0/3             scsi1       storage
/0/3/0.0.0       /dev/cdrom  disk           CDDVDW SN-208DB
/1                           power          CC06062

I also have installed paraview and ROS (robot operating system)

And while trying to install dependencies for the Point Cloud Library, its broken with the same error...

Removing libprotobuf-dev and a system install of paraview seems to make it functional...
If make -install will put Veloview into /usr/local/bin, why won't it put the compiled paraview there as well?

Hello rukie,
I'm glad you solved the issue by yourself.
System-wide installs of libprotobuf does conflict with veloview and should be avoided for now.

hey hi try 16.04 ubuntu. and build dir not required. follow the following steps

First, install the following dependencies using the apt-get commands
git
cmake-curses-gui
build-essential
libboost-all-dev
libxt-dev
libbz2-dev
libqt4-dev
qt4-default
qt4-dev-tools
zlib1g-dev
libpcap-dev.
export QT_SELECT=qt4
create project dir
mkdir project
clone the veloview project
git clone https://github.com/Kitware/VeloView.git
cmake build type following commands
a) ccmake VeloView/Superbuild
b) type c to configure
c) page 1 for cmake
CMAKE_BUILD_TYPE                *Release
CMAKE_INSTALL_PREFIX            */home/icarus/project/
ENABLE_boost                    *OFF
ENABLE_eigen                    *OFF
ENABLE_liblas                   *OFF
ENABLE_paraview                 *OFF
ENABLE_pcap                     *OFF
ENABLE_python                   *OFF
ENABLE_pythonqt                 *OFF
ENABLE_qt                       *OFF
ENABLE_veloview                 *ON
qt_EXTRA_CONFIGURATION_OPTIONS  *

again type c (configure) and type e for exit
d) page 2 for cmake
USE_SYSTEM_boost *ON
USE_SYSTEM_pcap *ON
USE_SYSTEM_python *ON
USE_SYSTEM_qt *ON
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /home/icarus/project
ENABLE_veloview ON
qt_EXTRA_CONFIGURATION_OPTIONS
type c again type c and finally type g

run  cmake -DENABLE_veloview:BOOL=ON VeloView/Superbuild
run  make -j4 and make in two different terminal
finally open veloview application--  cd install/bin
./VeloView


Symlink LICENSE files in crates

Symlink the top level LICENSE files into each crate under "crates"

👍


Slots not resetting with action_deactivation_loop

Rasa version:
Rasa Version     : 2.2.9
Rasa SDK Version : 2.2.0
Rasa X Version   : None
Python Version   : 3.8.1
Operating System : macOS-10.14.6-x86_64-i386-64bit
Issue:
Slots are not resetting after form de-activation is called. I was told to create a ticket in this forum thread
Stories solution:

story: User stops health_form
steps:

active_loop: health_form
intent: flush_slots
action: action_flush_slots
action: utter_start_over
action: utter_greet
action: action_deactivate_loop
active_loop: null

description
Because action_deactivation_loop dosen't reset the slots, I added a custom action with the trigger
class ActionFlushSlots(Action):

    def name(self) -> Text:
        return "action_flush_slots"

    def run(self, dispatcher: CollectingDispatcher,
            tracker: Tracker,
            domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

        slots = []
        for key, value in tracker.current_slot_values().items():
            if value is not None:
                slots.append(SlotSet(key=key, value=None))

        return slots

Thanks for the issue, @ArjaanBuijk will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

@travelmail26 What's the complete stack trace?
And what are you trying to do when?

Hi @travelmail26 In absence of the complete stack trace, I've replicated the InvalidRule behaviour you described in the forum post - this I gathered is owed to the fact that action_deactivate_loop was placed outside of an active form because the health form was already deactivated via active_loop: null in the example you provided in the forum post:
- rule: Submit form
  condition:
    # Condition that form is active.
    - active_loop: health_form
  steps:
  - action: health_form
  - active_loop: null
    # The action we want to run when the form is submitted.
  - action: action_submit_results
  - action: utter_slots_values
  - action: action_deactivate_loop
  - active_loop: null

I also agree with @wochinge that the correct way currently to reset the slots is via custom action because action_deactivate_loop has the same function as active_loop: null to inactivate/ exit the form and is best used to handle unhappy form paths,.
The solution I see here is for us to update docs so that it's clear what's the recommended route for resetting slots using AllSlotsResetevent  returned by a custom action after form submission. Would that work?

in order to use function"SLotSet()",which lib should i import?

in order to use function"SLotSet()",which lib should i import?

SlotSet is not a function, is an object. You can import SlotSet in your actions.py like so:
from rasa_sdk.events import SlotSet
More information is available here.

The docs were updated as part of this PR.


Inaccurate statement about diamond proprety and confluence?

In the chapter Lambda.lagda, there is a discussion of confluence and the 'diamond property'.  This subsection ends with the paragraph
It is easy to show that every deterministic relation satisfies
the diamond property, and that every relation that satisfies
the diamond property is confluent.  Hence, all the reduction
systems studied in this text are trivially confluent.

I do not think it is true that 'every relation that satisfies the diamond property is confluent.'
The Wikipedia page about confluence (in abstract rewriting systems) defines what the Lambda.lagda chapter calls the 'diamond property' as 'local confluence', and it gives a couple of examples (Pic. 3 and Pic. 4) of relations that are locally confluent but not globally confluent.  In the terms of the Lambda chapter, these would be relations that satisfy the diamond property but are not confluent.
The particular conclusion about deterministic relations being confluent is correct, just not fully supported by the given argument.

Ooops! Thanks for the correction. Usually, the diamond property is used to show confluence. So what additional property is required to make the statement correct?

-- Given strong normalization, a relation that satifies the diamond
-- (local confluence) property everywhere is also (globally) confluent
-- everywhere.  This doesn't help our case, since the fixpoint (μ) terms
-- prevent strong normalization from holding, but it is interesting.


Running from a fresh clone fails

Description
When running from a freshly-cloned copy of master, it crashes on startup:
➜  queue git:(master) npm run dev

><EMAIL_ADDRESS>dev /Users/nathan/git/queue
> ts-node --type-check --compiler-options '{"module":"commonjs"}' src/server.ts

/Users/nathan/git/queue/node_modules/sequelize/lib/sequelize.js:182
      throw new Error('Dialect needs to be explicitly supplied as of v4.0.0');
            ^
Error: Dialect needs to be explicitly supplied as of v4.0.0
    at new Sequelize (/Users/nathan/git/queue/node_modules/sequelize/lib/sequelize.js:182:13)
    at Object.<anonymous> (/Users/nathan/git/queue/src/models/index.js:62:15)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Module.m._compile (/Users/nathan/git/queue/node_modules/ts-node/src/index.ts:439:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/nathan/git/queue/node_modules/ts-node/src/index.ts:442:12)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/Users/nathan/git/queue/src/auth/util.js:4:20)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Module.m._compile (/Users/nathan/git/queue/node_modules/ts-node/src/index.ts:439:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/nathan/git/queue/node_modules/ts-node/src/index.ts:442:12)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/Users/nathan/git/queue/src/auth/dev.ts:2:1)

My guess is that this is related to the removal of src/config in https://github.com/illinois/queue/pull/288. If additional steps are necessary to configure the repo after cloning, those should be documented.
Steps to reproduce

Clone the repository.
Run npm ci.
Run npm run dev.
Observe the above error.

Is there any known fix for this issue at this point in time? I've tried everything from downgrading node with nvm and running with node 8, to manually installing all dependencies (yes, this did take an extensive amount of time, 10/10 would not recommend), with no luck yet. Any fix for this yet?

Same problem here.

I hate to say it but I feel like this project is abandoned. It hasn’t had any updates all summer, and you would think that in the midst of a global pandemic where all schools are practically moving to online instructions, there would have been some commit history or some update. But I think this one is unfortunately dead. It was great while it was being maintained though.

This issue is happening because of a change with the database configuration. We currently use environment variables for all configuration, which is documented in the README. I now realize the README doesn't make this change completely obvious, so I restructured it here: https://github.com/illinois/queue/tree/update-env-documentation. Please let me know if this change makes things clearer!

Is #324 related?

Is #324 related?

I'm taking a look at getting things functioning again this weekend. It's generally poor practice to require devs to set up specific config after cloning a project, i.e. add a .env file with specific values. npm ci && npm run dev should be all you have to do.
With that in mind, I'm going to refactor the config to look for .env.{NODE_ENV} files so that we can safely commit a .env.development file with standard sqlite config.


[incubator/schema-registry] Template health check

What this PR does / why we need it:
The PR adds possibility of changing liveness and readiness handler.
The current health check verifies if the rest endpoint can response. It doesn't verifies if kafka or zookeeper is available for the schema registry. It happens that schema registry loses connection to kafka and kubernetes doesn't know that. In that case, all requests are not successfully carried out. I found out workaround for that
readinessProbe:
  httpGet: null
  exec:
    command:
      - bash
      - -c
      - >
        cub kafka-ready 1 1 -b kafka:9092 &&
        cub kafka-ready 1 1 -z ${KAFKA_ZOOKEEPER_SERVICE_HOST}:${KAFKA_ZOOKEEPER_SERVICE_PORT_CLIENT} &&
        cub zk-ready ${KAFKA_ZOOKEEPER_SERVICE_HOST}:${KAFKA_ZOOKEEPER_SERVICE_PORT_CLIENT} 1
  initialDelaySeconds: 10
  periodSeconds: 10
  timeoutSeconds: 5
  successThreshold: 1
  failureThreshold: 3

Checklist

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/retest

/assign @zanhsieh

/assign @benjigoldberg

/unassign

@sopeal
I am not on the OWNERS file list.

/lgtm


[now-cli] Update readme and links

Fix links to this repository
Change main image in readme and mention unit tests

See zeit/art for changed image

Link npm package to repo and homepage
Simplify npm package readme

Related to #2782

Codecov Report

Merging #2886 into canary will increase coverage by 0.24%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           canary   #2886      +/-   ##
=========================================
+ Coverage   11.06%   11.3%   +0.24%
=========================================
  Files         267     267
  Lines       10133   10162      +29
  Branches     1264    1254      -10
=========================================
+ Hits         1121    1149      +28
- Misses       8922    8925       +3
+ Partials       90      88       -2

Impacted Files
Coverage Δ

src/util/dev/builder-cache.ts
80.86% <0%> (+3.42%)
:arrow_up:

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 8b9426e...5ef142b. Read the comment docs.


1st draft of DTM to TM

a few comments, I have included a hms flag to allower users to toggle between HH:MM or HH:MM:SS. Also, TM-vars are classed character since posixct/lt are for DTM. I could use the hms package but cannot seem to find an option to only display HH:MM the hms only allows for HH:MM:SS. Of course, open to any alternative solutions

@teckla-gsk Please declare the hms package as a dependecy of admiral by listing it under the Imports section in the DESCRIPTION file. That should get rid of the errors when running R CMD check.

@kabis-ops please see update to handle when a single var is parsed, I suppose I also have to update derive_vars_dtm_to_dt

@thomas-neitmann  I added hms to the description file but the RMD is still failing. Any ideas as to what I am missing here?


Error building markdown example

I am having an issue building the markdown example. I clone the repo and tried to build the markdown example using the following command
cargo wasi build --release
The build failed with following error:

Following are the version of tools installed:
cargo-wasi 0.1.23 (aa58e595d4 2021-07-29)
rustc 1.57.0 (f1edd0429 2021-11-29)
cargo 1.57.0 (b2e52d7ca 2021-10-21)
wasmtime 0.28.0

Could someone help me to build and run it using wastime?

I have the same issue too.

https://github.com/bytecodealliance/cargo-wasi/pull/114#issuecomment-1046050221


fix(typing): pyright

pyright is unable to recognize the types when not imported from functools.
See: https://stackoverflow.com/a/77459192

@vantaboard Thanks for the PR! Could you please address the linting issues, just looks like black formatting.

Closing in favor of #64


Node id is reused across installs on same system

Install smapp, run it and set post. Take note of the node id and the post folder name.
Stop smapp, uninstall it. Delete the post data folder and verify the Spacemesh local data folder is gone.
Install the app, start it and setup post.

Result: same node id is used from the previous install.
Expected: new node id to be created and used.
Where is the old node id coming from? Electron storage of app data?

@y0sher - fyi.

app can't set or make any other decision on node id, this ticket refers to node


[runtime] fix duplicate output for kEndFeats

fix duplicate output for kEndFeats, because rescore will call  UpdateResult() again

fix duplicate output for kEndFeats, because rescore will call UpdateResult() again

We use different parameters in the two cases for UpdateResult()

if (DecodedSomething()) {
VLOG(1) << "Partial CTC result " << result_[0].sentence;
}

Yes, it should be twice. For searching with LM, the results of  the two may be different.


Strict json writer support

What changes were proposed in this pull request?
Add StrictJsonWriter support for streaming to allow complex types.
How was this patch tested?
Was manually tested in a high volume environment (300 million records per day in a table with 100 columns, half of them complex types.)

fix for issue #255


fixed gulp error

On jest task, gulp was throwing an error.
Reason: http://stackoverflow.com/questions/26614738/issue-running-karma-task-from-gulp

What error was thrown? Could you please describe a little bit more (environment, versions, steps to reproduce)? Thank you

You are absolutely right, I just blindly accepted the referred StackOverflow page, which is giving a terrible solution.
The problem here is a very misleading stack trace (see the number of upvotes on SO), when tests are failing. It's rooting in Gulp.
This PR just prevents propagating the correct status code, which is clearly not expected.
Sorry for this, I'm closing now.


Performance issue with gemf files

I'm noticing some serious performance issues and tile loading problems with gemf files, specifically with a larger number of gemf files. Is there anything that can be done to improve the performance. Map panning and zooming are very choppy

Can you perform any profiling to see what is slowing things down? I would say that GEMF is out of favor these days. The sqlite based formats work quite well.


removed title mappings no longer needed with new TOC

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

File
Status
Preview URL
Details

.docsreference.azurecli.json
:white_check_mark:Succeeded

titleMapping.json
:white_check_mark:Succeeded

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


Topic is orphaned. Not in TOC.

Is a redirect required?

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

ID: fad4b3d3-b509-c6c6-e842-b53c68100c4e
Version Independent ID: ec63705a-7ce3-abf6-5f4f-fe5bc95bc9b8
Content: Cortana in Microsoft 365 - Microsoft 365 admin
Content Source: microsoft-365/admin/misc/cortana-integration.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@Karl-Bridge-Microsoft Thank you for your feedback. I'm working with the concerned team and the author to get this sorted. Will update you once this is complete.
Thanks
Sri

@kwekuako Please add your comment and help us in resolving this issue. Thanks.

Hi can you help me understand? Does a link need a redirect or the whole topic?
From: Yogesh Kumar @.>
Sent: Thursday, March 18, 2021 7:09 AM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Kweku Ako-Adjei @.>; Assign @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Topic is orphaned. Not in TOC. (#4052)
Assigned #4052https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F4052&data=04|01|kwekua%40microsoft.com|50ed2605006b4907872d08d8ea176fc0|72f988bf86f141af91ab2d7cd011db47|0|0|637516733676908866|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=i8tQ%2F6yVBNxkF3uykOeGXCsXTKMJJOXxNF3706g4baA%3D&reserved=0 to @kwekuakohttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkwekuako&data=04|01|kwekua%40microsoft.com|50ed2605006b4907872d08d8ea176fc0|72f988bf86f141af91ab2d7cd011db47|0|0|637516733676918831|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=U0pn6iTlRyx8MQ8yry3RbwG1Mx8%2Fc92Ieff5%2Fhahz%2Fs%3D&reserved=0.

You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F4052%23event-4476361371&data=04|01|kwekua%40microsoft.com|50ed2605006b4907872d08d8ea176fc0|72f988bf86f141af91ab2d7cd011db47|0|0|637516733676923800|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=CR7DQaYxbNnfqJc%2FcNyu16HhMYvTO3Fi9CfAbmO6h8s%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIPET2ZOPG22SC7NFOM3BTDTEICRLANCNFSM4W73KADQ&data=04|01|kwekua%40microsoft.com|50ed2605006b4907872d08d8ea176fc0|72f988bf86f141af91ab2d7cd011db47|0|0|637516733676928772|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=t47xsiZO1nwvWVdRuuqZp5oQLLMmsFOZmVo5QohWEDI%3D&reserved=0.

@Karl-Bridge-Microsoft Forwarded to Cortana team. Thanks for the feedback. Closing.


slf4j-api-2.0.11 throws java.lang.NullPointerException in Android build

slf4j-api-2.0.11 throws java.lang.NullPointerException during Android build. But works perfect in versions 2.0.9 and below.

@georgepadayatti Did you forget to provide a stack trace?

This commit breaks Android <24 compatibility: java.util.function package used there is not present on older devices.

I cannot make sense of the stack stace provided vby @introfog which mentions jetified-slf4j-api-2.0.10.jar. I do not know what artifact that is.
As for the comment by @vitalyster, java.util.function package is required by the SLF4J's fluent API.
In short, I would like to help but I am not familiar with android development.

I also faced this while upgrading to 2.0.16. Pasting relevant snippets from gradle build
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: ~/jetified-slf4j-api-2.0.16.jar:org/slf4j/event/Level.class
	at Version.fakeStackEntry(Version_4.0.48.java:0)

Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: ~/jetified-slf4j-simple-2.0.16.jar:org/slf4j/simple/OutputChoice$OutputChoiceType.class
	at Version.fakeStackEntry(Version_4.0.48.java:0)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:75)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:28)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:27)
	at com.android.tools.r8.internal.vk.b(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:2)
	at com.android.tools.r8.D8.run(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:11)
	at com.android.builder.dexing.D8DexArchiveBuilder.convert(D8DexArchiveBuilder.java:120)
	... 38 more
Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null

I also faced this while upgrading to 2.0.16. Pasting relevant snippets from gradle build
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: ~/jetified-slf4j-api-2.0.16.jar:org/slf4j/event/Level.class
	at Version.fakeStackEntry(Version_4.0.48.java:0)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:75)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:28)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:27)
	at com.android.tools.r8.internal.vk.b(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:2)
	at com.android.tools.r8.D8.run(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:11)
	at com.android.builder.dexing.D8DexArchiveBuilder.convert(D8DexArchiveBuilder.java:120)
	... 32 more
Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null

Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: ~/jetified-slf4j-simple-2.0.16.jar:org/slf4j/simple/OutputChoice$OutputChoiceType.class
	at Version.fakeStackEntry(Version_4.0.48.java:0)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:75)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:28)
	at com.android.tools.r8.internal.vk.a(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:27)
	at com.android.tools.r8.internal.vk.b(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:2)
	at com.android.tools.r8.D8.run(R8_4.0.48_320a4fe2564c68ad8fe4492fea65872bc8f51e21c4d46e3dbac43afcc38d90de:11)
	at com.android.builder.dexing.D8DexArchiveBuilder.convert(D8DexArchiveBuilder.java:120)
	... 38 more
Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null

Same here.


Exploit symmetry in QFI and Hessian construction

Summary
resolve https://github.com/Qiskit/qiskit-terra/issues/5631
Details and comments

computation of hessian was optimised
full_lin_comb for QFI optimised
overlap_block_diag for QFI optimised
overlap_diag unmodified (no obvious way for optimisation based on symmetry)

Thanks for the contribution @molar-volume! The goal of #5631 was to exploit the symmetry not only for construction of the Hessian/QFI but also for the evaluation (since that is the costly part). It seems your suggestion tackles the construction, is that right?
Do you want to also improve the evaluation? Meaning that e.g. a 3x3 hessian only evaluates 6 ListOp's instead of 9 🙂

Thanks for the contribution @molar-volume! The goal of #5631 was to exploit the symmetry not only for construction of the Hessian/QFI but also for the evaluation (since that is the costly part). It seems your suggestion tackles the construction, is that right?
Do you want to also improve the evaluation? Meaning that e.g. a 3x3 hessian only evaluates 6 ListOp's instead of 9 🙂

Hi @Cryoris,
thanks for the review and for suggesting the combo_fn to optimise evaluation, I will  use it :)

Hi @Cryoris,
thanks for the review and for suggesting the combo_fn to optimise evaluation, I will  use it :)


Rename papplDeviceParse1284ID to papplDeviceParseID in manpages

Aside from breaking binary compatibility (which would push this to a 2.0 change at the very least), it is named as it is because the device ID comes from the IEEE 1284 standard. Given that we have Job IDs, Printer IDs, etc. that are simple integers, "ParseID" is too non-specific so I want to keep the name.


GPM

I think the GPM Water Flow Rate is off 1 decimal place. The Control R shows 12 GPM and the HA Water Flow Rate sensor shows 1.2 GPM

I have looked into this and according to my manual and the manual for the control-r the flow rate should be the value read by the control-r x0.1g/min.
You can also view this from Rinnai as well.
I personally feel that the control-r is incorrect as that seems like a lot of flow. The highest Rinnai I can find is 11 GPM.


Create CODEOWNERS

Pull Request Checklist
Please review the Contribution Guidelines before submitting.

[x] Pulling from a topic/feature/bugfix branch (right side).
[x] Pulling against the dev branch (left side).
[x] Code passes linting.
[x] Code passes unit tests.
[x] Code coverage is the same or better.
[x] You have previously submitted a Contributor License Agreement or have contacted a maintainer to request one.

Description
This will automatically add the listed members as code reviewers to all pull requests.

Codecov Report

Merging #69 into dev will decrease coverage by 1.76%.
The diff coverage is n/a.


Add gecos to uv_passwd_t

Related: https://github.com/nodejs/node/pull/6104#issuecomment-207728469
On OS X and Linux the gecos field contains the user's fullname. Like username, it would return null on Windows.
I personally need it for my fullname module.

// @silverwind

That's an ABI change so I'm tagging this for v2.0.0.  Pull requests welcome, please link back to this issue.

Closing in favor of #834.


fix: provisioning resource groups typing partial existing name

Description
The resource group picker and dialog needed to better track if the user is creating a new resource group.
The debounced name handling was setting back to existing group if the user typed a partially matching name.
Task Item
fixes #6882
Screenshots
N/A

Coverage remained the same at 51.147% when pulling a889ce3a448291dc356e3b2be58dc2d9d752eeb2 on gcox/mainwork into 20ef5de91a1c68ba56c5bb76a65ee3e4368f67d8 on main.


Authors should not be allowed to create pages

Issue Summary
Hello, people with author authority should not be allowed to create pages, if the author only has the option to add their content, it is sufficient if other administrators and editors have the ability to create pages.
When I add a user as an author, this added author has access to the page creation feature. This is a wrong event.
Steps to Reproduce

Ghost Version
5.50.0
Node.js Version
setup_16.x
How did you install Ghost?
ubuntu 20.04
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Fixing this could also be considered a resolution for #16876 which notes that some roles can add a page but not save them.

Fixing this could also be considered a resolution for #16876 which notes that some roles can add a page but not save them.

It is not correct for an author to add a page, the admin moderator can add it ok, but an author should not have an option to add a page, this is an incorrect process, the author just adds their content. This option is sufficient for an author.

Some people may want authors to be able to create pages.  Has there been any efforts/discussion regarding some kind of permissions module?
I am quite partial to how django handles permissions. (django.contrib.auth.models.Permission).  Something like this would allow developers to have fine-grained control over what users can do what.  Configurable Groups would also be useful.

Some people may want authors to be able to create pages. Has there been any efforts/discussion regarding some kind of permissions module?
I am quite partial to how django handles permissions. (django.contrib.auth.models.Permission). Something like this would allow developers to have fine-grained control over what users can do what. Configurable Groups would also be useful.

It can be set as an option.  The sample author may have features such as what actions he can take.  Then everyone can set the authorization businesses as they want, this option will be more comprehensive and more useful.

Please assign this to me

These action bots are awful.  WE KNOW @daniellockyer IS TRIAGING THE TICKET.  Beyond just annoying spam -- I've seen at least several valid issues or bug submissions closed erroneously.  Ya'll should really consider turning these off and appoint a community member to manually moderate this.  It is at a detriment to your project.

@Pratik1603 if this is something you can contribute take initiative and submit a PR.


Error in temperature raw->celsius calculation.

There seems to be an error in the temperature conversion formula in iis2mdc_reg.c.
I only get temperatures that vary slightly around 25°C, this is because there is an additional unnecessary divide by 16 in there.
I fixed it like this:
float_t iis2mdc_from_lsb_to_celsius(int16_t lsb)
{
  /* 8 LSB/C - 12bit resolution */
  return ((((float_t)lsb) / 8.0f) + 25.0f);
}

You already have the correct version in the stm32-iis2mdc version of this driver.
I would urge you to also add this small fix here too, this might trip up some unsuspecting people.

Actually if you see I have corrected it here (Nov 9th): 4230507
So, are you saying that I have to revert that commit? But I need to shift the value 4 position on the left, why did you remove the /16 division?

Why did you introduce the additional divide by 16 in the first place?
The 16-bit signed value in the TEMP_OUT_L_REG and TEMP_OUT_H_REG register is already a correctly formatted 16-bit signed integer, since the 4 "unused" most significant bits are correctly filled with the sign bit:

Maybe the raw value is read incorrectly on some platforms? I noticed that the way that the 16-bit signed value is assembled from two unsigned bytes, is expressed by a multiplication in iis2mdc_temperature_raw_get(...):
int32_t iis2mdc_temperature_raw_get(stmdev_ctx_t *ctx, int16_t *val)
{
  uint8_t buff[2];
  int32_t ret;

  ret =  iis2mdc_read_reg(ctx, IIS2MDC_TEMP_OUT_L_REG, buff, 2);
  *val = (int16_t)buff[1];
  *val = (*val * 256) + (int16_t)buff[0];

  return ret;
}

Isn't it more unambigous, for the compiler and the readers of the code, to use a proper mask-shift operation for this purpose?
Like this:
int32_t iis2mdc_temperature_raw_get(stmdev_ctx_t *ctx, int16_t *val)
{
  uint8_t buff[2];
  int32_t ret;

  ret =  iis2mdc_read_reg(ctx, IIS2MDC_TEMP_OUT_L_REG, buff, 2);
  *val = (int16_t)( ( ( buff[1] & 0xFF ) << 8 ) | ( ( buff[0] & 0xFF ) << 0 ) );

  return ret;
}

(Unnecessary shifts/masks will get optimized out by the compiler, i kept them for consistency.)
Anyway, after removing the divide by 16, my temperature measurements are in line with the other close-by temperature sensors on my pcb. Without the fix, the IIS2s temperature readings will stay near ~25°C, while the other sensors all consistently read higher values when heating the board.
Adding the mask-shift fix did not change my results btw, but it could be the reason you had problems, if your compiler interprets this in a different way.
I tested it by heating up the entire board with a heat gun and observing the values rise and fall. The board has a large ground plane with lots of vias, so this isn't some local variance in readings.


Nightly tag failure

I'm trying to setup a nightly job to add a tag on our repo (which would trigger the nightly release process). It is failing because of the following failure:
rickstaa/action-create-tag@v1 is not allowed to be used in apache/camel-k. Actions in this workflow must be: within a repository owned by apache, created by GitHub, verified in the GitHub Marketplace or match the following: */*@[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]+, AdoptOpenJDK/install-jdk@*, JamesIves/github-pages-deploy-action@5dc1d5a192aeb5ab5b7d5a77b7d36aea4a7f5c92, TobKed/label-when-approved-action@*

@oscerd or anybody else with admin privileges, do you know if we can include such an action in GH settings? or alternatively if there is any similar action we can use to tag the project in GH actions.

I don't think it is possible to allow gh action with write access to an Apache repository. We can try to ask to ASF Infra.

What's the strategy to maintain the nightly tags? While I see the value of having a single / updated nightly tag, I don't think polluting the repository with unbounded nightly tags would have neither value from the end users standpoint, nor the project developers.

Yeah, I was thinking that maybe we can just do that manually on demand, whenever we think it has some value? At the moment it is as simple as pushing a tag on the main branch.

I think the real need for users is to have a single "rolling" latest and/or nightly tags. Ideally this would be done in CI automatically.


task #66 (sort of)

Hey man you're doing a really good job over here. I just got a few notes here and their on the code. It should not take a lot of time for you to handle them.
Good Luck and Good job :D

I still can't figure out a way to remove the items from the "savableItems" :(

Tayeb I've done some stuff on your behalf this time so that you wouldn't be bored to death :D
Taking a quick look at my commit you find that I:
I let the paper delete the item by calling removeItem() instead of delete. because the QGraphicsScene (Paper's superclass) owns that object and should handle the deletion. because it probably does other things besides calling delete (like removing it from the list of items or something. so I created a function in Paper that handles deleting items, and in it we did three things:

We need to notify the paperModel so that it would delete it from disk.
removeItem(item) let QGraphicsScene do its thing.
savableItems.remove(item);
and never forget to set a pointer to null after you delete it. look at selecttool.cpp:103

So Good Job man :D Looking forward to your next pull request!


update tokenAuthProvider

fix up tokenAuthProvider that is not working on using head method.

thanks, fixed in e51f17e75219301a3e18d80d453f87d8860e570e


Add option to ignore certain keys via the ignore_keys parameter

Using ignore_keys, one can do the following:
@with_argparse(ignore_keys={'special_param'})
def func(param1: int, special_param: T):
    pass

func(special_param=123)

while special_param will never be part of the argparse object

What if arg is a non-kwarg? How do we override? Currently, only kwarg-based overrides work, or if its the first argument in func


"Select all" button on album has misaligned copy and target

The "select all" option on iphone has misaligned text and a misaligned target on the button such that you must click the actual text rather than the region around it to select all

tested in the beta and confirmed 👍


Checking bundle diff before pushing on staging pipeline

Signed-off-by: jonahjon<EMAIL_ADDRESS>Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/approve


python3Packages.geopandas: drop Python 3.8 support

Description of changes
GeoPandas 0.14 drops support for Python 3.8.
See: https://github.com/geopandas/geopandas/releases/tag/v0.14.0

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thank you @NickCao


Fix CSP support

Code highlighting breaks for applications which set CSPs. This is due to the use of an inline style element to add (Makeup-generated) highlighting.
https://github.com/phenixdigital/phx_live_storybook/blob/a6a8c6beae69fa30f96083acd4cf33b1fc54edea/lib/phx_live_storybook/templates/layout/root.html.heex#L28-L30
To fix this, the simplest solution could be to add support for a nonce parameter from the conn. Happy to submit a pull request for this, if desired.

Hey Carson, I wasn't really aware of CSP, thanks for raising this issue.
Please open a PR

👋 @crkent still wanna open a PR on this topic?

Hi @cblavier, congrats on this super cool library, I absolutely love it!
I was wondering if there is a reason this got closed. I am still getting this.
How to replicate
Make sure the :browser pipeline in the router includes CSP headers
  pipeline :browser do
    # other plugs
    plug :put_secure_browser_headers, %{"content-security-policy" => "default-src 'self'"}
  end

The code snippets won't load the syntax highlighting:

Just to add more context, this is an issue Phoenix Live Dashboard was having as well, and the following discussion is very interesting to read to find a similar solution.
https://github.com/phoenixframework/phoenix_live_dashboard/issues/183

Thanks for your feedback, Beatrice.
I closed the issue because I had no news from @crkent
I will reopen it, and get it fixed!

Beatrice is my last name, I go by Gaia 😁
Let me know if you need help, I can probably whip up a PR if needed.

Sorry about that, Gaia :)
I would gladly take a PR and review it, thanks for proposing.

Hey Gaia, still want to open a PR? Need any help?
Let me know!

No that's fine!
I'm still aiming at a 0.5.0 release by the end of the month

Why was this closed? I am having this issue in the latest version.

This was closed by lack of external contribution 🤷♂
I'd be more than happy to receive a PR on the topic, I don't know anything about CSP

Hi sorry for the enormous and inexcusable delay.
I came back to work on this and I am having some issues with some inline styles. I can still open the PR, so someone more expert on the frontend can maybe help.

Thanks a lot, @gaiabeatrice 🙏🙏🙏
It helped me a lot in understanding what CSP and nonces are.
I also had issues with favicons, but I fixed it by allowing self in the img-src directive in my policy as such:
img-src 'self' 'nonce-#{img_nonce}'

From my understanding, the nonce should have been enough, but anyway, that did the trick.


⚠ Samsung has degraded performance

In 6cb1496, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2256 ms

Resolved: Samsung performance has improved in 0632be6.


Add "right to work in UK" to Personal Details fields exported to analytics

Trello card URL
Changes in this PR:
The field was added in DB but not included in the Analytics configuration for the Personal Details table. So it wasn't being sent to BigQuery.
Screenshots of UI changes:
Before
After
Next steps:

[ ] Terraform deployment required?

[ ] New development configuration to be shared?

 Jobseeker profiles - push right to work to analytics

Closing this PR as is already implemented in https://github.com/DFE-Digital/teaching-vacancies/pull/5977


Update parquet tests to align with dask-expr fixes

Blocked by https://github.com/dask-contrib/dask-expr/pull/795
(This is the dask/dask component of that PR)

Could you rebase here to get ci roughly green before we merge the dask-expr pr?

thx


Create an auto Ruby switcher function

It seems best to put this either in my zshrc file or create a functions folder for useful functions.
Basically the gist of what the command will look like is the follow:
add_new_ruby(){
  RUBY_VERSION="$1"

  ruby-install ruby "$RUBY_VERSION"

  # For chruby to recognize the new ruby version, the shell must restart
  source ~/.zshrc
  chruby "$RUBY_VERSION"
  gem install thor
  vps-cli install_gems
}

Added. Works. Under config_files/zsh/functions/add_new_ruby


Pass through jest --watch argument

Isn't this only for old versions of yarn?

@klippx you're right, upgraded, got this:
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.


Fixed URLs in examples

Describe the proposed changes
Fix URL to the MongoDB Dockerfile
Problem discovered in review of #430
Project version
n/a
Related issue
n/a
Related issue or PR in another project
#430
Please take a look
@thaJeztah

Thanks @mstanleyjones :)


APP:  procgen error - TypeError: Cannot read property 'toString' of null

This is in the multiplayer switcher room:
https://app.webaverse.com/?u=https%3A%2F%2Fwebaverse.github.io%2Fparty%2Fparty.scn

I can look.

It was a missing runtime.js contentId argument passthrough.


make the login part of the navbar responsive

The nav bar should say "login" or "entries" depending if you are have an active session or not.

Fixed by https://github.com/TheWoodenMan/twm-cpd-log/pull/22


[feature] docker image to test app on a fresh macos

describe the feature
docker run ... and it opens a virtual screen with screenpipe opened in it
why is this needed?
because i usually test on my computer which already have all the things installed and might break on a fresh macos
alternatively something cool related to #797 - something lightweight without docker kind of sandbox environment that simulate an OS and can run an "autonomous AI agent" that uses normal human inputs/outputs which itself is being recorded by screenpipe so the owner can query its data (think like hierarchy in a company)

atm i use https://mac.getutm.app/
but its so much friction to reboot / reset etc


Inferred variable types should include types of re-assignments inside classes

When you declare a variable and mutate it within a function that gets called before reusing that type. The type becomes a union type of the inferred assigned types.
let foo = 1;

function mutate() {
  foo = "hello";
  foo = true;
}

mutate();

let bar: number = foo; // Error!
let baz: number | string | boolean = foo; // Works.

However, referencing foo inside a class method that gets called does not cause the same behavior.
let foo = 1;

class Mutate {
  constructor() {
    foo = "hello";
    foo = true;
  }
}

new Mutate();

let bar: number = foo; // Works.

Just confirming this still happens in v0.53.1

If the variable is initialized at the declaration site, we will now consistently use it as the type of the variable without considering others.


Workflows update

add a test to verify pip install of scresonators to workflows

deleted pylint.yml because it was redundant with python-package.yml

@nmaterise


Missing Azure Repos

Where is Azure Repos in this picture?
Does it mean that we have to have different accounts other than Azure DevOps account (another Github account) if we would like to implement DevSecOps?
Will it be the direction in the future from Microsoft?

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

ID: fcaeba82-a634-d73a-77fd-a07258be2c17
Version Independent ID: 4ba78d8a-60c9-9df8-1d2c-0a375a094acb
Content: DevSecOps in Azure - Azure Solution Ideas
Content Source: docs/solution-ideas/articles/devsecops-in-azure.yml
Service: architecture-center
Sub-service: solution-idea
GitHub Login: @doodlemania2
Microsoft Alias: asegala

Hello @ndriyo , thanks for the question! We are taking a look into this and will get back to you soon.

Hello @ndriyo,
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action. Apologies for the delay.

Hello @ndriyo,
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action. Apologies for the delay.

@ndriyo - Here are a few resources...

https://docs.microsoft.com/en-us/azure/architecture/browse/?terms=devsecops - This is a view of all our DevSecOps architectures.
For Azure Repos, we currently have two architectures: https://docs.microsoft.com/en-us/azure/architecture/browse/?expanded=azure&products=azure-repos
Specifically, this architecture tells the end-to-end DevOps story, including Azure Repos (but note that it's light on the Security focus): https://docs.microsoft.com/en-us/azure/architecture/example-scenario/apps/devops-dotnet-webapp

Thank you for your feedback! We'll add a note that it would be valuable to include Azure Repo in our DevSecOps architectures.


new twitter feature to be considered

an image and a video can be on the same tweet like this one: https://twitter.com/lilillililXX/status/1578611365513547776
when doing something like https://fxtwitter.com/lilillililXX/status/1578611365513547776/video/2 , a embedded video is expected
but from my limited testing, the result is either the image in the 1st tab, just the tweet itself, or nothing at all

Being worked on in #18
Will keep this open, but I plan on adding as much support for this new feature as I can

Fixed in latest


Variables in Kotlin: Android Basics with Compose

URL of codelab: https://developer.android.com/codelabs/basic-android-kotlin-compose-variables?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-variables#3
In which task and step of the codelab can this issue be found?: Task 4 step 6
Describe the problem: The variable should be written as cartTotal instead of Total

I was mistakenly thought that the step 6 is the code to update the cartTotal value.


Testloader support for custom paths.

Add optional parameters to make possible provide custom paths for testing purposes.

add two optional parameters on TestSectionLoader for providing custom seismic and label paths;
add one optional parameter on TestPatchLoader to make possible provide custom *.txt path.

In both cases, the default option is not providing custom paths.

Waiting for changes on data.py from TrainLoader_update branch of @MJZawacki.

This PR will be abandoned/closed and modifications to provide support for custom paths regarding tests will be available soon in other branch.


Jitterin issue in C++ ULFG

I am trying to implement ULFG detector in C++ for a video. Currently the code works and detects face on each frame, but the issue is that the detected box changes its size every frame (person's face in the frame is same size as before) which cases huge problem in facial landmark detection as it relies heavily on face detector box size.
Please see the attached gif and notice on the bounding box size, it changes every frame even though the face size doesn't
Can you help me resolve this?

The bounding box jitters and it would be great if someone can help me out.


Indexed types inference with generics looses type

TypeScript Version:  commit 64642bb5c33878ed9b481f29b3ec626a675d2d74 (master at the time of writing)

Search Terms:  Inference Indexed
Code
function getAllValuesOfObject<T>(obj: { [index: string]: T }): T[] {
    return Object.keys(obj).map((key) => obj[key]);
}

const ordinals: { [i: number]: string } = {
    1: "first",
    2: "second"
};

// `values` has inferred type `{}[]` when it should have `string[]`;
const values = getAllValuesOfObject(ordinals);

// Error: Property 'split' does not exist on type '{}'.
values[0].split("i");

Expected behavior: variable values to have type string[]
Actual behavior: variable values gets type {}[]
Playground Link: Playground
I don't know exactly what shoud happen.
On one hand, in Javascript, when encountering a non-string key in an object accessor, the engine calls toString() on the key to create the key that will be used to access the value at that key (This is even stated on the Typescript deep-dive book, I think).
On the other hand, a number is not a string...
So either I get an error when trying to pass a {[o: number]: string } to {[i: string]: T } or the resulting object is of the type I specificed on the T side.
Also, it seems to be related to the type mismatch between the two possible indexer types: string and number. If the index on either types change to the same type as the other, the issue dissapears.
Do you think this would be an easy bug to fix? I'd like to give it a go if you point me where I'd have to start looking (only played with transformers so far, though).

All indexers at run-time are actually strings. . the inference for [x:string]: T not inferring from [x: number]: U is intentional; you would not want an array to pass for a map-like. chances are this is a bug.


Fetch error: 404 Not Found

On upgrading to the latest version we got the following error:
Plugin component error Error: Fetch error: 404 Not Found   Instantiating http://grafana.xxxxxxx.de/public/@grafana/data   Loading http://grafana.xxxxxxx.de/public/plugins/agenty-flowcharting-panel/module.js   Loading plugins/agenty-flowcharting-panel/module     at /public/build/0.4f5454f867a0cc2fe8dd.js:1
We use Grafana 5.2.2.
Any ideas what could went wrong?
Thanks

I need to test it on grafana v5
Maybe a regression on this version.
Can you try a restart of grafana ?

any news ?

I contact Ops tomorrow for the restart test

Fixed in last build


bug: tailwindcss neutral color compatibility with theme()

What version of daisyUI are you using?
daisyui@4
Which browsers are you seeing the problem on?
No response
Reproduction URL
https://play.tailwindcss.com/sJeDF0hk7x?file=css
Describe your issue
@tailwind base;
@tailwind components;
@tailwind utilities;

.myclass{
  color: theme(colors.neutral.50/10); // error
}

Link: https://github.com/saadeghi/daisyui/pull/3241


how to compile 2.2.350 version from source code

i want to use mmlspark on ARM platform, so i need to compile lightgbmlib-2.2.350.jar on the ARM,but i don't know how to get the source code of 2.2.350 version

You can try to follow our installation guide: https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#id23.
But we do not officially support ARM platform yet. Please refer to #1129 and your feedback about ARM is very welcome!
I guess mmlspark release numeration differs from ours. The closest thing we have is 2.2.3 so you can git clone the following commit https://github.com/microsoft/LightGBM/commit/0d0e793ab61b626ff43c3e9d56d95793a5ed4017.


Enhance function list with filtering and sorting

Filter

User input some keywords to filter functions, the keywords can be found in name, environment, triggers
The input field is on the function list left top corner

Sort

User can sort functions by name, environment, trigger (number) by clicking on the table header

Close by 4cdff08


Align repo to template repo

Align this repo with the template repo

any reason to change licensing?

any reason to change licensing?

No. it was just a script that ran and copied the defaults. I tried to fix all the ones that I knew/found that were wrong but didn't see this one. i can undo that.

any reason to change licensing?

No. it was just a script that ran and copied the defaults. I tried to fix all the ones that I knew/found that were wrong but didn't see this one. i can undo that.

I'd keep it the way it is

I'd keep it the way it is

which is why i said i'd 'undo' it... :) which i've done. i'll merge this now.


Upgrading React 17 and Material UI 5 of DevPortal

$subject

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: thisaltennakoon:white_check_mark: Tharanidk:x: wso2-jenkins-botYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @thisaltennakoon ,
Since we currently use manual build configuration for the app, With this attempt to upgrade the React version, it might be worth considering switching to Create React App CRA.
We may need to use CRACO with CRA due to our overridden configs, but transitioning to CRA would likely simplify future migrations.