A command to remove cache

Is your feature request related to a problem? Please describe.
Maybe because I do not delete packages packer downloaded,
lazy always loads plugins from the wrong path.
Describe the solution you'd like
If the cache was wrongly generated, It's hard to debug and find out what's wrong.
Maybe a command with the cache cleaning functionality is necessary.

You can delete the cache at ~/.local/state/nvim/lazy/cache, but that should not be needed.
Can you give more details on what you're trying to achieve?

After modifying the packer's configuration file to lazy's,
I deleted ~/.local/share/nvim/site/packer/, where the packer saves plugins.
Then, I found I could not require() any plugin in my configuration file before the UI started.
(manually loading them after entering neovim with require() usually works)
The error message shows that lazy loads plugins from site/packer/, which the packer uses
before. The message corresponds to lazy's source code file lua/lazy/core/cache.
So I realized lazy generated a cache with a wrong path.
After deleting ~/.local/state/nvim/lazy/cache, lazy works well.
What surprised me most was why lazy loaded plugins from the packer directory.

That could only happen if the original rtp was still present. Should not happen with lazy's default settings. Did you change those?

Have you deleted ~/.config/plugin/packer_compiled.lua?

that also should not cause issues, since I prevent that file from being loaded. But it must indeed be something like that what was happening.
Most likely the RTP path that contained other paths.
Did you have packadd packer still somewhere lingering?

That could only happen if the original rtp was still present. Should not happen with lazy's default settings. Did you change those?

Neither

I loaded packer_compile from a custom position, not sure whether it is important,
but I indeed manually deleted it.
This may be a hard-to-reproduce error, if you have no clue, you can close this issue first.

ah yes, that would have been the problem. the packer compiled file would have updated the rtp, hence the behavior you noticed


ember-try: Remove scenarios and rely entirely on "versionCompatibility"

this will hopefully fix things like https://github.com/simplabs/ember-test-selectors/pull/59#issuecomment-275045797

hmpf... should've had a look at Travis before merging. Apparently we're still not testing anything above Ember 2.8. I wonder if ember-try has some sort of cache that we need to invalidate.

I've deleted the caches on Travis and it seems to work fine now. Also opened https://github.com/ember-cli/ember-try/issues/112 to track if this is a general issue.


[Feature Request] Setting the Locale

It would be cool if we could change the locale after initiating the factory. Something like this:
$faker = new Faker\Factory::create();

$faker->setLocale('fr_FR');

Currently we've to create a new instance whenever we want to change the localization.
What do you think? Something you would consider adding?

Define "cool". I don't understand the use case. You can already setup several Faker instances with different locales.

Maybe cool is the wrong word. My use case is in Laravel. They provide a faker instance by default in their factories. There is no way of updating the current Faker instance instead we've to create our own.
$factory->define(App\User::class, function ($faker) {

    $newFaker = \Faker\Factory::create('fr_FR');

    return [
        'city' => $newFaker->city,
    ];
});

Personally I think it looks messy having to instances. Instead I would like to see something like this:
$factory->define(App\User::class, function ($faker) {

    $faker->setLocale('fr_FR');

    return [
        'city' => $faker->city,
    ];
});

You should just configure the container to set the right locale itself.
On Tue, Jul 21, 2015, 17:57 Vincent Klaiber<EMAIL_ADDRESS>wrote:

Maybe cool is the wrong word. My use case is in Laravel. They provide a
faker instance by default in their factories. There is no way of updating
the current Faker instance instead we've to create our own.
$factory->define(App\User::class, function ($faker) {    $newFaker = \Faker\Factory::create('fr_FR');    return [        'city' => $newFaker->city,    ];});
Personally I think it looks messy having to instances. Instead I would
like to see something like this:
$factory->define(App\User::class, function ($faker) {    $faker->setLocale('fr_FR');    return [        'city' => $faker->city,    ];});
—
Reply to this email directly or view it on GitHub
https://github.com/fzaninotto/Faker/issues/647#issuecomment-123383998.

There are ways to handle it. Like overwriting registration of the current Factory. Though, it would still only give me one locale at the time.

I don't know, maybe this is something that should be done in Laravel. The current implementation works just fine. This could just be a personal preference.

I don't know Laravel, but when I see a "factory" method, I expect it to return a new instance. Your first example modifies another instance, it's a code smell.
Anyway, I don't understand the use case and you have other options, so I'll close.
Thanks for the suggestion anyway.

No worries, thanks anyways.


Release astro-databricks-provider 0.2.2

Release PR https://github.com/astronomer/astro-provider-databricks/pull/76

The provider version 0.2.2 has been released https://pypi.org/project/astro-provider-databricks/0.2.2/
Closing the ticket.


Enhance security on Meilisearch domain

Hi all!
Ive installed this last week on my Vue/Laravel app and it works great.
Due ive indexed a lot of consumer data, I want to secure my meilisearch url as much as possible.
We use this search option in our CRM so it should not be available to the world.
I tried to add a firewall on meilisearch server and allow only CRM IP but I noticed that the client ip's are doing the requests directly to the meilisearch domain. Another option is to allow also client IPs but if an employee works from another location, I need to add that IP too..
So if you have the domain and key, you can search trough all our indexes all over the world.. What are my options to secure this?
I was thinking to set host url to an URL from our CRM and do a call so meilisearch from there. In that case all requests are coming from CRM and I get add a firewall..
Is this the way to go of do I have any other options?
Have a nice day!
Raymond

Hi @vanrijs, you could use API keys. See more information in the dedicated documentation.

I'll you open a discussion on the product repo. Closing this as it is not the right repo for that conversation


feat(android): detect network and dns changes

This PR detects Android network changes and updates connlib to be able to handle the DNS events.

Having problems to reproduce the CI errors locally.

I'll try to review this today in-between sessions.


Able to bypass with two fingers on mobile safari

if you use two fingers, you can bypass the scroll lock in mobile safari

Confirming I see this on iPad Safari, iOS 13.6.1

Confirming also on iOS 12.4.6, iphone Safari. Is there a work-around?

They stopped the repairs. I had to do it myself, in the same way, with a new version of typeScript. And fix these problems for everyone to use. add react hooks、vue3 example
npm i body-scroll-lock-upgrade

repair log，Refer to the releases page.


Security Fix CVE-2023-44270

:tada: This PR is included in version 1.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Merge records with similar "n-level" domain name and save them as "regexp" rule

Is your feature request related to a problem?
There are a lot of records, which differs at "lowest-level" domain name only. For example - here is difference at 4-th level only:
10148.engine.mobileapptracking.com
10402.engine.mobileapptracking.com
10896.engine.mobileapptracking.com
13146.engine.mobileapptracking.com
13248.engine.mobileapptracking.com
14012.engine.mobileapptracking.com
15486.engine.mobileapptracking.com
...
...
...
Describe the solution you'd like
Is it possible to add global "checkbox" (use/dont use) and global "numeric up/down" (strip "n-th" level and up) selector from which level of domain name to merge these records, so result for level 4 and up will be just 1 line record like (using REGEXP rule):
add address=<IP_ADDRESS> comment="ADBlock" disabled=no regexp="engine.mobileapptracking.com"
Additional context
I hope this can significantly reduce "rules count" for mikrotik.
e.g.: how about WEB translation to English?
Thanks
Jan

#14 - He asked a similar question, but did not come up with an optimization algorithm.

I found same "closed" question in Russian with result that there's not an algorhytm to reduce. But I think it's not that hard to do it for "level" based setting. Just strip all levels of domain name equal or higher then set and save them (stripped) to separate file. Then remove duplicates in that file and you get list of unique domain names (stripped of "n-th+" domain). Then you read this file by 1 line and check how many times you can find this stripped domain in original file. If you find more than one record, you can write "regexp rule", if you find only 1 record, you can write "name rule" from original (unstripped) list.
For example:
Original list:
10148.engine.mobileapptracking.com 10402.engine.mobileapptracking.com 10896.engine.mobileapptracking.com 13146.engine.mobileapptracking.com 13248.engine.mobileapptracking.com 14012.engine.mobileapptracking.com 15486.engine.mobileapptracking.com ads.2mdnsys.com cfa.2mdnsys.com static.twinpine.adatrix.com
Stripped list (level 4 selected):
engine.mobileapptracking.com engine.mobileapptracking.com engine.mobileapptracking.com engine.mobileapptracking.com engine.mobileapptracking.com engine.mobileapptracking.com engine.mobileapptracking.com ads.2mdnsys.com cfa.2mdnsys.com static.twinpine.adatrix.com
Stripped list no duplicates (level 4 selected):
engine.mobileapptracking.com ads.2mdnsys.com cfa.2mdnsys.com static.twinpine.adatrix.com
Final list:
/ip dns static add address=<IP_ADDRESS> comment="ADBlock" disabled=no regexp="engine.mobileapptracking.com" add address=<IP_ADDRESS> comment="ADBlock" disabled=no name="ads.2mdnsys.com" add address=<IP_ADDRESS> comment="ADBlock" disabled=no name="cfa.2mdnsys.com" add address=<IP_ADDRESS> comment="ADBlock" disabled=no name="static.twinpine.adatrix.com"
I'm using regexp at home as rules and there is no need to write regular expression, just write "common" part

Another algorithm (maybe easier - I will try to prepare shell script):
Read original file - one by one line, strip selected domain levels, try to find duplicities of stripped string in original file. If exist, write as "regexp" rule (stripped domain) otherwise write "name" rule - whole domain. Deduplicate written (final) file with awk '!seen[$0]++' filename so theres always one unique regexp rule for (stripped) domain.

So here is my shell script. It was tested with<EMAIL_ADDRESS>and https://adaway.org/hosts.txt lists. It did about 20% less rules on adaway hosts.txt file using parameter 4. You can save it for example as parse.sh file and run with 2 parameters (checking of parameters not implemented!). Then run script like:
./parse.sh ./hosts.txt 4
Where:
./hosts.txt - file you want to parse
4 - what level of domain name should be checked - 4 means cut the 4th+ level of domain address from behind
Example for parameter "4":
10148.engine.mobileapptracking.com => engine.mobileapptracking.com
abcdef.10148.engine.mobileapptracking.com  => engine.mobileapptracking.com
zxcvb.abcdef.10148.engine.mobileapptracking.com  => engine.mobileapptracking.com
The script might not be perfect, did it for fun and tried my best ;)

