stm32f103-minimum: add defconfig example for ADB

Summary
Add example config for Android Debug Bridge (ADB) running on stm32f103-minimum.
Require https://github.com/apache/incubator-nuttx-apps/pull/515 to work
This config might not work for some boards as flash size is > 64kB.
It is possible to reduce footprint by removing some features (UART, procfs ...)
$ size nuttx
   text	   data	    bss	    dec	    hex	filename
  74263	    134	   2716	  77113	  12d39	nuttx

Impact
Testing
$ adb pull /proc/meminfo
/proc/meminfo: 1 file pulled. 0.0 MB/s (104 bytes in 0.042s)

$ cat meminfo
             total       used       free    largest
Umem:        16592       6016      10576      10576

$ adb shell

NuttShell (NSH) NuttX-10.0.0
nsh> hello
Hello, World!!
nsh> free
             total       used       free    largest
Umem:        16592      11168       5424       5312
nsh> ps
  PID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK   USED  FILLED COMMAND
    0   0 FIFO     Kthread N-- Ready              00000000<PHONE_NUMBER>60  36.0%  Idle Tas
    1 100 FIFO     Task    --- Ready              00000000<PHONE_NUMBER>20  71.1%  init
    2 100 FIFO     Task    --- Running            00000000<PHONE_NUMBER>32  41.0%  ADB shel
nsh> exit

Hi, @spiriou
I'm trying to test this configuration without success.
$ make distclean
$ tools/configure.sh stm32f103-minimum:adb
$ make
$ # (flash to blue pill board)

On host PC, dmesg reports the following:
[17280.043036] usb 2-3: new full-speed USB device number 17 using xhci_hcd
[17280.171063] usb 2-3: device descriptor read/64, error -71
[17280.411066] usb 2-3: device descriptor read/64, error -71
[17280.647000] usb 2-3: new full-speed USB device number 18 using xhci_hcd
[17280.775028] usb 2-3: device descriptor read/64, error -71
[17281.015025] usb 2-3: device descriptor read/64, error -71
[17281.123069] usb usb2-port3: attempt power cycle

So obviously, neither lsusb nor adb devices show anything.
Is there anything else expected to make this work? Does it work for you on a blue pill board? Am I doing something wrong?
Thanks!

Hi, @spiriou
I'm trying to test this configuration without success.
$ make distclean
$ tools/configure.sh stm32f103-minimum:adb
$ make
$ # (flash to blue pill board)

On host PC, dmesg reports the following:
[17280.043036] usb 2-3: new full-speed USB device number 17 using xhci_hcd
[17280.171063] usb 2-3: device descriptor read/64, error -71
[17280.411066] usb 2-3: device descriptor read/64, error -71
[17280.647000] usb 2-3: new full-speed USB device number 18 using xhci_hcd
[17280.775028] usb 2-3: device descriptor read/64, error -71
[17281.015025] usb 2-3: device descriptor read/64, error -71
[17281.123069] usb usb2-port3: attempt power cycle

So obviously, neither lsusb nor adb devices show anything.
Is there anything else expected to make this work? Does it work for you on a blue pill board? Am I doing something wrong?
Thanks!

Hi Diego, thanks for your feedback. This config enables the CONFIG_STM32_DFU config so it requires a bootloader and the image is not mapped to 0x8000000 as usual. Maybe this is the issue if you are flashing using JTAG. Can you share more information regarding the flashing method you use ? Can you disable STM32_DFU if you use JTAG ?

That was it. I didn't noticed it was using DFU. I've disabled that and modified the linker script to make flash 128K (which uses out of spec memory, but it's fine as long as it's not production use) and it's working. Thanks for your quick reply and for adding this!


[FEATURE REQUEST] Modifiable Rank Requirements Per Level

[Please do not close the request after a revision release is posted. Request will be closed by the developer when it is implemented to the base version or when it is flagged as not planned]
Feature
The Ability To Modify The Time, Kills And Style Requirements For Every Rank On Every Level To Allow For Making Stricter (Or More Lenient) Requirements For Ranks
Usage
Good For Pairing With More Beefy Enemies That Take Longer To Kill Or To Make It More Of A Rush To Get P-Rank (Or Require More Stylish Play And Secret Enemy Hunting)
Extras
I Tried Looking For Another Mod And Couldn't Find One For It, Would Fit Here Pretty Well As A Separate Tab As It Would Provide Another Layer Of Customisation To The Game

this sounds pretty fun, i like this idea though would probably necessitate banning leaderboard submissions until disabled since for a level like P-2, you could skip straight to FPan and SP, but the p-rank requirement for style and kills are lowered, thereby giving you illegitimate p-rank

Ah, I'd Assumed Mods In General Banned Leaderboard Submissions (Since There Were Already Mods That Exist That Would Replace Every Enemy In Cybergrind And Even This Mod Which Lets You Make Every Enemy Do Little To No Damage)

Mods don't ban leaderboard submissions in most circumstances, the only ones that do are certain ULTRATweaker Mutations (Such as Mitosis) and as far as I recall, the original FastPunch mod
Although those were limited to banning the submission of new Cyber Grind Personal Bests.


feat(risedev): dump psql environment variables according to cluster config

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
For ./risedev psql, there's a few second latency to run cargo-make which is annoying.
So give an option to users to dump the env vars for psql, then they can just use psql directly.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

there's a few second latency to run cargo-make which is annoying

+1. I'm curious whether it can be improved.

there's a few second latency to run cargo-make which is annoying

Really? I didn't meet this

there's a few second latency to run cargo-make which is annoying

Really? I didn't meet this

https://github.com/risingwavelabs/risingwave/assets/47273164/1301353a-0a42-47bc-a78a-41b89b275301

I'm curious whether it can be improved.

btw you can CARGO_MAKE_PRINT_TIME_SUMMARY=true risedev psql to profile it


Drop user to a clear warning/error message on <4GB systems

Drop user to a clear warning/error message on <4GB systems in addition to:

"Enter full pathname of shell or RETURN for /rescue/sh"

This is the rescue shell I get if I boot the qemu vm with -m 2048:

Incidentally:

cannot read termcap database;
using dumb terminal settings.

– this aspect of /rescue/sh is also seen when intentionally preferring single user mode for a live boot.
#128 and for reference, https://github.com/helloSystem/docs/commit/1770efc6e005c86a4c22df319e597fe0f9549042 ▶ the note under https://hellosystem.github.io/docs/developer/boot.html#boot-into-verbose-single-user-mode
(This rescue shell experience differs significantly from what some users of FreeBSD might think of as a traditional rescue shell.)

Checking the files, there's already a message in overlays/ramdisk/init.sh#L103-L112 runs on boot but doesn't show up because all messages are suppressed unless boot_mute='NO'(ref). A simple way then is to show that message on console regardless of what value boot_mute has. The relevant lines can be modified to
  echo "Live system requires 4GB of memory for memdisk, and operation!" >/dev/tty
  echo "Type exit, and press enter after entering the rescue shell to power off." >/dev/tty

Thank you very much @konfou - trying it now.


Fix probe-rs-cli-util dependency

Cargo was complaining because of the combination of default-features = false and workspace dependencies.

Seems to have been fixed in another PR.


Icon for previewing various types of files in Writer

https://developer.apple.com/documentation/appkit/nsworkspace/1528158-icon

Implemented in ca6d4de


feat(pipettes): begin simulator with a valid pipette serial number

Closes RQA-288.
For now, the simulated pipette should start with a valid serial number. Eventually, the emulator should be able to set the serial number for the pipettes on boot.

Going to test by merging this branch into RET-1159-write-header-creation-script at d3b6eac7e8e61d618590b8ffa9cd844d06e3dc2e, committing the merged code, then running an emulation build against the merged code.
Expected Result: Pipette emulator has serial number and robot-server no longer fails to start due to pipette lacking a serial number.
@Laura-Danielle how do I check on the Pipette emulator that there is a serial number?

@Laura-Danielle I am getting the following error. I don't think it has to do with your code though. I think it is something to do with me setting an env var EEPROM_FILENAME to eeprom.bin.
ot3-only-otie              | 2022-10-10 16:45:34,117 opentrons.hardware_control.thread_manager ERROR [Line 192] Exception in Thread Manager build
ot3-only-otie              | Traceback (most recent call last):
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/hardware_control/thread_manager.py", line 187, in _build_and_start_loop
ot3-only-otie              |     managed_obj = loop.run_until_complete(builder(*args, loop=loop, **kwargs))
ot3-only-otie              |   File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
ot3-only-otie              |     return future.result()
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/hardware_control/ot3api.py", line 243, in build_hardware_controller
ot3-only-otie              |     await api_instance.cache_instruments()
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/hardware_control/ot3api.py", line 483, in cache_instruments
ot3-only-otie              |     found = await self._backend.get_attached_instruments(checked_require)
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/hardware_control/backends/ot3controller.py", line 449, in get_attached_instruments
ot3-only-otie              |     current_tools = dict(OT3Controller._generate_attached_instrs(attached))
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/hardware_control/backends/ot3controller.py", line 422, in _generate_attached_instrs
ot3-only-otie              |     OT3Controller._build_attached_pip(attached.left, OT3Mount.LEFT),
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/hardware_control/backends/ot3controller.py", line 391, in _build_attached_pip
ot3-only-otie              |     raise InvalidPipetteName(name=attached.name_int, mount=mount)
ot3-only-otie              | opentrons.hardware_control.types.InvalidPipetteName: InvalidPipetteName: Pipette name key 41377 on mount LEFT is not valid
ot3-only-otie              | 2022-10-10 16:45:34,195 robot_server.hardware ERROR [Line 196] Exception during hardware background initialization.
ot3-only-otie              | Traceback (most recent call last):
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/robot_server/hardware.py", line 176, in _initialize_hardware_api
ot3-only-otie              |     hardware_api = await initialize_api()
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/__init__.py", line 161, in initialize
ot3-only-otie              |     hardware = await _create_thread_manager()
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/__init__.py", line 143, in _create_thread_manager
ot3-only-otie              |     await thread_manager.managed_thread_ready_async()
ot3-only-otie              |   File "/usr/local/lib/python3.10/dist-packages/opentrons/hardware_control/thread_manager.py", line 175, in managed_thread_ready_async
ot3-only-otie              |     raise ThreadManagerException("Failed to create Managed Object")
ot3-only-otie              | opentrons.hardware_control.thread_manager.ThreadManagerException: Failed to create Managed Object

