Add jackson-module-jaxb-annotations dependency

On mapping
@Type(type = "jsonb")
@Column(columnDefinition = "jsonb")
private Map<String, Object> properties;

I receive the error
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.util.ServiceConfigurationError: com.fasterxml.jackson.databind.Module: Provider com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule not found

It is need to add the dependency
<dependency>
    <groupId>com.fasterxml.jackson.module</groupId>
    <artifactId>jackson-module-jaxb-annotations</artifactId>
    <version>2.11.0</version>
</dependency>

This issue is probably related to this StackOverflow question and seems to affect Spring Boot 2.2 or newer versions.

Fixed.

We just upgraded our services from Spring boot 2.1.4 => 2.3.3, and it looks like the jackson-datatype-joda dependency is also required.

@jmchuster I don't think Hibernate Types needs that dependency. Run a dependency tree and see where it's needed.

Sorry, i think i got confused somewhere along the way.  It was only the jackson-module-jaxb-annotations that was missing, resolved by upgrading hibernate-types.  We were scrambling to fix a forced upgrade, and I must've missed a refresh somewhere trying to get it to a working state, and formed the wrong the dependency chain in my mind.

No problem. I'm glad you sorted it out.


[firebase_crashlytics] Automatic StackTrace will include the library

The new version of the library added automatic stack traces in case none were provided, that's good, but looking at the implementation I think (didn't test) it will include the calls to _recordError and recordError, which is repetitive and useless, so it would be nicer to have them filtered out.

Possibly related to https://github.com/FirebaseExtended/flutterfire/issues/3310

Closing in favour of #3310 - of which is on our internal radar at the moment so hoping to have this looked at soon.


add support NHC-Link042 to minichlink

Delete .o file.
Add STM32F042 hex file.

Thanks! Looks great!

It does not appear that the NCH-LINK hex file in the description is not included.

Because .gitignore rule
.pio
.vscode
*.elf
*.hex
*.lst
*.bin
*.map
You can use MDK ARM to compile

You can manually add .hex files with add -f {file} - for the .hex, that would be nice, @NgoHungCuong


Decide on tasks and design for mockups for testing

Which design features/tasks will be test against?

Had an initial discussion around potential tasks/features to test as well as mechanism for testing:

Knowledge panels for authors and possibly subjects: Do these provide context or helpful information for users?  Are they integrated in a way that doesn't interfere with other discovery tasks?
Using information regarding relationships, either within knowledge panels or in other sections of the search or show pages, to then link back to works that are in the catalog: related works (examples: derived works, precedes/follows), related authors (co-authors? or similar authors by era or topics, 'influenced by')
Using information to link to existing internal library resources such as digital collections (- we can explore how to retrieve this info in a linked data fashion but that's a separate issue)
Potentially linking to external resources (e.g. collections at other libraries/institutions)
Possibilities for hierarchical navigation of subject headings akin to our initial experiments with the cataloging interface -> if user is looking at an item, can they browse subjects around those listed in a way that conveys to them how there may be related or relevant subjects to search?

For method of evaluation, we discussed having quick tasks that can be done in a shorter time frame with students using the "RAW" or discount usability method (10-15 minutes, focused tasks with mockups, possibility for a little additional feedback but not much time for in depth discussions).  Traditional one-on-one think alouds can be done later to delve into finer points.


Jp/pylint recursion fix

This is a fix for a bug in pylint that is triggered by exceeding maximum recursion depth.

I set the recursion limit to 8000, but maybe it should be lower? Testing pylint on the following code snippet failed on any recursion depth below 1072, including the default 1000.
import pandas as pd pd.merge(None, None)


Cannot print

i have try printText("hello world") but printer can't print that text, you have solution?

plz check demo.

I face the same problem too

@fauzanmh any progress to printText("hello world").
**Me too same issue I have. my printer cannot printText **
Device iPhone.
I'm using Mini thermal printer.

Have you try my samples?
发自我的 iPhone

在 2019年8月27日，下午2:48，FazilMuhammed<EMAIL_ADDRESS>写道：
@fauzanmh any progress to printText("hello world").
**Me too same issue I have. my printer cannot printText **
Device iPhone.
I'm using Mini thermal printer.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

yeah I tried your sample. I cannot print data in iOS, android working
properly.
initially check bluetooth is enable or disable. after search the
surrounding enabled devices and connect my printer device. after the
connect successful click the ESC/POS button to print.result is nothing
happening in iOS print.
Button Component
<Button disabled={this.state.loading || !(this.state.bleOpend && this.state.
boundAddress.length > 0 )}
title="ESC/POS"
onPress={ async () => {
console.log("Results")
try {
await BluetoothEscposPrinter.printerInit();
await BluetoothEscposPrinter.printerLeftSpace(0);
await BluetoothEscposPrinter.printerAlign(BluetoothEscposPrinter.ALIGN.
CENTER);
await BluetoothEscposPrinter.setBlob(0);
await BluetoothEscposPrinter.printText("Hello World\r\n", {
encoding: 'GBK',
codepage: 0,
widthtimes: 3,
heigthtimes: 3,
fonttype: 1
});
await BluetoothEscposPrinter.setBlob(0);
await BluetoothEscposPrinter.printText("Welcome\r\n", {
encoding: 'GBK',
codepage: 0,
widthtimes: 0,
heigthtimes: 0,
fonttype: 1
});
} catch (e) {
Alert.alert("OK1")
alert(e.message || "ERROR");
}
}}
/>
On Tue, Aug 27, 2019 at 8:20 PM janus j k lu<EMAIL_ADDRESS>wrote:

Have you try my samples?
发自我的 iPhone

在 2019年8月27日，下午2:48，FazilMuhammed<EMAIL_ADDRESS>写道：
@fauzanmh any progress to printText("hello world").
**Me too same issue I have. my printer cannot printText **
Device iPhone.
I'm using Mini thermal printer.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/januslo/react-native-bluetooth-escpos-printer/issues/28?email_source=notifications&email_token=AMZAFWAGGDS4DBGZQLXCUGLQGU5J3A5CNFSM4GWOHRUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IADJI#issuecomment-525336997,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMZAFWCC4D2NGRKXZ53VPF3QGU5J3ANCNFSM4GWOHRUA
.

You need to change all encoding 'GBK' to 'UTF8' ;)


reverse slice of string doesn't support unicode

'😀'[..>=] should be '😀', but the utf 16 surrogate pairs are reversed too, which broke the emoji
I suggest to first convert the string to array using [...a] which properly support unicode

Isn't this consistent with how regular slices work? For example, '😀'.slice(1) doesn't behave well.
My feeling is that, if you want to do something more Unicode-aware with strings, you should use [...a].reverse(). I think it would be weird for reverse slices to be smarter than slices. 😀

You are right, consistent with regular slices is more important.


Google Pay Clone

Describe the project you want to add with tech stack

Cloning Google Pay website using Html and Css.
Expected behavior

Opening page of google pay is created with static design and with responsive view.

@pranjay-poddar
@MohitGupta121
Assign this issue to me


[EventRequest] OnAfterSetLastModifiedDateTime in Table 23 "Vendor"

Hello, please consider adding the following event to Table 23 "Vendor"
    [IntegrationEvent(false, false)]
    local procedure OnAfterSetLastModifiedDateTime(var Rec: record Vendor)
    begin
    end;

and raise it accordingly inside the "SetLastModifiedDateTime" procedure:
    protected procedure SetLastModifiedDateTime()
    begin
        "Last Modified Date Time" := CurrentDateTime();
        "Last Date Modified" := Today();

        **OnAfterSetLastModifiedDateTime(Rec);**
    end;

Thank you!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 49832.


User should be able to input backend endpoint from the frontend

User should be able to add backend endpoint where to connect the frontend. Because currently all the backend API endpoint needs to be specified during build time. This makes very hard to dynamic deployment (in case frontend needs to be deployed in different network).
So during the frontend lunch. It should ask user about the backend endpoint in a form. Then it should fetch some basic configuration (non-sensitive) information from the backend (/system/public) which will tell for example, which authentication provider is enabled.
That settings should be stored in the browser's local storage. In this way, the frontend can connect to any smarty-pants backend.
For now, to reset this, user needs to manually delete the backend information from the browser's local storage.
Note: Also for end-to-end test, we can pass the backend configuration for the homepage as a query params ?backend=..., so it can poulate the local storage in the browser already

Blocked by https://github.com/shaharia-lab/smarty-pants/issues/60


PUT method has Daylight savings DateTime deserialization issue on Bind

I've encountered strange behaviour on Bind() method when deserializing DateTime objects which fall into Daylight savings time calculations. The problem appears only on parsing RequestPayload of PUT method while on POST it works as expected.
Please find the project showing the explained problem attached: date-serialization.zip
The versions of packages are the ones on my production. The latest currently available package versions don't fix the issue

It seems that the Json serializer used for RequestPayload on PUT was ignoring the local server time.
I need to test it the full extent yet but by the looks of it adding
DateTimeZoneHandling = DateTimeZoneHandling.Local;
in the CustomJsonSerializer looks like it have solved the problem.

Please pull latest master branch and check again. Work as been done on DateTime processing.
Re-open if issue not fixed


Find out why pygraphviz is not pinned when every other package is

https://github.com/chanzuckerberg/single-cell-data-portal/blob/3879427ca1358880e1b5bb09eeb1ad9ae3ef364f/backend/wmg/pipeline/requirements.txt#L67

No longer relevant as minimum package version is pinned.


[PE-D][Tester A] Hyperlink for "Task-Related Questions" not working

Expected behavior: Clicking on the link would go to the Task Related Questions section

Expected hyperlink: https://ay2324s1-cs2103t-t17-1.github.io/tp/UserGuide.html#task-related-questions

Actual behavior: Hyperlink is broken and does nothing

Actual hyperlink: https://ay2324s1-cs2103t-t17-1.github.io/tp/UserGuide.html#task---related-questions

Labels: type.DocumentationBug severity.Low
original: ElginTZM/ped#2

Resolved


chore(main): release 2.8.2

:robot: I have created a release beep boop
2.8.2 (2024-05-03)
Bug Fixes

update nodejs and golang devcontainer image (b1803e4)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/whynotea/devcontainer-wails/releases/tag/v2.8.2 :sunflower:


fix: bytes should be declared on FlowChunk

