fix: attribute validation for generated script tag

Before submitting the PR, please make sure you do the following
fixes https://github.com/sveltejs/kit/issues/1767
Strictly speaking the attributes type, url and body in the generated script tag are invalid. This PR replaces them with data-type, data-url and data-body.
Tests
Adjusted the existing test cases.
Changesets
Generated a minor changeset.

This could potentially be a lot of data, so we're trying to avoid having the browser parse this as javascript. Are there any type= values that the validator won't complain about but which the browser won't parse and execute as javascript?

This could potentially be a lot of data, so we're trying to avoid having the browser parse this as javascript. Are there any type= values that the validator won't complain about but which the browser won't parse and execute as javascript?

Okay, I understand. According to MDN every MIME type other than JS should do the trick. I chose text/plain and adjusted the PR accordingly.
(Furthermore I noticed that there is also the invalid body attribute used. I renamed it to data-body  as well.)

thanks!


SharePoint Online 'Site Owner' Unclear / Undefined

In section 'Data table - Tenant SharePoint Online Usage', columns SitesWithOwnerActivities and SitesWithNonOwnerActivities refer to a 'site owner', however, it is unclear what the definition of 'site owner' is in this context. An example of why this is confusing is because if you run Get-SPOSite via PowerShell, it can show a different value for 'Owner' then what shows under 'Site owners' in the SharePoint admin center / Active sites. I request that 'site owner' be clearly defined on this page so that consumers know exactly what they are looking at.

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

ID: de44679b-998b-3de8-292b-d2993af9bad9
Version Independent ID: 7fd9ecf7-0468-d01e-dcca-d18a19ebb7c2
Content: Microsoft 365 usage analytics data model - Microsoft 365 admin
Content Source: microsoft-365/admin/usage-analytics/usage-analytics-data-model.md
Service: o365-administration
GitHub Login: @Sirkkuw
Microsoft Alias: sirkkuw

Hello @mhendric Mike how are you?
Would you be so kind sharing an example where you saw differences between the Owner property of SPOSite (returned by Get-SPOSite) and the Site Owners list (expanded) from the UI?
This is to better understand your scenario as I could not repro.
Thank you

@mhendric - We appreciate any feedback you can provide to make the content in the Microsoft docs better. However, we did not get any response from you so we will close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better.
Thank you.

Hi @mypil and @get-itips , sorry for the late response, was on vacation last week. Here's a couple examples. I don't have the ability to reopen this though. Can one of you do that for me?
Example 1:

Example 2:

@mhendric Mike
Do you refer to the fact that, according to the admin panel, CommSite3 has no Owners (but admins) ?

Hi @get-itips , I'm specifically calling out that depending on where you look within the service and available tools, Site Owner can show completely different things. This documentation talks about Site Owners, but that is clearly ambiguous at this point. In the context of these reports (and the dataset behind them), I'd like to clarify what a Site Owner actually is. Where do you look to see what the Site Owner is that is being referred to in these reports? PowerShell? SPO Admin Center? Somewhere else entirely?

This should probably go to @kaarins

I understand this and can add this.

I understand this and can add this.

Thanks @kaarins

@kaarins - Do you have any updates on this?
Thank you.

@kaarins Awaiting your response. Please revert. Thanks

@kaarins This is a gentle reminder, please help us by adding the required information. Thanks

Article has been updated to specify the definition of site owner.
@yogkumgit you can close this now.


Add height to images to respect defined hotspots

Hey! @hdoro
Thanks for this awesome plugin 😃 I also had a similar one that I would copy over from project to project. Glad to see that somebody took the time to publish his version 😄
About my PR:
I noticed that the hotspots defined in the Studio were not taken into account. The reason is that no heights were set for the images.
Notes:

from my short research, Twitter prefers the aspect ratio 2:1 (Open Graph is 1.91:1), that is why I set 1600x600 for Twitter and not 1600x630.
checking in my browser, the Google mobile image preview sizes are 104x104

@hdoro 👀

Thanks a lot for this, Jérôme! I didn't even know image.size() existed 🤯
Sorry for the 2.5-month delay in getting this merged, I'm still learning how to keep up with open source projects 😅


measuring script: Add ability to measure specific hue and sat range

Just an idea:
Regarding my meaurement of LED1624G9 and its power consumption spike at a specific color, I think it would be nice to have ability to run the measuring script for a specific hue and sat range with finer "resolution". For example with LED1624G9 I would like to take a finer measurement for hue range from let's say 5000 to 8000 because that's where the spike is. Or maybe even better take an extra measurement of only this range with finer resolution and then merge it to aready existing measurement.
If I understand correctly then right now I can change HS_HUE_STEPS and HS_SAT_STEPS in measure.py to smaller values to get better results but I would get tons of unnecessary data and the measurement would be running forever.

Added with #456.
Now it's possible to define MIN_HUE, MAX_HUE, MIN_SAT and MAX_SAT.
With HS_HUE_STEPS and HS_SAT_STEPS you can control the granularity.
Won't implement any auto merging functionality as this is really an edge case.
You can just copy the CSV to another location, take the new measurements, and merge the two CSV files manually.
Is not released yet as a new version, but you can use the master branch:
docker pull bramgerritsen/powercalc-measure:master
Let me know if this works for you.

Now working great after fix #458, thanks!


Giphy requires proper attribution

In order to get a production key for Giphy, they require attribution per their terms.
"Thanks for your interest in using our API.. Also, per our terms of service, we require all users of our API to include the approved "Powered by GIPHY" attribution. It looks as though your attribution is currently in plain text, which is not compliant with our terms. You can download approved assets here: http://www.google.com/url?q=http%3A%2F%2Fgiphymedia.s3.amazonaws.com%2Fgiphy-attribution-marks.zip&sa=D&sntz=1&usg=AFQjCNH2vioX4nvSrL6iR2kuB_WG-85VLA Once you make that fix, can you please edit your application and attach a video capture of the user experience for adding GIFs in your app?"

It appears this is being addressed by #37

The new 2.1.0 version of the plugin embarks the modifications asked by GIPHY. The version is available now for direct download on the Releases pages, and will be soon available in the Mattermost Marketplace, pending Mattermost approval.

The new 2.1.0 version of the plugin embarks the modifications asked by GIPHY. The version is available now for direct download on the Releases pages, and will be soon available in the Mattermost Marketplace, pending Mattermost approval.

FYI the release that fixes this issue has been made available on the marketplace this August.


[ISSUE #32] Implementation of RocketMQ Catalog

fix : #32

better to check CI error first.

done

@li-xiao-shuang, @GOODBOY008, thanks for your contribution. I left the comments for the changes of this pull request. BTW, please squash the commits to one commit. PTAL.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@017db20). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 74c90a0 differs from pull request most recent head 34535a8. Consider uploading reports for the commit 34535a8 to get more accurate results

@@           Coverage Diff           @@
##             main      #49   +/-   ##
=======================================
  Coverage        ?   27.10%
  Complexity      ?      149
=======================================
  Files           ?       59
  Lines           ?     2428
  Branches        ?      258
=======================================
  Hits            ?      658
  Misses          ?     1705
  Partials        ?       65

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Energy changes: Allow extrapolation for pitch

When going to very low energies we need to set the DCM pitch to a value outside that in the lookup table. GDA will extrapolate the last two values in the lookup table and use these to extrapolate outside its range. Currently hyperion refuses to extrapolate but we probably have to.
Acceptance Criteria

Work out the best method of extrapolation
Implement in hyperion

If it's below the last energy use the last value.


change filtering to keep companies where plan_tech_share is 0

related to https://dev.azure.com/RMI-PACTA/2DegreesInvesting/_sprints/taskboard/P4I/2DegreesInvesting/2024_09?workitem=8407
This PR aims to keep in the bubble company chart the company with no green technology, i.e. company where plan_tech_share for green technology is 0.

I reviewed this as extensively as possible with @Antoine-Lalechere. My suspicion is that the filter for plan_tech_share != 0 was to avoid any possible division by zero which could easily lead to an error, however @Antoine-Lalechere and @cjyetman don't see any reason why that value would end up as the numerator for any calculation. So, I am approving this, but I think @MonikaFu will still have to approve because they are the code owner.

Thanks @cjyetman. I'll review tomorrow unless it's urgently needed.

Looks good to me on paper but when I run it locally I did not get the company bubble to show up in the report and the data file for this chart was an empty array. Not sure if it is maybe an issue with the data I'm using or the code. @cjyetman @Antoine-Lalechere any ideas? Have you tested this locally and looked at the plot?

Do you have an appropriate portfolio CSV to test it, i.e. one that has an ISIN that points to a Power company that is pure brown and has 0 production in the start year? We had difficulty finding one, so I relied on logic and reviewing the long history of this function/pipe (the filter has been there since the very beginning, like 4 years ago).

@cjyetman no, I don't, I wanted first to see if the report generates and then look into editing data for this particular chart. But it seems like there is a mismatch again between data I am using and scenario names :/

sorry @cjyetman I accidentally re-requested a review from you..


Race condition in TestEncodeProperty/encode_map

exit status 1: --- FAIL: TestEncodeProperty (0.00s)
    --- FAIL: TestEncodeProperty/encode_map (0.00s)
        encode_test.go:143: encodeProperty(k, map[string]string{"a":"a", "b":"b"}) = "k[b]=b\nk[a]=a\n", want "k[a]=a\nk[b]=b\n"

Fixed in e888aed401c722446d7e06ac96272fcd91d992f4


Libdoc toc

Fixes #3280

Not yet ready but I needed to ask one design thing and therefor made a PR. See the comment for more details.

Yes, the doc is missing. Will write once I get all the other things done.
It reminds me one one thing, now the tests are done with documentation using RF documentation format. There should be tests for .rst format (which is missing) but with the latest parser changes, should I test other formats too and if yes what?

I don't think we need TOCs for anything else than Robot's own format. This is why:

Nobody has requested that. Can be added later if needed.
reST has its own directive for generating a TOC.
Implementation would be totally different with different formats.

Sounds good, let's go with Robot format only. I somewhat busy to get the Robocon stuff ready, so let's see when I can get time to do this.

There will be RF 3.2 beta 1 this week (needed for RoboCon as well) but earliest on Friday. If you get this ready by then, great, if not, there's still time to get it into the final release.
One thing to do is taking the TOC functionality into use with Robot's own standard libs. Can be done as part of this PR or separately.

I totally missed the part of updating standard libraries (Eating your own dog food), good catch. Will do.

This PR was never finished and the functionality has now been implemented by acdea400d00caa052e878245eda2431bef2f77f4.


deps(react-native): Update bugsnag-cocoa to v6.17.1

Cannot update to v6.17.1 due to a bug: https://github.com/bugsnag/bugsnag-cocoa/pull/1392


Acute accent problem

Filter string value is cleaned by  filterglobal(),
example: ženšen ( ginsen)
$searchinput = 'ženšen';
$searchinput = preg_replace("/\W+/", " ", $searchinput);
$searchinput = 'enen';

This wokrs fien for Czech language:
$searchinput = 'ženšen';
$searchinput = preg_replace("/[^a-zA-Zá-žÁ-Ž0-9 ]+/", "", $searchinput);
$searchinput = 'ženšen';

I think this is better. I want to keep a single space between words.
Can you make a pull request for this ?
$searchinput = 'ženšen';
$searchinput = preg_replace("/[^a-zA-Zá-žÁ-Ž0-9]+/", " ", $searchinput);
$searchinput = 'ženšen';

thanks.

I created a pull request for this ;)

solved.


Error after scaffolding Action Based Messaging Extension

Describe the bug
Created a new action based messaging extension and getting TSLint errors for @types\babel_traverse
To Reproduce
Steps to reproduce the behavior:

Create a new action based messaging extension using yo teams
Run gulp serve

Screenshots

Detailed information

Generator version: [2.15.0]
OS: [Windows 10]
Node version: [v10.22.0]
Npm version: [6.14.5]

Just tried updating my Node version to latest LTS - v12.18.4 and still facing the same issue

I can confirm the same issue.
It is tied to jest.
Once you remove the jest-related dependencies from the projects, babel__traverse won't be used by the project anymore and it will build successfully.
I do not know what's causing this issue, because I have other projects with jest that compile fine, but this serves as a workaround.

I will give it a try until this is fixed

I can confirm the same issue.
It is tied to jest.
Once you remove the jest-related dependencies from the projects, babel__traverse won't be used by the project anymore and it will build successfully.
I do not know what's causing this issue, because I have other projects with jest that compile fine, but this serves as a workaround.
As for cause investigation, I tried building this project with:
npm 6.14.8
Manjaro Linux latest
NodeJS 10, 12 and 14
Generator version 2.15 and 2.16 preview.
switching the NodeJS and Generator versions around didn't resolve anything, issue exists with all combinations.

I will give it a try, Thanks for testing

See #154


[BUG] .sdkman Shows Even When SDKMAN is Installed

Describe the bug
When running the script, .sdkman shows even when SDKMAN is still installed (sdk command works). Not only that, it shows up twice.
Terminal output
Some xdg-basedir envirnoment variables are not defined. Fallbacks will be used!

Missing:
- $XDG_DATA_HOME
- $XDG_CONFIG_HOME
- $XDG_STATE_HOME
- $XDG_CACHE_HOME

[sdkman]: /home/admin/.sdkman (291.35 MB)
[sdkman]: /home/admin/.sdkman (291.35 MB)

System

Distro: fedora
Shell: bash

Additional context
Installed through script from here: https://sdkman.io/

Thanks for reporting. I remove sdkman from support:

sdk is not a real command. It's created by a sdkman bash script which has to be sourced and appears to be some type of alias. This behavior is right now not supported and sdkman therefore removed

I also created a new bug for the duplicated output: #33


when GPS is selected device only, it takes 100 seconds to get the location

but if we switch off the app and turn on again, it fetches the location immediately, the problem is when we return from the gps settings page after making the request, it takes almost 100 seconds to get the location

not like this, but in onResume of the activity, I make request to location again.

I call this method : locationProvider.requestLocation(); in onResume()

yes sorry, that's the method i meant, i will have a look into this as soon as i can. Has debugging it give you any visibility as to what part of the flow hangs for 100 seconds?

only i can see in the logcat that, locationRequestStopped callback is being called soon after I do locationProvider.requestLocation(); in the onResume of the activity.


Do I need to have a slot for all the entities?

Rasa Core version: 0.9.8
Python version: 3.6
Operating system (windows, osx, ...): OSx
Issue:
This is more of a fundamental question regarding Rasa. Do I need to have a slot for all the entities in my list?
For example - I have two entities service_list, deal_name. I need to keep track of deal_name as it can be either A, B or C. But I don't see a need to keep track of service_list. Do I still need to have service_list in the slot?
Or maybe a more fundamental question is - if I dont need to keep track of something, should it even be an entity?

Rasa Core doesn't require you to have a slot for every entity, but usually if you extract an entity you also want to keep track of that info.


bug: Flex display breaking Header bar buttons

Type: bug
Platform: all
Hi,
I am using custom SVG icons for displaying navigation buttons in header, such as menu button, or the back button.
I want to vertically align the buttons and I thought of using display flex for same, however, trying to use display flex for header buttons breaks the header bar buttons.
Here is code pane explaining the problem:
http://codepen.io/ravishtiwari/pen/VLGjbz3
I am not sure why it's creating a problem. Why changing a display property is making navigation buttons go haywire?
Regards,
Ravish

Greetings @ravishtiwari!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

You codepen is 404ing. Could please provide a valid link.

Hi @mhartington sorry for delayed response, I am not sure what happened to has pen, this is the pen illustrating the problem http://codepen.io/ravishtiwari/pen/OVBqzQ
Click on 'Go to Info page button' to see the problem in action.
BTW, I was using svg icons, so, I thought problem might be related to using svg icons, but, when I created the pen, I realized that's it has nothing to do with my SVG icons.

Your codepen is referencing ionic 0.9.27, the latest release is 1.0.1.
Please update your codepen.

Greetings @ravishtiwari!
My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information.
Thank you for allowing me to assist you.


How to automatically add borders to all pages

Description