@Laura-Danielle, I ran a build with your code merged in and a build without. I am getting the same error on both (See above comment).
So something is going on not related to your code. I am not sure what. Will probably need someone from @Opentrons/embedded-sw to look into this for me.
Idk if the firmware is sending the wrong pipette name or if the robot server is parsing it incorrectly.
Regardless, I am not able to test your code until I can get past this issue.


Allow unit tests to build by removing references to @KotlinPoetKspPreview

The KotlinPoetKspPreview annotation was removed in KotlinPoet 1.12.0. It's no longer needed since the relevant APIs were promoted to stable; see https://github.com/square/kotlinpoet/pull/1263.
This allows the tests to build, although they don't actually pass for unrelated reasons.

The README mentions

Typescript integration tests

so maybe these JUnit tests are obsolete and should just be removed instead? If so, could you please explain how to run the TS integration tests? Thanks!

Thanks for the PR!
In the sample there is a run.sh script that will build and run the typescript tests. You're right, the kotlin ones can be removed.
https://github.com/deezer/KustomExport/blob/master/samples/run.sh

CI currently broken (can't work on that currently) but no reason to not merge this PR.


Call Pin during app inisitalization

Feedback from Simon's peer review:
Pin needs to be called on every start. See https://github.com/CosmWasm/wasmd/blob/v0.44.0/app/app.go#L808 for the wasmd equivalent
Can be done after feature branch is merged.

For Admin Use

[x] Not duplicate issue
[x] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

@DimitrisJim could I work on this issue ?

Hi @vuong177, are you still planning to PR this issue? I believe the feature branch has been merged

@damiannolan yes I'm working on this. I'll make a PR soon !


Dataset multi_shapenet_frames not found.

Hi,
I have installed sund 0.4.1, running render.py have an exception at
        builder = sunds.builder('multi_shapenet', data_dir=self.path)

        self.tf_dataset = builder.as_dataset(

Exception has occurred: DatasetNotFoundError
Dataset multi_shapenet_frames not found.
any idea on that would be appreciated. thanks.

never mind, i found that the dataset need to be downloaded in readme Data section. thanks


Option to instant save

One of the things I love about Raindrop.io's browser extension is that if you click the extension's icon to open the panel to save a link.
IT'S ALREADY SAVED, instantly. Sure it doesn't have the title/description/tags you might want to assign to it, but it's in there.
And honestly, that's kinda what I mainly use their browser extension for anyway. An ingest point. I'll manage the links later in the actual interface

Mmm, What would be the behaviour of this, You click on the extension icon, and then automatically saves?.
This can be added, but i dont think eveyone would like this, Would you think that a switch to enable this feature ok?

Oh yeah, it should be a switch. But I don't think it would be bad to have it be enabled by default. Just make it clear to the user.
With Raindrop.io my process for saving to my raindrop is just one click. while with Linkarden it's two clicks and I have to wait till it's confirmed before I close the popup window. With raindrop, by the time the popup has shown up, it already saved it and just displays the options to either delete it or change the name/description/tags
I'm not asking for a raindrop.io duplicate. Just like a lot of their functionality


[ToggleButtonGroup] size prop

This is a pull request for #15509

I added a size property for toggleButtonGroup that can be set to "small", "medium" or "large"

default size is "medium"

I tested the toggleButton to ensure size styles were working, however I didn't know how to visually test the minWidth and height that I chose for small and large toggleButtons.

If necessary, please let me know what else needs to be done. I'd also be happy to update the API info to include the new prop when given the go-ahead. Thanks!

[x] I have followed (at least) the PR section of the contributing guide.

You'll need to rebase, and also run yarn docs:api. It would be good to update the docs demo to show the sizes.

You'll need to rebase, and also run yarn docs:api. It would be good to update the docs demo to show the sizes.

Good idea, I'll make a new docs demo for a visualization of the new sizes.

@isaacblinder Thank you


[BUG] E2 serverside error: attempt to index field 'directives' (a nil value)

This error occured a few times today, not sure how to replicate it.
Serverside error:
addons/wire/lua/entities/gmod_wire_expression2/init.lua:366: attempt to index field 'directives' (a nil value)
   0.  __index - [C]:-1
    1.  ResetContext - addons/wire/lua/entities/gmod_wire_expression2/init.lua:366

Whys the stack trace so small? Need bigger stack traces

I believe this is @Vurv78 's code. Any chance the block on line 366 can be moved to compile?

Don't remember any reason as to why it's there, but since ResetContext completely empties the table, if it was moved under the call then it wouldn't have self:throw at all, and it looks like if the code didn't change it never calls compile on the chip and just resets it?.
So it might be fine to move but could we also just do self.directives and ... to be safe.
Also would be nice to know why self.directives is nil there in the first place

probably because the Compile call failed

@Vurv78 mind fixing it?

@wrefgtzweve need a better stack trace

Feel free to report again if you get a better stack trace and it pops up again

(the stack trace is the stuff below the error message btw)


⚠ AGEG website (prod) has degraded performance

In d9881d9, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2545 ms

Resolved: AGEG website (prod) performance has improved in fe45d4f.


Fix twister_tools script and add unit tests

Codecov Report

Merging #51 (6bcb365) into main (aae1318) will increase coverage by 0.24%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
+ Coverage   81.03%   81.27%   +0.24%
==========================================
  Files          39       40       +1
  Lines        1861     1939      +78
==========================================
+ Hits         1508     1576      +68
- Misses        353      363      +10

Impacted Files
Coverage Δ

src/twister2/scripts/hardware_map.py
82.05% <77.27%> (ø)

src/twister2/device/hardware_map.py
100.00% <0.00%> (+14.81%)
:arrow_up:

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


Getting error while following steps you have provided

executor failed running [/bin/sh -c wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb   && dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb   && rm libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb]: exit code: 8
ERROR: Service 'poc_ssm_mysql_client' failed to build : Build failed
This is the error I am getting while running docker-compose up command can you please check this error?

@tusharkhandejod : thank you for your feedback. The package has most probably been removed from the archive repository. I have switched to one in the old-releases repository in my last commit. I have tested it and the mysql client works.
https://github.com/jbouzekri/docker-superset-mongo-poc/commit/f992f5ae38237a125f419be416e7599b0d22fdb4#diff-e7e3818d600249a1097dc67466f424a1c6de6330aa7a133059db7f9a40889975R17


Create a login and signup page

User Story:

As a user, I can visit a login page to create a new account or log into an existing account.

As a user, I want to stay logged in even if I refresh the page or close the browser tab.

As a user, I can click a "logout" button for the app to forget me.

Login and logout is functional, as is creating a new user; cookie is stored to retain session until logout is chosen.


Update DSJwtAuth.js config path

I think at some point the config was move to its own folder config and the dsConfig require path was never updated causing the application to error on start because cannot find the module. This fixes it

Thanks @asararai !


Flickery light moving between pages in dark mode

What happened?
Video showcasing the bug (using Chrome Browser)
https://github.com/EthanThatOneKid/acmcsuf.com/assets/112128328/87e15fdb-8ca9-4049-a854-6098c8de8931
Moving between pages in dark mode will make light mode appear for a quick second, then transitions to dark mode again. It should just stay in dark whenever we change between pages.

Another issue I noticed was that the background chose a different color. Thank you for sharing this issue @tomasohCHOM.


Removed duplicate weights

Weights are computed in the .cpp file, it's confusing to have them hard coded as well.

Thanks!  Merged.


Node.js 12 actions are deprecated.

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16

Hi @akhilerm,
the error still appears in workflows using this action – I think you'll need to release and publish a new version tag?
Thanks and best
macwinnie

I confirm a new release is needed

@macwinnie @saniales The new release is already available in the Marketplace. https://github.com/marketplace/actions/tag-push-action. v2.1.0


keyof with one key index now triggers assert?

Is that intended?
type abc = keyof<typeof({testing="hi"})>

It triggers this:
https://github.com/luau-lang/luau/blob/d9536cecd8cbaae5f6f76af79209418f0a78efaf/Analysis/include/Luau/TypeArena.h#L28
Now I am not sure if that's on my end, because I wouldn't really see why, I barely modified anything I only toggled on FFlag::LuauSolverV2 at Parser.cpp and was testing around with a copy of keyof that isn't named keyof.

I think this only happens because I added an unsealed table

Assertion failures are never intended and there should be no way that a user code can trigger any assertions in Luau components.

Assertion failures are never intended and there should be no way that a user code can trigger any assertions in Luau components.

I figured out that the point of that assert might have been for quality control. So that no luau code has a builtin that creates a uniontype that only returns one entry inside of it
This was present with keyof then I made a pull request

Hi @karl-police! Thank you for bringing this to our attention. I will create a ticket and we will solve this asap. This is a bug on our end :)


Update to work with latest version of hls.js

PlatformException(MEDIA_ERR_NETWORK, mediaError, fragParsingError, null)

I started getting this error all of a sudden from yesterday. Not quite sure but I think it's related to the latest upgrade of hls.js as the same videos were getting played prior to that.

Can you share a url that you are trying to play and on which browser.


[AIRFLOW-XXX]  Updated kubernetes.rst

import modules to complete the example set.

Codecov Report

Merging #4280 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4280   +/-   ##
=======================================
  Coverage   78.08%   78.08%
=======================================
  Files         201      201
  Lines       16458    16458
=======================================
  Hits        12851    12851
  Misses       3607     3607

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 9c04e8f...98b6a9a. Read the comment docs.

lgtm


Remote Tech integration broken.

http://forum.kerbalspaceprogram.com/index.php?/topic/100188-111-tarsier-space-technology-with-galaxies-continued-v61-1st-may-2016/&do=findComment&comment=2580149

Ready for test.


feat: Merge Version Control Systems into same section

What does this PR do?
Improve repo
For resources
Description
Why is this valuable (or not)?

Handles #5526 for -en listings

Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

I'm not in pro of mix PR topics but in anyway was simple to apply suggestions. Thanks @LuigiImVector


cut.clip request.raw_content crashes mitmproxy

Steps to reproduce the problem:

open an set of with recorded flows with mitmproxy
choose a flow press "CTRL" + "L" (lowcase L) and insert "@focus request.raw_content" to start the cut.clip command to copy the raw content of the request
mitmproxy crashes (see error message below)

crash message:
$ mitmproxy -r 190709_mpow_experiment1
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/master.py", line 86, in run_loop
loop()
File "/usr/local/lib/python3.6/dist-packages/urwid/main_loop.py", line 286, in run
self._run()
File "/usr/local/lib/python3.6/dist-packages/urwid/main_loop.py", line 384, in _run
self.event_loop.run()
File "/usr/local/lib/python3.6/dist-packages/urwid/main_loop.py", line 1484, in run
reraise(*exc_info)
File "/usr/local/lib/python3.6/dist-packages/urwid/compat.py", line 58, in reraise
raise value
File "/usr/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/usr/local/lib/python3.6/dist-packages/urwid/raw_display.py", line 404, in
event_loop, callback, self.get_available_raw_input())
File "/usr/local/lib/python3.6/dist-packages/urwid/raw_display.py", line 502, in parse_input
callback(processed, processed_codes)
File "/usr/local/lib/python3.6/dist-packages/urwid/main_loop.py", line 411, in _update
self.process_input(keys)
File "/usr/local/lib/python3.6/dist-packages/urwid/main_loop.py", line 511, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/tools/console/window.py", line 309, in keypress
k = super().keypress(size, k)
File "/usr/local/lib/python3.6/dist-packages/urwid/container.py", line 1119, in keypress
return self.footer.keypress((maxcol,),key)
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/tools/console/statusbar.py", line 187, in keypress
return self.ab.keypress(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/tools/console/statusbar.py", line 135, in keypress
self.prompt_execute(self._w.get_edit_text())
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/tools/console/statusbar.py", line 155, in prompt_execute
msg = p(txt)
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/tools/console/commandexecutor.py", line 17, in call
ret = self.master.commands.execute(cmd)
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/command.py", line 245, in execute
return self.call_strings(parts[0], parts[1:])
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/command.py", line 233, in call_strings
return self.commands[path].call(args)
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/command.py", line 105, in call
ret = self.func(*self.prepare_args(args))
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/command.py", line 275, in wrapper
return function(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/addons/cut.py", line 133, in clip
fp.write(strutils.always_str(v))
File "/usr/local/lib/python3.6/dist-packages/mitmproxy/utils/strutils.py", line 24, in always_str
return str_or_bytes.decode(*decode_args)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9c in position 1: invalid start byte
mitmproxy has crashed!
Please lodge a bug report at:
https://github.com/mitmproxy/mitmproxy
Any other comments? What have you tried so far?
Same problem occures with this cut.clip commands:
"request.text",
"request.content",
System information
$ mitmproxy --version
Mitmproxy: 4.0.4
Python:    3.6.8
OpenSSL:   OpenSSL 1.1.0i  14 Aug 2018
Platform:  Linux-4.15.0-55-generic-x86_64-with-LinuxMint-19.1-tessa

I can't reproduce, can you share the flow ?


Software Engineer

var methodInvocation = new CloudToDeviceMethod("writeLine") { ResponseTimeout = TimeSpan.FromSeconds(30) };
my directmethod app throws me this "Timed out waiting for the response from device" error however, the method is executed on simulate device app. Is there any way that I can dynamically set the Response timeout

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

ID: 791188b4-1770-21cd-d9c3-9eb4712bce14
Version Independent ID: 51216a18-4000-0859-7f6c-92465595a853
Content: Use Azure IoT Hub direct methods (.NET/.NET)
Content Source: articles/iot-hub/iot-hub-csharp-csharp-direct-methods.md
Service: iot-hub
GitHub Login: @dsk-2015
Microsoft Alias: dkshir

@rizwaans Thanks for the feedback! We are currently investigating and will update you shortly.

@rizwaans It appears after my testing and internal discussion that if unspecified, the timeout is 30 seconds. We don't allow anything higher than 300 seconds at this time.
If you would like to request the ability to remove the timeout period or allow for more than 300 seconds, please leave the feedback at the below forum. The product group frequently reviews this forum for product feedback.
https://feedback.azure.com/forums/321918-azure-iot

@rizwaans Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


JDN Changes

Merging before launch, migrating to feature branches from here forward

Coverage decreased (-29.3%) to 42.709% when pulling 560cc06fcc3dafc5d1c3881967babc23725ed06a on jdn-changes into 2f75399625fe79670448d740bdfd5870622c7900 on master.


Instructions for deploying on modwsgi

Hi, this is a minor change to the documentation which explains what to do in what I believe to be a potentially quite common use case - dealing with authentication with the production code deployed using flask and Apache.
Changes proposed in this pull request:

brief addition to security.rst referring readers to relevant modwsgi documentation.

Thank you!

:+1:


Placeholders

Got this far, been at war with the borrow checker for a while, beer time

@bytemunch a bit buggy on removing last char from main editor.... great start anyway 🍻

@bytemunch great start 🍻 I made few improvements 🙊

@bytemunch is it ready to be merged? :)

It feels like it, I was sure there was more to do yesterday, maybe I just got a bit stressed at it and it was just color and cursor. I'll do a wasm test then make it ready if all goes well


Publish proof as EIP-4844 BLOB

Component
sp1-sdk, Other (please describe)
Describe the feature you would like
On chain verification via solidity is slow and inefficient, a form of Proof of Equivalence can be used to convert the proof into a (eip-4844) blob and verify it for cheaper using the point evaluation precompile rather than pure solidity.
Additional context
https://www.eip4844.com/
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4844.md
https://www.evm.codes/precompiled?fork=cancun#0x0a
https://ethresear.ch/t/easy-proof-of-equivalence-between-multiple-polynomial-commitment-schemes-to-the-same-data/8188

Thank you for suggestion but at the moment we don't see calldata costs as too big of a bottleneck, closing as not planned


docs: add migration guide from bootc/netbox-chart to netbox-community/netbox-chart

Adding a migration guide on how to migrate from bootc/netbox-chart to netbox-community/netbox-chart
I can also add all the ArgoCD specific parts if this is of any interest

Thanks for this!
@LeoColomb and I were talking about this and are thinking we should break this up into 2 parts.

a general guideline on how to do an upgrade (dump the database, transition through minor versions)
taking these specific notes of yours and making them part of the "breaking changes" release notes for 5.0.0

For the former, I'm happy to modify this PR to turn it into a summary, if you'd like.
For the latter, we're tracking 5.0.0 stuff over in this PR.

I've gone ahead and converted your migrate.md to a more generic wording, since the specifics got pulled into the 5.0 release PR. I'll merge this now.
Thanks again for doing the work of creating proper steps for migrating! It's really appreciated.


Update javadoc, maven and CI links

@EpicEricEE

I already have an update for the readme prepared, which I planned to push after the release of 1.13, so I don't have to use 1.13-SNAPSHOT as version (which I'd rather just have as a comment alongside)