I have changed bytes default value null to undefined, because it might be already used by someone else and let's not break the code for them

LGTM. I'd later backport this to v3. (I guess naming change are acceptable there, isn't?)

LGTM. I'd later backport this to v3. (I guess naming change are acceptable there, isn't?)

Yes, you can rename it in v3 as you like :))

Yes, you can rename it in v3 as you like :))


Chapter selector not working as intented

reproduction instructions:
use the command python main.py -c 1,2 -i <filepath-to-arc-six> -v
(you can also negate the -c 1,2, and instead select those chapters with the other method, and get the same result)
it will summarize arc 6 chapter 31 as if it were another part within chapter one

Fixed in 8b75270


Spiked Prototype - UI

Make two spiked prototypes using different technologies

Make a mock-up video exploring the UI and general flow of the website.
Main Things to explore:

Landing page - Home (Catalog will be shown here)
Catalog -> Site -> Points -> Point Info  --- Flow from Landing Page - Home
Another Tab for Aggregated Data - By Name (List of all names of points)
When you click on one of these aggregated points -> Should take you to a page with good UI showing average data for that point type.
Open to exploration
Find a way to put an admin account button somewhere
IF logged in as admin, it should show a logout button instead of login.
Explore how data point should be added
Explore what will go on on the page with details of the points.
@AdamStanger @lecegues @keliboi

[ ] Overview of Prototype 1 - Dhruv's
[ ] Overview of Prototype 2 - Babz's
[ ] Overview of Prototype 3 - Utsav's
[ ] Overview of Prototype 4 - Jeffery's

Overview report consists of:

Time Estimation
Description of what the prototype does
Crash Reports


Payments / Paypal - Save button is always enabled, even if the user has not made any changes - Reported by: @thesahindia

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Navigate to Settings > Payments
Click on the Paypal option

Expected Result:
Button should be disabled if no changes have been made
Actual Result:
Button to save changes is always enabled.
Workaround:
None needed.
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.17-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @thesahindia
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1638198130032000
View all open jobs on GitHub

Current assignee @jasperhuangg is eligible for the Engineering assigner, not assigning anyone new.

Being fixed in this PR https://github.com/Expensify/App/pull/6545 - Created this ticket to track the issue reporting payment for @thesahindia

@jasperhuangg Huh... This is 4 days overdue. Who can take care of this?

bump @isagoico

@jasperhuangg Still overdue 6 days?! Let's take care of this!

@jasperhuangg heyo! @thesahindia needs to be paid for reporting this issue - can you assign or add the necessary labels for this 🙇♀thanks a lot in advance

Triggered auto assignment to @dylanexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Woooot! Posting now!

Posted

internal: https://www.upwork.com/ab/applicants/1468901188558471168/job-details
external: https://www.upwork.com/jobs/~011dc77774e253739a
@thesahindia please apply and I'll get you squared away!

Triggered auto assignment to @parasharrajat (Exported)

Triggered auto assignment to @AndrewGable (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@dylanexpensify, applied for the job. Thanks.

@thesahindia offer sent!

payment sent, contract ended, and job closed!


[Question] How does one get the voice channel that a user is currently connected to?

The closest thing I could find is the VoiceStateUpdate event. However, the VoiceState struct it doesn't contain a field that indicates whether the user is connected or not.

This is probably the wrong place to ask for help


KAFKA-14960: [Part I]TopicMetadataRequestManager Implementation

This is the implementation of the TopicMetadataRequestManager, responsible for handling topic metadata from partitionsFor and listTopics
The PR also refactors the current callback mechanism because I think the usage is rather inorganic.  Now, user can pass in a BiConsumer to be triggered when the request is completed.
@kirktrue @lianetm

Thanks for the review - @kirktrue @lianetm Addressed the comments

I think I ommitted kirk's comments: Working on them ...

@kirktrue @lianetm  - I added some code around how ApplicationEventProcessor hook up with the request manager.  The second PR will cover how it hook up with the client thread/API.

@kirktrue thanks for the review! Ready for another pass. Think I addressed your comments.


Update tapir-core, tapir-http4s-server, ... to 1.0.0-RC3

Updates

com.softwaremill.sttp.tapir:tapir-core
com.softwaremill.sttp.tapir:tapir-http4s-server
com.softwaremill.sttp.tapir:tapir-json-circe
com.softwaremill.sttp.tapir:tapir-openapi-docs
com.softwaremill.sttp.tapir:tapir-swagger-ui

from 1.0.0-M9 to 1.0.0-RC3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.tapir" } ]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #490.


rmf_fleet_adapter compilation issue - Waypoint set_charger

Hi team,
Describe the bug
When I trying to build the rmf_demo, it shows there is a compilation issue as below:

--- stderr: rmf_fleet_adapter
/home/rosi/rmf_demo_ws/src/rmf/rmf_core/rmf_fleet_adapter/src/rmf_fleet_adapter/agv/parse_graph.cpp: In function ‘rmf_traffic::agv::Graph rmf_fleet_adapter::agv::parse_graph(const string&, const rmf_traffic::agv::VehicleTraits&)’:
/home/rosi/rmf_demo_ws/src/rmf/rmf_core/rmf_fleet_adapter/src/rmf_fleet_adapter/agv/parse_graph.cpp:119:14: error: ‘class rmf_traffic::agv::Graph::Waypoint’ has no member named ‘set_charger’
119 |           wp.set_charger(true);
|              ^~~~~~~~~~~
make[2]: *** [CMakeFiles/rmf_fleet_adapter.dir/build.make:219: CMakeFiles/rmf_fleet_adapter.dir/src/rmf_fleet_adapter/agv/parse_graph.cpp.o] Error 1

Workspace information:

Operating system and version: Ubuntu 20.04
ROS distribution: ROS Foxy
ROS installation method: binary packages
RMF installation method: from source
RMF source versions

rmf_demos branch or commit hash:  master branch
rmf_core branch or commit hash: Master branch, commit hash=28542c3
rmf_schedule_visualizaer branch or commit hash: master branch
traffic_editor branch or commit hash: master branch

Steps to Reproduce

mkdir -p ~/rmf_demos_ws/src
cd ~/rmf_demos_ws
wget https://raw.githubusercontent.com/osrf/rmf_demos/master/rmf_demos.repos
vcs import src < rmf_demos.repos
source /opt/ros/foxy/setup.bash
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release

Temp Fixed
I had commented out line114 to 120 from rmf_core/rmf_fleet_adapter/src/rmf_fleet_adapter/agv/parse_graph.cpp
and it compiles

Hi Alex,
I am unable to reproduce the build error. Can you do a clean build of your workspace?
cd cd ~/rmf_demos_ws
rm -rf build/ install/ log/
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release

If you pulled the latest rmf_core in an existing workspace, you will have to rebuild the rmf_traffic package as the set_wapoint() and is_charger() methods were added to rmf_traffic::agv::Graph::Waypoint following this PR. Doing a clean build as suggested above should solve the problem.

@alexchua0108 Do you happen to have an old version of the ros-<distro>-rmf-traffic Debian package installed? We've seen cases where the distro-installed version of the package will be selected by cmake instead of the workspace version of the package, and that can cause this kind of build issue.
We haven't figured out the cause of this build system bug yet, but an easy way to circumvent it for now would be to uninstall the Debian packages for RMF.

Hi @Yadunund @mxgrey
Thanks for the help.
It is exactly like what @mxgrey had mentioned. I have an old version of the rmf-traffic Debian package that I install in November 2020.
After I do this:

sudo apt-get remove ros-foxy-rmf*

It successfully complies


Added section for troubleshooting installation

Purpose

Added a simple section for troubleshooting installation, like during npm install.

Does this introduce a breaking change?
[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

How to Test

Read and review doc changes manually.

What to Check
Verify that the following are valid

Grammar
Placement of the new section and its link added

Other Information

NA

Thanks. I'm sure there's much more to troubleshoot than just snyk on Windows. But I like the idea of this section and you've got a start going. So why not?
Thanks for contributing.


[HTTP] Add multipart and blobs (files) to request bodies

Requirements
For a HTTP request:

A multipart sub-type is added to the body component. It should be possible to add multiple "parts" and control their names & content. Thus, should be possible to send binary and form-encoded stuff in the same request.
A binary sub-type is added to the body component (optional)
Content-Type: multipart/form-data is set in headers

binary sub-type added in v0.2.3. Will keep this one open to track multipart

multipart sub-type added in v0.2.5


fix: Add headers

Updating headers
Changing volume_mappings to volumes
Changing host_mappings to hosts

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


Feature Request- Streaming DataSource for Track Impls

I'd like to be able to implement a DataSource which can be passed to the Track Impls that may have data pending semantics.  Currently DataSource, and its use in the tack Impls, require the complete size of the data to be known in advanced.  My use case is that I am streaming the data from a source. In that case, the size is unknown to me and so current DataSource semantics requires me to stream all the data from the source before processing it.
Am I missing something that should allow this?
If not, I propose a new constructor on the track Impls which would take in an NIO byte channel.  Or alternatively, a new ByteBufferDataSource interface type which can be used to construct these Impls which would gracefully handle partial data until the ByteBufferDataSourceImpl indicates eof by some other means.  That construction may not make sense for all Track types, but it would, for example for the H264 track.

hia sannies
i am getting null pointer exception at
H264TrackImpl h264Track = new H264TrackImpl(new FileDataSourceImpl(android.os.Environment.getExternalStorageDirectory().getAbsolutePath() + "/test.h264"));
but the file is there in the device.So what is the problem?
Thanks in Advance

Please include the stack trace your error description is as clear as 'my
car doesn't work'
Am 24.01.2015 12:30 schrieb "mohanraj546"<EMAIL_ADDRESS>
hia sannies
i am getting null pointer exception at
H264TrackImpl h264Track = new H264TrackImpl(new
FileDataSourceImpl(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()

"/test.h264"));

but the file is there in the device.So what is the problem?
Thanks in Advance
—
Reply to this email directly or view it on GitHub
https://github.com/sannies/mp4parser/issues/7#issuecomment-71312339.

this is the log response
01-24 19:26:52.438: D/dalvikvm(25792): Late-enabling CheckJNI
01-24 19:26:52.508: E/path is(25792): <><>/storage/emulated/0/test.h264
01-24 19:26:52.518: D/AndroidRuntime(25792): Shutting down VM
01-24 19:26:52.518: W/dalvikvm(25792): threadid=1: thread exiting with uncaught exception (group=0x41554ba8)
01-24 19:26:52.518: E/AndroidRuntime(25792): FATAL EXCEPTION: main
01-24 19:26:52.518: E/AndroidRuntime(25792): Process: com.example.decodingh264tomp4, PID: 25792
01-24 19:26:52.518: E/AndroidRuntime(25792): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.decodingh264tomp4/com.example.decodingh264tomp4.MainActivity}: java.lang.NullPointerException
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.app.ActivityThread.access$800(ActivityThread.java:135)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.os.Handler.dispatchMessage(Handler.java:102)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.os.Looper.loop(Looper.java:136)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.app.ActivityThread.main(ActivityThread.java:5017)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at java.lang.reflect.Method.invokeNative(Native Method)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at java.lang.reflect.Method.invoke(Method.java:515)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at dalvik.system.NativeStart.main(Native Method)
01-24 19:26:52.518: E/AndroidRuntime(25792): Caused by: java.lang.NullPointerException
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at com.googlecode.mp4parser.authoring.tracks.H264TrackImpl$SliceHeader.(H264TrackImpl.java:541)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at com.googlecode.mp4parser.authoring.tracks.H264TrackImpl.readSamples(H264TrackImpl.java:364)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at com.googlecode.mp4parser.authoring.tracks.H264TrackImpl.parse(H264TrackImpl.java:112)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at com.googlecode.mp4parser.authoring.tracks.H264TrackImpl.(H264TrackImpl.java:103)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at com.example.decodingh264tomp4.MainActivity.decodevideo(MainActivity.java:85)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at com.example.decodingh264tomp4.MainActivity.onCreate(MainActivity.java:35)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.app.Activity.performCreate(Activity.java:5231)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
01-24 19:26:52.518: E/AndroidRuntime(25792): 	... 11 more

hai sannies,
is the response clear or not?

I'd like to add a "me too" for this.
We're currently using a heavily customised version of a (very!!) old release of the IsoParser, and are trying to upgrade to the latest version. However, our use-case means that we need to rewrite MP4 metadata "on the fly" - preferrably while it's travelling across the network as an InputStream and has not been written to disk.
Our customised version reads all header boxes up to the mdat box into memory and then leaves the rest "on the wire". It then modifies the header and streams the mdat box afterwards; the original IsoFile class made this approach not too difficult. However, not only has the new IsoParser replaced InputStream with a DataSource, but this DataSource must now be seekable! A network stream is obviously not seekable.
I think we've come up with some kind of "file-backed cache" approach here, but it feels as if we're fighting a losing battle to bridge what we need the IsoParser to do and where the IsoParser is currently heading. Does the IsoParser need to use a seekable data source? Could there a way of using it that doesn't need the source to be seekable please?

Hi,
the traditional MP4 format is heavily bound to files and meant to be
streamed in any way. You can easily see that if you look at the Chunk
Offset Box - it's an offset from the beginning of a file and kind of
requires to keep the file somehow accessible. I moved the API to strongly
into the direction of file based I/O with the traditional MP4 in mind. The
picture changed with the fragmented MP4 files as they only require a small
piece of the whole file to be read completely to make sense and streaming
use-case are now more prominent. Unfortunately this recent movement towards
fragmented MP4s - which can be kind of streamed - is not reflected in the
API as it still sticks to the underlying file model
I'm trying to move it into this direction with the package
com/mp4parser/streaming which will allow to connect some datasource with a
datasink but things take time especially if the project doesn't fund you -
90% of the big restructuring/modernizing tasks are solely funded by my
personal time and this slows things down as I have to pay rent.
Stay tuned. I'm still working on it. (You reminded me and I'll work on it
today.)
Best Regards,
Sebastian
2015-07-28 10:56 GMT+02:00 Chris Rankin<EMAIL_ADDRESS>
I'd like to add a "me too" for this.
We're currently using a heavily customised version of a (very!!) old
release of the IsoParser, and are trying to upgrade to the latest version.
However, our use-case means that we need to rewrite MP4 metadata "on the
fly" - preferrably while it's travelling across the network as an
InputStream and has not been written to disk.
Our customised version reads all header boxes up to the mdat box into
memory and then leaves the rest "on the wire". It then modifies the header
and streams the mdat box afterwards; the original IsoFile class made this
approach not too difficult. However, not only has the new IsoParser
replaced InputStream with a DataSource, but this DataSource must now be
seekable! A network stream is obviously not seekable.
I think we've come up with some kind of "file-backed cache" approach here,
but it feels as if we're fighting a losing battle to bridge what we need
the IsoParser to do and where the IsoParser is currently heading. Does the
IsoParser need to use a seekable data source? Could there a way of using it
that doesn't need the source to be seekable please?
—
Reply to this email directly or view it on GitHub
https://github.com/sannies/mp4parser/issues/7#issuecomment-125509163.


