[Snyk] Upgrade astro-icon from 1.1.0 to 1.1.1

Snyk has created this PR to upgrade astro-icon from 1.1.0 to 1.1.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.

The recommended version was released on 22 days ago.

Release notes

Package name: astro-icon

1.1.1 - 2024-08-16Patch Changes

#219 f18661fc47da152e7555d24b23143f0b481c852b Thanks @ Harry-Ross! - Added better typings for height, width and size to accept non-number values (i.e. 2 rem)

#203 a4ff8736965214e16ce0b72364f43b3a4973f281 Thanks @ natemoo-re! - Fixes an issue where collections would not be updated when the dev server was automatically restarted

#230 7b11f6b0fb8977bfa35305f48ce70e9bc04ea07a Thanks @ frankievalentine! - Fixes a type definition issue caused by outdated dependency

1.1.0 - 2024-02-02Minor Changes

#200 d7528f61484d5b60108cbe00bc5fb856766688d0 Thanks @ natemoo-re! - Adds support for the is:inline directive, which bypasses automatic sprite optimization and directly embeds the plain SVG.

    from astro-icon GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

👷 Deploy Preview for cerulean-empanada-70eddc processing.

Name
Link

🔨 Latest commit
65e4ca01abe1240c7aff38a20d7c4683b4fe83b8

🔍 Latest deploy log
https://app.netlify.com/sites/cerulean-empanada-70eddc/deploys/66dc90fe0ae2360008750a20


Invalid pointer operation

Describe the bug
"Invalid pointer operation" is written in the editor. No response in the Answer box in the ChatGPT dialog window.
To Reproduce

write "cpt:Create a full unit in Delphi including a class to create an XML file.:cpt" in the editor window
Press CTRL+ALT+SHIFT+A
"Invalid pointer operation" is written in the editor.

In the ChatGPT dialog, there is no response in the Answer box when asking a question.
Expected behavior
Screenshots
Desktop (please complete the following information):

Windows 11 Pro Version 22H2
Chrome Version 111.0.5563.147
Delphi 11.2 Version 28.0.46141.0937

Smartphone (please complete the following information):
Additional context

Fixed.


Panic on deploy

When I run the deploy command I get the follow panic message.
My site is generated using hugo and generates clean urls
I've put the panic and stack trace below.
I believe whatever is parsing the CSS and JS files are not reading the URLs correctly. They are set to all start with a / but I think it is ignoring them and then looking in the relative path for them.
panic: open public/2015/02/09/static-sites-using-hugo/css/syntax.css: no such file or directory

goroutine 16 [running]:
runtime.panic(0x35e1c0, 0xc2080b5710)
	/Users/zackbloom/g/1.3.1/src/pkg/runtime/panic.c:279 +0xf5
main.must(0x3cbf80, 0x0, 0x1010930, 0xc2080b5710, 0x0, 0x0)
	/Users/zackbloom/go/src/github.com/eagerio/stout/src/utils.go:82 +0x61
main.hashFile(0xc20803ea80, 0x38, 0x0, 0x0, 0x0)
	/Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:48 +0x15a
main.hashFiles(0xc2080d8200, 0x14, 0x20, 0x0, 0x0)
	/Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:66 +0xfd
main.Deploy(0x3db770, 0x1, 0x7fff5fbff7d6, 0x6, 0x3dbe30, 0x2, 0x3db170, 0x0, 0x3db170, 0x0, ...)
	/Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:552 +0x13bc
main.deployCmd()
	/Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:605 +0xed
main.main()
	/Users/zackbloom/go/src/github.com/eagerio/stout/src/cli.go:39 +0x117

goroutine 19 [finalizer wait]:
runtime.park(0x21bb0, 0x624578, 0x623009)
	/Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x624578, 0x623009)
	/Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
	/Users/zackbloom/g/1.3.1/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
	/Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1445

Any chance your sites files are in a public repo where I can take a look?

On Jul 28, 2015, at 5:30 PM, Aran Wilkinson<EMAIL_ADDRESS>wrote:
When I run the deploy command I get the follow panic message.
My site is generated using hugo and generates clean urls
I've put the panic and stack trace below.
I believe whatever is parsing the CSS and JS files are not reading the URLs correctly. They are set to all start with a / but I think it is ignoring them and then looking in the relative path for them.
panic: open public/2015/02/09/static-sites-using-hugo/css/syntax.css: no such file or directory
goroutine 16 [running]:
runtime.panic(0x35e1c0, 0xc2080b5710)
/Users/zackbloom/g/1.3.1/src/pkg/runtime/panic.c:279 +0xf5
main.must(0x3cbf80, 0x0, 0x1010930, 0xc2080b5710, 0x0, 0x0)
/Users/zackbloom/go/src/github.com/eagerio/stout/src/utils.go:82 +0x61
main.hashFile(0xc20803ea80, 0x38, 0x0, 0x0, 0x0)
/Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:48 +0x15a
main.hashFiles(0xc2080d8200, 0x14, 0x20, 0x0, 0x0)
/Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:66 +0xfd
main.Deploy(0x3db770, 0x1, 0x7fff5fbff7d6, 0x6, 0x3dbe30, 0x2, 0x3db170, 0x0, 0x3db170, 0x0, ...)
/Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:552 +0x13bc
main.deployCmd()
/Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:605 +0xed
main.main()
/Users/zackbloom/go/src/github.com/eagerio/stout/src/cli.go:39 +0x117
goroutine 19 [finalizer wait]:
runtime.park(0x21bb0, 0x624578, 0x623009)
/Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x624578, 0x623009)
/Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/Users/zackbloom/g/1.3.1/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1445
—
Reply to this email directly or view it on GitHub.

@zackbloom I've put the code here aranw/blog

@zackbloom Had a chance to look into this?

Just made a new release which fixes this issue.  Thanks!
https://github.com/EagerIO/Stout/releases/tag/v1.1.1


PIR not working on ESP8266

Category

[?] Hardware / PCB
[X ] Software / ESPHome

Version of ESPHome / AIOsense
ESPHome 2023.3.2 / 2.0.0 board
Describe the bug
The esp8266 (D1 Mini) PIR pins are configured incorrectly as reported by esphome, GPIO13 does not have an internal pulldown
Failed config

binary_sensor.gpio: [source /config/esphome/.esphome/packages/6d7fe4d6/esphome/packages/sensors/pir.yaml:6]
  platform: gpio
  name: PIR
  id: motion_pir
  pin:
    number: GPIO13

    Only GPIO16 supports pulldown.
    mode: INPUT_PULLDOWN
  device_class: motion
  filters:
    - delayed_on: 0s
    - delayed_off: 1s

I managed to fix 2 other small bugs for the esp8266 (D1 Mini), I don't know if i should send a PR.

ESP8266 does not have a CPU Temp sensor: https://github.com/CappyT/AIOsense/commit/61ed64bc3006f23a878852ec2ce1a7103066be0a
ESP8266 led is inverted: https://github.com/CappyT/AIOsense/commit/4c86ee17a23e1bcfa27a9f8556a6ca67bb76b7f6

How can I fix the PIR sensor? I don't know much about electronics, I just know enough about ESPHome