Ok ;)


Large Video on 4gb RAM device played only audio, video black screen

Bug
Platform

Android

Environment info
Library version: 6.0.0-alpha.8
react-native 0.71.5
Device: OneNord Plus 4gb RAM 11 Android
My Code
video.path - local uri video picker by react-native-image-picker
<Video
source={{ uri: video.path }}
repeat={true}
hideShutterView={true}
playInBackground
onLoad={() => {
setLoaded(true);
}}
style={{
height: height,
width: width,
}}
muted={!played}
paused={!played}
resizeMode="cover"
/>
Expected behaviour

Video played with audio

Video sample

Mp4 2:52m 4k 4gb

Hello, have you solved this problem

Same problem, any solution?

not solved, Did compression on BE side for videos


Yara version

Hi Chris, would it be possible to update the YARA version again to the latest? This would really help with writing certain rules. Thanks!

Hi ! Yes we have a version that uses YARA v4.3.2 internally. I will see if we can push that version to this public repository - this won't be until later on this month though.

Just pushed a version that uses YARA v4.3.2. You can always re-compile from source if you wanted to use another version in the future, just replace the libyara folder with the latest code.

Many thanks for that!


MicroTxnAuthorizationResponse_t is not triggered.

I have deployed this repository to Heroku, and pasted example/unity folder into my unity project according to this README.
I only changed the appId and ApiUrl in the code.
Then, after running the Unity app, it is failing at Microtransaction.Awake() with this error.
NullReferenceException: Object reference not set to an instance of an object
  at Microtransaction.Awake () [0x00021] in <c20b753265d948c89a87c3c64a161ea9>:0
UnityEngine.Object:Internal_CloneSingle(Object)
UnityEngine.Object:Instantiate(GameObject)
UnityScreenNavigator.Runtime.Core.Page.<PushRoutine>d__40:MoveNext()
UnityScreenNavigator.Runtime.Foundation.Coroutine.<ProcessRoutine>d__12:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

At here:
m_MicroTxnAuthorizationResponse = Callback<MicroTxnAuthorizationResponse_t>.Create(OnMicroTxnAuthorizationResponse);
I have steamworks sdk installed, but

Just paste this folder inside the Unity and put Microtransaction.cs into any GameObject and press play