[Feature Request] Add support for several outputs per input value

If it is not too much trouble I'd be glad to have the option to add additional output entries to show per input. If this would require a lot of coding, it's not worth the effort, as this is probably a niche use case.
Use case example - Travel Time:
Travel Distance:
Input: x Miles

Output 1: x km
Output 2: x days slow
Output 3: x days normal
Output 4: x days fast

That's actually a nice idea... I will look into that l.

Hmm yah maybe something like
x Miles
y km
A | B | C Days
That would not take up too much space 🤔 So it would be (slow | normal | fast )
And i guess it would be the easiest to stick to the perDay Travel distances (so calculate everything on the X km per day value)... otherwise it would get kinda crowded with information. At least in DnD its different travel distances per day / hour / minute if i remember correctly. Dont know how its like in other systems like pathfinder etc.

Hmm yah maybe something like
x Miles y km A | B | C Days
That would not take up too much space 🤔 So it would be (slow | normal | fast )
And i guess it would be the easiest to stick to the perDay Travel distances (so calculate everything on the X km per day value)... otherwise it would get kinda crowded with information. At least in DnD its different travel distances per day / hour / minute if i remember correctly. Dont know how its like in other systems like pathfinder etc.

Yes, DnD does use different values depending on creature speed and travel pace.
I think you're on the right path there, as long as I can input a custom value for each output, as I use a custom travel pace value loosely based on roman legions travel speed. So if I have the option to put in values that resemble normal or forced march for the per day output fields I'm a happy GM.
Having the output set up like you suggest is a sensible decision, good thinking.
An insanely useful addition support for the Enhanced Terrain + Terrain Ruler Modules but I'm daydreaming now. I have no clue how difficult this would be, in addition, those modules seem to break on regular basis, so a dependency would be risky.

Doesnt have drag-ruler built-in support for some terrain module? 🤔
Currently on the finishing tests for the dragruler update. Will leave screenshot here when i have something to show for the travel stuff :)

Doesnt have drag-ruler built-in support for some terrain module? 🤔
Currently on the finishing tests for the dragruler update. Will leave screenshot here when i have something to show for the travel stuff :)

Awesome.
As far as I know, (Could be wrong, has been a while since I last used enhanced terrain), I needed an additional modules called Terrain Ruler, that tied into the dragruler and terrain ruler api, for everything to work properly.
I could be wrong about this. Will investigate this in the coming days.

I just gave the enhanced terrain module another go, but it still seems to be broken with terrain ruler. But yes, you're right, your module will work without dedicated support for anything terrain layer, so this is a big plus.

And maybe try it without my module first... not that my module is the cause why dragRuler doesnt work with terrain ruler :D

Nope, I already made sure of this. I just looked through the issue thread of enhanced terrain and there are fixes waiting for release, so that's that :)

What do you think?
I rounded the days to quarters... i guess thats precise enough.

That is absolutely perfect :)

yep

Awesome. this is perfect!

Thx alot. Always nice to hear that the module helps people ... I guess i will do a release in the next days :) I wanna try if i can fix the behaviour on gridless scenes, so i can put it together in a release :)

Take your time, no need to rush. Looking forward to it.

FYI: Aaaaaalright... i think i found a way to fix the behaviour with dragruler on gridless scenes... expect an update in the next days together with the travel times ;)

FYI: Aaaaaalright... i think i found a way to fix the behaviour with dragruler on gridless scenes... expect an update in the next days together with the travel times ;)

Hussah! Congratulation! Looking forward to it <3

Testing V3 now

Should now be available via froundry too :)

Working perfectly. Just what I was hoping for, and even easier to handle than what I came up with. Thank you for your hard work!

Nice to hear :) Let me know if they liked it or not :)

Nice to hear :) Let me know if they liked it or not :)

Will do...why wouldn't they^^.


[RaisedButton] Add callback signatures to docs; improve other props.

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[ ] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Hey, for #3096. I wasn't sure about some of the props here; I tried to use the best prop description wordings from the FlatButton and FloatingActionButton doc pages.

Sorry for the delay. Just a couple of minor tweaks.

@mbrookes Sorry for the delay on my end.

@theosherry Hey, now worries. Really appreciate you taking this on!