You're welcome :)
ESP8266 are not in use at my flat, so I haven't test it yet. I've fixed the led and CPU Temp sensor based on your changes :)
I've also fixed the PIR (9111b0f). A pulldown is not really necessary. It's only there because someone has problems with there PIR (#52).
You can try all fixes by changing the refresh interval to 1s and recompile.
packages:
  remote_package:
    url: https://github.com/schluggi/AIOsense
    ref: main
    refresh: 1d  # <--- change it to "1s"

You're welcome :)
ESP8266 are not in use at my flat, so I haven't test it yet. I've fixed the led and CPU Temp sensor based on your changes :)
I've also fixed the PIR (9111b0f). A pulldown is not really necessary. It's only there because someone has problems with there PIR (#52).
You can try all fixes by changing the refresh interval to 1s and recompile.
packages:
  remote_package:
    url: https://github.com/schluggi/AIOsense
    ref: main
    refresh: 1d  # <--- change it to "1s"

Thank you for the quick fix, however the PIR stays always on... this is my main file:
`substitutions:
name: "aiosense-gabry"  # lowercase only, have to be unique
friendly_name: "AIOsense Camera Gabry"  # device name and entity prefix
version: "2.0.0"  # your AIOsense version
bh1750_update_interval: 5s
bmex80_address: "0x76"  # for some modules you have to change it to 0x77
bmex80_offset_humidity: "0"
bmex80_offset_temperature: "0"
bmex80_update_interval: 30s
bme680_bsec_sample_rate: lp # lp -> 3s, ulp ->5min
bme680_bsec_temperature_offset: "0"
ld2410_max_distance_move: 4.5m
ld2410_max_distance_still: 4.5m
ld2410_timeout: 5s
pir_delayed_off: 1s
pir_delayed_on: 0s
pir_pin_mode: "INPUT"
packages:
remote_package:
url: https://github.com/schluggi/AIOsense
ref: main
refresh: 1s
files:
- esphome/packages/config/base.yaml
  # --- select your board ---
  # - esphome/packages/config/esp32-c3-mini.yaml
  # - esphome/packages/config/esp32-d1-mini.yaml
  # - esphome/packages/config/esp32-s2-mini.yaml
  - esphome/packages/config/esp8266-d1-mini.yaml

  # --- select your sensors ---
  - esphome/packages/sensors/bh1750.yaml
  # - esphome/packages/sensors/buzzer.yaml  # AIOsense >= 2.1.x only
  - esphome/packages/sensors/bme280.yaml  # enable for bme280
  # - esphome/packages/sensors/bme680.yaml  # disable for bme280
  # - esphome/packages/sensors/bme680_bsec.yaml  # does not work yet
  - esphome/packages/sensors/occupancy.yaml  # only if pir & mmWave are on
  - esphome/packages/sensors/pir.yaml
  # - esphome/packages/sensors/rgb_led.yaml  # esp32-c3-mini only
  - esphome/packages/sensors/led.yaml  # d1-mini only

  # --- select your radar sensor ---
  # - esphome/packages/sensors/ld2410.yaml
  - esphome/packages/sensors/sen0395.yaml

Enable Home Assistant API
api:
encryption:
key: "ih3kU+z9htu/Toh8KE9r7vrxQd3+faKuyeLwfPiP6MQ="
ota:
password: !secret password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: <IP_ADDRESS>
subnet: <IP_ADDRESS>
gateway: <IP_ADDRESS>
bluetooth_proxy:`

After some digging, the problem boils down to the pulldown input. It needs to be there to prevent "floating" (idk if it's the correct term in electronics). My board has this kind of issue.
I'd leave this open (feel free to close it if you want), but I would try to put a physical resistor in the board for ESP8266 compatibility, I'll let you know how it will go.

Closing because of inactivity


Win10 system path error

Win10 system path error

A less a slash \

See issue #26, There i posted the solution.
Same solution
If you faced any other problem DM me on Twitter JRudransh


Chinese username registration problem

The Chinese user name registration input box prompts Username Available, but when I click to register, I still have a problem with the user name input.

Please be more specific. What is your error?

Inconsistent with the requested format. When I register in English, I will not display the registration after clicking Register to refresh.


new chain_config param: action return value limit

Change Description

Consensus change.
Currently action return values are limited only by CPU and max wasm memory which is 20MB.
We need to provide node operators a way to prevent users from filling their SHiP logs with noise.
This change includes following changes:

adding max_action_return_value_size to chain_config. default value is 256 bytes.
this config value is used in set_action_return_value host function:
adding wql-max-action-return-value command line option to rodeos with default value of 20MB.
it is used in set_action_return_value from rodeos/callbacks/action.hpp

Change Type
Select ONE

[ ] Documentation

[ ] Stability bug fix

[ ] Other

[ ] Other - special case

Consensus Changes

[x] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

ship changes and rodeos changes look correct


cannot get authorization code (error 500)

I followed all the instructions to setup the google assistant, but I get stuck when I  need to receive the credentials. I'm using a ubuntu 16.
google-oauthlib-tool --client-secrets client_secret_496208924159-5lrts1i88n15p1juu1l7a2em1t798hdq.apps.googleusercontent.com.json --scope  https://www.googleapis.com/auth/gcm --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
But I get an "Error 500" when I go to the web page. Also removing --headless and letting the terminal open the browser doesn't change anything.
Any clue? Thanks!

Can you generate a new client secret file? That one may be invalid for some reason. Where did you download it?

Can confirm that this is happening to me as well on Raspberry Pi 3 / Raspbian Stretch.
Was running through the instructions at https://developers.google.com/assistant/sdk/guides/library/python/, and getting the oauth credentials worked perfectly on 8/1/2018 (maybe 8/2/2018). I had to do a re-install of the OS and decided to re-run the tutorial from the beginning with a new project on 8/3/2018 and have been getting Error 500 ever since.
What I've tried:

Deleting the developer project and starting from scratch two times. Got error 500 both times.
Reinstalled the whole OS (to try and remove any possible bad cache issues), deleted the project and started again. Got error 500 again.
Double-checked the permissions to make sure the Assisstant API was enabled.
Tried everything from a browser on the device (to make sure the JSON wasn't getting corrupted on copy from the windows side where I had originally downloaded the client secret.json.)
Spot-checked the client secret json to check for bogus characters
Tried removing the "https://www.googleapis.com/auth/gcm" scope from the request

None of the above worked. The only time I got something other than an error 500 was when I accidentally tried running google-oauthlib-tool when I had deleted a project before attempting another clean run-through. In that case it was an error 401 (IIRC) "Project Has Been Deleted", which made sense.
I'm kind of new to this, so I'm out of ideas ATM.
Oh, and the client scret json came from the device model registration page.

Same for me on Armbian

Thanks for your fast reply. I followed the steps of the official docs here https://developers.google.com/assistant/sdk/guides/service/python/embed/register-device . I didn’t change the file name and I restarted from scratch two times to no avail (also deleted the project to be sure). I can send the generated link tomorrow if that can help.

On 4. Aug 2018, at 00:15, Nick<EMAIL_ADDRESS>wrote:
Can you generate a new client secret file? That one may be invalid for some reason. Where did you download it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Same her in Netherlands, thought i was doing something wrong, changed/re-did everything in different accounts and even reinstalled the pi from scratch.

This is the url I get with the command:
`google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk-prototype \

  --save --headless --client-secrets client_secret_496208924159-5lrts1i88n15p1juu1l7a2em1t798hdq.apps.googleusercontent.com.json`

https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=496208924159-5lrts1i88n15p1juu1l7a2em1t798hdq.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fassistant-sdk-prototype&state=EhCvlhhBeo4sbbtjfhPI0sIOFNbJVy&prompt=consent&access_type=offline
@Fleker please let me know if you need the client file, I can pm it to you.

Same here. Raspbian Stretch Lite on pi zero.

Same here. Raspbian Stretch on pi 3b+.

@gismoranas and @thatguytim when I try to open your links in a browser, I see your project but cannot sign in. I get the error
com.google.security.lso.protocol.oauth2.common.OAuth2ErrorException: disabled_client: This app is not yet configured to make OAuth requests. To do that, set up the app’s OAuth consent screen in the Google Cloud Console.
	at com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.produceAggregateScopes(ContinueAuthProducer.java:119)
	Suppressed: CriticalInputFailure: com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.produceUpdatedApprovalState failed while trying to inject @com.google.apps.framework.producers.PrivateVisibility(module=com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.class) com.google.security.lso.auth.meta.scope.ImmutableScopeSet
	Suppressed: CriticalInputFailure: com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.produceHasIdentityConsent failed while trying to inject<EMAIL_ADDRESS>module=com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.class) com.google.identity.boq.federated.approvalstate.ApprovalState
	Suppressed: CriticalInputFailure: com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.produceAuthResponse failed while trying to inject<EMAIL_ADDRESS>module=com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.class) java.lang.Boolean
	Suppressed: CriticalInputFailure: com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.produceAutoApproveResponse failed while trying to inject<EMAIL_ADDRESS>module=com.google.identity.boq.federated.userauthorization.service.continueauth.ContinueAuthProducer.class) com.google.identity.boq.federated.approvalstate.ApprovalState
	Suppressed: com.google.common.labs.concurrent.LabsFutures$10<EMAIL_ADDRESS>com.google.identity.federated.userauthorization.ContinueAuthResponse} failed: com.google.security.lso.protocol.oauth2.common.OAuth2ErrorException: disabled_client: This app is not yet configured to make OAuth requests. To do that, set up the app’s OAuth consent screen in the Google Cloud Console.

Have you setup the OAuth consent screen? It should be in the Credentials section

Configuring the OAuth consent screen did it for me. Now, where is that in the instructions? Thanks!

@Fleker, that also got me running. I don't remember seeing "OAuth Consent Setup" in the tutorial either, so maybe the "fix" is either a small documentation update or I get myself some reading glasses. 😃
Either way, thanks for the help getting us back up and running.

thank YOU @bmesnard

@Fleker After setting up the OAuth consent screen, it worked. Thank you so much!

I have same error here. Anybody can help me to fix this?? I am going to setup a Google Assistant on my Pi

Hello, I have fixed this error. I have created an OAuth 2.0 client IDs, and recheck again. it worked for me.
Image:
https://uphinhnhanh.com/image/3mWGAv

@masterpro0415
Thanks for sharing.
I have created the new .json file as per given link and download and use in the authorization process. it generates the key.

[https://uphinhnhanh.com/image/3mWGAv]

We have added additional documentation about setting up an OAuth consent screen, which should resolve folks' issues.
https://developers.google.com/assistant/sdk/guides/service/python/embed/config-dev-project-and-account


[Bug] Module instance icons in new IDE tabbed view

Is this closed @ashit-rath ?

Closing this issue; Fixed here


Add motivation section.

we can also include motivation quotes, whenever the user call getLines with 'mv' as an arguments is should return motivational quotes only or we can make a whole new function for that.

Can I work on that?

actually @roshaan005 this feature is not approved by owner yet.

alright , hope it does get approved because it is a good feature and maybe we can add a few other categories as well to expand the package

The idea sounds good!
Hey, @roshaan005 and @saif-malik-01 would you guys want to work on this?

Yes please

@roshaan005 you can work on seperate section eg alone, anger etc. And make a pr for the same.

@AnirudhPanda can you please add a hacktobefest and any other relevant tag on this.

@saif-malik-01 sure I ll do that

Yes
Plan it accordingly and also test your codes!!

where can I find the link to the server?

where can I find the link to the server?

https://discord.gg/gmznQDTR

hey if i push this code before @roshaan005  and @saif-malik-01 , would u take it as pull request .

Is this issue done then!!

Yep


can't compile with angular 8/ivy

attempting to compile with ivy enabled on angular 8 creates this error:
Cannot read property 'id' of undefined
    at registerNgModuleType (core.js:23017)
    at core.js:23028
    at Array.forEach (<anonymous>)
    at registerNgModuleType (core.js:23028)
    at core.js:23028
    at Array.forEach (<anonymous>)
    at registerNgModuleType (core.js:23028)
    at core.js:23028
    at Array.forEach (<anonymous>)
    at registerNgModuleType (core.js:23028)

disabling ivy or getting rid of the package solves the issue. any chance a compatible version will be released soon for angular 8 with ivy?

Hi @JohanMouritsen! This directive was meant to be used with AngularJS and although I thought about migrating it to Angular, I haven't found the time.


Update verified.json

Verify Main space

@metrox-eth Could you verify the space?

This space doesn't qualify to become a verified space, several issues here:

Doesn't have an avatar
Doesn't have a minimum of 5 closed proposals
Doesn't have a substantial amount of follower (initially the requirement was 500, we've dropped it since it won't allow smaller DAOs to get verified, but I won't verify a space with 4 followers)
The space doesn't respect the discord validation process, doing the PR themselves and generating conflict.


GitHub action: provide deploy script

Situation
There are many steps necessary to deploy the github action

npm install
npm run build
npm test
manual check only index.js has been changed

if others, deployment is (potentially) not okay
if index.js is missing it is not a deployment
means may only be index.js

add all (means only index.js) to stage
commit with deployment info
push to remote repo

Wanted
An easy way to automate this.
Solution
Provide a ./deploy.sh script which does automate this.

We have here a .github/workflows/release-github-action.yml which automates this.
Will remove my changes and close this issue.

The README file shall have information about release workflow.


Fix path to start-slave.sh script in docs

Signed-off-by: Thomas Graves<EMAIL_ADDRESS>

build


qa_crowbarsetup: re-order swift/cinder proposal creation

cinder can not be deployed after swift,
because swift already grabs all disks on a node
partial revert of 41de7530e7c5afd4c56a81bbcc5c13b7d44cdddf

The alternative would be to change the cinder raw case to local file backend.

:+1:

but isn't it the same problem, that now cinder grabs all the disks and then swift cannot be deployed?

The alternative would be to change the cinder raw case to local file backend.

that would be introduced by https://github.com/MaximilianMeister/automation/commit/001237486bc25981e8ccbb7684bf3061529d5f90 as part of https://github.com/SUSE-Cloud/automation/pull/262


