MB-14703: Add step to CircleCI pre_test to ensure spectral lint errors decrease

Jira ticket for this change
Summary
Run the spectral linter in CI and ensure the number of issues goes down.
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Run the
./scripts/ensure-spectral-lint missing-baseline spectral

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 17b51fd80745bb43609d3679ad0c38e53096ff17

Thanks for making those updates. This lgtm as is, though I do wonder about testing. I was thinking of maybe creating a branch off this one and changing the condition for when the baseline is saved temporarily, then creating branches off that one to test out different conditions.

I could change the script to just print if there are problems but not actually fail the build. That way we could inspect the output before turning it into a failure

Thanks for making those updates. This lgtm as is, though I do wonder about testing. I was thinking of maybe creating a branch off this one and changing the condition for when the baseline is saved temporarily, then creating branches off that one to test out different conditions.

I could change the script to just print if there are problems but not actually fail the build. That way we could inspect the output before turning it into a failure

Yeah, that sounds good to me!


Label error messages

with an appropriate prefix that calls attention to the message.

Some decisions taken. If wrong, will consider reopening.


css bundled (Failed loading required CSS file)

Hi,
I get this when i bundle my css (fixUpCSSUrls):

the css string is in the "default" property.
maybe it has to do with this
https://github.com/aurelia/templating-resources/issues/189
I'm also getting runtime errors for bundling html:
Error: Template markup must be wrapped in a <template> element e.g. <template> <!-- markup here --> </template> at Object.createTemplateFromMarkup (http://localhost:9000/dist/aurelia.js:10292:15) at eval (http://localhost:9000/dist/aurelia.js:12662:42) Error loading http://localhost:9000/dist/common/contact/index.html!template-registry-entry
I didn't really changed the gulp bundling code.

I have the same issue

I have the same issue with loading resources registered by config.globalResources https://gyazo.com/ef5c5cd64d4b3a59f2b3a6910aa35204

When It will be fixed?

We haven't seen these errors anywhere. We would need a repro to track it down.

https://github.com/Ma3yTa/au-bundle-tst

@ahmedshuhel Is it possible that the text plugin has changed the way it exports text resources?

Rob, I also ran into these issues when I followed the simple bundling samples in Aurelia's documentation, and can confirm it's related to the text plugin. Installing 0.0.8 breaks bundling, downgrading to 0.0.3 (as used in the samples) fixes the issue.

@EisenbergEffect @Cedware described where is a problem here https://github.com/aurelia/templating/issues/362#issuecomment-224207102

Check master of loader-default and let me know if this resolves the issue. Based on examining the source of multiple different loader text plugins and versions, I think this should handle the differing approaches.

Firefox console show: "TypeError: plugin.load is not a function" when aurelia attempt load css-resources (that's why error "Failed loading required CSS file" raise).
After some research I found that SO post about that error.
Author found solution in comments to first post:
28 Jul, to dynamically require text requires setting stub:false in the text plugin at aurelia.json > build.loader.plugins.
After change stub value to false in aurelia.json -- work fine for me. Bug is gone and app work correct.


Export config type, for use when extending CVA

Description
Export Config type, so that if someone is extending CVA they can use the return type of the function without trying to derive it from the function itself
Additional context

What is the purpose of this pull request?

[X] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Follow the Style Guide.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).

Appreciate the PR, but I don't think this is aligns with the project goals and it shouldn't behave as expected: cva should be the single source of truth, much like say zod


Corrupted Sceptre from Gauntlet Timer

This last update broke the 5 tick cooldown timer for the Sceptre the main little weapon you get when you first spawn

Tested, works for me at least.


Painting tiles gets very slow

Seems to be very high cpu usage

Seems to be ok now, but drawing of breakpoints and locations feels slow. Not a big issue. Will try to fix this once Issue #20 is finished.


Remove PubsubFileInjector and IntraBundleParallelization

R: @lukecwik @dhalperi

Please reference https://issues.apache.org/jira/browse/BEAM-414 in commit message

LGTM

IntraBundleParallelization is gone!! :star2: :exclamation: :+1: :tada:

I'm sorry, why is this a good thing? This was the easiest way we had to make parallel HTTP requests without having to tinker with threads ourselves. For us it's a 10x speed difference if this options is there or not, for whatever reason the default DoFn just doesn't understand how to "parallelize network requests properly" and IntraBundleParallelization was the only fix.

My comment was related to the fact that IntraBundleParallelization carried a dependency on OldDoFn and cleaning it up gets Beam one-step closer in the DoFn migration.
I believe also IntraBundleParallelization was written using Dataflow implementation details outside of the Beam model. See BEAM-414.
Alternatives for parallelizing network requests would be a good discussion; would you mind posting your use-case to the user list (user@beam.apache.org)?

Fair enough :-) Where did the depency  on the OldDoFn come from? As far as I can tell it should be fairly easy to migrate, just looks like a bit of boilerplate Threading code.
I'll send in my use-case. It's actually a solution that we came up with together with our assigned Google Engineer  based on some other projects that they'd done, so I'll have him send in details of those other projects as well.

OldDoFn is the previous implementation of DoFn from Dataflow 1.x. I don't know all the details on why it wasn't migrated, @lukecwik or @kennknowles might know more.
But I can see in the previous implementation various assumptions that are outside of the Beam model. In particular, scheduling work using the GCS executor service, and relying on an in-memory Sempaphore to track work state. Removing these assumptions gives runners more freedom to apply their own optimizations.

The problem was wrapping an arbitrary dofn. Dofns in the model have a lot
of capabilities, not all of which can be supported in parallel.
IntraBundleParallelization gave a false sense of "just pass a dofn" so it
was removed.
I think there is definitely use for the ability to run element processing
in parallel, and we had some ideas there. The key difference would be the
parallel code isn't a dofn and so the concerns about supporting general
dofn features aren't present.
Maybe we should move to a Jira or the dev list to discuss?
On Wed, Jan 18, 2017, 9:14 AM Rik<EMAIL_ADDRESS>wrote:
Fair enough :-) Where did the depency on the OldDoFn come from? As far as I
can tell it should be fairly easy to migrate, just looks like a bit of
boilerplate Threading code.
I'll send in my use-case. It's actually a solution that we came up with
together with our assigned Google Engineer based on some other projects
that they'd done, so I'll have him send in details of those other projects
as well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/957#issuecomment-273538397, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACMeMMPaWxkvbbBTHse1J_rdLCTczZIks5rTkhngaJpZM4J8Y-C
.

The issue is that IntraBundleParallelization was fundamentally broken
because of how ProcessContext was being supplied and re-used.
The ProcessContext was being re-used across processElement calls for
performance reasons. This re-use meant that if you were processing elements
A and B in parallel, you wouldn't know which ProcessContext you had and it
could provide inaccurate information (e.g. the window information and side
inputs could be for the wrong element).
ProcessContext would need to provide guarantees that it can live outside
the scope of the processElement call (e.g. another thread).
Now with the new DoFn and its annotation based approach, it is possible
that we won't need IntraBundleParallelization at all and it could be done
automatically. It could detect that side inputs or windows aren't accessed
and parallelize execution when it detects a slow element call.
On Wed, Jan 18, 2017 at 9:50 AM, Scott Wegner<EMAIL_ADDRESS>wrote:

OldDoFn is the previous implementation of DoFn from Dataflow 1.x. I don't
know all the details on why it wasn't migrated, @lukecwik
https://github.com/lukecwik or @kennknowles
https://github.com/kennknowles might know more.
But I can see in the previous implementation
https://github.com/apache/beam/pull/957/files#diff-d7e31beda9ea8e06bed04e483415066aL69
various assumptions that are outside of the Beam model. In particular, scheduling
work using the GCS executor service
https://github.com/apache/beam/pull/957/files#diff-d7e31beda9ea8e06bed04e483415066aL211,
and relying on an in-memory Sempaphore to track work state
https://github.com/apache/beam/pull/957/files#diff-d7e31beda9ea8e06bed04e483415066aL212.
Removing these assumptions gives runners more freedom to apply their own
optimizations.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/957#issuecomment-273548488, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJnK7LMK1CN_sxST9j3gItJkHPwGeDI9ks5rTlDNgaJpZM4J8Y-C
.

Ah yeah I see now. Obviously I appreciate an automatic approach as much as the next lazy coder so there must be some way we can make that happen :-)

Hey, can we open a new discussion about how to "thread" things properly now that IntraBundleParallelization is far gone. ATM, we're manually keying bundles and then executing a manual threaded DoFn over all the items in the bundle...but it's not ideal.

Yes, this is a good topic to bring up on<EMAIL_ADDRESS>or<EMAIL_ADDRESS>

Honestly don't understand why discussions aren't more accessible...I really need to email a general address? Isn't the point of open source to collaborate and share the best ideas

is there any update on this discussion? this is quite an important use case for our team.

If you haven't yet, I recommend posting your question and use-case to<EMAIL_ADDRESS>or<EMAIL_ADDRESS>mailing lists. I'm not aware of alternatives provided in the current version of Beam, but other users on the mailing list may have ideas. And contributions are of course welcome.


swift_retain error when running smart-light on ESP32-C3