doesn't seem to work for me.

I am going leave comments as I go for my future reference since there seems to be no activities in this repo for a year.
From Assets -> Create -> JazzHttp -> CreateHttpSettings, add the settings and change the ApiUrl to Heroku url.
Then, the app runs with no problem, but nothing happen after [API] Requisicao executada.

Hi, thanks for reporting this, I'll double check and update the repo as needed. Like you said, it's been a while since I've updated this repo, so I'll update it shortly with a functional version of it

@jasielmacedo
Thank you so much for the update!! It's nice and simple example.
However, Steamworks.NET does not display purchasing dialog after successful InitTxn.
(I see this log on Unity: Transaction initiated. Id:<PHONE_NUMBER>931087312)
Am I missing something?


[RFC] [read-write-set] Standalone type definition for read-write-set analysis

Motivation
Create a standalone type defintion for read-writeset analysis as the first step to separating the analysis path out from the move-model framework. The PR has two commits:

Create a type definition in move-core-types for types with free variables and the conversion function from move-model internal types to this definition.
Create a type definition crate in language/tools/read-write-set/types for the standalone type definition of the inferred result for read-writeset.

Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
TBD

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

LEC dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

LEC dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

LEC dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

:exclamation: Invalid command

Bors help and documentation

Bors is a Github App used to manage merging of PRs in order to ensure that CI is always green. It does so by maintaining a Merge Queue. Once a PR reaches the head of the Merge Queue it is rebased on top of the latest version of the PR's base-branch (generally master) and then triggers CI. If CI comes back green the PR is then merged into the base-branch. Regardless of the outcome, the next PR is the queue is then processed.
General

This project's Merge Queue can be found here.
This project requires PRs to be Reviewed and Approved before they can be queued for merging.
Before PR's can be merged they must be configured with "Allow edits from maintainers" enabled. This is needed for Bors to be able to update PR's in-place so that Github can properly recognize and mark them as "merged" once they've been merged into the upstream branch.

Commands
Bors actions can be triggered by posting a comment which includes a line of the form /<action>.

Command
Action
Description

Land
land, merge
attempt to land or merge a PR

Canary
canary, try
canary a PR by performing all checks without merging

Cancel
cancel, stop
stop an in-progress land

Cherry Pick
cherry-pick <target>
cherry-pick a PR into <target> branch

Priority
priority
set the priority level for a PR (high, normal, low)

Help
help, h
show this help message

Options
Options for Pull Requests are configured through the application of labels.

          Option
Description

Indicates that the PR is high-priority. When queued the PR will be placed at the head of the merge queue.

Indicates that the PR is low-priority. When queued the PR will be placed at the back of the merge queue.

Before merging the PR will be squashed down to a single commit, only retaining the commit message of the first commit in the PR.

LEC dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

LEC dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

LEC dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

For this version I exposed the constructor for Loader directly instead of exposing the accessor for Loader in Session. Using Session to access Loader might be a bit tricky because this requires us to handle those self holding struct that rust is notoriously bad at :(. How do you feel about this current approach @vgao1996 ? I can change to use Session but just curious to see your thoughts on lifetimes.

Using Session to access Loader might be a bit tricky because this requires us to handle those self holding struct that rust is notoriously bad at
@runtian-zhou I don't think is the case. A Session holds a &VMRuntime, and a VMRuntime holds a Loader, so effectively a Session holds a simple reference to a Loader. There shouldn't be any weird lifetimes to mess with. In other words, if you are able to implement fn loader(..) -> &Loader then you should be able to implement the APIs I suggested.

Now there is another question: should you implement the APIs for MoveVM orSession? I'd say either is fine.

Exposing these APIs through Session is more consistent with the other APIs we have today. It also allows you to make queries during execution.
However, since I'm currently trying to get rid of Session (or effectively make MoveVM a Session), it's not a big deal if you implement them on MoveVM -- MoveVM will take over the existing public APIs Session has with my change.

Overall I'd recommend you implement these APIs on Session instead of MoveVM, just in case my changes end up taking a long time to get accepted/committed.

LEC dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

release binaries dependency change summary:
target packages:
  A read-write-set-types 0.1.0 (workspace, path 'language/tools/read-write-set/types')
    * features: [none]

Fixed Sam's comments

/land


traffic_manager: fix --tsArgs to work.

Currently tsArgs is overwritten by the output file binding and therefore is ignored. This fix is only for 8.0.x, there is a different, more comprehensive fix for 9.0.

That's fine - I'm leaving it up to the RM to make the call. When I put up this PR, there wasn't such a commit to use.

Then you should have put a comment to help RM make the call without extra works.

I'm not sure what additional comment would have been helpful. There was already a link to the related PR for the cherry-pick.

The hash, lack of cherry-pick info and the reason for this PR. As you know, the PR has two commits, but we need only one of them here if I understand your intention correctly. And the hash on the PR is not the same as a commit on master because we rebase the commits on merge. A link to the related PR might be enough to gather whole context but I don’t think it is helpful.

To avoid confusion, we should reopen this and merge this into 8.0.x


Can the windows system install animated_drawings?

I use the git clone command, and then I can’t install animated_drawings with the pip command.

ERROR: Could not find a version that satisfies the requirement numpy==1.23.3 (from animated-drawings) (from versions: none)
ERROR: No matching distribution found for numpy==1.23.3
Why?

D:\anaconda\envs\Animated_Drawing\Library\bin\mkl_core.2.dll is not specified to run on Windows, or it contains errors. Please try to reinstall the program using the original ring. Or contact your system administrator or software vendor for support. Error status 0xc000007b.

Windows system can be used, the problem has been solved. Use git to clone the command first, and then install the dependent library with pip; conda may report an error when downloading the dependent library with pip, mine reported an error, and finally installed animated_drawings successfully using pip in the IDE.

Windows system can be used, the problem has been solved. Use git to clone the command first, and then install the dependent library with pip; conda may report an error when downloading the dependent library with pip, mine reported an error, and finally installed animated_drawings successfully using pip in the IDE.

Can you write step-by-step instructions on how to use which tools(IDE) use to install it on Windows?


Access Policy: Added Pseudo None Statements

This is not correct we shouldn't add new policy statements to satisfy none - none means there is no policy. Also what is the issue that this patch fixes?.
Additionally this also breaks s3 compatibility - how will this work with s3?

closed in favor of #415


How to use Flowtype with redux-saga?

I saw this issue, https://github.com/redux-saga/redux-saga/issues/358
But I am still not clear how to write basic type annotations for redux-saga code. Suppose this example:
const selectSuggestion = function *() {
  yield takeLatest('LOCATION_FORM_SELECT_SUGGESTION', function *(action) {
    yield put(changeStatus('not-in-use'));
    yield put(setCurrentAddress(action.payload.description));
  });
};

What is supposed to be the type of selectSuggestion?

Go take a look at the flow-typed definitions- they should help. Unfortunately, I think they're a bit out of date just at the moment, so you might have a bit of trouble getting them to work perfectly.
That being said, I've always found Flow's type inference to work rather well for this purpose. Try this:
const selectSuggestion: * = function* () {
  /*...*/
}

I'm running into a lot of issues with the flow-typed definitions as well, primarily with using the effects.
yield fork(processThreadResponses, {
    responses: responses.filter((r) => r),
    replace,
    replaceFolder,
});

Flow error: function call Function cannot be called on any member of intersection type intersection
This error in particular has plagued my codebase with seemingly no solution.  I would love any feedback on how to get rid if of this nefarious error.

any updates or tips on these?
should we look into adding Task descriptors?

I would love to incorporate some solution for you guys, but unfortunately I have no flow (or TS) experience and I need the community to provide a solution for this.

@Andarist In short, flow expects you to define a type for yield, return, and next. https://flow.org/blog/2015/11/09/Generators/

@neurosnap Did you find any solution to your problem so far?

@gajus I think you need to define a Iterable<any> in your functions as below:
export function getActivities(api: any) {
  function * worker(): Iterable<any> {
    const response = yield call(api.getActivities);

    if (typeof response === 'undefined') {
      throw new Error('`response` should be an object.');
    }
    if (response.ok) {
      const activities = path(['data'], response);
      yield put(Actions.activitiesSuccess(activities));
    } else {
      yield put(Actions.activitiesFailure());
    }
  }

  function * watcher(): Iterable<any> {
    while (true) {
      yield take(Types.ACTIVITIES_REQUEST);
      yield call(worker);
    }
  }

  return {
    watcher,
    worker
  };
};

@gajus I think you need to define a Iterable in your functions as below:

Thats a bad idea. A better option is Iterable<*, *, *>.

Thanks to the great work by @Alxandr, flow-typed has now updated redux-saga typings. Closing the issue now, if there are any problems with new typings, please report them here by creating a new issue or fix them in flow-typed repository.
If you have any suggestions on what is the best way to incorporate typings directly into redux-saga repository - please let me know. From what I understand the biggest problem is that typings are targeting specified range of flow versions and having them directly in the repository kinda locks them down to that range and might cause problems for people using versions from outside the range.

@Andarist  any working examples of this?  I'm using Iterable for my watcher, but I can't figure out how to properly type my worker?  Using 'any' right now, which i'd like to avoid.
@gajus you seem to know what your talking about, any advice?

Unfortunately not, I'm not using any typings with redux-saga at the moment. The typings were provided by @Alxandr, maybe he could give some examples.

Have the same issue. Update to the newest typing (Thanks @Alxandr!) but I dont't get it to work properly. An example would be great!

There is a Saga<T> type. If I understand you question correctly. Example:
function* mySaga(): Saga</* return type */ void> {
  yield put(myEffectCreator());
}

What about call usage? Can LHS be typed nicely in relation to RHS?

@Alxandr thanks so much for the quick reply.  You were correct and helped me remove the only 'any' from my typings.
Here's what I have now
export function* initializeAsyncStateWorker(action: Action): Saga<void> {
  try {
    yield put(initAppSuccess());
  } catch (err) {
    yield put(initAppError(err));
  }
}

// Watcher
export function* initWatcher(): Iterable<Effect> {
  yield takeEvery(INIT, initializeAsyncStateWorker);
}

I'm using Saga for the worker.  However is Iterable anywhere close to what I should be using for the watcher?  I kinda figured it out by trial and error, I have no idea if it's correct

@mackbrowne just use Saga<...> for both. Some examples:
function* loginSaga(username: string, password: string): Saga<User | null> {
  const result = yield call(doTheActualLogin, username, password));
  if (result.success) {
    return result.user;
  } else {
    return null; // or error
  }
}