It's the demon coder - pushing updates before I even finished reviewing. :imp: :smile:
(That's all BTW :+1: )

Sorry, I was just heading out and pushed it before I saw the rest of your comments :grinning:

Hey, np! It was a complement on how quickly you were responding! :+1:

@theosherry Thanks!


List available Params per device and integration

Hi there,
Could you add a list for all the common Params which are available for each device type? So for Android, IOS, Browser and the integrations in SharePoint, Teams, Power BI and other.
Thanks,
Paul

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

ID: 69fd8dc0-ad38-444f-8a2a-ce3e4617db16
Version Independent ID: cc0a738b-1f7e-8ad4-8dc7-d3d04697b270
Content: Launch and Param functions in Power Apps - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/functions/function-param.md
Service: powerapps
Sub-service: canvas-maker
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Thanks for your comment, @PaulKroonMacaw. This issue has been assigned to the doc author for review.


Requesting support for smaller distances

I found that this doesnt work for very small shapes. Because in the result, coordinates are rounded to 2 decimal places.
So i kindly request you to add a parameter for decimal places which will support feet or meter accuracy.

Coordinates are not rounded to 2, the print output is rounded to 2. I will look at adding a setting for the print precision. In the mean time you could do a fork and just modify Point in graph.py.


This change is


Cisco

Just received email from CEO "activate a mandatory work from home policy for certain locations"

I think we have this now.


Rename vector_layers, maxZoom and minZoom in tilesets

The vector_layers key is already handled as layers internally. Also using lowercase minZoom and maxZoom would align it with how Mapbox is handling these attributes in styles.
@bchapuis are there any reasons for the current naming?

I would use camel case everywhere (e.g. minZoom and maxZoom) for properties and methods as it is part of the naming convention in java. If the serialiazation format uses a different naming convention (e.g. lowercase or underscore), I would handle this with annotations. E.g.:
@JsonProperty("minzoom")
double minZoom

I may not have been consistent everywhere, so if you spot places where we should adapt the code, please, go ahead.
In the context of the tileset, we may call the property vectorLayers in the java code to match more closely with the TileJSON specification.

It is more about aligning with the Mapbox specs where they use lowercas minzoom and maxzoom (in the json representation of styles and tilesets). Further the model/attributes are generated from the openapi spec and we may can not annotate it easily. Also the openapi generator converts to java naming convention already (minzoom is just more than a different case ;) ).
As for the vector_layer attribute in tilesets, this is not part of the Mapbox spec so we might choose whatever we want here. Again we could follow the Mapbox styles spec and just name it layers.
I would suggest to align with the Mabbox style spec and let openapi do the conversion/annotation. I can open a pr here and in the openstreetmap_vecto repository to keep it in sync.

ah, I see, if the code comes from the openapi generator, we should simply use what it generates.
The vector_layer property is defined by maputnik as an extension to the spec, so we cannot change this name without modifying the editor accordingly.
More generally, is your intention to replace the classes in the baremaps-config module by the code generated with openapi?

Ok, so we probably want to keep vector_layers in the tileset json. And probably minzoom and maxzoom in order to adhere to the spec.
Potentially we could use the tileset and mbstyle classes/models generate by the openapi generator throughout baremaps and remove most of the config in the process. also realized that the current tilesetService implementation is actually kind of equivalent to baremaps-postgres-tile.
First thing though i like to discuss with you whether you want to continue this path and if so what and how to refactor. And probably first land #287 inlcuding a fix for the serialization issue https://github.com/baremaps/baremaps/pull/287#issuecomment-892757755, resolve this one and let the frontend devs play with it.
What do you think?

Ok, so we probably want to keep vector_layers in the tileset json. And probably minzoom and maxzoom in order to adhere to the spec.

Sounds good to me.

Potentially we could use the tileset and mbstyle classes/models generate by the openapi generator throughout baremaps and remove most of the config in the process. also realized that the current tilesetService implementation is actually kind of equivalent to baremaps-postgres-tile.

Yes but this should be adressed in another PR and we should discuss the implications of this change.
Regarding the baremaps-postgres-tile module, why did you copied the TilesetQueryParser in the baremaps-openapi module? Is there a limitation that prevent you from using the PostgresqlTileStore?

First thing though i like to discuss with you whether you want to continue this path and if so what and how to refactor. And probably first land #287 inlcuding a fix for the serialization issue #287 (comment), resolve this one and let the frontend devs play with it.
What do you think?

Yes, I think it is good to proceed step by step.

Regarding the baremaps-postgres-tile module, why did you copied the TilesetQueryParser in the baremaps-openapi module? Is there a limitation that prevent you from using the PostgresqlTileStore?

I used PostgresTileStore in the beginning. Changes to the tileset model and its integration will result in a circular dependency.
Also i did not want #287 to be intrusive and break things outside the openapi module.


Extra training data for modifiers based on keyword synonyms

Feature Request
Instead of specifying the same synonyms and values in the modifiers sayings, it would be nice to be able to auto generate this data.

Closing in favor of #860


updated validations.py last commit Closes: #1

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

learning to pull requests.
updated python validation script


Add long description to setup.py so it will populate PyPI page

As the title says :)

Thanks @jellis18!


Can some other dataset be used to train your Faster RCNN?

I want to use a custom dataset for training. I can train VGG16 or RESNET using my dataset but can I use it with this implementation of Faster RCNN?

I am doing it right now, and seems that it should work with some minor modifications. The easiest way seem to be by structuring your data in the same format as Pascal VOC, and then writing a file for your data similar to pascal_voc.py while also changing the factory.py and train/test_faster_rcnn.sh.
The changes seem to be straightforward, and a more detailed guide can be found here: https://github.com/zeyuanxy/fast-rcnn
it uses the rcnn official code, but it should work with this code too, considering that the code has been based on the official one.

thanks @TheRevanchist, closing.


fix: serializeFunction for external imports

Fixes minor issue involving external imports in serializeFunction #4884

Codecov Report

Merging #4916 into dev will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev    #4916      +/-   ##
==========================================
- Coverage   91.87%   91.83%   -0.05%
==========================================
  Files          73       73
  Lines        2412     2412
  Branches      593      593
==========================================
- Hits         2216     2215       -1
- Misses        178      179       +1
  Partials       18       18

Impacted Files
Coverage Δ

packages/utils/src/serialize.js
88.88% <ø> (ø)
:arrow_up:

packages/vue-renderer/src/renderer.js
95.65% <0%> (-0.55%)
:arrow_down:

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 fb13b41...68031b3. Read the comment docs.

I think the fix should be based against 2.x branch 🤔

/cc @galvez


Fix Symfony 3 compatibility

Fixes https://github.com/KnpLabs/KnpMenuBundle/issues/291

please bump the symfony/routing min dependency as this constant does not exist in 2.1 (making 2.3 is fine)
And please also fix the tests to use the constant when defining expectations of the mock (which is why tests are broken with dev deps currently as the constant value changes in 3.0)

@WouterJ Any progress on that? Some tests still seem failing...

Ready to be merged

@WouterJ Have you had a chance to look into @stof's comment to get this merged in? It would be gread to get this merged and tagged to avoid the deprecation messages. Thanks!

Done, thanks for the ping!

@stof Can this be merged and a release tagged?

+1

+1

:+1:

Thank you @WouterJ.


Packet OUT Recevied but not response, no error