## Description
In Typst 0.12.0, while it's possible to add a border to a single page using:
```typst
#place(rect(width: 100%, height: 100%, stroke: black))

There appears to be no way to automatically apply this border to all pages in a document. This should be a basic layout capability.
Current Behavior
The following approaches have been tried:

Using page background:

#set page(
  background: rect(width: 100%, height: 100%, stroke: black)
)

Using place in header:

#set page(
  header: place(
    top + left,
    rect(width: 100%, height: 100%, stroke: black)
  )
)

Using show rules:

#show page: it => [
  #place(rect(width: 100%, height: 100%, stroke: black))
  #it
]

None of these approaches work - they either produce no borders at all or only border the first page.
Expected Behavior
There should be a way to automatically add borders to all pages in a document, similar to how other page-level styling (margins, headers, footers) works automatically.
Environment

Typst version: 0.12.0
Document type: Multi-page technical specification with headings and lists

Minimal Example
Here's a complete example showing the issue:
#set page(
  paper: "us-letter",
  margin: 0.5in,
)

#place(rect(width: 100%, height: 100%, stroke: black))

= Heading 1
Some content

= Heading 2
More content that forces a page break

= Heading 3
Content on third page

This only produces a border on the first page.

### Use Case

Some documents require a page border on each page.

Your first attempt was correct, you just needed to discount the margin in the width and height (100% - margin).

Ah, that was the key I was missing. Thank you.
Dennis


[API view] Support showing tooltip when hovered over type definitions

In API view, when types are used from a dependency library, currently only the type names are shown on API view. The type name alone is sometimes not sufficient to tell which dependency it's coming from. It would be good to have a tooltip to show up when hovered over such types to show the full package name that helps in identifying the dependency.
For e.g. in the image below, when we hover over OffsetDateTime type, it should show the full package name as there are two packages that have the exact same type name - OffsetDateTime in JDK and OffsetDateTime in threeten.

Seeing as APIView is already using Bootstrap, we could introduce the tooltip component from that library to implement this: https://getbootstrap.com/docs/5.0/components/tooltips/
We could change the rendering to instead be, e.g. dashed underlines, to indicate the fact that a tooltip exists.

This comment will be updated to track places where we might use this feature, in Java / Android / Spring API reviews:

For all types (return types, parameters, parent classes / interfaces), we could have a tooltip to display the fully-qualified type (i.e. with full package information, e.g. 'Date' would have a tooltip 'java.util.Date'). This will help discern in situations where the same types can come from different places.


Generate debug info, potentially mapping from source language debuginfo to machine code

It would be interesting and potentially beneficial to the end users' debugging stories if we generated debuginfo for the machine code we produce.
This is a potentially interesting problem to research because the debug info generated would need to map not from machine code back to input wasm, like in the usual compilation scenarios, but rather from the machine code back to the the code from which the wasm code was produced.
The ultimate goal should be that running gdb --args standalone-vm-runner contract.wasm would allow to see source listings of the source language, stepping through source language statements, etc.

The ultimate goal should be that running gdb --args standalone-vm-runner contract.wasm would allow to see source listings of the source language, stepping through source language statements, etc.

Yeah, we need something like this. This shouldn't be standalone-vm-runner though, but rather something like neard-sandbox --call-contract contract.wasm or something along those lines. We should centralize on sandbox as one-stop-shop binary for contract test&debugging. standalone-vm-runner isn't really a public and supported interface at the moment.
More generally, we should work on making some sort-of public interface here. It'd be cool if, eg, one could run contract tests via
$ CARGO_RUNNER="neard-sandbox --test-contract" cargo test --target wasm32-unknown-unknown

Feels like a big undertaking, no one is actively working on it right now.


Where to add phrases and words in the French translation

Hi,
First of all thanks very much for this package, your effort and work.
I have installed it and at the frontend when I switch the language, the "Welcome to" and the footer "Privacy and Cookie Policy" is not translated. Where do I add these phrases to translate please?
I have googled the questions but no luck.
Please help me with some direction.
Thanking you in advance.

Thanks a lot. You can change it on configuration (Welcome). And magento block (Privacy and cookie policy). This is not Magento translations.

Thank you for your reply.
If in future I want to add new words and phrases then where do I add them to the list? I see there are various csv files in the folder, is it a particular one or any one of the csv files?
Apologies for the simple questions but would appreciate your help with some guidance.
Thanking you in advance for your ongoing help.

You can use language inheritance
See: language inheritance


Make entire flist items clickable links?

It took me far too long to realize that the @flist ✔s are actually links.  Would it make sense to make the entire bullet point a link target that was part of the on-hover target?  That way there's a much larger (and more discoverable) hover target — even if the bullet point text itself isn't styled in blue.

Oh, I see that this has more to do with the \goto in your config.md than @flist.

Oh! Wait wait so you may be talking about several different things:

you can use something like @@tlist on the Julia site which will wrap the list in a div block to make the bullet points "right" (decrease the vertical spacing); this is not a Franklin command per se, you can wrap anything you want in @@foo ... @@ and it will be wrapped in a div block "foo" that you can style as you want
I'm not sure what you're referring to with the goto?

Can you let me know which one you're talking about / maybe just point me to what you saw and I'll try to explain that better? I'm a bit confused by the "clickable" :)


Update readme to include  Docker Pipeline Plugin requirement

Without the Docker Pipeline plugin, pipeline execution fails with the following error:
Invalid agent type "docker" specified. Must be one of [any, label, none].

@dhgautam Thank you for the PR! I have actually moved this repo...
https://github.com/lacework/up-and-running-jenkins. I am actually working on updating the steps and have the requirement to install the Docker plugin added. I will be pushing a larger update later this week.

Thanks for the clarification @scottford-lw . I have forked the new repo.


Bugfix: outgoing traffic with many requests. (like in tcp_mirror.rs).

Add sleep before exiting after remote_steam closes.
Add meowjesty's many-requests test.
Fix single-request, outgoing-disabled node test.

https://github.com/metalbear-co/mirrord/issues/331
This PR solves the bug by the same approach used in tcp_mirror.rs.
https://github.com/metalbear-co/mirrord/pull/393 uses a different approach without sleeping.

Failed on the new test (succeeded locally). This approach still has uncertainty in it and the bug is still possible if a lot of data is sent or if it's sent slowly. I think the approach https://github.com/metalbear-co/mirrord/pull/393 is preferable if it's correct.


Remove id from ButtonState and AlertState

If I'm not mistaken, Identifiable is only used to simplify ForEach iteration in the actions.
This PR removes the uncontrolled Identifiable conformance for ButtonState and AlertState. The button's array is indexed before iterating over it, and theses indices are used as unique identifiers. Because of the nature of Alert and Confirmation dialog, this likely won't have unexpected side-effects. We could probably use enumerated() instead of zip here and I can update the PR if you want.
It also restores automatic Equatable and Hashable conformance for ButtonState. In my experience, using a partial Equatable conformance inevitably lead to incoherent situations and invariants being broken in the long run.
Please let me know if I'm missing something and Identifiable is used in other places than these loops.

Never mind, it is used internally by TCA.


Request a sample code demonstrating the use of image_captioning_from_gpt4v_mapper.py

Before Asking 在提问之前

[X] I have read the README carefully. 我已经仔细阅读了 README 上的操作指引。

[X] I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码，重新运行之后，问题仍不能解决。

Search before asking 先搜索，再提问

[X] I have searched the Data-Juicer issues and found no similar questions. 我已经在 issue列表 中搜索但是没有发现类似的问题。

Question
Do you have a sample code demonstrating the use of image_captioning_from_gpt4v_mapper.py? What should be the input?
Additional 额外信息
No response

Hi, the usage of this operator is similar to other mapper operators. You just need to add the operator to your configuration file and provide the appropriate parameters.
e.g:
# Process config example for dataset
# global parameters
project_name: 'demo-dedup'
dataset_path: ''  # path to your dataset directory or file
np: 1  # number of subprocess to process your dataset`
export_path: ''  # path to processed result dataset. Supported suffixes include ['jsonl', 'json', 'parquet']

# process schedule: a list of several process operators with their arguments
process:
  - image_captioning_from_gpt4v_mapper:                     # generate samples whose texts are generated based on gpt-4-visison and the image
      mode: 'description'                                     # mode of text generated from images, can be one of ['resoning', 'description', 'conversation', 'custom']
      api_key: ''                                             # the API key to authenticate the request
      max_token: 500                                          # the maximum number of tokens to generate. Default is 500.
      temperature: 1.0                                        # controls the randomness of the output (range from 0 to 1). Default is 0.
      system_prompt: ''                                       # a string prompt used to set the context of a conversation and provide global guidance or rules for the gpt4-vision so that it can  generate responses in the expected way. If `mode` set to `custom`, the parameter will be used
      user_prompt: ''                                         # a string prompt to guide the generation of gpt4-vision for each samples. It's "" in default, which means no prompt provided
      user_prompt_key: null                                   # the key name of fields in samples to store prompts for each sample. It's used for set different prompts for different samples. If it's none, use prompt in parameter "prompt". It's None in default
      keep_original_sample: true                              # whether to keep the original sample. If it's set to False, there will be only generated text in the final datasets and the original text will be removed. It's True in default
      any_or_all: 'any'                                       # keep this sample with 'any' or 'all' strategy of all images. 'any': keep this sample if any images meet the condition. 'all': keep this sample only if all images meet the condition


Fix SR-IOV 1.17 test lane

What this PR does / why we need it:
The lane is currently disabled since it used to fail. Let's try to see what is its current state.
Special notes for your reviewer:
This PR is currently used to verify changes on kubevirtci:

https://github.com/kubevirt/kubevirtci/pull/322
https://github.com/kubevirt/kubevirtci/pull/319

This infra change would make CI output better:

Merged: https://github.com/kubevirt/project-infra/pull/395

The only change needed on kubevirt/kubevirt will be to bump kubevirtci and to run SR-IOV lane with two nodes.
Release note:

NONE

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

The issue seems to be that we execute the Makefile with dash, resulting in /bin/sh: 1: Syntax error: "(" unexpected.

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

The updated kubevirtci has issues running kind on single-node.

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/hold
Until dependencies get merged and this is rebased.

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

The lane has passed https://prow.apps.ovirt.org/log?id=1241460797306048512&job=pull-kubevirt-e2e-kind-k8s-sriov-1.17.0.
Now we need to get PRs on kubevirtci merged, bump kubevirtci on kubevirt and rebase this.

/hold cancel

/test pull-kubevirt-e2e-kind-k8s-sriov-1.17.0

/test pull-kubevirt-e2e-k8s-1.14

/retest

look good to me in general and all tests are passing as well.
However, I can't say I'm able to follow every line in this code and be 100% sure what it does :/
I'd be comfortable is some else will look at it and approve.
/lgtm

@vladikr the only thing on kubevirt/kubevirt is change in number of nodes. kubevirtci changes are just fetched. Reviewed on: https://github.com/kubevirt/kubevirtci/pull/322 and https://github.com/kubevirt/kubevirtci/pull/319.
Let me see if we can find someone with approver rights who could confirm these kind changes.

/lgtm
/approve


Add support for migrating from OktaOidc

Adds the concept of an SDKVersionMigrator, to attempt to future-proof version migrations that may need to occur later.
Centralizes Plist configuration loading for better reuse.
Sample application to demonstrate migration from OktaOidc.
Fixes a bug in how token issuedAt timestamps are created.

Tests to come in a subsequent commit to this PR.

@stevelind-okta I agree that SQLite is much more flexible for storing configuration and application state, but doing so would limit our ability to support iCloud Keychain Sharing, persistent configuration after application deletion, etc. Going forward my approach is to be more intentional about the values we store in the keychain, to make it easier to uniquely identify credentials used for migration.

@stevelind-okta I agree that SQLite is much more flexible for storing configuration and application state, but doing so would limit our ability to support iCloud Keychain Sharing, persistent configuration after application deletion, etc. Going forward my approach is to be more intentional about the values we store in the keychain, to make it easier to uniquely identify credentials used for migration.

IMO, add sqlite into these SDKs is overkill. We added sqlite into Device SDK primarily due to Okta Verify non-trivial use-cases - support of many enrollments(multi-org, multi-user). For CIAM case it will be mainly one enrollment

Furthermore @IldarAbdullin-okta, introducing SQLite brings in compliance issues, crypto of data-at-rest issues, and a whole host of other problems.  Plus having to manage the lifecycle of opening and closing connections to the database.
If we decide to expand upon our Linux compatibility, I could see SQLite as an alternative to keychain-based storage though.


Samsung TV: UE43MU6172 setup problem

The problem

When I turn on my Samsung TV, hass discovers that and offers me to do a pairing. When I click notifications, then Configuration->Integratiojns->Discovered, there is my TV:
Samsung TV: UE43MU6172
I click Configure, then a dialog appears:
Do you want to set up Samsung TV UE43MU6172? If you never connected Home Assistant before you should see a popup on your TV asking for authorization. Manual configurations for this TV will be overwritten.
I click Submit, but then it just displays: Unknown error occurred in red and that's it. So I cancel it, and below you can find HASS log
Environment

| armv7l
-- | --
dev | false
docker | true
hassio | true
os_name | Linux
python_version | 3.7.6
timezone | Europe/Prague
version | 0.105.5
virtualenv | false