#!/bin/sh
sed -i -e "s/(<IP_ADDRESS> |::1)//g" $1 #strip "<IP_ADDRESS>" and "::1" text from lines
sed -i "/^$/d;/^#/d;/^ /d" $1 #remove comments and empty lines or lines starting with space
rev $1 > ./reverse.tmp #reverse domain name - every line in file
sed -i "s/.[^.]*//$2g" ./reverse.tmp #remove n-th domain part - parameter 2 of script
rev ./reverse.tmp > ./filtered.tmp #reverse trimmed domain names again to normal state
awk '!seen[$0]++' ./filtered.tmp >./unique.tmp #remove duplicate lines
printf "/ip dns static\n" >./ADblock.rsc #lets start writing our script to file ADblock.rsc :)
while IFS="" read -r multi || [ -n "$multi" ] #read every line of unique addresses in unique.tmp
do
line=$(grep -m1 -r --only-matching $multi ./$1) #if found match with original file - save 1 occurence to variable
count=$(grep -r --only-matching $multi ./$1 | wc -l) #also do a count of occurencies
domain=$(echo "${multi}" | awk -F"." '{print NF-1}') #count "." in unique address
domain=$(($domain+2)) #add 2 so we get "domain level" of address
if [ $count -gt "1" ] && [ $domain -eq "$2" ] ; then # if we found more occurencies and we are checking desired level
printf "add address=<IP_ADDRESS> comment="ADBlock" disabled=no regexp="$multi"\n" >>./ADblock.rsc #write regexp rule into ADblock.rsc file
else
printf "add address=<IP_ADDRESS> comment="ADBlock" disabled=no name="$line"\n" >>./ADblock.rsc #otherwise write name rule into ADblock.rsc file
fi
done < unique.tmp
rm -f ./*.tmp #cleanup of temp files
rm -f $1 #cleanup of original file


add inbound agent in local setup

1+

This is a very interesting feature. I can see from your roadmap that it is already in development. Can you give an approximate estimate of when it will be ready? I would love to experiment with it.

hey @AlexM4H , this is in dev. would take couple of days. ~ETA sometime this weekend.

hi, when does this one get merged?

@prateeksachan any updates on the inbound api? When does it get Merged?


Errors displaying page on phone

Android+ chrome browser. Page loads fine but there are frequent errors when interacting with it. Also, modals are partly, out completely, invisible when the page is displayed vertically.

Screenshot

Modal

Structure panel modal is invisible

Finally, I should add that scrolling is almost impossible - we should leave a small side margin to allow scrolling


Stars location [Feature request]

Would be nice to see extra feature that would simply confirm location of the star if someone using the plugin happens to come to the position or run by the star: f.e. on landing or when star has already landed.
World, location, (maybe tier), if active or depleted, mark on the map

I have thought about doing this in the future, but my main goal right now is adding filters to the list of stars and then doing a heavy refactoring of the code. Tracking the actual locations of the stars is a lot of work because I don't have anything set up to handle that (server side or client side).

I've decided not to do this for a variety of reasons, the main one being that there is no way for me to easily validate the actual locations. I imagine it would be flooded with fake data.


📝 Unusual formatter output when a JSX node is followed by a text node starting with a single-character-word

Environment information
CLI:
  Version:                      1.5.3
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.8.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "yarn/1.22.18"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           true
  Linter disabled:              false
  Organize imports disabled:    true
  VCS disabled:                 false

Workspace:
  Open Documents:               0

Configuration
{}

Playground link
https://biomejs.dev/playground/?code=aQBtAHAAbwByAHQAIABSAGUAYQBjAHQAIABmAHIAbwBtACAAIgByAGUAYQBjAHQAIgA7AAoACgBlAHgAcABvAHIAdAAgAGYAdQBuAGMAdABpAG8AbgAgAEEAcABwACgAKQAgAHsACgAJAC8ALwAgAFQAaABpAHMAIABpAHMAIABmAG8AcgBtAGEAdAB0AGUAZAAgAGQAaQBmAGYAZQByAGUAbgB0AGwAeQAgAGkAbgAgAHAAcgBlAHQAdABpAGUAcgAgAGEAbgBkACAAYgBpAG8AbQBlACwAIABhAG4AZAAgAEkAIAB0AGgAaQBuAGsAIABiAG8AdABoACAAYQByAGUAIAB3AHIAbwBuAGcALgAKAAkALwAvACAASQB0ACAAaABhAHAAcABlAG4AcwAgAG8AbgBsAHkAIAB3AGgAZQBuACAAdABoAGUAIABmAGkAcgBzAHQAIAB3AG8AcgBkACAAbwBmACAAdABoAGUAIAB0AGUAeAB0ACAAbgBvAGQAZQAgAGgAYQBzACAAbABlAG4AZwB0AGgAPQAxAC4AIABJACAAdABoAGkAbgBrACAAdABoAGUAIABjAG8AcgByAGUAYwB0ACAAbwB1AHQAcAB1AHQAIABzAGgAbwB1AGwAZAAgAGIAZQAgAHQAbwAgAGwAZQBhAHYAZQAgAHQAaABpAHMAIAB1AG4AYwBoAGEAbgBnAGUAZAAsACAAdwBoAGkAYwBoACAAaQBzACAAdwBoAGEAdAAgAGgAYQBwAHAAZQBuAHMAIABpAGYAIAB0AGgAZQAgAGYAaQByAHMAdAAgAHcAbwByAGQAIABpAHMAIABuAG8AdAAgAGwAZQBuAGcAdABoAD0AMQAuAAoACQByAGUAdAB1AHIAbgAgACgACgAJAAkAPAA%2BAAoACQAJAAkAPABzAHAAYQBuACAALwA%2BAAoAIAAgACAAIAAgACAAIAAgACAAIAAgACAAegAgAGoAcwB4ACAAbgBvAGQAZQBzAAoACQAJAAkAPABzAHAAYQBuACAALwA%2BAAoAIAAgACAAIAAgACAAIAAgACAAIAAgACAAegAgAGYAbwBsAGwAbwB3AGUAZAAgAGIAeQAgAHQAZQB4AHQAIABuAG8AZABlAHMACgAJAAkACQA8AHMAcABhAG4AIAAvAD4ACgAgACAAIAAgACAAIAAgACAAIAAgACAAIAB6ACAAdwBoAGkAYwBoACAAcwB0AGEAcgB0ACAAdwBpAHQAaAAgAGEAIABzAGkAbgBnAGwAZQAgAGMAaABhAHIAYQBjAHQAZQByAAoACQAJADwALwA%2BAAoACQApADsACgB9AAoA
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

It seems that prettier allows any single character word to hug the following or previous line. This is a normal scene, please refer to pr: https://github.com/biomejs/biome/pull/1075, i am not sure this rule cause u a bug?

I understand the special case for not inserting a line after a punctuation mark, but surely it should not forcibly remove a line because the next sentence starts with the word "I" or "A".
Here's the actual code that triggered this issue for me.
<Text color={theme.urbanGrey60} size="xs">
  Mudah.my

  Sdn Bhd [200701024583 (782603-V)]

  a Carousell Group company

</Text>

I agree with @simon-paris here. It looks like the PR that is being referred to implemented the change in order to increase Prettier compatibility, but I also think the old Biome behavior made more sense.

Maybe we could mark this as a divergence. I also feel like that Biome's behaviour makes more sense


Ways to use frame width/height in code connect props?

Please provide:

Code Connect CLI version : 1.0.4
Operating system : macos
Code Connect file, Figma design and/or relevant code snippet that could help us get more context

In our team, we use icon component like below. There's no component properties.
So we adjust icon width/height by Frame width and height

In this situation. We are implementing code connect for this icon
import figma from '@figma/code-connect';
import React from 'react';

import { MonoIconStarSolid } from './MonoIconStarSolid';

figma.connect(
  MonoIconStarSolid,
  'https://figma.com/design/...',
  {
    props: {}, // how can we import frame width/height in hear?
    example: props => <BdsMonoIconStarSolid />,
  }
);

Are code connect has api for using frame width as props?

Hey @Chanki-Min, we don't provide access to design properties like width and height right now, only component properties. We're always looking to evolve Code Connect to support more use-cases though, so I'll mention your request to the team!

I vote for this issue, I would like to get the name of the node and I suppose it's the same


fix: middleware Transport call inner transport update events

Correctly invoke the methods ClientEarlyUpdate, ServerEarlyUpdate, ClientLateUpdate, ServerLateUpdate and GetBatchThreshold for the inner transport on MiddlewareTransport, in the same way MultiplexTransport does.
Fixes #3067

nice thx!


Crazy idea I might like to try -- send results of ReactWrapper.html() to a browser

Hi! Thanks so much for making Enzyme available!
I'm noticing that when I get in to a flow with enzyme, I'm often leaving console.log(wrapper.html()) in my test in order to "view" my UI as I'm developing. It has occurred to me that it would be even better if I could actually see what the rendered component would look like. It seems like it wouldn't be hard to pipe the output of wrapper.html() to a browser, include my CSS, and have a very fast server-less development workflow which would have the benefit of encouraging developers to write more tests.
My questions are:

Any reason this is a dumb idea?
Has anyone else already done this?
If I make this happen, is anyone interested in hearing about it?

thanks!

I'd recommend using .debug(), not .html() - the latter goes through cheerio, so the former will be much more faithful and useful.
I feel like this is what storybook is for - which already exists - and wouldn't really need to be related to enzyme.

Thanks for the quick response!


feat: similar commands

Similar Commands Suggestion
closes #245
Tasks

[x] add dependency soundex-code
[x] display similar commands
[x] generate the initial map(reverseMap) only once
[ ] get rid of // @ts-ignore (to be done when @types/soundex-code gets published on npm)

Demo

No similar commands

Single similar command

Multiple similar commands

Also, I forgot something 🤦 . if you want @RaisinTen we can do this item get rid of // @ts-ignore (to be done when @types/soundex-code gets published on npm) on a later PR.
The work you have done is already valuable to the repository, and you did an amazing contribution 👍

@BOLT04 thanks for the kind words! :smile:
I'm okay with doing it in a later PR. Regarding this, I wanted to add that I found something weird in the code when I tried to set this in tsconfig.json:
    "esModuleInterop": true

It's required for soundex-code iff we use the type declaration. When I did that, tsc got mad at this and this. Since that PR itself would have the task of fixing both the things, I too agree that it should be a different PR.
Thanks a lot for the awesome review! :slightly_smiling_face:

@BOLT04 thanks for the kind words! 😄
I'm okay with doing it in a later PR. Regarding this, I wanted to add that I found something weird in the code when I tried to set this in tsconfig.json:
    "esModuleInterop": true

It's required for soundex-code iff we use the type declaration. When I did that, tsc got mad at this and this. Since that PR itself would have the task of fixing both the things, I too agree that it should be a different PR.
Thanks a lot for the awesome review! 🙂

good observation 👍, I think we can also create an issue to look on how to fix that


Fix lazy record io when used with dataloader and multi_worker > 0 (v1.3.x)

Description
Port of https://github.com/apache/incubator-mxnet/pull/12554 to the v1.3.x release branch.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@zhreshold @nswamy

@mxnet-label-bot ["pr-awaiting-merge"]


[5.0] [Runtime] Cache and unique based on protocol conformance descriptors, not witness tables

The conformance cache was caching the witness table for a conformance
T: P, where T is a concrete type and P is a protocol. However, it
essentially picked one of potentially many witness tables for that
conformance, because retroactive conformances might produce different results
from different modules.
Make the conformance cache what is says it is: a cache of the conformance
descriptor for a given T: P. Clients of the conformance cache can choose how to interpret
the protocol conformance descriptor, e.g., by instantiating a witness table with a
particular set of arguments.
Moreover, unique metadata entries based on conformance descriptors, rather than witness tables.
This is both a correctness fix (when there are multiple, synthesized conformances in multiple modules)
and enables future optimizations (e.g., the use of pre-specialized witness tables).

@swift-ci please test


First Login, Set Password Button is gone.

When I flash my R7800 with Hnymans Build (Script), on the first Luci Login, I get asked to set a password. Normally, there is a Button that leads me to the system --> admin page to enter the new password, but I am missing this button in the master build on 25.09.
master-r8133-61a5994900-20180925

Seems that you are right. The button is missing.

The button code is still in header.htm , sothe button should be visible. My first hunch is that the split of luci-mod-admin-full into three sub-apps might be the reason, as possibly the lookup for "admin/system/admin" fails and button does not get shown.
https://github.com/openwrt/luci/blob/58d7ee8ab328f0478863bf4aeac64f53a6c9816f/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm#L196

@jow- actually fixed it a few minutes ago with https://github.com/openwrt/luci/commit/58d7ee8ab328f0478863bf4aeac64f53a6c9816f
There was a typo.

On 2018-09-27 3:46 p.m., Hannu Nyman wrote:

Seems that you are right. The button is missing.

I will try to look into this later this weekend.  I may have missed
that; IIRC the Material theme had the message but not the button before
the split, so it may be some other issue.

image
https://user-images.githubusercontent.com/7926856/46170480-9f6ed280-c2a6-11e8-8361-7c19b0d5e5c6.png
The button code is still in header.htm , sothe button should be
visible. My first hunch is that the split of luci-mod-admin-full into
three sub-apps might be the reason, as possibly the lookup for
"admin/system/admin" fails and button does not get shown.
https://github.com/openwrt/luci/blob/58d7ee8ab328f0478863bf4aeac64f53a6c9816f/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm#L196

If luci-admin-full meta-package is installed (or all three sub-apps)
there should be no difference from before the split. But will verify
that there isn't something I missed.
Regards,
Daniel

If luci-admin-full meta-package is installed (or all three sub-apps) there should be no difference from before the split. But will verify that there isn't something I missed.

There was typo (amdin vs. admin) in your commit https://github.com/openwrt/luci/commit/6ec0353201435e0d0d7d32820d8ba600b4ca7b5b#diff-7fa9a24152eff24c800bf0579b65553e
jow has already fixed that with 58d7ee8 , as I explained above.


Failed to listen on prefix 'http://+:80/.well-known/acme-challenge/'

Hi there
I'm hitting an error I've never seen before randomly this morning and can't figure out why. Nothing has changed as far as I'm aware and have setup many sites using WACS. I'm getting this:
[INFO] Target generated using plugin IIS: k1-sport.com
[INFO] Authorize identifier: k1-sport.com
[INFO] Authorizing k1-sport.com using http-01 validation (SelfHosting)
[EROR] Unable to activate HttpListener, this may be because of insufficient rights or a non-Microsoft webserver using port 80
[EROR] Error preparing for challenge answer
System.Net.HttpListenerException (183): Failed to listen on prefix 'http://+:80/.well-known/acme-challenge/' because it conflicts with an existing reg
istration on the machine.
at System.Net.HttpListener.AddPrefixCore(String registeredPrefix)
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at PKISharp.WACS.Plugins.ValidationPlugins.Http.SelfHosting.PrepareChallenge()
at PKISharp.WACS.Plugins.ValidationPlugins.Validation`1.PrepareChallenge(IChallengeValidationDetails challenge)
at PKISharp.WACS.RenewalExecutor.Authorize(ILifetimeScope execute, RunLevel runLevel, ValidationPluginOptions options, TargetPart targetPart, Autho
rization authorization)
[EROR] Create certificate failed: Authorization failed
We're using IIS. I've done a netstat and can't see anything else on port 80.
Any ideas?
Dave

I've tried a few new domains and the same is happening. If I do a renewal, it works fine.

I've just tried with the latest version 2.1.4, and still get this:
Target generated using plugin IIS: k1-sport.com
Authorize identifier: k1-sport.com
Authorizing k1-sport.com using http-01 validation (SelfHosting)
Unable to activate HttpListener, this may be because of insufficient rights or a non-Microsoft webserver using port 80
Error preparing for challenge answer

Seems it's trying to go to:
'http://+:80/.well-known/acme-challenge/'
rather than:
'http://k1-sport.com:80/.well-known/acme-challenge/' ?

I've spent hours trying to work out what's going wrong, disabling everything but IIS on port 80. To no avail. We have another server with apparent identical setup and it's working fine.
Would appreciate any help!
Here's the verbose output:
 [DBUG] Scanning IIS site bindings for hosts  [VERB] 283 named bindings found in IIS  [DBUG] Filtering by site(s) [891]  [VERB] 3 bindings remaining after site filter  [DBUG] Filtering by host: ^(k1-sport\.com)$  [VERB] 1 bindings remaining after host filter  [VERB] 1 matching binding found  [DBUG] Scanning IIS sites  [INFO] Target generated using plugin IIS: k1-sport.com  [DBUG] Scanning IIS site bindings for hosts  [VERB] 283 named bindings found in IIS  [DBUG] Filtering by site(s) [891]  [VERB] 3 bindings remaining after site filter  [DBUG] Filtering by host: ^(k1-sport\.com)$  [VERB] 1 bindings remaining after host filter  [VERB] 1 matching binding found  [DBUG] Scanning IIS sites  [VERB] Adding <IP_ADDRESS> as DNS server  [VERB] Adding <IP_ADDRESS> as DNS server  [VERB] Adding <IP_ADDRESS> as DNS server  [VERB] Checking [IIS] k1sport.airsquare.com, k1-sport.com  [VERB] Loading ACME account signer...  [DBUG] Loading signer from C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Signer_v2  [VERB] Constructing ACME protocol client...  [DBUG] Send GET request to https://acme-v02.api.letsencrypt.org/directory  [VERB] Request completed with status OK  [DBUG] Send HEAD request to https://acme-v02.api.letsencrypt.org/acme/new-nonce  [VERB] Request completed with status OK  [DBUG] Loading account information from C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Registration_v2  [DBUG] Send POST request to https://acme-v02.api.letsencrypt.org/acme/new-order  [VERB] Request completed with status Created  [DBUG] Send POST request to https://acme-v02.api.letsencrypt.org/acme/authz-v3/2973647541  [VERB] Request completed with status OK  [INFO] Authorize identifier: k1-sport.com  [INFO] Authorizing k1-sport.com using http-01 validation (SelfHosting)  [EROR] Unable to activate HttpListener, this may be because of insufficient rights or a non-Microsoft webserver using port 80  [EROR] Error preparing for challenge answer System.Net.HttpListenerException (183): Failed to listen on prefix 'http://+:80/.well-known/acme-challenge/' because it conflicts with an existing reg istration on the machine.    at System.Net.HttpListener.AddPrefixCore(String registeredPrefix)    at System.Net.HttpListener.AddAllPrefixes()    at System.Net.HttpListener.Start()    at PKISharp.WACS.Plugins.ValidationPlugins.Http.SelfHosting.PrepareChallenge()    at PKISharp.WACS.Plugins.ValidationPlugins.Validation1.PrepareChallenge(IChallengeValidationDetails challenge)
at PKISharp.WACS.RenewalExecutor.Authorize(ILifetimeScope execute, RunLevel runLevel, ValidationPluginOptions options, TargetPart targetPart, Autho
rization authorization)`

I'm assuming your running as Administrator, as normal users can't allocate a listener on port 80. Also if you have tried other apps/tools for Let's Encrypt they may also have registered a listener - try restarting.
You can also run the following command to list current http.sys listeners:
netsh http show urlacl
The most common reason for a blocked listener on port 80 is a non-microsoft server (nginx or apache).

@webprofusion-chrisc yes, running as administrator. Only using WACS for LetsEncrypt, it has been working absolutely fine until yesterday! So frustrating!
There's no other webserver in play, only IIS.

Shouldn't that be more like 'http://k1-sport.com:80/.well-known/acme-challenge/'

We found the culprit, it was a service called "Control Panel Integration Tools". Hope that helps someone in the future. A day in my life I'll never get back! ;) Thanks @webprofusion-chrisc you steered me down the right path.

Failed to listen on prefix 'http://+:80/.well-known/acme-challenge/'
How to solve this issue ，I can't find "Control Panel Integration Tools"

Control Panel Integration Tools, i do not find what exactly it is. Can you provide any steps?

"Control Panel Integration Tools" is probably part of some specific piece of software that @davequested has or had installed on their system. The key takeaway here is not to look for the "Control Panel Integration Tools" but to use netsh http show urlacl to see if some program or person changed permissions for listening to http://+:80

Is the prefix 'http://+:80/.well-known/acme-challenge/' that it's trying to listen on correct?
Shouldn't that be more like 'http://k1-sport.com:80/.well-known/acme-challenge/'

That's how it initially was implementent but AFAIR it was less reliable. I'm not sure why but perhaps because Let's Encrypt is using similar tricks they use for DNS validation (i.e. random capitalization) to increase confidence in the results.

Having same exact problem with renewals. Not able to locate anything with netsh http show urlacl
Does anybody see anything here?

After getting the error, running: "NETSH HTTP SH SER" returns the following (excerpt):
Server session ID: EC0000012000000F
    Version: 2.0
    State: Active
    Properties:
        Max bandwidth:<PHONE_NUMBER>
        Timeouts:
            Entity body timeout (secs): 120
            Drain entity body timeout (secs): 120
            Request queue timeout (secs): 120
            Idle connection timeout (secs): 120
            Header wait timeout (secs): 120
            Minimum send rate (bytes/sec): 150
    URL groups:
    URL group ID: EB00000140000001
        State: Active
        Request queue name: Request queue is unnamed.
        Properties:
            Max bandwidth: inherited
            Max connections: inherited
            Timeouts:
                Timeout values inherited
            Number of registered URLs: 1
            Registered URLs:
                HTTP://+:80/.WELL-KNOWN/ACME-CHALLENGE/

And under request queues there is the following (PID 2964 is wacs.exe):
    Request queue name: Request queue is unnamed.
        Version: 2.0
        State: Active
        Request queue 503 verbosity level: Basic
        Max requests: 1000
        Number of active processes attached: 1
        Process IDs:
            2964

When I quit wacs, that all disappears from the "NETSH HTTP SH SER" output.
This is with wacs <IP_ADDRESS>0

Same issue on <IP_ADDRESS>0
How I got it: I mage a cert query for xxx.domain.com
Then I returned back to make cert query for two domains: xxx.domain.com, foo.xxx.domain.com
This failed

I have been seeing this error while creating or renewing certificate.
generally i go with this command in my script  ./wacs --target manual
--host   url.com  but  did not work for a while.
now this is working:
./wacs --target iis --siteid
I have to change my script if needed.
Anyway thank you all
On Mon, Jul 20, 2020 at 8:08 AM Alexey D. Filimonov <
<EMAIL_ADDRESS>wrote:

Same issue on <IP_ADDRESS>0
How I got it: I mage a cert query for xxx.domain.com
Then I returned back to make cert query for two domains: xxx.domain.com,
foo.xxx.domain.com
This failed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/win-acme/win-acme/issues/1418#issuecomment-660987073,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG3AVHRRZG42BCEI5LP4NJDR4QXSJANCNFSM4KZ44KBA
.

See  #also: #1621

Same issue on <IP_ADDRESS>0
How I got it: I mage a cert query for xxx.domain.com
Then I returned back to make cert query for two domains: xxx.domain.com, foo.xxx.domain.com
This failed
Wiped out C:\ProgramData\Win-Acme and everything is ok now

Yeah, delete the entire folder "C:\ProgramData\Win-Acme" did solve the problem

Same issue on <IP_ADDRESS>0
How I got it: I mage a cert query for xxx.domain.com
Then I returned back to make cert query for two domains: xxx.domain.com, foo.xxx.domain.com
This failed
Wiped out C:\ProgramData\Win-Acme and everything is ok now

I have tried this. It works for a few attempts and then it reverted back to the same error. As @AllTaken mentioned to refer to issue #1621 , there is a bug in currect release. Use the older release version <IP_ADDRESS> will resolve the problem. and I did delete the folder "C:\ProgramData\Win-Acme" to refresh the cache, and delete the old certificates in IIS windows certificate store. and rerun win-acme to reinstall all Let's Encrypt SSL on all sites.

Same issue on <IP_ADDRESS>0
How I got it: I mage a cert query for xxx.domain.com
Then I returned back to make cert query for two domains: xxx.domain.com, foo.xxx.domain.com
This failed
Wiped out C:\ProgramData\Win-Acme and everything is ok now

This also worked for me

Same issue on <IP_ADDRESS>0
How I got it: I mage a cert query for xxx.domain.com
Then I returned back to make cert query for two domains: xxx.domain.com, foo.xxx.domain.com
This failed
Wiped out C:\ProgramData\Win-Acme and everything is ok now

This also worked for me


Webull API Stopped Working

Hi All,
Webull API was working earlier but stopped working on 09/05/21, I was using the wf = wb.get_news(stock, Id=0, items=10) for getting the news but its not working now. Any idea or solution would be helpful on it

+1

Does this issue relate to the endpoints not working?  I'm not able to see/visit most of the urls provided in the endpoints.py file:
    self.base_info_url = 'https://infoapi.webull.com/api'
    self.base_options_url = 'https://quoteapi.webullbroker.com/api'
    self.base_options_gw_url = 'https://quotes-gw.webullbroker.com/api'
    self.base_paper_url = 'https://act.webullbroker.com/webull-paper-center/api'
    self.base_quote_url = 'https://quoteapi.webullbroker.com/api'
    self.base_securities_url = 'https://securitiesapi.webullbroker.com/api'
    self.base_trade_url = 'https://tradeapi.webullbroker.com/api/trade'
    self.base_user_url = 'https://userapi.webull.com/api'
    self.base_userbroker_url = 'https://userapi.webullbroker.com/api'
    self.base_ustrade_url = 'https://ustrade.webullfinance.com/api'
    self.base_paperfintech_url = 'https://act.webullfintech.com/webull-paper-center/api'
    self.base_fintech_gw_url = 'https://quotes-gw.webullfintech.com/api'
    self.base_userfintech_url = 'https://userapi.webullfintech.com/api'
    self.base_new_trade_url = 'https://trade.webullfintech.com/api'

Thanks @joshehren
Yes , It seems above URLs are not working.
I am using below code, Not sure if any solution until URLs start working
from webull import webull
wb = webull()
wf = wb.get_news(stock, Id=0, items=10)
print("Stock-->",wf)
Response:
Stock--> []
Stock--> Empty DataFrame

I am able to fetch the new after News Fix #268, Closing the issue.


Expose a plugin's version number to itself (and perhaps other plugins)

E.g. as _PLUGIN.version

Fixed by https://github.com/xiaoxiao921/ReturnOfModdingBase/commit/440dadbc4331b9d95403577a7e43297d9dc80f56


Support relative output dir on dotnet publish-iis

As it is done in a regular dotnet publish: https://github.com/dotnet/cli/issues/3679
that would be great :-)

@vineus These bits reside over in the websdk repo: https://github.com/aspnet/websdk/issues

@GuardRex : ticket opened here: https://github.com/aspnet/websdk/issues/142
Thanks!


handle i18n for component 1.x

I open this issue due to closing #1731
Summary:
component provides a require implementation and then using a locale this line will be executed: line 9
So it seems that it's only used for Node.js (and maybe browserify). For component it doesn't work, because the locales are not listed as scripts in the component.json (if they would, the require path would be resolved at build time, but there is another issue, because of a dynamic require in moment.js: line 769

There are some solutions to get i18n working in component:

Put all language files into scripts of component.json and remove the dynamic require, this is acutally what was changed in #1731. But it was rejected, and furthermore it's not a good idea to put all language files into the build output, because you may want to keep the output small and use only one language per page request.

https://github.com/moment/moment/pull/1731#issuecomment-57089309 solution of @anton-ryzhov need a manual copy step. And it's like 1. not dynamic if you want to support multiple languages.

current behaviour: Only moment is registed as a component script, the locales are just copied as files into the build directory. But you need to expose moment to get the locale working. And this is very ugly, because you need to put this line between embed the build and the locale file.
<script src="build/build.js"></script>
<script>
  window.moment = require("moment"); // need to pollute it to window to use some locale
</script>
<script src="build/moment/moment/2.8.3/locale/de.js"></script>

Change in each locale file the require part:

} else if (typeof exports === 'object') {
      module.exports = factory(require('moment')); // CommonJS: node.js, component, browserify
}

Because component uses its own namespacing to require remote modules, we need to create an alias in the moment.js files. Then we can do require('moment') for every CommonJS environment: node, component and browserify.
  (function (factory) {
    // create component alias for `moment`
    require.register("moment", function(exports, module) { module.exports = require.latest("moment~moment")});

    if (typeof define === 'function' && define.amd) {
        define(['moment'], factory); // AMD
    } else if (typeof exports === 'object') {
        module.exports = factory(require('moment')); // CommonJS: node, component, browserify
    } else {
        factory(window.moment); // Browser global
    }

With this solution you are flexible to include any languages, just one or multiple (per request). And you don't need to expose moment to the window object. We can do this:
  <script src="build/build.js"></script>
  <script src="build/moment/moment/2.8.3/locale/de.js"></script>

or load multiple locals (the last script set the global locale):
  <script src="build/build.js"></script>
  <script src="build/moment/moment/2.8.3/locale/de.js"></script>
  <script src="build/moment/moment/2.8.3/locale/ru.js"></script>

And you can still change the global locale via moment.locale('en') to locales, which are already loaded (in this case en is loaded by default)

I'm not sure if this issue is still relevant.
If this is still desired, please re-open or open a new issue.
Sorry we never got around to this.


rF2/rF1: Current FCY phase needs to be re-announced if stays the same, say, every 40 secs

In line with our new corporate working practices, I'm going to "assign" this ;)

this is awesome :DDDDD

how about - won't fix, screw it.


Add T3a, M/R5ad, and I3en instances to constants

Taken from https://aws.amazon.com/ec2/instance-types/
Announcements:

https://aws.amazon.com/blogs/aws/new-amd-epyc-powered-amazon-ec2-m5ad-and-r5ad-instances/
https://aws.amazon.com/blogs/aws/now-available-amd-epyc-powered-amazon-ec2-t3a-instances/
https://aws.amazon.com/blogs/aws/new-the-next-generation-i3en-of-i-o-optimized-ec2-instances/

Thanks!


Add min/max length to datasets and update/clear them within the range.

Summary
Hi,
I've been looking for a way to have datasets enable and disable themselves based on a min and max length of the query, so that I can have some datasets that appear within the range of certain query lengths.
Proposed change is to take in a minLength and maxLength parameter to datasets and update/empty datasets when they are within/not within the specified ranges.  Normal behavior without the parameters stays the same.
Looks like this should cover #200 also.
Result

Here is an example using the playground where actors is set to minLength: 1, maxLength: 2

Coverage increased (+0.05%) to 88.673% when pulling 4deb22530def4f3c0a15ec84c9a4b6babb3d8a57 on tliu:dataset-min-max-length into e7e6bdaa4d2204917877ffe7761460dc935192f5 on algolia:master.

This seems like a nice idea, thanks for the PR already!

@tliu Thanks for the PR, aside from your need to have max length check, can you explain us the underlying business use case you had? i.e. Why would you want to have a max query length check on autocomplete.js?
Thanks again!

Hey sorry for a late response -- I need a way to have a default dropdown appear when you focus the input but before you start typing, so when minLength = 0.  I honestly don't remember why I added the maxLength when I opened this originally, but I do still need the minLength.  In the interim I'd been making a fake dropdown on input focus before anyone typed.   Any thoughts on continuing with this PR?  I can remove the maxLength part if it doesn't make any sense.

Is this still relevant ? I also trying to display some custom data initially, but hide other datasets until user starts typing.

Closing this because we just released Autocomplete v1 which supports conditional sources.
Resources

Getting Started
Changing Behavior Based on the Query

Thanks for your contribution @tliu!


Add TEST_BROWSER_LOGS support

Change-type: minor
Signed-off-by: Josh Bowling<EMAIL_ADDRESS>
Add support for the TEST_BROWSER_LOGS environment variables. This is meant to match up with flags such as the Puppeteer dumpio option. This will be false by default, meaning that no browser logs will be output to stdout/stderr during testing as they are very noisy. Setting this to true will, obviously, enable this log output which is useful for debugging failures.

@balena-ci I self certify!


Fix unit test

archaius-pull-requests #273 SUCCESS
This pull request looks good

NetflixOSS » archaius » archaius-pull-requests #104 SUCCESS
This pull request looks good


fix: use release pat

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Pod based installs unable to run on device: dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire

MacBook-Pro:Diary nader$ pod install
Analyzing dependencies
Pre-downloading: AsyncSwift from https://github.com/100mango/Async.git, branch master
Pre-downloading: ExSwift from https://github.com/ayn/ExSwift.git, branch Swift-2.0
Pre-downloading: SwiftCharts from https://github.com/i-schuetz/SwiftCharts.git
Downloading dependencies
Installing Alamofire (3.3.0)
Installing AlamofireImage (2.4.0)
Installing AsyncSwift (1.7.2)
Installing Dodo (2.0.13)
Installing Eureka (1.5.0)
Installing ExSwift (0.1.9)
Installing ObjectMapper (1.2.0)
Installing Realm (0.98.6)
Installing RealmGeoQueries (1.1)
Installing RealmSwift (0.98.6)
Installing SnapKit (0.15.0)
Installing SwiftCharts (0.3)
Installing SwiftDate (2.0.2)
Installing SwiftyJSON (2.3.2)
Installing Watchdog (2.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 14 dependencies from the Podfile and 15 total pods installed.
MacBook-Pro:Diary nader$ pod update
Update all pods
Updating local specs repositories
Analyzing dependencies
Pre-downloading: AsyncSwift from https://github.com/100mango/Async.git, branch master
Pre-downloading: ExSwift from https://github.com/ayn/ExSwift.git, branch Swift-2.0
Pre-downloading: SwiftCharts from https://github.com/i-schuetz/SwiftCharts.git
Downloading dependencies
Using Alamofire (3.3.0)
Using AlamofireImage (2.4.0)
Installing AsyncSwift 1.7.2 (was 1.7.2)
Using Dodo (2.0.13)
Using Eureka (1.5.0)
Installing ExSwift 0.1.9 (was 0.1.9)
Using ObjectMapper (1.2.0)
Using Realm (0.98.6)
Using RealmGeoQueries (1.1)
Using RealmSwift (0.98.6)
Using SnapKit (0.15.0)
Installing SwiftCharts 0.3 (was 0.3)
Using SwiftDate (2.0.2)
Using SwiftyJSON (2.3.2)
Using Watchdog (2.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 14 dependencies from the Podfile and 15 total pods installed.
dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /var/containers/Bundle/Application/AB5A3CA6-5BD7-476C-A081-6058196CC7CE/Diary.app/Diary
Reason: no suitable image found.  Did find:
/private/var/containers/Bundle/Application/AB5A3CA6-5BD7-476C-A081-6058196CC7CE/Diary.app/Frameworks/Alamofire.framework/Alamofire: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/AB5A3CA6-5BD7-476C-A081-6058196CC7CE/Diary.app/Frameworks/Alamofire.framework/Alamofire'
/private/var/containers/Bundle/Application/AB5A3CA6-5BD7-476C-A081-6058196CC7CE/Diary.app/Frameworks/Alamofire.framework/Alamofire: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/AB5A3CA6-5BD7-476C-A081-6058196CC7CE/Diary.app/Frameworks/Alamofire.framework/Alamofire'
/private/var/containers/Bundle/Application/AB5A3CA6-5BD7-476C-A081-6058196CC7CE/Diary.app/Frameworks/Alamofire.framework/Alamofire: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/AB5A3CA6-5BD7-476C-A081-6058196CC7CE/Diary.app/Frameworks/Alamofire.framework/Alamofire'

Not sure exactly what your issue is, but most likely you just need to clean and wipe derived data and possibly the Xcode cache. If you are still experiencing issues, then I'd suggest you open an issue on Stack Overflow. We use the GitHub project for bug reports and feature requests.
Cheers. 🍻


[FR] Allow to send ecommerce events passing Array parameters.

Feature proposal

Firebase Component: Analytics

Currently LogEvent functions support only parameters of types integer, float, string and boolean. Though several recommended GA4 events such as "begin_checkout", "purchase", "add_to_cart" require "items" parameter to be passed as Array even for one single Item, thus making impossible to send these types of ecommerce events via C++ SDK.
The possible solution would be to allow LogEvent function to accept Variant values holding vector and map.

Thank you for the recommendation. The team will review this


Display Issue with form-switch in "light" theme after switching from "dark" theme

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I've encountered an issue when using the form-switch component in Bootstrap. When changing from the "dark" theme to the "light" theme, switches do not display correctly if they were previously used within the "dark" theme. This particularly happens when the switches are unchecked in the "light" theme.
Steps to Reproduce the Problem:

Set the overall page theme to "dark" ().
Use the form-switch component within a container that has a different specific theme, for example:
.
Check the appearance of the unchecked switches.

Reduced test cases

            <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckDefault">
            Default switch checkbox input

            <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckChecked" checked>
            Checked switch checkbox input

What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
v5.3.2

Thanks for reporting this issue @maikycourse
Indeed we spotted an issue with some use cases when data-bs-theme="light" is used within data-bs-theme="dark" mostly in cases like this one where we have the following, but not the corresponding "rollback" for light mode:
@if $enable-dark-mode {
  @include color-mode(dark) {
    .form-switch .form-check-input:not(:checked):not(:focus) {
      --#{$prefix}form-switch-bg: #{escape-svg($form-switch-bg-image-dark)};
    }
  }
}

I haven't dug into this specific issue too much, but I think this can be fixed in the same batch as what's suggested in https://github.com/twbs/bootstrap/pull/39295; a fix in the same spirit relying on :root CSS vars.
I'll try some things and link my PR to this issue if it can be fixed simultaneously.


spectatord Logging is Too Verbose

About ~25% of all Titus logs is just:
[spectator] [info] sent

We want to reduce the log volume in journald generally, because it goes to disk before shipping off-box.
We should provide a flag in spectatord, to allow turning this down.
I see the --debug and --verbose flags, but I want something more like --loglevel=error.

Moving the "Sent: {} Dropped: {} Total: {}. Elapsed {:.3f}s" message to the debug level is the easiest way to do this.
These logs can then be accessed with the --verbose flag, which should only be needed when working through an issue.


Add {n,m} repetition range support

This PR provides support for regex repetition ranges

Released in 0.13


I want to implement the mapping of touch button or trackpad of Index

I want to realize the mapping of the touch button or trackpad of the finger tiger, Is there any corresponding parameter？

I'm not too sure what you're trying to do.
If you're trying to map inputs from touch controllers, I'm afraid this isn't possible and you'll have to look for other solutions to get what you're looking for. If you're looking for something different, feel free to reply and I'll try my best to help.
Thanks!


fix blur issue

@yisibl's fix for #241

Looks like it breaks the current output quite a bit. Will take a look.

Doesn't seem to work at all. Try rendering tests/svg/e-filter-002.svg. It's has no blur anymore.

Yes, this PR will introduce new problems. We desperately need a better program.

hmm, I'm using this fork(which includes the commit above, along with a bunch of other changes), and it fixes the issue for my use-case.

Well, in it's current form it break most resvg tests. I cannot accept it.


Update README.md

Removed the values that are not present in the enum NgxFloatUiPopPlacements and also not supported by floating-ui: 'auto' | 'auto-start'  | 'auto-end'

I just realised that other tables in that document say placement default value is 'auto'. @tonysamperi i assume thats wrong, too. Correct?

hi @DerZyklop thanks. But I actually want to implement the "auto" positioning.
I didn't at first because it seemed impossibile, but I found in float ui docs that it's actually feasible.
So for now I wouldn't merge this.
Thanks


Avoid using non-ASCII Unicode characters outside of comments and literals

In error-prone 2.11.0 I've started getting the following error when building within IntelliJ
Foo.java:17:2
java: [UnicodeInCode] Avoid using non-ASCII Unicode characters outside of comments and literals, as they can be confusing.
    (see https://errorprone.info/bugpattern/UnicodeInCode)

When I view the file in VIM or HexDump there I can't see any non-unicode characters.
Line 17 is the end of the file, I can't supply the whole file due to work constraints.  But below is a screenshot of the end of the file from hexedit

Within IntelliJ the formatter is doing

If I down grade error-prone to 2.10.0 it works fine on the offending file

Playing with the existing test, to add an assertion on the error and I noticed it already outputs the line in error along with a ^ pointing at the character in error.  But I don't get that in these cases

AFAICT, because 99.9% of Java code is plain ASCII, the check is rather "dumb" and doesn't try to only flag problematic chars.

I think it's a bug which appears when running in IntelliJ
Using a file which fails in IntelliJ (2021.3.2 (Ultimate Edition)) the following test using the command line from the installation docs works.  In addition a mvn compile on the command line works
javac \
  -J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
  -J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
  -J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
  -J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED \
  -J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
  -J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
  -J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
  -J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
  -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
  -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
  -XDcompilePolicy=simple \
  -processorpath error_prone_core-2.11.0-with-dependencies.jar:dataflow-errorprone-3.15.0.jar \
  '-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -XepExcludedPaths:.*/target/generated-sources/.*' \
  filename.java