Hi,
In my application, I create a packet_out (i.e. arp reply to an arp request) and send out over http. This is my observations:
1- OFTEE receives packet out and extracts dpid without any errors (i.e. OFTEE prints this debug statement: Debug("Packet out request recieved")
2- After that nothing happens. No error, no warning, and no response to the application even error (If I send a wrong dpid, it responds with an error so It looks like there is no problem with http connection).
I went through OFTEE source codes and If my understanding is correct, OFTEE should print at the end:
.Debug("Writing packet out to device")
but it does not happen.
I would like to know under what circumstances, the above scenario happens?
These are pieces of my code that create and send packet out:
ARP arpPacket = (ARP) eth.getPayload();
Ip4Address targetIpAddress = Ip4Address
.valueOf(arpPacket.getTargetProtocolAddress());
                        log.info("ARP PACKET\n");
                        OFActionOutput output = myFactory.actions().buildOutput()
                                .setPort(OFPort.ofInt(packetInEvent.getInPortNum()))
                                .build();

                        Ethernet ethReply = ARP.buildArpReply(targetIpAddress,
                                eth.getDestinationMAC(),
                                eth);

                        OFPacketOut packetOut = myFactory.buildPacketOut()
                                .setData(ethReply.serialize())
                                .setBufferId(OFBufferId.NO_BUFFER)
                                .setInPort(OFPort.ANY)
                                .setActions(Collections.singletonList((OFAction) output))
                                .build();

URL url = null;
try {
url = new URL("http://<IP_ADDRESS>:8005/oftee/" +  String.format("0x%016X", dpid));
} catch (MalformedURLException e) {
e.printStackTrace();
}
            HttpURLConnection con = null;
            con = (HttpURLConnection) url.openConnection();

            con.setDoOutput(true);
            con.setDoInput(true);
            con.setRequestMethod("POST");
            con.setRequestProperty( "Content-Type", "application/octet-stream" );

            OutputStream os = con.getOutputStream();
            ByteBuf packetOutBuffer = Unpooled.buffer();
            ofPacketOut.writeTo(packetOutBuffer);

            //
            //log.info(packetOutBuffer.array().length);

            os.write(packetOutBuffer.array());

            int responseCode = con.getResponseCode();
            log.info("POST Response Code :: " + responseCode + "\n");

I ran some tests and all is working as expected. Are you running the latest code? Also, if you could send me a complete running example in Java I will try that. I wrote my tests in Go, but don't know all the dependencies, etc you are using in Java. So if you have a small, complete example (i.e. build and send packet) in Java I will try that.
There really doesn't seem to be any reason that you aren't seeing the Writing... log message, so please post your logs. The only way I think that is even possible is if somehow the internal channel that the packet out is sent is not working, but for all my examples and tests I have not seen this as the case.

David,
I will get back to you soon. We are doing some tests on a  remote server
and it looks like we are getting packet out messages (I am waiting to be
confirmed with one my friends as well). I think something is wrong with my
computer. We are writing a reactive fwd app so I will provide you a fully
functional example in java soon.
Thanks,
Adib
On Thu, Aug 9, 2018 at 2:27 PM David Bainbridge<EMAIL_ADDRESS>wrote:

I ran some tests and all is working as expected. Are you running the
latest code? Also, if you could send me a complete running example in Java
I will try that. I wrote my tests in Go, but don't know all the
dependencies, etc you are using in Java. So if you have a small, complete
example (i.e. build and send packet) in Java I will try that.
There really doesn't seem to be any reason that you aren't seeing the
Writing... log message, so please post your logs. The only way I think
that is even possible is if somehow the internal channel that the packet
out is sent is not working, but for all my examples and tests I have not
seen this as the case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ciena/oftee/issues/6#issuecomment-411852643, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ4q3IRQre41eWm4Paa06qCIG5oS1rpeks5uPH8AgaJpZM4V1tTq
.

just pushed some changes that will do minimal validation on packet out requests as well as better logging if oftee rejects a packet out request. the validations include:

packet must be a minimum len (ofpacket header)
message must be of type packet out
byte len specified in OF header must match actual len of data in the request

Thanks David. Sorry for my late response. We were working on our code to see what is wrong. We found out the size of packet out is wrong and that is the reason the packet gets rejected. I will push the final version of reactive forwarding in our repository soon.

No worries. Can this issue be closed now?

Yes.
On Mon, Aug 13, 2018 at 6:47 PM David Bainbridge<EMAIL_ADDRESS>wrote:

No worries. Can this issue be closed now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ciena/oftee/issues/6#issuecomment-412691104, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ4q3JHpqIuIRNldjGWgsbCZH0euwdTkks5uQgIRgaJpZM4V1tTq
.


PaginatorInterface issue

Summary

Anything that requires a paginator does not work
Reproduction steps
use any command that requires a paginator

Expected results

I expect the command to work and the paginator to function
Actual results

I get an error traceback
Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.9/site-packages/jishaku/features/shell.py", line 46, in jsk_shell
    interface = PaginatorInterface(ctx.bot, paginator, owner=ctx.author)
  File "/home/ubuntu/.local/lib/python3.9/site-packages/jishaku/shim/paginator_200.py", line 73, in __init__
    self.timeout = kwargs.pop('timeout', 7200)
  File "/home/ubuntu/.local/lib/python3.9/site-packages/discord/ui/view.py", line 252, in timeout
    if self.__timeout_task is not None:
AttributeError: 'PaginatorInterface' object has no attribute '_View__timeout_task'

Checklist

[x] I have updated discord.py and jishaku to the latest available versions and have confirmed that this issue is still present
[x] I have searched the open issues for duplicates
[x] I have shown the entire traceback, if possible
[x] I have removed my token from display, if visible

System information

Name: jishaku
Version: 2.3.2a391+g046189f.master
Summary: A discord.py extension including useful tools for bot development and debugging.
Home-page: https://github.com/Gorialis/jishaku
Author: Devon (Gorialis) R
Author-email: None
License: MIT
Location: /home/ubuntu/.local/lib/python3.9/site-packages
Requires: braceexpand, import-expression, importlib-metadata, click
Required-by:
Name: discord.py
Version: 2.0.0a4007+ga0618ef7
Summary: A Python wrapper for the Discord API
Home-page: https://github.com/Rapptz/discord.py
Author: Rapptz
Author-email: None
License: MIT
Location: /home/ubuntu/.local/lib/python3.9/site-packages
Requires: aiohttp
Required-by: wavelink, topggpy, discord-ext-menus, discord-argparse, dblpy, buttons

I have this same issue

Can reproduce.


Notice of conflicting DNS records for Metastore

We experienced extensive outage in our Azure Databricks as a result of failure to connect to the Metastore, yielding the following exception:
Failure starting repl. Try detaching and re-attaching the notebook.

java.lang.Exception: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

... [and so on]

After extensive work, it appears as though the issue was related to the incorrect resolution of the Metastore DNS, which in our case (for UK South) was a follows:
consolidated-uksouth-prod-metastore.mysql.database.azure.com

Running nslookup on the domain yielded the following:
[internal controller]
[internal controller]#53

Failing to resolve the DNS.
Upon investigation, we determined that this happened because we had a Private DNS Zone for mysql.database.azure.com.
It might therefore be valuable to add an admonition box in the docs with following message:

There must be no DNS record for mysql.database.azure.com in any of the domain controllers or Private DNS Zones connected to the VNet that is associated with Databricks, unless there is an additional subdomain - e.g. contoso.mysql.database.azure.com.

This is specifically an issue with the Metastore because unlike other Azure services, MySQL PaaS records on Azure do not include a privatelink subdomain for private DNS records. This means that when creating a Private DNS Zone, the zone name must include the instance name, or such conflicts could arise in entirely unrelated parts of the infrastructure.

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

ID: a44cbeaf-af2c-ef7e-b411-24556279d898
Version Independent ID: aaced3ee-7d7c-a9d6-a81b-b132674fa055
Content: User-defined route settings for Azure Databricks - Azure Databricks
Content Source: databricks/administration-guide/cloud-configurations/azure/udr.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@xenatisch
Thanks for your feedback! We will investigate and update as appropriate.

@xenatisch
Thank you for bringing this to our attention.
I've delegated this to content author @leifbro, who will review it and offer their insightful opinions.

@Naveenommi-MSFT please adjust the logic for assignments - currently it's not accurate. Leif isn't the current author.

#reassign:kateglee-db

#reassign:mssaperla

@kateglee-db your account isn't working in this context.

Ah ha! It must be because I don't have a b-dash account yet. I'm still
waiting on that to happen. Does that sound right?
On Thu, Jan 26, 2023 at 1:51 PM Jason Howell @.***>
wrote:

@kateglee-db https://github.com/kateglee-db your account isn't working
in this context.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/103755#issuecomment-1405451553,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZDMKXED7MV4X7PNBLRR3EDWULBRZANCNFSM6AAAAAATZG2VRU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for your dedication to our documentation. We've created an internal work item (DOC-7757) to address your feedback. The timeline for resolution varies based on resourcing. We are closing this issue for now, but feel free to comment here as necessary.
#please-close

#please-close

Thanks for chasing this. I really hope that it gets added to the docs as it caused us quite a bit of headache.


Cxx add historychaining

Have a look at this and see if you think this is an appropriate initial solution for processing history preservation.   I'm going to expand the concepts in the issues section on this topic, but look here for the implementation.

I was working on the Python code to build a Spark workflow. Then, I got an error when using the obspy2mspass routine. It says:
File "/usr/local/lib/python3.6/dist-packages/mspasspy/importer/obspy.py", line 68, in obspy2mspass
    dout.elog.set_algorithm("obspy2mspass")
AttributeError: 'mspasspy.ccore.ErrorLogger' object has no attribute 'set_algorithm'

The set_algorithm is definitely missing in current master branch. I was thinking this might be in this branch, as I never really get back on this history chaining issue. Turns out this is not the case. I wonder if you have any locally uncommitted code somehow.

I think that was a version skew problem.  That python function was written before we decided how to handle this issue.   Actually every single call to elog.log_error would throw an exception because the api changed.   I pushed the changes I made untested.  I suspect you can fix any residual problems you might find.  This is one of those dark sides of python not being compiled.  A compiler would have caught these errors.
This brings up another issue about that particular script and others.  Another thing I added after this script and all the C++ algorithm functions were placed in the repository was the history preservation feature.   Recall as script should first register each function that will be applied to the dataset.  Then each function is supposed to post to some Metadata field that I don't recall right now.  I'll post something in the right issues section when I find it.


PYPE-716: pype server

We could use central pype server for various tasks. It would have to be based on dev/prod branches (each possibly specifiying its running port in config).
Only tray would by communicating with this server, passing data on client machine.
Use cases:
configuration change notification
studio notifcation routing - system wide event can notify all concerned users (via windows/linux notification mechanisms perhaps
PYPE-716
[cuID:PYPE-1167]

Closing this issue considering the v4 server is now in public Alpha stage and has it's own roadmap


Signed URLs for Storage

Note: I wasn't quite sure how best to let someone specify the request and content headers. I originally had the parameters as HttpRequestHeaders and HttpContentHeaders, respectively, but since those types don't have public constructors, it made things a little weird for the normal case where you want to construct a URL to be used later.  So I settled on having them be Dictionary<string, IEnumerable<string>>, but it still feels a little clumsy. Maybe someone can think of a better way.

PTAL


Converting RbacTree to use TreeBuilder

Convert RbacTree to use TreeBuilderOpsFeatures
Also fixes some tree rendering bugs:

After

Plus removes a duplicate DOM element.

@miq-bot add_label ui, refactoring, bug

Restart CI

@miq-bot rm_label wip
@dclarizio This is ready for review.

@ZitaNemeckova please review ... thx, Dan

I went back and looked through the code and one thing that might be a little deceptive here is that this isn't a tree of MiqProductFeatures, it's a tree of Menu::Manager items and sections that are compared against Features to see if the checkbox should be checked. The Menu::Manager structs aren't db objects so, perhaps unfortunately, maybe this tree is a little special.
I'm going to go back through the code and change names to reflect this better.

So.. what would it take to add a way to say "give me subsections and items for this section" to the Menu code? Or give me an item by id? (Or whatever else you need.)
I mean, maybe it's missing some methods to do that but in general, dealing with a static in-memory structure should be easier than with db, not harder..
Basically, the problem with this is that while it is a TreeBuilder now, it's so unlike any others that when we try to do any kind of refactoring of how the trees are being built, we'll have to rewite this again, so that's what I don't like..
But mostly it could be just ignorance on my part :)
I mean, to me, this sounds like a really easy tree.. Menu::Section instances and Menu::Item instances can be returned by the respective *_kids methods, each section and item have their own unique ids, so using full_ids and chaining these should be a breeze, and if you're returning these instances from the methods, the chaining already solved since you can just call .each on the parent every time... So where's the problem?

I think the hard part is putting the whole tree together at some point so that all the checked checkboxes can be counted. The parents must know about the children that are checked and the children need to know if the parent was checked. If there were a place at the end to operate on the whole tree before it was converted, then maybe I wouldn't have to do it up front.
I will go back through this one and see if there's another way. I will at least change to using MiqProductFeatures were possible.

Closing in favor of https://github.com/ManageIQ/manageiq-ui-classic/pull/56


[node-v6] Got exception parsing to JS on Node v6

For the following css input:
#layer[name=~".*Cairo*"] {
  marker-width: 14;
}

RendererJS throws:
(new carto.RendererJS({ debug: true })).render(css);
---
if((8388607 & (1 << ctx.zoom)) && data['name'] =~ '.*Cairo*'){_value = 14;}
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ReferenceError: Invalid left-hand side in assignment
      at Object._createFn (/vagrant/repos/carto/lib/carto/renderer_js.js:153:12)
      at Object.parse (/vagrant/repos/carto/lib/carto/renderer_js.js:245:40)
      at Object.setStyle (/vagrant/repos/carto/lib/carto/renderer_js.js:120:23)
      at Object.CartoCSS (/vagrant/repos/carto/lib/carto/renderer_js.js:10:10)
      at render (/vagrant/repos/carto/lib/carto/renderer_js.js:280:12)
      at Context.<anonymous> (/vagrant/repos/carto/test/rendering_js.test.js:192:58)
      [...]

On Node v6, but it doesn't throw error on Node v0.10

However the following css input:
#layer[name~=".*Cairo*"] {
  marker-width: 14;
}