Home Assistant release with the issue:
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Integration causing this issue:
Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 135, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 160, in post
    return await super().post(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 50, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 89, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 130, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 172, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/usr/src/homeassistant/homeassistant/components/samsungtv/config_flow.py", line 170, in async_step_confirm
    result = await self.hass.async_add_executor_job(self._try_connect)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/samsungtv/config_flow.py", line 92, in _try_connect
    with Remote(config.copy()):
  File "/usr/local/lib/python3.7/site-packages/samsungctl/remote.py", line 11, in __init__
    self.remote = RemoteWebsocket(config)
  File "/usr/local/lib/python3.7/site-packages/samsungctl/remote_websocket.py", line 30, in __init__
    self._read_response()
  File "/usr/local/lib/python3.7/site-packages/samsungctl/remote_websocket.py", line 67, in _read_response
    response = self.connection.recv()
  File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 310, in recv
    opcode, data = self.recv_data()
  File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 327, in recv_data
    opcode, frame = self.recv_data_frame(control_frame)
  File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 340, in recv_data_frame
    frame = self.recv_frame()
  File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 374, in recv_frame
    return self.frame_buffer.recv_frame()
  File "/usr/local/lib/python3.7/site-packages/websocket/_abnf.py", line 383, in recv_frame
    frame.validate(self.skip_utf8_validation)
  File "/usr/local/lib/python3.7/site-packages/websocket/_abnf.py", line 182, in validate
    raise WebSocketProtocolException("Invalid close opcode.")
websocket._exceptions.WebSocketProtocolException: Invalid close opcode.

Additional information
Nothing pops up on the TV
TV firmware v. 1280

Duplicate of #31252 and #31504, will hopefully be fixed by #31537.


Cannot evaluate inp query

Hi, I follow your guide to train and evaluate the model by 1p-train, but there is something wrong when evaluate inp query. Could you help me?  Thanks.
Beside, how long does it take to train all queries？

It's strange that you may have a problem with the version of the package.

But the other queries can get the evaluation result in the same code.

That may be the format problem of the inp data set. We will check it, and you can try to download the data set again.

Same question as @slnxyr , I ran the code based on the full queries, but it seems to take a long time. May I know how long will it takes because it still in epoch 1 for nearly 1 day which confused me a lot. my settings as follows. Thanks.
parser.add_argument("--train_tasks", default="1p,2p,3p,2i,3i,pi,ip,2u,up,2cp,3cp,2in,3in,inp,pin,pni", type=str)

Yes, full-query training does take a long time, but because NQE is based on Transformer, you can achieve a similar effect of full-query training with only 1p training.


repetition + another example

added tip for repeat usage case, and added example, for good measure.

notifyloop already does the job of your watchout(). I've also added more examples to the readme. Hopefully they make it clear how autorsync and notifyloop work.


[Proposal] Add option at install to configure locales related

Like discussed here : https://github.com/go-gitea/gitea/issues/7897#issuecomment-531837452
Add a advanced tab to chose a specific locale (or multiple?) that will set option related to local from the locales files.

This option should download the latest locale from master, or at least give the user the option to grab it. I know some strings in master won't apply to the installed release, but those are usually better and/or more complete.


fix font link

It seems like patch related to summernote.js itself, could you explain about this, @petule ?

@petule Your PR is in the wrong repo. You need to create a PR in https://github.com/summernote/summernote


Add ability to specify returning the union in FindCommand

Change FindCommandParser to support using a comma to split multiple arguments within one prefix to specify that the command should return all students who match at least one of the prefix's arguments.

E.g. find c/cs2103;cs2103t should return all students who are taking CS2103 or CS2103T.

The essentials were already added back in #79, but the bugs were finally fixed and ironed out in #115. Closing this issue.


m_gameInput->GetCurrentReading always returns 0x838a0003

Sample project: Gamepad or GamepadVibration
m_gameInput->GetCurrentReading always returns 0x838a0003. WHAT DOES IT MEAN?
There's no definition for this code in XGameErr.h.
I've connected a Xbox Controller Series X to my Win 11 PC for sure.

That's "ERROR_PATH_NOT_FOUND".
Do you have the Game Runtime installed and the associated "GameInput" service running on the system?

I installed GDK-October_2022_Update_2.
I just ran services.msc, and found that "GameInput Service" and "Gaming Services" were running...
Then I ran the sample codes agian. It works now :)
Thanks.


Update Composer dependencies (2024-01-16-00-10)

Visual regression test passed!
View the visual regression test report


hang in import of xgboost due to cudf even if not using cudf

Similar to: https://github.com/dmlc/xgboost/issues/6282 but on latest 1.4.0 SNAPSHOT, presume in 1.3.0 as well.
Current thread 0x00007f45fb09b740 (most recent call first):
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 922 in create_module
  File "<frozen importlib._bootstrap>", line 571 in module_from_spec
  File "<frozen importlib._bootstrap>", line 658 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 971 in _find_and_load
  File "/opt/h2oai/dai/cuda-10.0/lib/python3.6/site-packages/cudf/utils/gpu_utils.py", line 10 in validate_setup
  File "/opt/h2oai/dai/cuda-10.0/lib/python3.6/site-packages/cudf/__init__.py", line 5 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 678 in exec_module
  File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 971 in _find_and_load
  File "/opt/h2oai/dai/cuda-10.0/lib/python3.6/site-packages/xgboost/compat.py", line 46 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 678 in exec_module
  File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 971 in _find_and_load
  File "/opt/h2oai/dai/cuda-10.0/lib/python3.6/site-packages/xgboost/core.py", line 21 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 678 in exec_module
  File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 971 in _find_and_load
  File "/opt/h2oai/dai/cuda-10.0/lib/python3.6/site-packages/xgboost/__init__.py", line 9 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 678 in exec_module
  File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 971 in _find_and_load

xgboost shouldn't be importing cudf if not used, and in this case wasn't used.
@trivialfis

i.e.
# cudf
try:
    from cudf import concat as CUDF_concat
except ImportError:
    CUDF_concat = None

cudf is a big import and risky due to all the other things it pulls in.
FYI like other hang of import, this one is not every time but more like 1/100 in certain cases.

Also @trivialfis , I see that in compat.py you still have import of dask in old style.  It would seem the other PR: https://github.com/dmlc/xgboost/pull/6309/files wouldn't fully solve even dask issue because compat.py still does import dask.

Just doing instead for dask in compat.py:
# dask
try:
    import pkg_resources
    pkg_resources.get_distribution('dask')
    DASK_INSTALLED = True
except pkg_resources.DistributionNotFound:
    dask = None
    DASK_INSTALLED = False

is enough.

Also, I'm not sure idea behind compat.py.  It's just used in one other file, dask.py.  Also, for some of those imports can just make them local imports.    One doesn't have to follow PEP preference when it messes up global imports.

@pseudotensor Thanks for the suggested patch. I submitted #6522.


Enhance trace with stub methods

Display methods that were not actually activated (primitive methods/quick push primitives, FFI methods) in the trace, too.
Implementation:

How to fake contexts?

As noted by @marceltaeumel, a general notion of synthetic contexts could help us to solve issues like this one, #79, or further user-generated transformations (aggregations or reifications) of the context tree.


[instancer] downgrade GSUB/GPOS version if there are no FeatureVariations after instancing

thanks! I simplified it a bit and added a test in https://github.com/fonttools/fonttools/pull/2812


docs: Heroku for Testing

Done with same framing as others, and whoever changes the other framing can change all at once as I'm not sure what it will be

Approved. Not sure about the word "fancy" - maybe "specific"?

Point, but I'll merge on the grounds that will probably change with a framing change anyway?


Full supported entities list mapping

... and a few bug fixes in there as well. Includes some previously missing attributes. Made these updates awhile back and never sent a PR. Hope it's helpful.

Thank you  Nick!


[Question] example of creating a VM from cloned hard drive

I'm a little lost about creating a VM from two drives I cloned.  Both are in qcow2 format, one was from a physical machine and another from a VM on ESXi.  Both are confirmed working in vanilla qemu+kvm.
I have uploaded both these images via the "Images URL" upload - I added the label harvesterhci.io/OsType: windows to one of them after upload, which triggered a re-download from my local web server, which really irked me because the file is 46GB and I'm working with a 1Gbps network.
Anyway, none of the images are listed under Volumes to be attached as a disk to a new VM.  Also, if I am creating a new VM, according to the docs the only process by which the infrastructure recognizes creating a VM is through new installation (via ISO), is that correct?
In addition, I do not have any volumes listed under Volumes, which seems strange because during the Harvester installation process I was told the unused space installation disk would be used for VM storage. Shouldn't I have default namespace listed here, or the two qcow2 images I uploaded?
More guidance would surely be appreciated.

from what i've gathered, when you migrate or upload vms, that creates an Image. so your data should be in the image section.
when setting up a windows vm, you should pick the windows iso template, delete the root disk, and add back your uploaded image volume.
i wrote a tutorial here #2950 (windows) and here #2949 (linux) from hyper-v to harvester. hopefully they are helpful.
if you are are new to all fo this much like i was, the windows one will be helpful to you in particular, because you have to go into command prompt and load the virtio drivers to get the vm to boot.
Hopefully this'll save you a lot of research and digging on the googles

also, new thing i've learned worth mentioning i think. the backing image (that you uploaded) will not be part of any backups you take from harvester. so either a) keep it around for future reload if you ever have to restore a from a backup, or b) dont use an image, recreate the ve from scratch in harvester.
anyone else have any pointers on getting backing images our of harvester, feel free to correct me if you know how!


Fix/fix build