Hi!
I wanna start by saying thanks for the huge amount of work that has gone into making this whole swift-embedded/matter thing happen, I'm so excited to start writing my own firmware using this.
However, when I tried to get the smart-light example working on a board I've got at home (Wemos C3 mini v2.1.0, which is based on ESP32-C3FH4) I stumbled into some problems. Building and flashing works as expected, but when I run the code I get this crash:
Crash

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380684
0x40380684: esp_restart_noos at ~/esp/esp-idf/components/esp_system/port/soc/esp32c3/system_internal.c:111

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x1738
load:0x403cc710,len:0xb9c
load:0x403ce710,len:0x2e40
entry 0x403cc71a
I (24) boot: ESP-IDF v5.2.1 2nd stage bootloader
I (24) boot: compile time Jun 29 2024 13:09:23
I (24) boot: chip revision: v0.3
I (27) boot.esp32c3: SPI Speed      : 80MHz
I (32) boot.esp32c3: SPI Mode       : DIO
I (36) boot.esp32c3: SPI Flash Size : 4MB
I (46) boot: Partition Table:
I (50) boot: ## Label            Usage          Type ST Offset   Length
I (57) boot:  0 esp_secure_cert  unknown          3f 06 0000d000 00002000
I (65) boot:  1 nvs              WiFi data        01 02 00010000 0000c000
I (72) boot:  2 nvs_keys         NVS keys         01 04 0001c000 00001000
I (80) boot:  3 otadata          OTA data         01 00 0001d000 00002000
I (87) boot:  4 phy_init         RF data          01 01 0001f000 00001000
I (95) boot:  5 ota_0            OTA app          00 10 00020000 001e0000
I (102) boot:  6 ota_1            OTA app          00 11 00200000 001e0000
I (110) boot:  7 fctry            WiFi data        01 02 003e0000 00006000
I (117) boot:  8 coredump         Unknown data     01 03 003e6000 00010000
I (125) boot: End of partition table
I (129) esp_image: segment 0: paddr=00020020 vaddr=3c120020 size=39cc8h (236744) map
I (175) esp_image: segment 1: paddr=00059cf0 vaddr=3fc95400 size=04c18h ( 19480) load
I (179) esp_image: segment 2: paddr=0005e910 vaddr=40380000 size=01708h (  5896) load
I (181) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=1118d4h (1120468) map
I (364) esp_image: segment 4: paddr=001718fc vaddr=40381708 size=13c00h ( 80896) load
I (386) boot: Loaded app from partition at offset 0x20000
I (387) boot: Disabling RNG early entropy source...
I (398) cpu_start: Unicore app
I (407) cpu_start: Pro cpu start user code
I (407) cpu_start: cpu freq: 160000000 Hz
I (407) cpu_start: Application information:
I (410) cpu_start: Project name:     light
I (415) cpu_start: App version:      1.0
I (419) cpu_start: Compile time:     Jun 29 2024 13:09:16
I (425) cpu_start: ELF file SHA256:  829cd3c71...
I (431) cpu_start: ESP-IDF:          v5.2.1
I (436) cpu_start: Min chip rev:     v0.3
I (440) cpu_start: Max chip rev:     v1.99
I (445) cpu_start: Chip rev:         v0.3
I (450) heap_init: Initializing. RAM available for dynamic allocation:
I (457) heap_init: At 3FCAAE90 len 00015170 (84 KiB): RAM
I (463) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM
I (470) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM
I (477) heap_init: At 50000010 len 00001FD8 (7 KiB): RTCRAM
I (484) spi_flash: detected chip: generic
I (488) spi_flash: flash io: dio
W (493) rmt(legacy): legacy driver is deprecated, please migrate to `driver/rmt_tx.h` and/or `driver/rmt_rx.h`
I (503) sleep: Configure to isolate all GPIO pins in sleep state
I (509) sleep: Enable automatic switching of GPIO sleep configuration
I (517) esp_core_dump_flash: Init core dump to flash
I (522) esp_core_dump_flash: Found partition 'coredump' @ 3e6000 65536 bytes
I (532) esp_core_dump_flash: Core dump data checksum is correct
I (536) esp_core_dump_flash: Found core dump 2948 bytes in flash @ 0x3e6000
I (544) coexist: coex firmware version: 77cd7f8
I (550) coexist: coexist rom version 9387209
I (555) main_task: Started on CPU0
I (555) main_task: Calling app_main()
🏎    Hello, Embedded Swift! (Smart Light)
I (565) led_driver_ws2812: Initializing light driver
I (565) led_driver_ws2812: led set r:0, g:0, b:0
Guru Meditation Error: Core  0 panic'ed (Illegal instruction). Exception was unhandled.

Core  0 register dump:
Stack dump detected
MEPC    : 0x42009e48  RA      : 0x42009598  SP      : 0x3fcae0a0  GP      : 0x3fc95c00
0x42009e48: $ss12swift_retain6objectBpBp_tF at ??:?
0x42009598: $s10__idf_main6MatterO4NodeCAEycfc at ??:?

MHARTID : 0x00000000

Backtrace:

0x42009e48 in $ss12swift_retain6objectBpBp_tF ()
#0  0x42009e48 in $ss12swift_retain6objectBpBp_tF ()
#1  0x42009598 in $s10__idf_main6MatterO4NodeCAEycfc ()
Backtrace stopped: frame did not save the PC
ELF file SHA256: 829cd3c71

I (940) esp_core_dump_flash: Save core dump to flash...
I (946) esp_core_dump_flash: Erase flash 4096 bytes @ 0x3e6000

My thinking is that the IllegalInstruction followed by swift_retain means that swift_retain for some reason isn't linked correctly, but I can't say I understand this good enough to know if that's a possibility.
Following the above, I've managed to understand that this has something to do with _ = Unmanaged.passRetained(self) that happens in a bunch of places, e.g. Matter.Node.init, commenting this out let's the program continue a bit longer, but still crashes later on.
A more minimal example that also crashes
@_cdecl("app_main")
func app_main() {
  Retaining()

  while true {
    sleep(1)
  }
}

class Retaining {
    init() {
        print("Retained") // If this is removed the code doesn't crash, for some reason
        _ = Unmanaged.passRetained(self)
        print("Retained")
    }
}

I've tried verifying that swift_retain is actually linked, by running nm -gm build/light.elf | grep swift (Am I doing it right?), which lists swift_retain at least:
42009e38 T $ss12swift_retain6objectBpBp_tF
42009e4e T $ss13swift_release6objectyBp_tF
42009db4 T $ss17swift_allocObject8metadata12requiredSize0E13AlignmentMaskBpBp_S2itF
42009db6 T $ss17swift_allocObject8metadata12requiredSize0E13AlignmentMaskSpys04HeapC0VGSpys13ClassMetadataVG_S2itF
42009e1a T $ss21swift_initStackObject8metadata6objectBpBp_BptF
3fc958b4 D $ss23_swiftEmptyArrayStorageSi_S3itvp
42009e8c T $ss24swift_deletedMethodErrors5NeverOyF
42009e28 T $ss26swift_deallocClassInstance6object13allocatedSize0F9AlignMaskyBp_S2itF
42009e7c T $ss41swift_isUniquelyReferenced_nonNull_native6objectSbBp_tF
4200901e T swift_allocObject
42009ad6 T swift_deallocClassInstance
42009e8a T swift_deletedMethodError
42009a2e T swift_initStackObject
42009e96 T swift_isUniquelyReferenced_nonNull_native
420095c6 T swift_release
42009a1e T swift_retain

I'd be happy to continue investigating/fixing this, but it feels like I've gotten as far as I can without external support by now 😅

Note: I can run the led-blink example on the same board without crashes (although the onboard led doesn't blink), by just adding the same lines as in the smart-light example to CMakeLists.txt
+    elseif("${IDF_TARGET}" STREQUAL "esp32c3")
+        set(ENV{ESP_MATTER_DEVICE_PATH} $ENV{ESP_MATTER_PATH}/device_hal/device/esp32c3_devkit_m)

I had a similar crash when compiling with -Onone option. Looking at the GitHub swift-embedded-examples CMakeLits.txt, I noticed that the matter examples CMakeLists.txt are missing options below for ESP32-C3
-Xcc -march=rv32imc_zicsr_zifencei
-Xcc -mabi=ilp32
Adding those fixed the crash for me

@haoliver Thank you so much for finding this out, this did solve my problem, and I opened a PR so that hopefully more people will benefit. 🙏

Hi,
On the led-blink with the flags mentionned above I still get errors (no crash) :
The gap between .flash.appdesc and .flash.rodata must not exist to produce the final bin image
The gap between .flash.rodata and .eh_frame_hdr must not exist to produce the final bin image
Did you perform modifications other than adding Xcc flags and the esp32c3 else if ?

@jgranie I'm not sure that this is the same problem we're seeing, I had no issues at all with the led-blink example, just with the smart-light one. And that one compiled fine (AKA no compile errors), I just had runtime crashes.

Thanks for your reply. Yes it seems not correlated. I will investigate a bit further and post a new issue.


Add telegram handle feature

Fixes #54
Added a feature to add telegram handle to contacts
Command works as follows:
tele [index] h/[telegram handle]
Currently it works for any string for [telegram handle], but will eventually have requirements (e.g. require @ in front, no spacing allowed).
The telegram handle can only be added using this feature now, but eventually it will be able to be added with the 'add' feature.
It cannot be edited by the edit feature now, but eventually will be editable.

Codecov Report
Attention: Patch coverage is 27.58621% with 42 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

...eedu/address/logic/commands/TeleHandleCommand.java
0.00%
25 Missing :warning:

.../address/logic/parser/TeleHandleCommandParser.java
0.00%
10 Missing :warning:

...ava/seedu/address/model/person/TelegramHandle.java
62.50%
1 Missing and 2 partials :warning:

...c/main/java/seedu/address/model/person/Person.java
66.66%
1 Missing and 1 partial :warning:

.../seedu/address/logic/parser/AddressBookParser.java
0.00%
1 Missing :warning:

src/main/java/seedu/address/ui/PersonCard.java
0.00%
1 Missing :warning:

Files with missing lines
Coverage Δ
Complexity Δ

...java/seedu/address/logic/commands/EditCommand.java
97.22% <100.00%> (+0.03%)
13.00 <0.00> (ø)

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)
5.00 <0.00> (ø)

...ain/java/seedu/address/logic/parser/CliSyntax.java
83.33% <100.00%> (+3.33%)
1.00 <0.00> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
20.00% <ø> (ø)
1.00 <0.00> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
100.00% <100.00%> (ø)
9.00 <0.00> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
90.47% <0.00%> (-9.53%)
12.00 <0.00> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...c/main/java/seedu/address/model/person/Person.java
94.44% <66.66%> (-2.44%)
18.00 <1.00> (+1.00)
:arrow_down:

...ava/seedu/address/model/person/TelegramHandle.java
62.50% <62.50%> (ø)
4.00 <4.00> (?)

.../address/logic/parser/TeleHandleCommandParser.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

... and 1 more


Transpilation of for ... of iteration doesn't work with built-in iterables

View this example in the Debugger
This code works fine uncompiled in Chrome 42 and compiles with no warnings:
let map = new Map();
map.set('a', 1);
map.set('b', 2);
map.set('c', 3);