function* handleLoginSaga(action: LoginAction): Saga<void> {
  const user = yield call(loginSaga, action.payload.username, action.payload.password);
  if (user !== null) {
    yield put(setUser(user.id));
  } else {
    yield put(setLoginFormError('Wrong username or password'));
  }
}

function* rootSaga(): Saga<void> {
  yield takeEvery(LOGIN, handleLoginSaga);
}

@Alxandr is result's type in your loginSaga inferable from doTheActualLogin?

  Thanks so much dude!

@Andarist I'm not entirely sure. It might be. But, it is strongly recommended that you always type sagas as being type Saga<....>. It's very possible that Saga<*> would work just fine, I haven't tried that. But if you do not type the saga, flow has a tendency to do weird things with generators.

@Andarist

@Alxandr is result's type in your loginSaga inferable from doTheActualLogin?

No, unfortunately. It's type any, which you can see by using flow type-at-pos or simply by changing result. success in the next line to something that would obviously cause an NPE like result.sucess.garbage.that.causes.exceptions and flow won't utter a peep.
The easiest way to get around this is to explicitly type the LHS:
const result: ActualLoginRV = yield call(doTheActualLogin, username, password));
Since it's any already, flow won't complain that you are narrowing it. However, if you make a mistake doing this (like, say, doTheActualLogin is later changed to return a different type), flow will not complain.
If you want more soundness and are willing to go through the effort, you can create use-specific generators and use yield * to "proxy" them, which preserves the type information:
  fn: (...args: Args) => Promise<T>,
  ...args: Args
): Saga<?T> {
    return yield call(fn, ...args);
}

function* loginSaga(username: string, password: string): Saga<User | null> {
  const result = yield* callPromise(doTheActualLogin, username, password));
  if (result.success) {
    return result.user;
  } else {
    return null; // or error
  }
}

Now, since you are splaying the effects, and callPromise is explicitly describing the mechanism that redux-saga uses to resolve Promises, flow will actually strictly enforce the LHS/RHS relationship. But fi you mess with callPromise you can introduce silent errors again. And if you forget to use it. And this only works for Promises so you have to make custom versions of these for anything else you want that redux-saga handles.
I would love to figure out a better way of doing it. Maybe the key is in adding another generic type to Saga<...> that relates the third arg (Next) with the effect.

I see now that I misread this question initially. Unfortunately, anything to the left of yield will be typed as any. No good way around it for now (unless you want to only yield 1 thing in the saga).

Here a small but useful example:
https://gist.github.com/retyui/533cc4e13949a70a64aa7959d95da22d


Fixed broken G0 builds

I broke the G0 variants with my last PR.  Fixed the PLLP change for G0.
Changes:

Set pllp as a u8 instead of a boolean in the G0 specific pll config section.

Testing:

Compiled for g030, g031, g041, g070, g071, g081

Good catch, and thanks for the fix!


Typescript Support

Any Idea To Migrate To TS or  Provide Typescript Support In Future?

It's not likely.  I think the project is mostly in "archive" mode at the moment.  I'm not against it, but I'm also not actively working on this at all.

Typings would be an awesome addition


Kitty Items web app doesn't show any items in Marketplace or Store

Describe the bug
After following the instructions and starting the web app at http://localhost:3001/marketplace/
doesn't show any items in Marketplace or Store. Clicking on other links just freezes. I thought, flow.json has all the metadata that is needed to populate the webpage.
To Reproduce
Follow the instructions as in https://github.com/onflow/kitty-items#local-development
Screenshots/Logs/Output
If applicable, add screenshots or logs to help explain your problem.

Developer Console:

Environment (Optional - Version, OS, Browser, etc.) :
Chrome Browser Version 96.0.4664.110 (Official Build) (x86_64) on macOS Big Sur
Docker Version: v20.10.8
npm Version : 8.3.0
node Version : 17.3.0
Additional context (Optional - Anything else about the bug)
Everything starts fine. Docker services are all running

@ayy345 thanks for reporting this. I couldn't reproduce the freezing issue, but those console errors will be resolved by #193
You won't see any store items until you log in to the service account, initialize it, and mint an item from the admin page. To see an item in the marketplace, you'll have to purchase an item with a non-service account, then sell it.


Direct connections don't show up if a backup from beta4 is restored into beta5

After updating from beta4 to beta5 and playing back a backup from beta4 no direct connections show up under 'programs and connections'. The following message is displayed:
An internal error was detected in the service software. The diagnostics are being emailed to the service system administrator (root).
Heck, since you're debugging, I'll show you the errors right here:
can't read "sender_type": no such variable
while executing
"set SENTRY(SENDER_TYPE) $sender_type"
(procedure "put_tablebody" line 129)
invoked from within
"put_tablebody"
(procedure "put_page" line 42)
invoked from within
"put_page"

These backups work all right playing back into a beta4 image.

Bei mir funktioniert alles. Die Direktverknüpfungen werden korrekt angezeigt.
Eingesetzt auf Raspi2 mit eingespielter Sicherung von Beta4.

Also here I don't see any such problems in my own RaspberryMatic beta5 system. Thus flagging it as worksforme.

Yes, everyone has to restore a backup with beta5, so this seems to be a very rare case of failure. I hoped, the error message could lead to a hint, what could be wrong.
That maybe a problem with 2.27 and not beta5 in special but I can't find any complains regarding 2.27.

Yust a guess. This problem may be possible, if a direct connection has no sender device. A direct connection with no sender device have a red circle with a with rectangle in the direct connection list.

Yes, that seems to be the reason. I have an (to the CCU) unknown) sender which is directly connected to a receiver. But that's a legal configuration and should not lead to this behavior. Older versions marked this sender simply as 'unknown device'.

Reopening this issue until it is being solved upstream

This problem will be fixed in CCU2 /OCCU 2.27.8 version (will be released in the next view days)

Great news! Thanks for keeping us updated. Please also have a look at #80 which IMHO is also an upstream issue which would be great to be solved in one of the next CCU/OCCU updates.

CCU2 2.27.8 has just been released. Thus closing this issue until there are further reports that the issue still exists in the next RaspberryMatic release.


Keras models loading error

Try to load efficientnet keras model and get this error:
$ python3 neural_dream.py -model_file ~/1111/zzz.h5 -model_type keras -print_layers
Traceback (most recent call last):
  File "neural_dream.py", line 793, in <module>
    main()
  File "neural_dream.py", line 121, in main
    cnn, layerList = loadCaffemodel(params.model_file, params.pooling, params.gpu, params.disable_check, True)
  File "/home/xxxx/1111/neural-dream/neural_dream/CaffeLoader.py", line 410, in loadCaffemodel
    cnn, layerList = modelSelector(str(model_file).lower(), pooling)
  File "/home/xxxx/1111/neural-dream/neural_dream/CaffeLoader.py", line 370, in modelSelector
    raise ValueError("Model architecture not recognized.")
ValueError: Model architecture not recognized.

How to fix it?

@MichaelMonashev You'll have to convert the model to PyTorch's .pth format first, with something like MMdnn. If the model is different than the exiting model's in terms of layers, channels, or anything like that, you have to create a class for it.
The existing model classes can be found here: https://github.com/ProGamerGov/neural-dream/tree/master/neural_dream/models
If it's different that the existing model classes:*
Copy the model class file produced by MMdnn and remove the unneeded stuff from the copy. I use Notepad++ to modify a copy of the PyTorch class file that MMdnn produces, and then I load test my new class with this script, that also saves the model as a state dict. You can then use the helper_layers.py classes to replace torch.nn.functional, addition, and other layers that the model itself does not have, so that these layers are able to selected with hooks.
If the model is similar enough to an existing class file, then you can just copy or modify it.
Once you have a working model class, then you have to add the model's file name to the model selector function .
If it's the same as one of the existing classes:
Then all you need to do is change the .pth model's name to something that the model selector function can detect. PyTorch doesn't have prototxt files like Torch7, so I've been using the model's name to detect which class I need to use in order to load it.
If you have any questions, I can try to answer them.

I'm going to close this issue as it appears to be resolved.


pull request for e2e test at 11/14/2016 12:45:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Allow use of aws iam role for service accounts

Allows auth with ecr registry using node identity

Requires kpack pr https://github.com/pivotal/kpack/pull/959

Should the kp_default_repository_aws_iam_role_arn value be added to the kpack controller service account?

Should the kp_default_repository_aws_iam_role_arn value be added to the kpack controller service account?

This was a mistake, the overlay should be here


User can pick comments shown and delete all comments

Overview: the features added in this PR are the following

option for the user to input how many comments they want to see

button for user to delete all comments from the datastore.

See features here: lweiskopf-step-2020.appspot.com
I implemented the option for the user to request how many comments they have seen by adding the parameter "quantity" that the user inputs on the contact.html page. Based on this value, the doGet() function in the DataServlet only iterates and adds comments to the screen the amount of times equal to the quantity. This number is fetched from the server in the js through the query line in the URL. When the user resubmits a new value for the number of comments, the container which holds the comments is also refreshed so there are no duplicated comments.
The second feature of this pull request is the option to delete all of the comments from the datastore database and from the page. I created a new servlet (DeleteCommentsServlet.java) which queries all of the datastore entries and deletes them based off of their key. When the delete all comments button is pressed, the deleteComments() function in script.js is triggered. This function creates a new POST request that calls the servlet to delete all of the comments. Then, the function that loads the comments (getComments()) is called so that the deleted comments on the backend are reflected on the database.
Note on the delete comments feature: Though the walkthrough says to implement this feature in this way, I don't think that this feature makes a lot of practical sense. I don't think that any user should be able to delete all permanent storage of content that another user has entered (and keeps the website owner from accessing this data). That being said, understanding how to implement this is a good skill!
Sorry that this is a bit of a long one,
Thank you!