I've also copied the failing file to one side and done a diff to see it's the same as the failing one.  Played about with the file a few times (adding and removing the last line) until it works and done a diff again.  The diff shows no difference in the files.

I wonder if IntelliJ is adding a unicode character to the buffer for some reason.
I'm going to update the diagnostic message to print the character it's seeing, which might help debug this.

FYI, there is an issue filed on the IntelliJ side, too -- https://youtrack.jetbrains.com/issue/IDEA-288257

I've found the cause: Javac modifies content of file passed to it as char[] (see UnicodeReader.java:103) by replacing the last character by 0x1a. If this array is cached (the original implementation of Javac also does that, but code in intellij does this in a different way to improve performance), Error Prone may get this modified content and report an error. Note that this code in Javac was rewritten as part of JDK-8224225, so the problem shouldn't appear in Java 16 and newer versions.

I'm not sure how we can fix this on intellij side. We implement javax.tools.FileObject#getCharContent and cache content of the returned CharSequence, it's really unexpected that code in Javac casts the returned value to CharBuffer and modifies its content. Maybe this can be fixed in Error Prone? I think ignoring 0x1a symbol if it's the last character in the file text is a good workaround, I doubt that any real problems will be masked by such change.

@chashnikov FWIW, I still have this issue in Java 18 (Zulu) in Intellij.