for (var x of map) {
  console.log(x);
}

However when compiled the map is run through $jscomp.makeIterator which assumes either an array, a string, or an object with an "$$iterator" property, and throws an error.

Oh, it looks like the latest version of es6_runtime does the right thing here, so maybe this will be fixed in the next release?

Yup. Fixed in e2317ea07e42dfff97d8f3784f49ddfe0ce51602. We're hoping to get a release out in April, but since our time machine is currently broken, it will most likely be early next week instead.


[turborepo]  Problem when using with App directory

What version of Turborepo are you using?
latest
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
"use client"  directive does not work, as it's not placed on top of the file with the desig system example.
Expected Behavior
Components should be compatible with next13 app directory.
To Reproduce
Run reproduction repo and open the next-app
Reproduction Repo
https://github.com/robinsandborg/turbo

Hi @robinsandborg, can you elaborate on how turborepo is contributing to this issue? Looking at the repro next dev fails in the same way as pnpm turbo dev --filter=web does

I'm having a similar issue
use client";

export const Navbar = () => {

  let isUserMenuOpened = false;
  const toggleUserMenu = () => {
    isUserMenuOpened = !isUserMenuOpened;
  };

  return (
    <button onClick={toggleUserMenu}>button</button>
  );
}

pnpm dev
web:dev:
web:dev: The "use client" directive must be placed before other expressions. Move it to the top of the file to resolve this issue.
web:dev:
web:dev:      ,-[/Users/diogoribeiro/Documents/Code/redacted/client/redacted/packages/ui/dist/index.js:155:1]
web:dev:  155 |
web:dev:  156 | // src/Navigation/Navbar.tsx
web:dev:  157 | var import_jsx_runtime3 = require("react/jsx-runtime");
web:dev:  158 | "use client";
web:dev:      : ^^^^^^^^^^^^^
web:dev:  159 | var Navbar = () => {
web:dev:  160 |   let isUserMenuOpened = false;
web:dev:  161 |   const toggleUserMenu = () => {
web:dev:      `----```

If i remove 'use client';
I get a new error

web:dev: event - compiled client and server successfully in 493 ms (242 modules)
ui:dev: [0] DTS ⚡ Build success in 1231ms
web:dev: wait  - compiling /page (client and server)...
web:dev: event - compiled client and server successfully in 280 ms (377 modules)
web:dev: Error: Event handlers cannot be passed to Client Component props.
web:dev:

@diogonr We're having the same issue currently. What version of node are you using? This became an issue for us after upgrading to 13.1.4.

I've created a file in my design system consumer with the use client directive at the top and this file exports all the components from my design system i use in my client.
Far from ideal, but works for now until it's properly fixed

If you're bundling a ui library (like in the design system example), you can add the use client directive to the entire bundle (NOTE: this is not required for internal packages without a build step). We do this via tsup with the following config (currently used for the changeset, kitchen-sink, and react native example):
import { defineConfig, Options } from "tsup";

export default defineConfig((options: Options) => ({
  banner: {
    js: "'use client'",
  },
  ...options,
}));

If you wanted to mix client and server components in the same package, I would setup two separate entry points


Error when trying to add new google oauth provider via command line: "Command error: auth source is not activated"

Description
I'm trying to add new oauth google provider via command line to my gitea installation.
But I'm getting the following error:
$ gitea admin auth add-oauth --name external-google --provider google --key ${GOOGLE_KEY_PROVIDER} --secret ${GOOGLE_SECRET_PROVIDER}
Command error: auth source is not activated

When trying to add a new oauth provider from github this command works correctly.
Gitea Version
gitea/gitea:1.22.1-rootless
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
git version 2.34.1
Operating System
Ubuntu 22.04.4 LTS + docker
How are you running Gitea?
The error was initially identified when using gitea in kubernetes via helm-charts.
However, during the analysis, I reproduced the error by running gitea in a docker container.
Database
SQLite

It seems that the provider name is gplus

Thanks @yp05327 , with this change works for me.

Although it's not a bug, but it's better to have a list of all supported oauth provider in the command line.


Uncaught OSError in pathlib.py line 331

Aider version: 0.54.7
An uncaught exception occurred:
Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
  File "main.py", line 512, in main
    coder = Coder.create(
  File "base_coder.py", line 156, in create
    res = coder(main_model, io, **kwargs)
  File "base_coder.py", line 354, in __init__
    fname.touch()
  File "pathlib.py", line 1168, in touch
    self._accessor.touch(self, mode, exist_ok)
  File "pathlib.py", line 331, in touch
    fd = os.open(path, flags, mode)
OSError: [Errno 30] Read-only file system: '/reset'

Thanks for trying aider and filing this issue.
Looks like you tried to run aider on a read only filesystem. That won't really work, but aider shouldn't crash. I've fixed that.
The fix is available in the main branch. You can get it by installing the latest version from github:
aider --install-main-branch

# or...

python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git

If you have a chance to try it, let me know if it works better for you.


Re-add autoprefixer to the css build

It seems to have accidentally been omitted when we moved to gulp. This will involve making changes for internal Google tooling as well.

Should be fixed in #1505


Backup on shutdown

An option (disabled by default) to run the backup process when the server shuts down.

Backups are now stored inside "/plugins/Parkour/backups"


Could not resolve airline theme "luna". Themes have been migrated to github.com/vim-airline/vim-airline-themes.

How to solve this problem?

This is now resolved in the latest version


VW MQB: Added support for APA racks to EPS configuration tool

APA steering racks use a different bit to represent whether the ECU should enable steering assist.
This change supports those APA steering racks.
Tested on a VW MK7 Golf sportsvan.
Testrun output:
root@localhost:/data/openpilot/selfdrive/debug$ ./vw_mqb_config.py enable
opening device 3e0031001251393031343235 0xddcc
connected

EPS diagnostic data

   Part No HW:   5Q0909143E
   Part No SW:   5Q0909143K
   SW Version:   2033
   Component:    MQB_PP_APA
   Coding:<PHONE_NUMBER>5000
   ASAM Dataset: EV_SteerAssisVWBSMQBA
   Lane Assist:  DISABLED

EPS parameterization (per-vehicle calibration) data

   Version of system parameters:     51
   Vehicle type:                     9A
   Index of characteristic curve:    90
   Version of characteristic values: 40
   Version of memory map:            20

Attempting configuration update
   New coding:<PHONE_NUMBER>5000
EPS configuration successfully updated

Thank you for doing this! Support for the APA racks is long overdue, and generalizing the byte/bit variables will be useful later for adding a third variant supporting the TRW racks in MQB-A0 vehicles.
Can we trouble you for a screenshot from VCDS or OBDeleven showing the backing ASAM dataset documentation for the bit we're flipping here? In the meantime, sometime in the next couple days I'll review in more detail and re-test to make sure nothing broken on my ZFLS rack.

Can we trouble you for a screenshot from VCDS or OBDeleven showing the backing ASAM dataset documentation for the bit we're flipping here? In the meantime, sometime in the next couple days I'll review in more detail and re-test to make sure nothing broke in the support for my ZFLS rack with these changes.

I got the information about what bits does what from this website https://vagcode.info/components/8664d0e864943a58c78503a4194b9874.html seams like they got the information from a file called 5Q0-909-143.clb

@jyoung8607 look good to you?

@jyoung8607 look good to you?

LGTM other than the proposed changes.


How to use connection object to see command like RETR etc

RETR
connection.on('RETR', (error, filePath) => { ... }); // this doesn`t works and return error

Occurs when a file is downloaded.
error if successful, will be null
filePath location to which file was downloaded
connection.on does not exists until the connection is made then how to implement them help

RETR
connection.on('RETR', (error, filePath) => { ... }); // this doesn`t works and return error

Occurs when a file is downloaded.
error if successful, will be null
filePath location to which file was downloaded
connection.on does not exists until the connection is made then how to implement them help

Full example on how to use this will be helpfull

The login even takes a connection in the second argument, so you can hook into events there.
const {FtpSrv} = require('ftp-srv');

const ftpServer = new FtpSrv({ ... });

ftpServer.on('login', ({connection, username, password}, resolve, reject) => {
  if (!yourAuthMethod(username, password)) return reject(new Error('Bad login'));

  connection.on('RETR', (err, path) => {
    console.log('retr' path, err);
  });

  resolve();
});

If you have implemented a custom file system, you could also handle events in the constructor.
const {FtpSrv, FileSystem} = require('ftp-srv');

class MyFileSystem extends FileSystem {
  constructor(connection, args) {
    super(connection, args);

    connection.on('RETR', (error, filePath) => { ... });
  }
}

Thanks for the answer


Support for buffered pack

@mmadfox Would you be open to a PR to add support for packing in memory instead of the filesystem?
I'd like to have something like:
var b bytes.Buffer
if err := crx3.Extension("/path/to/extension").PackToBuf(b); err != nil {
	panic(err)
}
b.WriteTo(someHTTPResponseWriter)

Yes, this is a very good suggestion.
It seems to me this is more idiomatic than passing a Buffer. What do you think?
var b bytes.Buffer
if err := crx3.Extension("/path/to/extension").WriteTo(b); err != nil {
	panic(err)
}
b.WriteTo(someHTTPResponseWriter)

Added API for packing into a buffer. See the example

Oh thank you very much!


document how goog.module is different from es6 module or commonjs modules

Following #1620
Besides the obvious part goog.require vs require, goog.module seems to add more checks, I wish goog.require behaves the same as other module systems (except the path resolution), but if it is not achievable, it would be nice to have the difference documented clearly in case users hit other corner cases

Feel free to add a Wiki page for that.

Actually preferably just add it to this one: https://github.com/google/closure-compiler/wiki/JS-Modules

If I know the difference, would not ask here..

@bobzhang Well I guess you can start from what you've observed.

Is this what you are looking for?  https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide

@Dominator008 @ChadKillingsworth I updated the wiki here https://github.com/google/closure-compiler/wiki/JS-Modules, still wish no such restrictions though!


Implement element access operator for Tuples/Structs

Tuples (somehow?) do not actually support accessing elements, which is necessary for their use in lambdas. Similarly, most structs should allow accessing fields by index based on their order in the struct declaration. This requires adding new syntax for compile-time indexing (e.g. tuple.0) to ensure the actual index is available for type checking.
This is a bit tricky when considering subtyping where the order is not consistent, but for now I think it's reasonable to select behavior for this and revisit some type of Struct.Ordered type as mentioned in https://github.com/Rhovas/Interpreter/issues/21#issuecomment-1555919960.
Related: Add Tuple.size.

Updated this issue to reflect that this requires adding new syntax for compile-time indexing (e.g. tuple.0) to ensure the actual index is available for type checking. This is the reason why it was not implemented previously. 😅

Tuples was the critical piece of this issue as element access is necessary for type safety. For Structs, this is more of a convenience operator that is helpful but not necessary (mainly for destructuring), and more thought is needed around how OrderedStructs would work. Opting to close as resolved.


ASU-1605 | Add lock table when getting list position during creating Reservation

ApartmentReservation table need to be locked when getting the list_position, otherwise it'll return duplicated duplicated list_position when there are multiple application arrive at the same time.
Tested with Lotust and confirm that the solution works

Codecov Report

Merging #296 (f350715) into develop (e5494c2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #296   +/-   ##
========================================
  Coverage    93.18%   93.19%
========================================
  Files          122      122
  Lines         4434     4436    +2
  Branches       400      400
========================================
+ Hits          4132     4134    +2
  Misses         219      219
  Partials        83       83

Impacted Files
Coverage Δ

application_form/services/queue.py
96.49% <100.00%> (+0.12%)
:arrow_up:

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


Facing this issue when trying to compile injector from dll_injection

Here's compiler issue
error[E0433]: failed to resolve: use of undeclared crate or module windows  --> src/main.rs:21:5    | 21 | use windows::Win32::System::Threading::INFINITE;    |     ^^^^^^^ use of undeclared crate or modulewindows`
For more information about this error, try rustc --explain E0433.
error: could not compile injector (bin "injector") due to 1 previous error`
Here's my Cargo.toml
`[package]
name = "injector"
version = "0.1.0"
edition = "2021"
[dependencies]
winapi = { version = "0.3.9", features = ["winuser","setupapi","winnls","fileapi","sysinfoapi" ,"debugapi","winerror", "wininet" , "winhttp" ,"synchapi","securitybaseapi","wincrypt","psapi", "tlhelp32", "heapapi","shellapi", "memoryapi", "processthreadsapi", "errhandlingapi", "winbase", "handleapi", "synchapi"] }
ntapi = "0.4.1"
user32-sys = "0.2.0"`

Are you using the windows-rs crate instead of winapi ? Try using winapi . Here I have attached link for my [dependencies]
https://github.com/Whitecat18/Rust-for-Malware-Development?tab=readme-ov-file#-winapi-imports-to-test-and-execute-these-codes

can you please Provide the Full code what you are trying to do ..!


ValueError: Error: The model: gpt-4 does not exist

Describe the bug
ValueError: Error: The model: gpt-4 does not exist
I set the UI to gpt4 but the console complains:
ValueError: Error: The model: `gpt-4` does not exist
I do have an API key.
Browser and Version
114.0.5735.110 (Official Build) (64-bit) (cohort: Stable)
To Reproduce
create a simple chat bot
use gpt-4 model
put in API key
UI shows no errors but in the console
ValueError: Error: The model: gpt-4 does not exist
Additional context
I'm trying to get langflow to learn about langflow and it has NOT been easy or straight forward.

Having the same problem - did you find a solution?

Could it be that your account does not have access to it?


Add cli cmds for dumping bookings from a given date to json and do followup bookings

Usage:
for a whole day
hug -f main.py -c get_bookings_created_at 2021-02-05 | hug -f main.py -c batch_book_followup
or a single booking
hug -f main.py -c get_bookings_created_at 2021-02-05T14:23:43.987654 | hug -f main.py -c batch_book_followup
Although this examples are stupid, which could be observed if reading the code, they demonstrate the fact that the command batch_book_followup expects the output of get_bookings_created_at as input on stdin

Another point worth mentioning is, the followup booking will get another secret that the person who will have the appointment will not have knowledge.


Fix issue that server socket fails.

This PR mainly tries to recover DTLS from server socket failure.
I encounter this issue once. This issue results in a lot of logs in syslog.
Other changes,

Added a function to convert error into string.

any comments? @jwhui


Port 8084 already in use on ubuntu-latest

Description
Until today I had no issue on my tests steps using Mocha (tests framework) on GitHub Actions using ubuntu-latest. But today Mocha doesn't run anymore because the port 8084 seem to be used but this is my port to test my API. I didn't do any modification on my tests suites or some networks things on my app and my tests work fine locally.
So is it maybe new that by default the port 8084 is use on this ubuntu image ?
Area for Triage:
Testing and code coverage JavaScript and Node.js
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] Ubuntu 16.04
[x] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
The port 8084 doesn't have to be used.
Actual behavior
The port 8084 is in use so my tests crashing.
Repro steps
Here is my tests steps:
jobs:
  test:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [10.x, 12.x, 14.x]

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
    - run: npm install --global mocha
    - run: npm install
    - run: rm -rf node_modules; npm cache verify; npm install
    - run: mocha --timeout 10000

And here Mocha telling me that the port 8084 is used :
   1) Uncaught error outside test suite:
     Uncaught Error: listen EADDRINUSE: address already in use :::8084

According to the GitHub Action documentation, ubuntu-latest can be either ubuntu-20.04 or ubuntu-18.04. Apparently the port 8084 is use by default on ubuntu-20.04 and not on ubuntu-18.04. I specified correctly ubuntu-18.04 in my runs-on instruction and my Mocha tests works again !


Cannot create a segment on self-hosted

Hello!
I started to play a bit with Flagsmith. It really feels good and the documentation is super clear. Great job!
I just have an issue when I try to create my first segment after running the docker compose (so the steps to reproduce are only to dl the docker image and run docker-compose up)

Did I do something wrong?
If this is indeed a bug, I can probably have a look and open a PR if you're already overwhelmed
Thanks!

Thanks for the kind words!
We can look at this early next week but if you want to have a crack at it that would be great!

It works with latest version! 👍

My bad I thought it worked on latest version but it's because I tried in SaaS environment.
But when I cloned the repo and started the frontend with master, I got the same error.


[Modular Babylon] Moving static-only classes to modules

Babylon has a lot of classes that only contain static functions.
The issue with those classes is that if the user requires only one function they still need to import the entire class.
Example of those type of classes are the tools classes (like tools, filetools etc').
This PR moves some of those classes to be modules but keeps back-compat by exporting objects that contain the same objects as the classes.
This PR also intoroduces the initSideEffects function, which is executed when sideEffects is set to true, but being ignored when the package's sideEffect is false. This is a draft of eliminating sideeffects.
This is the first of more changes required.
Setting it as draft to get feedback. I will continously push further changes based on the feedback.
(Most small changes are for the register class function, skip to the tools to see the bigger changes)

LGTM GG @RaananW !!!

That's quite a PR!

This PR moves some of those classes to be modules but keeps back-compat by exporting objects that contain the same objects as the classes.

How are you doing this (the back compat)? I could not find something in the changes that would support it (but I certainly may have missed it as there are so many files changed!).

That's quite a PR!

This PR moves some of those classes to be modules but keeps back-compat by exporting objects that contain the same objects as the classes.

How are you doing this (the back compat)? I could not find something in the changes that would support it (but I certainly may have missed it as there are so many files changed!).

The idea is to have a single exported object that holds all of the (now) standalone functions and elements. A simple example can be found here:
https://github.com/BabylonJS/Babylon.js/pull/11187/files#diff-62506d07e85176c9b551b5aeff6c04b042937b30f8808089091343deeb1d3f20R114
This is the reason all tests do not fail and playgrounds will continue working as expected.
Those objects are only there for back-compat and should not be imported anywhere else. If they are imported, the unused functions will be be tree-shaken out.
A more extensive example can be seen in the filetools, which also has mutable variables (static getters and setters)

Thanks, I did miss these declarations!


fix: 🐛 env development condition in ReduxProvider for using Reactotron

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


fix(build): update code to fix build in xcode 15.3 beta 2

Issue #

https://github.com/aws-amplify/amplify-swift/issues/3499
Description

This PR fixes build in Xcode 15.3 beta 2 when Amplify package is used in a project.
General Checklist

[ ] Added new tests to cover change, if needed
[x] Build succeeds with all target using Swift Package Manager
[x] All unit tests pass
[x] All integration tests pass
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[x] PR title conforms to conventional commit style
[ ] New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
[ ] If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (11e2b32) 48.10% compared to head (2509078) 67.93%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3500       +/-   ##
===========================================
+ Coverage   48.10%   67.93%   +19.82%
===========================================
  Files         354     1080      +726
  Lines        6203    36431    +30228
===========================================
+ Hits         2984    24748    +21764
- Misses       3219    11683     +8464

Flag
Coverage Δ

API_plugin_unit_test
67.23% <ø> (?)

AWSPluginsCore
64.18% <ø> (?)

Amplify
48.10% <ø> (ø)

Analytics_plugin_unit_test
81.16% <ø> (?)

Auth_plugin_unit_test
78.99% <ø> (?)

CoreMLPredictions_plugin_unit_test
59.44% <ø> (?)

DataStore_plugin_unit_test
80.51% <100.00%> (?)

Geo_plugin_unit_test
70.75% <ø> (?)

Logging_plugin_unit_test
62.87% <ø> (?)

Predictions_plugin_unit_test
37.16% <ø> (?)

PushNotifications_plugin_unit_test
87.13% <ø> (?)

Storage_plugin_unit_test
77.51% <ø> (?)

unit_tests
67.93% <100.00%> (+19.82%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Implement fluent forward protocol for input/sink

Is your feature request related to a problem? Please describe.
The forward protocol is used in fluentd/fluent-bit setup to forward logs between instances. This is very useful for larger architectures. It would be nice to implement this for data prepper as well so data prepper can be used as an intermediate or endpoint before sending the data to Opensearch
Describe the solution you'd like
Implement input/sink
Describe alternatives you've considered (Optional)
http - overhead might be an issue
Additional context
none

It would be nice to have something like this. However, the http_source should be able to provide the use-case, probably with the help of some processors to adjust timestamps. I do not see support for http headers in the http_source though, that might be used by FluentBit to indicate the event "tag". Maybe providing a simple configuration example would be enough? Mapping the "date" to "@timestamp" could be one of the exemplary transformations. Comments on batching and compression would also be beneficial.

You could use http, but for resource intensive workloads http can be quite intensive. This is why you see other logforwarders implementing custom protocols.  A _bulk endpoint could be an alternative as well. But for interoperability supporting the forward protocol would be nice.
Headers would be useful to provide metadata to be able to route the data, but it won't solve the overhead of using http.

Do you have a performance comparison between the two protocols?

@ict-one-nl , Are you suggesting that Data Prepper have a source to support the FluentBit Forward output? I understand that this is more of an internal protocol. Would having a general TCP source such as requested in #2162 provide what you are looking for? Or do you specifically want FluentBit Forward?

@dlvenable, I think, that support for the both data formats JSON and MessagePack would be required along with additional features.
There is a better description for the protocol in the Fluentd docs. The full protocol definition is available at the Fluentd Wiki. You will find, that the server side of the protocol must support MessagePack and JSON message types and also must respond to heartbeat messages received via UDP, although the client can opt to not send those. All of this leads me to believe, that a specific plugin would be required. With a general TCP source, you can only address JSON message format without handshake and heartbeats. I presume, that this would decrease the overall maximum performance of the solution.
IMHO, Fluent Forward is a nice format for (semi-)local application, where routing the TCP and UDP connections is easy. When you have more complex network setups, e.g. providing DataPrepper as a service, it is much more complicated to support the protocol, regardless whether DataPrepper or Fluentd/Fluent Bit would be the server side.

@ict-one-nl , Are you suggesting that Data Prepper have a source to support the FluentBit Forward output? I understand that this is more of an internal protocol. Would having a general TCP source such as requested in #2162 provide what you are looking for? Or do you specifically want FluentBit Forward?

I think not, for me it's about interoperability between the different logforwarders and being able to mix/match to make use of the strengths of each one while maintaining performance/interoperability.
Sometimes you have to deal with existing infrastructure which is based on another forwarding infrastructure. Having common protocols help, i.e. I'm using kafka which is supported by most log forwarders (but I can't put kafka between everything as an abstraction layer).


While TopVisible is useful there is no way to read the BottomVisible

I wrote a chat that is scrolled from the bottom to the top it's kinda important being able to determine what message is at the very bottom of the ui.

@Jerczu The feature you requsted has been implemented in the bottomVisible experimental branch. The next properties are available on the Adapter:

bottomVisible
bottomVisibleElement
bottomVisibleScope

The branch also includes a feature demo where you can see it in action.
Could you please take a look at this and say that this is what you need? while we are testing it on our side...

AMAZING!!!
Thanks a lot! The ui-scroll is a life saver!

@Jerczu Thanks! this will be included in the next release, I guess, v1.6.2.

The code is in 'master' and waitong for v1.6.2 release.


update CFTX to 0.70

http://www.grimdawn.com/forums/showthread.php?t=38158

will call it NCFF from now on


cmd/format: encrypt secret key only if it's really updated

Note: it will still prevent old clients accessing the volume after explicitly updating the secret key.

Codecov Report

Merging #1726 (e3e602e) into main (f704889) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1726      +/-   ##
==========================================
- Coverage   61.90%   61.88%   -0.02%
==========================================
  Files         135      135
  Lines       22892    22893       +1
==========================================
- Hits        14171    14168       -3
- Misses       7131     7134       +3
- Partials     1590     1591       +1

Impacted Files
Coverage Δ

cmd/format.go
62.37% <0.00%> (-0.21%)
:arrow_down:

pkg/vfs/writer.go
78.64% <0.00%> (-1.02%)
:arrow_down:

pkg/meta/sql.go
67.23% <0.00%> (ø)

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 f704889...e3e602e. Read the comment docs.


PS4 Controller registering as an xbox controller.

This is the 2nd part of (PS4 Controller not working).
It works now but it is still an issue that it registers as an xbox controller.

Controller connected via USB or Bluetooth?

bluetooth

I got the same issue. My PS4 Controller is recognized as an Xbox Controller.

Same, but with PS5 controller

Is there anything new about the PS4 controller recognized as an Xbox controller ?

I was used to play with PS4 controller but while playing HSR 2.2.0 with YAAGL 0.1.11.
I plugged my PS4 controller to charge it and suddenly the game started to do weird camera mouvement and impossible to do anything. All buttons are inoperative.
I had to shut off the controller to be able to access the menu.
The controller is connected in bluetooth mode on a Mac M1 Max.

I'm getting the same issue. blutooth doesnt work; and when I connect via usb the triggers read as the right joystick and the camera goes wild. Button layout reads as an xbox controller.


feat/domain-and-pos-fw-updates

closes #878
note this Pr is into the import PR as it builds on top of changes in that branch.
This adds support in the model only for actually properly referencing parts of speech and semantic domains when using the FWData api. Support still needs to be added for CRDTs and in the UI

@rmunn I requested your review since some of this code was taken directly from LF Merge and I want your feedback on it. Thanks

@rmunn if you would take a look at this that would be great. Particularly the code in FwDataMiniLcmBridge and the related tests.


CLI cheatsheet updated to Humble

Partially fixes https://github.com/ubuntu-robotics/ros2_cheats_sheet/issues/5. Colcon cheatsheet update remains to be done.

Hi, thanks for the PR :)
I've created a new humble branch and changed the PR target so that it is merged in humble.
Eventually, humble would become the new default branch.

Great 😃 Should I change something in my PR before merging?

Nothing to change on your side for now. I'll review this asap and let you know :+1: .

Thanks for the update :+1: .
Merging.


add installer files for powershel 7.3.0-preview.7 release

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Close with reason: Replaced by PR 71985;


Using/Configuring SASS

I have been trying to configure a new app i just created to import/use sass files, i have installed sass-loader, vue-style-loaders and i have in my webpack configuration as
'use strict'
const path = require('path')
const utils = require('./utils')
const config = require('../config')
const vueLoaderConfig = require('./vue-loader.conf')
const webpack = require('webpack')
const ExtractTextPlugin = require("extract-text-webpack-plugin")

const extractSass = new ExtractTextPlugin({
    filename: "[name].[contenthash].css",
    disable: process.env.NODE_ENV === "development"
});

module.exports = {
  context: path.resolve(__dirname, '../'),
  entry: {
    app: './src/main.js'
  },

  module: {
    rules: [
      ...(config.dev.useEslint ? [createLintingRule()] : []),
      {
        test: /\.vue$/,
        loader: 'vue-loader',
        options: {
          vueLoaderConfig,
          extractCSS: true,
          loaders: {
            scss: 'vue-style-loader!css-loader!sass-loader', // <style lang="scss">
            sass: 'vue-style-loader!css-loader!sass-loader?indentedSyntax' // <style lang="sass">
          }
        }
      },

      {
        test: /\.css$/,
        // important: use vue-style-loader instead of style-loader
        loader:  ['vue-style-loader', 'css-loader']
      },
      {
        test: /\.scss$/,
        use: extractSass.extract({
          use: [
            {
              loader: "css-loader"
            },
            {
  							loader: 'postcss-loader'
  					},
            {
                loader: "sass-loader"
            }
          ],
          // use style-loader in development
          fallback: "style-loader"
        })
      }
    ]
  },
  plugins: [
    new ExtractTextPlugin({ filename: 'common.[chunkhash].css' }),
    extractSass
  ]

and each time i import my scss file such from main.js using import<EMAIL_ADDRESS>i keep getting error
This dependency was not found:

* @/app.scss in ./src/main.js

To install it, you can run: npm install --save @/app.scss

and i have the file in the src folder
what could i been doing wrong?

Although I had a different error, I just fixed my Vue/SASS issues by running
npm i sass-loader
npm i node-sass

However since I guess these issues are related, I would suggest to the curators to take a look at this issue. In my case the issue presented as follows:
% npm run dev

><EMAIL_ADDRESS>dev /path/to/project
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

 94% asset optimization

 ERROR  Failed to compile with 1 errors
12:48:08 PM

This dependency was not found:

* !!vue-style-loader!css-loader?{"sourceMap":true}!../../node_modules/vue-loader/lib/style-
compiler/index?{"vue":true,"id":"data-v-0eaeaf66","scoped":false,"hasInlineConfig":false}!sass-loader?
{"indentedSyntax":true,"sourceMap":true}!../../node_modules/vue-loader/lib/selector?
type=styles&index=0!./modal.vue in ./src/components/modal.vue

To install it, you can run: npm install --save !!vue-style-loader!css-loader?
{"sourceMap":true}!../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-
0eaeaf66","scoped":false,"hasInlineConfig":false}!sass-loader?{"indentedSyntax":true,"sourceMap"
:true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./modal.vue
^C\\

% npm i vue-style-loader
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+<EMAIL_ADDRESS>updated 1 package in 10.387s
% npm i sass-loader
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must
install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+<EMAIL_ADDRESS>added 9 packages in 11.31s
% npm i node-sass

><EMAIL_ADDRESS>install /home/tfr/Code/project_name/node_modules/node-sass
> node scripts/install.js

Cached binary found at /home/tfr/.npm/node-sass/4.7.2/linux-x64-59_binding.node

><EMAIL_ADDRESS>postinstall /home/tfr/Code/project_name/node_modules/node-sass
> node scripts/build.js

Binary found at /home/tfr/Code/tfr-vue-lib/node_modules/node-sass/vendor/linux-x64-59/binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+<EMAIL_ADDRESS>added 105 packages in 14.104s

Now I can npm run dev without issues.


Not working in action modal

When using the field in an action modal I get
Alpine Expression Error: mode is not defined

Expression: "mode ==='dark'"

<template x-if="mode ==='dark'">

I should add that this is with a table action outside of admin panel

Hi Martin,
Kindly share your component's code to help me reproduce the issue. Thanks.
On Fri, Aug 26, 2022, 8:40 AM Martin Ro @.***> wrote:

I should add that this is with a table action outside of admin panel
—
Reply to this email directly, view it on GitHub
https://github.com/savannabits/filament-flatpickr/issues/6#issuecomment-1228076495,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKZWMNENTAEJKXWN374VZTV3BKEBANCNFSM57VNPM7Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi,
it's just a livewire component implementing Tables\Contracts\HasTable and in getTableActions
Tables\Actions\Action::make('book')
                ->label(__('Book Lesson'))
                ->mountUsing(fn (Forms\ComponentContainer $form, Teacher $record) => $form->fill([
                    'teacher_id' => $record->user->userable_id,
                ]))
                ->form([
                    Group::make()->schema([
                        Flatpickr::make('date),
                    ])->columns(2),
                ])

If you want to reproduce, just create a Livewire component and setup a table like here
and in the tables getTableActions create a modal action with the Flatpickr field. I hope you know what I mean? I can't really post the whole component :)

Ok, digging around a bit, all the assets are registered FlatpickrServiceProvider which means they are only loaded within Filament but not in a standalone form or table component.

Ok, digging around a bit, all the assets are registered FlatpickrServiceProvider which means they are only loaded within Filament but not in a standalone form or table component.

This is actually the case. Might you be able to do a PR to support standalone usage?

Any update?

I will be re-writing most parts of the component tomorrow, hopefully it
will fix this issue.
On Sun, Jan 1, 2023, 10:30 PM Bart @.***> wrote:

Any update?
—
Reply to this email directly, view it on GitHub
https://github.com/savannabits/filament-flatpickr/issues/6#issuecomment-1368515752,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKZWMK67TCYDJ66FB7K26TWQHLL7ANCNFSM57VNPM7Q
.
You are receiving this because you commented.Message ID:
@.***>

.

@coolsam726 I wonder if you had a chance to update this package to work with standalone forms

+1

@coolsam726 I wonder if you had a chance to update this package to work with standalone forms

+1

Fixed in this PR #27


PDF app download link not clickable

Describe the bug
In some pdf viewers f.e. firefox pdf plugin the app download link is not clickable, since not all pdf viewers recognize urls automatically.
To Reproduce
Steps to reproduce the behavior:

Use firefox
https://staging.bayern.ehrenamtskarte.app/
Create a card
Open the pdf with the firefox build in pdf viewer
Try to click the app download link

Expected behavior
A click on the download link should open the download page
Additional context
Currently the app download link only works in chrome pdf viewer and adobe acrobat.
In the pdf template a link annotation has to be created to get it work in all pdf viewer

PDF with Hyperlink can be found here.

Do we need this change for Nürnberg as well?


moveAsync missing from TypeScript definition

I don't know if this is the right place to report it, but the moveAsync definition is missing from TypeScript.

Specifically, I think this is what's missing:
export declare function moveAsync(src: string, dest: string): Promise<void>;
export declare function moveAsync(src: string, dest: string, options: MoveOptions): Promise<void>;

And need to add MoveOptions to the import { ... } from 'fs-extra';

@CWSpear I'm afraid I don't know anything about Typescript. I don't use it myself and so it must be someone else who maintains the typescript bindings.
If you are using this: https://www.npmjs.com/package/@types/fs-extra-promise
Then looks like this is where the typing appear on Github: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/fs-extra-promise/index.d.ts
I'd suggest submitting a PR on that repo to add the lines.
Thanks!


"bean" level of explanation/comments is good. new coder got very stuck on the next two

Switched to a new intro style with the editable game tutorial.


Litealoder Button support?

In VoxelMenu there is a Menu called LiteMods that open the Liteloader menu
It is possible to add them into this mod?
(P.S.: Sorry for my english , i'm italian)

Look at the wiki for Buttons/Wrapped Buttons :D

https://github.com/lumien231/Custom-Main-Menu/issues/21


Fix Counter/Mirror Coat to respect redirection

I believe this change should affect Metal Burst as well, because it is the other user of "target": "scripted". From #2367:

Counter / Mirror Coat currently ignore redirection; they should be affected by redirection as normal (source)

Originally posted by @DaWoblefet in https://github.com/Zarel/Pokemon-Showdown/issues/2367#issuecomment-421827399
Which I need to be careful about referencing so that Github doesn't accidentally close it. ;)

Looks good to me. @Marty-D?

I think returning isAdjacent would be correct here? Counter and friends shouldn't be able to hit a Pokemon on the opposite side of the field in Triple Battles, and wouldn't be affected by redirection from far-side slots anyway (but they can attempt to attack and miss against those slots if the resulting target moved into one of them after attacking the Counter user).

True. Thanks @Marty-D!


old itm

backport to rust-embedded/itm master
try itm 0.3.1: doesn't appear to parse
Revert "try itm 0.3.1: doesn't appear to parse"

@ryan-summers just as an experiment: if we wanted we could easily go back to rust-embedded/itm master.

Yes. It wasn't meant to affect the successful parsing (and it seemed to make it worse, subjectively).
Just that it would bring this closer to being releasable on crates.io.

Closing experimental branch


Circular median

Currently for circular quantities there are only mean, variance and std implemented, as I understand. These estimators all lack robustness, so it would be great to have at least circular median. This is usually defined the same way as regular median - a value minimizing sum of distances to all samples (just like mean minimizes sum of squared distances).
So, here is the very basic way to compute it (note, this is O(n^2) unlike O(n) for non-circular median):
def circmedian(angs):
    pdists = angs[np.newaxis, :] - angs[:, np.newaxis]
    pdists = (pdists + np.pi) % (2 * np.pi) - np.pi
    pdists = np.abs(pdists).sum(1)
    return angs[np.argmin(pdists)]

If this fits the scipy scope I could easily make a pull request.

This sounds fine to me, assuming there's a single common definition. Do you have a reference? Also, please propose this on the scipy-dev mailing list, that's where we decide on adding new functions.
Also note that there's another PR for adding circvar, gh-5747. We need to decide on that, if you're using circular statistics and have any input on that PR, that would be very welcome.

@rgommers I'm not an expert in this topic, I just needed a more robust direction estimator in my research - so basically implemented the median as in the first comment and use it. So far it works nice for me, and I'm not aware of any other general definitions of median (which don't use ordering).

Hmm, I think we need a reference, or at least an unambiguous definition. Showing that your function gives the same result as other packages would help.
Matlab circ_median from CircStat (see https://www.researchgate.net/publication/38105304_CircStat_a_MATLAB_toolbox_for_circular_statistics)
R CircStats doesn't have a median function.
Stata circmedian: http://www.stata.com/meeting/2italian/Cox.pdf

@rgommers well, these two implementations (in matlab and stata) are clearly different. The matlab one returns one of the values lying on the diameter, which has half of points on each side. And in stata the definition agrees with that I wrote in the first comment - it differs in the case of multiple values which minimize sum of distances, when they return mean of these values.
Actually for me it doesn't matter much which definition is chosen, as long as it yields reasonable results (I guess they don't differ much), so if there happens to be a strong preference of the first variant I'm totally fine with this.

That's a difficult case then. There's also the broader case of scope, how many circular stats functions would we want to add in principle. There's a pretty large range, see this (BSD licensed) Matlab toolbox: http://bethgelab.org/software/circstat/
Opinions?

Maybe a statistics package would be a better place if there are many variants with no clear dominant one.

Astropy seems to have some circular statistics, so I'll ping @aarchiba @bsipocz --- thoughts?
In a broader scope, implementing something like stats.circstats could be a nice GSoC topic.

@ev-br - Yes we do, it was added in PR https://github.com/astropy/astropy/pull/4472. Please note the discussions that these are quite general tools having broader usage than astropy, and that most content of the stats package should ideally make its way upstream to e.g. scipy.
cc astropy.stats maintainers: @crawfordsm and @larrybradley

Btw, I encountered my need of circular median doing (radio)astronomy :) And of course, if other circular functions make their way to astropy (but not scipy) that also would be nice, as that's also a large and well-supported package.

I worry about corner cases - for example, n points uniformly distributed around the circle. It would be reassuring to have a published definition to work towards. This implementation also requires an intermediate array the square the size of the input arrays - for summary statistics this can be the kind of surprise that crashes computers. There really ought to be a nearly-linear-time method akin to the non-circular "sort and pick the middle". How about sorting and checking the angular difference between each point and the point n/2 away?
Most of the papers I find with a casual search refer back to the Mardia Median, introduced in Mardia 1972, which is a half-of-the-points definition, for distributions as well as samples.
This paper talks about disambiguating the median, and uses the diameter-dividing-points-in-half definition: http://digitalcommons.wayne.edu/cgi/viewcontent.cgi?article=1738&context=jmasm
This paper uses the minimizing-distances definition, and takes it as a given that they're equivalent: http://www.sciencedirect.com/science/article/pii/037837589400092A

There are in fact several possibilities to define a median on the unit circle. The definition used in the first post by aplavin is often called an arc distance median. It has desirable properties similar to those of the real-valued median:

It has a type of uniqueness property; more precisely, for data of odd size, it is unique for (Lebesgue)-almost all input data. As mentioned in one of the posts above, pathological cases are equiangular data, like for example a Mercedes-Benz-star configuration, where every data point is an arc distance median. However, when dealing with noisy data, such configurations have probability 0.
There is always an arc distance median contained in the data.
It can be computed exactly (that means in an non-iterative way).

See this recent paper for more details, for pointers to the literature, and for the proof of the uniqueness property.
This Github project implements a fast median filter for circle valued signals and images based on the arc distance median (in C++).

Hi all, closing this in favor of #12201 where recent developments and discussions happened.

In gh-12201, I made the distinction between reduction statistics like this and elementwise functions suggested in gh-12201. I think this belongs in stats and the others in special, so they are separate enough to keep this open, IMO.


Formatting introduces compilation errors when Table type values are present in file

Description:
Formatting introduces compilation errors when Table type values are present in file.
Steps to reproduce:

Following is a test file using table type values.

import ballerina/test;

type Employee record {
    readonly int id;
    string name;
    float salary;
};

    type EmployeeTable table<Employee> key(id);

@test:Config {}
function testAssertTableEquals() {
    EmployeeTable employeeTab1 = table [
               {id: 1, name: "John", salary: 300.50},
               {id: 2, name: "Bella", salary: 500.50}
             ];
    EmployeeTable employeeTab2 = table [
                       {id: 1, name: "John", salary: 300.50},
                       {id: 2, name: "Bella", salary: 500.50}
                     ];
    test:assertEquals(employeeTab1, employeeTab2);
}

Add extra whitespace and format the above file using "ballerina format". The content changes as follows.

import ballerina/test;

type Employee record {
    readonly int id;
    string name;
    float salary;
};

type EmployeeTable<Employee> key(id);

@test:Config {}
function testAssertTableEquals() {
    EmployeeTable employeeTab1 = table [
               {id: 1, name: "John", salary: 300.50}
               {id: 2, name: "Bella", salary: 500.50}
             ];
    EmployeeTable employeeTab2 = table [
                       {id: 1, name: "John", salary: 300.50}
                       {id: 2, name: "Bella", salary: 500.50}
                     ];
    test:assertEquals(employeeTab1, employeeTab2);
}

When ballerina build, following errors are noticed.
Compiling source
        dilhashanazeer/documentationproj:0.1.0
error: dilhashanazeer/documentationproj:0.1.0::tests/main_test.bal:9:19: missing table keyword
error: dilhashanazeer/documentationproj:0.1.0::tests/main_test.bal:15:1: missing comma token
error: dilhashanazeer/documentationproj:0.1.0::tests/main_test.bal:19:1: missing comma token

Affected Versions:
Ballerina Swan Lake Preview 2
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Fixed in slp5-SNAPSHOT


User page

[x] show statistics after one click later
[x] My articles on wf and finished
[x]  Change icon / UX
[x] List journals with role


Unable to read all measurements on Glucose device

I am currently testing the "Contour Plus One" device with flutter_blue. I cannot get all the records from the device using [1,1] via sample code.
I have referred https://github.com/LiamsGitHub/GlucometerBluetoothToHealthKit and try to run the commands
Examples of RACP commands (which are sparsely documented in the spec and that I had to discover iteratively):
[1,1] Read all records.  NO RESPONSE
[4,1] Number of records GETTING RESPONCE The total size
[1,6] Read last record received NO RESPONSE
[1,5] Read first record NO RESPONSE
[1,3,1,45,0] Read extract from record 45 onwards NO RESPONSE
Please note I am getting the response when taking the live blood sample. I can see that in logs.
The steps and screenshots are as follows:-

Device connected
Expand Service 0x1808
Press Notify option on characteristics 0x2A18
Click Write option Characteristics 0x2A52 (With [1,1]) NO OUTPUT

Well, my Glucose device is having 6 records.
I am not sure what I am missing here.

An interesting behavior I noted here when I press the sync button on the Health2Sync Android app (A complete separate app from play store) I am able to see the output in 0x2A18 (PFA image)

I think I am triggering the wrong command to get the values. Can someone please help with the commands to get all values.

still having trouble reading these values?

Nopes, not anymore. I am able to get the values.

I used characteristic.write([0x01, 0x06]) to get the latest values and changed accordingly for other values.

Oh nice, I was just going to say that to solve your issue. thanks bro.

Hi @DivyanshuCaremonitor  @Strykker007  I'm trying to get the records recorded before connecting to an accu-chek glucometer (Instant) via flutter_blue.
Please do you have an idea of the characteristics UUID that will help me to achieve that?

@bankole175, after the glucometer connected, you have run the metrod to discover services of the device, when method completes you have find service 1808 and then find 2a18 charactheristic and setNotifiy(true) and then find the 2a52 characteristic and setNotifiy(true) too, and then finally write to the 2a52 the value that you want

Thanks for the reply @Strykker007, I'm currently doing that but I'm only seeing the last reading I took with the glucometer

To get all the values from the device you have to run characteristic.write([0x01, 0x01])
Here you can refer to more options 👍
[1,1] Read all records. characteristic.write([0x01, 0x01])
[4,1] Number of records characteristic.write([0x04, 0x01])
[1,6] Read last record received characteristic.write([0x01, 0x06])
[1,5] Read first record characteristic.write([0x01, 0x05])
[1,3,1,45,0] Read extract from record 45 onwards characteristic.write([0x01, 0x03, 0x01, 0x45, 0x00])

Thanks @DivyanshuCaremonitor I will give it a shot

@DivyanshuCaremonitor [1,1] Read all records. characteristic.write([0x01, 0x01]) isn't returning all the records, it's only returning the last record.
Is there any other option I can explore?

@bankole175 this response of glucometer is an stream, you have add a listener to your glucose characteristic to can see all results, if you don't do this, you can see only last record.

Hi @Strykker007 I'm just seeing this.
Please how do I add a listener to my glucose characteristics?

hi @bankole175, when you write to RACP, the responde comes in sequence one by one, but this heapen to fast like a interator, when a response of a glucoleter begin reach, you must search by the characteritic 2A18 in the characteristic list,
when you found the characteristic you will receive an object BluetoothCharacteric
glucoseMeasurement.value.listen(
(value) {
glucoseMeasure = value[12];
log('Evento ouvindo caracteristica');
},
);
this block of code still listening all measurements that the device send to app, but all measurement that reach override the previous one.

Thanks @tiago-co I will give it a shot


Importing deduplipy fails due to modAL dependency (google colab)

It works when I run pip install modAL-python before installing deduplipy

this is a change in modal, it's reported
https://github.com/modAL-python/modAL/issues/170
if they don't fix it i will update deduplipy

apparently the name of modal has changed. i updated deduplipy accordingly


Fix local variable names starting with "m"

Fix local variables whose names start with a "m", easy to be confused as a class field.
Update checkstyle rules to enforce this.

alluxio-bot, merge this please


YouTubePlayer

Hi,
I am trying to use you-tube player i downloaded the complete bundle from github and goto youtube project open it and restore the packages and finally when i build the project i am getting this error.
Severity	Code	Description	Project	File	Line	Suppression State
Error		Bundle Resource 'Assets.bundle\Assets\YTPlayerView-iframe-player.html' not found on disk (should be at 'E:\New folder (3)\XamarinComponents-master\XPlat\YouTube.Player\ios\externals\Pods\youtube-ios-player-helper\youtube-ios-player-helper\Assets.bundle\Assets\YTPlayerView-iframe-player.html')	YouTube.Player.iOS

@lumisoftusa  have you built the externals target?  this will download and install the pod(on iOS) which will probably install the mising files too.
Are you doing this on windows or mac?

Hi,
ya i am using Windows.
Well i removed the reference and download the nuget package of YouTube.ios everything is fine.
Now currently i am trying to send the video url from Xamarin Forms and using Dependency functionality target the ios project and play the youtube video. Do you have any resource or what you can help me so  that would be great and it would save my time in Research and development;.
I have one more question infect i need your feedback because i didn't find the exact details from Youtube.
Can we use the Youtube video direct url to play youtube file naively.
If you any knowledge regarding this so that would be great to share with me.
Regards

Thanks guys!
I am successfully integrate the youtube player into Xamarin Forms.


Send anonymous install data

This PR adds a new action, st2.send_anonymous_install_data, to the st2 pack. st2-submit-debug-info is run, only collecting system information, and sending it to S3
This also changes the behavior of st2.kv.get to throw an error if a key does not exist, so that it's possible to have 'on-error' in workflows if a key does not exist.

Idea here is that this will be run post install, if the user agrees to send data to us.
We can change what goes up in the workflow down the road, but this gets us started

Now the debug info collector optionally picks up the email address, two things 1) be sure it doesn't block and 2) consider leverageing it, offer asking for email in installer, save in a key, and pass it in as an optional parameter. Evan and I discussed yesterday that we can and should ask for optional user info at the end of the installer (open to other votes / vetos on this).

Now the debug info collector optionally picks up the email address, two things 1) be sure it doesn't block and 2) consider leverageing it, offer asking for email in installer, save in a key, and pass it in as an optional parameter. Evan and I discussed yesterday that we can and should ask for optional user info at the end of the installer (open to other votes / vetos on this).

I would very much like to ask for optional data. Need to know what though.

Now the debug info collector optionally picks up the email address, two things 1) be sure it doesn't block and 2) consider leverageing it, offer asking for email in installer, save in a key, and pass it in as an optional parameter. Evan and I discussed yesterday that we can and should ask for optional user info at the end of the installer (open to other votes / vetos on this).

I would very much like to ask for optional data. Need to know what though.

Going to :football: on answering this question for the purpose of this pull and sprint. I added an arbitrary data field to the installer (https://github.com/StackStorm/st2installer/commit/095a88c4b4d31546d39930b495d5365a369e2e70#diff-886997327381bb0b94e3d678abc25d3eR112), and the installer auto-updates at startup, so we have time/ability to figure out what we want there.
But, we at least have the ability now.


gradle build error: specified for property 'manifest' does not exist

Hello,
when I'm trying to build the project with gradle , I get this error:
01:29:21: Executing external task 'build'...
Configuration on demand is an incubating feature.
:android:preBuild
:android:compileDebugNdk
:android:preDebugBuild
:android:checkDebugManifest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':android:checkDebugManifest'.
> File '/home/rodislav/Projets/non-master/src/android/AndroidManifest.xml' specified for property 'manifest' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 9.921 secs
File '/home/rodislav/Projets/non-master/src/android/AndroidManifest.xml' specified for property 'manifest' does not exist.
01:29:31: External task execution finished 'build'.

you must first run java -jar non.jar update. Read the wiki ;)

Sorry, my fault, the problem appears when I'm trying to build with gradle the project non, so to have non.jar, I must have it before :)
I'm using intellij Idea, and it downloaded and dependencies, everthing went fine, the problem seems to be in android module:
File '/home/rodislav/Projets/non-master/src/android/AndroidManifest.xml' specified for property 'manifest' does not exist.

You do not need to build non with Gradle, Non is wrapping gradle. Read working from source tutorial on Wiki, there you have explained how to build non.jar.

ok, thanks

can you tell me how to fix this?

Fix what? Now engine is working totally differently. Do you have similar error?

i have the similar error, and i don't know how to fix it...
On Mon, Sep 14, 2015 at 8:19 PM, Tomas Slusny<EMAIL_ADDRESS>wrote:

Fix what? Now engine is working totally differently. Do you have similar
error?
—
Reply to this email directly or view it on GitHub
https://github.com/nondev/yae/issues/11#issuecomment-140165246.

So show me the error (console output) and I can help you better :smile:

Still the same error on 2022.  everything updated, if I change build.gradle to 4.0.2 and gradle-wrapper to 6.4.1 or 7.1.1 and 7.2-all it works but isnt the correct solution, just an workaround, the log is :
FAILURE: Build failed with an exception.

What went wrong:
A problem was found with the configuration of task ':app:processDebugManifest' (type 'ProcessMultiApkApplicationManifest').

File 'F:\flutterdev\Personal\delete\delete1\build\app\intermediates\merged_manifest\debug\out\AndroidManifest.xml' specified for property 'mainMergedManifest' does not exist.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 12s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)