I created a few helper function for the DataServlet to make the doGet and doPost methods shorter.

I'm not sure why it looks like all of the java files have a space at the beginning of the line, but on the cloud shell editor and on vim, there isn't an extra space. It seems like github adds that space so they can put a plus or minus if a line is added/deleted

Thank you!


Update default output dir path

Update default output dir path to match the project configured path so that command line builds can use the same cache as ide builds. If the user needs different paths for some reason, it would make sense to change the default at that time. This also possibly reduces the amount of .gitignore lines since the user won't have to ignore 2 build paths by default.

Thanks John. I think it's a matter of opinion whether this is better than the current behaviour, and I think this change might cause disruption to a lot of users that are accustomed to the current behaviour.
I would prefer to make it easier to change the default (perhaps just through documentation) than make this change. Since the code changes in this PR are pretty minimal, I'm going to close this PR and ask that you raise this on the Gradle development list if you want to push for a change.

yeah, I'd be happier with more clear documentation. The current doc isn't very clear that it's using a different path at all or on where to go to change it. You have to drill down into the doc to the Eclipse Class Path page to find the setting.
I agree that changing it would inconvenience a lot of users, but thought I'd publish the pull request anyway.

Thanks. A pull request to improve the docs would be most welcome.
Perhaps adding a section 'Configuring compiler output' under 'Customizing the generated files'?


kadm: add NewOffsetFromRecord helper function

This adds NewOffsetFromRecord function that may be helpful for manually committing offsets

Bit of a delay on my side ... releasing this evening.


[DOCFIX] Clean up FileSystem API line length

100 characters / line limit

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15050/
Test PASSed.


Python3 only build ?

Are we at the stage where we can build appleseed.studio when only Python3 is available ?

No.  Appleseed.studio is Python 2 only.
Python 3 is only used for the Blender plugin

Python 2 is also used in Gaffer and Maya plugins.

What would it take to completely get rid of Python 2.x? At least for everything that's not a plugin?

Updating the cmake files to link with Python 3 and boost python 3. Checking if the Python code we have in studio works with Py3. Updating the deps.
Since we cannot get rid of Py2 for a long time and we don't really use Python in studio I don't think it is worth it to update for now.

@est77
Am bringing up this issue again, as python2 has reached EOL and general support for it has been on the lower side.
Am wondering how hard is the python2 to python3 migration?
Would love to give any small help I can, I am trying to get this packaged for Gentoo and we have actively removed a lot of python2 and are soon going to remove it from the OS, so would like to see this one working with python3.

The few python3 files I could fine,in the few seconds I spent -
./docs/source/conf.py
./sandbox/examples/python/helloworld/helloworld.py
./sandbox/examples/python/studio/plugins/basicenumerator/__init__.py
./sandbox/examples/python/studio/plugins/textureprocessor/__init__.py
./sandbox/lib/python/site-packages/Qt.py
./sandbox/share/aspaths2json.py
./sandbox/share/mitsuba2appleseed.py
./sandbox/share/rfmdisneypresets2appleseed.py
./sandbox/tests/test scenes/energy compensation/make_grid.py
./sandbox/tests/test scenes/many light sampling/generators/4_point_lights_test_scene.py
./sandbox/tests/test scenes/many light sampling/generators/grid_emt.py
./sandbox/tests/test scenes/many light sampling/generators/grid_point_lights.py
./scripts/appleseed.benchmark.py
./scripts/appleseed.package.py
./scripts/cleanmany.py
./scripts/convertmany.py
./scripts/oslextractmeta.py
./scripts/rendermanager.py
./scripts/rendermany.py
./scripts/rendernode.py
./scripts/runtestsuite/colorama/__init__.py
./scripts/runtestsuite/colorama/ansi.py
./scripts/runtestsuite/colorama/ansitowin32.py
./scripts/runtestsuite/colorama/initialise.py
./scripts/runtestsuite/colorama/win32.py
./scripts/runtestsuite/colorama/winterm.py
./scripts/runtestsuite/png.py
./scripts/runtestsuite/runtestsuite.py
./scripts/sortincludes.py
./scripts/updatetestsuiterefimages.py
./src/appleseed.python/__init__.py
./src/appleseed.python/logtarget.py
./src/appleseed.python/test/runtests.py
./src/appleseed.python/test/testbasis.py
./src/appleseed.python/test/testdict2dict.py
./src/appleseed.python/test/testentitymap.py
./src/appleseed.python/test/testentityvector.py
./src/appleseed.python/textureconverter.py
./src/appleseed.studio/python/studio/__init__.py
./src/appleseed.studio/python/studio/plugins.py
./src/appleseed.studio/python/studio/ui.py

Python 3 bindings do not build for me unless I apply this patch first.

we don't really use Python in studio I don't think it is worth it to update for now.

On the contrary, it appleseed.studio can be divorced from Python 2.x easily it makes even more sense to do so.  Python 2.x code is not even allowed in some distributions which means only CLI part can be packaged.

I am trying to get this packaged for Gentoo and we have actively removed a lot of python2 and are soon going to remove it from the OS, so would like to see this one working with python3.

We (FreeBSD) started to package (again) the latest released version 2.1.0-beta with Python 3.x bindings and appleseed.studio enabled.  This requires some patching, but not too much.  Admittedly, I haven't checked every Python script for 3.x conformance, but both CLI and GUI allow me to render a test scene.


First draft to export to GraphBuilder

Codecov Report
Attention: Patch coverage is 90.98361% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 82.52%. Comparing base (a54de21) to head (0c2a92d).

Files
Patch %
Lines

onnx_array_api/translate_api/builder_emitter.py
87.77%
11 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
+ Coverage   82.35%   82.52%   +0.17%
==========================================
  Files          61       62       +1
  Lines        7978     8098     +120
==========================================
+ Hits         6570     6683     +113
- Misses       1408     1415       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add bower info to packages on function getInstalled

To have access to other information of packages such as main files on
getInstalled function

I'm not sure to understand your proposed change. The Package class does not accept a fifth argument

Here is a snippet from Package class
 /**
     * All descendants' constructors should call this parent constructor
     *
     * @param string $name            The package's name
     * @param string $requiredVersion E.g. 1.*
     * @param string $version         E.g. 1.2.3
     * @param array  $requires        The package's dependencies
     * @param array  $info            Package info (e.g. info from bower.json)
     */
    public function __construct($name, $requiredVersion = null, $version = null, $requires = array(), $info = array())
    {
        $this->name = $name;
        $this->requiredVersion = $requiredVersion === 'master' ? '*' : $requiredVersion;
        $this->version = $version;
        if (!empty($requires)) {
            $this->requires = $requires;
        }
        if (!empty($info)) {
            $this->info = $info;
        }
    }

You're right I miscounted the arguments


Problem with DragDrop.DefaultDropHandler.Drop() when dropping multiple items across groups

I'm trying to do custom handling for multiple items in a grouped list box by implementing an IDropHandler.  The default behavior without the drop handler works fine all around for single and multi-item drops. However, using IDropHandler fails when calling DragDrop.DefaultDropHandler.Drop() when multiple items are selected and dragged across groups.
Here's my implementation:
This code works for:

Single Items both within group and across groups
Multiple Items within the same group

It fails for:

Multiple items across groups

Here's what this implementation looks like at the failure point:

The error is:

Here's my code:
public class SessionRequestListModel : IDropTarget
{
    ...
        public void DragOver(IDropInfo dropInfo)
        {
            if (dropInfo.KeyStates.HasFlag( DragDropKeyStates.ControlKey))
                dropInfo.Effects = DragDropEffects.Copy;
            else
                dropInfo.Effects = DragDropEffects.Move;

            dropInfo.DropTargetAdorner = DropTargetAdorners.Insert;
        }

        public void Drop(IDropInfo dropInfo)
        {
            var item = dropInfo.TargetItem as HttpRequestData;
            if (item == null) return;
            var sourceItems = dropInfo.Data as List<object>;
            if (sourceItems == null)
            {
                var sourceItem = dropInfo.Data as HttpRequestData;
                if (sourceItem == null) return;
                sourceItems = new List<object>();
                sourceItems.Add(sourceItem);

            }

            var resultItems = new List<object>();
            foreach (HttpRequestData source in sourceItems)
            {
                HttpRequestData copied = source;
                if (dropInfo.Effects == DragDropEffects.Copy)
                {
                    copied = HttpRequestData.Copy(source);
                    if (!string.IsNullOrEmpty(copied.Name))
                        copied.Name += " (copy)";
                    else
                        copied.Url += " (copy)";
                }

                if (copied.Group != item.Group)
                {
                    copied.Group = item.Group;
                }

                resultItems.Add(copied);
            }

            dropInfo.Data = resultItems;

            // TODO: this blows up with multiple items across groups
            // but works for single items or multiple items within same group
            GongSolutions.Wpf.DragDrop.DragDrop.DefaultDropHandler.Drop(dropInfo);

            GroupRefresh();
        }
}

Basically what the code is doing is creating a new Data item with a List of drop items which may have updated group data which is a property on the item model. The group is explicitly updated in GroupRefresh(), but the code never gets there for the multi-drop operation. It does work however for a single item which is strange.
I'm creating new data items in order to properly support the Copy operation which needs to create new (not the same reference) items which makes this code more verbose than it otherwise would be. I suspect it has something to do with the new collection that's causing the problems, but still odd that it works with a single item even though that is also in the collection.

