Issue #3582 - fix swagger documentation for auth ops

Type of change

Documentation

Description
In the swagger based documentation, the authorisation operation is documented as "receive" whereas in the code the value is "recv".
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

You need to rebuild docs and commit the adoc as well


Buttons not using Foreground

I got a button which isn't using the Colour that is put in the xaml file

        <StackPanel Margin="0,5,0,0" Orientation="Vertical">
            <Button Content="-CORRUPT-"
                    Background="Black" BorderBrush="Coral" Foreground="Coral" Margin="0,0,0,5" x:Name="btnCorrupt"
                    Click="button_Corrupt_Clicked" FontWeight="Bold" FontSize="10" />
            <Button Content="-LAUNCH-"
                    Background="Black" BorderBrush="Fuchsia" Foreground="Fuchsia" x:Name="btnLaunch"
                    Click="btnLaunch_Clicked" FontWeight="Bold" FontSize="10" />
        </StackPanel>

but yet it using the colour in another file

repo with code: https://github.com/AzyIsCool/HATE

This is happening for the same reason as https://github.com/AvaloniaUI/Avalonia/issues/2474#issuecomment-488340074, so closing.


require is not defined

Hi.
When using workbox in the dev environment (nuxi dev) on nuxt3, the following error occurred when registering ServiceWorker.
require is not defined

Corresponding error code
const {isNaN} = require('lodash-es');

I think this happens because the require function doesn't exist in the browser environment, is there a workaround?
Since the above code does not exist in .nuxt/dev-sw-dist/workbox-a0214893.js, it seems to be a transpile bug during nuxi dev.

@userquin
It seems that nuxt-lodash is transpiled on the dev server
add @vite-pwa/nuxt module and pwa config in nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config
import {resolve} from "path";
import {readdirSync} from "fs";

export default defineNuxtConfig({
  modules: [
    'nuxt-lodash',
    '@vite-pwa/nuxt',
  ],
  pwa: {
    workbox: {
      mode: 'development',
      runtimeCaching: [
        {
          urlPattern: new RegExp(`\\/.+\\.(jpg|css)(\\?.*)?$`, 'i'),
          handler: 'StaleWhileRevalidate',
          options: {
            cacheName: 'resource',
            expiration: {
              maxAgeSeconds: 60 * 60 * 24 * 365,
              maxEntries: 10000,
              purgeOnQuotaError: true,
            },
          },
        }
      ],
      sourcemap: true,
      skipWaiting: true,
      clientsClaim: true,
      navigateFallback: null,
    },
    mode: 'development',
    registerType: 'autoUpdate',
    injectRegister: 'auto',
    devOptions: {
      enabled: true,
      type: 'module',
    },
  },
  devtools: { enabled: true }
})

add @vite-pwa/nuxt and nuxt-lodash in package.json
{
  "name": "nuxt-app",
  "private": true,
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "devDependencies": {
    "@nuxt/devtools": "^0.7.1",
    "@vite-pwa/nuxt": "^0.1.0",
    "nuxt": "^3.0.0",
    "nuxt-lodash": "^2.4.0",
    "typescript": "^4.9.3"
  }
}

try update nuxt-lodash to latest version

@userquin
nuxt-lodash is 2.5.0 installed.


Studying the evolution of zulip' project

Hi there,
I'm a researcher studying software evolution. As part of my current research, I'm studying the implications of open-sourcing a proprietary software, for instance, if the project succeed in attracting newcomers. zulip was in my list.
To further analyze the impacts of zulip's migration, we analyzed the git log commit history of your project in terms of number of contributions, number of newcomers, and number of contributors per month. The following figure presents a temporal perspective regarding these three measures.

Given the numbers presented in the graphic, we would like to ask zulip developers the following questions:

What motivated the project to open its source code at Github? How do you evaluate the benefits of this migration?
Does this snapshot make sense? Did you find any inconsistency on the data?
Do you have any internal policy to promote/attract/retain newcomers? If so, do them succeed?
Why did the number of active contributors and contributions decrease shortly after the project became open-source?
Why there is a new pick of contributors some months after the migration to Github? Is there related to any release?

Thanks in advance for your collaboration,
Gustavo Pinto, PhD
http://www.gustavopinto.org

Hi Gustavo,

What motivated the project to open its source code at Github? How do you evaluate the benefits of this migration?

The software was not being actively developed by its owners (Dropbox), but it had many users who wanted to continue using and improving the software.  I feel that open sourcing Zulip has been a huge success, since the open source project is now moving faster than Zulip was moving when it had 11 fulltime engineers as a startup prior to the Dropbox acquisition.

Does this snapshot make sense? Did you find any inconsistency on the data?

Not really -- your data doesn't match the GitHub graphs: https://github.com/zulip/zulip/graphs/contributors

Do you have any internal policy to promote/attract/retain newcomers? If so, do them succeed?

As the maintainer I try to be super responsive to new contributors on GitHub, since I think it materially impacts the experience.  We also have the zulip.tabbott.net community server, which makes it easy for new contributors to get realtime help.  But most important is that we've invested a huge amount of effort into in making Zulip's development environment really easy to setup and use compared to other large webapps.

Why did the number of active contributors and contributions decrease shortly after the project became open-source?

It didn't.  There was a big 1-week burst during the Hack Week where the work to prepare Zulip to be open sourced happened, but otherwise the project was inactive before becoming open source and has been increasingly active since then.

Why there is a new pick of contributors some months after the migration to Github? Is there related to any release?

I think it's a combination of (1) Google Summer of Code, which attracted many developers to Zulip in March 2016 and (2) my having more time to devote to Zulip and building the community around it.
I'm happy to answer more questions over email (I feel like this isn't really a question for the issue tracker) if you have any follow-up questions.

Hi @timabbott, I have additional questions about going open-source, do you mind in answering them?
What was the main motivation plotly?
For example, was the main motivation of the companies to attract and retain new contributors?  Or was the main motivation perhaps to promote a profile of open-source-friendliness and get goodwill from the community?
Could you please elaborate a bit over it?
Additionally, were there instances that companies recruited people from the community after they contributed to the (now open-sourced) project?
Were there discussions between the companies and the community that indicate a communication between them?
Finally, what are the recommendations for policies to create a sustainable community?
BTW, I see your comment about chatting by email. However, since this is for research purposes, that would be better to chat in a public place.

I don't really have time to write about this in detail, but in short: Zulip's case is one where Dropbox open sourced the software but didn't work on it themselves afterwards, so most of those questions aren't really applicable.
https://blog.zulip.org/2017/06/06/zulip-server-1-6-released/ has a bunch of useful content on how the community works today and the scale at which we operate.

@gustavopinto I gratefully invite you to join our development server: chat.zulip.org to ask other questions.

Thanks! I will do that!
On Tue, Jun 13, 2017 at 7:40 PM, Joshua Pan<EMAIL_ADDRESS>wrote:

@gustavopinto https://github.com/gustavopinto I gratefully invite you
to join our development server: chat.zulip.org to ask other questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/1968#issuecomment-308269321, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAOWNungNrUwlGdD8IM1k3y6MLOOD7vdks5sDw_4gaJpZM4KTsWG
.


windows python path for conda recipe windows scripts

I know it is a minor correction but it was useful in my afternoon tests.
I did not solve it, it is just a copy of Anaconda-Server/nb_conda_kernels#5
Thanks for all the work.

Oh... I missed that on this one... in fact try using %PYTHON% instead of "%PREFIX%\bin\python" and let me know if it works for you...

Actually, solved in master: https://github.com/Anaconda-Server/nb_config_manager/blob/master/conda.recipe/post-link.bat
Thanks for the PR!


Feature Request: Allow add_with_options to support virtual/non-existent directory structures.

This is something I can do using js-ipfs-http-client:
      const dir_obj = [
        {
          path: "some.json",
          content: JSON.stringify(object),
        },
      ];
      const add_options = {
        wrapWithDirectory: true,
      };
      const add_result = await ipfs.add(obj, add_options);

I looked into writing the equivalent with build_base_request and request_stream_json like add_path does but couldn't because they are private.
Is there another way to do this already?
If not, I suppose I could take a swing at implementing it.
Would adding an Optional form argument be a good approach?
Something like:
    async fn add_with_options<R>(
        &self,
        data: R,
        add: request::Add<'_>,
        mut form_option: Option<multipart::Form<'static>>,
    ) -> Result<response::AddResponse, Self::Error>
    where
        R: 'static + Read + Send + Sync,
    {
        if form_option.is_none() {
            let mut form_unwrapped = multipart::Form::default();
            form_unwrapped.add_reader("path", data);
            form_option = Some(form_unwrapped);
        }

        self.request(add, form_option).await
    }

Do you know of https://github.com/ferristseng/rust-ipfs-api/blob/master/ipfs-api-prelude/src/request/add.rs

yeah, I tried it using:
  let json = serde_json::to_string(&p).unwrap();
  let data = Cursor::new(json);
  let add = ipfs_api::request::Add::builder()
    .wrap_with_directory(true)
    .build();
  let result = match state.ipfs_client.add_with_options(data, add).await ...

but there seems to be two issues...

when I use it, I get:

Parse(
    Error("trailing characters", line: 2, column: 1),
)

I couldn't find a way to define the directory structure, in the case, the "file name" for data.

Am I missing something?

About thew error I'm not sure.
But if your using json data why not use IPLD via ipfs dag put?

I've just never tried it, my current usecase is based on uploading json. Not sure IPLD would fit the usecase, but maybe it would.