Grainstore throws:
Error: style0:1:957 Invalid code: [adm0name~=".*Cairo*"] { marker-width: 14;
    at Object.env.error (/vagrant/repos/grainstore/node_modules/carto/lib/carto/parser.js:241:55)
    at Object.flatten (/vagrant/repos/grainstore/node_modules/carto/lib/carto/tree/ruleset.js:158:21)
    at Object.toList (/vagrant/repos/grainstore/node_modules/carto/lib/carto/parser.js:252:44)
    at /vagrant/repos/grainstore/node_modules/carto/lib/carto/renderer.js:101:29
    at arrayMap (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:660:23)
    at Function.map (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:9571:14)
    at interceptor (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:16970:35)
    at thru (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:8812:14)
    at /vagrant/repos/grainstore/node_modules/lodash/lodash.js:4379:28
    at arrayReduce (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:704:21)
    at baseWrapperValue (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:4378:14)
    at LazyWrapper.lazyValue [as value] (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:1880:16)
    at baseWrapperValue (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:4376:25)
    at LodashWrapper.wrapperValue (/vagrant/repos/grainstore/node_modules/lodash/lodash.js:9067:14)
    at Renderer.render (/vagrant/repos/grainstore/node_modules/carto/lib/carto/renderer.js:104:14)
    at renderResolvedMml (/vagrant/repos/grainstore/lib/grainstore/mml_builder.js:219:25)
    at Function.end (/vagrant/repos/grainstore/node_modules/millstone/lib/millstone.js:991:16)
    at next (/vagrant/repos/grainstore/node_modules/step/lib/step.js:51:23)
    at /vagrant/repos/grainstore/node_modules/step/lib/step.js:83:14
    at check (/vagrant/repos/grainstore/node_modules/step/lib/step.js:99:9)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Initially I wasn't worried about this issue due to the error in RendererJS was extracting options from CartoCSS to use them in GeoJSON renderer. I think we need to review carto.RendererJS when is running on Node v6.
It'd be nice to have a fallback in Windshaft in order to avoid to break the normal flow when rendering a GeoJSON tile. It could look like:
module.exports.optionsFromCartoCSS = function(cartocss) {
    var shader;
    try {
        shader = new carto.RendererJS().render(cartocss);
    } catch (e) {
        return {};
    }
    ...
}

cc/ @rochoa

After talking with @rochoa offline, we should fix RendererJS to handle =~ properly on Node v6

For the record. I've discovered one failing use case:
CartoCSS:
#layer0['mapnik::geometry_type'=1] {
  marker-fill: red;
  marker-width: 10;
}

> if((8388607 & (1 << ctx.zoom)) && data.mapnik::geometry_type === 1){_value = '#ff0000';}

SyntaxError: Unexpected token :
    at Object._createFn (/vagrant/repos/Windshaft/node_modules/carto/lib/carto/renderer_js.js:153:12)
    at Object.parse (/vagrant/repos/Windshaft/node_modules/carto/lib/carto/renderer_js.js:245:40)
    at Object.setStyle (/vagrant/repos/Windshaft/node_modules/carto/lib/carto/renderer_js.js:120:23)
    at Object.CartoCSS (/vagrant/repos/Windshaft/node_modules/carto/lib/carto/renderer_js.js:10:10)
    at render (/vagrant/repos/Windshaft/node_modules/carto/lib/carto/renderer_js.js:280:12)
    at Object.module.exports.optionsFromCartoCSS (/vagrant/repos/Windshaft/lib/windshaft/utils/cartocss_utils.js:13:41)
    at /vagrant/repos/Windshaft/lib/windshaft/renderers/mapnik/geojson_renderer.js:20:38
...

Also it just happens on Node v6.

Oh, I've just found the surrounding cause:

Node v0.10.26

$nvm run v0.10.26
Running node v0.10.26 (npm v2.14.16)
> var f = new Function("var x = false; if (x && x =~ '*.cairo.') { return true } else { return false}");
undefined
> f()
ReferenceError: Invalid left-hand side in assignment
    at eval (eval at <anonymous> (repl:1:9), <anonymous>:2:16)
    at repl:1:2
    at REPLServer.self.eval (repl.js:110:21)
    at Interface.<anonymous> (repl.js:239:12)
    at Interface.EventEmitter.emit (events.js:95:17)
    at Interface._onLine (readline.js:202:10)
    at Interface._line (readline.js:531:8)
    at Interface._ttyWrite (readline.js:760:14)
    at ReadStream.onkeypress (readline.js:99:10)
    at ReadStream.EventEmitter.emit (events.js:98:17)
>

Node v6.10.0

$ nvm run v6.10.0
Running node v6.10.0 (npm v3.10.10)
> var f = new Function("var x = false; if (x && x =~ '*.cairo.') { return true } else { return false}");
ReferenceError: Invalid left-hand side in assignment
    at repl:1:9
    at sigintHandlersWrap (vm.js:22:35)
    at sigintHandlersWrap (vm.js:96:12)
    at ContextifyScript.Script.runInThisContext (vm.js:21:12)
    at REPLServer.defaultEval (repl.js:340:29)
    at bound (domain.js:280:14)
    at REPLServer.runBound [as eval] (domain.js:293:12)
    at REPLServer.<anonymous> (repl.js:538:10)
    at emitOne (events.js:101:20)
    at REPLServer.emit (events.js:188:7)
>

Basically, what is happening is: for latest V8's versions function's constructor evaluates proactively function's body, whereas in older versions it wasn't evaluated. At the end, the function is not built correctly because the operator =~ in CartoCSS is not supported in Javascript. For example, when Javascript parses if (x && x =~ '*.cairo.') { ... } actually considers =~ as two operators: = as assignment operator and ~ as bitwise operator and it raises a ReferenceError because it's trying to assign a variable inside of a conditional statement.
Windshaft creates a shader building javascript's objects and functions with CartoCSS as input but is not calling to any function dynamically created. Thus it has worked in Node v0.10.26 so far but in Node v6.10.0 fails.
We discovered this issue because a test. There are some surrounding questions:

Should we support CartoCSS operators like =~ for RendererJS?
Should we take care of it for the migration?
Should we just change that test and implement a fallback mechanism as is describe above?

Please, let me know your thoughts?
cc/ @rochoa  @rafatower @donflopez

Ey! Nice catch @dgaubert! That operator is a regular expresion, isn't it?
We can transpile that to a proper javascript expresion as x.search(/.*Cairo*/g) >= 0
What do you think?

That operator is a regular expresion, isn't it?
It is.

We can transpile that to a proper javascript expresion as x.search(/.Cairo/g) >= 0

I'd be really nice. But I'm not sure I we have to address it now or later.

BTW I'm taking a look to determine how feasible to fix it is.

PR: #29

Closed by #29


KeepSubscriptions handling does not match spec

Problem
The spec says (in "<IP_ADDRESS>. Incoming Subscribe Request Action"):

If this interaction is not terminated by an error Status Response and KeepSubscriptions is FALSE, all existing or pending subscriptions on the publisher for this subscriber, SHALL be terminated.

and this is the only normative text around KeepSubscriptions.
But the SDK handles KeepSubscriptions before it ever tries to process the new subscription, hence will terminate existing subscriptions even if the new one is going to error out.  This does not match the spec.
Proposed Solution
Follow the spec.
@mrjerryjohns @yunhanw-google

Spec Review: Let's update the spec, given that's a smaller effort. @bzbarsky-apple to propose the spec change.

Filed https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/5484


Is it possible to add links to objects?

For example add a link on the text, on the rectangle etc.

Hello @masterRokshi. My apologies for the late response.
You certainly can add links to documents with pdf-lib. There isn't currently a nice high-level API for doing it though, so the code is a big ugly. Here's an example:
import {
  drawText,
  PDFArray,
  PDFContentStream,
  PDFDictionary,
  PDFDocument,
  PDFDocumentFactory,
  PDFDocumentWriter,
  PDFName,
  PDFNumber,
  PDFString,
} from 'pdf-lib';

/* (1) Create a new PDF document */
const pdfDoc = PDFDocumentFactory.create();

/* (2) Embed a standard font within the document */
const [FontHelvetica] = pdfDoc.embedStandardFont('Helvetica');

/* (3) Define constants for the page's width and height */
const PAGE_WIDTH = 500;
const PAGE_HEIGHT = 500;

/* (4) Create the link annotation/object */
const linkAnnotation = pdfDoc.register(
  PDFDictionary.from(
    {
      Type: PDFName.from('Annot'),
      Subtype: PDFName.from('Link'),
      /* Bounds of the link on the page */
      Rect: PDFArray.fromArray(
        [
          PDFNumber.fromNumber(145), // lower left x coord
          PDFNumber.fromNumber(PAGE_HEIGHT / 2 - 5), // lower left y coord
          PDFNumber.fromNumber(358), // upper right x coord
          PDFNumber.fromNumber(PAGE_HEIGHT / 2 + 15) // upper right y coord
        ],
        pdfDoc.index
      ),
      /* Give the link a 2-unit-wide border, with sharp corners */
      Border: PDFArray.fromArray(
        [
          PDFNumber.fromNumber(0),
          PDFNumber.fromNumber(0),
          PDFNumber.fromNumber(2)
        ],
        pdfDoc.index
      ),
      /* Make the border color blue: rgb(0, 0, 1) */
      C: PDFArray.fromArray(
        [
          PDFNumber.fromNumber(0),
          PDFNumber.fromNumber(0),
          PDFNumber.fromNumber(1)
        ],
        pdfDoc.index
      ),
      /* URI to be visited when the link is clicked */
      A: PDFDictionary.from(
        {
          Type: PDFName.from('Action'),
          S: PDFName.from('URI'),
          URI: PDFString.fromString('https://github.com/Hopding/pdf-lib')
        },
        pdfDoc.index
      )
    },
    pdfDoc.index
  )
);

/* (5) Draw some text for the link to be placed over */
const contentStream = pdfDoc.register(
  pdfDoc.createContentStream(
    drawText('Link to the pdf-lib GitHub Repo', {
      x: 150,
      y: PAGE_HEIGHT / 2,
      font: 'Helvetica',
      size: 15,
      colorRgb: [0, 0, 1]
    })
  )
);

/* (6) Create a page and add everything to it */
const page = pdfDoc
  .createPage([PAGE_WIDTH, PAGE_HEIGHT])
  .set('Annots', PDFArray.fromArray([linkAnnotation], pdfDoc.index))
  .addContentStreams(contentStream)
  .addFontDictionary('Helvetica', FontHelvetica);