Since this has been merged but is still open, can someone update this with the version where the fix will appear?


bad symlink in a layer's layer.tar after docker save

Output of docker version:
Client:
 Version:      1.12.0-rc2
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   906eacd
 Built:        Fri Jun 17 20:35:33 2016
 OS/Arch:      darwin/amd64
 Experimental: true

Server:
 Version:      1.12.0-rc4
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   e4a0dbc
 Built:        Wed Jul 13 03:39:43 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 5
 Running: 0
 Paused: 0
 Stopped: 5
Images: 160
Server Version: 1.12.0-rc4
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 349
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host null bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.15-boot2docker
Operating System: Boot2Docker 1.12.0-rc4 (TCL 7.2); HEAD : cbe6927 - Wed Jul 13 14:19:29 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 7.79 GiB
Name: devbox
ID: VNXR:LKTE:FPUE:6WII:FLWH:LSMX:XHX5:RLTO:G432:UW3A:GLEW:WY7Y
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 14
 Goroutines: 24
 System Time: 2016-07-22T20:27:40.063979399Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:

docker pull mysql:5.5.49
docker save mysql:5.5.49 > ~/somepath/image.tar
cd ~/somepath/
tar -xvf image.tar
cat 1e5794c8fc53cbd0cb5549f0c86e40020ea3e05a03c4c0f643fb73cd0004d6ca/layer.tar
ls -al 1e5794c8fc53cbd0cb5549f0c86e40020ea3e05a03c4c0f643fb73cd0004d6ca/layer.tar