I understand.
ipfs add in this case is made for file not really json constructed programatically.
If your can fix it that would be good.

I should be possible using something like the code I posted above, since that's basically how add_path already works. I'm new to rust though, so I've yet to make it work.
currently with.
    #[inline]
    async fn add_with_options<R>(
        &self,
        data: R,
        add: request::Add<'_>,
        form: Option<multipart::Form<'static>>,
    ) -> Result<response::AddResponse, Error>
    where
        R: 'static + Read + Send + Sync,
    {
        let mut form_option = form;
        if form_option.is_none() {
            let mut form_unwrapped = multipart::Form::default();
            form_unwrapped.add_reader("path", data);
            form_option = Some(form_unwrapped);
        }

        self.request(add, form_option).await
    }

results in :
hidden type for `impl Trait` captures lifetime that does not appear in boundsrustcE0700
internal.rs(466, 10): hidden type `impl futures::Future` captures lifetime smaller than the function body

Looked it up, but not sure how to proceed.

I'm willing to pay a small bounty for this functionality to be expedited into the next release.

Alright, I've got a working implementation here:
https://github.com/iohzrd/rust-ipfs-api/blob/e964814abc84ebc4a87bd2a2c4ffe53db71fe752/ipfs-api/src/client/internal.rs#L494
https://github.com/iohzrd/rust-ipfs-api/blob/e964814abc84ebc4a87bd2a2c4ffe53db71fe752/ipfs-api-prelude/src/api.rs#L124
thoughts?

Maybe @ferristseng could chime in. API design is not really my forte.
IMO it looks good.

Thanks! I think this looks fine. I'll take a closer look this weekend, but could you make a PR for it?

Here it is.
https://github.com/ferristseng/rust-ipfs-api/pull/86
Thanks.


Optional clear flag in checkIfAlarm() / #9

This PR tackles the challanges brought up in issue #9 by adding an addition method checkIfAlarm to the DS3231 class, that makes clearing the alarm flags optional.
Summary:

added new method bool DS3231::checkIfAlarm(byte Alarm, bool clearflag)
added polling example AlarmPolling.ino to test said method and provide an example for polling alarm code

With this PR, we may close  #9.
Best regards,
Jacob

So... you're overloading the checkIfAlarm() function?  Now there would be two versions, one with the boolean parameter and the other without it?
I don't oppose this change. I'm asking the question to gather information for future documentation, because if we go this way then both of these similarly-named methods would need to be disclosed and their differences explained.
Observations without any intent to criticize:

Overloading appears to be redundant for fetching the value of the specified alarm flag (1 or 2).
How likely is the use case for checking the status of the alarm flag while leaving unchanged?

I mention the following solely for conversational purposes.
I've thought about this same issue. The approach I considered was to separate and distinguish the two tasks that the function presently performs.

Add a void clearAlarm(n) method which would simply clear the specified alarm flag without bothering to return its value.
Remove the flag-clearing side effect of checkIfAlarm(n) and even rename it to checkAlarm(n).

Then the two functions would be clearly different and more or less self-documenting:

bool checkAlarm(n) returns the state of the specified flag but does not alter it.
void clearAlarm(n) forces the flag to the "clear" status but does not return the state it was in before clearing it.

Yes, that is absolutely correct. I overload the checkIfAlarm with a second input parameter. This was a design decision with respect to backwards compatibility and consistency.
First, I wouldn't want to alter the existing method too much for it could break existing code. Your suggestion to separate the alarm check and the clear flag is surely an option, but this would break code, that relies on clearing the alarm flag in checkIfAlarm (for example the AlarmInterrupt example).
Second, checking the alarm without clearing the flag is actually not that uncommon. In particular, in interrupting code, you usually want to respond to one alarm uninterrupted until all your alarm logic is completed and then clear the flag. In fact, the AlarmInterrupt example does exactly that, however, it uses the interrupt to check the alarm.
Let me give a specific example: Say you use both alarms on the clock with interrupting code and you want to complete your alarm logic without being interrupted. Then you need checkIfAlarm to figure out, which alarm has fired, without clearing the flag as otherwise, the other alarm could interrupt your logic. Once your logic has run, you can then clear the flag.
I hope this explains my design decisions.
Best regards,
Jacob

I understand. As you wish. Thank you.
We could avoid breaking old code while adding the two, distinctly named functions to the Library for the benefit of clarity in future code. Leave the checkIfAlarm() function in there, including the overloading you propose, but deprecate it.

Overloading seems to me a good solution to keep backwards compatibility while adding the requested more limited scope of the function.

A note to @jnuernberg: It seems that your local commits are not linked with your GitHub account, and therefore the system is not noting your contributions to the repository. If this is important to you, please link these, and I will try to retroactively apply this. In this way, your name will appear when generating doi-labeled releases via GitHub + Zenodo.

Hi @awickert, thanks for pointing that out. I had my global configs changed lately for demonstration purposes an apparantly didn't change them back.
The only way to relink the commits (that I know of) is a rebase. So I went ahead and did that in the branch issue9. We can remerge it into master. It's not really important for me, but as we are on it, why not. If it's too much of an effort, we can also just stall/delete this branch.
Again, thanks for pointing it out, and thanks for the power entrusted :+1:


Harmonization of MetierL6 and GearL4: Metier L6 needs to be changed

New metier L6 SX should have been SBV as lready existing in Gear L4. Confirmed by ISSG, it will have to wait until september. Will need to contact Spanish submitters to ask them to resubmit with new code.

It seems problematic to change the L6 code from SX to SBV, as existing in Gear L4, as stated by spanish submitter and agreed by ISSG chairs. Would reject this request.


Uncaught TypeError: Cannot read property 'getPath' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 0.201.0
System: Mac OS X 10.10.3
Thrown From: atom-rails package, v0.4.0
Stack Trace
Uncaught TypeError: Cannot read property 'getPath' of undefined
At /Users/evrei/.atom/packages/atom-rails/lib/atom-rails.coffee:13

TypeError: Cannot read property 'getPath' of undefined
  at Object.module.exports.switchToModel (/Users/evrei/.atom/packages/atom-rails/lib/atom-rails.coffee:13:51)
  at atom-workspace.<anonymous> (/Users/evrei/.atom/packages/atom-rails/lib/atom-rails.coffee:9:66)
  at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:115:32)
  at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
  at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:153:19)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:71:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:166:7)

Commands
     -0:01.9.0 atom-rails:switch-to-model (a.)

Config
{
  "core": {
    "themes": [
      "seti-ui",
      "one-dark-syntax"
    ],
    "disabledPackages": [
      "vim-mode",
      "goto",
      "goto",
      "html2jade",
      "html2jade",
      "html2jade",
      "git-blame",
      "gitignore-snippets"
    ]
  }
}

Installed Packages
# User
atom-jshint, v2.0.0
atom-rails, v0.4.0
auto-update-packages, v0.2.2
color-picker, v1.7.0
compass, v0.9.1
emmet, v2.3.10
gitter, v0.6.2
html2haml, v0.10.0
language-gitignore, v0.2.0
language-haml, v0.20.0
language-jade, v0.4.0
linter-haml, v0.4.0
markdown-preview-plus, v1.4.0
meteor-api, v2.19.0
project-manager, v1.15.7
seti-ui, v0.7.1
tabs-to-spaces, v0.11.0
terminal-status, v1.6.7
trailing-spaces, v0.2.5

# Dev
No dev packages

Hi @Evrei, closing this because the package is no longer supported or available for Atom. Sorry for the delay in getting back to you :)


Flakyness of registry.TestEndpoint unit test

It sometimes fails on windowsRS1 at least :sweat:
02:42:59 --- FAIL: TestEndpoint (10.01s)
02:42:59    registry_mock_test.go:229: https://<IP_ADDRESS>:49301/v1/: Expected cert error for secure index
02:42:59 FAIL
02:42:59 coverage: 51.9% of statements
02:42:59 FAIL   github.com/docker/docker/registry   10.124s

Didn't see this one for a long time, so closing


Test scan upc output

This PR does two things. Its primary purpose is to test the actual output of SCAN.UPC rather than just checking that the output is there. It does so by using the pandas library to compare what is output during the test with a reference PCL file provided by @jaclyn-taroni. It compares the files by checking the correlation between the two, along with making sure that the median difference between test genes and reference genes is smaller than 10% of the standard deviation.
The other thing this PR does is use pip-compile in the workers sub-project to generate the requirements.txt rather than generating the requirements.txt by hand.
I've assigned two reviewers to this PR. My thoughts are that @rzelayafavila can review the python code's style and potential issues along with the changes to requirements.txt, and that @jaclyn-taroni can review the test methodology.

@rzelayafavila I've responded to your comments. Lemme know what you think.

Ok, looked at it again, made some more comments.


differ

Hola @j3ssie,
I want everything checked with a cronjob. If even HTTP status code will change notification to me!

I have already made a example on DNS in
https://github.com/osmedeus/osmedeus-workflow/blob/main/general/probing.yaml#L29-L37
https://github.com/osmedeus/osmedeus-workflow/blob/main/general/probing.yaml#L91-L96
You can always custom the workflow to do the same with HTTP content in the fingerprint module.


Bump rack & rest-client versions for Rails 5 compatibility.

@tu1ly I would suggest rather having compatibility with Rails 5 than with a really old version of Ruby.


Query on design.md

I am having trouble parsing this phrase in https://github.com/docker/libnetwork/blob/master/docs/design.md:

An Endpoint can belong to only one network but may only belong to one Sandbox.