/* (7) Add the page to the PDF document */
pdfDoc.addPage(page);

/* (8) Serialize the PDF document */
const pdfBytes = PDFDocumentWriter.saveToBytes(pdfDoc);

And here is the resulting document:
pdf_with_link.pdf
Let me know if you're looking for something different and I can provide an example more fitting for your use case.

Thanks a bunch ! Amazing work you have here!

Thanks, I’m glad you find it useful!

Hey @Hopding, Fantastic job with the library!
The example to create text weblink doesn't work anymore due to changes in the object names and functions.
Would it be possible to provide an updated example? Either way great job and thanks in advance.

Hey @Hopding . I was able to add one link per page through this method, is there a way we can add multiple links on same page, as it is getting overriden once i add other link

I was working on adding multiple links to the pdf. Here is how my pdf turned out to be.
sample.pdf
Everything works fine but I have a question.
const createPageLinkAnnotation = (page, uri, placeHolder, width) => {
  if (!uri) return null;
  const position = [
    placeHolder.formField.coordinates.x,
    placeHolder.formField.coordinates.y,
    placeHolder.formField.coordinates.x + width,
    placeHolder.formField.coordinates.y - placeHolder.height,
  ];
  return page.doc.context.register(
    page.doc.context.obj({
      Type: "Annot",
      Subtype: "Link",
      Rect: position,
      Border: [0, 0, 0],
      C: [0, 0, 2],
      A: {
        Type: "Action",
        S: "URI",
        URI: PDFString.of(uri),
      },
    })
  );
};

for (const placeHolder of fileDetails?.fields) {
  const currentPageIndex = placeHolder?.formField?.pageIndex;
  const currentPage = pages[currentPageIndex];
  if (!currentPage) return;

//I am drawing the multi line url text here and creating page annotation on same coordinate below
  const fontFamily =
    placeHolder?.fontStyle?.bold && placeHolder?.fontStyle?.italics
      ? customBoldItalicFont
      : placeHolder?.fontStyle?.bold
      ? customBoldFont
      : placeHolder?.fontStyle?.italics
      ? customItalicFont
      : customFont;
  placeHolder.content = placeHolder?.urlData?.text || "";
  let pdfWriter = new PdfWriter(currentPage, placeHolder, fontFamily);
  const contentWidth = pdfWriter.writeTextBox();

  const redirectToLink = placeHolder?.urlData?.url || "";
  const link = createPageLinkAnnotation(
    currentPage,
    redirectToLink,
    placeHolder,
    contentWidth
  );
  if (link) {
    const existingAnnotations = currentPage.node.get(PDFName.of("Annots"));

    //Part of confusion. Why only adding link of array once doesn't work in initial case?
    if (existingAnnotations.array.length == 0) {
      existingAnnotations.array.push(link);
    }
    existingAnnotations.array.push(link);
    currentPage.node.set(PDFName.of("Annots"), existingAnnotations);
  }
}

While setting the node, the existingAnnotation has empty array and unless I push the first link twice, the link is not working. If I don't update the array twice, the first link doesnt work. Everything except that does however. Can you help?


Checkpoint 1 - Inverted Index

Changes Unknown when pulling ba4c78a58782e80863a45fedb266c1b96f23f279 on develop into ** on master**.

Changes Unknown when pulling 578c02509d5673aab76133567c564533b0724b13 on develop into ** on master**.

Changes Unknown when pulling 578c02509d5673aab76133567c564533b0724b13 on develop into ** on master**.


feat: add cryfs to bluefin

This commit makes io.github.mpobaschnig.Vaults functional. Although cryfs can be installed by the user through brew or a distrobox, Vaults won't detect it. It must be installed directly onto the system to be detected by Vaults. Of the four months I've used Bluefin, this is the only package I've been stuck with layering.
Why provide support for Vaults? KDE Plasma contains a built-in feature called vaults that allows for the creation of locally encrypted containers. This can offer a second layer of encryption beyond LUKS or allow you to create encrypted containers on an otherwise unencrypted file system. This feature was added in Plasma 5.11.
Vaults provides support for that feature on Gnome, helping bring feature parity between the two desktop environments.
This commit only adds cryfs to Bluefin because it's already included in KDE Plasma as a backend for its own vault feature. Yep, this means that Aurora already has it! No need to add it again.

Fine with this but please alphabetize it in the list, thanks!

There we go, done! Both the silverblue and kinoite sections were out of order, so I used Text Pieces to sort them both.

@Raindrac I just tried to use the Vaults Flatpak with bluefin-dx:gts that seems to have picked up the cryfs addition:
❯ rpm -qa | grep cryfs
  1799:	cryfs-0.11.3-4.fc39.x86_64

But Vaults still says

No backends available. Please install gocryptfs or CryFS on your system.

Any idea what's going wrong?

@salim-b I managed to reproduce this by rebasing to bluefin:gts. It seems to only affect gts, not stable and latest, and so the bug will likely fix itself once Fedora updates to Fedora 40 in a couple weeks. Still, I might create an issue about this later.
Using cryfs in bluefin:gts outputs the following error:
cryfs: error while loading shared libraries: libfmt.so.10: cannot open shared object file: No such file or directory
So, something clearly went wrong with one of the libraries that it uses here. Not sure why yet. Gotta look into it.


javascript-typescript-langserver: use buildNpmPackage

Description of changes
see #229475

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

cc @dywedir who originally packaged it in https://github.com/NixOS/nixpkgs/pull/26672

Thank you!


QueuedSink checkPause() is blocking SuroInput too long

The purpose of checkPause(), setPause() are preventing internal queue growing too long. We observed SuroInput waited too long even though there was no pending messages in the queue. We need adjust this behavior not to block too long.

#178


Add Unit Testing to SplitImage

The existing proof-of-concept for SplitImage does not have unit tests. We should add them.
See also #160 #189 #190

@smcgregor Hi! I was travelling so could not put in another pull request. I remember your comments on the last PR and I would like to clarify a bit about writing the unit test.
The docs say that ideally, we should create fixtures, otherwise, elements can be created inside the JS itself. So, I would like to ask if in this case, fixture is just an HTML file (or a generic hard-coded HTML code inside some common JS) which I can create? If not that, can you please help me understand what a fixture can be in this case? However, if you recommend not using fixtures at this moment, should I simply create the elements required in the JS itself as follows:
var test_div = document.createElement('div');
test_div.addClass("test-div");
document.body.appendChild(test_div);

and initialize them using proper initialization functions (such as privlyNetworkService.initializeNavigation)?
Please let me know which approach should I take. Or if I'm missing something I request you to give me some more guidance. Thanks!

Both processes you are describing are creating fixtures. Fixtures are an expression of the pre-conditions, not a specific filetype. We may eventually start defining fixtures in a collection like on Rails (and others), but for now your manual method of creating elements is sufficient.

...a test fixture is all the things that must be in place in order to run a test and expect a particular outcome.
Frequently fixtures are created by handling setUp() and tearDown() events of the unit testing framework. In setUp() one would create the expected state for the test, and in tearDown() it would clean up what had been set up.

SplitImage has useful code for those looking to implement an image encryption app on top of Privly, but the architecture has some major changes introduced in the gsoc-development branch. It would be better to start over from that branch's Message application.


[Work Item] Test-ExchAVExclusions improvements

### Tasks
- [ ] Five minute hard-coded timeout is too long. Consider reducing the timeout and/or allow changing it via parameter and doing other work while waiting.
- [ ] Output should go to the same location as the script. Use $PSScriptRoot.

I think I can help with this as I have something like this in my PR #1641 if you want I can copy that part here

Go for


⚠ Bofrost.lu has degraded performance

In 24988d6, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2126 ms

Resolved: Bofrost.lu performance has improved in d6ecf29 after 37 minutes.


Accessory not detected

I had initially paired to the accessory then I removed it, now when I try to scan to pair it will not appear.
Is there a way to reset the homekit storage?
Or is there a function i can use to solve this problem?
Thanks

If you unpair the Accessory from the Home App, and HomeSpan is running, it will automatically unpair as well.  If you unpair the Accessory from the Home App, and HomeSpan is NOT running (e.g. the ESP32 device is not powered, not connected to WiFi, etc.) then HomeSpan will still think it is paired.
To force HomeSpan to think it is unpaired, type 'U' into the Serial Monitor (or type '?' to see all the options).  You should now be able to re-pair the device with the Home App.  Note that if you type 'U' in HomeSpan instead of unpairing  in the Home App, you'll have the reverse problem - HomeSpan will think the device is unpaired, but the Home App will still think it is paired.  So you'll still need to go into the Home App and unpair the device.
All of the above assumes you did not make ANY changes to the HomeSpan configuration, such as changing the definitions of any Accessories, Services, or Characteristics.  If you did, there is a high likelihood that when you try to repair the Home App  will be confused since it sees the same device but with a new configuration.  To solve this, type 'H' instead of 'U' in to the Serial Monitor.  This not only forces HomeSpan to delete all pairing info, but it also regenerates a completely new Device ID, which means the Home App will see the ESP32 as a completely new device totally unrelated to the whatever you had previously paired.
When developing sketches with lots of changes, I often need to unpair from the Home App, type 'H', and then re-pair.

Thank you!
Kind regards
Cianán
On Wed 15 Nov 2023 at 4:30 p.m., HomeSpan @.***> wrote:

If you unpair the Accessory from the Home App, and HomeSpan is running, it
will automatically unpair as well. If you unpair the Accessory from the
Home App, and HomeSpan is NOT running (e.g. the ESP32 device is not
powered, not connected to WiFi, etc.) then HomeSpan will still think it is
paired.
To force HomeSpan to think it is unpaired, type 'U' into the Serial
Monitor (or type '?' to see all the options). You should now be able to
re-pair the device with the Home App. Note that if you type 'U' in HomeSpan
instead of unpairing in the Home App, you'll have the reverse problem -
HomeSpan will think the device is unpaired, but the Home App will still
think it is paired. So you'll still need to go into the Home App and unpair
the device.
All of the above assumes you did not make ANY changes to the HomeSpan
configuration, such as changing the definitions of any Accessories,
Services, or Characteristics. If you did, there is a high likelihood that
when you try to repair the Home App will be confused since it sees the same
device but with a new configuration. To solve this, type 'H' instead of 'U'
in to the Serial Monitor. This not only forces HomeSpan to delete all
pairing info, but it also regenerates a completely new Device ID, which
means the Home App will see the ESP32 as a completely new device totally
unrelated to the whatever you had previously paired.
When developing sketches with lots of changes, I often need to unpair from
the Home App, type 'H', and then re-pair.
—
Reply to this email directly, view it on GitHub
https://github.com/HomeSpan/HomeSpan/issues/690#issuecomment-1812865718,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BD5TVW3VWZMTLDTP3CNT6YLYETUYVAVCNFSM6AAAAAA7MWLRO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSHA3DKNZRHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