Considering adding a related projects section

Hi,
I'm working on a tool that statically analyse the source code in order to check the health of the localization: i18n-extract.
I have added an example that works well with this project.
Can I submit a pull request that add a new section under the README.md for related projects?

Sure!


⚠ Jenkins Plugins Artifactory has degraded performance

In 66d8c1c, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1096 ms

Resolved: Jenkins Plugins Artifactory performance has improved in c729ac4 after 25 minutes.


Using angular.copy for stateParams strips away some object properties.

I'm trying to pass a whole object to ui-sref, but it seems that it doesn't get sent to the destination route with all its properties.
This is because you use angular.copy for all stateParams. Anything that has been defined on the object using defineProperty does not work with angular.copy for example.
Am I doing something that isn't meant to be supported by ui-router?
Thanks!

Am I doing something that isn't meant to be supported by ui-router?

Yes, since we use angular.copy, we can't support your use case at this time, sorry.
There's a chance we can support it after 1.0.  $stateParams code is still changing in 1.0 alpha 0, specifically to support dynamic params.

What are you trying to accomplish?

Same problem here with beta 4, passing a Restangular object. The angular.copy made by the router strips some binding in the object. To copy a Restangular object we have to do a Restangular.copy. I did not have this problem with version 0.2.*.
https://github.com/mgonto/restangular#copying-elements