What is the intended distinction between "only one" and "one"?
Or it it between "can" and "may"?
It's too subtle for me.  Please make it more obvious.

The difference is that there is a strict 1:1 relationship between endpoint and network, while and endpoint may, optionally, belong to one Sandbox, that is, either one or no Sandbox.

Suggest changing "only belong to one" to "belong to zero or one"

@bboreham It has been detected that this issue has not received any activity in over 6 months. Can you please let us know if it is still relevant:

For a bug: do you still experience the issue with the latest version?
For a feature request: was your request appropriately answered in a later version?

Thank you!
This issue will be automatically closed in 1 week unless it is commented on.
For more information please refer to https://github.com/docker/libnetwork/issues/1926


improve readme

Also had ideas for a website. Would be great to have a section for the ecosystem of portable middlewares part; difficult to accommodate for this in a readme.
I may create a little website for HatTip, let's see.

(The Twitter & Discord links is just an idea, but I think it would be nice to give folks a place to talk/follow.)

This is based on top of https://github.com/hattipjs/hattip/pull/6.


Console output for editw command

Need to change this to a user-friendly output.

fixed in latest commit


Laravel-Excel package is reading my data horizontally..

Description:
I'm trying to get data from 3 tables and then combine them in 1 variable. Every time I download the excel file, the data  is being read horizontally instead of vertically for each column, I tried doing it on a  view and I still had the same issue.. I added headings and I still  had the same  issue.
PHP version:7.2.3
Laravel version:5.6
Package version:3.0.10
Steps to Reproduce
Expected behavior:To download a normal excel file where my data is read and written vertically to their own columns
Actual behavior: Data is being read and written horizontally.
heres my code :
`public function collection()
{
$students_first = new Collection;
$students_last = new Collection;
$teachers_first = new Collection;
$teachers_last = new Collection;
$subjects = new Collection;
    $teacher_rate = new Collection;
    $platform_fees = new Collection;
    $other_location = new Collection;
    $confirmed_info = new Collection;
    $confirmed_by_user = new Collection;
    $confirmed_by_teacher = new Collection;
    $created_at = new Collection;
    $finished = new Collection;
    $finished_on = new Collection;
    $finishes_on = new Collection;
    $on_day = new Collection;
    $duration = new Collection;
    $fees_amount = new Collection;
    $all= new Collection;

    $bookings = Booking::all();

    foreach ($bookings as $key => $value) {
        $students_first = $students_first->merge(User::where('id', $value->user_id)
                ->value('first_name'));
        $students_last = $students_last->merge(User::where('id', $value->user_id)
                ->value('last_name'));
        $teachers_first = $teachers_first->merge(User::where('id', $value->teacher_id)
                ->value('first_name'));
        $teachers_last = $teachers_last->merge(User::where('id', $value->user_id)
                ->value('last_name'));
        $subjects = $subjects->merge(Subject::where('id', $value->subject_id)
                ->value('name'));
        $teacher_rate = $teacher_rate->merge($value->teacher_rate);
        $platform_fees = $platform_fees->merge($value->platform_fees);
        $other_location = $other_location->merge($value->other_location);
        $confirmed_info = $confirmed_info->merge($value->confirmed_info);
        $confirmed_by_user = $teacher_rate->merge($value->teacher_rate);
        $confirmed_by_teacher = $confirmed_by_teacher->merge($value->confirmed_by_teacher);
        $created_at = $created_at->merge($value->created_at);
        $finished = $finished->merge($value->finished);
        $finished_on = $finished_on->merge($value->finished_on);
        $finishes_on = $finishes_on->merge($value->finishes_on);
        $on_day = $on_day->merge($value->on_day);
        $duration = $duration->merge($value->duration);
        $fees_amount = $fees_amount->merge($value->fees_amount);
    }
    $all=$all->merge([$students_first,
    $students_last,
    $teachers_first,
    $teachers_last,
    $subjects,

    $teacher_rate,
    $platform_fees,
    $other_location,
    $confirmed_info,
    $confirmed_by_user,
    $confirmed_by_teacher,
    $created_at,
    $finished,
    $finished_on,
    $finishes_on,
    $on_day,
    $duration,
    $fees_amount]);
    return $all;
}`

There should be 291 rows, instead Its making 291 columns and 19 rows(19 because of my headings/which should be the columns)
Any reason why this is happening?? It worked fine when I used to get the data from 1 table... Now because I'm getting the data from 3 different tables, its doing this.

never mind, I fixed it by making a temporary table.


[PE-D][Tester D] Strack.io data file named incorrectly

Description
In page 33, it is stated that the data is stored in Strack.io.json. However, upon starting the application, the file created under data/ is named addressbook.json and not the mentioned name, as shown in the image below,

Advanced users might update the data directly in Strack.io.json and wonder why the information is not getting updated when the application is launched and this is not desired behaviour i believe.

Steps to reproduce

Download a fresh copy of the jar file
Move to a empty directory
Start up application

Suggestions
I believe the incorrect line is this: https://github.com/AY2324S2-CS2103T-T08-2/tp/blob/08977d33f7eb0adf95d066ed3eda295f09000591/src/main/java/seedu/address/model/UserPrefs.java#L17
It can be changed to the appropriate file name to fix the error.

Labels: severity.Medium type.DocumentationBug
original: g-tejas/ped#12

This is a good to fix bug, but due to the nature of it not being incorrect, we are unable to change this.


Using in browser

It's more a question than an issue
How to use it in browser on client side? I want to compress pdf before uploading to server. I only see two ways to add file: with FILE_PATH and with FILE_URL, how can I add a file which user is trying to upload to the browser?
Thank you for the answer

Hi @gee666 !,
In order to use it on client side we have a different library that you can find here. Also you have there two examples using the ILovePDFFile class and public URLs 👍 .


TypeError Object.open(fs) The "path" argument must be of type string or an instance of Buffer or URL. Received undefined

https://sentry.iobroker.net/share/issue/5395e408c3414dda912d45ef80737126/

Might not be relevant in 2.4.3 anymore


Create Documentation Review Process

Is this a BUG REPORT or FEATURE REQUEST?
Choose one: BUG REPORT or FEATURE REQUEST

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

kubectl get nodes
kubectl get pods --all-namespaces
kubectl get services
kubectl get sc
kubectl get pv
kubectl get pvc
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

OpenEBS Contribution Guide contains the review process "Review Process for Documentation Issues and Pull Requests" under openebs/documentation/source/contribute/contribute_openebs_doc.rst.


add stdout and kinesis logger plugins and add sts assume role to firehose

new stdout osquery logger plugin
new kinesis osquery logger plugin
add sts assume role support to firehose osquery logger plugin

Thanks for submitting this PR! I'll give it a review early next week.

Drive by thought when looking at this PR and the addition of StdOut I wonder how easy it would be to support multiple destinations at the same time.
I see a use case where someone may want Stdout for debug but also want kinesis to also be running for their logging pipeline vs them being mutually exclusive.

Drive-by thought when looking at this PR and the addition of stdout I wonder how easy it would be to support multiple destinations at the same time.

I see a use case where someone may want stdout for debug but also want kinesis to also be running for their logging pipeline vs them being mutually exclusive.

@gavinelder - good suggestion. Trying to keep this PR relatively focused, but maybe that could be a separate issue if you're interested.

Drive-by thought when looking at this PR and the addition of stdout I wonder how easy it would be to support multiple destinations at the same time.

I see a use case where someone may want stdout for debugging but also want kinesis to also be running for their logging pipeline vs them being mutually exclusive.

@gavinelder - good suggestion. Trying to keep this PR relatively focused, but maybe that could be a separate issue if you're interested.

I will cut an issue / FR for this


Added the PowerBI source

Description
I created the PowerBI Source which has the following streams:

Apps
Dashboards
Groups
Tiles
Reports
Datasets
No new dependencies required.

How Has This Been Tested?
I followed this documentation to test my source.
Note: Please let me know if you need anything else for the PR.
cc:
@wangxiaoyou1993

These are the screenshots for testing the PowerBI Source


build fails