Describe the results you received:
The "cat ....../layer.tar" is printing "no such file or directory". This is because the layer.tar is actually a symlink with a relative path of "../../7ad474727cd0614d18a510213c2a3fbe9df0533b3e2dc593099084844fbfb53a/layer.tar". That is a bad symlink that points to nothing.
The image seems to run fine but the bad layer.tar is messing up some tools.
Describe the results you expected:
I expected the layer.tar to be a file or at least a valid symlink.
Additional information you deem important (e.g. issue happens only occasionally):
the manifest for mysql:5.5.49:
[
{
"Config": "2f94d2a2ac899385096c4cfae60d737e4744a45a9611f7e2f8adf4126bd13c52.json",
"Layers": [
"632dd2dc36915d5b956a407429f20b081e500193e8309d2fa5a2151f2264badf/layer.tar",
"7ad474727cd0614d18a510213c2a3fbe9df0533b3e2dc593099084844fbfb53a/layer.tar",
"835a09f3e6807faf50db55c0501323decfbbbbfd0aa8d3701be092763352ceaf/layer.tar",
"1e5794c8fc53cbd0cb5549f0c86e40020ea3e05a03c4c0f643fb73cd0004d6ca/layer.tar",
"e90f58b4afcc17a2063d0a2182caa8de6d103eab65726d7586d467b197f2cac0/layer.tar",
"ce89a69ed999835e6a29ec51529cc650951a682e081b12895114d8ae00efafdb/layer.tar",
"5446ddd2a5287e2889e860f3b5b6c71bc5e3875ba40efc8a89364df76f5fb2fe/layer.tar",
"504434ed9b6ddd5559c5361f467e2d30175df64697e27ae17b6dc898c9f6d3e3/layer.tar",
"4adcda71f9d2866e74a65ef93d03034a84027298ce77eaa25f15f9a57b5cc5c9/layer.tar",
"e8445e2f1afa2413b582fea81a9edaf8a38f9d27fb179a25e98f3636496cb13a/layer.tar",
"2ebf45437a30bb52490611f47180ac91230cccf3e92d14d614ba9964f49dd93f/layer.tar",
"95d74f14e12f36f8ff8e56de171034feb7a543f5aad96b5cb479fd2b161ddea2/layer.tar",
"e366823a5b4f6ed67b0e2ae6ea45f4bbe1a62040a0875226bfa8ea5086f2d8e4/layer.tar",
"ceccf7454d07595891462c59dc2a9dedf29d3e3817a7a31131e0841d59dc9676/layer.tar",
"c1e43f4f26f1310ffe7033dbd8a4c9f2a936cb2c584a0428b02f5eb793a589a6/layer.tar",
"9d0b653af526957cdc29af8babba96ae71f924270284e8f55a8c66043f3883b4/layer.tar",
"e015bfcd281c2c3918ef00b8bb6a398fe4f4eaee7a544c39089c0157a9cdf210/layer.tar",
"3454489477d6a1f94b5ee2882f7d790f43f5c62c4fd695925c69400b7ba66181/layer.tar",
"33190324687ccab11ddaeeb15ca6a59e752c57371f77c9eaad19c60d322e64f8/layer.tar",
"1227ddfd0d450b6038463eaca8d771113f6ee2b09ddecfd07dca4d843f67f6da/layer.tar"
],
"RepoTags": [
"mysql:5.5.49"
]
}
]