Before modifying an object, we sometimes want to copy it and then modify the copied object. We can't use angular.copy for this because it'll not change the this binded in the functions we add to the object. In this cases, you must use Restangular.copy(fromElement).

What is it you are trying to accomplish by passing an object in?

I have a page type product/:productId/edit and uses the param to pass the clicked object to edit. Maybe not the best solution but I found it efficient.

Why arent you just passing in the actual params needed instead of the whole object?

I need the full Restangular object as I edit his properties in the edit form. The advantage is i only have to make a .save() on the object and as it's a Restangular object he knows the API endpoint for saving the object datas.
As all my objects are kepts by a service, I will use it to retrieve the object by his id. That way no need to pass the whole object.

Yeah that seems like a better solution


Native Ad breaks layout in a list view in iOS

Hi,
I'm loading a Native Ad in a list view inside a view pager, when the ad is loading everything seems to work fine, but after the ad is loaded it creates some weird behavior.
A Banner ad (which is an overlay, from 'firebase_admob') becomes hidden below the layout and scrolling isn't working properly.
What can I do to fix this?

Same here!

same here

Flutter recently announced official support of native and banner ads as part of the widget tree.
It's currently in public Beta but from testing it I can confirm it works great.
https://pub.dev/packages/google_mobile_ads


Update "Our content delivery network (CDN)" page