This is what I told my girlfriend last night, but she disagreed with me:
An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Fri Mar 25 2016 12:06:00 GMT-0400 (Eastern Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\glenn_000\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\glenn_000\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #470


Refine documentation of the AppTemplateValuesSource

What this PR does / why we need it:
Which issue(s) this PR fixes:
Missing CRD doc for template valuesFrom secret

See related slack thread https://kubernetes.slack.com/archives/CH8KCCKA5/p1673453880059389
Does this PR introduce a user-facing change?
CRD doc refines
See example secret in https://github.com/vmware-tanzu/carvel-kapp-controller/blob/ad24bdc3e41219b176f88280a469e9fd21979339/examples/simple-app-git/2.yml#L21-L31
Relates to https://github.com/vmware-tanzu/carvel/pull/613

Additional Notes for your reviewer:
Review Checklist:

[ ] Follows the developer guidelines
[ ] Relevant tests are added or updated
[ ] Relevant docs in this repo added or updated
[ ] Relevant carvel.dev docs added or updated in a separate PR and there's
a link to that PR
[ ] Code is at least as readable and maintainable as it was before this
change

Additional documentation e.g., Proposal, usage docs, etc.:

hey @gberche-orange . LGTM Thanks for the update! To get this PR merged, the crds need to be regenerated 👍
Please run './hack/build.sh', './hack/gen.sh', and './hack/gen-apiserver.sh' and 'git add' the generated file(s).

thanks @neil-hickey , I've merged the doc update into https://github.com/carvel-dev/kapp-controller/pull/1061 as to avoid multiple crds updates and potential conflicts


Better env resolve for redis

better resolving of btp service credentials, based on issue
fix: https://github.com/cap-js-community/event-queue/issues/264
@oklemenz2 what do you think? I personally like that approach more, because we simply rely on CAP to resolve the credentials. I think you could also get rid of xssev we you switch to the CAP approach
FYI: @rlindner81 maybe also interesting for you to get the redis credentials; to also support kyma

That also came to my mind, that we should use cds.env functionality... So I like your change and also will adopt this in websocket module, where I currently still use xsenv.
Only thing is, if we want to share the same redis configuration across our modules.  Currently you have eventqueue-redis-cache. Would it make sense to just define redis-cache, I'm not sure, what is better...

In CDS core I did find:
"redis-messaging": {
    impl: `${_runtime}/messaging/redis-messaging.js`,
    vcap: { label: "redis-cache" },
    outbox: true
  }

That also came to my mind, that we should use cds.env functionality... So I like your change and also will adopt this in websocket module, where I currently still use xsenv.
Only thing is, if we want to share the same redis configuration across our modules. Currently you have eventqueue-redis-cache. Would it make sense to just define redis-cache, I'm not sure, what is better...

Yes that's what I was not sure about. My concern about redis-cache was that if a project has already defined the name redis-cache we would have a conflict... Advantage of having a common name would be that you need to define your redis settings only once for all your modules like event-queue, websockets. So based on this I would even prefer if CAP would have a default for redis...?

In CDS core I did find:
"redis-messaging": {
    impl: `${_runtime}/messaging/redis-messaging.js`,
    vcap: { label: "redis-cache" },
    outbox: true
  }

Yes I found the same, I basically took that as basis, but I don't want to combine this with redis-messaging, because project might adjust it for the use case

I think your approach is best, when I think again, as each project has a good default to label: redis-cache and then each project can decide how to find the redis cache for each module. Maybe a project wants to use different redis for websockts than for event-queue, this is possible with your approach, and we don't interfere with standard redid-cache or redis messaging.. .I like it.
Does it also read the default-env.json? I guess so, we detected a bug, when loading CDS env, so I guess yes...

Better use cds.env.requires? But CDS core also uses both. Looks like a consolidation needs to happen in future with a CDS major... Let's see ;-)

I think your approach is best, when I think again, as each project has a good default to label: redis-cache and then each project can decide how to find the redis cache for each module. Maybe a project wants to use different redis for websockts than for event-queue, this is possible with your approach, and we don't interfere with standard redid-cache or redis messaging.. .I like it.
Does it also read the default-env.json? I guess so, we detected a bug, when loading CDS env, so I guess yes...

I tested it in our main project and it worked with default-env. CAP must support all variants (env, default-env, kyma env file). So I think with CAP requires we are on the safe side, if something is missing we can open a bug report 🙂

OK, I do it like this for websockets:
In conformance with CDS core I use cds.requires.redis-websocket to match cds.requires.redis-messaging.
See: https://github.com/cap-js-community/websocket/commit/39aeb8f93ff0c3b922659d4dfd9104ee3a72a810

Alright if you start with redis, I can also switch event-queue and redis.


latest is broken (used URL redirects to a 404)

https://download.sublimetext.com/latest/dev/linux/x64/syntax_tests currently redirects to https://download.sublimetext.com/st3_syntax_tests_build_4106_x64.tar.bz2 which 404s

FYI - I've just had to pin 3210 in my action to get it running again.

Thanks for the notice, I forwarded the issue.
However, I will need to update handling of latest afterwards, since I treat it as an ST3 build for dependency installation. Nothing big, though, as it's just unnecessary.

The redirect has been fixed. I will update the action later today as I already made the changes and just need to push them and have CI pass.

And done. v2 is aliased to the newly released v2.1.


cocoapods use afnetworking with watchos

when i using cocoapods with Podfile like this :
//---------------------------------
target:'mywatchtarget' do
platform :watchOS
pod 'AFNetworking'
end

use AFHTTPSessionManager in mywatchtarget
like this :
//------------------------------
AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];

run i get an error :
//-------------------------------

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_AFHTTPSessionManager", referenced from:
      objc-class-ref in InterfaceController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

what's wrong ?

This should be fixed in master, and will be fixed with the 2.6.1 podspec update.

Thanks for your  response

Same problem on my project. Is there a temporary workaround?
Is there a 2.6.1 podspec release date planned?


Fix/search in context label

Objective
What: Remove any context links/filters when user makes a search on SRP
Why: You cannot search on a context driven page
How: Update the navigationState and the URL Search Params
Usage: As normal
Type

[X] Bug Fix
[X] Code Refactoring

Tested
Localhost
Translation

[ ] Have you translated all your Paragraphs, ButtonsTitle,... with i18n functionality?

Documented

[X] Have you documented in changed file using comments

Task linked: CU-32yrd0g Accessories Context link


del from dictionary copy can be replaced by a list comprehension.

Issue description or question
This horrible way of iterating is not picked up:
x0 = ['a', 'b']
x1 = {'a': 1, 'b': 2, 'c': 3}
for i in x1.copy():  # can't iterate over a variable that changes size
    if i not in x0:
        del x1[i]

when the much cleaner version is available.
x0 = ['a', 'b']
x1 = {'a': 1, 'b': 2, 'c': 3}
x1 = {k: v for k, v in x1.copy().items() if k in x0}

Code editor or IDE name and version
Pycharm 2019.1.3?
OS name and version
Windows 10

ideally we'd also improve the version through a temporty variable
x0 = ['a', 'b'] x1 = {'a': 1, 'b': 2, 'c': 3} tmp = x1.copy()   # can't iterate over a variable that changes size for i in tmp:     if i not in x0:         del x1[i]

Interesting - we'll take a look into it.

This should be implemented in the latest version of Sourcery


Adjust Contract Call serialization

Newest version of Epoch's node implements a new field: log in Contract call structure, this issue is blocked until this field is implemented. Here is a link

@cytadela8 does this overlap with some of the tasks you did create? If not, could you discuss an estimate together?

@cheezus1  does this overlap with some of the tasks you did create? If not, could you discuss an estimate together?

@cheezus1 does this overlap with some of the tasks you did create? If not, could you discuss an estimate together?

yes, it does overlap, with #753 . This issue should be resolved there.

Closed this issue, reason: overlaps with #753


Feature/response format

Hi Felix, I actually went ahead and used GPT3.5 to adapt the code with this feature from me in issue https://github.com/felixbade/transcribe/issues/8
I also fixed that the fileInput is rest so after copying out a text you can simply upload a new file. Before you had to reload the page.
Second fix is to add the video-formats (i.e. mp4) extensions that are actually supported (and I checked this by testing with a file & in the API docs of course)

Thanks for the PR!
Looks mostly good. A couple of tweaks I'll still make before deploying this to transcribe.bloat.app:

”Transcribing...” text should be non-monospace
Reformatting the code so there is less duplication (e.g. const container = document.querySelector('#output') can be outside the setTranscribedXYZ functions, so it only needs to be written once)
I think the format name verbose_json is misleading, since that format is not shown in the raw format while others are. Also I'm not sure if there is any reason for the different kinds of text output. I think I'll put the display name of verbose_json as ”Normal”, and remove text and json formats. So there will be ”Normal”, ”SRT” and ”VTT”.

I think as a further improvement there could be a ”download file” button for the SRT and VTT formats, but that doesn't need to be implemented before publishing the changes.

Made some changes: 73a22cf, 68dfcb4, 10a5fee, 2a7fda0, 59e034e, d509580, 8daaa4b, 41ab371, 74e2eb0, eb2f744.
Published to transcribe.bloat.app.

Great Felix. Blame GPT3.5 for the un-optimized code.
But great that you integrated this.
verbose_json is important, once you implement a download button, because only then the meta-info are important and will make the difference between json (just text) and the verbose obvious.
e.g. see this tutorial, where the time-stamps of the segments are needed https://youtu.be/hR8xhJgKcJ0?t=1137 (Colab Notebook here https://colab.research.google.com/drive/1cVQNg2-zGQb7qZXFECG6kyq5yVIHyf5o?usp=sharing )