Sorry for the big (...) PR, a lot is testing code that is linted with TSLint .
There are a few things that I found. First of all all tests are now working on Chrome web and iOS/Android app, except for one test which is the swipe test on Android. I need to check why the action is not working in the App, but is working on Chrome Web.
The Webview helper also needs to be rewritten, because I've found out that the details of the webviews are a bit different then the copied one from the appium-boilerplate (which I also wrote).
We might want to add more information regarding Webview automation on Android, like for example making the webview debuggable, the possible challenges with the Chrome Drivers that Appium uses and so on. I can add that in a separate PR.
Please let me know what you think. As discussed with @mlynch I want to use this project to present during JSWorld in the Netherlands.
Grtz
Wim Selles
This PR contains:
fix: make project work on iOS and Android

add missing build dependency
fix build scripts and disable not needed steps
change target to ES5 to fix Android webview error
remove protractor, project not needed and dead
remove not used devDependencies
remove code duplication in WDIO configs
fix E2E tests
fix W3C locators
minor docs updates

and
fixes: linting and testing fixes / optimizations

updated to latest WDIO deps
removed the WebdriverIO dep, it comes with the @wdio/cli
moved configs to tests
moved TS config for WDIO and fixed TS issues
fix some promises
linted testcode with TSLint

Wow @wswebcreation this is awesome, really appreciate the contributions!
The only thing that stood out was the ES5 change, I'm not sure what the implications are of that but for this test case it's probably fine (curious about the error you saw).
Would love to hear more about the WebView wrapper and what needs to change there, as it suggests my understanding of the web view context stuff is incorrect.
If you're ready I can merge, just say the word!