Update links to examples in config VCL
Update link to page about contacting Reliability Engineering
Update Bouncer CDN link to AWS from Carrenza

I notice that you've removed the line-limiting newlines that existed partway between sentences. I don't think a preference is prescribed either way in the GDS Way or anywhere else. In the absence of an agreed rule, we should stick with the convention of the repo - which I think in this case is mostly for newlines rather than against. (It also makes the changes much easier to review - I can't easily see where your 'real' changes are as GitHub isn't picking it up in its diffing algorithm).

I thought the general guidance was that prose should be on a single line for a better diff, as a change that takes a line to over 80 characters could then cause a cascade of changes that needlessly affect subsequent lines. Whilst this diff is harder to see changes, future edits will be clearer.


Bianlian site is up and last victim not detected - sin-euro

In the  r.live site it shows that their site is down

Manually added.  It seems the scaper is blocked by Bianlian ... I'll investigate so I let the issue open

Corrected. Bianlian is scrape again.


Trace() with release build

Hello,
Is there a way to print some infornation to coolwatcher with a release build?
Looks like #337 answers it as NO, but is there another way?
Thank you.

The whole point of release is it doesn't have traces so people cant see what it's doing.
use debug to get your program working and then build for release when you're happy


The ground truth of Test_026 too

Can you send me one tif format annotation?I will be very grateful to you. My mail<EMAIL_ADDRESS>