We do see this too, take a look at this gist: https://gist.github.com/hyperknot/6ec3b033c66bbba5a1794b854faed11c
/cc @hyperknot

This is probably related to this commit: https://github.com/docker/docker/commit/88cb79d40010d95cdbd69bb069b4726611831b27
/cc @tonistiigi

I can confirm, I stumbled upon this bug when using @goldmann's docker-squash, but it is actually a bug in Docker core.

ping @aaronlehmann @dmcgowan  PTAL

I am also able to reproduce, taking a look

I found this to be working for docker load in 1.12 but failing to load in 1.9. This works in 1.12 because the layers which the bad symlinks are empty tars, and the code currently checks for the hash associated with empty tars and skips the layer import. For 1.9 these layers are not skipped and the following error occurs Error response from daemon: open /var/lib/docker/tmp/docker-import-058192204/repo/1227ddfd0d450b6038463eaca8d771113f6ee2b09ddecfd07dca4d843f67f6da/layer.tar: no such file or directory. Working on a fix.

Yay, thanks for this quick fix!

Thanks @rosteroster @goldmann @hyperknot for a concise bug report, much appreciated!


GenerateAvroJavaTask generates Java 11 compatible classes only

Prerequisites

[x] Are you running the latest version of the plugin? (Check releases)
[x] Are you running a supported version of Gradle? (Check the README)
[x] Are you running a supported version of Apache Avro? (Check the README)
[x] Are you running a supported version of Java? (Check the README)
[x] Did you check to see if an issue has already been submitted?
[x] Are you reporting to the correct repository?  If your schema doesn't work with the Apache Avro CLI tool either, it's not a problem with this plugin.  Running your file through the CLIComparisonTest in the sample project under the test-project directory can help diagnose this.
[x] Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Project set up like this...
Source files like this...
Ran this task...
See error

Please provide complete input files that reproduce the problem, not fragments.
When possible, please express this using test-project.
Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):

Gradle Version [e.g. 5.6.1]
Apache Avro Version [e.g. 1.8.2]
Gradle-Avro Plugin Version [e.g. 0.17.0]
Java Version [e.g. 13.0.2]
OS: [e.g. Mac OS X Mojave, Windows 10, Ubuntu 16.04]

Additional context
Add any other context about the problem here.

I'm using 0.18.0 version , and generating java classes from avro schema, tries to set sourceCompatibility to 8, but it fails to compile because classes are generated with var keywords.

Can you provide a test project that demonstrates this behavior?
I have automated test coverage for compatibility with Java 8, and it appears to be passing.
I attempted to reproduce the failure by taking the test-project in this repo, but was unable to.
For reference, the changes made were:

downgrading to plugin version 0.18.0
downgrade to Avro version 1.9.1
downgrade to Gralde version 5.0
specify sourceCompatibility=8
run using Java 1.8.0_265

Please close this bug, problem was with my local setup.


Converted the external tables to managed tables

Krystal,
I changed a few tables from being external to hive managed. This should help resolve the issues we are seeing on a few clusters. Can you kindly review the changes?
Rahul

Looks good, +1


Built-in way of changing _supportsCoding within PropertiesDialog?

I want to prevent users from using the HTML editing directly via the PropertiesDialog tab. Is there any way to do this without changing the content-tools.js file? Excuse my ignorance if such is required, I'm still fairly new to Javascript.

The simplest approach would be to hide the icon to select the code tab using CSS, for example:
.ct-control--code {
    display: none !important;
}

It's not the prettiest of solutions but it is simple.


Benthos Kafka Component and Schemas

Hi,
Does benthos kafka input have the ability to use schema validation (avro schemas). Also does this have the ability to deserialization from kafka as well?

Ongoing discussion over in https://github.com/Jeffail/benthos/issues/381


Sipeed M0S Dock?

Hello,
First of all, thank you so much for making efforts to include Arduino environment for BL616.
Now to the real issue...
I'm having some problems with getting Arduino code to run on my M0S Dock. Not sure if I somehow fried the board or it's something with the code or I am missing some important step I was supposed to do before trying to install Arduino on it. I could use some insight...
Code I'm trying to run:
int ledPin = 27; // or 28
void setup() {
  Serial.begin(2000000);
  pinMode(ledPin, OUTPUT);
}
void loop() {
  Serial.println("Hello world!");
  digitalWrite(ledPin, HIGH);
  delay(1000);
  digitalWrite(ledPin, LOW);
  delay(1000);
}

Based on the log file I tried everything seems ok but I am not getting any reactions on the onboard led or in serial monitor.
Sketch uses 201576 bytes (4%) of program storage space. Maximum is 4190208 bytes.
Global variables use 18464 bytes (9%) of dynamic memory, leaving 178144 bytes for local variables. Maximum is 196608 bytes.
[10:56:00.936] - Serial port is COM5
[10:56:00.936] - ==================================================
[10:56:00.939] - Program Start
[10:56:00.939] - ========= eflash loader cmd arguments =========
[10:56:00.940] - serial port is COM5
[10:56:00.940] - chiptype: bl616
[10:56:00.940] - cpu_reset=False
[10:56:00.954] - com speed: 2000000
[10:56:00.955] - ========= Interface is uart =========
[10:56:00.955] - Bootrom load
[10:56:00.955] - ========= get_boot_info =========
[10:56:00.955] - ========= image get bootinfo =========
[10:56:01.229] - tx rx and power off, press the machine!
[10:56:01.230] - cutoff time is 0.05
[10:56:01.291] - power on tx and rx
[10:56:02.282] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[10:56:02.282] - clean buf
[10:56:02.284] - send sync
[10:56:02.499] - ack is b'4f4b'
[10:56:02.500] - shake hand success
[10:56:03.009] - data read is b'01001606000001002792800157ad35cf0eb415000f758010'
[10:56:03.009] - ========= ChipID: b40ecf35ad57 =========
[10:56:03.009] - Get bootinfo time cost(ms): 2054.232177734375
[10:56:03.009] - change bdrate: 2000000
[10:56:03.009] - Clock PLL set
[10:56:03.009] - Set clock time cost(ms): 0.0
[10:56:03.133] - Read mac addr
[10:56:03.133] - MACADDR: b40ecf35ad57
[10:56:03.133] - flash set para
[10:56:03.133] - get flash pin cfg from bootinfo: 0x02
[10:56:03.133] - set flash cfg: 1014102
[10:56:03.133] - Set flash config
[10:56:03.134] - Set para time cost(ms): 1.00048828125
[10:56:03.134] - ========= flash read jedec ID =========
[10:56:03.135] - Read flash jedec ID
[10:56:03.135] - readdata:
[10:56:03.135] - b'c8601600'
[10:56:03.135] - Finished
[10:56:03.135] - flash config Not found,use default
[10:56:03.135] - jedec_id:c86016
[10:56:03.135] - capacity_id:22
[10:56:03.135] - capacity:4.0M
[10:56:03.135] - get flash size: 0x00400000
[10:56:03.135] - Program operation
[10:56:03.135] - Dealing Index 0
[10:56:03.135] - ========= programming C:\Users\REDACTED\AppData\Local\Temp\arduino\sketches\1C6A901E8F35DC54ADA3225EA387E0FF\sketch_nov19a.ino.bin to 0x0
[10:56:03.135] - flash para file: C:\Users\REDACTED\AppData\Local\Arduino15\packages\bouffalolab\tools\bflb_flash_tools\1.0.7\chips/bl616/efuse_bootheader/flash_para.bin
[10:56:03.135] - Set flash config
[10:56:03.137] - Set para time cost(ms): 2.00048828125
[10:56:03.137] - ========= flash load =========
[10:56:03.137] - ========= flash erase =========
[10:56:03.137] - Erase flash  from 0x0 to 0x34fcf
[10:56:03.677] - Erase time cost(ms):<PHONE_NUMBER>96875
[10:56:03.722] - decompress flash load 121716
[10:56:03.747] - Load 2048/121716 {"progress":1}
[10:56:03.763] - Load 4096/121716 {"progress":3}
[10:56:03.772] - Load 6144/121716 {"progress":5}
[10:56:03.788] - Load 8192/121716 {"progress":6}
[10:56:03.803] - Load 10240/121716 {"progress":8}
[10:56:03.819] - Load 12288/121716 {"progress":10}
[10:56:03.834] - Load 14336/121716 {"progress":11}
[10:56:03.850] - Load 16384/121716 {"progress":13}
[10:56:03.858] - Load 18432/121716 {"progress":15}
[10:56:03.874] - Load 20480/121716 {"progress":16}
[10:56:03.889] - Load 22528/121716 {"progress":18}
[10:56:03.898] - Load 24576/121716 {"progress":20}
[10:56:03.914] - Load 26624/121716 {"progress":21}
[10:56:03.929] - Load 28672/121716 {"progress":23}
[10:56:03.945] - Load 30720/121716 {"progress":25}
[10:56:03.961] - Load 32768/121716 {"progress":26}
[10:56:03.976] - Load 34816/121716 {"progress":28}
[10:56:03.993] - Load 36864/121716 {"progress":30}
[10:56:04.008] - Load 38912/121716 {"progress":31}
[10:56:04.024] - Load 40960/121716 {"progress":33}
[10:56:04.040] - Load 43008/121716 {"progress":35}
[10:56:04.055] - Load 45056/121716 {"progress":37}
[10:56:04.064] - Load 47104/121716 {"progress":38}
[10:56:04.080] - Load 49152/121716 {"progress":40}
[10:56:04.095] - Load 51200/121716 {"progress":42}
[10:56:04.111] - Load 53248/121716 {"progress":43}
[10:56:04.127] - Load 55296/121716 {"progress":45}
[10:56:04.136] - Load 57344/121716 {"progress":47}
[10:56:04.151] - Load 59392/121716 {"progress":48}
[10:56:04.167] - Load 61440/121716 {"progress":50}
[10:56:04.182] - Load 63488/121716 {"progress":52}
[10:56:04.198] - Load 65536/121716 {"progress":53}
[10:56:04.207] - Load 67584/121716 {"progress":55}
[10:56:04.222] - Load 69632/121716 {"progress":57}
[10:56:04.238] - Load 71680/121716 {"progress":58}
[10:56:04.254] - Load 73728/121716 {"progress":60}
[10:56:04.269] - Load 75776/121716 {"progress":62}
[10:56:04.278] - Load 77824/121716 {"progress":63}
[10:56:04.294] - Load 79872/121716 {"progress":65}
[10:56:04.310] - Load 81920/121716 {"progress":67}
[10:56:04.326] - Load 83968/121716 {"progress":68}
[10:56:04.341] - Load 86016/121716 {"progress":70}
[10:56:04.350] - Load 88064/121716 {"progress":72}
[10:56:04.365] - Load 90112/121716 {"progress":74}
[10:56:04.380] - Load 92160/121716 {"progress":75}
[10:56:04.389] - Load 94208/121716 {"progress":77}
[10:56:04.404] - Load 96256/121716 {"progress":79}
[10:56:04.420] - Load 98304/121716 {"progress":80}
[10:56:04.436] - Load 100352/121716 {"progress":82}
[10:56:04.444] - Load 102400/121716 {"progress":84}
[10:56:04.460] - Load 104448/121716 {"progress":85}
[10:56:04.476] - Load 106496/121716 {"progress":87}
[10:56:04.491] - Load 108544/121716 {"progress":89}
[10:56:04.508] - Load 110592/121716 {"progress":90}
[10:56:04.532] - Load 112640/121716 {"progress":92}
[10:56:04.550] - Load 114688/121716 {"progress":94}
[10:56:04.573] - Load 116736/121716 {"progress":95}
[10:56:04.589] - Load 118784/121716 {"progress":97}
[10:56:04.605] - Load 120832/121716 {"progress":99}
[10:56:04.616] - Load 121716/121716 {"progress":100}
[10:56:04.616] - Load 121716/121716 {"progress":100}
[10:56:04.616] - Write check
[10:56:04.618] - Flash load time cost(ms):<PHONE_NUMBER>25
[10:56:04.618] - Finished
[10:56:04.618] - Sha caled by host: 5e7f09b66a1266ba515fedef1f3e55307857e2e5956ddb4370a084827ef5ff29
[10:56:04.618] - xip mode Verify
[10:56:04.798] - Read Sha256/217040
[10:56:04.798] - Flash xip readsha time cost(ms):<PHONE_NUMBER>375
[10:56:04.798] - Finished
[10:56:04.798] - Sha caled by dev: 5e7f09b66a1266ba515fedef1f3e55307857e2e5956ddb4370a084827ef5ff29
[10:56:04.799] - Verify success
[10:56:04.800] - Program Finished
[10:56:04.800] - All time cost(ms): 3860.84912109375
[10:56:04.912] - close interface
[10:56:04.912] - [All Success]