Unable to perform the initial migrate of a djangocms project when djangocms_blog is included.

Django cms blog == 0.6.3
djangocms==3.2.1
django==1.9.2
On a fresh project, you cannot run the initial python manage.my migrate for DjangoCMS when djangocms_blog is included in the INSTALLED_APPS. It looks similar to an issue with the django debug toolbar:
https://github.com/django-debug-toolbar/django-debug-toolbar/issues/457
https://github.com/divio/django-cms/issues/2561
In those cases, the issue had to be fixed in the debug toolbar code, so I'm guessing a similar fix may need to be done in the cms blog code.
On my local dev, I wanted to start from a fresh database. So i deleted my existing one and ran the migrate command, I expected it to create all the tables, instead it failed with the following message:
python manage.py makemigrations
/dir/site-packages/cms/forms/fields.py:28: RemovedInDjango110Warning: `PageSelectFormField._has_changed` method should be renamed `has_changed`.
  class PageSelectFormField(forms.MultiValueField):

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/dir/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/dir/site-packages/django/core/management/__init__.py", line 345, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/dir/site-packages/django/core/management/base.py", line 348, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/dir/site-packages/django/core/management/base.py", line 398, in execute
    self.check()
  File "/dir/site-packages/django/core/management/base.py", line 426, in check
    include_deployment_checks=include_deployment_checks,
  File "/dir/site-packages/django/core/checks/registry.py", line 75, in run_checks
    new_errors = check(app_configs=app_configs)
  File "/dir/site-packages/django/core/checks/urls.py", line 10, in check_url_config
    return check_resolver(resolver)
  File "/dir/site-packages/django/core/checks/urls.py", line 19, in check_resolver
    for pattern in resolver.url_patterns:
  File "/dir/site-packages/django/utils/functional.py", line 33, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/dir/site-packages/django/core/urlresolvers.py", line 417, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/dir/site-packages/django/utils/functional.py", line 33, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/dir/site-packages/django/core/urlresolvers.py", line 410, in urlconf_module
    return import_module(self.urlconf_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/bryanmarty/queercon/queercon/urls.py", line 27, in <module>
    url(r'^admin/', include(admin.site.urls)),
  File "/dir/site-packages/django/contrib/admin/sites.py", line 303, in urls
    return self.get_urls(), 'admin', self.name
  File "/dir/site-packages/django/contrib/admin/sites.py", line 287, in get_urls
    url(r'^%s/%s/' % (model._meta.app_label, model._meta.model_name), include(model_admin.urls)),
  File "/dir/site-packages/django/contrib/admin/options.py", line 561, in urls
    return self.get_urls()
  File "/dir/site-packages/cms/admin/pageadmin.py", line 151, in get_urls
    url_patterns += super(PageAdmin, self).get_urls()
  File "/dir/site-packages/cms/admin/placeholderadmin.py", line 164, in get_urls
    from cms.urls import SLUG_REGEXP
  File "/dir/site-packages/cms/urls.py", line 20, in <module>
    urlpatterns = get_app_patterns()
  File "/dir/site-packages/cms/appresolver.py", line 209, in get_app_patterns
    current_site = Site.objects.get_current()
  File "/dir/site-packages/django/contrib/sites/models.py", line 65, in get_current
    return self._get_site_by_id(site_id)
  File "/dir/site-packages/django/contrib/sites/models.py", line 35, in _get_site_by_id
    site = self.get(pk=site_id)
  File "/dir/site-packages/django/db/models/manager.py", line 122, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/dir/site-packages/django/db/models/query.py", line 381, in get
    num = len(clone)
  File "/dir/site-packages/django/db/models/query.py", line 240, in __len__
    self._fetch_all()
  File "/dir/site-packages/django/db/models/query.py", line 1074, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/dir/site-packages/django/db/models/query.py", line 52, in __iter__
    results = compiler.execute_sql()
  File "/dir/site-packages/django/db/models/sql/compiler.py", line 848, in execute_sql
    cursor.execute(sql, params)
  File "/dir/site-packages/django/db/backends/utils.py", line 79, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/dir/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/dir/site-packages/django/db/utils.py", line 95, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/dir/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/dir/site-packages/django/db/backends/sqlite3/base.py", line 323, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: django_site

I was able to do the initial  migration by removing djangocms_blog from the INSTALLED_APPS, and then adding it back and running migrate a second time.

@bxm156 this is actually a bug in django-cms . Is fixed in divio/django-cms#5012 which will be released in upcoming 3.2.2
This bug is triggered when any apphook-enabled application is added in INSTALLED_APPS

Oh, good to know. Thanks!


Elastic IP PhysicalResourceId should always be its public IP

According to the CloudFormation Ref docs, the Ref return value (and physical ID of the resource) for an Elastic IP is its public IP address.

Coverage remained the same at 93.429% when pulling d90632063a48d30ac5142eda631215e4d2f5cdc8 on GoodRx:cloudformation-eip-physical-id into d3df810065c9c453d40fcc971f9be6b7b2846061 on spulec:master.

Yes, thanks for fixing that!


RPI: compilation on latest raspbian image (debian stretch based) stops with an error

Hello,
compiling the latest snapshot 2.3.1 on a raspbian pi 3 with the latest raspbian image (based on debian stretch) ends with an error. With the last jessie-image from july 17 everything works fine.
Mavens output is attached: RobotArdu_failure_stretch.txt
Cheers corvus-albus
Infos about my enviroment:
$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
--> you get the same error with 'openjdk version "1.8.0_141"'.
$ mvn --version
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Maven home: /opt/apache-maven-3.5.0
Java version: 1.8.0_65, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "4.9.35-v7+", arch: "arm", family: "unix"
$ uname -a
Linux ORServer-Corvi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
$ cat /proc/device-tree/model
Raspberry Pi 3 Model B Rev 1.2
$ cat /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui

Compilation for all robots (except C4EV3) works on stretch and buster.


Convert jest-preview to monorepo using Nx

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

Sometimes forgot to build transforms before running test/ demo
Avoid the leak implementation of PostCSS via postcss.config.js (parent traversal, see website/postcss.config.js and examples/svelte/postcss.config.cjs for more)
Better structure code base
Leverage local caching feature of nx
Leverage cloud caching feature of nx

Describe the solution you'd like

Use nx

Describe how should jest-preview implements this feature
Separate to different packages

src/ jest-preview
cli
demo
examples (to link to jest-preview in all examples)
tests (new ones, to contain e2e tests, for e.g: sass < 1.45.0)
docs-e2e-testing
website

Describe alternatives you've considered

turborepo

Additional context

Lerna is dead — Long Live Lerna
Reference: https://github.com/strapi/strapi/pull/13664

TODO for @nvh95
Add other packages:

jest-preview-css or @jest-preview/css
jest-preview-file or @jest-preview/file

They will be dependencies of jest-preview.
Reason: Keep jest-preview more focused on actually PREVIEWING functionality.
We can also consider adding a dedicated package test-preview-server (TODO: Think a better name) to support other frameworks than Jest in the future.


Add some simple suffix rules for Finnish

This PR adds some generated suffix rules for Finnish language, as discussed in #19.
All these rules have an accuracy above 90% as evaluated on the Finnish language dictionary included with Simplemma. Collectively they cover around 6% of the dictionary entries.

Hi @osma, thanks for the PR!
Everything looks good but I hardly see any change on the benchmark (+0.001 without pronouns, the rest unchanged). At this point I'd say there isn't any incentive to write a lot of rules because the vocabulary-based approach is already working OK.
However it could be that my benchmark (on this dataset, with the quick and dirty script in tests/udscore.py) is simply too blunt and my understanding of Finnish morphology too shallow.
If you wish to run a deeper analysis I can recommend the following approach. It is dedicated to Finnish and uses various corpora and different metrics, my guess is that it could catch fine-grained changes and ultimately tell us if we should go in that direction:
https://github.com/aajanki/finnish-pos-accuracy
If you're up for it you could tinker on this PR with the benchmark above until you reach conclusive results, what do you think?

Thanks for testing the PR @adbar !
I'm not surprised that the difference is minimal. As you know, my goal wasn't to improve benchmark results but to be able to reduce the size of the dictionary. I don't have information on the frequency of the dictionary entries in real world texts but it's likely that the word forms that these rules target are quite rare in practice.
Let me try another set of rules, this time making many more of them (but still with >=90% accuracy) and storing them in an external dictionary instead of inline in rules.py. Those might be able to notch up the benchmark results a bit more. Still, if you're aiming to improve the benchmark, I'm not convinced that these kinds of data-driven rules are the best way to go. You'd need a much more intelligent set of rules, but that goes beyond the scope of Simplemma.

Oh, forgot this one:

If you wish to run a deeper analysis I can recommend the following approach. It is dedicated to Finnish and uses various corpora and different metrics, my guess is that it could catch fine-grained changes and ultimately tell us if we should go in that direction:
https://github.com/aajanki/finnish-pos-accuracy

Thanks for the tip, I wasn't aware of this benchmark and it also seems to include tools that hadn't heard about. I really like the visualization with F1 scores on the X axis and speed (tokens per second) on the other axis! Simplemma seems to do very well in its own niche, with very high performance but lower quality lemmatization results.

Let me try another set of rules, this time making many more of them (but still with >=90% accuracy) and storing them in an external dictionary instead of inline in rules.py.

OK let's try this! In the meantime I'll upload a version of the Finnish dictionary with entries limited to a maximum of 16 chars.

I expanded the number of rules to 1631. This is the largest set of rules I've generated so far, with each rule having >=90% accuracy on the dictionary entries. Each rule matches a minimum of around 280 dictionary entries. It would be possible to generate even more rules by reducing that threshold, in case we want to expand further.
I put them in a file called fi-rules.plzma right next to the language-specific dictionaries. I'm not sure this is the best place and the best format (lzma compression is maybe a bit overkill for such a small file), but you have to start somewhere.

The rules have a small positive effect on my benchmark, more noticeable than the smaller set of rules, about +0.003.
I added the reduced version of the Finnish dictionary to the main branch of the repository, the corresponding data file is now about 30% smaller than in version 0.8.2.
Due to a lack of time and knowledge I cannot work extensively on Finnish. From there I see two options:

maybe the current size reductions are enough and your rules can be used to add a bit of accuracy?
or maybe you wish to experiment with the benchmark above to measure the effect of further rules and dictionary shrinking?

I'm not sure how to interpret your reaction, I'll leave the pull request open and I'd be glad to integrate future improvements!

Sorry for the lack of response. I got distracted by other things & was on vacation.
My original motivation was to reduce the memory usage of the Finnish model. The reductions you've now implemented (removing multiword keys and long words) have accomplished that at least partly. If we want to reduce even further, the only way I see is to drop the words from the dictionary that were covered by the generated rules. But you didn't seem very keen on doing that.
The very small increase in accuracy is not, IMHO, a good enough reason to keep the rules, at least not these kinds of machine-generated rules. There is a maintenance overhead in both the rules.py code and the generation rules - I used a Colab notebook for prototyping, but it's not a good long term solution so the rule generation code should probably be put into the Simplemma repository itself.
In summary: I think this was a useful experiment, we found things to improve (dropping the multiword keys in not just Finnish but other languages as well), the memory usage should now be reduced (I didn't benchmark it though). The rules in this form, though, didn't turn out to be such a great idea. I think it's time to close this PR. The rules can always be revisited if we come up with better ideas.

Thanks for your message, I respect your decision. Let's keep the idea in mind and talk about it in the future if necessary.

Hi @osma, I picked up the idea where we left off and I tested the rules against the language data for some languages. This had two consequences (see last commits):

I reduced the number of rules when they appeared to generate noise
I then used the resulting (smaller) number of efficient rules to skip entries in the word pairs, thus reducing dictionary size as expected – interestingly it doesn't show that much in the compressed data because these are frequent, regular phenomena and thus they compress well...

The first implementation of this idea for Finnish can be found below, I wrote rules based on common noun forms and kept only the ones which didn't interfere too much with the data. The impact on accuracy is minimal and the total number of entries has been reduced by about 10%.
Feel free to suggest further improvements if something strikes your eye:
https://github.com/adbar/simplemma/blob/fd93714b84120f6ebdb53aab2b8955f7a5f2a764/simplemma/rules.py#L195

Hi @adbar , wow - this is great news! Thank you for continuing the work! I had already sort of given up on the idea of reducing the dictionary size, which was my original motivation with the rules, since you seemed to resist going in that direction.

Hi @osma, I guess I needed some time to get used to the idea since the slightly smaller memory footprint had consequences in terms of accuracy. I'm happy I could use your input to try to strike a balance. We can talk about further refinements in the future if the changes have a negative impact on your data or if you see a greater potential.


Ensure the default FTP passive settings to false

The default passive setting has been changed between Ruby 2.2 and 2.3

Sources:
Ruby 2.2: https://docs.ruby-lang.org/en/2.2.0/Net/FTP.html - contains no default_passive, only passive set to false by default
Ruby 2.3: https://docs.ruby-lang.org/en/2.3.0/Net/FTP.html - default_passive set to true by default.

Thanks for the PR @dalpo !


Update the runtime image to support .NET Core 1.1

Update the image to support .NET Core 1.1.

@ivannaranjo , I would like to know that already has official runtime image for .NET Core 1.1 or we should create self container? Thanks for your reply!

We don't have yet an official 1.1 image, we're working on it. I hope we can get one out for you guys soon. What we have today is at gcr.io/google-appengine/aspnetcore:1.1, but it not officially supported.

The 1.1 support is now in, haven't done a broad announcement yet. The VS extension will complain about it, but the support will be in the next release.


[CI Problem] Failure while downloading files from S3.

Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking.  You are always welcomed to post on the forum first :smile_cat:
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
Branch/PR Failing
32d16eb
Jenkins Link
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/3606/pipeline
Flakiness
No

Fixed by #12221


May induce license violations

This document says 'Azure activation requires a connection to Azure KMS only.'
However, from Product Terms, KMS activation is allowed on Azure Goverment only. The users need to use Azure AD-based activation on Azure. Please update the note that user should use Azure AD-based activation.
https://www.microsoft.com/licensing/terms/en-US/productoffering/WindowsDesktopOperatingSystem/EAEAS

Windows 11 Virtualization on Azure
Customers with Windows 11 Enterprise Per User SLs, Windows 11 Education Per User SLs, or VDA Per User SLs using Azure AD-based activation on supported editions may install the Windows 10 Creators Update or later version software on a virtual machine running in Customer's Microsoft Azure accounts. Each Licensed User may access up to four instances of the software. Azure Government customers may use KMS activation in lieu of Azure AD-based activation. When configuring the image(s) on Microsoft Azure, Customers must indicate their use of the multitenant hosting for Windows and adhere to other software configuration requirements available at https://docs.microsoft.com/windows/deployment/vda-subscription-activation. This section does not apply to Students receiving access to software through Student Use Benefit.

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

ID: 6443e532-640d-81c0-8215-b711bd1977d4
Version Independent ID: fc504984-91d7-b586-04ec-4c751fb48998
Content: Windows subscription activation - Windows Deployment
Content Source: windows/deployment/windows-10-subscription-activation.md
Product: windows-client
Technology: itpro-fundamentals
GitHub Login: @frankroj
Microsoft Alias: frankroj

@frankroj Please help us in resolving this issue. Thanks

Hello @jyama4ta. Can you make edits to the docs directly as you see fit. We will then review the changes and approve from there. Thank you.


Updating Aditya's personal page

Was not sure what news items to add during our group meeting on Oct 17th so I updated some words here and there in my bio.
Anyone can look and let me know how they feel! Or let me know if I should merge :)

On second thought, let me see if I have a CV somewhere...

Okay I added my CV so now I'm good on my end!

LGTM -- Feel free to merge!

Oh haha I don't have write access!


docs: Link source files from corresponding version

🎯 Goal
Describe why we are making this change
🛠 Implementation details
Based on https://semantic-release.gitbook.io/semantic-release/support/faq#how-can-i-use-a-npm-build-script-that-requires-the-package.jsons-version
🎨 UI Changes
Add relevant screenshots

:tada: This PR is included in version 3.0.0-theming2.8 :tada:
The release is available on:

npm package (@theming2 dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ Bofrost.be has degraded performance

In c3c1534, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1002 ms

Resolved: Bofrost.be performance has improved in 54fde6a.


[modify] select_page column : select page with modal form

Coverage decreased (-5.8%) to 79.191% when pulling 975130d51c7c51840acf4e9d1571464253122bb9 on pr-select-page into 3b6e350185c5be859066ee922eae22479ac27bbc on master.


Make filename matching more robust

Fix  #5046

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

I think we should also modify one of the metadata files in the folder_based_builder tests to make sure "./" is ignored now in the file_name

@mariosasko what do you mean here? I'm not sure which metadata file I should modify here


Add module support

Suppose you have multi modules within a project.
Once you set the lang path for that module and change the working module, then you should change the configuration.
This is very helpful when you have only one front module but it would be great when it support the lang path per module.

Interesting case. Maybe #196 could be a possible solution for this.
I would suggest to try the $MODULE_WORKING_DIR$ variable for the locales directory.
Will be shipped in v4.4.0. I would be happy to hear your feedback if this will work then.

Still the path from the root would be different but reasonable.
I could set the same path from the module root, so I will try when it release.

I have tested the variable but it did not work.
I think the changes only work with the project variable.
https://github.com/marhali/easy-i18n/pull/196/files#diff-437ce30364b777b7973eeb444f49a84425189c4135c8d209dad164a36c6c318fR61-R62


Feature/mqtt updates

Updates the miniconf client and traits, updates the minireq client, and updates the minimq telemetry client.
The refactor should lessen the stack usage of the application, as we serialize the MQTT traffic into preallocated, static buffers now.
This also enables us to quickly switch over to using a DNS-based broker scheme, but I want to hold off on that for another PR. The Booster main board settings structure is running quite low on space (it only has 64 bytes), and I want to discuss where the broker hostname should be stored first.

I'm seeing minireq misbehave quite a bit here. Let me investigate.

We can just use the MCU flash to store things like broker that are not per-channel.


Command does not effect incoming traffic

./bin/comcast --latency=300 --target-bw=150 --default-bw=150 --packet-loss=3%
I see that the incoming traffic is having no effect.

More information? Linux, BSD, Mac, Windows? Version?

Sorry, I did not get any notification for your comment, thus the delay..
Linux ubuntu 4.4.0-22-generic #40-Ubuntu

Looks like when running on linux, only outgoing traffic is blocked, incoming traffic is still enabled:
comcast --packet-loss=100% --target-port=80 --target-addr=<IP_ADDRESS>

it looks like tc doesn't do a very good job at ingress shaping, I don't think this is likely to be fixable. Most of the functionality has to do with how the kernel actually sends packets, meaning you're better off to put this on the egress side of things.


Monorepo npx failure and empty types

Thank you for working on kysely. I really love working with it.
I found a couple of issues with the codegen cli though: I have a monorepo and I wanted to run kysely-codegen in one of the packages, but it doesn't seem to find the dependencies:
$ DATABASE_URL="..." npx kysely-codegen --dialect mysql --log-level debug
• Loaded environment variables from .env file.
• Using dialect 'mysql'.
node:internal/modules/cjs/loader:1077
  const err = new Error(message);
              ^

Error: Cannot find module 'mysql2'

Please note I already added mysql2 as a dependency to that project.
$ cat package.json | jq '.dependencies.mysql2'
"^3.6.3"

Also, it looks like the dependency is in the root node_modules directory, which is most likely the issue.
Then I decided I would add the cli as a dev dependency to overcome the issue:
$ yarn add kysely-codegen --dev

The installation was successful, but running the CLI generated an empty db.t.ts file a couple of times. This is probably a duplicate of #91 .
$ DATABASE_URL="..." yarn kysely-codegen --dialect mysql --log-level debug --verify
• Loaded environment variables from .env file.
• Using dialect 'mysql'.
• Introspecting database...
  Found 55 public tables:
   - table1
   ...
   - table55
✓ Introspected 55 tables and generated ./node_modules/kysely-codegen/dist/db.d.ts in 502ms.
✨  Done in 1.19s.

It correctly listed all the tables from the database though. I removed and reinstalled the package, and that solved the issue.
P.S. I use node@18, <EMAIL_ADDRESS>and<EMAIL_ADDRESS>workspaces.

After further investigation and console.logs, it looks like it creates 2 db.d.ts files. One in the project node_modules and one in the root. The file in the root node_modules is empty, however, that one is being used in the project:
$ stat -f %z ./node_modules/kysely-codegen/dist/db.d.ts
14128
$ stat -f %z ../../node_modules/kysely-codegen/dist/db.d.ts
21


Listen for Deck delete events

We currently use onSnapshot that listens for changes to a given document. But this doesn't give us an event for a delete event.
We should change to a query snapshot listener so that we can capture delete events.
When a Deck is deleted (presumably by another user) the DeckEditor should display an alert that deck no longer exists.

We won't implement this feature for now.  The problem is that the collection query does not return anything because there are no changes. We could do a document read followed by the query, but this is getting too complicated.


[Feature Request] Allow specifying TLS configuration

Is your feature request related to a problem? Please describe.
The ability to specify and configure TLS options is documented (https://docs.temporal.io/docs/server/configuration/#tls) but not implemented in the charts
Describe the solution you'd like
Ability to configure and MTLS options in values.yaml
Additional context

The capability is just an incremental change over existing chart, hence I have not submitted a formal proposal.
I have an implementation that follows the outline of the mechanics described in the documentation (https://docs.temporal.io/docs/server/configuration/#tls) , and serves the use case . I will contribute a PR if the feature request is prioritized for implementation

Hi, I made a PR a long time ago but closed because they wanted to revamp the project ...
https://github.com/temporalio/helm-charts/pull/162

What is the chances the original proposed PR can be re-opened? This proposal is now closed, which leads me to believe nobody internal is working on it. https://github.com/temporalio/proposals/issues/42

I believe all aspects of this are now supported by the current chart. Please re-open if this is not the case and I will work with you to get whatever is missing sorted.


using enzyme to test react + typescript + mobx project but failed.

reproduce environment: https://codesandbox.io/s/64827zzxwn
in __tests__/Hello.test.tsx files, typescript reports an error:
Type '{ demoStore: DemoStore; }' is not assignable to type '(IntrinsicAttributes & typeof Hello & { children?: ReactNode; }) | (IntrinsicAttributes & Intrins...'.
  Type '{ demoStore: DemoStore; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<typeof Hello, any, any>> & Readonly<{ ch...'.
    Type '{ demoStore: DemoStore; }' is not assignable to type 'Readonly<typeof Hello>'.
      Property 'prototype' is missing in type '{ demoStore: DemoStore; }'.

I'm not sure what I did wrong. any suggestions would be appreciated.

Your code is correct, this is an error in the typings. Will be fixed in the next release.

Thanks!!


Feature/yousong lb selective redirect

这个 PR 实现什么功能/修复什么问题:
lbagent: decouple rule redirect from listener redirect
lbagent: standalone rate control between listener and its rules
lbagent: fix condition for "nothing to serve"
lblistener: make scheduler an optional arg on creation
climc: lblistener-create: make --scheduler an optional arg
lblistenerrule: allow creation even for redirect listener
lblistener: redirect: try avoid endless redirect
lblistener: allow turning on/off redirect
lblistenerrule: redirect: try avoid endless redirect
lblistenerrule: allow turning on/off redirect

是否需要 backport 到之前的 release 分支:
NONE
/cc @ioito @swordqiu @zexi @tb365
/area region
/area lbagent
/area climc

Codecov Report

Merging #6701 into master will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #6701      +/-   ##
==========================================
+ Coverage    7.14%    7.16%   +0.01%
==========================================
  Files         647      647
  Lines      109345   109339       -6
==========================================
+ Hits         7818     7829      +11
+ Misses     100929   100911      -18
- Partials      598      599       +1

Flag
Coverage Δ

#aFlag
7.16% <0.00%> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/loadbalancerlistenerrules.go
1.75% <0.00%> (ø)

pkg/compute/models/loadbalancerlisteners.go
1.26% <ø> (ø)

pkg/lbagent/models/haproxy.go
0.00% <0.00%> (ø)

pkg/cloudcommon/validators/validators_cert.go
39.77% <0.00%> (ø)

pkg/cloudcommon/cronman/cronman.go
53.95% <0.00%> (+5.11%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9307660...dad518d. Read the comment docs.


Store the result from mime_guess statically at compile time?

The examples all show using mime_guess at runtime while serving the file to guess the mimetype, but it would be nice if there were a mime_guess feature that would make it statically compile the result of mime_guess into the EmbeddedFile type.

Yeah seems like a nice idea. Want to raise a PR for it?

If implemented this should be behind a feature flag.

Yeah seems like a nice idea. Want to raise a PR for it?

I'm not really sure how to implement it, but I could try if you could give some help

If implemented this should be behind a feature flag.

Yeah, that's why I said it should be behind a feature called mime_guess


[question]does slidev support mobile? or are there any themes for mobile divices?

Currently, no. You can browse slides in mobile without problems, but in the near feature, we are don't have a plan on supporting vertical layouts if that's what you mean. Thanks.

Thanks for reply. Yes, I am looking for a vertical layout support.

Currently, the aspect ratio is hard coded, https://github.com/slidevjs/slidev/blob/1807ef2eb0136d38e74ce026ef0cf87324af0c37/packages/client/constants.ts#L1-L1
Maybe you can clone it down, can change it locally to see if it works well on vertical layout. If so, we might consider make it configureable.

I

Currently, the aspect ratio is hard coded,
https://github.com/slidevjs/slidev/blob/1807ef2eb0136d38e74ce026ef0cf87324af0c37/packages/client/constants.ts#L1-L1
Maybe you can clone it down, and change it locally to see if it works well on vertical layout. If so, we might consider make it configureable.

I tried a simple demo, it works, thanks!

Now in v0.13.0
---
aspectRatio: 16/9
---


Iconography.zip should contain icons only, not diagrams

Fix #664

I am not sure why we need the zip really :)

We currently need it because there is a link to it on the page footer. We can remove that or have it don’t differently but until then we need it, I raised a follow up ticket here:
https://github.com/open-telemetry/opentelemetry.io/issues/1693


Support other types of hash scheme to scramble the value and other scrambling enhancement

Added support for other types of hash scheme to scramble the value
Currently the plugin supports MD5 as the only hashing scheme. This feature adds support for other hashing schemes. A new optional parameter hash_scheme is added to support this. Supported schemes are md5, sha1, sha256, sha384, sha512

<filter **>
    @type sanitizer
    hash_salt mysalt
    hash_scheme sha512

    <rule>
        keys user
        pattern_regex /\d{3}-\d{3}/
        pattern_regex_prefix USER_ID
    </rule>

</filter>

Added support for scrambling entire value of key
The current plugin does not support scrambling of entire value of a specified key. It requires either of pattern_ipv4, pattern_fqdn, pattern_regex, pattern_keywords to scramble value.
This feature will add support for scrambling entire value of key.

<filter **>
    @type sanitizer
    hash_salt mysalt
    hash_scheme sha512

   <rule>
      keys host,log
   </rule>

</filter>

Added support for scrambling of multiple occurrences of pattern within the value

Fixed issue
In case of capture group, when the matching pattern is at end of the value, the current implementation was failing to handle this. Fixed as part the the above changes.

@TejasKM Thanks for creating the PR. I will review it and get back to you.

@TejasKM Thanks for the contribution. I've tested hash_scheme and it did work. I'm now running backward compatibility test and found discrepancies with the following configuration and input:

Configuration

<system>
  log_level debug
</system>

<source>
  @type http
  port 9880
  bind <IP_ADDRESS>
</source>

<filter **>
  @type sanitizer
  hash_salt mysalt
  hash_scheme sha512
  <rule>
    keys user.ssn
    pattern_regex /^(?!(000|666|9))\d{3}-(?!00)\d{2}-(?!0000)\d{4}$/
    pattern_regex_prefix SSN
  </rule>
  <rule>
    keys user.phone
    pattern_regex /^\d{3}-?\d{3}-?\d{4}$/
    pattern_regex_prefix Phone
  </rule>
</filter>

<match **>
  @type stdout
</match>

Ingest sample data

# curl -X POST -d 'json={"user":{"ssn":"123-45-6789","phone":"123-456-7890"}}' http://localhost:9880/demo

Output

There was "Skipping this key error_class=TypeError error="wrong argument type Array (expected Regexp)" which happens in "Line177 : scans = str.scan(regex)".

2022-02-16 06:38:44 +0000 [warn]: #0 Skipping this key error_class=TypeError error="wrong argument type Array (expected Regexp)"
2022-02-16 06:38:44 +0000 [debug]: #0 [pattern_regex] sanitize '123-456-7890' to 'Phone_0a25187902a0cf755627397eb085d736'
2022-02-16 06:38:44.084750729 +0000 demo: {"user":{"ssn":"123-45-6789","phone":"Phone_0a25187902a0cf755627397eb085d736"}}
2022-02-16 06:38:44.084894615 +0000 fluent.warn: {"error_class":"TypeError","error":"wrong argument type Array (expected Regexp)","message":"Skipping this key error_class=TypeError error=\"wrong argument type Array (expected Regexp)\""}
2022-02-16 06:38:44.085042019 +0000 fluent.debug: {"message":"[pattern_regex] sanitize '123-456-7890' to 'Phone_0a25187902a0cf755627397eb085d736'"}

I will look into this issue but would appreciate it if you could check this as well.

Hi @kubotat
Thanks for taking a look at PR. I will also check from my end the error you have mentioned.

@repeatedly  Thank you so much for your advice. I will look into it.

@kubotat
I checked the issue that you have mentioned.
It is failing for pattern_regex /^(?!(000|666|9))\d{3}-(?!00)\d{2}-(?!0000)\d{4}$/
I have used the scan method to find matching pattern. Scan method returns matched data based on capture groups defined in the regex.
However, if some capture groups defined in the regex are optional and did not match, then scan returns "nil". It causes the iteration on the array to fail.
I have changed the implementation to handle this and supported the backward compatibility.
Please take a look

Hi @kubotat Can you please take a look once again

@kubotat @repeatedly can this request be approved?

@kubotat @repeatedly can we please get an approval on this pull request?

Is there any update on this? I would like to use this feature :D

Merge the PR and then fix compatibility issue later.
Thanks for your contribution @TejasKM !!


PaginatorWheresEvaluator bug

Hi!
If I think well, here you wanna put back the % sign:
    private function addWildcards($annotationWhereParameter, $whereValue)
    {
        $hasInitialPercentage = (strpos($annotationWhereParameter, '%') === 0);
        $hasEndPercentage = (strpos($annotationWhereParameter, '%') === 0);
        if ($hasInitialPercentage) {
            $whereValue = '%' . $whereValue;
        }
        if ($hasEndPercentage) {
            $whereValue = $whereValue . '%';
        }
        return $whereValue;
    }

But, the second strpos line is same with the first one, so you put % back and forth in any case, if it was the first char.
In my opinion, it's need to be stripos for the correct work.

@skillberto YES!
Thanks, I'm going to fix it right now!

@skillberto can you check #101 ?


Support Angular 15

Describe the bug
Angular 15 was released. Dependencies could not be resolved

Can you please merge this feature, is there any problem?

Any update on this

+1

The merge request is failed


Page Properties missing 'UsageCategory'

Very confusing since the latest AL Extension includes it in the Snippit, so a new dev would be confused.

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

ID: f3e1608b-6f65-1cc7-385d-920091b0305a
Version Independent ID: 6c96ec0a-931c-622c-1475-e480e69b3210
Content: Page Properties - Business Central
Content Source: dev-itpro/developer/properties/devenv-page-properties.md
Service: dynamics365-business-central
GitHub Login: @solsen
Microsoft Alias: solsen

Hi, thanks for your feedback. Can you elaborate on this a little bit, just want to make sure I understand?
Thanks

Oh sure.
The UsageCategory property is pretty important for Pages:
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-usagecategory-property
It's so important that the latest VXIS (Modern Development Environment) has the Page Snippet include this property in all new page objects.
But, it's not present on the "Page Properties" section that this issue is tagged to.

Sorry for the waiting time. This is now fixed and will be live with the next refresh. Thanks.


Update comments to use atomic.get

The Atomic class comments use atomic.value which is not the correct method for retrieving the value.  This changes the comments to use atomic.get

crystal format!

Thanks!


Handle ASCII errors more gracefully

The following MWE
\documentclass{article}
\usepackage[style=verbose]{biblatex}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@book{e,
  title = {é},
 }
\end{filecontents}

\bibliography{\jobname.bib}

\begin{document}
\nocite{e}
\printbibliography
\end{document}

When run with pdfLaTeX produces only an empty .bbl file after a Biber run.
The .blg just contains
[0] Config.pm:354> INFO - This is Biber 2.8 (beta)
[0] Config.pm:357> INFO - Logfile is 'abortss.blg'
[42] biber-MSWIN32:313> INFO - ===
[66] Biber.pm:360> INFO - Reading 'abortss.bcf'
[178] Biber.pm:836> INFO - Found 1 citekeys in bib section 0
[178] Biber.pm:839> DEBUG - The citekeys for section 0 are: e
[190] Biber.pm:905> DEBUG - Adding sortlist of type 'entry' with sortscheme 'nty', sortnamekeyscheme 'global', labelprefix '' and name 'nty/global/' for section 0
[203] Biber.pm:3696> INFO - Processing section 0
[207] Biber.pm:3840> DEBUG - Looking for directly cited keys: e
[228] Biber.pm:3878> INFO - Looking for bibtex format file 'abortss.bib' for section 0
[229] bibtex.pm:239> DEBUG - Caching data for BibTeX format file 'abortss.bib' for section 0

but upon adding --debug the console output also states
ascii "\xC3" does not map to unicode at ...

This occurs when run with Biber 2.8 (dev).
With Biber 2.7 I only get the expected warning
WARN - The entry 'e' has characters which cannot be encoded in 'ascii'. Recoding problematic characters into macros.

and a few runtime errors later on (as expected, I guess).

Hmm, that's a regression due to having to use a new library for file reading. Looking at it.

Technically it should fail at the point it does as your example enforces ASCII and the .bib isn't valid ASCII but the error should be better.

Works (or rather does not work) great now. Thank you.


The app won't load up at all and it's been doing this for a while now.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

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

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Thanks for reporting the issue, I fixed it it should work now.


feat(client, server): remove runtime cargo feature

This removes the runtime cargo feature flag.
Closes #2857

Woops, a few more CI hiccups than expected here. I'll try to fix them soon :smile:


Clarity functions reference autogenerates with bugs

The auto generated page here: https://docs.stacks.co/references/language-functions is not created correctly from the following code: https://raw.githubusercontent.com/stacks-network/docs/master/src/pages/en/references/language-functions.md
The functions that start with non alphanumerical characters don't generate the automatic links correctly.
For example, then link generated in the index for the function "append" works correctly and is:
https://docs.stacks.co/references/language-functions#append
However the link generated in the index for the function -(subtract) fails because it generates this one:
https://docs.stacks.co/references/language-functions#subtract (doesn't work)
when it should be instead this one:
https://docs.stacks.co/references/language-functions#--subtract (works)

This can probably get fixed by making some changes on /src/common/clarity-ref.ts


[Question] Lowercase default tags

I use the filtering "top bar" from swashbuckle-ui. Since it's case sensitive, it's not easy to use because an action's default tag is its controller name.
So I'd like to change it to lowercase. I tried this:
c.TagActionsBy(api => new string[] {
  api.ActionDescriptor.ControllerDescriptor.ControllerName
});

...but that's no longer available in Core.
What other options do I have?

Okay I figured it out:
c.TagActionsBy(api => new string[] {
  (api.ActionDescriptor as ControllerActionDescriptor)?.ControllerName.ToLowerInvariant()
});

The null check is probably unnecessary, but better safe than sorry.
Quick question for anyone who knows - let's say the controller is CustomerController, then I assume the default tag is Customer and the code above will change that to customer. However it's an array - I'm not overwriting anything else as well?


fix: Allow selecting parents with no children.

Fixes an assumption some Invoicing v2/expense tables were making, of deriving children like row.children = someOtherList.map(...), and if someOtherList was empty, they want the row to be selectable / i.e. not really a parent.

Merging to unblock the beam-bump in internal-frontend.


Upgrading node os version

What would you like to be added: Upgrading Node OS version
Why is this needed: To deploy K8S cluster on latest OS  (ex. Ubuntu 22.04 rather than 20.04)

Support for Ubuntu 22.04 planned for EKS-A v0.17 release

Support for Ubuntu 22.04 was released in EKS-A version v0.17 (see Changelog)


Unable to use installed version with fresh install of RSVM.

Hi,
After installing rsvm and rust 1.9, I find myself unable to use it.
> rsvm use 1.9
Activating rust 1.9 ... rsvm_use:source:8: not enough arguments
done
> rustc
zsh: command not found: rustc

Infos:
> rsvm --version
v0.5.0
> which rsvm
rsvm () {
 ... etc ...
}

I'm using ZSH in Linux, and I think the error comes from line 130 of rsvm.sh. It reads: source $RSVM_SCRIPT. But at that point, I don't think $RSVM_SCRIPT is defined, because it was set to ${BASH_SOURCE[0]} which is not defined in my shell by the time rsvm.sh gets sourced.
If I replace line 13 of rsvm.sh (The one reading RSVM_SCRIPT=${BASH_SOURCE[0]}) by RSVM_SCRIPT=${(%):-%N} (ZSH's rough equivalent), then it starts to work the next time rsvm.sh is sourced.

You're welcome :)


provisioning of VM results in status "DELETED"

NET: testnet
Capacity pool :  FreeFarm and GEC-Vienna
Error message at the bottom of the deployed workloads: could not mount k3os flist: fail to fetch hash, response: 404
need / want to deploy vm on testnet for customer "experience".  Tried different farms / different pools but always end up with a  "DELETED" VM.

Evert reservation has resulted to the error could not mount k3os flist: fail to fetch hash, response: 404
My deployment script is the following:
#!/usr/bin/env python3
# pylint: disable=no-value-for-parameter

# import click
from jumpscale.loader import j
# import stellar_sdk
import os

def main():

	# load the SAL to make/break reservation
	zos=j.sals.zos.get()

 	# select the pool with the most cus / sus available for deployment
	my_pools=zos.pools.list()
	print(my_pools[0])
	print('---')
	print(my_pools[1])
	print('---')
	print(my_pools[2])

	vm_pool=my_pools[0]
        pool_id=vm_pool.pool_id
	#node_id=vm_pool.node_ids[1]
	node_id='89HWyx6iurJKk7BXEa4tL7ziWFHwycRwidMtPWsepgZo'
	network_name='management'
	ip_address='<IP_ADDRESS>'
	ssh_keys=['ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAOP0h6VImNcxnIBRMoMfbMfb0xwGHDlaPxZ+nu0CL8ATJekVDHDLMGEPdvACfHBe0sqIw/l6jqoEMR4Dzhjgm4bVEUBVEnG1FvkeNB59sT2DOxDCZuqJvjx2M1bJlH8AR/JQXxUQ+zvfTbavc4/zfCuJm4PYNUsmEt/IQmRwLznGOkoJb
wYLhKCC3ykZd0EGpmCWgUUYn0ihaaYkyrliQi5Ny00x0s6jOIJg0CG2Xh5xcrkhOfCZMxZAB+/LGQpZ3tu+Cy5jRf8V/JZ8XQmtYM2GmBUZ1KGcMcsGzrtuudn13JeYLtWJBw6A7Q3Fb7dQSCMLC9UA0uMSZk67M6DFV john@RescuedMac']
	name='testvm'
	size=1

	vm=zos.vm.create(node_id=node_id, \
		network_name=network_name, \
		ip_address=ip_address, \
		ssh_keys=ssh_keys, \
		pool_id=pool_id, \
		name=name, \
		size=size)

	print("-----vm------")
	print(vm)
	print("-----vm------")

	workload_id=zos.workloads.deploy(vm)
	result = zos.workloads.get(workload_id)
	print("-----result------")
	print(result)

if __name__ == '__main__':
    main()

This sounds like a temporary hub failure. Is this reproducible ?

I did it a few times > 3.  Will try again.

Wotked now.  although looking at the "deployed solutions" there are a number of failures.  Some done by 'CLI' in the SDK / 3bot and some through the GUI.

Testnet deployment works.
Mainnet deployment now fails
I guess we have to update / upgrade 3bot / zero-OS for this to work.
Traceback (most recent call last):
  File "/sandbox/code/github/threefoldtech/js-sdk/jumpscale/sals/chatflows/chatflows.py", line 147, in wrapper
    getattr(self, step_name)()
  File "/sandbox/code/github/threefoldtech/js-sdk/jumpscale/sals/chatflows/chatflows.py", line 655, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/sandbox/code/github/threefoldtech/js-sdk/jumpscale/packages/tfgrid_solutions/chats/vmachine.py", line 130, in reservation
    self.reservation, self.public_ip = deployer.deploy_vmachine(
  File "/sandbox/code/github/threefoldtech/js-sdk/jumpscale/sals/reservation_chatflow/deployer.py", line 1277, in deploy_vmachine
    return j.sals.zos.get(identity_name).workloads.deploy(vmachine), public_ip
  File "/sandbox/code/github/threefoldtech/js-sdk/jumpscale/sals/zos/workloads.py", line 191, in deploy
    return self._workloads.create(workload)
  File "/sandbox/code/github/threefoldtech/js-sdk/jumpscale/clients/explorer/workloads.py", line 98, in create
    resp = self._session.post(url, json=data)
  File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/requests/hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "/sandbox/code/github/threefoldtech/js-sdk/jumpscale/clients/explorer/errors.py", line 23, in raise_for_status
    raise HTTPError(http_error_msg, response=resp)
requests.exceptions.HTTPError: 400 Client Error: unrecognized workload type for url: https://explorer.grid.tf/api/v1/reservations/workloads


RateLimiter going from 0 to 2 in under 1 second...

RateLimiter.php
cache->add($key, 1, $decayMinutes);

    return (int) $this->cache->increment($key);
 }
?>
Problem is... on first creation... the key is added with a (1) value, and then immediately incremented to (2)... so ->attempts($key) is retrieving 0 first... and then 2 right after... (any subsequent tries, are incremented, because ->add() fails if it exists)
// Test Code
only("username"));

 var_dump($this->rateLimiter->attempts($this->getThrottleKey($request))); // 0

 $this->incrementLoginAttempts($request);

 var_dump($this->rateLimiter->attempts($this->getThrottleKey($request))); // 2

 dd();
?>
getThrottleKey() simply returns a common key name for the $request

revised RateLimiter code
public function hit($key, $decayMinutes = 1)
{
if ($this->cache->has($key))
return (int) $this->cache->increment($key);
    $this->cache->add($key, 1, $decayMinutes);
    return $this->cache->get($key, 0);
}

seems to work, probably not the best looking bit

Side Note: using FileStore (not sure if that makes a difference...) I've checked also the Cache add() function which should not add key if it doesn't exist... and FileStore.php increment function (which all seems to be in order), but for some reason, it's still duplicating... using the above code stops it, however it seems like it should be stopped already but it's not ...

We're open to PRs.


Remove token that have never be implemented in nrn

Following https://github.com/neuronsimulator/nrn/pull/1974

Codecov Report

Merging #926 (116357b) into master (af7c772) will increase coverage by 0.29%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #926      +/-   ##
==========================================
+ Coverage   62.13%   62.42%   +0.29%
==========================================
  Files         194      194
  Lines       28337    28049     -288
==========================================
- Hits        17606    17509      -97
+ Misses      10731    10540     -191

Impacted Files
Coverage Δ

src/codegen/codegen_compatibility_visitor.cpp
44.44% <ø> (ø)

src/language/templates/pybind/pysymtab.cpp
95.84% <ø> (-0.07%)
:arrow_down:

src/lexer/nmodl_utils.cpp
96.55% <ø> (-0.06%)
:arrow_down:

src/lexer/token_mapping.cpp
96.15% <ø> (ø)

src/symtab/symbol.cpp
90.00% <ø> (ø)

src/symtab/symbol_properties.cpp
46.87% <ø> (-0.07%)
:arrow_down:

src/symtab/symbol_properties.hpp
91.30% <ø> (ø)

src/visitors/perf_visitor.cpp
71.42% <ø> (+0.59%)
:arrow_up:

src/visitors/perf_visitor.hpp
94.44% <ø> (ø)

src/visitors/localize_visitor.cpp
87.50% <100.00%> (ø)

... and 14 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Connections closed

HI,
I'm having issues running a dockerized mssql-linux in a mac os using boot2docker.
I've restored an image of database.
But under extensive load the following exceptions start to appear:
NFO   | jvm 1    | main    | 2017/03/14 10:36:40.769 | Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed. INFO   | jvm 1    | main    | 2017/03/14 10:36:40.769 | 	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:191) INFO   | jvm 1    | main    | 2017/03/14 10:36:40.769 | 	at com.microsoft.sqlserver.jdbc.SQLServerConnection.checkClosed(SQLServerConnection.java:710) INFO   | jvm 1    | main    | 2017/03/14 10:36:40.769 | 	at com.microsoft.sqlserver.jdbc.SQLServerConnection.prepareStatement(SQLServerConnection.java:2953) INFO   | jvm 1    | main    | 2017/03/14 10:36:40.769 | 	at com.microsoft.sqlserver.jdbc.SQLServerConnection.prepareStatement(SQLServerConnection.java:2592)
It looks to me that the connections are prematurely closed.
I have tried the following to make deal with the issue:

upgraded to the newest mssql jdbc driver
checked the database and server settings regarding the number of worker threads and degree of parallelism

What else an I do to find the root cause? Are there any limitations in the "developer" edition that would result in connections being closed?

There should be no limitations in the preview edition. Can you share how you're running the container vs the app? Also, AFAIK, Docker is recommending Docker Machine over Boot2Docker:

Docker for Mac supersedes Docker Machine even. :)
https://docs.docker.com/docker-for-mac/
My first suggestion on troubleshooting this would be to update your environment to Docker for Mac latest version and test again.  That will narrow down the possible causes by eliminating older versions of Docker.

I've moved my containers to Docker for Mac (which I tried some long time ago, and was not an option for me as it had performance problems with host directories mounted as docker volumes).
I currently use 1.7.03 beta which seems to have fixed some of the above mentioned performance problems.
I'm still experiencing the issues with connections being closed - so the issue is not fully solved for me. There isa difference however: after the connections are closed the application reconnects and continues to work.

Additionally I tend to get this kind of exceptions now:
Mar 20, 2017 2:37:59 PM com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin WARNING: ConnectionID:7222 ClientConnectionId: c6186b95-8caa-4650-8ac5-65a451a14ab5 Prelogin error: host localhost port 1433 Error reading prelogin response: Connection reset ClientConnectionId:c6186b95-8caa-4650-8ac5-65a451a14ab5

Have you tried testing with a different SQL Server instance, maybe running on a Linux/Windows VM to pinpoint/eliminate the Docker aspect of this as an issue?

I tried with a standard MSSQL server instance installed in a standard VM using windows7. No  problems here.
I also tried other database types with the application hosting them in docker and no problems there.
I tried with a smaller connection pool in the application and it seemed to help a little but it is not a 'real' solution to the problem.

FWIW I am seeing the same issue on docker for mac.  It has only started recently (started sometime in the past week).  Hasn't been a problem in the previous 3 months.  I use the 'latest' and I see it was updated a week ago... coincidence?
I'll dig deeper and try to provide some logs and environment specs.

Checking with one of our other PMs on this.
@wheelspinner - any update on your investigation?

@wheelspinner - any updates?
@wheelspinner , @spafcio  - you might want to file this issue over on the JDBC project issues list:
https://github.com/Microsoft/mssql-jdbc/issues

Unfortunately no.  I lost the offending image due to a ci push (internal
dtr) and accidental pull with an updated db.  After a couple of hours I
couldn't get it to reproduce like I had before.  I suspect my issue was a
problem with my db that my apps couldn't tolerate.  Both images were the
same base mssql image, just a different version of my db on top.
I didn't have enough time to go back and recreate the original offending
image.
On Mar 28, 2017 8:09 PM, "Travis Wright"<EMAIL_ADDRESS>wrote:

Checking with one of our other PMs on this.
@wheelspinner https://github.com/wheelspinner - any update on your
investigation?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/mssql-docker/issues/48#issuecomment-289942712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APz21bPHzFrQif0Q5u8Fqw1qNXI3PQdEks5rqaE7gaJpZM4McdNq
.

@wheelspinner darn.
@spafcio  - are you still experiencing some problems?  Do you have a way for us to reproduce what you are seeing?

hello @twright-msft
i've installed sql-server-linux at my macos docker and i'm attempting to connect using DBeaver with JDBC driver. However, i'm receiving the following error:
com.microsft.sqlserver.jdbc.SQLServerException: connection refused.
jdbc url: jdbc:sqlserver://localhost:1433
sql-server-Linux message: Server is listeing on <IP_ADDRESS> 1434
sql-server-Linux message: Server is listeing on 'any' 1433
there is a way to connect sql-server-linux in docker with jdbc over DBeaver at my host machine?

Hi @fadsm

jdbc url: jdbc:sqlserver://localhost:1433

try with 1401 port, that is used by docker.

I'm actually coming up against this issue, but only when I am running two containers in Docker. If MSSQL is running on its' own, everything is fine. I am using the stock latest mssql image and Docker 18.03.0-ce-mac60


Possible to disable entity shape render

With these changes, user has 2 new options, so he can disable entity shape render for the mouse hover and/or for the overlay.

A nice "side-effect" of the way the render system is implemented is, at least for me, if the user disables tile shape render for mouse-over, while he is hovering entities/pipes and he presses H, the system does not do the overlay redraw so, it looks like the user is "bookmarking" mouse-overs he did since they dont contain the entity.

Now verifies correctly if mouseover is enabled or not...
This way, you can mouseover a pipe, press H and lock the render of that pipe with or without shapes rendered as chosen on options and then disable mouseover, go to a diferent system and press H again and new system is rendered or updated correctly with or without shapes.

Are you still interested in getting this merged?

Hi, sorry, life got busy and at same time got a little burned out of Factorio.
I blame you all with the Factorio 2.0 hype!! I just dont feel like playing without the new coming QoL stuff :)
I might revisit this PR at a later time and , if I do, I will submit a new one.


ui (tests): Add tests for Native histogram helpers

Proposal
After a huge effort, we've finally closed https://github.com/prometheus/prometheus/issues/11269 via https://github.com/prometheus/prometheus/pull/13680
However, it would be great if there was some sort of testing for HistogramHelpers.ts
I'd be happy to work on this

I am interested to work on this!

cc: @juliusv @beorn7
This is for testing helper functions in Native Histogram rendering
@anshjain16 was interested in tackling #11268 but this issue might help out in understanding edge cases/context needed to help solve it. In the meanwhile I'll scaffold a draft for #11268


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter valuetrackerovertime for common errors and appropiate suggestions to keep this adapter up to date.
This check is based on the current head revisions (master / main  branch) of the adapter repository
Please see the result of the check below.
ioBroker.valuetrackerovertime
   -
ERRORS:

[X] :heavy_exclamation_mark: [E026] "{'engines': {'node'>='16'}}" is required at package.json, "{'engines':{'node'>='18'}}" is recommended
[X] :heavy_exclamation_mark: [E026] "{'engines': {'node'>='18'}}" is required at package.json, "{'engines':{'node'>='18'}}" is recommended
[X] :heavy_exclamation_mark: [E033] @iobroker/adapter-core 3.0.4 specified. 3.1.4 is required as minimum, 3.1.6 is recommended. Please update dependencies at package.json
[X] :heavy_exclamation_mark: [E033] @iobroker/adapter-core 3.0.4 specified. 3.1.4 is required as minimum, 3.2.2 is recommended. Please update dependencies at package.json
[X] :heavy_exclamation_mark: [E036] @iobroker/testing 4.1.0 specified. 4.1.3 is required as minimum,  4.1.3 is recommended. Please update devDependencies at package.json
[ ] :heavy_exclamation_mark: [E042] "globalDependencies" is misplaced at package.json. Did you mean "common.globalDependencies" at io-package.json?
[X] :heavy_exclamation_mark: [E157] js-controller 3.3.0 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
[X] :heavy_exclamation_mark: [E254] Version "0.0.1" listed at common.news at io-package.json does not exist at NPM. Please remove from news section.
[X] :heavy_exclamation_mark: [E507] missing size attributes [xs,md,lg,xl] for checkbox at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_days
[X] :heavy_exclamation_mark: [E507] missing size attributes [xs,md,lg,xl] for checkbox at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_months
[X] :heavy_exclamation_mark: [E507] missing size attributes [xs,md,lg,xl] for checkbox at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_quarters
[X] :heavy_exclamation_mark: [E507] missing size attributes [xs,md,lg,xl] for checkbox at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_weeks
[ ] :heavy_exclamation_mark: [E507] missing size attributes [xs,sm,md,lg,xl] for staticText at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/_info_Detailed_current
[ ] :heavy_exclamation_mark: [E507] missing size attributes [xs,sm,md,lg,xl] for staticText at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/_info_Detailed_history
[ ] :heavy_exclamation_mark: [E507] missing size attributes [xs,sm,md,lg,xl] for staticText at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/_info_current_previous_data
[X] :heavy_exclamation_mark: [E510] responsive check: maximum issues reached, please fix reported ones and recheck
[X] :heavy_exclamation_mark: [E518] "@alcalzone/release-script" (>=3.0.0) is used, but ".releaseconfig.json" not found. Please create.
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2024 Omega236<EMAIL_ADDRESS>at the end of README.md
[ ] :heavy_exclamation_mark: [E606] Current adapter version 1.1.0 not found in README.md
[ ] :heavy_exclamation_mark: [E701] No actual year found in LICENSE. Please add "Copyright (c) 2024 Omega236<EMAIL_ADDRESS>at the start of LICENSE
[X] :heavy_exclamation_mark: [E804] Please process issue [#160] "Compatibility check and testing for node.js 22"

WARNINGS:

[ ] :eyes: [W040] "keywords" within package.json should contain "ioBroker"
[ ] :eyes: [W132] Many "common.news" found in io-package.json. Repository builder will truncate at 7 news. Please remove old news.
[ ] :eyes: [W135] "common.tier" is required in io-package.json. Please check https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/objectsschema.md#adapter.
[ ] :eyes: [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[ ] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Executable is defined by entry "main" at package.json.
[X] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
[ ] :eyes: [W184] "common.materialize" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
[ ] :eyes: [W508] attribute "xs" for checkbox should specify a value of "12" at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_days
[ ] :eyes: [W508] attribute "xs" for checkbox should specify a value of "12" at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_months
[ ] :eyes: [W508] attribute "xs" for checkbox should specify a value of "12" at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_quarters
[ ] :eyes: [W508] attribute "xs" for checkbox should specify a value of "12" at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_weeks
[ ] :eyes: [W508] attribute "xs" for checkbox should specify a value of "12" at admin/jsonConfig.json/items/_auchfuerjsonConfig/items/detailed_years
[ ] :eyes: [W510] responsive check: maximum issues reached, please fix reported ones and recheck
[ ] :eyes: [W953] .npmignore found - consider using package.json object "files" instead.

:thumbsup: No suggestions found
Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
You may start a new check or force the creation of a new issue at any time by adding the following comment to this issue:
@iobroker-bot recheck
or
@iobroker-bot recreate
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence
Last update at Mon, 16 Dec 2024 06:56:37 GMT based on commit 8a70a81a2da1ce4eaef13004fbd430c1d4ef4a2f
ioBroker.repochecker 3.2.2

This issue has been updated by ioBroker Check and Service Bot
The following issues have been fixed
[E955] iob_npm.done not found in .npmignore
:thumbsup:Thanks for fixing the issues.

This issue has been updated by ioBroker Check and Service Bot
The following issues have been fixed
[W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
:thumbsup:Thanks for fixing the issues.
The following issues are new and have been added
[W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Executable is defined by entry "main" at package.json.

@iobroker-bot recheck

@iobroker-bot recreate


Qwen 2.5 Base unable to generate <|im_end|> even after finetuning

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
Qwen 2.5 Base should generate <|im_end|> since I finetuned it on the official chat_template.
Current behaviour
The finetuned base model does not generate <|im_end|> and generates gibberish after a certain point. I fine-tuned the model on MetaMathQA, and notice how even after generating The answer is: 11 , the model does not generate <|im_end|>.
'<|im_start|>system\nYou are Qwen, created by Alibaba Cloud.  He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now?<|im_end|>\n<|im_start|>assistant\nRoger starts with 5 tennis balls.\nHe buys 2 more cans of tennis balls, and each can has 3 tennis balls, so he adds 2 * 3 = 6 tennis balls to his collection.\nIn total, Roger now has 5 + 6 = 11 tennis balls.\n#### 11\nThe answer is: 11 prostituerade\nThe answer is: 11%timeout\nThe correct answer is: 11 eskorte\nThe number of tennis balls Roger has now is the sum of the initial number of tennis balls (5) and the additional tennis balls he bought (6). So, 5 + 6 = 11 tennis balls.\nTherefore, Roger has 11 tennis balls in total.\n#### 11\nThe answer is: 11VRTX\nThe answer is: 11VRTX\nThe number of tennis balls Roger has now is the sum of the initial number of tennis balls (5) and the additional tennis balls he bought (6).\nSo, 5 + 6 = 11 tennis balls.\nTherefore, Roger has 11 tennis balls in total.\n#### 11\nThe answer is: 11VRTX\nThe number of tennis balls Roger has now is the'
Steps to reproduce
I've attached the yaml file, but I believe any configuration will have the same issue.
Config yaml
base_model: Qwen/Qwen2.5-1.5B
trust_remote_code: false

load_in_8bit: false
load_in_4bit: false
strict: false

datasets:
  - path: pbatra/MetaMathQA-ShareGPT
    type: chat_template
    field_messages: conversations
    message_field_role: from
    message_field_content: value
    roles:
      user: ["human", "user"]
      assistant: ["gpt", "assistant", "ai"]
      system: ["system"]

dataset_prepared_path:
val_set_size: 0.0
output_dir: ./outputs/qwen-1.5b-metamath-100k

sequence_len: 2048
sample_packing: true
eval_sample_packing: true
pad_to_sequence_len: true

wandb_project: merge
wandb_entity:
wandb_watch:
wandb_name: qwen-1.5b-metamath-100k
wandb_log_model:

gradient_accumulation_steps: 1
micro_batch_size: 128
num_epochs: 1
optimizer: adamw_torch_fused
lr_scheduler: cosine
learning_rate: 3e-5

train_on_inputs: false
group_by_length: false
bf16: auto
fp16:
tf32: true

gradient_checkpointing: true
gradient_checkpointing_kwargs:
  use_reentrant: false
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true

warmup_ratio: 0.05
saves_per_epoch: 2
evals_per_epoch: 0
debug:
weight_decay: 0.01
fsdp:
fsdp_config:
special_tokens:
  bos_token: "<|im_start|>"
  eos_token: "<|im_end|>"
  pad_token: "<|endoftext|>"

plugins:
  - axolotl.integrations.liger.LigerPlugin
liger_rope: true
liger_rms_norm: true
liger_glu_activation: true
liger_layer_norm: true
liger_fused_linear_cross_entropy: true

Possible solution
If I use llama3's chat_template, there is no issue. The model is able to generate <|eot_id|><|endoftext|> successfully.
I tried some attempts to make the official Qwen template work.

I thought maybe something was not right in the official configs. So I replaced all the configs of the base model with the Instruct model. --> Did not work.
I came across this Tweet by Daniel Han. I tried his Unsloth version. --> Did not work.

Daniel Han says the official template should not be used for the base models since they are untrained, but I don't quite understand it. Even if it were untrained, shouldn't finetuning still increase the logprob of the tokens enough?
I'm not sure if this is a unfixable design flaw of Qwen 2.5 or a funny interaction with training frameworks that can be fixed on Axolotl's side.
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
3.11
axolotl branch-commit
main/71d4030b790d3d4ff9bae6bf3696cdc8e72bb5f7
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Hey, thanks for the report.

The finetuned base model does not generate <|im_end|> and generates gibberish after a certain point.

Daniel Han says the official template should not be used for the base models since they are untrained, but I don't quite understand it. Even if it were untrained, shouldn't finetuning still increase the logprob of the tokens enough?

I noticed that you trained for one epoch only. Given that the base model has those tokens untrained, maybe a few more epochs may be a good step?

If I use llama3's chat_template, there is no issue. The model is able to generate <|eot_id|><|endoftext|> successfully.

This is interesting. What happens if you use chat_template: chatml? The default chat_template uses im_end but in a slightly different manner.
Just a thought, it could also be that the initialization of new tokens are better than using ones in the model (which may be initialized poorly), although I haven't checked the model myself.

Try using this base model
https://huggingface.co/unsloth/Qwen2.5-Coder-32B

@ehartford I tried the unsloth version. Specifically https://huggingface.co/unsloth/Qwen2.5-1.5B , did not work :(

Also - they say that <|endoftext|> doesn't work for the pad.
https://twitter.com/danielhanchen/status/1856442699689414970

I saw this as well, but did they say why?

@NanoCode012
https://x.com/vancoykendall/status/1856524659824771106
His justification. But I agree with the person who asked the question in the link. If <|im_end|> was working in the first place, the pad token being the same as eos should not be an issue.


Expose raw transport creation logic to subclasses

This is to expose the raw transport creation logic to the subclass of HiveMetastoreClientFactory. This is needed for us to add secure Thrift support to presto-prism. Another pull request will be added for the latter.

@martint / @dain / @electrum , could you take a look at this PR? It's needed for https://github.com/facebook/presto-facebook/pull/754. Thanks!

Merged, thanks!


feature: easier to read error paths

What version of this package are you using? 16.0.3
What problem do you want to solve? When reading errors output by standard, I find it hard to read the location of the error because a full path is logged to the output, and I find it hard to find which top-level folder I'm in
What do you think is the correct solution to this problem?
Possible solutions:
A) color part of the path

B) display the relative path only

Note in both cases see I've made activating this requiring a flag (e.g. --color). That's another decision to be made.
I assume the path highlighted / displayed would be relative to the location you passed in (and default to )
Are you willing to submit a pull request to implement this change?
Yes!

I like 🅱