Add scaffolding for tizen native example app

This PR adds an anchor point for tizen native example app.
More specifically contains a tizen wearable widget that prints out 'hello world'
I am planning to build a tizen wearable app that trains user drawing labeled with a specific unicode character but subjected to change at the moment.
Self evaluation:
Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped
Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #102. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/.

:octocat: cibot: @zhoonit, The last line of a text file must have a newline character. Please append a new line at the end of the line in Applications/Tizen_native/CustomShortcut/.gitignore.

:octocat: cibot: @zhoonit, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

Please add README.md at  Applications/Tizen_native/CustomShortcut/
Describe what this app does and a short how-to-build/execute (which emulator, which profile and so on)
Then, please attach a screenshot! 🎈

Please add README.md at Applications/Tizen_native/CustomShortcut/
Describe what this app does and a short how-to-build/execute (which emulator, which profile and so on)
Then, please attach a screenshot! 🎈

I added a brief README.md
I will elaborate more with some images as things get sorted out :)

Do we need all the .(dot) files? could you check this again? are they you create or generated by the compiler?

:octocat: cibot: @zhoonit, The last line of a text file must have a newline character. Please append a new line at the end of the line in Applications/Tizen_native/CustomShortcut/Build/flags.mk.

:octocat: cibot: @zhoonit, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @zhoonit, The last line of a text file must have a newline character. Please append a new line at the end of the line in Applications/Tizen_native/CustomShortcut/.gitignore.

:octocat: cibot: @zhoonit, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

Do we need all the .(dot) files? could you check this again? are they you create or generated by the compiler? If it is generated by compiler.. then we don't need to here.

IMO Yes.

I initialized with tizen studio template and template contains those files. These are not generated by the compiler though.
Build fails without those file while these are not generated from tizen build-native
As for that reason, tizen clean does not delete those files away. They only delete /Debug/
Other example repos contains those files.
eg)
https://github.com/Samsung/tizen-extension-sample/tree/master/Native/InAppPurchase
https://github.com/Samsung/tizen-fundamental-classes/tree/master/TizenFundamentalClasses
https://github.com/nnstreamer/nnstreamer-example/tree/master/Tizen.native/ObjectDetection

I think if we are going to make a build/packaging script, we may or may not need those files.
However, since this is an example app for others can easily try with there tizen studio, I think it would be better to leave it as it is :)

:octocat: cibot: @zhoonit, The last line of a text file must have a newline character. Please append a new line at the end of the line in Applications/Tizen_native/CustomShortcut/.gitignore.

:octocat: cibot: @zhoonit, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


Angular 4 Support

When I install ngx-treeview by npm install ngx-treeview --save<EMAIL_ADDRESS>is installed.
When I try to npm install it gives me a warning about Angular 5 not installed.
But I use Angular 4.
So wont ngx-treeview support Angular 4 anymore?

I know you get hard to upgrade from Angular 4 to 5  because of a big change of HttpModule and I'm too. But it's better to support the latest version of Angular :)


feat(Simulator): lock mouse by default and hints background

The Simulator allows to lock the mouse when controlling the hands. Since
this is very useful in the Editor it is now enabled by default.
Additionally the Simulator Camera Rig prefab has been updated to make
sure the hints text is always in the top left corner of the screen and
has a background to make reading the text easier.

Did you update the camera rig prefab in Unity 5.5 or above?
If so, I've noticed this breaks the prefab in Unity 5.4
Best to do the rebuild in 5.4 so it's forward compatible.

All changes were done in 5.4.4f1. 😩

Sweet, then i'll take the punt and merge without testing :D

😮 No rush!


Revert "Support setState Variations"

Ultimate Problem
The changes made in https://github.com/cleandart/react-dart/pull/100 were breaking to anyone overriding the setState, replaceState, or redraw because their signatures changed.
This will need to be released under 2.2.1 ASAP. There will another PR shortly to add this functionality back in a major release, 3.0.0.
Solution

Revert the merge into master

Testing Suggestions

Verify that all changes have been reverted.

Possible Areas of Regression
None expected
--
FYA: @trentgrover-wf @hleumas @greglittlefield-wf @clairesarsam-wf

+1

verified that the only change between this and previous release is in pubspec version:
https://github.com/cleandart/react-dart/compare/640e196567552f27a27b216f8845d847f1b7e2d9...jacehensley-wf:revert_set_state_callbacks/dev
+1


PageScroll slows the page down a lot

When in use, the performance of the page takes a huge hit. Even normal scrolling using the mouse-wheel is very laggy. Increasing PageScrollConfig._interval doesn't seem to make a difference.
The page becomes instantly super smooth again as soon as I don't include the PageScroll directive.

Thanks for the research. At the moment for every anchor using pageScroll the listeners are registered. This adds up when there are multiple links on the page.
I'll rethink the approach and at least make the "interference detection" optional.

Ah yes, I have 13 anchors, so that would explain it.

Hi, the performance should be better now, as event listener only get attached for the time the page scroll animation takes place<PHONE_NUMBER>7bba2ae004f017c13626aa1b9f7840).
Appreciating your feedback whether it's now better in your project.


11.5.0 Unable to change event behavior

I'm using CalendarFX 11.5.0 and want to restrict the user to only see the YearPage of the example. So I'm doing:
CalendarView calendarView = new CalendarView();
        calendarView.showYearPage();
        calendarView.setShowPageSwitcher(false);
        calendarView.setShowSearchField(false);
        calendarView.setShowSearchResultsTray(false);
        calendarView.setShowAddCalendarButton(false);
        calendarView.setShowPrintButton(false);
        calendarView.setShowDeveloperConsole(false);

The problem is that when I'm double-clicking a day, it switches the view. To change that behavior as well, I thought I simply have to provide a custom callback for the setEntryDetailsCallback function but this doesn't work.
calendarView.setEntryDetailsCallback(param -> {             System.out.println("Test");             return true;         });
But I'm not even getting the "Test" printed. Am I missing something?

small update: I found out that the event triggers correctly on every page but not on the year page. Really strange.

The callback's purpose is to bring up another UI when the user double clicks on an entry, e.g. a dialog or a popover, that allows the user to edit the entry. However, the switching between views is done by different code. When you double click a date in the year page / year view then a so-callled RequestEvent will be fired. This event "requests" the date and the CalendarView makes the DayView show up. If you want to see the events being created you can launch your application with -Dcalendarfx.developer=true. When this property is set you can bring up the "developer console" via SHORTCUT-D (CMD-D on Mac, CTRL-D on Windows). A drawer will show up at the bottom.

Ideally you take full control of your UI by putting your calendar together yourself and simply use the YearPage and leave out anything else.

CalendarView basically represents a full-fledged calendar solution. If you want just a piece of it then you need to put it together yourself.

Thank you!
That solved my problem, I'm using the YearView from now on and it works great.


Remove token limit problem from ChatGPT

If tokens > max, then remove oldest responses.

Create a design first and place it here

Create a class to encapsulate working on the message and how to manage them. Keep the constant init value separated from the scenes to manipulate them.

[ ] Fake class and base class
[ ] Messages class and unit tests - This needs the Fake/base

Depends on #88

Depends on #91


Impl Serialize for Plot

Currently, Plot::to_json() produces the Plot JSON object partly by hand. I suggest that Plot derives serde::Serialize, which is possible if we constrain Trace with erased_serde::Serialize.
In doing so, I've renamed the helped method serialize on Trace to to_json() so that it doens't clash with the serde::Serialize trait. I've also removed the impl of Trace for Layout because it a) it isn't really used apart from a very thin wrapper over serde_json::to_string(), and b) it doesn't quite make sense for Layout to be a Trace.
I'll add a quick PR to show how it looks.

In the same PR, I've also submitted a suggestion for being able to access and serialize the traces and layoutfields separately. The reason for this is because it is useful to be able to access them separately when calling certain plotly functions or, in plot.rs, the render_plot_data method.


Update appbar_dropdown.dart

Some changes on the basis of dart 3.5 version.

Absolutely right. That's why i said its depreciating in the newer versions. Just update this.


ENH: Add Python code for GetTypeBasicInformation example

Add Python code for GetTypeBasicInformation example.

Same comments as for PR #168:

Have not tested locally.
Have preferred to follow the existing Python examples' conventions wrt to variable naming (i.e. camel case vs. snake case). Maybe at some point we may consider changing this to use a more Pythonic style and enforce it using a PEP checker.
Have preferred to follow the existing Python examples' conventions wrt to the Python interface beyond the image reading (i.e. have not used the procedural interface/I ignore whether e.g. is_negative exists). Although I believe that is an effort that might be suitable for a separate, massive PR, suggestions as appropriate are welcome.

Last but not least:

The copyright lines supression range for Python files in the Documentation.rst file seems to be removing the import sys when it exists (and maybe the import itk when the former is not prsent). Not sure if this is intended or else this should be investigated and possibly changed for every Python file.

Pinging @mseng10


can you share data pls

can you share data pls

sorry, it was my master's thesis and many legalities are there around the data

Could you please share sample data?
And also the workflow diagram

Could you please share sample data?
And also the workflow diagram

Sorry, I don't have access to the data. Please contact<EMAIL_ADDRESS>for any collaborations . See the following paper for workflow diagram.
https://ieeexplore.ieee.org/abstract/document/8614854

Sorry, I don't have access to the data. Please contact<EMAIL_ADDRESS>for any collaborations . See the following paper for workflow diagram.
https://ieeexplore.ieee.org/abstract/document/8614854


Add logging functionality to the script parser

Adds a new IScriptParserLog to the script parser, which can be used to print logs. The function used to print logs is called print by default (to prevent problems with the log function), but the name print is defined by a string so users can change it for example to output or write or something.
the print expression are build up using quotes, with all text in quotes being interpreted as literal text, and everything else being interpreted as a statement for the MathParser
For example, print("the first number is: " x ", but 5 * 5 is " 5 * 5) might print something like

the first number is 7, but 5 * 5 is 25

Because the ScriptParser takes an IScriptParserLog, developers can define their own implementation of the logger, for example one which can log to the console or a database. I've added two different implementations so far, MultilineScriptParserLog.cs and NullScriptParserLog, which log to a multiline StringBuilder and nowhere respectively.