building in Arch fails with the following message
ninja: Entering directory `build'
[1/2] Compiling C++ object waybar.p/src_modules_cava.cpp.o
FAILED: waybar.p/src_modules_cava.cpp.o
c++ -Iwaybar.p -I. -I.. -I../include -Iresources/icons -Iprotocol -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gtkmm-3.0 -I/usr/lib/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/lib/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/libnl3 -I/usr/include/libupower-glib -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/playerctl -I/usr/include/wireplumber-0.5 -I/usr/include/libevdev-1.0 -I/usr/include/gtk-layer-shell -I/usr/include/libxml2 -I/usr/include/cava -I/usr/include/cava/input -I/usr/include/cava/output -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++20 -O3 '-DVERSION="0.10.2-15-g231d6972 (branch '"'"'master'"'"')"' -DHAVE_LANGINFO_1STDAY '-DSYSCONFDIR="/usr/local/etc"' -DHAVE_CPU_LINUX -DHAVE_MEMORY_LINUX -DHAVE_SYSTEMD_MONITOR -DHAVE_SWAY -DHAVE_WLR_TASKBAR -DHAVE_RIVER -DHAVE_DWL -DHAVE_HYPRLAND -DHAVE_LIBNL -DHAVE_GAMEMODE -DHAVE_LOGIND_INHIBITOR -DHAVE_UPOWER -DHAVE_PIPEWIRE -DHAVE_MPRIS -DHAVE_LIBPULSE -DHAVE_LIBJACK -DHAVE_LIBWIREPLUMBER -DHAVE_DBUSMENU -DHAVE_LIBUDEV -DHAVE_LIBEVDEV -DHAVE_LIBINPUT -DHAVE_LIBMPDCLIENT -DHAVE_LIBSNDIO -DHAVE_CHRONO_TIMEZONES -DHAVE_LIBCAVA -pthread -D_REENTRANT -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -MD -MQ waybar.p/src_modules_cava.cpp.o -MF waybar.p/src_modules_cava.cpp.o.d -o waybar.p/src_modules_cava.cpp.o -c ../src/modules/cava.cpp
../src/modules/cava.cpp: In constructor ‘waybar::modules::Cava::Cava(const std::string&, const Json::Value&)’:
../src/modules/cava.cpp:56:48: error: ‘struct cava::config_params’ has no member named ‘samplerate’
   56 |   if (config_["sample_rate"].isNumeric()) prm_.samplerate = config_["sample_rate"].asLargestInt();
      |                                                ^~~~~~~~~~
../src/modules/cava.cpp:57:44: error: ‘struct cava::config_params’ has no member named ‘samplebits’; did you mean ‘fifoSampleBits’?
   57 |   if (config_["sample_bits"].isInt()) prm_.samplebits = config_["sample_bits"].asInt();
      |                                            ^~~~~~~~~~
      |                                            fifoSampleBits
ninja: build stopped: subcommand failed.

Latest master branch is building just fine on arch linux, ref. workflow run and in my own experience on my own system. There's no problem. Make sure you have the required dependencies installed.
I believe this issue can be closed.

Actually I'm having a different problem. In order to test this properly, I've built cava from source OK, can run cava on command line OK(have rebooted my system also, just to make sure). Still when I run the built binary, which reported cava found OK, it instantly quits with "segmentation fault" from cava (which runs ok from command line).
Added the debug log line inside HAVE_LIBCAVA in Bar::getModules also, here's my log
❯ /usr/local/bin/waybar -l debug
[2024-05-04 22:57:14.512] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config
[2024-05-04 22:57:14.512] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config.jsonc
[2024-05-04 22:57:14.512] [debug] Try expanding: $HOME/.config/waybar/config
[2024-05-04 22:57:14.512] [debug] Try expanding: $HOME/.config/waybar/config.jsonc
[2024-05-04 22:57:14.512] [debug] Found config file: $HOME/.config/waybar/config.jsonc
[2024-05-04 22:57:14.512] [info] Using configuration file /home/main/.config/waybar/config.jsonc
[2024-05-04 22:57:14.513] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
[2024-05-04 22:57:14.513] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/style.css
[2024-05-04 22:57:14.513] [debug] Try expanding: $HOME/.config/waybar/style.css
[2024-05-04 22:57:14.513] [debug] Found config file: $HOME/.config/waybar/style.css
[2024-05-04 22:57:14.513] [info] Using CSS file /home/main/.config/waybar/style.css
[2024-05-04 22:57:14.514] [debug] Parsing imports for file: /home/main/.config/waybar/style.css
[2024-05-04 22:57:14.514] [debug] Adding file to watch list: /home/main/.config/waybar/style.css
[2024-05-04 22:57:14.517] [debug] Output detection done: DP-5 (LG Electronics LG HDR 4K 0x00074879)
[2024-05-04 22:57:14.518] [warning] Mapping is not an object
[2024-05-04 22:57:14.520] [debug] yep, have libcava
[1]    21119 segmentation fault (core dumped)  /usr/local/bin/waybar -l debug


[Telegram] Bot crashes on Telegram channel with no detail explanation.

Bot Info

App ID: 94c57b4b-dae9-4165-a117-905f110e8355
SDK Platform: Node.js
SDK Version:  3.12.0
Active Channels: Telegram
Deployment Environment: heroku, ngrok, google app engine

Issue Description
Trying to attach some different video files to chat message and got "Telegram API returned a result code indicating non-success" with no any explanation. Where it possible to view detail logs and how?
Expected Behavior
Viewing detail logs somewhere
Please help.

Has this bot ever worked? Does it work on the emulator?

Yes, bot is worked very well. My question was is "what exactly happened in this case [Telegram API returned a result code indicating non-success]" (i tried to send large videofile, maybe there is some restrictions?) and "where I can see more details if possible". Thanks.

How big was the file?  This Telegram blog shows that you can send up to 1.5gb files.


Installation on PHP 7.3 debian fails due to ecc dependency lock

In attempting to either update or perform a new composer require[ment] I get the following error message:
Problem 1
    - mdanter/ecc v0.4.5 requires php >=5.6.0, <7.2 -> your PHP version (7.3.4) does not satisfy that requirement.
    - mdanter/ecc v0.4.5 requires php >=5.6.0, <7.2 -> your PHP version (7.3.4) does not satisfy that requirement.
    - mdanter/ecc v0.4.5 requires php >=5.6.0, <7.2 -> your PHP version (7.3.4) does not satisfy that requirement.
    - Installation request for mdanter/ecc (locked at v0.4.5) -> satisfiable by mdanter/ecc[v0.4.5].

I can see that there's a v0.5.2 on packagist which presumably fixes the issues for 7.3 but if there is a way for me to fix it I don't know it. I could not find the mdanter/ecc project on github.
NOTE: Please test in a least two browsers (i.e. Chrome and Firefox). This
helps with diagnosing problems quicker.

Please confirm the following:

[✔ ] I have read the README entirely
[✔ ] I have verified in the issues that my problem hasn't already been resolved

Setup

Please provide the following details, the more info you can provide the
better.

Operating System:
PHP Version: <7.3>
web-push-php Version:

Please check that you have installed and enabled these PHP extensions :

[✔] gmp
[✔] mbstring
[✔] curl
[✔] openssl

Please select any browsers that you are experiencing problems with:

[n/a] Chrome
[n/a] Firefox
[n/a] Firefox for Mobile
[n/a] Opera for Android
[n/a] Samsung Internet Browser
[n/a] Other

Please specify the versions (i.e. Chrome Beta, Firefox Beta etc).

Hi,
Looks like you are usign the v2.x or below. mdanter/ecc is not a required dep for v3.0 and up.

Not sure how I install a higher version number. I've tried removing the entry from my package.json file and deleting from the vendor directory, but when I try to do a fresh require I get the same error. I even tried:
composer require minishlink/web-push:5.2.4
Currently googling....

composer outdated will show you all packages that could be updated.

Deleting all the dependency directories in the vendor directory seems to have enabled it to install. Deleting just the minishlink one wasn't enough apparently.


📎  Rule Benchmarking

Description
So that we can be more efficient when developing and modifying rules while ensuring that performance remains high.
I would like to propose a new command-line that will individually benchmark each rule, following the current benchmark standards we already use.
The proposed command
cargo run -p xtask_bench --release -- --feature rule [ruleName]

and an alias
cargo bench_rule [ruleName]

Test data
For test data, we'll reuse current invalid.{ts,json,js,tsx,jsx} test files from rules.
Github PR comment action
As we've an comment action to run the benchmark for bench_analyzer, bench_cli,bench_formatter and bench_parser
We can also introduce a new comment action for rules: !bench_rule [rule_name]
Output
Rule performance result
bench/rule.ts

Test result
main count
This PR count
Difference

Total
49701
49701
0

Passed
48721
48721
0

Failed
980
980
0

Panics
0
0
0

Coverage
98.03%
98.03%
0.00%

Thank you Victor for taking the lead.
Here's some thoughts that could help you:

there's no need to create new files, the invalid cases are perfect because they represent the apotheosis of rule: when a diagnostic is emitted
diagnostics and code fix are two separate actions, so it would be great to time/bench these separately
rule can emit multiple actions, we should bench all of them
there's no need to create x100 files, when you use criterion, it takes care of it (it runs the same "sample" many times)
we only need the report from criterion, there's no need for some other reports like the ones from the parsers; those have different semantics
I want to keep the GitHub actions output for now because we can reuse a lot of stuff; if in the future we want to use a different tool, we should move all the bench jobs together

@ematipico
Thank you for the feedback!
Your thoughts make sense to me, I'll update the task description

I don't know much about Biome's internal benchmarking structure but it could be useful to use https://codspeed.io which comments on PRs with any performance changes that have happened.

Yeah I plan to set it up in the next few weeks :)


who is using the Gateway API

I want to write an article on interpreting the Gateway API, and I want to know which manufacturers are already using the Gateway API.

Hi @ZhangSetSail!
You can find a list of known implementations on our website:
https://gateway-api.sigs.k8s.io/implementations/
Let us know if this is helpful!


nixos/networkmanager: make VPN bloat optional

Description of changes
Enabling networkmangler pulls in a freak show of VPN plugins that depend on Gnome and Javascript.
Add an option to disable this.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

https://github.com/NixOS/nixpkgs/pull/164531 merged 14 days ago


Overwrite filetype icon color

I'm making a config based on evil_lualine, and wanted to include an icon for the filetype component. I've set the fg color and enabled icons for it. However, the filetype icon seems to be colored independently from the text. How would I be able to make the icon a specific, constant color (preferably, same as the icon)
Examples of the icon being a different color from the text:

etc.
Snippet from the config:
ins_right {
	'filetype',
	color = { fg = col.blue, gui = 'bold' },
}

where col.blue is already defined as #89B4FA, and ins_right is defined the same as in evil_lualine.

This is old but for other people:
lualine depends upon nvim-web-devicons so you actually edit that package:
local DevIcons = require("nvim-web-devicons")
DevIcons.set_icon {
  zig = {
    icon = "",
    color = "#f7a41d",
    cterm_color = "65",
    name = "Zig"
  },
  v = {
    icon = "",
    color = "#4b6b88",
    cterm_color = "65",
    name = "V"
  }
}

I'm not bothering updating the cterm_color for these, but you get the idea.

Ah, so in that case I should change the filetype icons for all langs. Tyvm!


Merge errors in GitHub when collaborating on a project

Reported by an Educator -
I created a group assignment in GitHub Classroom using MakeCode Arcade. Students created teams today and were trying to practice pushing & pulling changes.
However, when one group member pushed, they got merge errors, and then it wouldn’t let them go back to their blocks, saying there were issues with the code. Some were able to get to Javascript, but then it wouldn’t convert the code into blocks. Some couldn’t get back to their code at all. This happened with several groups.

Here is an example repo where students are not able to merge their PR's https://github.com/RoznaiCSP/u5-collaborative-coding-project-danielabi/pulls

May be related to https://github.com/microsoft/pxt-arcade/issues/1908

May be related to #1908

After reading that issue, it is 100% related.
How I want MakeCode/GitHub to work:

students can work at the same time on the code - i.e. student1 works on function1, student2 works on making sprites or onstart or something
then they can push their branches to GitHub and merge the changes

Having to pull your partner's changes before doing anything doesn't allow them to work at the same time, so only one computer can be coding at any point during class, so why use GitHub then instead of something like pair programming?

My TEALS volunteer pointed out that a lot of the time the merge error has to do with the .png files that are created, so he's trying to write a script that ignores that file in the merge.

@pelikhan fyi


[Theme Request] Cinnamon

Who/What do you want to be featured?
Cinnamon from Nekopara.
What do they look like?

What type of theme?

[X] Light Theme
[X] Dark Theme

Additional Information (Optional)

Nothing lewd or obscene please!

Cinnamon is the opposite.
Ill try to provide a color palette once I finish my current project.
Also, top tier lewdness waifu.

Thanks for the suggestion! I'll consider adding Cinnamon, Azuki, & Maple (perhaps Shigure), after I've played the game or watched the anime. That way I'll see if I want a NekoPara v2 release :)

Ill try to provide a color palette once I finish my current project.

I tried to submit a theme but was unable to due to yarn link not supporting exFAT drives. Sorry about this one!

I tried to submit a theme but was unable to due to yarn link not supporting exFAT drives.

🤔 Hmm, If you are talking about linking the doki-build-source, then you shouldn't need to link, 1.4.0 has the NekoPara grouping meow.
Anyways, If you are wanting to submit an actual theme, I'll welcome it. However, I do have a vision for the themes, so I hope you'll also be fine with me tweaking it the way I want them to look (the art and colors, and the such) :)

so I hope you'll also be fine with me tweaking it the way I want them to look (the art and colors, and the such)

Nah, don't worry about it. I do the same with the PRs my projects.

Aight, I give up with trying to make the theme myself. Just in case, this is what I had in mind:

Light Theme: Light Green Background with Purple Accents
Dark Theme: Purple Background With Light Green Accents

I managed to get the following colors from an official picture (First one in the issue) that might fit this theme, but that is up to you :)

Green

Dark: 418061, 7bbba3
Mid: 95d589, 82d881
Light: d9f9ad

Purple

Dark: 4d4088
Mid: 7c72d3
Light: 8685d5, c1b2e9

Green/Purple comes from the Headband/Hair combination when Cinnamon uses the La Soleil uniform.

Thank you!
One of the things that I've realized over time, is that the exact colors that are used on Waifus are bright and vivid, and don't look great as a theme. They look good on the girls tho. Its all about finding balance. I've got an idea as to what her theme should look like.
BTW, I don't make as many light themes, because I like colorful syntax highlighting. I learned you can't have readable bright pretty colors on light themes 😢
I also probably use this image as the background if I decide I need some Cinnamon (or some variant of the heart hand pose)

is that the exact colors that are used on Waifus are bright and vivid, and don't look great as a theme

True, but is still possible to use the base colors from the character to make a theme (in the case of Cinnamon, purple and green).

I don't make as many light themes, because I like colorful syntax highlighting. I learned you can't have readable bright pretty colors on light themes

If I'm being honest, I have nothing against light themes but I personally don't like the "White Background with Extra Colors" type of themes. A lighter color is ok in some environments* but pure FFFFFF White Background feels... wrong.

I also probably use this image as the background if I decide I need some Cinnamon (or some variant of the heart hand pose)

I know that the final decision of the theme is up to you, but I kinda feel that the Hearth Pose is not fit for Cinnamon as a character. That would be a Chocola thing, just like the existing Chocola wallpaper.
One that might be better for Cinnamon is the two hands in the cheek pose:

There is also the hands on top of boobs pose:

Or in the extreme cases, the I am moist pose:

I'm just putting this here for later. I like Cinnamon's pose in this one.

@justalemon So I convinced myself that I needed more cat girls. I've made it up to Vol. 3, and I am currently convinced Cinnamon & Maple are the best pair of the bunch. Anyways this is what I got, expect a release in a couple of weeks or so. :+1:

Noice.
Also, no Shigure planned?

Yeah, I've got Shigure planned, just under a different release. She'll be in the release themed, "Love me Onii-san!" :joy: . I've tentatively planned: Izumi Sagiri, Kosaka Kirino, & Minaduki Shigure, after the current one I am working on.


Algolia Places integration

Here another geocoder available: Algolia Places.
I think it would be nice to have Algolia integration.
Link to the documentation: https://community.algolia.com/places/documentation.html

Added in #405

Thanks, @KostyaEsmukov !


You must inform at least the image name to the function: 'dockerhub_list_tags'

I've setup the ip and email inside the .env file and ran the fresh-start.sh script but I get this error " You must inform at least the image name to the function: 'dockerhub_list_tags' any help would be appreciated

Figured out myself. I copied the .env.sample to .env and ran the .fresh-start script and I wasn't in the bin folder but in the root folder when I ran the .fresh-start.sh script. I think that's the issue because I deleted the .env file from the root and cd into the bin folder where the startup scripts were and everything went quite alright, hope this helps someone. This video explained to copy the .env.sample to .env in the root which caused all the problems in the first place. https://www.youtube.com/watch?v=6wlteFXk1iI
Hope this will helpful if someone runs into the same issue.


Page to Show all the github repositories I will be notified for

Hey @andreausu ! Thanks for the project. Really nice.
I was just curious to add a feature request to have a page where I could see all the github repositories on which gitnotifier is enabled. Enabling/Disabling a github repo is desirable.

Hi, thank you! It's an interesting idea, I will consider it for future developments, in the meantime PR are welcome :)

+1 this would be useful! :+1:


Dark Mode Setting Not Persisting After Page Refresh

When a user enables dark mode, the website switches to the dark theme as expected. However, the dark mode setting does not persist after a page refresh, causing the site to revert back to the default light mode. This behavior affects user experience, as users need to re-enable dark mode after each refresh.
Steps to Reproduce:

Navigate to the website.
Enable dark mode using the toggle switch.
Refresh the page.
Observe that the site reverts back to light mode instead of retaining the dark mode setting.

Expected Behavior:
The dark mode setting should be remembered even after a page refresh, so the website remains in dark mode if it was enabled previously.
Actual Behavior:
The website resets to light mode on page refresh, regardless of the user’s previous dark mode selection.
Suggested Solution:
Store the dark mode preference in the user's local storage or cookies. On page load, check for the stored preference and apply the appropriate theme based on the saved setting.
Request:
@TheOpenInnovator , could you please assign this issue to me? I would be happy to work on it and implement the solution.

Hey @Sakyasekhar The issue has been assigned to you. You can start working on it.

@TheOpenInnovator I have made the PR, please check it.

Hi @TheOpenInnovator,
Thank you for assigning the issue to me. I have already submitted a pull request (PR), but it seems that after my PR, another PR from @Mukku27 was merged, which also addresses the dark mode issue and has caused conflicts with my PR.
I’ve resolved the conflicts and updated my PR, but I wanted to make sure you’re aware of the situation before proceeding.
Looking forward to your guidance on how we should move forward. Thanks again!

Hey @Sakyasekhar  We have something for you under the PR #16 . Please do check and hope you start working on it.

@TheOpenInnovator , I fixed it just now, check it out.

Congratulations @Sakyasekhar Your PR has been merged.


How can I create a power app and deploy using AppSource?

I'm looking for pointers to create a power app for dynamics 365 and monetize using AppSource. Though this document explains concept call package, it does not tell how I can include a power app in the package. There is no example of what goes in the solution. Any pointers will be helpful.

Can you please share the article link that this feedback is related to?


Auth: add offline mode support for Ollama models

CLOSE https://linear.app/sourcegraph/issue/CODY-2631/cody-requires-an-online-connection-and-an-open-vs-code-to-work-offline
This change adds support for an offline mode that allows users to only use Ollama models with Cody without the internet.
The key changes are:

Added a new offlineModeAuthStatus object to represent the auth status in offline mode
Updated the SimpleChatPanelProvider and AuthProvider to handle the 'offline' auth kind
Modified the newAuthStatus function to return the offline mode auth status if isOfflineMode is true
Updated the syncModels function to handle the offline mode case and not sync models
Added a new "Use Cody Offline with Ollama" button on the Connection Issues page

The screen below only shows up when there is a networking issue, e.g. when Cody does not have internet connection:

TO-DO

Add tests for offline mode?

Test plan

Start Cody from this branch
Open Ollama
Open Chat and ask Cody a question to verify Cody still works when there is an Internet connection
Turn off your Wi-Fi settings
Reload VS Code
Verify you are seeing the connection issue page
Click on Use Cody Offline with Ollama
Verify the sidebar is loaded correctly
Open Chat and select an Ollama instruct model
Ask Cody a question and verify you are getting a response back from the Ollama model

Demo

reviewing


Forwarding requests to original IP address instead of mocking them

Describe the bug
Hi, I created a WSDL project, imported the WSDL and all ports are in 'Mocked' status.
I tried to do an operation with a library I'm using and it's trying to communicate with the original IP instead of the mock server.
To Reproduce
Steps to reproduce the behavior:
client = Savon.client(wsdl: 'http://localhost:8080/castlemock/mock/soap/project/twFGec/xxxxxxxProxyService_Endpoint?wsdl')
client.operations # => [:echo]
client.call(:echo) # => Errno::ECONNREFUSED (Failed to open TCP connection to <IP_ADDRESS>:80 (Connection refused - connect(2) for "<IP_ADDRESS>" port 80))

My WSDL contains the following, which I think it's what is causing the issue (I masked some words for security):
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="xxxxxxxProxyService" >
  <wsdl:service name="xxxxxxxProxyService">
    <wsdl:port name="xxxxxxxProxyService_Endpoint" binding="tns:xxxxxxxProxyService_Endpoint">
      <soap:address location="http://<IP_ADDRESS>/aaaa.bbbb.v2.Proxy/xxxxxxxProxyService.svc"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Expected behavior
Instead of forwarding requests to original IP address it should be mocked by castlemock server.
Screenshots
I attach screenshots of what I see in the admin panel:

Desktop (please complete the following information):

OS: Mac OS X (10.15.3 (19D76))
Browser: Chrome Version 80.0.3987.149 (Official Build) (64-bit)

Additional context
The Ruby gem I'm using to call operations in castlemock: https://github.com/savonrb/savon

Hi @pjmartorell.
Unfortunately, this is a known limitation for Castle Mock. Castle Mock will simply just store the uploaded WSDL file and then return it as it is. The main problem here is parsing of the WSDL file. In order to parse the WSDL file we often need all the schemas. In order to avoid that, we have instead decided to simply return the WSDL file as is and let the consumer override the endpoint address.
However, I will give this another look and see if we could resolve this issue in the future. Would be very nice of Castle Mock returned the correct endpoint value.
Best regards,
Karl Dahlgren

Thanks for the explanation 👍🙂


Added check for passed Travis-CI builds

If a pull request failed to pass a Travis-CI build, or tests, then do not treat it as a ready PR.
This PR should reduce the amount broken merged chaos builds, syntax errors, and changes that break unit tests.

:ok_woman: PR passed with a vote of 1 for and 0 against, with a weighted total             of 1.0 and a threshold of 1.0.
See merge-commit 698945420a4263e4f9efd8356c71eb95416e105b for more details.


Fix the getRowData method of SwipeableListViewDataSource in SwipeableListView

This is simple fix to SwipeableListView. According to SwipeableListViewDataSource, the only method available is cloneWithRowsAndSections. If you try to get the data from a SwipeableListView, without this fix it won't work. This change fixes the problem so that SwipeableListView can work correctly.

By analyzing the blame information on this pull request, we identified @fred2028 and @bhosmer to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Just ran into this myself.
cc @fred2028

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


not found error

hey im running it on mac M1 and after doing python3 app.py im getting Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
on browser

Hello.  I would recommend trying to use docker rather than launching with python directly.  If you pull the latest and run python app.py or run it with docker, you can access the API docs at:
http://localhost:5000/docs
Then if you run the front end with the instructions from the readme, the terminal should give you the URL to it as well.

Please see the updated docs in the README.md in the repository.  I've updated them to be clearer about running locally.
https://github.com/Josh-XT/Agent-LLM

Hello. I would recommend trying to use docker rather than launching with python directly. If you pull the latest and run python app.py or run it with docker, you can access the API docs at: http://localhost:5000/docs
Then if you run the front end with the instructions from the readme, the terminal should give you the URL to it as well.

hey, yeah I pulled the latest code now it's working


[FIX] Send data via JSON in call

Current coverage is 100% (diff: 100%)

Merging #8 into master will not change coverage

@@           master    #8   diff @@
===================================
  Files           4     4
  Lines          84    86     +2
  Methods         0     0
  Messages        0     0
  Branches        3     3
===================================
+ Hits           84    86     +2
  Misses          0     0
  Partials        0     0

Diff Coverage
File Path

•••••••••• 100%
red_october/red_october.py

Powered by Codecov. Last update d53fe77...390dda4

Coverage remained the same at 100.0% when pulling 390dda4b32c5a0a36d49876af807e4989677cd1b on bugfix/master/response-parse into d53fe77751cdc7712ab4b56432e847c0daf2f06d on master.

Coverage remained the same at 100.0% when pulling 8b946118164dc608e8ca698118c05a305dd72dd8 on bugfix/master/response-parse into d3498cf1ce4ef2c1652a78e69a32c4dcbc3a5b7c on master.

Rebased to fix conflicts; ready for review


Alignment options?

Hey @amezousan would it be possible to add alignment (left, right but especially center) options for the text?
Or at least to add a textAlign: "center" line somewhere below so it defaults to center?
https://github.com/amezousan/adalo-random-picker/blob/cc50fb1d2b64c70dc7d3efc93ab8de2d048d67d1/src/components/RandomPicker/index.js#L163-L165
Many thanks!
Arthur

Great suggestions! Let me have a look!

Nice. I actually downloaded the source code and fixed this myself in my own fork but would be a great addition to the original component. Thank you for making this open-source.


Fix De.u and De.int Casing

Based on the fact that the default UnrealTournament.ini lists this as ServerPackages=De in the [Engine.GameEngine] section.
Just tried to do the same fix as what was done with MultiMesh.
If De isn't this case, hosting a server fails.
As far as I can tell, there aren't any other files with a wrong case.
Thank you for including Bonus Pack 4 in this package!
Common Code Submissions

[x] Have you verified that the changes are isolated to the features or fixes you are wanting to do?
[ ] Have you tested at least one of the engines to ensure that your changes do not break existing workflow?
[x] Have you described what your changes are accomplishing?

Looks good thanks!


What is conv3d_deepnetA_sport1m_iter_1900000?

I want to know that what is conv3d_deepnetA_sport1m_iter_1900000. What kind of pre trained model is it?
Is it a CNN pre trained model. I am just confused. Kindly help

This issue tracker is for a command-line tool called "hub" which is written in Go. Your question seems unrelated to this project, and you should find a more appropriate forum to ask it in. Thank you.

This issue tracker is for a command-line tool called "hub" which is written in Go. Your question seems unrelated to this project, and you should find a more appropriate forum to ask it in. Thank you.


Updating hub to new template

Docs Build status updates of commit 4d2139a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/TOC.md
:warning:Warning
View
Details

docs/docfx.json
:white_check_mark:Succeeded

docs/index.md
:white_check_mark:Succeeded

docs/index.yml
:white_check_mark:Succeeded
View

docs/TOC.md

Line 1: [Warning] Invalid file link: 'index.md'.

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.

Docs Build status updates of commit 05b4f94:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/docfx.json
:white_check_mark:Succeeded

docs/index.md
:white_check_mark:Succeeded

docs/index.yml
:white_check_mark:Succeeded
View

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.

Docs Build status updates of commit ef2404b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs/index.yml
:x:Error

Details

docs/index.yml

Line 31: [Error] Mapping values are not allowed in this context.

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.

Docs Build status updates of commit 077390d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/docfx.json
:white_check_mark:Succeeded

docs/index.md
:white_check_mark:Succeeded

docs/index.yml
:white_check_mark:Succeeded
View

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.

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

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/docfx.json
:white_check_mark:Succeeded

docs/index.md
:white_check_mark:Succeeded

docs/index.yml
:white_check_mark:Succeeded
View

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.

@karann-msft @anangaur  Hi Karan and Anand, please review the draft here for the updated hub template.
For comparison, see:
https://docs.microsoft.com/en-us/dotnet/
and
https://docs.microsoft.com/en-us/visualstudio/windows/?view=vs-2019

@Mikejo5000 - can we get the background color of the heading to be the NuGet blue?

Thanks @Mikejo5000 !


Render Bold Text on Docx

With the HTMLRenderer, flexmark is able to render bold text - **something** -> something.
(This is possible even w/o having to add extensions to the options).
With the DocxRenderer, this doesn't seem to be supported.
(In the Docx-Examples I didn't find a solution for this.)
Is there a way to enable this for DocxRenderer?
If not: Can you add support for bold text to Docx-Rendering?

Reject. Works as specified
Sorry, the problem was not in this repo, it was in mine.
Used docx example implementation
from this repo, and it worked as expected.


Invalid turn restriction check

Description:
This PR adds additional checks to the current InvalidTurnRestrictionCheck based on Osmose 3180
Here are some examples of the modified or new checks:
Class 1: "Restriction relation, wrong number of members" : some required member are missing,

eg. there is a "from" and "via" role, but missing the "to" role.
Live example: https://www.openstreetmap.org/relation/7070408
Same link in Osmose 3180

Class 2: "Restriction relation, bad member type"

Invalid member type for TO or FROM
Live example: https://www.openstreetmap.org/relation/3658651
Same link in Osmose 3180

Class 5: Restriction doesn't match topology

Live example: https://www.openstreetmap.org/relation/5451368
Same link in Osmose 3180

The following classes in Osmose 3180 are NOT added:
Class 3: "Unconnected restriction relation ways" :

Live example: https://www.openstreetmap.org/relation/8221967
Same link in Osmose 3180
Reason:  already covered in the current atlas checks implementation)

Class 4: "Restriction relation, bad oneway direction on "from" or "to" member" :

impossible to reach the restriction by respecting the oneway.
Live example: https://www.openstreetmap.org/relation/2741062
Same link in Osmose 3180
NOT IMPLEMENTED after verifying with editorial team:
Reason: while we don't need a turn restriction when there's already a oneway, its existence is not actually breaking anything.

Class 31801 "Useless non u-turn restriction, it's forbidden by local law" :

Not implemented because it is no longer an OSMOSE 3180 issue

Unit Test Approach:
More unit tests being added with this PR before final submission
Test Results:
Coming:

ISO
Total Flags
Sampled
Sampling %
TP
FP
False Positive Rate

Coming
0
0
0%
0
0
0%

Looks good to me (aside from my question about angle thresholds) as long as the FPR is acceptable! Nice addition!


Move load_state_dict into LitModular

What does this PR do?
The mechanism for wrapping a module in mart.nn.load_state_dict makes YAML configuration more verbose and is unnecessary if that logic is moved into LitModular. Ideally, however, we would support custom syntax within the YAML configuration for things that do not support weight loading. For example:
model:
  _target_: torchvision.models.detection.fasterrcnn_resnet50_fpn
  _load_state_dict_: path/to/weights.pt

Type of change
Please check all relevant options.

[ ] Improvement (non-breaking)
[ ] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

[ ] Test A
[ ] Test B

Before submitting

[ ] The title is self-explanatory and the description concisely explains the PR
[ ] My PR does only one thing, instead of bundling different changes together
[ ] I list all the breaking changes introduced by this pull request
[ ] I have commented my code
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have run pre-commit hooks with pre-commit run -a command without errors

Did you have fun?
Make sure you had fun coding 🙃

Usage example:
python -m mart \
experiment=ArmoryCarlaOverObjDet_TorchvisionFasterRCNN \
fit=false \
+trainer.limit_test_batches=1 \
+model.load_state_dict.losses_and_detections.model=/home/weilinxu/coder/GARD-with-MART/oscar/model_zoo/carla_rgb_weights_eval6.pt

What was the previous command-line for loading this checkpoint?


Volumetric fog   redo

Had to redo #1030, I included the opengl stuff.
Someone needs to test the opengl stuff.

Removed the extra fog shapes, it should be good for merge.

The rework of this is #1478, so I'll close this ticket.
Thanks for the original effort Winterleaf!


Create a documentation that explains the glue between different entities used to deploy and transform components

Since the whole story around actions required using definition and configuration files, it makes sense to add some more details in the form of comments inside the configuration files and / or additional parts in the documentation that explain the different sections in the files and especially the "glue" between them, e.g. config referring to resource names in the component descriptors.
Since the component.yaml is transferred into a component version that has a slightly different schema and finally ends up in the target system with artifacts that are now local to the component descriptor, we may also add some information on that, as otherwise actions like https://github.com/open-component-model/mpas-public-demo/blob/main/00-setup-demo/component-repo-src/main-branch/src/ocm-ctrl/config.yaml#L55 are not clear, when just looking at https://github.com/open-component-model/mpas-public-demo/blob/main/00-setup-demo/component-repo-src/main-branch/componentfile.yaml.
It may make sense to move some or even all of the explanations to a more central place inside the MPAS repos, as they are a central part of understanding the function of mpas on provider and consumer side.
Files that should get more explanation:

https://github.com/open-component-model/mpas-public-demo/blob/main/00-setup-demo/component-repo-src/main-branch/componentfile.yaml

what elements / resources need to be added

software artifacts

e.g. Docker images (most-likely as references to other oci registries, not as local blobs)
e.g. Helm Charts (most-likely as references to helm chart repos, not as local blobs)
config (templates) to describe what can be configured and localized
GitOps config
documenation / guides / instructions
product description

what does the component version yaml looks like in the oct registry (after being creating using ocm add cv) of the vendor
what does the component descriptor looks like in the target env after pulling all artifacts into the local registry and can be used to programatically work with the content and transform it (like in https://github.com/open-component-model/mpas-public-demo/blob/main/00-setup-demo/component-repo-src/main-branch/src/ocm-ctrl/config.yaml#L51-L57)

https://github.com/open-component-model/mpas-public-demo/blob/main/00-setup-demo/component-repo-src/main-branch/src/ocm-ctrl/config.yaml#L51-L57

configuration

defaults
rules
schema

localization

files and basic mapping
possibility to use CUE for the transformation

https://github.com/open-component-model/mpas-public-demo/tree/main/00-setup-demo/component-repo-src/main-branch/src/flux

explain that files are referred in the config.yaml and just act as a template for the transformation and will only be applied AFTER the transformation. Just looking at them looks like Flux would just apply them like they are.

https://github.com/open-component-model/mpas-public-demo/tree/main/00-setup-demo/component-repo-src/main-branch/src/charts

explain why the file is packaged and not just referenced, similar to the podinfo docker image. Maybe give an example for how the resource would be defined in case the helm chart would be referenced in an external helm chart repo.

Thanks for all this detail @morri-son it's very helpful. I think this kind of documentation and detail should live in the MPAS repository and should be published as a dedicated documentation site (in mdbook style).
There are some aspects of what you've outlined above that I would consider "advanced usage" and things we have done in order to construct a demo environment; were we to cover all these things in the context of a demo it would no longer really serve the purpose of giving the reader a sense of how to use the system. The focus here should not be to explain how the demo itself is constructed or how it's machinery moves but to demonstrate how MPAS operates.
We can also add some "explainer" articles that discuss how the ocm-controller transforms resources for things like localization and configuration (I mean these things are obvious to us all now at this point but in the context of an MPAS user it might be helpful).
Separate from the conversation about docs, I think part of what you are seeking here could be addressed with tooling. Specifically a command within the mpas CLI that would enable MPAS software producers to construct (and verify) MPAS-compliant components. If we can create a guided flow within the CLI (which is entirely possible as the MPAS product construction follows a strong pattern) then we alleviate the need for product authors to consult the docs each time they need to build a MPAS product component.

@phoban01

were we to cover all these things in the context of a demo it would no longer really serve the purpose of giving the reader a sense of how to use the system. The focus here should not be to explain how the demo itself is constructed or how its machinery moves but to demonstrate how MPAS operates.
Yeah, that was what I also thought and during writing introduced the idea of making most of the stuff part of the MPAS demo, maybe using a very similar example to point all the details :-)

I like the idea of enhancing the mpas cli with the ability to guide a software producer in creating MPAS compliant OCM components. Especially the pipeline definition in the product description and the relation of its sections to various resources in the OCM component can create quite a headache. If we are able to get support for that into the mpas tooling, that would be great! @phoban01 , would you mind to put this idea into an own issue in the MPAS repo?

Closing with open-component-model/MPAS#132 and open-component-model/MPAS#133


fix crash on index bounds

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6C131e
UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSArrayI objectAtIndex:]: index<PHONE_NUMBER>854775807 beyond bounds for empty array
UserInfo: (null)
Hints: None
Backtrace:
0  0x00007fff81bd4654 __exceptionPreprocess (in CoreFoundation)
1  0x000000010deeb764 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2  0x00007fff875d476e objc_exception_throw (in libobjc.A.dylib)
3  0x00007fff81aad7de -[__NSArrayI objectAtIndex:] (in CoreFoundation)
4  0x000000011af60ccf -[DVTTextCompletionController(Lin) lin_acceptCurrentCompletion] at /Users/vhosune/Library/Application Support/Alcatraz/Plug-ins/Lin/Lin/DVTTextCompletionController+Lin.m:25 (in Lin)

Thank you for your report.
I think the problem is here.
Please wait for the fix.

Oh, sorry I was confused.
I think it was an issue...

Would you please change your code a bit?
Because selectedCompletion is used only for auto-completing tableName, it is better to set selectedCompletion to nil instead of returning NO if the range is not correct.
Use the code below.
// Get selected completion
DVTTextCompletionSession *session = self.currentSession;
id selectedCompletion = nil;

if (session.selectedCompletionIndex < session.filteredCompletionsAlpha.count) {
    selectedCompletion = session.filteredCompletionsAlpha[session.selectedCompletionIndex];
}

updated

Thanks!


[stable/fluent-bit] add section to add custom labels to the metrics service

What this PR does / why we need it:
This PR allows to add custom labels to the fluent-bit metrics service
Special notes for your reviewer:
When creating a generic service monitor to scrape metrics from a certain label, we need to be able to define the service labels as done in other charts, e.g. traefik.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

/ok-to-test

ping @kfox1111  @edsiper. Could I get a review here :) ?

/assign @Towmeykaw

/lgtm


Qr code not rendering

I am not having Qr codes fail to render. Chromium and Firefox present a broken image. There is no error message in the Django dev server.
I suspect it is happening in two_factor/views/core.py I suspect towards the end at 561.
The size of the qrcode.make(), HttpResponse() and img.save() seem to return correctly. Specifically, I can do resp.content will print out.
What is causing this issue?
My environment is this:

two_factor
django_extensions
django-two-factor-auth
django-otp-yubikey
Werkzeug
pyOpenSSL
django-otp
django-two-factor-auth

I am running the dev-server as follows:
./manage.py runserver_plus --cert /tmp/ <IP_ADDRESS>:8000

I just double-checked this, it only fails when I run runserver_plus (TLS), but not when I run a standard HTTP dev server. I do not know where this issue may lay, if its specific to the django-two-factor-auth project or elsewhere.

If there's no error, there's little to go by. I suggest running the code with a debugger, set breakpoints and investigate where a possible issue might be. Also using your browser's developer console to inspect responses from the webserver could be helpful here.

I ran my connection through BurpSuite. The HTTP headers are the same, including the content-length, but the actual content on an HTTPS connection is 0 bytes.
Is there a way to debug where the issue may originate?

You could use an interactive debugger like PyCharm / VSCode to see what is going on in the code. A good place to start looking is where the code is being rendered, and trace back from there.

Closed inactive issue.


Add and delete Pixsee model

Company Info
Compal electronics, inc.
https://www.compal.com/
IoT Plug and Play Device Info
Pixsee
https://www.pixseecare.com/en/
Model Submission Goals
Device certification
Presence in the Certified Device catalog
Code Owners & Reserved Names

Hi @lymantseng,
I see you are having some issues  with this PR. We do not allow any edits on already approved interfaces, if you need to make any change you must update the version. Let me know if you need any help.

Hi @rido-min
I already used dmr-client validate these files ,but not find any error.
Could you tell me why can't pass the checks?

Hi @rido-min
I already used dmr-client validate these files ,but not find any error.
Could you tell me why can't pass the checks?

There are two kind errors in the checks:

 reject-model-deletions  and reject-model-edits:  You should not edit or change existing files.
validate-dtdl-models is using dmr-client you should see the exact same errors locally. @digimaun  can you take a look?

@rido-min
Thanks for your reply.
reject-model-deletions and reject-model-edits: You should not edit or change existing files.
is It mean can't edit and change existing files? If need the change the content  ,how can I do ?

@rido-min
Thanks for your reply.
reject-model-deletions and reject-model-edits: You should not edit or change existing files.
is It mean can't edit and change existing files? If need the change the content ,how can I do ?

@lymantseng if you need to change the content of a particular model that has already been merged into the Models Repository then what you should do is increment the version of the target model and apply your changes in the incremented version and PR that.

@lymantseng I cloned your fork to see if I could reproduce the issue. The model causing the problem from your PR is dtmi/compal/pixsee/babycam-1.json  right now it is not well formatted json. And when I run dmr-client validate against that model I get:

But do keep in mind that models merged to the models repository are immutable. This is to prevent an entity taking a dependency on your model from breaking changes.
If you wanted to change for example the existing merged model like dtmi:compal:pixsee:environmentSettings;1. You would create a new file as a sibling called environmentsettings-2.json set the dtmi as dtmi:compal:pixsee:environmentSettings;2 then make the changes and PR this.

@digimaun
Thanks , I already fix the json format problem .
But do keep in mind that models merged to the models repository are immutable. This is to prevent an entity taking a dependency on your model from breaking changes.
If you wanted to change for example the existing merged model like dtmi:compal:pixsee:environmentSettings;1. You would create a new file as a sibling called environmentsettings-2.json set the dtmi as dtmi:compal:pixsee:environmentSettings;2 then make the changes and PR this.  ------Do you mean just can re-name and re-upload?


Capstone - 2

In this capstone, we completed the following:
Home page

When the page loads, the web app retrieves data from the movie API and shows the list of items on the Screen.
Used the Involvement API to show the item likes.
When the user clicks on the Like button of an item, the interaction is recorded in the Involvement API and the screen is updated.
When the user clicks on the "Comments" button, the Comments popup appears.
The home page header and navigation are similar to the given mockup.
The Home page footer is similar to the given mockup.

Comments popup

When the popup loads, the web app retrieves data from movie API and shows details about the selected item.
Used the Involvement API to show the item comments.
When the user clicks on the "Comment" button, the data is recorded in the Involvement API and the screen is updated.

Hi Abimbola,
Thank you for your prompt response. Be sure changes will be effected.


can not add a new column in class User

if I add a new column into User class in app/base/models.py
class User(db.Model, UserMixin):

    __tablename__ = 'User'

    id = Column(Integer, primary_key=True)
    username = Column(String, unique=True)
    email = Column(String, unique=True)
    password = Column(Binary)
    newcolumn = Column(String, unique=True)

I will get error that the database has no such column

sqlalchemy.exc.OperationalError
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: User.newcolumn
[SQL: SELECT "User".id AS "User_id", "User".username AS "User_username", "User".email AS "User_email", "User".password AS "User_password", "User".newcolumn AS "User_newcolumn"
FROM "User"
WHERE "User".id = ?
LIMIT ? OFFSET ?]
[parameters: ('1', 1, 0)]
(Background on this error at: http://sqlalche.me/e/e3q8)

You cannot add new columns at runtime, you need to either migrate the database, or delete it and start with a fresh one.
I'll close as this is not related to this project.


Deleting colorized Thresholds and trying to re-add will kill the session window (see screenshots)

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

Open a dashboard / customize cell
delete one of the existing threshold. (all threshold are removed...)
try to add one back, session terminates

Expected behavior:
Describe what you expected to happen.
Actual behavior:
Describe What actually happened.
see screenshot
Environment info:

System info: Run uname -srm and copy the output here
InfluxDB version: Run influxd version and copy the output here
Other relevant environment details: Container runtime, disk info, etc

Config:
Copy any non-default config values here or attach the full config as a gist or file.

Logs:
Include snippet of errors in log.
Performance:
Generate profiles with the following commands for bugs related to performance, locking, out of memory (OOM), etc.
# Commands should be run when the bug is actively happening.
# Note: This command will run for at least 30 seconds.
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"
curl -o vars.txt "http://localhost:8086/debug/vars"
iostat -xd 1 30 > iostat.txt
# Attach the `profiles.tar.gz`, `vars.txt`, and `iostat.txt` output files.

Spoke to @gomazu about this and it doesn't seem like it's an issue anymore. I couldn't reproduce this, I'm gonna mark this as closed


feat(health-check): Use Microprofile Health Check

This replaces the trivial HealthCheckEndpoint
Health checks are used to probe the state of a computing node from another machine (i.e. kubernetes service controller) with the primary target being cloud infrastructure environments where automated processes maintain the state of computing nodes.
In this scenario, health checks are used to determine if a computing node needs to be discarded (terminated, shutdown) and eventually replaced by another (healthy) instance.
It’s not intended (although could be used) as a monitoring solution for human operators.
This allows implementations to return information that could decide whether this service is available or not.
Spec: https://github.com/eclipse/microprofile-health/
Article: https://developers.redhat.com/blog/2018/03/05/cloud-native-microprofile-config-healthcheck-openshift/

Ike Plugins (test-keeper)
Thank you @gastaldi for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin - for example exclude certain file types so if PR contains only them it won't be checked.

/ok-without-tests

Hey @gastaldi! It seems you tried to trigger /ok-without-tests command, but this will not have any effect due to insufficient permission. You have to be admin or requested reviewer, but not pull request creator for this command to take an effect.

Note that the build ran faster with this PR, probably because I removed HealthCheckEndpointIT

Good job removing code without loosing functionalities :)

/ok-without-tests


feat(function): add watermark custom style

General

✏ Mark the necessary items without changing the structure of the PR template.

[ x ] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[  ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[x] My code follows the style guidelines of this project
[x] Is the code format correct
[ ] Is the git submission information standard?
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

增加了waterMarkOptions，支持传入自定义水印基本样式，ts类型可看
reset重置样式增加了display,visibility防止基本的隐藏水印的操作，否则可以直接增加样式进行隐藏水印


Automatically deploy OpenShift Virtualization Operator

Post-install, and post-storage configuration, deploy CNV/kubevirt/OpenShift Virtualization/whatever the latest product name is. Depends on #21  to successfully launch VM's

Had some minor issues when redeploying the CNV operator that were only resolved after reversing the steps executed in deploy.sh here (and replaced create with delete) : https://github.com/kubevirt/hyperconverged-cluster-operator/blob/master/deploy/deploy.sh

Likely going to want/need OCS for this task:
cat <<EOF | oc create -f -
apiVersion: v1
kind: Namespace
metadata:
  labels:
    openshift.io/cluster-monitoring: "true"
  name: openshift-storage
spec: {}
EOF

Fixed by e3801cf492ab1969c7198a74bfa8df883ae554d1


Do not use the active text editor for running organize imports code actions

Problem
Python's organize import code actions currently only work if you have an active text editor: https://github.com/Microsoft/vscode-python/blob/f7b5c4fa6f58d9c8997df2c88fef2e97a308a385/src/client/sortImports.ts#L8
This means that we can not apply the organize imports action to background files. This breaks this extension and may also break liveshare scenarios
Proposed fix
The code action could pass the document uri to this comment so that the active editor is not required. (may also require switching to using WorkspaceEdit)

[ @mjbvz I edited your ✉ ⬆ to come off as more 😃 and less 😠 ]

Thanks for taking a look. To add some context: this issue is really about live share and https://github.com/Microsoft/vscode/issues/53180. In order to properly support these scenarios, code action providers must not use on the active editor (including in commands they return). The live share case in particular is interesting because the code action will end up being run on a remote machine which may or may not have the file open as an editor

@mjbvz the LiveShare team has not brought this up with us previously. Are they aware of this?


License?

Which license type this project use?
I want to add this to the https://osgameclones.com/ but we need to add the license and I don't see it in this repository.

I'm still working on picking a license and looking into it.