@Doloresru just sent, can you take a look?

@Doloresru just sent, can you take a look?

Yes, I have receieved it. Thank you so much!

@Doloresru @yil8 Hello, can you share this test_026.tif now? My mail<EMAIL_ADDRESS>Thank you!


require('Comment').toggle() from visual mode only comments top line

I've bound a key bind to :lua require('Comment').toggle()<CR>

(If I want to keep all my keymaps in the same place and not set them through Comment.nvim config)

@mrjones2014 This should help https://github.com/numToStr/Comment.nvim/blob/2f19303c0641537e63a2c44f754c41f7a122e6d7/lua/Comment/api.lua
Here is what I did vnoremap <leader>/ :lua require('Comment.api').gc(vim.fn.visualmode())<CR>', { noremap = true, silent = true })<CR>


Release/21.07.23

#17
#60
#61
#66

For future releases, use CalVer according to this link:
https://calver.org/overview.html
At least Iso standard using: yyyy-mm-dd for sorting purposes


Setup Travis CI to build Android and IOS EXAMPLES

Added flags EDGE_SDK_BUILD_EXAMPLES=ON to Cmake
Licenses accepted
Resolved Boost dependencies
Adedd OSX image xcode10.2
Resolves: OLPEDGE-568
Signed-off-by: Oleksandr Rudenko<EMAIL_ADDRESS>