I haven't tried your Clonable solution yet, but I don't think that's the problem. The items in the example above aren't copied/cloned because it's a move operation so just using the original objects and re-assigning to the new collection of items. The odd thing is that this doesn't fail with the exact same operation in the same group.
I pulled down the Gong code to see what is actually failing.
When running in my app, here's the actual error location and data at point of failure in DefaultDropHandler.cs:

I'm not sure why this is failing. It's doing a move on the Observable collection so these are the original items (not copied/cloned), there are items at these indexes. Not sure why this would fail. The first iteration in the selected items loop works - it's the second selected item that fails.

So I tried out your IDragItemClonable interface but couldn't get that to work - where do I specify that the interface is used or is that automatic? I have only this and don't see another place to provide a reference to the interface on the control like the DropHandler:
public class SessionRequestListModel : IDropTarget, IDragItemCloneable

My full code (old code w/o) is here (private WebSurge repo but you have access):
https://github.com/RickStrahl/WebSurge2/blob/8bd81f87d5c502848bb73c493fc8c701e42b0a67/WebSurge/Controls/SessionRequestList.xaml.cs#L181

Aaargh...
So although the code blows up on the line above it looks like it actually works to move items.
For now I added the following to my code:

            // TODO: this blows up with multiple items across groups
            // but works for single items or multiple items within same group
            try
            {
                GongSolutions.Wpf.DragDrop.DragDrop.DefaultDropHandler.Drop(dropInfo);
            }
            catch
            {
                AppModel.Current.Window.Statusbar.ShowStatusError(
                    "Can't drag multiple items between groups. Please only drag single items between groups.");
            }

and now the items drop. However, the exception occurs (I see the error message on the status bar), but the items are moved/copied.


⚠ Bofrost.de has degraded performance

In 125a261, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1811 ms

Resolved: Bofrost.de performance has improved in 5d32d02 after 6 minutes.


fix(@schematics/angular): fix e2e schematic to expect welcome message with prefix

The "application" schematic generates the welcome message in AppComponent with the app prefix.
The "e2e" schematic did not include the prefix in the spec file accordingly.
This PR includes the app prefix in the welcome message spec.
Thanks for reviewing this!

:-( Duplicate of https://github.com/angular/devkit/pull/720


V0.3.0 guides

Livebooks Guides

Getting Started
Create a SwiftUI Application
Swiftui Views
Interactive SwiftUI Views
Stylesheets
Native Navigation
Forms and Validation

Changes Needed

[X] Include Form library in Create Swift UI Guide
[X] Interactive views must be wrapped in LiveForm
[X] class is being renamed to style
[X] Color("MyColor") is broken (Waiting for #1331  to be resolved)

@BrooklinJazz I confirmed that #1331 is working OK. So you can complete the guides

I think this needs to be rebased, it has some commits that are modifying the Swift library, but I assumed this would only be adding LiveBook guides.


Square Animation

I have made the square animation
Fixes #159

Checklist:
To fill the checklists, put x inside the brackets. [x]

[x] My code follows the guidelines of this project
[x] I have tested my code and it works properly
[x] I have added just one folder that includes my Art files (jsx and css)
[x] I have not edited App.js file
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] This is my original code and I have NOT copied the code from anywhere else.

Thank You!


RSS for the blog

Please add RSS support for your blog so we can follow...

Hi, thanks for your interest! I would love to add RSS but we're still working out how we want to manage communication channels across projects etc as just a couple of part-time people. For now the best thing is to become a sponsor, which I wish could be free, but theres a $1/mo tier now and that's where most of our communication effort is going for now.
https://github.com/sponsors/progrium
You can also join our Discord if sponsorship doesn't work for you: https://discord.gg/ZEAhW524UR


Base: Add right and left keycodes to nav dom-tree

When in the "Inspect Element" DOM Tree, using the right arrow key navigates down the tree (similar to return) and left arrow key navigates up.

cc @AtkinsSJ is this the behavior you were looking for with left/right arrow keys?

Also fails linting as of now
Checking formatting...
[warn] Base/res/ladybird/inspector.js
[warn] Code style issues found in the above file. Forgot to run Prettier?
[FAIL]: Meta/lint-prettier.sh

macOS failure unrelated

Also fails linting as of now
Checking formatting...
[warn] Base/res/ladybird/inspector.js
[warn] Code style issues found in the above file. Forgot to run Prettier?
[FAIL]: Meta/lint-prettier.sh

macOS failure unrelated

Alright, applied changes and fixed prettier/linter issues

This works great! Thanks for working on it. :^)
Code looks fine, just please squash the changes from the second commit into the first one. Within a PR, making corrections to the original commit means the git history is easier to follow.

Awesome, squashed


Fixed HOME environment variable missing under Windows

The HOME environment variable is not set on Windows by default. Instead Windows uses USERPROFILE. It is possible for HOME to be set on Windows but for users who have not done this they will get: HOME: unbound variable. I have added a line that sets HOME to USERPROFILE if HOME is missing and USERPROFILE is found. This solves the unbound variable error.
I've tested this on Windows 10 using MinGW 6.2 - works perfectly other than the MAX_PATH on windows is much shorter than on other OS's meaning the output audio file tends to have a path that is too long: $(dirname "${path}")/${genre}/${artist}/${title}/${title}.${extension} The title is sometimes egregiously long on some audio-books.

Had no idea anyone was trying to use the script under windows. I personally don't have a way to test this ATM. I will try to take a look at this as soon as I can, but I see no issues just looking at the code.

Thanks!

No problem :)  glad I could help.
On Fri, 6 Apr 2018, 16:56 KrumpetPirate<EMAIL_ADDRESS>wrote:

Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KrumpetPirate/AAXtoMP3/pull/53#issuecomment-379297263,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AigzNI6WLuqvf-epoVVA19-Iaeo8sEOrks5tl4_9gaJpZM4TJjRy
.


🐛 [Teamspeak Server] Unable to find privilege key

Which addon?
Teamspeak Server

Addon name : Teamspeak Server
Addon version : 3.13.6-6

Describe the bug
Hi, it may be me simply not being able to find it but nowhere in the logs am I able to find the privilege key that allows me to claim admin rights to the server.

Hi, I've changed the upstream image, please try again to see if it works. At least on my system it shows the infos