I think the logging classes should maybe be moved to a different folder and namespace, but because my Visual Studio version doesn't like the csproj file in this solution I'm unable to do so. Could you do this maybe @napen123 ?

Sounds good. I'll move the scripting stuff into a "Scripting" namespace.


Playlist not switching to the next song

I'm using chromium on Linux
I think that after the last update streamus stopped playing the next song and I must manually click the next track in order to continue the playback after the song is over.
Another issue that I encounter is that the time and the progress bar in the playback is not updating during the playback.
Everything else, including the audio, is working great.

Does reloading Streamus fix this issue? It sounds like YouTube's Flash player managed to get loaded somehow. There's a very small subset of songs which started causing Flash fallback about a month or two ago and I'm not sure when YouTube is going to fix that.

No reloading, or even closing all chrome processes, doesn't help, however I've found that it has to do with sound setup on this machine since on another machine with exactly the same chromium(and plugins) and OS it doesn't happen and this machine has some sort of virtual sound device so it may be related to that.
All other sound application are working fine. even streamus plays well just won't continue to the next track.
How can I help you debug it? I can't find any error message in the console.

I still think the hunch is that the Flash player is loaded.
If you go to chrome-extensions://, click 'developer mode', click 'background.html', look at the HTML mark-up generated, find the iframe for the YouTube player and dig inside of it there will be either a  element or a swf player. Can you confirm which there is?
Also, if you go to any YouTube song that you're trying to play, but view it actually on YouTube. Is it using Flash or HTML5?


vscode extension

Hello, I've played for an hour or two trying to get basic syntax highlighting working with vscode (since I'd like to play around with Roc as it progresses..., the experimental editor is too unstable for me)
I used the fsharp extension syntax file as a starting point, rather than the Elm extension, as it follows this guide to the letter so it seemed like a better fit.
After a bit of tweaking, this is what I've got:

Commenting/uncommenting via the usual keyboard shortcut works too.
Now, I got something out quick and dirty which is not perfect but will do for my needs, for now.
Would you be interested in hosting this code and publishing the extension via the roc-lang org?

Wow, super cool - thanks for taking the time to make this! I would gladly use this in vscode over my current practice of using CoffeeScript syntax highlighting. 😄
As for hosting and publishing, I'd suggest publishing it under your account - I think long term the org's focus should be on the Roc editor, and tooling for other editors should be a community thing.
I wouldn't want to send mixed messages by having the org appear to be responsible for both!

Alrighty :)
So I've published the extension if you want to give it a go. It looks like vscode now hints that there's an extension for ".roc" files.
I got string interpolation too, crazy regexes + double escaping going on in those syntax files :p

Keep up the good work!

Link for the lazy :) https://github.com/benjamin-thomas/vscode-roc-lang-extension


allow monaco-editor version ranges from 0.50.x to 0.52.x

so I can use monaco 0.52.x in my project.
Awesome project, btw! I started using it in the Latex editor I'm working on called Crixet. Here's a quick demo of the new functionality: https://x.com/vicapow/status/1859016989551063427

Thank you so much! 🙌

Thank you @vicapow, this is now on npmjs as v1.0.6


Updating build script per RC1 branching

cc people of the world.

I guess :shipit: if it works :smile:


Update PressureChamber.md

Fix remove syntax

@Nemis05 Is this PR still a thing?
If so, please change the one link to what I've written in that comment there


Correctly identify endpoints

For enpdoints used without any query_params but with an agent, we used
to store incorrect endpoint.
To reproduce the bug here is a simple template:
datacenters(agent: "https://consul.preprod") + datacenters(agent:"https://consul.prod")

This template should list datacenters from both environment but actually
only list datacenters from preprod (twice) because the
agent is not taken into account in the endpoint id.
Change-Id: Ic67fec3f4085b7e680da21a30b693c08f8ee2894

Waiting for this patch to be merged and released, the work around is to specify endpoint_id option

cc @PHBourquin :)

@kamaradclimber I think the bug is even worse than that (and your fix LGTM), when multiple params are in use, only the last one was taken into account it seems, looks like a reasonable fix

I'm not sure to understand the additional bug you are talking about. In the previous code all parameters were used to compute the endpoint_id, making it unique for each invocation.
For instance services(dc: "dc1", tags: ["canard"]) and services(dc: "dc2", tags: ["canard"]) would respectively lead to entity_ids v1/catalog/services&dc=dc1&tags=canard and v1/catalog/services&dc=dc2&tags=canard.
The computation of the entity_id is indeed was a bit inefficient in space due to the addition of the agent for each param but I don't think it mattered that much (beyond the bug in case of 0 param).


Request: Shorthand for Cached Containers

The cached containers on a container host should be able to just be referenced with the container: method. If you reference the typical tag (e.g. :ltsc2019) it often doesn't match due to drift and you end up with an extra 5 minutes while it pulls additional layers.
I had to write this just to make sure I was using the cached layer every time, it shouldn't be this complicated, it should just be container: mcr.microsoft.com/windows/servercore@CACHED or something
jobs:
  #Using a cached container saves ~5m of build time. They are a moving target though so they must be discovered
  - job: GetCachedWindowsContainerHash
    displayName: Get Cached Windows Container Information
    pool:
      vmimage: windows-2019
    steps:
      - checkout: none
      - powershell: |
          $serverCoreDigest = docker images --digests --format '{{json . }}' |
            convertfrom-json |
            where repository -eq 'mcr.microsoft.com/windows/servercore' |
            % digest
          "##vso[task.setvariable variable=serverCoreDigest;isOutput=true]$serverCoreDigest"
          "$serverCoreDigest"
        name: GetServerCoreDigest
  - job: CachedContainer
    dependsOn: GetCachedWindowsContainerHash
    pool:
      vmimage: windows-2019
    variables:
      serverCoreDigest: $[format('mcr.microsoft.com/windows/servercore@{0}',dependencies.GetCachedWindowsContainerHash.outputs['GetServerCoreDigest.serverCoreDigest']) ]
    container: $[ variables['serverCoreDigest'] ]
    steps:
      - powershell: |
          echo "hello world"

In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to Developer Community. Sorry for the delay/confusion.


Add $USER to all Docker image names.

This is another attempt to do what #650 was probably trying to do.
Implemented on top of #656, which is expected to be merged first, so "Files changed" shows more than one PR. It probably makes more sense to look at the top commit.

I don't think we need the intermediate images to be renamed only the "leaf" one. I am worried also about the consequences on the ci image build.

I don't think we need the intermediate images to be renamed only the "leaf" one.