Hi @mlynch
Thanks, if you agree we can merge this. Can we also schedule a meeting together to walk through some things (I'm send an email to the ionic email address 😄 )
Grtz
Wim

Sounds good! And yes email me: max @ ionic.io


leaderMode seems to be missing

The docs mention leaderMode() for layers but it seems like it's not there in the library. I made sure I'm on the latest version
https://karabiner.ts.evanliu.dev/rules/leader-mode/

Nevermind, npm update karabiner.ts fixed it 🤦♂


Associations between a class and a class hierarchy causes association variable duplication in c++

What steps will reproduce the problem?

The following example demonstrates the issue:

// Here we define our base classes
class Vehicle {}
class Wheel {}
// Here we define our subclasses
class Bicycle { isA Vehicle; }
association { 0..1 Vehicle vehicle -- 0..* Wheel wheel; }
association { 0..1 Bicycle vehicle -- 0..2 Wheel wheel; }

Notice how this declares 2 different associations with Wheel, but Wheel should always
just have zero or one vehicle, and the vehicle can be either a Vehicle or Bicycle.

However, the c++ code will actually treat it as being two different variables:

class Wheel
{
   ...
   Vehicle* vehicle;
   Bicycle* vehicle;
   ...
}

This is mainly a compiler error, but does create some unnecessary code:
void Wheel::deleteAssociatedObjects(void){
        if(this->vehicle != NULL){
                if(this->vehicle!= NULL){
                        Vehicle* placeholderVehicle = this->vehicle;
                        this->vehicle = NULL;
                        placeholderVehicle->removeWheel(this);
                }
        }

        if(this->vehicle != NULL){
                if(this->vehicle!= NULL){
                        Bicycle* placeholderVehicle = this->vehicle;
                        this->vehicle = NULL;
                        placeholderVehicle->removeWheel(this);
                }
        }
}

This issue is very similar to #599 (in PHP) and #693 (in Ruby).

See also #693


Unable to debug step by step.

I am trying to incorporate esp-gdbstub into Sming (https://github.com/slaff/Sming/tree/feature/gdb-dev), an esp C++ framework. And I have some difficulties debugging step by step. It would be great if someone can tell me what am I doing wrong.
So I compiled the sample program ( https://github.com/slaff/Sming/blob/feature/gdb-dev/Basic_Debug/app/application.cpp ) that turns the led on and off. I flashed it on the device and restart the devices. Then started gdb with the following options
xt-gdb -b 115200

When gdb started I ran the following commands
(gdb) file out/build/app.out
(trace) gdbarch_init()
Load new symbol table from "/media/slavey/416431e8-fd46-4982-896d-5025a72dd361/slavey/dev/esp8266.dev.box/dev/Sming/Basic_Debug/out/build/app.out"? (y or n) y
(trace) gdbarch_init()
Reading symbols from /media/slavey/416431e8-fd46-4982-896d-5025a72dd361/slavey/dev/esp8266.dev.box/dev/Sming/Basic_Debug/out/build/app.out...done.
(gdb) set remotedebug 1
No symbol "remotedebug" in current context.
(gdb) set remotelogfile gdb_rsp_logfile.txt
(gdb) set serial baud 115200
Undefined set serial command: "baud 115200".  Try "help set serial".
(gdb) set remotebaud 115200
(gdb) set remote hardware-breakpoint-limit 1
(gdb) set remote hardware-watchpoint-limit 1
(gdb) set debug xtensa 4
(gdb) target remote /dev/ttyUSB0
Remote debugging using /dev/ttyUSB0
(trace) xtensa_unwind_pc (next_frame = 0x97f2120)
(info ) [xtensa_unwind_pc] pc = 0x40237c27
gdbstub_do_break_breakpoint_addr () at /home/slavey/dev/esp8266.dev.box/dev/Sming/Sming//gdbstub/gdbstub-entry.S:399
399		break 0,0

(gdb) break init
(trace) xtensa_alloc_frame_cache ()
(trace) call0_analyze_prologue (start = 0x40237c27, pc = 0x40237c27, ...)
(verb ) [call0_analyze_prologue] stopped at instr addr 0x40237c27, succeeded
(trace) xtensa_skip_prologue (start_pc = 0x40105678)
(trace) xtensa_skip_prologue (start_pc = 0x40105678)
(trace) xtensa_breakpoint_from_pc (pc = 0x40105678)
Breakpoint 1 at 0x40105678: file app/application.cpp, line 22.

(gdb) l
394		addi	a1, a1, -16
395		s32i	a15, a1, 12
396		mov		a15, a1
397
398	gdbstub_do_break_breakpoint_addr:
399		break 0,0
400
401		mov		a1, a15
402		l32i	a15, a1, 12
403		addi	a1, a1, 16
(gdb) run
The "remote" target does not support "run".  Try "help target" or "continue".

Up to here everything seems to be work as expected. The LED on the device is not blinking and I can start the program.
(gdb) continue
Continuing.
(trace) xtensa_breakpoint_from_pc (pc = 0x40105678)
(trace) xtensa_breakpoint_from_pc (pc = 0x40105678)
(trace) xtensa_unwind_pc (next_frame = 0x97f2120)
(info ) [xtensa_unwind_pc] pc = 0x40105678

The debugger stops at the first breakpoint, which is great.
Breakpoint 1, init () at app/application.cpp:22
22	{

I can also see information about variables
(gdb) print state
$1 = true

But then I am not able to debug the application step by step. On the first execution of "next" I get back some result but all following next commands give me errors  Cannot find bounds of current function.
Below is an output with more results.
(gdb) next
(trace) xtensa_alloc_frame_cache ()
(trace) call0_analyze_prologue (start = 0x40105678, pc = 0x40105678, ...)
(verb ) [call0_analyze_prologue] stopped at instr addr 0x40105678, succeeded
(trace) xtensa_unwind_pc (next_frame = 0x97f2120)
(info ) [xtensa_unwind_pc] pc = 0x40000504
(trace) xtensa_alloc_frame_cache ()
(trace) xtensa_unwind_pc (next_frame = 0x97f2180)
(info ) [xtensa_unwind_pc] pc = 0x40235cef
(trace) xtensa_alloc_frame_cache ()
(trace) call0_analyze_prologue (start = 0x40235cc8, pc = 0x40235cef, ...)
(verb ) [call0_analyze_prologue] instr addr = 0x40235cc8, opc = 16
(trace) call0_classify_opcode (..., opc = 16)
(verb ) [call0_analyze_prologue] instr addr = 0x40235ccb, opc = 74
(trace) call0_classify_opcode (..., opc = 74)
(verb ) [call0_analyze_prologue] instr addr = 0x40235cce, opc = 53
(trace) call0_classify_opcode (..., opc = 53)
(verb ) [call0_analyze_prologue] stopped at instr addr 0x40235cce, succeeded
0x40000504 in ?? ()
(gdb) next
Cannot find bounds of current function

Can it be that I am typing the next command too slow ( I don't think it takes me more than a second to press enter ) ? Or is the location of the function not correct ? I have instructions saying that the init function should be in .iram.text section. Is that the right place?
Any ideas why "next" is not working or what am I doing wrong?
P.S: If I remove the breakpoint and run continue then the LED starts to blink and I can see the usual output:
(gdb) delete 1
(gdb) continue
Continuing.
(trace) xtensa_alloc_frame_cache ()
(trace) call0_analyze_prologue (start = 0x40105678, pc = 0x40105678, ...)
(verb ) [call0_analyze_prologue] stopped at instr addr 0x40105678, succeeded
mode : softAP(1a:fe:34:f3:74:e7)
add if1
dhcp server start:(ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>)
bcn 100

This is a known issue (that unfortunately you are the first one to properly report on Github... gotta remember to create an issue myself if I get them mailed): basically, an interrupt can 'hijack' the single step, making it look like the CPU did nothing while actually it executed the interrupt routine instead of the instruction. Fix coming up, I should finally have some time for that this week.

Also, I see you use xt-gdb, which is probably the Tensilica-built GDB. This stub is made to work with the open-source xtensa-lx106-elf-gdb as built by e.g. xtensa-open-sdk.

@Spritetm

Also, I see you use xt-gdb, which is probably the Tensilica-built GDB.
I am using the esp-open-sdk. The xt-gdb is just a link to the xtensa-lx106-elf-gdb.

Thanks in advance for your efforts. Debugging will help us greatly figure out strange issues with the devices and our C/C++ code.

Okay, please check out commit 7c9e0ca and see if you can reproduce the problem?

@Spritetm Works like charm! Thanks a lot. Take a look here:

I have one question though - in the README you say that breakpoints can be set only to code which resides in RAM. If a function, that was located in FLASH, is executed then is its code moved to RAM  after its first execution?  If yes, can I set a breakpoint somewhere inside of it after the first execution? I am asking because I can debug deeper than I was expecting and set breakpoints to functions that were not explicitly declared to reside in RAM and I am, happy of course, but would like to know why is that possible?

I actually think gdb reverts to single-stepping every single instruction if it detects it can't set a software breakpoint at a certain position, or it may revert to ha hardware breakpoint if it still is unused.


pull secret synch failing on a brand new azure IPI cluster

DaemonSet gets created correctly, but pod logs are showing errors trying to synch the credentials:
Synchronize docker config: 03:34:34
cp: can't stat '/host/.docker/config.json': No such file or directory
.dockerconfigjson
Synchronize docker config: 03:39:37
cp: can't stat '/host/.docker/config.json': No such file or directory
.dockerconfigjson
Processing "cp.icr.io"
/scripts/global-pull-secret-sync.sh: line 28: /host/.docker/config.json.tmp: No such file or directory
cat: can't open '/host/.docker/config.json': No such file or directory
mv: can't rename '/host/.docker/config.json.tmp': No such file or directory

There is no /hosts/.docker in the DaemonSet pods on the Azure cluster:

This is on an OCP 4.10 cluster

similar error on a fresh ocp 4.8 cluster...
Synchronize docker config: 14:26:05
cp: can't stat '/host/.docker/config.json': No such file or directory
.dockerconfigjson


Add dict drop service

The related PR is https://github.com/dst-project/dst/issues/250

It seems that CI failed with a bug. I will solve it later.

Thanks for your contribution very much! But I think using del is more appropriate than using drop. Should we consider it again?

This is not conflict with drop table command.


Investigate removing locks from HttpOutputProducers and having more coarse locking.

Today, every call to write/flush in the HttpOutputProducers acquires a lock (for example: https://github.com/aspnet/AspNetCore/blob/master/src/Servers/Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs#L103). This lock should never be contested as HttpContext doesn't support concurrent operations. Let's investigate if we can move the lock into HttpProtocol and improve writing performance because there are less acquisition of the lock.
cc @davidfowl @halter73

Also calls TimingPipeFlusher.FlushAsync taking the _flushLock
which also calls TimeoutControl.BytesWrittenToBuffer taking the _writeTimingLock

Definitely something to look at for 3.0. Early on we had the IMHO somewhat crazy requirement that writing to a chunked response body stream should be thread-safe. This meant that writing to the response stream from multiple parallel threads should not only not throw, but also result in a valid chunked response. This meant some of the locking was just to ensure that buffering a chunk was atomic.
In 3.0, I think we should just document that the response body pipe and stream are both not intended to be thread-safe.

writing to a chunked response body stream should be thread-safe. This meant that writing to the response stream from multiple parallel threads should not only not throw, but also result in a valid chunked response.

Likely would end up with randomly interleaved data though; so even though the chunking would be valid the output would likely be garbled; better to throw

writing to a chunked response body stream should be thread-safe. This meant that writing to the response stream from multiple parallel threads should not only not throw, but also result in a valid chunked response.

Likely would end up with randomly interleaved data though; so even though the chunking would be valid the output would likely be garbled; better to achieve valid data by throwing for concurrent writes (e.g. still detect by flagging state changes, but throw if concurrent attempted)

Likely would end up with randomly interleaved data though

Indeed. That's why I called in a somewhat crazy requirement.

Interesting, I've never seen these locks in profiles. Do we know when they would show up as a problem?


Adds specifiedFiles option to minify a specified list of files.

Added new option to allow a user specified list of files to be parsed by the plugin. Updated readme with description/example

This is an awesome change, thanks!
I'll try to look at it later as I want to make sure I understand where it's putting the final output files, but it looks great from a glance!

Thanks for checking out my PR! RIght now the specified files are
imagemin'ed in place. Would be easy to add a config to specify where the
files are output if you wanted the minified version output to a different
location then specified. My use case is creating a sprite with the webpack
spritesmith plugin that outputs the sprite to the webpack destintation
directory prior to running image-min-webpackplugin. Let me know if you'd
like me to add dest config as part of this PR.
On Mon, Jun 19, 2017 at 9:43 AM, Gregory Benner<EMAIL_ADDRESS>wrote:

This is an awesome change, thanks!
I'll try to look at it later as I want to make sure I understand where
it's putting the final output files, but it looks great from a glance!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Klathmon/imagemin-webpack-plugin/pull/30#issuecomment-309497764,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA14QMYjqL8TxY9QSFw2reravqOoWXQ9ks5sFqUhgaJpZM4N-axP
.

Yeah dest would probably be needed for me to merge this in.
It might be best to have the whole "specifiedFiles" thing be an object that you can pass in a src list and a destination folder (as well as any other options specific to this that you might need).
I also am not sure if I like the term "specified files". I feel like something like "external images" or "external files" would be more appropriate, but I'm really really REALLY bad at naming things, so if you think specified files is a good name then it's fine with me.

Ha yeah i struggled with naming it too. Originally I had called it
"otherFiles". I'm good with "externalImages" and making it an object with {
src: "", dest: "" }. I'll try to make those changes this evening. Thanks!
On Mon, Jun 19, 2017 at 12:32 PM, Gregory Benner<EMAIL_ADDRESS>wrote:

Yeah dest would probably be needed for me to merge this in.
It might be best to have the whole "specifiedFiles" thing be an object
that you can pass in a src list and a destination folder (as well as any
other options specific to this that you might need).
I also am not sure if I like the term "specified files". I feel like
something like "external images" or "external files" would be more
appropriate, but I'm really really REALLY bad at naming things, so if
you think specified files is a good name then it's fine with me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Klathmon/imagemin-webpack-plugin/pull/30#issuecomment-309545625,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA14QKFmj4jgHrfbovaAA8unHOllpRxaks5sFszdgaJpZM4N-axP
.

Heya @Klathmon,
Checking in to see if you've had a chance to check out PR again?

I'm sorry I've been slammed. But I'm taking a look now!

This is fantastic thank you, I want to clean up the formatting to match Standard and make a few little tweaks and then I'll cut a new release.
Thanks for the additions!

released as 1.5.0-beta.0 while I work on some other stuff

👍🏻 Thanks!
On Thu, Jun 29, 2017 at 5:25 PM Gregory Benner<EMAIL_ADDRESS>wrote:

released as 1.5.0-beta.0 while I work on some other stuff
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Klathmon/imagemin-webpack-plugin/pull/30#issuecomment-312142504,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA14QH5lRojKBWZoG0uE_D7PnP1wykTRks5sJEBbgaJpZM4N-axP
.


How to test models with "coco_2017_test-dev"

I download the "image_info_test-dev2017.json" in COCO. And use the "coco_2017_test-dev" as the TEST DATASET. When I run the train_net.py to evaluate the model, I can't get the accuracy and the result shows "Annotations are not available for evaluation."
If you can help me to solve the problem,I really appreciate it.

set DATASET.TEST as "coco_2017_test-dev" and run train_net.py --eval-only to get results.
upload results to evaluation server. For details you can refer to this.

thanks a lot

I'm sorry to bother you again.
I got the coco_instances_results.json from the model, which is 1.2GB. I can only compress it to 380MB with zip.
And when I submitted it to https://codalab.lisn.upsaclay.fr/competitions/7383. Submissions are constantly failing with error elapsed time.
If you can help me to solve the problem, I will appreciate it.
error detail:
elapsedTime:<PHONE_NUMBER>5679932
exitCode: 137
ingestionExitCode: 0

@xlim1996 Hi, the size is right. I tried some times in such case and it finally processed successfully.

Thanks a lot. I will try to figure it out.


GCP Reserved ip problem

We need to reserve range 1-10

@mod Solved

@mod https://github.com/helios-technologies/kite/pull/29


[FEAT] API Endpoint For Organisation Creation by users - Backend

Description
Develop a backend API for creating organisations, including authentication and authorization checks, input validation, and error handling.
Acceptance Criteria

Authentication Middleware

Implement middleware to ensure the user is authenticated using JWT.
If authentication fails, return a 401 Unauthorized status code.
If authenticated, proceed with the request.

Create Organisation Endpoint

Accepts HTTP POST requests at /api/v1/organisations.
Creates a new organization with a 201 Created status code if the user request is valid.

Field Validation

Validate all supplied fields.
If validation fails, return a 422 Unprocessable Entity status code with detailed error messages.

Request Body
{
  "name": "String",
  "description": "String",
  "email": "string",
  "industry": "string",
  "type": "string",
  "country": "string",
  "address": "string",
  "state": "string",
}

Successful Response
{
  "status": "success",
  "message": "organisation created successfully",
  "data": {
    "id": "String",
    "name": "String",
    "description": "String",
    "owner_id": "string",
    "slug" : "string",
    "email": "string",
    "industry": "string",
    "type": "string",
    "country": "string",
    "address": "string",
    "state": "string",
    "created_at": "2024-01-01T12:00:00Z",
    "updated_at": "2024-06-01T12:00:00Z"
  },
  "status_code": 201
}

Unsuccessful Response
{
  "status": "Bad Request",
  "message": "Client error",
  "statusCode": 400
}

Validation Error Response
{
  "errors": [
    {
      "field": "String",
      "message": "String"
    }
  ]
}

Unauthenticated Error Response
{
  "status": "Unauthorized",
  "message": "User not authenticated",
  "statusCode": 401
}

Database Design
Table organisations {
  id uuid [primary key]
  slug varchar(255) [unique]
  owner_id uuid [foreign key to users(id)]
  name varchar(255)
  email varchar(255)
  industry varchar(255)
  type varchar(255)
  country varchar(255)
  address varchar(255)
  state varchar(255)
  description text
  created_at timestamp
  updated_at timestamp
}

Table organisations_user {
  user_id uuid [foreign key to users(id)]
  organisation_id uuid [foreign key to organisations(id)]
  role varchar(255)
  created_at timestamp
  updated_at timestamp
}

Ref: users.id < organisations_user.user_id
Ref: organisations.id < organisations_user.organisation_id

Purpose
Provide a backend service that allows admins to create new organizations, ensuring proper authentication, authorization, and validation.
Requirements

[ ]   Implement middleware for  JWT authentication.
[ ]   Develop server-side logic to create a new organization.
[ ]   Develop server-side logic to bind user to the created organisation.
[ ]   Validate each field in the request json.

Expected Outcome
The API endpoint allows admins to create new organizations with appropriate validation, authentication, and authorization.
Task

[ ] Create the endpoint HTTP POST /api/v1/organisations to create new organizations.
[ ] Implement authentication middleware to validate JWT tokens.
[ ] Validate all fields in the request body.
[ ] Write unit tests for all scenarios, including successful creation, validation errors, and authentication/authorization checks.
[ ] Perform security testing to ensure data protection and compliance.

Testing

Write unit tests for successful organization creation.
Write unit tests for fields validation.
Write unit tests for bad client requests.
Write unit tests for authentication checks.
Perform security testing to ensure data protection and compliance.
Test various scenarios for creating organizations, including edge cases and error handling.

This issue is linked to the approved issue here


feat: AWS assume role support

I have no idea if this PR will work, I don't have a way to test it. I will leave it as draft for now if anyone would like to test it.
This will require to add the following env variables.
AwsEnableRoleAuth=false
AwsRoleArn=(some aws value)
AwsRoleSessionName=(some aws value)
Fix #848

@ehuizar1028 if you can create a custom image based on this branch to test, maybe this work or not I have no way to test it, I just updated the old branch "awsrole" with all the recent changes and I added the changes inside all the components (this was a big copy paste XD)

Hello @ehuizar1028  @BenjaminDecreusefond I created two images that you can test.
2.24.0-role.1
This version can be used with the following environment variables.
AwsEnableRoleAuth=true
AwsRoleArn=(some aws value)
AwsRoleSessionName=(some aws value)
2.24.0-role.2
This version can be used with the following environment variables.
AwsEnableRoleAuth=true

Maybe the second one works because it is using this suggestion

                        log.info("Using Role Authentication");
                        s3client = AmazonS3ClientBuilder.standard()
                                .withCredentials(new DefaultAWSCredentialsProviderChain())
                                .withRegion(awsStorageTypeProperties.getRegion())
                                .build();

for both If you deployed it  with the helm chart you will need to use "12345" or some other value for the accessKey and secretKey

Closing PR I migrate the code to sdk v2


IE 11 issue

Hi,
we are not able to load the d3-sankey in IE11.
could you please let us know what polyfills we need support d3-sankey in IE11.
i believe d3-sankey using some of the api which are not supported by IE11

ping on this one

Please see the release notes.
https://github.com/d3/d3-sankey/releases/tag/v0.12.0

@gordonwoodhull i see that release notes mentioned only for-of, will it resolve the issue if i add only plugin for this feature or is it possible that there might be other new es6 features

It is a language feature and can’t be polyfilled; as the release notes say, you need to stick with the earlier version or transpile.


Formatting extension for VSC.

This PR is related to #82. Bellow are examples of highlighting eRPC related code. Colors are changing based on VSC thema.
eRPC IDL file:

template file:

I am done. RIP Good night :D


Do other parties need the mod?

Those that want to access the hosted server, that is. Please clarify that in the description of the mod.

Currently there is a proxy IP that exists, but no way to view it. I might add that later.

This functionality is available in World Host 0.2.2.


new reset password styling

blocked by sign up views (as it will use same styling and layout etc.)
but build the screen from the below figmas with all of the old functionality of the old client/src/components/Users/Auth/SetNewPassword.tsx component
https://www.figma.com/file/K7DT5jYcLKRc9epmNrO0N7/UX---Dev-Handoff?node-id=228-5233&t=0a5133SJk6atcWfw-0

hi @jd2rogers2, I have these questions/clarifications re: the mocks:

the first field (New Password) shows an icon to display the password, would the second field (Confirm New Password) need the visibility icon as well?
do we prioritize responsiveness at this time? if this page is viewed on mobile or a narrower viewport, do we adjust the layout or shrink the fields?
if passwords don't match or we have an error after submitting, do we have mocks for how we display error messages?
it looks like passwords have a minimum length of 6 characters; are there other validation rules we need to apply for passwords?
I'm assuming clicking the "Cancel" button will clear both password fields and resets validation errors; is there anything else it needs to do?
a general question re: browser support, do we have a set we prioritize?

the first field (New Password) shows an icon to display the password, would the second field (Confirm New Password) need the visibility icon as well?

for minor details use your best judgement and we can have a ui audit at the end to go back and fix things that they deem important. for this one i've seen sites do both so i'm not tied to one option either way

do we prioritize responsiveness at this time? if this page is viewed on mobile or a narrower viewport, do we adjust the layout or shrink the fields?

only if it's minimal effort. trying to keep our MVP simple so focusing on desktop

if passwords don't match or we have an error after submitting, do we have mocks for how we display error messages?

i haven't seen any, feel free to put it in if you'd like, just to get the logic in there but regarding styling 🤷

it looks like passwords have a minimum length of 6 characters; are there other validation rules we need to apply for passwords?

ha i'm seeing 8 in client/src/components/Users/Auth/SignUpUserAndNonprofit/validation-rules.ts so go with whatever. seems like we probably need a ticket to align all of the pw validation checkpoints

I'm assuming clicking the "Cancel" button will clear both password fields and resets validation errors; is there anything else it needs to do?

just asked in slack channel and cc'd you

I'm also trying to export the image/asset for the page, but these look to be two different items on Figma and so I'm unable to export as one asset

assets can be found (in the g drive)[https://drive.google.com/drive/u/0/folders/17TyKrqROm9epjrv_cQvvQwNmniNInkq5] just pick the one closest

@marvinsjsu lmk if you have any questions on my answers above :)


Add example on how to do caching

Playing around with ProxyHttp, but request_cache_filter is never called. Am I supposed to add certain modules first?

The cache should be enabled  like this:
session
            .cache
            .enable(&*CACHE_BACKEND, eviction, Some(&*CACHE_PREDICTOR), lock);

https://github.com/cloudflare/pingora/blob/main/pingora-proxy/tests/utils/server_utils.rs#L393

Ah thanks! That was the example I was looking for. Do you know if it is possible to have different eviction/ttl depending on the request body? In my case, I want to either cache forever, or cache for ±3 seconds.

Ah thanks! That was the example I was looking for. Do you know if it is possible to have different eviction/ttl depending on the request body? In my case, I want to either cache forever, or cache for ±3 seconds.

Found it myself, for those reading: https://github.com/cloudflare/pingora/blob/bdb13a7e40b19280d703ad1f64abc29ee5baf480/pingora-cache/src/meta.rs#L325


mirrors.nix: add alsa-project.org for alsa

Motivation for this change
Aside from being an HTTPS endpoint, this is the canonical mirror for alsa
project downloads.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks @bhipple


Warning during build Current NDK support is deprecated

WARNING [Project: :app] Current NDK support is deprecated.  Alternative will be provided in the future.
Would be great to get this updated to latest gradle approach for NDK support

Yeah, I've seen that a bit - need to check what the latest approach is, I need to update my Android Studio - don't want to do that mid-project  :)

The "state-of-the-art" for NDK building with gradle only took like 3 years ... I'm not sure where it's at right now.  Since this is the sole example of swig integration out there for Android, (other than the swig site), it would be cool to get this updated.  I'll have a look at what I find.

In any case, I think gradle is the focus for this, and Android Studio is more of a choice that one makes (to IDE or not to IDE).

This is more of a not-fix. There is an alpha plugin, or the alternate route - in any case, it doesn't break anything.


Fixed a typo in the header search bars

When you focus on the "Collages" search bar, it changes to "Collage".

Thanks for the PR! We've merged this in 954b366540deef66c66eeb03e424d576acede326 as there was a merge conflict with our recent batch of commits.


Refactor Graph Creator

Also added working example to README
added forEach to iterators

Coverage increased (+0.5%) to 85.363% when pulling 01658edc00e4bcecaac37ac87e2b513ae6fe8c54 on shsr04:backlog into 32dbc705122c8f5092028672813046c384cc8c16 on thm-mni-ii:master.


1.19.3 Update

Fixes:

fixed the tab completer only suggesting "join" instead of the expected "join_message"

Changes:

Removed everything related to chat previews
Changed where configuration options are stored (now in the Configuration class)
Removed redundant uwuifyMessage() method, as it is no longer necessary
Removed redundant uwuifySame() method as it is no longer necessary

All is tested and working as expected :)

@Roosterseatyou touch grass.
I’ll take a look later

Grass is dangerous. Have you seen what it can do to balloons?


re.I in regex match, and possible multiple matches

Rasa NLU version: 0.14.3
Operating system (windows, osx, ...): linux
Issue:
Hallo,
I have a few questions on regexes.

it would be nice to have an option to choose whether regex matches are case sensitive or not. Is this already supported? I would think a configuration parameter in RegexFeaturizer would do it, but it does not seem to exist. Should I be looking somewhere else?
if I understand the code correctly, the tokens are only flagged if they overlap with the first occurrence of the regex in the message. Multiple matches of the same regex in the message are not taken into account at all. So if a message contains, for example, two dates, only the first token will be flagged as "date". Is this intended?
For my education, how are the two different features (the "global" message-level match and the individual token-level matches) used in the following by the tensorflow_embedding model? The featurizer appears to only return the message-level matches. Are all tokens matched to the same regex treated as equal?

Thanks for your help,
Andrea.

Thanks for raising this issue, @MetcalfeTom  will get back to you about it soon.

Hey @disimone,

This is supported, you just need to define the regex pattern as normal in the training data including capitals.  For intent classification, just be careful of your processing pipeline:  by default the components nlp_spacy and intent_featurizer_count_vectors will convert your tokens to lowercase (these can be configured)

You're correct!  Thanks for pointing this out - we can make a fix for it (but contributions are also welcome)

Happy to explain: the global match is used as a feature for intent classification, the individual token-level match is only used for entity extraction: we take into account the features of neighbouring tokens when trying to identify an entity (be default, the features we search for are these)


bluebubbles android auto integration

is it possible to add an bb integration for android auto like telegram/whats app?

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @Deemo in #baffoonery.

https://news.androidout.com/2020/10/21/whatsapp-in-android-auto-everything-you-can-and-cant-do/

https://developer.android.com/training/cars/messaging
Relevant Android Developers docs

We are limited by Flutter here: https://github.com/flutter/flutter/issues/26801
Seems like playing audio is possible but no gui or notifications? Don't know for sure.

If GUI support isn't possible, maybe it would be possible to offer Google Assistant integration, which would at least allow handsfree communication in a car. Not sure if flutter supports that either though

It actually doesn't seem too difficult: https://fidev.io/ok-google-flutter/


call-home connection error (Communication SSH socket unexpectedly closed)

Hi @michalvasko , facing issue with call-home , attaching the screenshot of the error
netopeer2-cli:

netopeer2-server:

ssh-version:

OS-details:

netopeer2-server:

I am facing this issue only for root user

Can you normally log in as root? The information is taken from the system so it should work exactly as it does normally. Also, you are using quite an old version of netopeer2 so updating it and all the dependencies may help.


feat(redis) support spec tests with redis cluster

Kong currently does not support connection to redis cluster and will be fixed in FTI-2014.
We should support an ENV to load redis cluster seeds: KONG_SPEC_TEST_REDIS_CLUSTER_ADDRESSES

Be consistent with https://github.com/Kong/kong-ee/pull/3621


Bluetooth: controller: LLCP: Fix encryption execution context

rp_enc_state_wait_ltk_reply() is executed in thread context, so it is not allowed to move the encryption state machine forward.
Defer LTK reply handling to next prepare event by introducing a continue state.
Update the unit test to reflect this, and remove the TODO that actually said there was an issue in the first place.

Rebased


I don't want thumbnail nor those .... bellow

I want a simple slider without thumbnail nor the dots bellow.
Please, how do i do that?

pager: false

wow, so far, this is the best community I've met. Timely response, solves my problem.
Thanks @smartcorestudio .


Add profile to client() to support local profiles, tweak version numb…

…er, fix env vars, added content.list() api

Support env vars from cortex configure env
remove api version constant, just default in client
add content list(), default content-type for uploads,
remove project arg from some methods ( don't require it for each call use client's )


Intergate Stopify with Klipse

As you guys suggested here, I'd be happy to integrate Stopify with Klipse.
Your help would me much appreciated.

What compiler options should we use in order to prevent the code from frezing  the browser?
What compiler options should we use in order to make the code stoppable by the user?
Is there a way to prevent from the code to do any malicious actions like stealing cookies etc...?

Thanks for reaching out! We’d be happy to help you integrate klipse and Stopify.
To answer your questions:

The default settings for the Stopify compiler and runtime make sure that the code does not freeze the web page.

When compiling with Stopify, you get access to an interface called AsyncRun (documentation details below) that allows you to implement stopping, pausing, breakpointing etc.

Just to clarify, does klipse already

The best way to get started would be to take a look at the docs here: https://stopify.readthedocs.io/en/latest/
and particularly going through the examples here: https://stopify.readthedocs.io/en/latest/illustrative_examples.html
https://github.com/plasma-umass/stopify.org

Hi @viebel, thanks for your interest in Stopify. About malicious code, Stopify has a runtime setting that controls the set of "external" symbols:
https://stopify.readthedocs.io/en/latest/compiler.html#external-symbols-externals
If you don't put things like window and document in the list of externals, you will go a long way toward thwarting malicious code. I won't say that Stopify guarantees isolation---it wasn't designed to do that, but it is something that could be built up.

Started work here: https://github.com/viebel/klipse/pull/314


Services: first build: abs added

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_a7qok_o63x/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:42: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:42: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps and --no-build-isolation.
===== Final Report: =====
3 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_a9ip0_mxxe/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:43: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:43: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
1 Error and 1 Warning were found


Preserve location when evaluating DW_CFA_restore_state

DW_CFA_restore_state pops the set of rules off the implicit stack, but
should preserve the current location.

Closes #273

Coverage increased (+0.003%) to 94.066% when pulling e2a0bde431e1274bd539ba0ded19783405f5c298 on xmartinez:fix-dwa-cfa-restore-location into 04aa240ce1a714bcd59c53d265a9935241edd53d on gimli-rs:master.


feat: unofficial final, goalie fix, roster type

Back again! I missed a few things:

3 as a game status is used, it means "Unofficial Final"
Goalies have different season stat responses from skaters
A few commas were mistakenly not semicolon-ified

I also added a getRoster response type.
I would like to request as well that the GameStatus enum be exported by the main package so that it can be used at runtime (e.g. game.status === GameStatus.Finished). I don't know how to do this since I'm unfamiliar with the structure of the index.js file.

Hi @shayypy, I've added it to the index.js file, tested with TypeScript and was able to use the enum without errors, so I pushed it to develop. I'll merge your PR and create another release. Thanks!


inline line-breaking can lead to confusion [was: Chrome: inline TeX linebreak very confusing]

http://math.stackexchange.com/a/1795739/6400
This reads like nonsense because of "The"  is in the wrong place:

A click shows what it is:

Firefox is fine:

Thanks for the report. Inline line-breaks are not well supported (because it's a very difficult problem) and this is currently the expected behavior. I'm not sure we can do much about it without a larger overhaul of the line-breaking behavior (for which there's no plan right now).

Interesting. Then why does it work on Firefox? Just curious.

Then why does it work on Firefox?

There's no line-breaking occurring in the screenshot of Firefox.

I guess that's the question: why does it break on Chrome and not on Firefox?

why does it break on Chrome and not on Firefox?

Well, it breaks for me on FF and looks identical.
The surrounding font in the screenshot looks smaller (which probably depends on on your system/FF settings). Since MathJax matches surrounding CSS, this makes the inline equation's font size smaller, and it just so happens that the width is then sufficient for the smaller font size and no line-break occurs.


improvements?

This is super great, but I'm a little bit disappointed ;)
I hoped it would be possible to use it to run the server in an editor like webstorm and set breakpoints in own code while running... but I guess that's not easy possible.
Another nice thing would be being able to get a list / test which intents where executed in the tick?

I haven't tried hooking in breakpoints to VSCode or WebStorm, but that would indeed be useful.
I was wondering about getting a list of intents as well. Unfortunately right now db[users.intents] always returns empty and I haven't found a way to grab it out of the server. Does anyone else know the server code well enough for how to fetch the intent list?

hmmm... is there an easy way to inject code for a user for the next tick? maybe like how the console of the client works ?

intents are only visible in between usersQueue.whenAllDone(); and roomsQueue.addMulti(rooms)


RET-2765 Fortify Vulnerability Updates

JIRA link
https://tools.hmcts.net/jira/browse/RET-2765
Change description
There is a fortify vulnerability because of the usage of window.location.href on javascripts. For this reason it is recommended to use window.open instead of window.location.href.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

DO NOT MERGE UNTIL R1.1 is completed on 4th November.


[WIP] Fixed #27655 -- Added some guidelines to the coding style docs.

I'm going to leave this open for a little while and add other things that I came across as I do reviews.
https://code.djangoproject.com/ticket/27655

I think this could need some clarification too:
with self.assertRaisesMessage(
    SomeError,
    'very '
    'long '
    'message.'
):

vs.
msg = (
    'very '
    'long '
    'message.'
)
with self.assertRaisesMessage(SomeError, msg):

This has been open some time now, merge it and create another if any more rules crop up?


Provide .isReactComponent

React flags components with .isReactComponent.
https://github.com/facebook/react/search?utf8=✓&q=isreactcomponent&type=
Next.js (and maybe others) rely on that:
https://github.com/zeit/next.js/blob/a32b22bb2d07c2959d65e11448098988fb1a721a/server/render.js#L102
Thus nerv can't be used with next.js right now:
https://github.com/zeit/next.js/issues/3868

Nerv has the isReactComponent  in component instance.
A simple reproduce would be much helpful. Thank you.

Still have the same issue here with nextjs, an example repository would be: https://github.com/gpolyn/nextjs-google-map-react/tree/nerv

Me too, neither nextjs (as provided by @etiennemtl) nor react-lifecycle-comp (https://github.com/reactjs/react-lifecycles-compat/issues/28), used by popular libraries like rechart, work :(


Good user interface to explore available libraries

We currently generate libs.md from data (#57). The motivation for generating libs.md from data is to enable better user interfaces for exploring that data. This issue collects ideas & experiments.
To get started with the data in a REPL:
(require '[clojure.edn :as edn])

(-> "https://scicloj.github.io/docs/resources/model.edn"
    slurp
    edn/read-string)

Feel free to post more links + screenshots here! Help & ideas very much welcome.

Plain HTML table with scittle: https://play.teod.eu/scicloj-libraries/ (source)

@teodorlu this is fantastic.
Would you find it useful to wrap this with DataTables UI?
I got that working with Scittle in the Clay project.
Would you find it helpful if I write a draft demonstrating that with your table?

Would you find it useful to wrap this with DataTables UI?

Yup!
I tried a bit, but got stuck on the combination of reagent generating the DOM and DataTables also wanting to control the dom. Plain javascript might be easier than Scittle / Clojurescript.
Perhaps we can use react-data-table-component.

Cool, I'll try in the coming days following the experience with Scittle in Clay.

react-data-table-component

Interesting! Didn't know about that.