No luck on my side, I've added the new logs below
{s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
Add-on: Teamspeak server
voice communication for online gaming, education and training
Add-on version: 3.13.6-8
You are running the latest version of this add-on.
System: Home Assistant OS 9.4  (amd64 / generic-x86-64)
Home Assistant Core: 2023.1.1
Home Assistant Supervisor: 2022.12.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
https://github.com/alexbelgium/hassio-addons
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-custom_script.sh: executing...
[12:03:07] INFO: Execute /config/addons_autoscripts/teamspeak.sh if existing
[12:03:07] INFO: ... no script found
[cont-init.d] 01-custom_script.sh: exited 0.
[cont-init.d] 20-folders.sh: executing...
[cont-init.d] 20-folders.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
Checking if every package is installed ..
[services.d] done.
Completing the installation of the predownloaded server ..
TeamSpeak updater:
Current version (3.13.7) is up to date!
Initializing TeamSpeak 3 Server with ini-file ..
2023-01-07 23:03:22.997797|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.13.7 (2022-06-20 12:21:53)
2023-01-07 23:03:23.000127|INFO    |ServerLibPriv |   |SystemInformation: Linux 5.15.80 #1 SMP Thu Dec 1 08:53:20 UTC 2022 x86_64 Binary: 64bit
2023-01-07 23:03:23.000150|INFO    |ServerLibPriv |   |Using hardware aes
2023-01-07 23:03:23.000584|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2023-01-07 23:03:23.000616|INFO    |DatabaseQuery |   |dbPlugin version: 3.11.1
2023-01-07 23:03:23.000765|INFO    |DatabaseQuery |   |checking database integrity (may take a while)
2023-01-07 23:03:23.035343|WARNING |Accounting    |   |Unable to open licensekey.dat, falling back to limited functionality
2023-01-07 23:03:23.035629|INFO    |Accounting    |   |Licensing Information
2023-01-07 23:03:23.035659|INFO    |Accounting    |   |licensed to       : Anonymous
2023-01-07 23:03:23.035673|INFO    |Accounting    |   |type              : No License
2023-01-07 23:03:23.035691|INFO    |Accounting    |   |starting date     : Tue Feb  1 00:00:00 2022
2023-01-07 23:03:23.035705|INFO    |Accounting    |   |ending date       : Thu Jul  1 00:00:00 2027
2023-01-07 23:03:23.035717|INFO    |Accounting    |   |max virtualservers: 1
2023-01-07 23:03:23.035729|INFO    |Accounting    |   |max slots         : 32
2023-01-07 23:03:23.598153|INFO    |              |   |Puzzle precompute time: 544
2023-01-07 23:03:23.598556|INFO    |FileManager   |   |listening on <IP_ADDRESS>:30033, [::]:30033
2023-01-07 23:03:23.599738|INFO    |Query         |   |Using a query thread pool size of 2
2023-01-07 23:03:23.643177|INFO    |VirtualServerBase|1  |listening on <IP_ADDRESS>:9987, [::]:9987
2023-01-07 23:03:23.643353|INFO    |Query         |   |listening for query on <IP_ADDRESS>:10011, [::]:10011
2023-01-07 23:03:23.643460|INFO    |              |   |creating QUERY_SSH_RSA_HOST_KEY file: ssh_host_rsa_key
2023-01-07 23:03:25.047130|INFO    |Query         |   |listening for ssh query on <IP_ADDRESS>:10022, [::]:10022
2023-01-07 23:03:25.047246|INFO    |Query         |   |listening for http query on <IP_ADDRESS>:10080, [::]:10080
2023-01-07 23:03:25.047340|INFO    |CIDRManager   |   |updated query_ip_allowlist ips: <IP_ADDRESS>/32, ::1/128,

That's strange, it appears for me... Here are the official infos : https://github.com/ertagh/teamspeak3-server-arm#server-admin-privilege-key

Okay, a complete uninstall then reinstall of the addon fixed it (instead of just updating). Thank you for your help


itemContentTap returns wrong childIndex / data

itemContentTap returns wrong childIndex / data, clicking on 0th index returns 1 at childIndex and data from 1st index. If I click on last content item, data will be undefined.
Which platform(s) does your issue occur on?

iOS
iOS 12.1
iPhone XR / iPad 6th Gen

Please, provide the following version numbers that your issue occurs with:

CLI:  5.0.3
Cross-platform modules: 5.1.0
Runtime(s): 5.1.0
Plugin(s): 6.0.0-beta.2

Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
Is there any code involved?
HTML
 <Accordion class="list-group" [items]="groups"
            (itemContentTap)="onItemContentTap($event)">
            <ng-template let-group="item" acTemplateKey="title">
                <GridLayout class="p-10 bg-muted header-separator">

                </GridLayout>
            </ng-template>
            <ng-template let-item="item" acTemplateKey="content">

            </ng-template>
        </Accordion>

TS
 groups: { title: string, items: { display: string }[] }[] = [
    {
        title: "Group 1",
        items: [
              { display: "Item 1" },
              { display: "Item 2" },
              { display: "Item 3" },
        ]
    },
   {
        title: "Group 2",
        items: [
              { display: "Item 1" },
              { display: "Item 2" },
              { display: "Item 3" },
        ]
    }
];

  onItemContentTap(event) {
        const data = event.data;
        console.log(event.index);
        console.log(event.childIndex); // Index is always one more than what user taps
        console.log(data);
    }

Same here. Indexing starts from 1 instead of 0 on iOS only.

Any workaround here?


Deleting objects with HABTM associations causes crash in Rails 4.1.1

Steps to reproduce:

Clone this repo, bundle it, migrate, and start it up. It contains a dummy Rails 4.1.1 app with rails_admin installed and two models with a HABTM relationship (taken from the HABTM section of Rails Guides)
Navigate to the admin (i.e. localhost:3000/admin) and create a single Part object.
Try to delete the Part you just created.

Expected Outcome:
Admin should show the 'are you sure' page with a list of associated objects that might be deleted
Actual Outcome:
Error thrown:
undefined method `parts_assemblies' for #<Part:0x007f93b9dd1400>`

Full stack trace here: https://gist.github.com/davefp/8bd2947172c9fb5dbd83

Rails 4 support was dropped now.


The design of ErrRecordNotFound in gorm.errors.go is unreasonable

https://github.com/go-gorm/gorm/blob/d278ca49ef30f003c9624ae58d4d8726f728c1f7/errors.go#L11
ErrRecordNotFound = logger.ErrRecordNotFound It is not recommended to use this method to introduce in gorm.errors, but to put the errors together, and then gorm.ErrRecordNotFound can be used for logger/logger.go#145. It is wrong for you to deal with it this way. An errors.go also depends on the ErrRecordNotFound variable in logger/logger.go. If you want to migrate and maintain later, you have to introduce ErrRecordNotFound in the logger package, which does not conform to the package design principles. , Does not comply with the principle of least dependency, it is recommended to put it in gorm.errors.go.

please keep the principle of least dependency

https://github.com/daheige/gorm/commit/d4a1313643fc1f8a868730c8056f32a05ce0fb51


Allow unmetered access sometimes

Sounds good, it's a nice way to allow some tool we know to not be throttle!


Compatibility with TF 1.0

This fixes some obvious API changes. It doesn't quite work (crashes with error below), so some digging needs to be done to see why it can't find the variable name. Hopefully this can be used as starting point for someone upgrading it to run under TF 1.0
  File "resnet_cifar10_multi_gpu.py", line 174, in <module>
    tf.app.run()
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 44, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "resnet_cifar10_multi_gpu.py", line 170, in main
    train()
  File "resnet_cifar10_multi_gpu.py", line 118, in train
    apply_gradient_op = optimizer.apply_gradients(grads, global_step=global_step)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 409, in apply_gradients
    self._create_slots(var_list)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/training/momentum.py", line 55, in _create_slots
    self._zeros_slot(v, "momentum", self._name)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 609, in _zeros_slot
    named_slots[var] = slot_creator.create_zeros_slot(var, op_name)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/training/slot_creator.py", line 123, in create_zeros_slot
    colocate_with_primary=colocate_with_primary)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/training/slot_creator.py", line 101, in create_slot
    return _create_slot_var(primary, val, '')
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/training/slot_creator.py", line 55, in _create_slot_var
    slot = variable_scope.get_variable(scope, initializer=val, trainable=False)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 988, in get_variable
    custom_getter=custom_getter)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 890, in get_variable
    custom_getter=custom_getter)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 348, in get_variable
    validate_shape=validate_shape)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 333, in _true_getter
    caching_device=caching_device, validate_shape=validate_shape)
  File "/home/yaroslav/.conda/envs/tim-jan17/lib/python3.5/site-packages/tensorflow/python/ops/variable_scope.py", line 657, in _get_single_variable
    "VarScope?" % name)
ValueError: Variable scale1/weights/Momentum/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?

OK with help of @annarev I was able to find the last remaining issue, this PR now makes things compatible with latest TF version


Update the jsonwebtoken dependency

This bumps the jsonwebtoken package up one major version, these does not seem to be any breaking changes affecting the implementation of it in tachometer.

Thanks for the PR!

@janechu released as 0.7.1


Update project configuration from Roslyn info

Fixes https://github.com/dotnet/razor/issues/10736 and brings in IDE support for the new Roslyn tokenizer, which makes this work:

A better fix here would be to get the SuppressAddComponentParameter flag off of RazorConfiguration and put it on ProjectWorkspaceState, then I wouldn't have needed to hack things into the ProjectWorkspaceStateGenerator as I have. That would require compiler changes though, so I didn't bother since the issue doesn't seem to be fixed either.
The other option is just to rename ProjectWorkspaceStateGenerator to RoslynProjectProcessor or something, since that is what it really does anyway :)

it isn't clear to me why CSharpLanguageVersion exists on ProjectWorkspaceState. Seems like this makes better sense on RazorConfiguration?

Noting that I am being descriptive, not prescriptive, but in VS at least, ProjectWorkspaceState is "things that come from Roslyn", and RazorConfiguration is "things that come from the project system". This is ultimately why the SuppressAddComponentParameter change didn't work in VS - that info simply isn't present in the data we receive from the project system, so the value in the configuration is always default.

IMO, data needed to configure the compiler should go on RazorConfiguration.

No argument from me, and with this PR allowing the ProjectWorkspaceStateGenerator to update the configuration as well, that is definitely something we can do. I'm not necessarily a fan of our compiler configuration being dependant on where each piece of data comes from, however the changes in this PR around UseRoslynTokenizer prioritised expediency over everything. Also, to do this properly (ie, not just in a way that uses the configuration properties in the configure lambda) this would require changes to the compiler and how it gets the UseRoslynTokenizer configuration, which was definitely not in scope for the other PR. In general though, I do not like the configure lambda and would happily work to move away from it entirely. Too much potential for bugs when specific calls are missing, and using a strongly typed configuration object is much preferred to me.

its purpose is just to configure RazorCodeGenerationOptions.
This is using the source generator's implementation of IConfigureRazorParserOptionsFeature rather than the newer one that is actually used in most cases: IRazorParserOptionsFactoryProjectFeature.

I am unfamiliar with all 3 of these types, so thank you for the pointers. The current code is just me copying code from the compiler because, as I mentioned above, expediency was the goal.

Okay, pushed up an update to move UseRoslynTokenizer and CSharpLanguageVersion to RazorConfiguration, since they configure the project engine. I would argue RootNamespace should move there too, and in fact it has special handling in some specific cases that could be removed if we did so. I decided not to do that now, and I haven't changed the compiler parts of the wire-up, because I think this is still desired for 17.13 Preview 1, but can certainly log issues and we can follow up.
I also took the liberty of renaming some classes because "WorkspaceProject" and "ProjectWorkspace" seem to both mean "Roslyn", so I just called them "Roslyn".
Also taking this out of draft since I found and fixed the issue with SuppressAddComponentParameter.

it isn't clear to me why CSharpLanguageVersion exists on ProjectWorkspaceState. Seems like this makes better sense on RazorConfiguration?

Noting that I am being descriptive, not prescriptive, but in VS at least, ProjectWorkspaceState is "things that come from Roslyn", and RazorConfiguration is "things that come from the project system". This is ultimately why the SuppressAddComponentParameter change didn't work in VS - that info simply isn't present in the data we receive from the project system, so the value in the configuration is always default.

Not related to your pull request at all, but ProjectWorkspaceState is probably something that should just go away. It has an especially bad design smell because it's exposed on IProjectSnapshot. So, there's a IProjectSnapshot.GetTagHelpersAsync(...) method and there's an IProjectSnapshot.ProjectWorkspaceState.TagHelpers property. I've got private changes to address that at some point.

ProjectWorkspaceState is probably something that should just go away

Agreed. Now it is just tag helpers, and the name makes little sense.


feat(cloudtrail): test if cloudtrails are enabled

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 64.61538% with 23 lines in your changes missing coverage. Please review.

Project coverage is 43.20%. Comparing base (d2e134c) to head (8c7908a).
Report is 7 commits behind head on main.

Files with missing lines
Patch %
Lines

aws/cloudtrail/getter.go
0.00%
21 Missing :warning:

aws/cloudtrail/cloudtrail.go
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
- Coverage   44.66%   43.20%   -1.47%
==========================================
  Files         106      114       +8
  Lines        2776     3224     +448
==========================================
+ Hits         1240     1393     +153
- Misses       1507     1802     +295
  Partials       29       29

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.