You need to adapt README.md if you change any build parameters. Currently we have
Platform	Minimum requirement
Ubuntu	GCC 5.4 and Clang 7.0
Windows	MSVC++ 2017
MacOS	Apple Clang 9.1
iOS	XCode 10.2, Swift 5.0
Android	API level 21

So we add Apple Clang 10.0.1


MongoDB Input Step aggregation framework disk usage

Including code that allows MongoDB Input Step aggregation framework query to use disk. It's required for pipelines with large collections
Also check on pentaho-mongo-utils pull request that enables this feature.
#70

Hello, This is an automated comment from our build system. Since this pull request originated from a user  not in the Pentaho organization, we will not proceed  with automatic validation of the pull request.  However, rest assured that it will be reviewed manually as soon  as we get the chance. Thanks for your contribution!

Hello, This is an automated comment from our build system. Since this pull request originated from a user  not in the Pentaho organization, we will not proceed  with automatic validation of the pull request.  However, rest assured that it will be reviewed manually as soon  as we get the chance. Thanks for your contribution!

:gear: Build finished in 34s with command:
mvn clean verify -B -e -Daether.connector.resumeDownloads=false -amd \
-Daudit

:exclamation: No tests found!
:information_source:  This is an automatic message

:x: Build failed in 54s
Build command:
mvn clean verify -B -e -Daudit -amd

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:x: Build failed in 52s
Build command:
mvn clean verify -B -e -Daudit -amd

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:x: Build failed in 50s
Build command:
mvn clean verify -B -e -Daudit -amd

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:x: Build failed in 1m 4s
Build command:
mvn clean verify -B -e -Daudit -amd

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:x: Build failed in 5m 54s
Build command:
mvn clean verify -B -e -Daudit -amd

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:x: Build failed in 49m 35s
Build command:
mvn clean verify -B -e -Daudit -amd

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message


How to use select2 with redux-form 6?

In v5, I can do something like:
const fields = ['concepts[]']

class Input extends Component {

  componentDidMount() {
    const {
      fields: { concepts}
    } = this.props

    $("select").select2()
      .on("select2:select", function(e) {
        let addId = Number(e.params.data.element.value)
        concepts.addField(addId)
      })
      .on("select2:unselect", function(e) {
        let removedId = Number(e.params.data.element.value)
        concepts.removeField(concepts.findIndex(id => id == removedId))
      })
  }

  render() {
    ...
  }

}

But it does not work in v6 anymore.
I found a page about custom component but don't know to to apply it to select2.

We request you to ask again at StackOverflow, using the redux-form tag and the equivalent for Select2.
This is because the GitHub issue tracker is better suited for discussions related to bugs and improvements of Redux Form.
Meanwhile, StackOverflow is better at keeping popular questions visible, while separating feature-related questions from help-related questions.
Thanks for using Redux Form!


Mac support

basic support for scrolling, selection and copy+paste. there are several issues that should be resolved before this is merged, most significantly what to do with tabs and newlines when copying as these are not present in the buffer currently. there are a set of smaller "polish" items that I think should be done as well.

[x] ~tab and~ newlines should be able to be copied from the buffer
[x] buffer resize and reflow (related to tab/newlines issue). when the buffer changes we need to reflow the content and reposition soft breaks ~and tabs~
[ ] voice over support for the terminal view
[ ] properly disable scrolling when alt buffer is enabled
[ ] restore scroll position when switching back from alt buffer
[ ] scroll thumb proportion is not correct
[ ] mouse wheel support for scrolling
[ ] scroll paging
[ ] select and scroll at the same time
[x] delete stale log files rather than leaving them on disk
[ ] watch the shell process and disable/close the terminal window when the shell exits
[ ] selection should clear when the user types, switches to the alt buffer
[ ] selection logic could move to Buffer.
[ ] profit

I fixed a minor rendering glitch with emoji's, so that they are presented now but the width calculation is off. I am not going to worry about that too much because xterm itself still has issues rendering and calculating widths correctly.

https://share.getcloudapp.com/geu2x7NZ
this is ready enough now.