Did you have attached UART to R / X / G pins? Also, this might be failure of board_init, due it expect pSRAM

Did you have attached UART to R / X / G pins?

No, I did not... Was I supposed to? I was expecting it to work via the USB C port on the board (well it worked for detection after holding boot button on the board and plugging it in). I sadly don't have a converter at my place currently to check with it... I would be able to get it back tomorrow earlies...  So I could update on that after I get it in my hands...

Also, this might be failure of board_init, due it expect pSRAM

What can I do if that would end up being the case? I remember reading something about pSRAM issues with some Wi-Fi exampels when Wi-Fi/Bluetooth APIs were publicised for the SDK but I don't remember what was the exact topic...

@gamelaster update. I got my hands on the USB/UART converter and connected it to dedicated R/T/G pins on the M0S Dock. No effect, Arduino does not even want to connect to serial when used this way... Should I try to connect to it with something else?

@WitoTV Have you found any solution?

@Opisek nope. I have gave up. Nothing I tried worked. And I did not have time and mental strenght to get new one to see if its faulty unit. Are you by any chance having the same issues?

Yes I am. For now I think I'm giving up on this microcontroller. The documentation is non-existent and I'm not experienced enough in FreeRTOS to try to reverse-engineer or guess how to program this without the Arduino framework. Waste of money.
I've just bought an ESP32-C6, which seems to be exactly what BL616 promised to be, but with the level of documentation and support that's to me expected from Espressif. And wouldn't you know, Zigbee is actually enabled in their SDK as opposed to BL616 :)