That might be what we already have (after #654 is applied).

I am worried also about the consequences on the ci image build.

I'm worried about that, too, and generally how there a lot of things to test here.

Closing in favor of #656 which I think is the best solution.


drivers/amazonec2: check if port is already opened in sg

The driver would try to open the ports provided in --amazonec2-open-port flag even if it was already present in the sg. This PR prevents this from happening.
Signed-off-by: André Carvalho<EMAIL_ADDRESS>

Thanks @andrestc -- Is there an issue filed for this the PR closes?

Nope, I ran into this myself. Want me to create one?

Don't think it's needed just want to make sure we close one if it does exist!  Thanks

LGTM


🐛 [Bug] Encountered bug " Expected ivalue->isInt() to be true but got fals " when using TRTorch

Bug Description
I got a bug when converting an operation :
h, w = spatial_size x = torch.arange(w).type(type) y = torch.arange(h).type(type)
Where spatial_size is a tensor's shape like:  spatial_size = a.shape[2:]
It works when I change the size value (h, w) to int:
h, w = spatial_size h, w = int(h), int(w) x = torch.arange(w).type(type) y = torch.arange(h).type(type)
The bug info:
terminate called after throwing an instance of 'trtorch::Error'
what():  [Error thrown at ./core/conversion/var/Var_inl.h:38] Expected ivalue->isInt() to be true but got false
Requested unwrapping of arg IValue assuming it was l however type is NoneType
To Reproduce
Steps to reproduce the behavior:

h, w = tensor.shape[2:] , lots of function use h, w. like torch.arange(w)
Is ok when set : h, w = int(h), int(w)

Expected behavior
Fix this bug and merge to master branch. Or make sure it is no problem.
Environment

I build the Trtorch recently(21.8.19) use the master branch.

TRTorch Version (<IP_ADDRESS>):
PyTorch Version (libtorch 1.9.0):
OS (Ubuntu):
How you installed PyTorch (`libtorch):
Build command you used (bazel build //:libtrtorch --compilation_mode opt):
Are you using local sources or building from archives:
Python version: 3.8
CUDA version: 11.1
GPU models and configuration: GTX3070

Additional context
I compile the model use below code:
`std::cout << "Load ts detector model ..." << std::endl;
torch::jit::Module ts_detector_model;
try{
ts_detector_model = torch::jit::load(TS_DETECTOR_PATH);
}
catch (const c10::Error& e){
std::cerr << "Error loading the model \n";
return -1;
}
// convert trt detector
std::cout << "Convert trt detector model ..." << std::endl;
ts_detector_model.to(at::kCUDA);
ts_detector_model.eval();

std::vector<trtorch::CompileSpec::Input> inputs_d = {
  trtorch::CompileSpec::Input(std::vector<int64_t>({1, 3, 256, 256}), trtorch::CompileSpec::DataType::kHalf)};
auto info_d = trtorch::CompileSpec(inputs_d);
info_d.enabled_precisions.insert(trtorch::CompileSpec::DataType::kHalf);

auto trt_detector_model = trtorch::CompileGraph(ts_detector_model, info_d);`

Can you provide us the debug logs here or a minimal reproducing example, It will let us figure out exactly where this error is coming from


Let live migration monitor verify the actual status of migration before posting an error from libvirt

What this PR does / why we need it:
Libvirt often returns only the last error for a given call, and occasionally it's a consequential error.
With live migration cancellation, we post this consequential error instead of the actual migration status.
This PR will:

allow the monitor to check the migration status and act on it prior to posting the error.
extracts the status of a completed migration job if we missed updating the status before the job was completed.

This should address the flakiness of the migration cancelation tests.
Release note:
NONE

/hold

s/failur/failure/

looks like we cannot use jobStats to get a saved state of a canceled migration.
I want to look at another approach and untangle the state of the migration when we missed the update and the job is completed now.
We can determine what is the state and always post an accurate result.
I've also added a retry for getJobStats, but in reality, I think we will only get an error if the domain has already migrated to the destination.
I think it's better to move all of this logic to #5330 instead of further increasing the scope of the monitor in the PR... let's see what tomorrow brings...

Regardless, the current PR solves the migration cancellation issue.

ping, any progress?

/retest

/retest

/retest

/retest

/test all

/retest

/hold cancel

/retest

/hold
Please take a look https://prow.ci.kubevirt.io/?job=sriov&state=failure
It seems sriov fails on migration on jobs ran by this PR
not sure if due to this PR, but better make sure

/test pull-kubevirt-e2e-kind-1.17-sriov

thanks @oshoval I'm looking.

I had to explicitly check that if lastProgressUpdate > start, otherwise the sriov job takes longer and fails.

/retest

/retest

/hold cancel
Thanks


Add notebook running lshmm on chip-like data under different parameters

Addresses #11

This is not useful for the way forward, so scrapping it.


refactor(css): appearance mixin

I think this change makes sense, but Idk haha, but it was an easy change

LGTM 👍


Nearby notifications dead?

Hey, currently we can not get Nearby notifications on Android on either of our devices even though they show up in Google Settings / Nearby. Does anyone experience the same thing?

@ferencbrachmann are you able to see the notifications now?  If so, can you share how you fixed the issue?  Thanks.

@derekshull Yes, I've closed this issue. It seems that the URLs on the few beacons I had with me 24/7 did not trigger notifications (but showed up in Google Settings/Nearby) on several devices. Even though they did so for months. Probably there is some change in how Nearby fires notifications.
Doing a new page/beacon from scratch verified that nearby notifications do show up.
Are you experiencing issues too?

hello guys anyone knows where I can get an existing solution for nearby notification to implement on my server? based on google eddystone url format.
I urgently need a developer who already have the solution. I want to integrate with an  MLM/affiliate software so as to make it platform for proximity marketing.
my skype is: connect2danny
Thanks.

Check out Beeem at https://beeem.co


New function of uniq

Is your feature request related to a problem? Please describe.
Add uniq function

:tada: This issue has been resolved in version 1.8.0-beta.5 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Initial questions

Why use Alpaca, given it's already outdated? If it's for showcase-only, that's fine I think.
Would the synthetic dataset be used only for eval?

I think we need to make the scope of the coverage dataset is little more well-defined. From what I understand, the coverage dataset should be used during evaluation. Or will it be also used to seed the generation of synthetic dataset? In that case, aren't we contaminating the data by introducing leakage of some sorts?

What could make sense is that we first tackle each of the steps defined here as standalone modules and then collate them later.

Here is the summary, and just apply some more explanation about coverage dataset into the readme.

In summary
coverage dataset is split into seed/valid datasets
seed datasets is used to generate more of similar styled synthetic data
valid dataset is used to evaluate a fine-tuned LLM

Like you said, let's break down the whole thing into smaller pieces! I made Todo list, what do you think about it? Maybe break into smaller than this?

Sounds good to me.
We need to come up with the coverage dataset first. Then the dataset generation process itself shouldn't take long and we will be able to move forward fairly quickly I reckon.
Let's continue to discuss the coverage dataset.


This is a test

again

hello!

Thanks for opening the issue @trallard, will look into it (I'm a bot 🤖)

🤖 Thanks for opening this issue @trallard.
However, if this issue is related to the journal itself you should open an issue at ***.

🥇 🤩🐍


Mapster support added #64

@iammukeshm I have added the mapster basic support and marked the automapper implementation as comments.

Cool, will go through them and let you know. Mapster doesn't need us to mention the DTO? How does that work?

Okay, so Mapster helps get rid of the MappingProfile as well..Seems more efficient..I think this is more dev friendly compared to Automapper. Could you pull the latest code, and cleanup the part where you commented out automapper...Let's go ahead with mapster i guess. Thanks for the suggestion. Are there any limitations to Mapster? @ittyabrehman

@ittyabrehman
And how we can use Custom-mapping with reflection? For example, if we want to automate mappings with some interfaces.

@iammukeshm thank you for asking the question. We just need to add a decorator to the entity model and mapster will automatically generate the DTO for us in the same directory.
Here is a quick and easy example:
[AdaptTo("[name]Dto"), GenerateMapper]
public class Example{
}
To get more about it you can study at https://github.com/MapsterMapper/Mapster

Cool, will go through them and let you know. Mapster doesn't need us to mention the DTO? How does that work?

@iammukeshm YES, it is much dev friendly than automapper. Sure, will remove the comments. I am using mapster for the last 6-7 months till now I haven't got any scenario that can't be handled with mapster.

Okay, so Mapster helps get rid of the MappingProfile as well..Seems more efficient..I think this is more dev friendly compared to Automapper. Could you pull the latest code, and cleanup the part where you commented out automapper...Let's go ahead with mapster i guess. Thanks for the suggestion. Are there any limitations to Mapster? @ittyabrehman

@unchase that's a good question. You can get a proper detailed example on custom mapping at https://github.com/MapsterMapper/Mapster/wiki/Custom-mapping

@ittyabrehman
And how we can use Custom-mapping with reflection? For example, if we want to automate mappings with some interfaces.


Need websockets and multiple virtual ports

I want to use this to proxy a Unifi-Video docker. But I need to also pass through port 7446 in addition to the standard 7080 port. Below is the nginx setup that will work in a normal install (No docker)
server {
        listen 80;
        listen 443 ssl http2;
        listen [::]:443 ssl http2;

        server_name  uvc.net.net;                   #CHANGE THIS

      ssl_certificate      /etc/letsencrypt/live/uvc.net.net/fullchain.pem;  #CHANGE THIS
        ssl_certificate_key  /etc/letsencrypt/live/uvc.net.net/privkey.pem;  #CHANGE THIS

        # Logs
        access_log /var/log/nginx/uvc-access.log; #CHANGE THIS
        error_log /var/log/nginx/uvc-error.log; #CHANGE THIS

        # Lets Encrypt Override
        location '/.well-known/acme-challenge' {
                root /var/www/proxy;
                auth_basic off;
        }

        location / {
                # Proxy
                      # Reverse Proxy
                proxy_redirect          off;
                proxy_pass_header       Server;
                proxy_set_header        X-Real-IP $remote_addr;
                proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header        X-Scheme $scheme;
                proxy_set_header        Host $http_host;
                proxy_set_header        X-NginX-Proxy true;
                proxy_connect_timeout   5;
                proxy_read_timeout      240;
                proxy_intercept_errors  on;

                proxy_pass             http://<IP_ADDRESS>:7080/; #CHANGE THIS

## WebSockets
        location /ws/ {
    proxy_pass http://<IP_ADDRESS>:7080/ws/;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}

        # Redirect to HTTPS
                  if ($scheme = http) {
                       return 301 https://$server_name$request_uri; #CHANGE THIS (uncomment) after cert installation
                  }
        }
}

server {
        listen 7446 ssl http2;

        server_name  uvc.20.net.net;                   #CHANGE THIS

        ssl_certificate      /etc/letsencrypt/live/uvc.net.net/fullchain.pem;  #CHANGE THIS
        ssl_certificate_key  /etc/letsencrypt/live/uvc.net.net/privkey.pem;  #CHANGE THIS

        # Logs
        access_log /var/log/nginx/uvc-access.log; #CHANGE THIS
        error_log /var/log/nginx/uvc-error.log; #CHANGE THIS

## WebSockets
    location / {
    proxy_pass http://<IP_ADDRESS>:7445;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
        }

}

My docker setup for Unifi-Video is below (Its an Ansible script but still has all the info, I have edited my TLDN out)
  - name: Create and start container
    docker_container:
      name: unifi-video
      image: pducharme/unifi-video-controller
      security_opts:
        - "apparmor:unconfined"
      capabilities:
        - SYS_ADMIN
        - DAC_READ_SEARCH
      published_ports:
        - "7443:7443"
        - "7445:7445"
        - "7446:7446"
        - "7447:7447"
        - "7080:7080"
        - "6666:6666"
      env:
        PUID: "{{uid.stdout}}"
        PGID: "{{gid.stdout}}"
        TZ: America/New_York
        DEBUG: 1
        VIRTUAL_HOST: "security.{{domain}}"
        LETSENCRYPT_HOST: "security.{{domain}}"
        LETSENCRYPT_EMAIL: "{{email}}"
        VIRTUAL_PORT: 7080
        WEBSOCKETS: 1
      volumes:
        - "/etc/localtime:/etc/localtime:ro"
        - "/opt/unifi-video/config:/var/lib/unifi-video"
        - "/mnt/unifi-video:/usr/lib/unifi-video/data/videos"
        - "/opt/unifi-video/logs:/var/log/unifi-video"
      networks:
        - name: cloudbox
          aliases:
            - unifi-video
      restart_policy: always
      state: started

It would be great to have the ability to specify multiple hosts and multiple ports. For example:
VIRTUAL_HOST=webapp.mydomain.com,ws.webapp.mydomain.com
VIRTUAL_PORT=7080,7446
That way nginx-proxy can support docker images that expose and require use of multiple ports.


Possible to not implement an endpoint?

Description
Sometimes you might need to document an endpoint but either leave it unimplemented or implement it outside Connexion, e.g. in Apache. Could there be an x-swagger-? definition which makes Connexion skip an endpoint?

When adding an API, you can set the resolver_error to configure Connexion to provide an error response for paths that are not yet implemented: docs.


Bump stiff Bio models

This got canceled, have I missed something?

The MIT computers are down, so this is waiting on @vchuravy and @staticfloat to get something back up.

Right, think I heard but didn't really think of the implications

I think in the BCR file, on line 136,
preccache[] = ilu(W, τ = τ1)

should be changed to
preccache[] = ilu(W, τ = τ)

I tried to update, but got an access denied when I tried to push.


First API call take around 40 seconds to get response with dynamic ip allocation in android device using wifi

My flutter app's first API call takes around 45 seconds if my android device is connected to wifi and the device's IP allocation is dynamic. But using mobile data or static IP with wifi will get the response quickly.
I think it's trying to establish a connection with the server using ipv6 but somehow it fails and then it will try with ipv4 and get connected that's why it's taking a long time on the first API call.
Here, We need the fastFallBack feature like OkHTTP android plugin/package. I Suppose
Please see this issue as a priority.

Flutter doctor -v result:
[√] Flutter (Channel stable, 3.7.3, on Microsoft Windows [Version 10.0.22621.1265], locale en-IN)
• Flutter version 3.7.3 on channel stable at D:\SDKs\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision<PHONE_NUMBER> (13 days ago), 2023-02-08 15:46:04 -0800
• Engine revision 248290d6d5
• Dart version 2.19.2
• DevTools version 2.20.1
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at D:\SDKs\android
• Platform android-33, build-tools 33.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.4.3)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional
• Visual Studio Professional 2022 version 17.4.33205.214
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2022.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
[√] VS Code (version 1.75.1)
• VS Code at C:\Users\u1\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.58.0
[√] Connected device (4 available)
• SM M325F (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 13 (API 33)
• Windows (desktop) • windows             • windows-x64    • Microsoft Windows [Version 10.0.22621.1265]
• Chrome (web)      • chrome              • web-javascript • Google Chrome 110.0.5481.104
• Edge (web)        • edge                • web-javascript • Microsoft Edge 110.0.1587.50
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!


Added citations for contributed and 3rd party code.

Thoroughly audited every single non-trivial (more than two lines) method of utilphp.
Discovered and credited every 3rd party contribution and material taken with licensing permission.
Created the CONTRIBUTORS.md file.

Largely addresses issue #58.

Coverage remained the same at 88.05% when pulling 73fe35a49c51471a7a8b9645ab251e78e5618ffc on phpexpertsinc:citations into d4f492decc8db9120f268a4af5a5ac82a4ac13ae on brandonwamboldt:master.

Coverage remained the same at 88.05% when pulling 73fe35a49c51471a7a8b9645ab251e78e5618ffc on phpexpertsinc:citations into d4f492decc8db9120f268a4af5a5ac82a4ac13ae on brandonwamboldt:master.

Awesome, thanks!

Not 100% sure the extra doc comment was needed for certain things that already had a @see doc comment with a link to the original source, but it can't hurt.


Segmentation fault running any bevy code

Bevy version
v0.6.0
Operating system & version
Debian
> uname -a
Linux lemon 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux

> rustc -V
rustc 1.57.0 (f1edd0429 2021-11-29)

> cargo -V
cargo 1.57.0 (b2e52d7ca 2021-10-21)

What you did
git clone https://github.com/bevyengine/bevy
cd bevy
cargo run --example hello_world

I also tried creating a brand new project and depending on bevy and copied the hello_world example:
> cargo new bevy_test --bin
     Created binary (application) `bevy_test` package

> cat Cargo.toml
[package]
name = "bevy_test"
version = "0.1.0"
edition = "2021"

[dependencies]
bevy = "0.6"

What you expected to happen
The program should run normally.
What actually happened
Segmentation fault immediately after starting (no stacktrace output).
grant@lemon ~/projects/bevy ((HEAD detached at v0.6.0))
> RUST_BACKTRACE=full cargo build --example hello_world
Segmentation fault
grant@lemon ~/projects/bevy ((HEAD detached at v0.6.0))
> RUST_BACKTRACE=full cargo run --example hello_world
Segmentation fault

Additional information
I use i3 window manager.
> i3 --version
i3 version 4.19.1-non-git © 2009 Michael Stapelberg and contributors

I see the following logs from cargo in dmesg:
[ 2649.866600] traps: cargo[11184] general protection fault ip:55b80d69d97b sp:7ffe74182900 error:0 in cargo[55b80d200000+e39000]
[ 2746.503898] traps: cargo[11208] general protection fault ip:56315a09d97b sp:7ffcbe6d74d0 error:0 in cargo[563159c00000+e39000]

GFX information:
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7)
	Subsystem: ASUSTeK Computer Inc. Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1043:0517]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

Try to run it in lldb to see if you can get a backtrace. It's likely to be driver related.

Just to double-check: can you try running with default features disabled?
bevy = {version = "0.6", default-features = false}

Being able to isolate this to a specific module / subsystem would be very useful.

Alright well I don't have lldb installed but I did get more helpful output from GDB:
(gdb) run run --example hello_world
Starting program: /home/grant/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo run --example hello_world
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 14621]
[Detaching after vfork from child process 14622]
[Detaching after vfork from child process 14624]

Program received signal SIGSEGV, Segmentation fault.
0x000055555589d97b in cargo::core::compiler::fingerprint::calculate::hafc6b250b695c233 ()

This seems like not a bevy problem, but a crash that's happening before cargo finishes initializing. If you want we can continue digging into this, but I won't fault you for closing it either.

This seems like not a bevy problem, but a crash that's happening before cargo finishes initializing.

Does the build succeed? And if so, are you able to run the binary without cargo? It should show up at target/debug/examples/hello_world.

This seems like not a bevy problem, but a crash that's happening before cargo finishes initializing.

Does the build succeed? And if so, are you able to run the binary without cargo? It should show up at target/debug/examples/hello_world.

The build does not succeed and results in the same error, which makes debugging more difficult since I can't take a look at the resulting binary.
Starting program: /home/grant/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo build --example hello_world
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 14629]
[Detaching after vfork from child process 14630]
[Detaching after vfork from child process 14632]

Program received signal SIGSEGV, Segmentation fault.
0x000055555589d97b in cargo::core::compiler::fingerprint::calculate::hafc6b250b695c233 ()

it seems to me that panic doesn't happen in bevy app but in cargo or rustc. So this issue doesn't seem to be related to bevy. Are you able to combile non bevy rust projects using cargo? Perhaps you should open issue in cargo for this.

This seems like not a bevy problem, but a crash that's happening before cargo finishes initializing.

agree

Closing this out as this seems to be unrelated to Bevy and unactionable on Bevy's end.


full nodes vs light clients 🥊

the conversation about full nodes and light clients (LCD) has come up again. i'm mostly concerned with our plan for launch. if there are thoughts or ideas about the medium or long term, let's open another ticket for that.
as i see it, there are a few options we can consider. each has their own set of pros and cons...
1. UI runs a full node by default
- a lot of overhead = bad ux
- LCD is fundamental part of cosmos

2. UI uses the LCD by default
- concern about not being enough nodes when we launch
- no incentive to run full nodes (except for validators)

3. UI uses a full node by default, but can opt in for the LCD in settings
- a lot of overhead = bad ux

4. UI uses the LCD by default, but can choose to run a full node in settings
- there is no real incentive for people to opt in

5. UI uses the LCD by default, but full node syncs in the background
- complex implementation / technical overhead

if those who are interested could share which option (1-5) they think we should implement for launch, that would be very helpful. also, other options are absolutely welcome and encouraged.
@ebuchman @jaekwon @adrianbrink
related: #335

Does this need further discussion?

seems like we're going with 4. which means we're done if we're comfortable with making people run voyager locally if they want to connect to a specific full node (or their own).

We can say we go with 4 and create a ticket "Enable users to connect to a certain node in the UI".


a template with a set of ok verbs

For SCORM objectives there are a few verbs that could be acceptable in a template, such as passed, failed, completed, scored. Is there a way to make a single template that has the activity type of "..adlnet/...objective" and a verb list of those verbs?
My initial thought was...
{
            "@id": "_:objectiveactivity",
            "name": {
                "en": "objective activity"
            },
            "verb": [
                "http://adlnet.gov/expapi/verbs/passed",
                "http://adlnet.gov/expapi/verb/failed", etc..
            ],
            "objectActivityType": "http://adlnet.gov/expapi/activities/objective",
            "contextParentActivityType": "http://adlnet.gov/expapi/activities/lesson",
            "rules": [
            ]
 }

My second thought was...
{
            "@id": "_:objectiveactivity",
            "name": {
                "en": "objective activity"
            },
            "verb": { "alternates": [
                "http://adlnet.gov/expapi/verbs/passed",
                "http://adlnet.gov/expapi/verb/failed", etc..
            ]},
            "objectActivityType": "http://adlnet.gov/expapi/activities/objective",
            "contextParentActivityType": "http://adlnet.gov/expapi/activities/lesson",
            "rules": [
            ]
 }

Or I could create a new template for each one with the verb being the only difference?
Any guidance on how to approach this would be appreciated

Currently the way to do this is to list each statement template separately, and while there are occasional awkwardnesses, I'd prefer to keep it that way for a few reasons.

even if the statements are structurally identical except for the verbs, they should probably have different names and descriptions focused on the use of the particular statement.

it will promote a subtle class of errors, with people accidentally putting statements together because of structural similarity then using the single statement template in a pattern where, say, one of the statements isn't actually allowed.

the use of every other array-valued determining value in statement templates is that all must be present, so making verb array-valued and allowing any to be present would be a notable departure.


MNT fixed test for QuantileRegressor

What does this implement/fix? Explain your changes.
Some tests are failing because the default solver="interior-point" of QuantileRegressor is not available in scipy>=1.11.0. Please see these tests as an example.
scikit-learn>=1.4.0 will change the default. In the meantime, this PR should fix the issue .

The error that occurs is very strange, as it seems like an outdated sklearn version is being used. I could reproduce the error locally yesterday, but cannot do so today (new sklearn nightly release since then). I therefore assume the error is gone and it's a caching issue on GH or something. Anyway, the error is not related to this PR so it can be merged.


Minor fixes improving UX of taker shutdown

reduce log level of heartbeat message
improve the toast message to clearly state possible action

bors r+


[BUG]"--tuning-file" parameter is invalidated

"LIBCAMERA_RPI_TUNING_FILE" reads in the libcamera library is a vacant value.
As can be seen from the log, libcamera read "LIBCAMERA_RPI_TUNING_FILE" Before the apps settings.

Print information in the libcamera library

Print infomation in the libcamera-apps

Thank you for the report.  You are right, a recent change has broken this functionality.  I will send a proposed fix shortly to get this working again.

This should hopefully be fixed with https://github.com/raspberrypi/libcamera-apps/pull/593.  Would you be able to give this a try and report back?

Okay, I'll start testing now

The problem was solved perfectly, thank you.

Thanks for confirming, the change has now been merged.


Provides native keymap for Windows (PR#9 continued)

This is a continuation of PR #9 which forgot to provide a native Windows keymap.

@sunaku This is the first time I'm using this application, any idea why on Windows the MSKLC always gives me this error when I attempt to "Build DLL and Setup Package"? Validation works fine.

CL.EXE returned 1
RC.EXE returned 1
LINK.EXE returned 1


*: fix build when using MacOS

Signed-off-by: Ryan Leung<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #10248
Problem Summary: #[cfg(target_os = "linux")] is in wrong place which is introduced by #10231
What is changed and how it works?
What's Changed: This PR puts it in the right place.
Check List
Tests

Manual test

Release note

No release note

/run-check-release-note

/run-check_release_note

/rebuild

/merge


add malfesance proofs

@brusherru
smapp can use the activation service to query ATX, which will have a malfeasance proof attached if present.
or make query for malfeasance proof directly for the smsher id in hex.
there is also going to be node event when a node detect its own malfeasance proof.


refresh branch

Docs Build status updates of commit 1933525:
:warning: Validation status: warnings
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

later

Docs Build status updates of commit 1933525:
:warning: Validation status: warnings
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


OCPBUGS-29037: Security: SSL Medium Strength Cipher Suites Supported

Which issue(s) this PR addresses:

Closes # https://github.com/openshift/microshift/issues/2974

/ok-to-test

/lgtm

I do not have the permission to change the jira status, could u please help to change the jiva to valid state

/jira refresh


Allow All Open query to be configured

I can configure the query for Created By Me, etc. I would like to be able to configure the query for "All Open" as well.

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/1777


Display equations bug

Still some issues with display equations
myst v.1.3.9
Description
It seems
Paragraph
$$Ax=b$$
Paragraph
does work, but
Paragraph
$$
Ax=b
$$
Paragraph
does not :-/

With line before and after $$?


name collision with brotli

Despite the project name being brotlipy, it's module is named brotli like the python module provided by upstream brotli.
This will make impossible to install both of them system wide.

Duplicate of #145 .


Add a method to tell if a node is part of the symbol tree

I am running into some tricky initialization time issues in jsdom and need something like domSymbolTree.isInitialized(node), so I can bail out early if we're still in the pre-symbol-tree phase.

Are you sure that is needed? domSymbolTree.initialize() is optional, any method will implicitly initialize your node as needed (example).
This initialize function is intended to help the javascript engine optimize. v8 likes it if you always assign new properties in the same order.

initialize() is also needed for compatibility with Object.freeze()

Yeah, you're right; the problem was actually that I was passing undefined to domSymbolTree.hasChildren.


How  to build  solution ? some contribution rules to follow ?

Hi @JeanPhilippeKernel
Solution file is here, if you have any specific issues with it, let us know: https://github.com/microsoft/glTF-SDK/blob/master/GLTFSDK.sln
Contribution guidelines are here: https://github.com/microsoft/glTF-SDK#contributing
Thanks!


Growth ownership among orgs

Closed in favor of https://github.com/sourcegraph/handbook/pull/2790/files


Bugs to be fixed down the road.

On some things there are bugs that I would like to bite after #6 is fully in place.
Changes related to this issue that I would like fixed:

[x] Replace /resources/Dependencies/DecoraterBotCore/Core.py#L597-#L659 with

for command in self.commands_list:
    if message.content.startswith(command):
        return
    else:  # forgot to add in the needed break for this before.
        break

to catch all registered commands on the bot in one go.

[x] Fix the bug where I have to use ::remgame to show the Type ::commands for info status message that shows as streaming on the bot upon starting the bot (Something to do with voice channel rejoin or something erroring).
[x] Rework a few things on the credentials loading and the variables to remove the variables from the BotClient initialization function.
[ ] Add way to install plugins within the /plugins folder inside of /resources/Dependencies/DecoraterBotCore.
[ ] Move all plugin cogs to an separate branch or repo to use for all plugins (Excluding default enabled plugins that are used when bot starts up).
[ ] After some time the LeaveVoiceChannel command stops doing anything and does not remove any voice channels when instructed to from the voice channel cache json.
[ ] Add command to report issues to bot development Discord Server in case the reporter does not have github.
[ ] Make the givecredits command in the ``credits.py plugin cog transfer credits instead of give 5m fee credits.
[ ] Make the credits command only work 1 time an an 24 hour period for users. (and for it to still be able to know when it will be able to be used again in case bot loses connection and logs out in an cache json file that also stores their balance (need to somehow generate an datetime object of the future (24 hours into the future) to store or and then compare and see if it has elapsed).
[ ] Change datetime object timestamps in the userinfo command to be more human readable. (provide the years, days, minutes, seconds since a user first joined discord/the server.)
[ ] Disallow discord.gg discord invite links from being used on the game command (This gives free advertising of servers if I do not do it).
[ ] Remove the old commands list json file as that is not used anyway (and is not portable between plugins).
[ ] Ability to log kicks, bans, and softbans in a server if it has a channel named mod-logs.
[ ] Unexplained race conditions in some commands (the moderation.py plugin)
[ ] Other bugs that I might not be aware of.
[ ] Allow use of moderation commands in ignored channels.
[ ] Optimize bot code some maybe to shorten some steps the bot does a bit?
[ ] Use webhooks for all commands per channel if configured (I am still in the works of distributing such package named discord.webhooks on PyPi so that more bots could make use of webhooks as well). With this change the current send message using bot account itself would be a fallback when no webhook is configured for the channel) (The configuration would be in an webhooks.py plugin cog).

Some of these fixes I could probably do on my own. The others I would definitely need help or a team to do it.

This issue will be active to all present and future commands as well. It will be appended to when issues are found and then fixed. This would act as an central way to report bugs and fix them all in one issue.

Potato.

Hey Ara.
I'm at School rn so I will be helping when I can get home. Thank you
David
NAMI CREATOR
DECORATER INSPECTOR/DEVELOPER

alright, Also if you are not ware the webhooks you made got hacked. need to figure out how to from now on encrypt them in the webhook.tk file or whatever so that way it does not expose the URL's to request resulting in lots of useless @everyone pings. (from thought of it it would be nice to have it to where webhooks cannot ping @here and @everyone.

@DavidNeon I was unsure hopw some boxes got checked when I do not have them done locally so yeah.

Alreight need to add some sort of plugin installation sysdtem that reads an json file of available plugins that can be installed and lists them out. (similar to Reads install system but different.

Alright made the json file see https://github.com/AraHaan/DecoraterBot-Plugins/blob/master/pluginlist.json

@DavidNeon You might need to reclone the repo on your account.

Partially done, but need an fool proof system that would make plugin instalation never fail with an traceback when the folder to download them to does not exist.

btw @zooba is it safe to have an 32 bit process open an 64 bit process on 64 bit windows without the 32 bit process crashing (Both command line executables that I plan to add to the path environment variable)?

@AraHaan Creating processes is safe - loading DLLs into memory is not.

ok, good to know now. In that Cased I made an change to where the user needing ffmpeg would have to clone an github repo holding the 32 bit ffmpeg exe file and then even if they are using 64- bit python it still uses the 32 bit ffmpeg. This seems to help on the fact I do not want to have to provide ffmpeg on the bot itself same for opus.

I can't do any development on this for now as my laptop has no internet right now because we got kicked out of our house earlier today because my dad was so crazy and is totally a nut.

[ ] Move most of the loggers to the 'plugins/logs.py' plugin for all of the events and the game logger to 'plugins/commands.py' plugin. This to avoid having to modify the Core for fixing the logs when an breaking change happens.


Fix maven connection time out

@ppalaga so it needs to change these configurations in maven.config, or it will be override?

@ppalaga so it needs to change these configurations in maven.config, or it will be override?

I think Peter was hinting at removing maven.config (or just removing the file contents). I don't think we want to rely on it for the CI build because we sometimes build other projects like Quarkus & Camel.

OK, I see and +1 to remove it.

The CI looks good and I will merge it.


[HW] Waveshare Pico Environment Sensor

Is this request related to a missing driver support for a particular hardware platform, SoC or board? Please describe.
I need support for Waveshare's Pico Environment Sensor shield with this schematic. In this early first stage the Zephyr upstream samples "Shell on USB console" with basic access to following environment sensors should be usable:

BME280 sensor, for measuring temperature, humidity, and air pressure (Zephyr driver)
SGP40 sensor, for detecting ambient VOC (Zephyr driver)

Access to the following sensors are optional, because of missing Zephyr upstream drivers:

TSL25911FN digital ambient light sensor, for measuring IR and visible light (similar chips with Zephyr drivers as template: TSL2540 Ambient Light Sensor or TSL2561 light sensor)
ICM20948 motion sensor, accelerometer, gyroscope, and magnetometer (3rd party Zephyr driver in killer-robot or slimevr-ble or similar chips with Zephyr drivers as template: ICM42605, ICM42670, ICM42688)
LTR390-UV-1 sensor, for measuring UV rays (3rd party Zephyr driver by twaymouth)

Describe why you are asking for this support?
With this support the board+shield variation for RP2040 based systems will scaling up.
I'm preparing a changeset for PR. I'll maintain the new board for Bridle and later contribute and maintain to/in Zephyr upstream.
Additional context
The new shields support will coming together with RPi Pico R3 connector support as currently provided by Bridle only.

TD in #180 #181 #182


FAI-1195 Create the Equality question 2 White page

New page added for Ethnic SubGroup Mixed and some changes to base model.
Story: https://skillsfundingagency.atlassian.net/browse/FAI-1195

Already merged as a separate PR


All entered characters are removed when some characters are removed before conversion by Japanese IME.

VSCode Version: 1.41.1
OS Version: Windows 10 (1909, build 18363.592)
From VSCode version info

バージョン: 1.41.1 (system setup)
コミット: 26076a4de974ead31f97692a0d32f90d735645c0
日付: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363

Steps to Reproduce:

Enable Japanese IME
Input any characters
Press arrow key before conversion
Press delete or backspace key to remove one character
Press enter key

Expected result:
Some characters, except removed one at step 4, remains
Actual result:
All characters are removed.

https://twitter.com/hori__hiro/status/1223081019084902400
https://twitter.com/hori__hiro/status/1223081543062581253

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

This is a bug with certain versions of chromium.
It has been fixed in google chrome 77 or later, so it seems to be fixed if the version of electron is increased.

We will verify this issue once we adopt Electron 7 which ships with Chromium 78.

I can confirm it's already fixed in Insiders.


ISD-1997 Add docs links to enable discourse-gatekeeper, add docs

tag discourse-gatekeeper/base-content set to commit b89cc50a1b85a7a0c57006411e522ca4040cdea9
Checklist

[x] The charm style guide was applied
[x] The contributing guide was applied
[x] The changes are compliant with ISD054 - Managing Charm Complexity
[x] The documentation is generated using src-docs
[x] The documentation for charmhub is updated
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

@erinecon Can you please review this PR? @Thanhphan1147 Can you please add a documentation tag for doc PRs next time?

I'm force merging it with 2 approvals since I need to have this PR merged before gatekeeper can work as intended.


https://codesandbox.io/s/0oz320jn8p

I will close this issue as it is not related to this repository.


Set default value of axes and add support for integer and Embedding axes in plot_interactive_matrix

This PR sets the default value of axes in plot_interactive_matrix method to [0, 1] as discussed here. Also, it adds the support for integer and Embedding type axes to this method (e.g. we can use embset.plot_interactive_matrix(0, 'foo', bar)). It was manually tested and worked fine.

LGTM!


use_internal_ip doesn't work for my prviate GKE cluster

TL;DR
I've set use_internal_ip for my private GKE cluster but keep getting timeout when executing kubectl command.

Action YAML
name: Build and Deploy to GKE

on:
  push:
    tags:
      - "backend-v*"
  workflow_dispatch:
    inputs:
      tag:
        description: "Tag of the source code to deploy"
        required: true

permissions:
  contents: read
  id-token: write

env:
  PROJECT_ID: xx-svc-ddx1
  GKE_CLUSTER: projects/xx/locations/us-west1/clusters/autopilot-cluster-1
  DEPLOYMENT_NAME: xx-backend
  IMAGE: xx-backend
  ARTIFACT_REGISTRY_REGION: us-west1
  REPOSITORY: xx

jobs:
  build-and-publish:
    name: Build and Publish
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          ref: ${{ github.event.inputs.tag || github.ref }}

      - id: "auth"
        uses<EMAIL_ADDRESS>        with:
          workload_identity_provider: "projects/xx/locations/global/workloadIdentityPools/github/providers/xx-repo"
          service_account<EMAIL_ADDRESS>
      # Setup gcloud CLI
      - name: Setup gcloud CLI
        uses<EMAIL_ADDRESS>        with:
          project_id: ${{ env.PROJECT_ID }}

      # Configure Docker to use gcloud as a credential helper
      - name: Configure Docker
        run: gcloud auth configure-docker "${{ env.ARTIFACT_REGISTRY_REGION }}-docker.pkg.dev"

      # Check if the Docker image already exists
      - name: Check if Image Exists
        id: check-image
        run: |
          if gcloud artifacts docker tags list "${{ env.ARTIFACT_REGISTRY_REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPOSITORY }}/${{ env.IMAGE }}" | grep -w "${{ github.event.inputs.tag || github.ref_name }}\s"; then
            echo "Image exists"
            echo "IMAGE_EXISTS=true" >> $GITHUB_ENV
          else
            echo "Image does not exist"
            echo "IMAGE_EXISTS=false" >> $GITHUB_ENV
          fi

      - name: Set up Docker Buildx
        if: env.IMAGE_EXISTS == 'false'
        uses<EMAIL_ADDRESS>
      - name: Cache Docker layers
        if: env.IMAGE_EXISTS == 'false'
        uses: actions/cache@v3
        with:
          path: /tmp/.buildx-cache
          key: ${{ runner.os }}-buildx-${{ github.sha }}
          restore-keys: |
            ${{ runner.os }}-buildx-

      - name: Build and Push Docker image
        if: env.IMAGE_EXISTS == 'false'
        uses<EMAIL_ADDRESS>        with:
          context: backend
          file: backend/Dockerfile
          tags: ${{ env.ARTIFACT_REGISTRY_REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPOSITORY }}/${{ env.IMAGE }}:${{ github.event.inputs.tag || github.ref_name }}
          push: true
          cache-from: type=local,src=/tmp/.buildx-cache
          cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

      - name: Merge new cache to old cache
        if: success() && env.IMAGE_EXISTS == 'false'
        run: rsync -a /tmp/.buildx-cache-new/ /tmp/.buildx-cache/

  deploy:
    name: Deploy to GKE
    runs-on: ubuntu-latest
    needs: build-and-publish

    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          ref: ${{ github.event.inputs.tag || github.ref }}

      - id: "auth"
        uses<EMAIL_ADDRESS>        with:
          workload_identity_provider: "projects/xx/locations/global/workloadIdentityPools/github/providers/xx-repo"
          service_account<EMAIL_ADDRESS>
      - name: Setup gcloud CLI
        uses<EMAIL_ADDRESS>        with:
          project_id: ${{ env.PROJECT_ID }}

      - name: Get the GKE credentials so we can deploy to the cluster
        uses<EMAIL_ADDRESS>        with:
          project_id: ${{ env.PROJECT_ID }}
          cluster_name: ${{ env.GKE_CLUSTER }}

      - id: "simple-test"
        run: "kubectl get nodes -v=10"

      - name: Download and setup kustomize
        run: |
          cd operations/xx-backend
          curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
          chmod u+x kustomize

      - name: Deploy the Docker image to the GKE cluster
        run: |
          cd operations/xx-backend
          ./kustomize edit set image $PROJECT_ID/$REPOSITORY/$IMAGE:${{ github.event.inputs.tag || github.ref_name }}
          ./kustomize build . | kubectl apply -f -
          kubectl rollout status deployment/$DEPLOYMENT_NAME -n xx
          kubectl get services -o wide -n xx

Log output
No response
Additional information
No response

Hi @yanqianglu - if your cluster does not have an IP address or connector, then it's not accessible from the Internet, therefore GitHub Actions runners would not be able to connect to it. You need to use a Connect Gateway.

Hi @yanqianglu - if your cluster does not have an IP address or connector, then it's not accessible from the Internet, therefore GitHub Actions runners would not be able to connect to it. You need to use a Connect Gateway.

Hi, my cluster is not managed by fleet and it's not a GKE enterprise version neither so probably can't use Connect Gateway. Is there any other way to connect to a private cluster?

Correct, they are mutually exclusive. Either:

Use Config Connector
Establish a VPN connection/bastion host in a previous step, and then use the internal address to connect to the cluster

Private GKE clusters are not exposed to the Internet, so you need to establish a presence on the VPC network in order to connect.


Default Save As Type should be .

VSCode Version: 1.20.1
OS Version: Windows 10

Steps to Reproduce:

Create a new file
Save it
Give name hello.js

Actual:
It saves by name hello.js.txt
Expected:
File should be saved as "hello.js".
One needs to first select "All Files(.) or No Extension"
At the moment it is very annoying to switch it back to "All files" everytime when creating new code files.
Other:
I haven't noticed this to be a problem when working with Mac

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

@mrudulp I cannot reproduce, see:

Ok, so digged in bit more, and realised it occurs for file types unknown to VSC
So try to save an untitled file with following name -- hello.typs and it will save it as hello.typs.txt

/duplicate https://github.com/Microsoft/vscode/issues/28425


Create read module

This is preparation for adding a write module using https://github.com/philipc/object-write.
The commits are moving code around with minimal changes.

Coverage remained the same at 0.0% when pulling 7abec0ebade2c11d6a31938829ce01e03f31adb2 on philipc:read into 6a731002548d6bdeb335807e4b3a921ea565d864 on gimli-rs:master.


Update Slack script to send error if build fails

This adds another option to add to the Slack script that sends an error if the build fails. The release pipeline will need to be changed before this is merged.

 Alert devs in Slack if a release fails


Increase health regen

Right now getting to half health encourages you to crybox for 5 minutes just to heal. An increase in health regen would help with that, and there is still quite a bit of room to do so before encroaching on potions' (and upcoming bandages') effectiveness.

Health regen increased slightly from 1 per 12 seconds to 1 per 10 seconds for 1.3.8. Needs testing to see if that is enough.

Turns out the above was totally wrong. 1.4.0 increased from 1 per 30 seconds to 1 per 20 seconds.


OPSEXP-2775 Support issue comment terraform apply

Checklist

Jira Reference (also in PR title): OPSEXP-2775
README updated after adding/changing behaviour of an action
Proposed version increment for release:

[ ] Patch (bugfix)
[ ] Minor (new feature)
[ ] Major (breaking changes)

External PR link where changes has been tested: https://github.com/Alfresco/terraform-alfresco-hydra/pull/101

Description

Support terraform apply triggered by pr comment with specific text.

No version upgrade?


I'm getting Forbidden from Get-AzWebAppPublishingProfile

Would be nice if the page addressed this:
Get-AzWebAppPublishingProfile : Operation returned an invalid status code 'Forbidden'

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

ID: d7d73b21-aa15-4aa8-7a89-f22bc2a172b0
Version Independent ID: 5d7b19c2-8170-a0b1-7c46-e1dff7b27d9b
Content: PowerShell: Upload files using FTP - Azure App Service
Content Source: articles/app-service/scripts/powershell-deploy-ftp.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@randyram-at-ms Thanks for the feedback! We will review and update accordingly.

@randyram-at-ms Thanks again for the feedback! You may want to know that user must be contributor or higher on the app (including Website Contributor built-in role). Readers are not allowed to publish, and can't access those credentials.
You may refer to this document link might be helpful: https://docs.microsoft.com/en-us/azure/app-service/deploy-configure-credentials?tabs=cli

@randyram-at-ms We will now proceed to close this thread. If there are further questions regarding this matter, please let us know.


Add git init

Problem Description
When creating a project git has to be initialized manually.
git usage is mandatory, therefore it should be implemented accordingly.
Proposed Solution
Add git init to script.

Moved issue to https://github.com/deeplex/copier-copier/issues/5


Working with UGUI，cannot see the assetsid with child of canvas

Describe the bug
A clear and concise description of what the bug is.
Repro project
It would be very helpful if you can produce a small project that reproduces the issue.  Upload it to dropbox or google drive and attach the link to this issue.
To Reproduce
Steps to reproduce the behavior:

Open the attached project '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows, MacOS]
Build target: [e.g.  Android, webgl, standalone, iOS]
Unity version: [e.g. 2017.4]
Mirror branch: [e.g.  master, 2018]

Additional context
Add any other context about the problem here.

Closing - no information provided.


Having an issue running get_devices

─$ python3 get_devices.py
Please choose your account region
1: Mainland China
2: Rest of the World
Region [1/2]: 2
Region code: US
Email<EMAIL_ADDRESS>Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 372, in decode
obj, end = self.raw_decode(s)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 402, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
simplejson.errors.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kali/libdyson-neon/get_devices.py", line 22, in
verify = account.login_email_otp(email, region)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/libdyson-neon/libdyson/cloud/account.py", line 161, in login_email_otp
jsonRes = response.json()
^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

Interesting! This looks like an error from the Dyson API. I verified the script seems to be working correctly (at least for my particular account, on my machine).
Can you try again and verify whether the issue persists?

Yep, same error.  I'm logged out of the android app, haven't logged back
into it since 11 this morning, so 6ish hours ago.
On Wed, Apr 26, 2023, 4:04 PM Ben Vezzani @.***> wrote:

Interesting! This looks like an error from the Dyson API. I verified the
script seems to be working correctly (at least for my particular account,
on my machine).
Can you try again and verify whether the issue persists?
—
Reply to this email directly, view it on GitHub
https://github.com/libdyson-wg/libdyson-neon/issues/11#issuecomment-1523978964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANI2XWZ4PS7JF3WTFCC6JLXDF5WXANCNFSM6AAAAAAXMZ4YZY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks for the confirmation. I wonder if you'd be willing to help figure out what's happening to you. I've got a quick-and-dirty debugging branch for you here if you'd like to switch to it: https://github.com/dotvezz/libdyson-neon/tree/debug-login-json
You can also just edit your files locally, it's just adding a lazy print around libdyson/cloud/account.py line 160 to see what the API is giving you.:
diff --git a/libdyson/cloud/account.py b/libdyson/cloud/account.py
index 0eaa88c..08f84b7 100644
--- a/libdyson/cloud/account.py
+++ b/libdyson/cloud/account.py
@@ -158,6 +158,8 @@ class DysonAccount:
             auth=False,
         )

+        print(response.content)
+
         jsonRes = response.json()

         account_status = jsonRes["accountStatus"]

─$ python3 get_devices.py
Please choose your account region
1: Mainland China
2: Rest of the World
Region [1/2]: 2
Region code: US
Email: @.***
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/models.py", line 971, in
json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/simplejson/init.py", line 525,
in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 372, in
decode
obj, end = self.raw_decode(s)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 402, in
raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
simplejson.errors.JSONDecodeError: Expecting property name enclosed in
double quotes: line 1 column 2 (char 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kali/libdyson-neon/get_devices.py", line 22, in
verify = account.login_email_otp(email, region)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/libdyson-neon/libdyson/cloud/account.py", line 130, in
login_email_otp
jsonRes = response.json()
^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/models.py", line 975, in
json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting property name enclosed in
double quotes: line 1 column 2 (char 1)
On Wed, Apr 26, 2023 at 5:58 PM Ben Vezzani @.***>
wrote:

Thanks for the confirmation. I wonder if you'd be willing to help figure
out what's happening to you. I've got a quick-and-dirty debugging branch
for you here if you'd like to switch to it:
https://github.com/dotvezz/libdyson-neon/tree/debug-login-json
You can also just edit your files locally, it's just adding a lazy print
around libdyson/cloud/account.py line 160 to see what the API is giving
you.:
diff --git a/libdyson/cloud/account.py b/libdyson/cloud/account.py
index 0eaa88c..08f84b7 100644--- a/libdyson/cloud/account.py+++ b/libdyson/cloud/account.py@@ -158,6 +158,8 @@ class DysonAccount:
auth=False,
)

   print(response.content)+
  jsonRes = response.json()

  account_status = jsonRes["accountStatus"]

—
Reply to this email directly, view it on GitHub
https://github.com/libdyson-wg/libdyson-neon/issues/11#issuecomment-1524094752,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANI2XSYBMOWFKBI2D22XRDXDGLBPANCNFSM6AAAAAAXMZ4YZY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hmm, something is weird. It doesn't seem to have any content in the response. Sorry to be a bother, but I'd like to get a bit more information from you.
Can you tell me a bit more about the environment you're running the script in?

Python Version
OS Version

And can you run the following two cURL requests and see what it gives you? Make sure to fill in your email address on the last line
curl https://appapi.cp.dyson.com/v1/provisioningservice/application/Android/version
curl -H 'Content-Type: application/json; charset=utf-8' \
     -X POST 'https://appapi.cp.dyson.com/v3/userregistration/email/userstatus?country=US' \
     -d '{"email":"YOUR_EMAIL_HERE"}'

The first request primes the API to respond to the next request, it's explained in more depth here.
The second request checks the account status with your email address. It's the request that you're currently erroring out on, and which seems to be giving an empty response content.

The script has worked in the past.  I just replaced my router and the HA
plugin quit working on a couple of my devices, but rebooting them fixed
them.  Just the fan didn't come back.  Saw someone else had that issue and
removed and readded the fan fixed it.
Kali linux
$ uname -a
Linux TheGibson 6.1.0-kali7-amd64 #1 SMP PREEMPT_DYNAMIC Debian
6.1.20-2kali1 (2023-04-18) x86_64 GNU/Linux
Python 3.11.2
┌──(kali㉿TheGibson)-[~/libdyson-neon]
└─$ curl https://appapi.cp.dyson.com/v1/provisioningservice/application/Android/version
"5.0.21061"
┌──(kali㉿TheGibson)-[~/libdyson-neon]
└─$ curl -H 'Content-Type: application/json; charset=utf-8'
-X POST 'https://appapi.cp.dyson.com/v3/userregistration/email/userstatus?country=US'

-d @.***"}'
{"accountStatus":"ACTIVE","authenticationMethod":"EMAIL_PWD_2FA"}
On Thu, Apr 27, 2023 at 8:42 AM Ben Vezzani @.***>
wrote:

Hmm, something is weird. It doesn't seem to have any content in the
response. Sorry to be a bother, but I'd like to get a bit more information
from you.
Can you tell me a bit more about the environment you're running the script
in?

Python Version
OS Version

And can you run the following two cURL requests and see what it gives you?
Make sure to fill in your email address on the last line
curl https://appapi.cp.dyson.com/v1/provisioningservice/application/Android/version
curl -H 'Content-Type: application/json; charset=utf-8'
-X POST 'https://appapi.cp.dyson.com/v3/userregistration/email/userstatus?country=US'
-d '{"email":"YOUR_EMAIL_HERE"}'
The first request primes the API to respond to the next request, it's
explained in more depth here
https://github.com/libdyson-wg/libdyson-neon/blob/main/libdyson/cloud/account.py#L122-L135
.
The second request checks the account status with your email address. It's
the request that you're currently erroring out on, and which seems to be
giving an empty response content.
—
Reply to this email directly, view it on GitHub
https://github.com/libdyson-wg/libdyson-neon/issues/11#issuecomment-1525629390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANI2XW4HJ5GPQBGBMUD4B3XDJSR5ANCNFSM6AAAAAAXMZ4YZY
.
You are receiving this because you authored the thread.Message ID:
@.***>

WAIT!  It's working now...
On Thu, Apr 27, 2023 at 8:42 AM Ben Vezzani @.***>
wrote:

Hmm, something is weird. It doesn't seem to have any content in the
response. Sorry to be a bother, but I'd like to get a bit more information
from you.
Can you tell me a bit more about the environment you're running the script
in?

Python Version
OS Version

And can you run the following two cURL requests and see what it gives you?
Make sure to fill in your email address on the last line
curl https://appapi.cp.dyson.com/v1/provisioningservice/application/Android/version
curl -H 'Content-Type: application/json; charset=utf-8'
-X POST 'https://appapi.cp.dyson.com/v3/userregistration/email/userstatus?country=US'
-d '{"email":"YOUR_EMAIL_HERE"}'
The first request primes the API to respond to the next request, it's
explained in more depth here
https://github.com/libdyson-wg/libdyson-neon/blob/main/libdyson/cloud/account.py#L122-L135
.
The second request checks the account status with your email address. It's
the request that you're currently erroring out on, and which seems to be
giving an empty response content.
—
Reply to this email directly, view it on GitHub
https://github.com/libdyson-wg/libdyson-neon/issues/11#issuecomment-1525629390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANI2XW4HJ5GPQBGBMUD4B3XDJSR5ANCNFSM6AAAAAAXMZ4YZY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yay! I don't think I can claim to have done anything to help you, and I wish we knew what was going on. But I'm glad things are working! I'll go ahead and close this, but feel free to follow up here if you have any more issues.
My takeaways:

Make some easier way to debug things

Env var?
Command line flag?
Config file
Any of the above?

I was getting the same error and I finally figured it out - I wasn't capitalizing the country code...

Unfortunately I am getting this error now. The file worked the first time for me, but I wasn't quick enough to get the code sent to my email. I copied the code from my email and tried pasting it in but it didn't work. I restarted the get_devices and this is the error I'm getting now.
1: Mainland China
2: Rest of the World
Region [1/2]: 2
Region code: US
Email<EMAIL_ADDRESS>Traceback (most recent call last):
File "C:\Python\lib\site-packages\requests\models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Python\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Python\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python\lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\xxx\Downloads\libdyson-neon-main\libdyson-neon-main\get_devices.py", line 22, in
verify = account.login_email_otp(email, region)
File "C:\Users\xxx\Downloads\libdyson-neon-main\libdyson-neon-main\libdyson\cloud\account.py", line 161, in login_email_otp
jsonRes = response.json()
File "C:\Python\lib\site-packages\requests\models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting property name enclosed in double quotes] {error: "Endpoint is not available currently"}: 1
C:\Users\xxx\Downloads\libdyson-neon-main\libdyson-neon-main>
Seems like for the other user Barry99705, he waited a day, and was able to use get_devices.

Unfortunately I am getting this error now. The file worked the first time for me, but I wasn't quick enough to get the code sent to my email. I copied the code from my email and tried pasting it in but it didn't work. I restarted the get_devices and this is the error I'm getting now.
1: Mainland China 2: Rest of the World Region [1/2]: 2 Region code: US Email<EMAIL_ADDRESS>Traceback (most recent call last): File "C:\Python\lib\site-packages\requests\models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "C:\Python\lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Python\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python\lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\xxx\Downloads\libdyson-neon-main\libdyson-neon-main\get_devices.py", line 22, in verify = account.login_email_otp(email, region) File "C:\Users\xxx\Downloads\libdyson-neon-main\libdyson-neon-main\libdyson\cloud\account.py", line 161, in login_email_otp jsonRes = response.json() File "C:\Python\lib\site-packages\requests\models.py", line 917, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: [Errno Expecting property name enclosed in double quotes] {error: "Endpoint is not available currently"}: 1
C:\Users\xxx\Downloads\libdyson-neon-main\libdyson-neon-main>
Seems like for the other user Barry99705, he waited a day, and was able to use get_devices.

I logged out of the app on my iPhone, and tried to log back in and was getting error "having trouble connecting to Dyson network". I got off WiFi, and the error went away and I was able to log into the app. I tried to run get_devices.py again, and was getting the same error. I hotspotted on my phones 5G (without WiFi), and I was able to retrieve the credentials. Hope this helps someone!


add support for custom identifiers

Can you add some tests around this?

Good call - tests added.

This is needed to get collection service working correctly - merging now, will fix forward based on any feedback.

Update to address feedback: https://github.com/westfieldlabs/pub_sub/pull/23 .


maint: add config for gh release notes organization

Which problem is this PR solving?

make it easier to let automation do the work of generating release notes

Short description of the changes

add release.yml to specify configuration of header sections for gh release notes organization
will need to add "no-changelog" label to list of labels to use for each repo - this will primarily be helpful for release prep PRs to not be included in the release notes

Opened a PR to add some labels to our labeler.


[WARNING] The POM for org.apache.logging.log4j:log4j-changelog:jar:0.5.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

Description
Running the plugin with 'mvn clean verify' for Apache Log4j 2.22.0 RC1 emits a warning:
[WARNING] The POM for org.apache.logging.log4j:log4j-changelog:jar:0.5.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Configuration
Version:
0.5.0
Operating system:
Microsoft Windows [Version 10.0.19045.3570]
JDK:
openjdk version "11.0.20" 2023-07-18
OpenJDK Runtime Environment Temurin-11.0.20+8 (build 11.0.20+8)
OpenJDK 64-Bit Server VM Temurin-11.0.20+8 (build 11.0.20+8, mixed mode)
Logs
[INFO] --- log4j-changelog:0.5.0:export (export-changelog) @ log4j-bom ---
[WARNING] The POM for org.apache.logging.log4j:log4j-changelog:jar:0.5.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
exported 54 release directories: ..., `C:\tmp\test\src\changelog\2.22.0`
exporting upcoming release directory: `C:\tmp\test\src\changelog\.2.x.x`

Reproduction
Run mvn clean verify on Apache Log4j 2.22.0 RC1.

log4j-tools-bom:0.5.0 uses logging-parent:10.1.1, which removes the parent while flattening the BOM, though it shouldn't. This issue is fixed in logging-parent:10.2.0 via apache/logging-parent#37. Hence, log4j-tools-bom:0.6.0, which uses logging-parent:10.4.0, will have a BOM with a valid parent.
Once log4j-tools-bom:0.6.0 is out, we will use it in logging-parent:10.5.0, which we will use it in log4j-tools-bom:0.7.0, which won't have this WARNING anymore.


Test coverage

Assess it.
Improve it (e.g., some stdlib tests are only being run for StandardHonkComposer now).

We should be smarter about testing the stdlib--not everything must be tested with all composer types. We can separate responsibilities and test only with circuit constructors. This would also make re-enabling on heavy tests less painful. Aztec 3 will still have end-to-end circuit tests.

Completed by #325 and earlier coverage testing by @Rumata888.


kubeadm will go to beta3 in the future, we should handle it

See also https://github.com/SUSE/skuba/blob/c4c31d90cf3865c933ef763a85025bf9f23b15e7/internal/pkg/skuba/kubeadm/configmap.go#L70-L75 , and Rafa's talk on kubecon Europe 2020.

I am not working on this anymore. This issue has been stale for a while. Does it make sense to close the issue?

I am not working on this anymore. This issue has been stale for a while. Does it make sense to close the issue?

Yes!
clean-up day? ;)

Indeed :)


rotate8x8

there's an error in rotate8x8.py when combined with scrolling
simplest repro of this would be taking "Scrolling and pixel setting..." from matrix_test.py and setting device.orientation(180) before running it
source: http://pastebin.com/jzWvuYK7
File "/usr/local/lib/python2.7/dist-packages/max7219/led.py", line 361, in _rotate
tile = rotate(tile)
File "/usr/local/lib/python2.7/dist-packages/max7219/rotate8x8.py", line 37, in rotate
assert 0 <= value < 256, 'Value {0} outside range 0..255'.format(value)
AssertionError: Value 496 outside range 0..255

ah right - looks like scroll_down just does <<1 .. it should probably & 0xff as well.
Will look at getting this fixed shortly.
Thanks for reporting!


AVR Architecture plugin

https://github.com/cah011/binja-avr
This is going to be in development for a while, in it's current state it will disassemble AVR instructions. From my checking side by side with IDA it looks good. I will be doing more checking/development and plan to implement LLIL and possibly some other features as I get a better handle on the API

Thanks for the plugin -- now integrated.


Bump blaze-builder upper version bounds

blaze-builder recently updated to version 0.4, in which the Builder type is now a bytestring-builder internally. Although you could just replace the blaze-builder dependency with bytestring-builder, since scotty exposes the Builder type as part of its API, it would probably be best to do a simple version bump to avoid breaking any packages that use ContentBuilder.

WAI still depends on blaze-builder, so I agree it's probably best to just bump the bounds.
It looks like the Builder type is actually defined in bytestring as of <IP_ADDRESS> (which comes with 7.8.3). Scotty is still supporting GHC 7.6 (bytestring <IP_ADDRESS>) for a while yet, but eventually we'll be able to remove the extra dependency altogether, so maybe add a comment in the cabal file to that effect?

You wouldn't need to drop support for GHC 7.6 necessarily. The bytestring-builder package backports the Builder type for GHCs that don't ship with bytestring-<IP_ADDRESS> or later, so you could simply swap out blaze-builder for bytestring-builder when the time comes for a breaking change.
I'll go ahead and add a comment to the .cabal file to that effect, but let me investigate first why fast-logger failed to build on Travis.

Preprocessing library fast-logger-2.2.3...
System/Log/FastLogger/IO.hs:9:8:
    Could not find module `Blaze.ByteString.Builder.Internal.Types'
    Perhaps you meant
      Blaze.ByteString.Builder.Internal.Write (from blaze-builder-<IP_ADDRESS>)
      Data.ByteString.Builder.Internal (needs flag -package bytestring-builder-<IP_ADDRESS>.1)
    Use -v to see a list of the files searched for.

Guessing fastlogger needs bumped (which means bumping whatever we depend on that depends on it).

It turns out fast-logger wasn't building due to blaze-builder as well, coincidentally enough. Version 2.3.0 fixes building on GHC 7.6, so the Travis build of scotty should work correctly now.

Coverage remained the same at 57.58% when pulling d0f376cbc3daba332145af8b948e1663cf1be6b4 on RyanGlScott:blaze-builder into 96e0e7f63b7aa07baaf55768b78f94688e7c837c on scotty-web:master.

Fixed in 599701fb20d6dc3d4b2416f52d1732d7beb422f9.


Request new module: azure-iot-hub

(Click Preview to navigate to guides) Please read the guides on how to create a module for the catalog:

Guide for a GitOps Module
Guide for a Terraform Module

Type of module
terraform
If requesting a terraform module, what is the target cloud platform?
azure
What is the purpose of the module?
This module will provision an instance of IoT Hub in an Azure account. It should use the iothub resource in the Azure terraform provider - https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub .
Endpoints and routes should be provisioned using the separate resources in different modules (instead of configuring them in the iothub resource directly).

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_route
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_endpoint_eventhub
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_endpoint_servicebus_queue
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_endpoint_servicebus_topic
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iothub_endpoint_storage_container

The module should depend on the external resource group module for the resource group. It should also follow the provision pattern established in the other modules. Use https://github.com/cloud-native-toolkit/terraform-azure-vnet as a reference
What is the category of the module?
iot

/name iot-hub

/group iot

/displayName Azure IoT Hub


Docker Hub Auto Build failed for a month..

https://hub.docker.com/r/rackhd/on-http/builds/
https://hub.docker.com/r/rackhd/on-taskgraph/builds/
@rolandpoulter

This looks like a duplicate of https://github.com/RackHD/RackHD/issues/393

Yes, it is.


Browser compability

Now it only works on Chrome, would be nice if the other browsers are also supported
The problem is the DeviceOrientationEvent does't work the same on all browsers and doesn't return the rotation absolute to Zero

Compability:
+Chrome
-Samsung Internet[Scaling doesn't work]
-Firefox [no absolute compass]
-UC[Source doesn't work]
-Opera
? Safari[can't test on apple devices]
Browser share:http://gs.statcounter.com/browser-market-share/mobile/europe
=> Focus on Chrome, Safari and Samsung Internet [~95% in Europe]