I believe that the Sipeed M0S Dock board has some incompatibility related to PSRAM. Using BL616  with the kit [(https://docs.ai-thinker.com/en/ai_m62)] the GPIO works (not on all pins). I'm still going to test the UART and wi-fi in the ai-thinker kit.
Of course Espressif ESP32-C6 is an option with more documentation and support.


[BEAM-2937] Update Portable Combine URNs to new URNs.

Changing combine URNs based on the portable combines doc:
https://s.apache.org/beam-runner-api-combine-model

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.

[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

retest this please

retest this please

Run Python PreCommit

Run Python PreCommit

R: @lukecwik


Typo in RD_npsp.recipe.yml

There is a typo in the macro name inside RD_npsp.recipe.yml, it says "commomfields" which should say "commonfields" (in 3 locations in the YML file)

Resolved with PR 44


feat(authentication,config): remove Authentication's dependency on Email for unverified local email auth strategies

This PR greatly improves the experience of setting up a new deployment from scratch by removing Authentication`s Email dependency on a fresh database. Fixes #99.
This change is going to be extremely useful for newcomers trying out Conduit for the first time as the docs can now be simplified in that regard.
As far as backend contributors are concerned, it's also going to significantly reduce the amount of time spent on submitting configuration requests just to get an active local auth post db wipes.
The Authentication's configuration schema's local section has also been slightly altered so as to keep things clean and structured.
Check out the relevant changes below:
Routes depending on Email now only get registered if Email is online (previously threw 404 in handlers instead).
Auth reregisters its routes on email activation.
This is currently broken due to #104, but I'm opening a follow-up PR to address this so as to keep this one clean.
Also fixed VerifyChangePassword route being registered without 2FA.
Old:
local: {
  identifier: string,                  // removed
  enabled: boolean,
  sendVerificationEmail: boolean,      // changed
  verificationRequired: boolean,       // changed
  verification_redirect_uri: string,   // changed
  forgot_password_redirect_uri: string,
},

New:
local: {
  enabled: boolean,
  verification: {
    required:boolean,
    send_email: boolean,
    redirect_uri: string,
  },
  forgot_password_redirect_uri: string,
},

What kind of change does this PR introduce? (check at least one)

[X] Bugfix
[X] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[X] Yes
[ ] No

Local authentication identifier has been deprecated:
POST /admin/authentication/users body param 'identifier' -> 'email'
The PR fulfills these requirements:

[X] It's submitted to the main branch
[X] When resolving a specific issue, it's referenced in the PR's title

If adding a new feature, the PR's description includes:

[X] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

On second thought, going to improve on this prior to merge in the following ways:

Move the migration to Authentication so as to remove the need for guided update
Phase out redundant "username" local auth identifier (breaking change, no handler-level compat)
Add a configurable option for allowing/preventing user self-registration
Migrate config fields to camel_case (we should standardize this across our configs)

This PR also introduces proper character validation for user email fields.


fleetctl: properly run local and remote commands

Remote commands need to be escaped because they are being interpretted
by a shell. Local commands, however, cannot be because they are being
exec'd. Additionally, splitting an opaque command by space is very error
prone (e.g. ls "dumb filename").

Still testing...

Locally running service:
$ ./fleetctl status redis.service
● redis.service
   Loaded: loaded (/run/fleet/units/redis.service; linked-runtime; vendor preset: disabled)
   Active: active (running) since Wed 2015-06-17 20:59:18 ; 2h 13min ago
 Main PID: 651 (sleep)
   Memory: 120.0K
   CGroup: /system.slice/redis.service
           └─651 /usr/bin/sleep 1000000

Jun 17 20:59:18 crawford-test-2 systemd[1]: Started redis.service.
Jun 17 20:59:18 crawford-test-2 systemd[1]: Starting redis.service...

Remotely running service:
$ ./fleetctl status redis.service
● redis.service
   Loaded: loaded (/run/fleet/units/redis.service; linked-runtime; vendor preset: disabled)
   Active: active (running) since Wed 2015-06-17 20:59:18 ; 2h 14min ago
 Main PID: 651 (sleep)
   Memory: 120.0K
   CGroup: /system.slice/redis.service
           └─651 /usr/bin/sleep 1000000

Jun 17 20:59:18 crawford-test-2 systemd[1]: Started redis.service.
Jun 17 20:59:18 crawford-test-2 systemd[1]: Starting redis.service...

$ ./fleetctl journal redis.service
-- Logs begin at Wed 2015-06-17 20:56:43 , end at Wed 2015-06-17 23:16:03 . --
Jun 17 20:59:18 crawford-test-2 systemd[1]: Started redis.service.
Jun 17 20:59:18 crawford-test-2 systemd[1]: Starting redis.service...

$ ./fleetctl journal --sudo redis.service
-- Logs begin at Wed 2015-06-17 20:56:43 , end at Wed 2015-06-17 23:16:15 . --
Jun 17 20:59:18 crawford-test-2 systemd[1]: Started redis.service.
Jun 17 20:59:18 crawford-test-2 systemd[1]: Starting redis.service...

$ ./fleetctl journal --sudo --follow redis.service
-- Logs begin at Wed 2015-06-17 20:56:43 . --
Jun 17 20:59:18 crawford-test-2 systemd[1]: Started redis.service.
Jun 17 20:59:18 crawford-test-2 systemd[1]: Starting redis.service...^C

govet is failing to compile. Fantastic.

The approach lgtm

$ go version
go version go1.4 linux/amd64

$ ./test
Building fleetd...
Building fleetctl...
Running tests...
ok  	github.com/coreos/fleet/agent	0.010s	coverage: 70.6% of statements
ok  	github.com/coreos/fleet/api	0.008s	coverage: 80.4% of statements
ok  	github.com/coreos/fleet/config	0.003s	coverage: 100.0% of statements
ok  	github.com/coreos/fleet/engine	0.009s	coverage: 54.5% of statements
ok  	github.com/coreos/fleet/fleetctl	0.012s	coverage: 23.2% of statements
ok  	github.com/coreos/fleet/job	0.007s	coverage: 89.2% of statements
ok  	github.com/coreos/fleet/machine	0.004s	coverage: 35.1% of statements
ok  	github.com/coreos/fleet/pkg	0.023s	coverage: 81.9% of statements
ok  	github.com/coreos/fleet/pkg/lease	0.004s	coverage: 14.3% of statements
ok  	github.com/coreos/fleet/registry	0.004s	coverage: 26.7% of statements
ok  	github.com/coreos/fleet/ssh	0.005s	coverage: 42.5% of statements
ok  	github.com/coreos/fleet/systemd	0.003s	coverage: 15.5% of statements
ok  	github.com/coreos/fleet/unit	0.003s	coverage: 88.4% of statements
Checking gofmt...
Checking govet...


[QA] Some base wearables don't appear equipped or get replaced

Explorer Alpha build version:
Current main at 05/16
Issue Description:

When logging in and have a common wearable equipped, sometimes it happens that the wearable is not visible on the avatar or gets replaced by another one.
Steps to reproduce:

Equip one or more common wearables and save the changes
Go out of the app and back in

Expected behaviour:
The wearables are equipped
Current behaviour:

Sometimes it happens that the common wearables cannot be seen on the avatar even though they are equipped.
In other cases, with the shoes for example, they get replaced by the starting orange shoes that came by default with the avatar.

Evidence:

Additional Notes:

@anicalbano Could you re-check the issue?

Most likely the wearables are missing asset bundles. Please provide urns, so i can check

Most likely the wearables are missing asset bundles. @anicalbano please provide urns, so i can check. Very similar to this one: #1560

This issue is not happening anymore. I'll close it


Update single_day_picker.xml

Changed order & spaces between the wheels to be more like iOS. That also adds the missing gap to the year wheel.
The order is now:
days - daysOfMonth - month - year - hours - minutes - am/pm

merged in 2.0.6


I've never clicked on that deliberately …


Development: Add database changes for standardized competencies

🚨 DO NOT DEPLOY TO TS1!!! IT WILL BREAK 🚨
Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Motivation and Context
Add the database changelog for standardized competencies in 6.9.X so Artemis can have a single initial database schema for 7.0.0
Description
Adds the database changelog for standardized competencies
Steps for Testing
See that the migration checks succeed and that Artemis starts.
Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Review Progress
Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage
unchanged

Summary by CodeRabbit

New Features

Version update to Artemis-6.9.6 with enhanced functionality.
New methods for handling build logs, including saving, retrieving, and deleting.
Added capability to check if an exercise has started.
New endpoints for retrieving logs availability for results and canceling all running build jobs for a specific agent.
Updated logic for authorization and handling of plagiarism submissions.
Introduction of ImportOptions for programming exercises update component.
Added display for build logs availability in participation submission component.

Bug Fixes

Adjusted SQL query references and conditions in guidelines documentation.
Refactored queries in repositories for improved efficiency and clarity.
Fixed exception handling during Docker image pulling process.

Refactor

Updated various classes and methods to use new BuildStatus enum.
Simplified file retrieval logic in RepositoryResource.
Removed unnecessary properties and dependencies in several services and models.
Improved synchronization and cancellation handling in build job management services.

Documentation

Updated README and developer guidelines to reflect new changes and features.

Style

Adjusted bindings and checkboxes in update components for programming exercises.

Chores

Updated project version and dependencies in build configuration files.

See also Changelog in #8129


SD card fixes

Check for SD card type instead of a given vendor and model.
Check for mmcblkX apart from sdX.

I forgot that I previously created this PR, closing.


Please update synchronized package

Hi, can you update to the latest synchronized package? I've got a transitive dependency on synchronized: ^2.0.2. (Currently using dependency_overrides in my pubspec.yaml and that appears to be an acceptable workaround.) Thanks much :)

Updated in 0.8.1!


Make transformation output tables immutable and add mutable clone operation

It appears if I apply a transformer to a dataset then the output is not editable as desired, but if I then apply Editable Copy to the output the copy is still not editable. Can you guys reproduce?

Oh, that actually makes sense since right now editable copy calls uncheckedCopy under the hood, which copies attributes exactly. So if the attributes have editable: false in the input (ie from the previous transformer), they will still be uneditable even after the editable copy is made. So it seems we want something like makeDatasetImmutable but that does the reverse and sets editable to true for all attributes, which we could apply to the result of the uncheckedCopy.

Yeah, I will fix that.

Nice, I think this looks good for now. If we can  get some better immutability features from the CODAP side, that would be great but I think we can merge this as what we can do for now.


trie.Node add field squash

Description
trie.Node add field squash
Fixes #83
Type of change

New feature

Checklist:

[x] Style:       My code follows the style guidelines of this project
[x] Self-review: I have performed a self-review of my own code
[ ] Comment:     I have commented my code, particularly in hard-to-understand areas
[x] Doc:         I have made corresponding changes to the documentation
[x] No-warnings: My changes generate no new warnings
[ ] Add-test:    I have added tests that prove my fix is effective or that my feature works
[x] Pass:        New and existing unit tests pass locally with my changes
[ ] Dep:         Any dependent changes have been merged and published in downstream modules

好像缺少一个创建时指定squash, Append时自动squash的测试


flutter doctor hangs after upgrade Flutter to version 2.8.0

Steps to Reproduce
time flutter doctor

Logs
time flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.0, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.0)
[✓] Connected device (4 available)

• No issues found!
flutter doctor  6.20s user 2.84s system 2% cpu 6:19.90 total

@zhangzhenxi
From your details provided, the command time flutter doctor seemed to have run properly. When does it hang ?
I also upgraded from 2.5.3 to 2.8.0 and ran time flutter doctor which ran properly:
dhs@Dhss-MacBook-Pro ncflutter % time flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.0, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    ! Flutter recommends a minimum Xcode version of 13.0.0.
      Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] VS Code (version 1.62.0)
[✓] Connected device (3 available)

! Doctor found issues in 1 category.
flutter doctor  2.22s user 1.21s system 75% cpu 4.564 total
dhs@Dhss-MacBook-Pro ncflutter %

My fault!
What I'm trying to say flutter doctor execute time is too long.

For me, it takes flutter doctor  2.38s to retrieve the data.
Can you try to be on a good network and then check if it works faster ? Also check your network connection and see if it's fast enough.

Maybe this is a network issue, I have retried right now, only cost 4s. Thanks anyway.


Add missing $ in the template string

Add missing $ in the template string

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Thank you @jdneo for your contribution :)


Plugin failed to create packaged build, UE 4.17.2

Can not create a packed build for any of the types, Windows, WindowsNoEditor, WindowsClient, WindowsServer. Get the following issue even though the plugin does appear to be enabled correctly in the editor.  Project is Blueprint only, not sure if I have to build something to get it included properly for non C++ projects.

Is UE4Druino have a support of 4.19? Is it still developing or abandoned?

I got this message too! is there any workaround ?

packaging error with ue4duino

ue4DuinoError.txt


Voice Recorder

Script Title - Script is able to record voice (Play, pause, done functionalities)
what will change - Adding script
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language

[x] Python

Happy Coding,

I would like to give this a shot
I already have a basic player without  a pause button
I will try to implement  the pause button

Okay go ahead :)


Consider dropping Reselect's association with Redux?

Reselect is truly amazing (thank you for writing it and maintaining it – I love using it!), but it is described as a selector library for Redux even though there is no real connection between the two. To give an analogy, it is like if axios was advertised as "HTTP requests for Redux!" It just wouldn't really make sense to describe axios that way 😅
I have two specific concerns with the current description of the lib:

someone comes to the README, sees Redux in the description, and thinks, "ok this isn't me," and then they do not use it, even though it actually does make sense for their use case
someone determines it is more generic than for use with redux, uses it in an app that is not using Redux, and then another developer comes to check out the README here and gets really confused (this is a major concern for me at work. I want to build applications that future developers can understand easily, as our applications tend to last a long time and sometimes they change teams).

Looking through the issues, it appears that the description misleads people sometimes:

https://github.com/reactjs/reselect/issues/303
https://github.com/reactjs/reselect/issues/334

The people who open these issues are the ones who, presumably, read the README after reading the description. I am sure most people would read the description and just turn away. That's what I do if I stumble upon a library that says, say, "XYZ for Relay," as I am not currently using Relay in any projects. I wouldn't browse the README while thinking, "Hm, well maybe I can make this work outside of Relay projects, too."
I'm thinking it would help folks find this awesome lib if it were more accurately described. I understand it was originally designed specifically for Redux, which is cool, but I think having a section of the guides about integration with Redux (like this one) is probably enough.
One idea would be to look at how Redux documents its relationship to React. Redux doesn't say "State management for React." It describes itself as a predictable state container for JavaScript apps. But it has a dedicated section about React in its docs, and one of the first lines of the docs is:

You can use Redux together with React, or with any other view library.

I think an approach like this would make more sense for Reselect.
As an aside, Reselect also has nothing to do with React, so one could argue that it being in the reactjs org is potentially misleading, too, but I think that is less of a problem.
Because this isn't a breaking API change or anything, I don't foresee there being any negatives to it. I think it would just clear things up.
This was suggested way back in https://github.com/reactjs/reselect/issues/30 , but I don't think that enough progress has been made. If there is interest, I would be happy to give a pass at restructuring the documentation to focus more on its generic nature.
What do folks think? 🤔
Thanks for reading! And thanks again for this amazing library! 👌 🎉

Thanks for bringing this up. It looks like reselect will be moving to the redux org soon, so as part of that I think it would be sensible to revisit the readme as otherwise it will seem like the association is even stronger. I would love it if you would take a pass at the docs!

Cool, I will do that @ellbee !

Nice thought.  We use Reselect to compose components' view model, our selectors that read component instance's props (React) or @Inputs() (Angular 2+), and we use series of selectors to compose the component's view model (or in React's new lingo derived state).  We have found Reselect is amazing as it helps breakdown the complexity and provides performance aids in most scenarios with its memoization feature.
That being said, the point I try to make is that Reselect is not just for Redux, it can be used standalone!

I find it really annoying that the documentation describe the selectors as being parameterizable only by state and React props. I don't understand why the second parameter has to be an object representing some react component's props instead of an options object describing the parameters you are sending to the selector. You can use the selectors (and I saw you are actually advised) inside of thunks, containers and other places where those options have sense without being dependent on the internal structure of your React components.

Gonna close this issue as I never had time to update the docs and won't have time in the future. Feel free to reopen if anyone feels strongly about this issue ✌


Fix compiler warning in Unity 2018+

CS0649: field is never assigned to, and will always have its default value null

Merged, thank you!


cannot down load model file

It seems the model files cannot be downloaded.
(detgpt) itadmin@k8s172:~/DetGPT/output_models$ bash download.sh all
downloading robin-7b
--2023-05-12 10:22:51--  http://lmflow.org:5000/robin-7b.tar.gz
Connecting to <IP_ADDRESS>:8080... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2023-05-12 10:23:51 ERROR 503: Service Unavailable.
tar (child): robin-7b.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove 'robin-7b.tar.gz': No such file or directory

Hi, are you using proxy?
The download service is working well on my side.
Thank you.

Sorry, it is robin-13b.tar.gz not found.

Hi,
robin-13b-v2-delta.tar.gz has been uploaded to http://lmflow.org:5000/robin-13b-v2-delta.tar.gz

Hi, Thank you for your interest in our project. It seems that it is caused by the internet connection. Are you using proxy? The download service is working well on my side. For example, you can open a browser and type in http://lmflow.org:5000/robin-7b.tar.gz, the checkpoint will be downloaded automatically.
Thank you.

404