OpenBSD oddities

Hello 👋
Awesome tool
Using the OpenBSD pkg_add logswan I encountered this program unable to parse https access.log
Processed 25 lines in 0.035031 seconds
{
   "date": "2019-02-10 14:14:07",
   "generator": "Logswan 2.0.2",
   "file_name": "-",
   "file_size": 0,
   "processed_lines": 25,
   "invalid_lines": 25,
   "bandwidth": 0,
...

First thoughts were, how to change log format to be compatible. By default it looks like OpenBSD is incompatible.
So I changed to log style common, which should work. It didn't
So I changed to log style combined, still didn't work

I glanced at differences between the provided examples and my own logs and could find few differences. At this point I kinda gave up.
Then I found the following from the person that suggested logswan as an alternative to google analytics
https://github.com/romanzolotarev/romanzolotarev.com/blob/master/bin/log#L10
It seems in-order to analyse logs, I need to pass through cut utility.
sudo cat /var/www/logs/access.log | cut -d" " -f2- | logswan -
I'm unsure if this should be added to troubleshooting, but it fixed log style combined and log style common httpd on OpenBSD 6.4

That's because OpenBSD's httpd does not strictly respect the common or combined log formats, it always prepends virtualhosts.
I'm not sure why it is this way, but it's probably too late to change this in httpd now, so you will have to filter the logs before feeding them to logswan.


Fix php warning associated with 'mdg_remove_hicpo_pre_get_posts_filter' in extras.php

@DHolloran This was commented out in  https://github.com/matchboxdesigngroup/kindling/commit/f51c0acb4b72fb847c6e020f603d77b264aa928d
Below is the warning it was producing:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'mdg_remove_hicpo_pre_get_posts_filter' not found or invalid function name in /Users/cwhitmore/Dropbox/Sites/kindling.dev/wp-includes/plugin.php on line 601

This should not be an issue anymore


Sort according to domains/weathers?

Hi, thank you for releasing the dataset. I am just wondering if it is possible to sort the provided dataset according to the domains or weather?

Hi @waychin-weiqin, I'm glad you like our work and were able to figure out the issue! I will leave a reply here for future reference.
As you probably already found out, we recommend you to download the dataset with the view that you would like to use, e.g. front view, and the annotations that you would like to use, e.g. 2D object detection. The file discrete/images/val/front/det_2d.json would then contain the annotations stored in the Scalabel format. As such, you can then filter every sequence and frame based on their attributes field -which contains the weather parameters - and use the e.g. night sequences only.
Regarding the folder split that you recommended, unfortunately this is not possible as our domain shifts happen along different directions (time of day, rain strength, fog strength, cloudiness, ..." and some e.g. night sequences can also be collected in rainy conditions. Such a folder structure would thus create some duplicate sequences across the different domain folders.
To facilitate ease of use and to make it easier to find out the domain division, we will also provide a json file containing only the weather parameters for each sequence.
Please let me know if you have any follow-up questions :)

Hi @mattiasegu, thank you for the info! That is exactly where I sorted all the images according to their attributes. However, I found that there is a slight mismatch between what is stored in the det_2d.json and what is currently mentioned on the official webpage. For example, I found the following attributes in the json file:

timeofday
timeofday_fine
weather
weather_fine
town

However, on the official website [page], it is mentioned that the following attributes are stored in the json file:

timeofday
weather
vehicle_density
pedestrian_density
scene

It is not really a big deal, but I thought it is worth pointing it out :)

That's right, thanks for pointing it out! We will fix that soon. The timeofday_fine and weather_fine attributes report domain parameters at a finer level, e.g. the azimuth angle of the sun. We will clarify this in the documentation.


Support multiple Sinks per Stack

Often the ensemble of multiple sinks is required (e.g. processing pipeline with input/output buckets). Existing model requires creation of multiple stack per sink

Built it ServerlessApp and ServerlessStack are build for simple application(s) that deals with one function only.
Use Sink component (see NewSink) if building complex app.


41_main.py suggestion

#hacktoberfest
Avoid computing days_away if next_birthday is == today.

Post October Monthly Challenge cleanup. It's changing 24 files here :( Have to close this one.


Storyboards Epic

Have an animation editor to easily create cut-scene or animate properties.
TODO: Had some specs in the past, need to find them for future reference.

What sort of system would we want to aim for with this? UE4 Sequencer is still in early access but I've heard a lot of good about it on their forums, and it essentially functions like a normal NLE (or, to use a better analogy, kind of like an improved, in-engine Source Filmmaker). Do we want track-based editing (of properties, animation components, etc..) or something else?
Needless to say, we could also easily leverage ffmpeg (or even just the newly-implemented Video component) to allow exporting of Storyboards out to image sequences, uncompressed video, etc..

Ok, I am going to post here some confluence doc we made at the time.
Not saying this is exactly what we'll do, but it should give a good overview of what we had planned some time ago:
Motivation

Authoring and composition of time-based sequences (cutscenes, replayable bahaviors, etc.) that drive arbitrary properties of objects
Manipulation of involved animations (changing speed, cutting, possibly crossfading)
Editing of time-based properties as 3D curves the editor (mostly transformations, possibly more)
Live preview of storyboardsDesign notes

Use-cases

Cutscene where one story track will govern many aspects of the game like animations, curves, properties, etc.

Example: Cutscene where multiple characters interact with the environment and each other, possibly spawning visual and other effects

Looping or non-looping track where some properties are animated or events are spawned

Example: A slowly spinning waterwheel produces splash sounds and effects

Event list sampled based on animation tracks, so events can be spawned corresponding to the animation state

Example: When an animated character runs, climbs or punches, sounds and visual effects are spawned

Animating one UIElement with different properties

Example: Ease-in ease-out type of animation is played on a button every time the button is pressed

Design notes
Model

Storyboard

A Storyboard is authored as a StoryboardAsset and describes some time-based progression
The asset does not depend on a scene. It describes some time-based progression. Objects involved are not referenced by the storyboard, but bound when instantiating it

Tracks

Each storyboard consists of a collection of tracks, each describing a single property or logical sequence
The target of a track is identified by a property path. The target may contain

"slots" for a top-level objects of a certain type, which can later be bound to actual object instances
a nested members, component (for objects), etc.
custom identifiers (not describing a property of an object), that can be used by other tracks for composition, or in script to query custom values

A track can contain anything that implements some understood interfaces. This should support

Curves that can be randomly evaluated
Skeletal animations (later possibly whole blend trees)
Sounds (playing, stopping, seeking?)
Events (fire-and-forget and start-stop)
Particles (visual script-based?)
other Storyboards

Tracks might have push or pull semantics depending on the target

Binding of objects can be done by code, in visual scripts or creating a StoryboardComponent (and setting a Storyboard and setting up bindings) at design time

Run-time

StoryboardComponent

References a storyboard and manages object binding and playback state

AnimationComponent

might change in the future (possibly being responsible for animation blend trees?)

Design-time

Timeline editor

Tracks contain blocks/markers of compatible type
Tracks might be displayed as tree view, when target path have parent-child relationship
Curves might be special in the way they they are previewed (directly in the track). They can be edited in the curve editor.
Animatable properties are automatically discovered and suggested (similarily to visual scripting, etc.)

Storyboard preview

The storyboard can be previewed and played in custom 3D editor. A preview scene can be seleted and bound to the storyboard. It can then be edited using the bound objects from that scene.
Transformation curves are represented by 3D splines and control point gizmos. All common control-point types are supported (both here and in the 2D-curve editor).
The preview has video-like playback controls (play/seek/reset)

Further investigation

Non-linear behaviors in the timeline
Interaction with graph-based behaviors, e.g. blend trees (composition in both ways Storyboard <--> graph)
UI storyboarding

Time estimate

Timeline editor

1w Track Control: Creating the controls to display and interact with a track (placing/moving keys, presenting key content. etc.)
1w Track add/remove editor: Container of the tracks, support add/remove, possibly reorder, etc.
1w Curve editor improvements: Improving performances and UX of the curve editor
2w Track interfaces: track interfaces and their view model counterpart
2w Property grid: drag & drop, display property of a track group, etc.
1w Timeline: Control the vertical time cursor, seek, play, etc.

Preview

3w In-scene editing: Implementing an EditorGame for the scene
2w 3D tracks: Display splines in 3d, allow to modify them
1w Play/seek/reset: model-side playback logic
1w Camera behavior: Custom tools to edit a camera track

Runtime/model

1w StoryboardAsset (and models for curves/events/scripts)
3w UpdateEngine integration (pushing/pulling updates)
1w Property discovery

Just wanted to check if the status of timeline tooling is is still as above?

There is something for this fork.
https://github.com/phr00t/FocusEngine/blob/master/sources/engine/Xenko.Engine/Cinematics/CinematicAnimation.cs


Migrate to validated variable names

This is still WIP to get the schema completely aligned with the validated one.

I update in parallel tests, algorithm and generated spec.


changed default_provider to discovery

This was Amazon for Eureka deployments but this causes it not to check Eureka healthchecks, only Amazon. Changed default to Discovery and this solves the issues. ELB deployments work the same as before.

:+1:


Inquiry about the OpenImages dataset

Thanks for your great work!
May I know which version of OpenImages you utilize for the training? 1.8M or 9.2M?
Can you provide more information with https://github.com/FoundationVision/LlamaGen/blob/f7e28e0a4fd4625a9a7636f1b6f6f49792bd98a9/tools/openimage_json.py#L44.
Thank you in advance!

Hi~
In our released models, we don’t use OpenImages.

Thanks for your quick reply. Do you know which version of OpenImages (v1 v4 v5 v6 v7) VQGAN uses for training, as I noticed that the result is included in the comparison.
Thank you very much!


include typescript information, closes #19

I've also updated (today) the typings to the latest API of 0.9.x

Coverage remained the same at 100.0% when pulling a520022d1c67ad40628c66fcc36b2add2988855b on pocesar:typescript into c79090a068ddc8647b4af2d381f2d4b854f9367c on mariocasciaro:master.

Coverage remained the same at 100.0% when pulling a520022d1c67ad40628c66fcc36b2add2988855b on pocesar:typescript into c79090a068ddc8647b4af2d381f2d4b854f9367c on mariocasciaro:master.

will need to merge the #37 first to avoid travis error (istanbul isn't compatible with node 0.8)


migrate -> migration

Migration Tool sounds better.

I agree with you, but I can't change repository name because there's already linked tons of time.


feat(minifier): finish implementation of statement fusion

enables all test in statement fusion
implements some more node in may_have_side_effects

#6566  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @camc314 and the rest of your teammates on  Graphite

Merge activity

Oct 14, 10:08 PM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Add support for nested r-each()

For now it is not possible to run nested r-each() that causes problems with use of responsive functions within r-each() itself

It is doubtful that such feature will have any practical meaning because nested r-each() will produce nested media queries and it is clear indication of incorrect behavior


autoplay next message cut off on mobile

Also should format the follower count to use K (1000) and M (1,000,000). KP setup a good implementation for the view count on the channel page that can be reused.


Simulcast Improvements

Simulcast has landed! This a list of improvements I think would be great to see before /v3 is tagged.

[ ] E2E Tests
Currently we just have unit testing, but no examples of E2E testing. Would be fine to send packets manually now. If easy might be worth adding proper Simulcast client support.

[ ] Remove multiple OnTrack paths
Remove the goroutine from startReceiver. Everything should instead just react it incoming SSRCes. We could rename handleUndeclaredSSRC to be something like onNewIncomingSSRC.

[ ] Implementing ReadRTCP for Simulcast Streams
Update Read to allow users to pass in the SSRC as well? Maybe we don't break the API and assume readerStreams[0] if no SSRC is passed?

[ ] Refactor/Cleanup RTPReceiver
Rename trackStreams -> readerStreams.  A lot more stuff will fall into place when multiple onTrack paths are removed.

[ ] Fix Simulcast Probing deadlock
Currently if a sender doesn't send enough packets handleUndeclaredSSRC can hang forever. This prevents probing taking place on other streams. We should fire a goroutine per stream we want to probe.

@jbrady42 do you have any bandwidth to help with these? (if not that is ok!)
Fantastic work on the Simulcast so far, I was super excited to merge it :) I tried to cleanup stuff as I went.

I am taking this, will work on this during the weekend!

Issue/sub-issue
tweaking the simulcast example so it doesn't feed the media back to the browser causes an issue where OnTrack has blank Rids for the simulcast tracks
Correct output from simulcast
Connection State has changed connected
Track has started
Sending pli for stream with rid: "f", ssrc: 610171300
Sending remb for stream with rid: "f", ssrc: 610171300
Track has started
Track has started
Sending pli for stream with rid: "f", ssrc: 610171300
Sending remb for stream with rid: "f", ssrc: 610171300
Sending pli for stream with rid: "h", ssrc:<PHONE_NUMBER>

simulcast that demos bug with blank/empty Rids:
Connection State has changed connected
Track has started  rid is
Track has started  rid is
Sending pli for stream with rid: "", ssrc: 133249352
Sending remb for stream with rid: "", ssrc: 133249352
Sending pli for stream with rid: "", ssrc:<PHONE_NUMBER>
Sending remb for stream with rid: "", ssrc:<PHONE_NUMBER>
Track has started  rid is
Sending pli for stream with rid: "", ssrc: 133249352
Sending remb for stream with rid: "", ssrc: 133249352

Repo with issue, last commit is changes to realize the bug:
(look at last commit to see my small changes vs. the vanilla simulcast)
https://github.com/cameronelliott/webrtc.empty-rids
Jsfiddle  needed for issue: (also in the repo linked)
https://jsfiddle.net/camfoo/p2xn4kw5/2/

Issue/sub-issue
tweaking the simulcast example so it doesn't feed the media back to the browser causes an issue where OnTrack has blank Rids for the simulcast tracks
Correct output from simulcast
Connection State has changed connected
Track has started
Sending pli for stream with rid: "f", ssrc: 610171300
Sending remb for stream with rid: "f", ssrc: 610171300
Track has started
Track has started
Sending pli for stream with rid: "f", ssrc: 610171300
Sending remb for stream with rid: "f", ssrc: 610171300
Sending pli for stream with rid: "h", ssrc:<PHONE_NUMBER>

simulcast that demos bug with blank/empty Rids:
Connection State has changed connected
Track has started  rid is
Track has started  rid is
Sending pli for stream with rid: "", ssrc: 133249352
Sending remb for stream with rid: "", ssrc: 133249352
Sending pli for stream with rid: "", ssrc:<PHONE_NUMBER>
Sending remb for stream with rid: "", ssrc:<PHONE_NUMBER>
Track has started  rid is
Sending pli for stream with rid: "", ssrc: 133249352
Sending remb for stream with rid: "", ssrc: 133249352

Repo with issue, last commit is changes to realize the bug:
(look at last commit to see my small changes vs. the vanilla simulcast)
https://github.com/cameronelliott/webrtc.empty-rids
Jsfiddle  needed for issue: (also in the repo linked)
https://jsfiddle.net/camfoo/p2xn4kw5/2/

@cameronelliott
Hi! I'm not familiar with open source and English isn't my first language, so please understand.. 😢
I think that happens when there is only one media on SDP.
In case of simulcast, on sdp only one media(video) is described but actually more than one(depending on how many encodings)
Check this peerconnection code.
It doesn't create ssrcs we need(it is optional according to this issue).
If you disabled above peerConnection code, it gets proper rid and creates ssrc.

thanks, it works for me. simulcast error disappeared.


Abstract tokio runtime shut down check

@hzxuzhonghu: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

test_ztunnel
a13c89cbca03b9649b1cab4f8317235bb106a28d
link
true
/test test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Automated cherry pick of #1867: fix: clear pending-delete when sched_fail

Cherry pick of #1867 on release/2.11.
#1867: fix: clear pending-delete when sched_fail

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@99095ee). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.11   #1869   +/-   ##
==============================================
  Coverage                ?   7.59%
==============================================
  Files                   ?     412
  Lines                   ?   63628
  Branches                ?       0
==============================================
  Hits                    ?    4833
  Misses                  ?   58384
  Partials                ?     411

Flag
Coverage Δ

#aFlag
7.59% <ø> (?)

Impacted Files
Coverage Δ

pkg/hostman/system_service/host_deployer.go
33.33% <ø> (ø)

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 99095ee...24f4b28. Read the comment docs.

/approve
/lgtm


expand node-level log rotation options

Removes references to the deprecated /cluster scripts from the logging
documentation, adding in sectional breakdown for log rotation setup
using either logrotate or configuring the Docker container runtime
logging driver.
Related to k/k Issue #78995.

@sftim @kbhawkey thanks much for the great feedback! I'll update the patch a little later this evening.

Gonna close this out and submit the link fix separately. I'll do a separate PR that carves out a Task page for logging that has the updated information and removes the references to /cluster scripts.

Separate link fix here: https://github.com/kubernetes/website/pull/15270


Renaming

Vendor folder is somewhat unclear, prefer thirdparty or similar.
Render Front and Back end is somewhat unclear, prefer Render HighLevel and LowLevel or similar

Runtime for the actual renderer is a confusing name, as the asset pipeline has a runtime component too


Kangaroo emoji

Kangaroos are a symbol of Australia and, of course, carry their young in a bag.
A kangaroo emoji was part of N3607 by the Irish and German NSBs in 2009, but was dropped soon after, probably because it was not required for interoperability with existing encodings or charsets. The exact details have not been documented.
Petitions

change.org: Kangaroo
change.org: Kangaroo
Emoji Request: Kangaroo

Proposals

U+1F42A in L2/09-114 / N3607

Kangaroo not mentioned anymore in L2/09-153 or after

Other references

Twitter subthread

A useful point for an eventual proposal: Kangaroos are featured on Australian road signs. Most other animals that appear on such Caution: Animals Crossing signs around the world, e.g. Cows and Deers in most of Europe, already have emojis.

The candidate emojis for Unicode 11 include a Kangaroo emoji as U+1F998.
http://www.unicode.org/L2/L2017/17284-emoji-recs.pdf


LVGL8 isn't compat with LVGL demos

Hi, and thank you (again). I was about to drive a 7735 from BL602, and thought I'd give your demos a try.
Of course, the resolution is wrong and the chip is wrong, but I thought that would be a few easy #defines to tweak. Of course, it never is that easy.
In section 10.2 of there is a git submodule add https://github.com/lvgl/lvgl , which pulls in trunk of LVGL.
"And that's where the plot sours."
LVGL seems to hold cross-version compatibility is low regard, which is an unfortunate trait for a library. I scoured dozens and dozens of reports and complaints and the general advice for those with existing code is to basically not upgrade. In https://forum.lvgl.io/t/lvgl-v8-is-available-for-testing/4924/68  one of th maintainers says "one either has to rewrite their entire application, or stick with the older major release and patch it."
Your demos seem to be written for LVGL7.something (determining which 7.something isn't trivial) but the LVGL trunk is now 8.2 and they incompatible. I got as far as the changes below and then I ran into dozens of link errors.
Realizing I was drifting further and further from my goal ("easy sanity check of hardware") and needing to change the chip drivers, enter an untested land of LVGL, to ultimately do it all on another OS, and battling Git in wanting to take a submodule from a branch, I realized I was in the Sunk Cost Fallacy and needed to flee. Exactly none of this is your fault and some of it was expected. I merely post this as a cautionary tale (and Google fodder) to those expecting to build these projects.
I post this with absolutely no expectations of fixes. If anything, the smart money for your project is to just pin the module to whatever version of LVGL you were happily using.
Thank you for all the examples.
--- a/customer_app/sdk_app_st7789/sdk_app_st7789/lv_port_disp.c
+++ b/customer_app/sdk_app_st7789/sdk_app_st7789/lv_port_disp.c
@@ -75,9 +75,14 @@ void lv_port_disp_init(void)
/* LVGL requires a buffer where it draws the objects. The buffer's has to b
e greater than 1 display row
* We create ONE buffer with 10 rows. LVGL will draw the display's content
here and writes it to the display
* */
+#if 0
static lv_disp_buf_t disp_buf_1;
lv_disp_buf_init(&disp_buf_1, spi_tx_buf, NULL, LV_HOR_RES_MAX * BUFFER_ROW
S);   /Initialize the display buffer/
+#else

static lv_disp_draw_buf_t disp_buf_1;

static lv_color_t buf_1[LV_HOR_RES_MAX * 10];                          /A buffer for 10 rows/

lv_disp_draw_buf_init(&disp_buf_1, buf_1, NULL, LV_HOR_RES_MAX * 10);   /Initialize the display buffer/
+#endif
/*-----------------------------------

Register the display in LVGL
@@ -96,7 +104,9 @@ void lv_port_disp_init(void)
disp_drv.flush_cb = disp_flush;

/Set a display buffer/
+#if 0
disp_drv.buffer = &disp_buf_1;
+#else

// do something
+#endif

#if LV_USE_GPU
/Optionally add functions to access the GPU. (Only in buffered mode, LV_VDB_SIZE != 0)/
 diff --git a/customer_app/sdk_app_st7789/sdk_app_st7789/lvgl.c b/customer_app/sdk_app_st7789/sdk_app_st7789/lvgl.c

index 7f61ba12..9f0a361e 100644
--- a/customer_app/sdk_app_st7789/sdk_app_st7789/lvgl.c
+++ b/customer_app/sdk_app_st7789/sdk_app_st7789/lvgl.c
@@ -54,11 +54,11 @@ int lvgl_create(void) {
lvgl_created = true;
printf("Create LVGL widgets...\r\n");

btn = lv_btn_create(lv_scr_act(), NULL);  //  Add a button the current screen

btn = lv_btn_create(lv_scr_act());        //  Add a button the current screen
lv_obj_set_pos(btn, 10, 80);              //  Set its position
lv_obj_set_size(btn, 220, 80);            //  Set its size

label = lv_label_create(btn, NULL);       //  Add a label to the button

label = lv_label_create(btn);             //  Add a label to the button
lv_label_set_text(label, "BL602 LVGL");   //  Set the label text
return 0;
}
@@ -88,4 +88,4 @@ int lvgl_render(void) {
//  Call LVGL to render the display and flush our display driver
lv_task_handler();
return 0;
-}
\ No newline at end of file
+}

Thanks for the fixes :-) Sorry my code won't work with the latest "hosal" HAL in BL IoT SDK, because the SPI HAL has changed.
I'm planning to redo the LVGL app with NuttX instead. NuttX has built-in support for LVGL, so it might be simpler: https://docs.lvgl.io/latest/en/html/get-started/nuttx.html
I'll also work on SPI DMA for BL602 NuttX, since we'll be pushing lots of pixel data to the display.
BTW: BL MCU SDK also supports LVGL: https://github.com/bouffalolab/bl_mcu_sdk/tree/master/components/lvgl

TBC, the problem isn't the SPI Hal; it's LVGL.
It's frustrating how external forces can wreck a "hello world."
Since this almost IS my 'hello world' for Nuttx, perhaps I can provide you
with that code. I can model it based approximately on your end results. I'm
not sure if I have that exact display in stock, but we can at least iterate
toward the same example. 7735 and 7789 are pretty close...and if my read of
the doc is correct, we'd just be calling the existing driver in either case.
So if a Hello LVGL on Nuttx 7735 (or 9486) Hello LVGL on BL602 would be a
useful supplement/replacement, just hang on and I'll see what I can come up
with.
On Sat, Mar 12, 2022 at 9:52 PM Lee Lup Yuen @.***>
wrote:

Thanks for the fixes :-) Sorry my code won't work with the latest "hosal"
HAL in BL IoT SDK, because the SPI HAL has changed.
I'm planning to redo the LVGL app with NuttX instead. NuttX has built-in
support for LVGL, so it might be simpler:
https://docs.lvgl.io/latest/en/html/get-started/nuttx.html
I'll also work on SPI DMA for BL602 NuttX, since we'll be pushing lots of
pixel data to the display.
BTW: BL MCU SDK also supports LVGL:
https://github.com/bouffalolab/bl_mcu_sdk/tree/master/components/lvgl
—
Reply to this email directly, view it on GitHub
https://github.com/lupyuen/lupyuen.github.io/issues/8#issuecomment-1066016256,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3VADYTUUI6ZJIB6NBWCSLU7VQ7TANCNFSM5QSXCDXQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Let's move to NuttX since LVGL works fine with ST7789 thanks :-)
https://github.com/lupyuen/st7789-nuttx


upgrade vectorize + vector extensions

Update pg_vectorize to 0.17.0 and pgvector to 0.7.3

Updated Cargo.lock to resolve https://github.com/tembo-io/tembo/actions/runs/10147698438/job/28058720835

LGTM!


Build Error Boundaries in to Selected Hoist Components

Seems like this could make Hoist Apps more robust with no additional app complexity.
Possible components that might do this are:

Tab
DashView
DockView
Dialog (Coming Soon)
Page

Closing -- This does not seem immediately actionable, and we have not had a problem with this in practice.  This ticket not really adding much info.

Closing -- This does not seem immediately actionable, and we have not had a problem with this in practice.  This ticket not really adding much info.


Can I try CSS Grid (Bootstrap 5.1.0, experimental) with Sveltestrap?

I'd like to use this:
https://getbootstrap.com/docs/5.1/layout/css-grid/
Initializing happens by:

CSS Grid is opt-in. Disable the default grid system by setting $enable-grid-classes: false and enable the CSS Grid by setting $enable-cssgrid: true. Then, recompile your Sass.

Problem:
Those variables are Sass, and Svelte doesn't know it by default. I added this:
<style lang="sass">
  // Favour the (experimental) CSS Grid based engine -> https://getbootstrap.com/docs/5.1/layout/css-grid/
  $enable-grid-classes: false
  $enable-cssgrid: true
</style>

...but it still wants a precompiler, I think. Actual error is:
[watch] [!] (plugin svelte) ParseError: Identifier `deep` is expected
[watch] src/App.svelte
[watch] 12:
[watch] 13: <style lang="sass">
[watch] 14:   // Favour the (experimental) CSS Grid based engine -> https://getbootstrap.com/docs/5.1/layout/css-grid/
[watch]        ^
[watch] 15:   $enable-grid-classes: false
[watch] 16:   $enable-cssgrid: true

A small advice on how to enable Sass with Svelte (or does it even make sense) would be appreciated.

Hi, it makes sense, however I've personal not done this.  I think you'll need to add scss preprocessor support, then you'll need to import from bootstrap's scss directory.
For the first, please look at: https://daveceddia.com/svelte-with-sass-in-vscode/

Closing this.
Preprocessor is indeed necessary, but I'll use raw HTML Grid, instead.
Would be nice, if Sveltestrap supports the opt-in CSS Grid, at some point. :)


No event class registered for event type 'cel',

Hi all, can yo help me?
I gotta this message :
43459 [Asterisk-Java ManagerConnection-0-Reader-0] INFO org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'cel', attributes: {eventtime=2017-03-16 11:56:59, userfield=COMPLETEAGENT, linkedid=1489654602.12, calleridname=Test 9150, uniqueid=1489654602.12, calleridani=9150, event=CEL, calleriddnid=9151, privilege=call,all, context=from-internal, exten=h, amaflags=DOCUMENTATION, calleridnum=9150, channel=SIP/9150-00000009, eventname=CHAN_END}. Please report at http://jira.reucon.org/browse/AJ
But in asterisk, CEL is enabled :
aster*CLI> cel show status
CEL Logging: Enabled
CEL Tracking Event: ALL
CEL Tracking Event: CHAN_START
CEL Tracking Event: CHAN_END
CEL Tracking Event: HANGUP
CEL Tracking Event: ANSWER
CEL Tracking Event: APP_START
CEL Tracking Event: APP_END
CEL Tracking Event: BRIDGE_START
CEL Tracking Event: BRIDGE_END
CEL Tracking Event: CONF_START
CEL Tracking Event: CONF_END
CEL Tracking Event: PARK_START
CEL Tracking Event: PARK_END
CEL Tracking Event: BLINDTRANSFER
CEL Tracking Event: ATTENDEDTRANSFER
CEL Tracking Event: TRANSFER
CEL Tracking Event: HOOKFLASH
CEL Tracking Event: 3WAY_START
CEL Tracking Event: 3WAY_END
CEL Tracking Event: CONF_ENTER
CEL Tracking Event: CONF_EXIT
CEL Tracking Event: USER_DEFINED
CEL Tracking Event: LINKEDID_END
CEL Tracking Event: BRIDGE_UPDATE
CEL Tracking Event: PICKUP
CEL Tracking Event: FORWARD
CEL Tracking Application: ALL
CEL Event Subscriber: CEL Custom CSV Logging
CEL Event Subscriber: ODBC CEL backend
CEL Event Subscriber: Manager Event Logging
aster*CLI> module show like cel
Module                         Description                              Use Count
app_celgenuserevent.so         Generate an User-Defined CEL event       0
cel_custom.so                  Customizable Comma Separated Values CEL  0
cel_manager.so                 Asterisk Manager Interface CEL Backend   0
cel_odbc.so                    ODBC CEL backend                         0
res_format_attr_celt.so        CELT Format Attribute Module             0
5 modules loaded
Why i get this message?

Unless you need to process this event you can ignore the INFO.

Brett
On 16/03/17 20:15, Alex wrote:

Hi all, can yo help me?
I gotta this message :
43459 [Asterisk-Java ManagerConnection-0-Reader-0] INFO
org.asteriskjava.manager.internal.EventBuilderImpl - No event class
registered for event type 'cel', attributes: {eventtime=2017-03-16
11:56:59, userfield=COMPLETEAGENT, linkedid=1489654602.12,
calleridname=Test 9150, uniqueid=1489654602.12, calleridani=9150,
event=CEL, calleriddnid=9151, privilege=call,all,
context=from-internal, exten=h, amaflags=DOCUMENTATION,
calleridnum=9150, channel=SIP/9150-00000009, eventname=CHAN_END}.
Please report at http://jira.reucon.org/browse/AJ
But in asterisk, CEL is enabled :
aster*CLI> cel show status
CEL Logging: Enabled
CEL Tracking Event: ALL
CEL Tracking Event: CHAN_START
CEL Tracking Event: CHAN_END
CEL Tracking Event: HANGUP
CEL Tracking Event: ANSWER
CEL Tracking Event: APP_START
CEL Tracking Event: APP_END
CEL Tracking Event: BRIDGE_START
CEL Tracking Event: BRIDGE_END
CEL Tracking Event: CONF_START
CEL Tracking Event: CONF_END
CEL Tracking Event: PARK_START
CEL Tracking Event: PARK_END
CEL Tracking Event: BLINDTRANSFER
CEL Tracking Event: ATTENDEDTRANSFER
CEL Tracking Event: TRANSFER
CEL Tracking Event: HOOKFLASH
CEL Tracking Event: 3WAY_START
CEL Tracking Event: 3WAY_END
CEL Tracking Event: CONF_ENTER
CEL Tracking Event: CONF_EXIT
CEL Tracking Event: USER_DEFINED
CEL Tracking Event: LINKEDID_END
CEL Tracking Event: BRIDGE_UPDATE
CEL Tracking Event: PICKUP
CEL Tracking Event: FORWARD
CEL Tracking Application: ALL
CEL Event Subscriber: CEL Custom CSV Logging
CEL Event Subscriber: ODBC CEL backend
CEL Event Subscriber: Manager Event Logging
aster*CLI> module show like cel
Module Description Use Count
app_celgenuserevent.so Generate an User-Defined CEL event 0
cel_custom.so Customizable Comma Separated Values CEL 0
cel_manager.so Asterisk Manager Interface CEL Backend 0
cel_odbc.so ODBC CEL backend 0
res_format_attr_celt.so CELT Format Attribute Module 0
5 modules loaded
Why i get this message?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/asterisk-java/asterisk-java/issues/193, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA29OE8QVRbDDsigI99hUA0PGc6D2S6nks5rmP23gaJpZM4MfBU3.

But i need to process this event.
I think i understood, what is my problem. I look to my another server, where all work fine and i listen events, what happens on call. This is events on a server, what works good :

Event: VarSet
Privilege: dialplan,all
Channel: SIP/2331-00000006
Variable: RTPAUDIOQOS
Value: ssrc=1611573284;themssrc=0;lp=0;rxjitter=0.000000;rxcount=0;txjitter=0.000000;txcount=4;rlp=0;rtt=0.000000
Uniqueid:<PHONE_NUMBER>.7

Event: Hangup
Privilege: call,all
Channel: SIP/2331-00000006
Uniqueid:<PHONE_NUMBER>.7
CallerIDNum: 2331
CallerIDName: test2
ConnectedLineNum: 2333
ConnectedLineName: test4me
AccountCode:
Cause: 16
Cause-txt: Normal Clearing
there, i get normal event's name : VarSet, Hangup, etc.
But on problematic server i get next :

Event: ExtensionStatus
Privilege: call,all
Exten: 9151
Context: ext-local
Hint: SIP/9151
Status: 0

Event: CEL
Privilege: call,all
EventName: HANGUP
AccountCode:
CallerIDnum: 9150
CallerIDname: Test 9150
CallerIDani: 9150
CallerIDrdnis:
CallerIDdnid: 9151
Exten: h
Context: from-internal
Channel: SIP/9150-00000011
Application:
AppData:
EventTime: 2017-03-17 15:09:23
AMAFlags: DOCUMENTATION
UniqueID:<PHONE_NUMBER>.20
LinkedID:<PHONE_NUMBER>.20
Userfield: COMPLETEAGENT
Peer:
PeerAccount:
Extra: 16,SIP/9151-00000012,ANSWER
and my app can't understood this events, what name is 'CEL'.

cel is channel event loggin if you are not using it just disable it, if you are going to use it some development has to be made to add cel event


Repeated failed to save project errors

Issue: Repeated "Failed to save project. You can download your project by clicking this notification" errors. Users also report that changes made to projects are not reflected in Bolt Collection when receiving this error. Collecting here for further investigation.

Wondering if we have an expectation of rough timelines on issues like this.
I believe I've wasted quite a few tokens running and re-running some of the changes since they do not save (Unless the failures don't count towards total token usage).

I'm planning to modify manually, but I don't see much in the way of interop with manual modifications and bolt quite yet as I'd prefer to do it, back up to git, tack to stack blitz, and then pull back over, but I believe there is another ticket open for the disconnect when the code is opened in stackblitz.   Anyways, will follow for updates and TYIA

Update: Hi all, the team is hard at work continuing to investigate the potential causes of this error. If you are willing, could you share:

Your Bolt/StackBlitz username (If you login to stackblitz.com with the same credentials as Bolt, you will see your username on the top left-hand side of the page).
The estimated day and time (including time zone) you received this error

We appreciate your continued feedback and assistance as we work to improve the performance of Bolt!

Does this error use up tokens?

The error itself does not.  However, the failure to save means that any progress you are making on the project with token usage may not save.  I have a site that is quite a bit behind and I've re-done many features up to about 6 times or so.  I started working on it manually with it linked to github and then any progress I make, I'm ensuring it gets added in, committed, etc and loaded over to the netlify account because once I started getting that error, I've been unable to have the project steadily save, deploy, etc.

Username: mdostal
I've been seeing this error pretty consistently since I first deployed the project ~2 days ago.  I started the project, made great progress, and have been seeing the error pretty consistently since by visiting the site.  I'm working on it with a mix of bolt suggestions and manual edits in stack blitz or with local editors and pushing it up.
I hope that helps, feel free to reach out for any other information that may be useful on this as it would be cool to flesh it out and use bolt.new to really do most  of the base templating with more deploys and such and then be able to use git as checkpoints while detailing stuff out more.

Hi @mdostal (and everyone else here),
Appreciate the additional info! Could you open browser DevTools, go to the Network panel, and look for an erroneous request (it will be in red) if you encounter this again?

This will help us determine the cause of this issue. Thanks!

Sure.  I've added screenshots.  My project is completely desynced and is at a state that only throws this error and cannot move forward at all.  Any refresh of the project reloads an old state that is at this error point.  I've slowly done and redone sections of it manually to update and have been working in stackblitz and VSCode with auto-deploys on netlify now.  However, it would be nice if bolt.new was able to help with dev or furthering some changes rather than me just using some of the sections of things I am able to have it do at the old state.
If there is something I've done or am able to do in order to resolve or avoid this in the future, please let me know and I'll take better steps in future projects.

Note: That's how it burns tokens with this error.  Your project hits a locked state that cannot be furthered an any token usage you do is basically lost work or you may have to re-do if you want to walk through some of the changes with bolt in an attempt to try something else.

Thank you for the detailed feedback! This will help the team further address the root causes behind this issue.

this is still happening, wasting countless tokens and holding up any progress for days. Can we please get someone to look into this as its causing the platform to not be useful at all. Thanks!

The error started appearing for the first time about an hour ago.

Hello,
I am not sure what you mean? None of my projects have been saving or being
able to be seen in the preview function or notify for over a week now.
About time that i upgraded to the $50 a month plan, making the the platform
useless to me for more than a week.
Thanks for your help
Bobby
On Thu, Dec 26, 2024, 10:03 PM Javier Rodriguez Ruiz <
@.***> wrote:

The error started appearing for the first time about an hour ago.
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/2762#issuecomment-2563098535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGTNURFDFTVBLYQDHUEON2T2HRVKHAVCNFSM6AAAAABSCSLCBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGA4TQNJTGU
.
You are receiving this because you commented.Message ID: <stackblitz/bolt.
@.***>

@bobbycxinsights he means it started happening for him yesterday


Docker updated file causing python error

After the recent update in the docker file where the python version is explicitly mentioned to be 3.6, I got this error:

I am trying to create a sample Indy network. I followed these steps to create the network except that I am creating the Kubernetes cluster on EKS. The elaborated steps that I followed are mentioned in this issue.
For now, I found a way to bypass this error by adding a line into this yaml file

This should not be fixed like this, can be updated in the Dockerfile itself, isnt it?

You are saying that we can add this line in the Dockerfile itself??
Actually, I added this line here because this particular task was giving the error.

Yes, and raise a PR. That will solve this issue, right?


samples: Created a simple driver example for max7219.

The driver starts up the display, sets low brightness
and runs a simple animation.
Tested with PCA10040, but should be compatible with
any zephyr-supported board with SPI.
Signed-off-by: Łukasz Hejnak<EMAIL_ADDRESS>

There's no need to add these lines to the commit log:
Review requested changes done.
Added test case definition.

The final merged commit shouldn't have "review artifacts" like this.


BUG: save clusterimage for apply

Sealos Version
main
How to reproduce the bug?

After the clusterfile adds a new mirror, enter n in apply, and the mirror is not installed, and there will be no prompt for apply again, and the mirror is not installed.
Adding the same image to apply does not prompt that the logic of overwriting and running is different

What is the expected behavior?
No response
What do you see instead?
No response
Operating environment
- Sealos version:
- Docker version:
- Kubernetes version:
- Operating system:
- Runtime environment:
- Cluster size:
- Additional information:

Additional information
No response

```
apiVersion: apps.sealos.io/v1beta1
kind: Cluster
metadata:
  creationTimestamp: "2023-05-07T05:14:34Z"
  name: default
spec:
  hosts:
  - ips:
    - <IP_ADDRESS>:22
    roles:
    - master
    - arm64
  image:
  - hub.sealos.cn/labring/kubernetes:v1.23.10
  - labring/helm:v3.8.2
  - labring/calico:v3.24.1
  - labring/coredns:v0.0.1
  - labring/kuboard:v3
  ssh:
    pk: /root/.ssh/id_rsa
    port: 22
```

/assign


Why is this synchronous?

Why are the Set methods async and these are synchronous?

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

ID: 99a18f7a-65fa-aac1-ceb2-50786b3f4939
Version Independent ID: ef45fedb-3dc6-5105-d1eb-fa42cac1ab26
Content: SecureStorage.Remove(String) Method (Xamarin.Essentials)
Content Source: docs/en/Xamarin.Essentials/SecureStorage.xml
Product: xamarin
Technology: xamarin-essentials
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Remove doesn't require any Tasks or Async work at at all and are completed intermediately.


Language guessing: Allow paste contents to override files.defaultLanguage?

Speaking with @sbatten it was griped that the "paste contents into an untitled editor to set the language to the paste source" flow doesn't work when you have files.defaultLanguage configured. This is intentional AFAIK but maybe worth revisiting? Relevant code:
https://github.com/microsoft/vscode/blob/33c614d11a561bfac4061cdb5f24dc4215c62e9e/src/vs/workbench/browser/parts/editor/textResourceEditor.ts#L165-L220
cc @TylerLeonhardt @bpasero

For my reasoning, I have had the default language setting to markdown forever as I use Ctrl+N to create random notes often. However, that doesn't mean I always want to have a markdown file. It seems the setting is given too much precedence even though its a very non-contextual setting. If I paste JSON, and I haven't typed anything else in this editor, in my experience, its never been right to keep the markdown.

I think @Tyriar initially convinced me to honor files.defaultLanguage in language detection with the reasoning that someone who sets files.defaultLanguage knows enough about VS Code to figure out how to set their language to something else when they need it, while the real customer of the feature was new users who didn't know how to do that.

I also notice how when I copy text from e.g. a TypeScript file and paste that into a new untitled file, we do not set the language based on the source, but simply use files.defaultLanguage. I would argue in that case we should ignore the setting and use the source language because we know the language in that case.

+1 to @bpasero's comments.
As for what @TylerLeonhardt said, just because I know how to change the language doesn't mean there aren't cases where its annoying that I have to. Currently, I feel punished for using the default language setting, because everywhere we make language detection nicer, I'm left out because I take notes in markdown and wanted that to be the default language.

I think the problem is somewhere here:
https://github.com/microsoft/vscode/blob/21718208c101d77d5d07382f954e227c94203760/src/vs/workbench/services/untitled/common/untitledTextEditorModel.ts#L193-L202
This method in the end will set _hasLanguageSetExplicitly:
https://github.com/microsoft/vscode/blob/c8745c3a9cddb9b22ce16524236c08583f1bf1b6/src/vs/workbench/common/editor/textEditorModel.ts#L84
And based on that flag, we skip auto detection.
I guess we have to decide what condition we want for _hasLanguageSetExplicitly to be true or false:

explicit language change by the user from status bar: probably yes
files.defaultLanguage: probably not
other ways in which via API a untitled file is opened with explicit language: need to decide case by case

We probably would have to transport this information down to the untitled model to set the flag accordingly.

As for what @TylerLeonhardt said, just because I know how to change the language doesn't mean there aren't cases where its annoying that I have to. Currently, I feel punished for using the default language setting, because everywhere we make language detection nicer, I'm left out because I take notes in markdown and wanted that to be the default language.

This would have to be configurable. I had this the default behavior and got a handful of folks complaining saying "vscode changed the language on me when I didn't want it to"

Configurable is fine, but I'm curious if those cases truly match mine or they are being lumped together because we weren't fine-grained about our approach. I am not arguing that anytime we auto-detect the language we should change it on the user.
@JacksonKearl's hint bulb is a great improvement, but pasting text we know the language for seems a much stronger signal than just language detection

Is there a way to differentiate between pasted code and non-pasted code? Could we run the "to be pasted" code through language detection and if it feels strongly enough, we set the language in addition to pasting the content?

in the base case of this issue, we know exactly the language because it comes from an existing file. We don't rely on the model in this case.

Yeah we do, the language detection here is specifically running from a paste operation.

👍 to configurable, I paste far more into untitled markdown files than anything else and sometimes I start with pasting code before wrapping it in backticks. Since I'm comfortable with the change language keybinding I prefer to do that in the off chance I need it. If we do make it configurable I'd suggest just making a separate setting and not have the language detection code consider the default language setting at all.


Added I18n support and Spanish translation

@macagua Thank you for this PR. Can you please rebase on develop branch?

@avoinea I done the rebase

@avoinea thanks you!!!


build: Update swc_core to v0.96.9

Description
Update swc crates
Testing Instructions
See next.js counterpart

Closes https://github.com/vercel/next.js/issues/64890
Closes https://github.com/vercel/next.js/issues/63104

Merging as https://github.com/vercel/next.js/pull/67378 is approved (and this is a retry)


libuv tty reopening interferes with native fork/exec

Version: 1.20.3
Platform: Linux (also applies to other unix-like OS)

After libuv tty code touches the stdin/stdout/stderr streams, it reopens them with the FD_CLOEXEC flag. Any further attempts to spawn child processes using the native unix fork/exec mechanism will result with the children having the standard FD's closed. The application will need to use uv_spawn to have these FD's retained in child processes.
Minimal repro case:
#include <uv.h>
#include <stdlib.h>

int main(int ac, char ** av)
{
        uv_loop_t loop;
        uv_tty_t fd1;
        uv_loop_init(&loop);
        uv_tty_init(&loop, &fd1, 1, 0);
        system("echo this should appear on stdout");
        return 0;
}

This causes a real-world bug in Electron (https://github.com/electron/electron/issues/14246, https://github.com/electron/electron/issues/12937) where the chromium code is linked together with libuv in node.js. Chromium is unaware of libuv and attempts to natively spawn a gpu worker subprocess, which starts with fds 0-2 closed. These free fds are assigned for other purposes, and on some platforms the OpenGL blindly prints some warning messages to fd 2, messing up the state of the application.

The application will need to use uv_spawn to have these FD's retained in child processes.

That's correct and intentional: libuv reopens the file descriptor when it refers to a slave pty, otherwise other processes that share the file descriptor (think node | cat) are affected when libuv switches it to non-blocking mode.
It probably needs to be documented better but the current behavior is not a bug. Pull request welcome, of course. :-)

That's correct and intentional: libuv reopens the file descriptor when it refers to a slave pty, otherwise other processes that share the file descriptor (think node | cat) are affected when libuv switches it to non-blocking mode.

That is clear to me. I'm not sure about the intentional part. Do you mean that using libuv's tty functions is allowed only when an app doesn't perform native fork/exec?

Pull request welcome, of course. :-)

For this I would need a better understanding of the expected semantics. My first idea would be to keep the tty-reopening code, but simply keep the old fd untouched and use the new, reopened fd in libuv. At least for fd's 0,1,2. Would this break anything?

Do you mean that using libuv's tty functions is allowed only when an app doesn't perform native fork/exec?

Pretty much. The interaction between stdio and process management on Unices is such that you can't reliably do one without also controlling the other.
Sorry if I was unclear: "pull request" means "documentation pull request."

simply keep the old fd untouched and use the new, reopened fd in libuv. At least for fd's 0,1,2. Would this break anything?

In downstream projects, you mean? Almost certainly.

We've been tracking a variant of this issue for a while time on the Julia project (https://github.com/JuliaLang/julia/issues/24440), where libuv also violates the internal assumptions about its re-opened file descriptor (those described above by bnoordhuis) if you do choose to go through the uv_spawn API.
@anszom as a workaround, you can always pass dup(1) instead (This is what JuliaLang does. That also has the benefit that native C stdio also keeps working in the current process (which normally doesn't handle O_NONBLOCK very well)—e.g. the same pipeline issue mentioned above, but within the same process.)

Very well, if you insist that this behaviour is not a bug, then it clearly needs to be documented. Silently marking stdio streams as FD_CLOEXEC is not very friendly.
@bnoordhuis, can you suggest any workarounds? vtjnash suggests passing dup(1) to tty code, which should - as I understand it - have the same effect as the modification that I've described above. What are the downsides? You mentioned that this would likely break some downstream projects, I'm not sure what you had in mind.

@anszom There are programs out there that use libuv for tty management but poll the stdio fds themselves.
The change you proposed would break that, with no easy fix for such programs except mirroring libuv's tty reopen logic. That wouldn't help e.g. a node.js script that calls fs.read(0, cb), since it has no direct control over that, it's managed by the node.js run-time.
If electron doesn't fall in that category, then dup is probably an effective solution.

Electron simply embeds node.js, so a sufficiently motivated user could trigger this issue.
For now I've suggested a workaround which simply reopens /dev/null as stdio at startup (if missing), but it's an ugly hack to be honest.

There are programs out there that use libuv for tty management but poll the stdio fds themselves.
The change you proposed would break that, with no easy fix for such programs except mirroring libuv's tty reopen logic.

I don't think these statements necessarily follow. In Julia, we dup the fd specifically to prevent this (among other reasons), because avoiding modification of the original stdio handle can actually improve the ability for programs to use the original stdio fds outside of libuv. Since in the kernel they still represent the same file, poll and fs.read should still continue to work, but additionally naive IO (such as std::cout or puts, or external fork/exec, and uv_spawn) also continue to work within the same program.

That wouldn't help e.g. a node.js script that calls fs.read(0, cb), since it has no direct control over that, it's managed by the node.js run-time.

It sounds like you're asserting that libuv does not have direct control over fd 0 and that it should be managed by the node.js run-time. But here we see that libuv is asserting control over fd 0, so that simply attempting to load up node.js as a library is enough to break the parent application. I think that is precisely the problem anszom is describing!
But, to be sure, I don't think this is actually a libuv bug, and so it may be preferable to address this in node.js. It would be a significantly breaking change for libuv to stop taking ownership of the fd it was handed (since this would need to be done uniformly across all APIs).

I'm talking about uv_tty_set_mode(). I wouldn't want to vouch that using a dup'd file descriptor always works. We've had regressions in the past in this area (in Node.js) caused by libuv changes.

It sounds like you're asserting that libuv does not have direct control

Not sure I follow. The "it" in "it has no direct control" refers to the JS script, not libuv. What happens under the hood is mostly a black box to a script.

Ah, interesting. Do you have a reference for which issues those would be? I'm curious and would like to understand this better. I would assume a dup file descriptor should work exactly the same as the original, by virtue of having got the handle originally via fork making a copy of it when the shell started us. I would not be too surprised to learn that some aspect of the mode changes weren't properly handled for the re-opened file vs. the original, even though those changes should be properly reflected (since, e.g., stty can see/change them completely externally).
Note that there's already precedence in libuv to treating fd 0-2 specially: if you attempt to close this fd number, libuv won't actually close the underlying fd. That could argue in favor of this proposal to not add the CLOEXEC flag for 0-2 as well. (Although personally, I still recommend that applications simply avoid passing those handles to libuv, since libuv is expected to take ownership of the fd, but it should not—and generally tries to avoid—taking ownership of the special stdio handles.)

Not sure I follow

Oh, I think we're talking past each other. I was considering the effect on an application that was using node.js as an embedded language.

That wouldn't help e.g. a node.js script that calls fs.read(0, cb), since it has no direct control over that, it's managed by the node.js run-time.

Yikes, this sounds like it may actually be a significant bug in the runtime which may lead to data loss. The fs.c code currently mandates that file handles must be opened in blocking mode, since the fix for this data loss (e.g. PR #640 that we just got merged) depends on write blocking until it has written at least one byte (or that all future writes should fail). I'm not actually sure what would happen in the fs.read case, since I think that would depend on how the user handled it further up the stack. Presumably they've got a select call there, so doing a non-blocking read, to get all available data, is the intended result. For the writes to be correct, it would appear that we need to add a call to select there (in the threadpool). If you agree, I can fork this comment into a new issue here using GitHub's new "create issue button" :)

Hm, I'm not sure this is stale, although it also might be hard to untangle this. It's possible I should just write documentation on how we workaround this in JuliaLang mentioned above? (not sure that'll help OP though, since, if I understand correctly, that's a transitive issue from Electron using nodejs and they don't have the direct ability to prevent nodejs from modifying fd 0-2)


Added "Add Next" feature

This builds on my last PR.  It's easier to see https://github.com/KarateSnoopy/SubmarineUtility/pull/1
I don't recommend taking this code as is as the way I did it is pretty hacky, but I'll explain why this is a cool feature that you might want to consider adding.
Let's say you want a mixer, but there's literally 100+ mixers modules that have the mixer tag.  Now I could click on each to try to figure out which one is the best for my purpose, but that's really error prone and you have to mentally keep track of which one you just added.  This adds a new button that's basically "Add Next" and if you haven't added any yet, it starts at the top. It visually shows where its at with a "> " arrow.  I had to do some weird hack to make the scroll container refresh its text labels (there's a probably better way to do this)
So what you can do now is click Mixer tag to see all the mixers, then click Add Next.  Then you can look at that plugin it added and if you don't like it, delete it and click Add Next again.  If you keep clicking Add Next, it'll fill up around the browser as normal.  So then you can easily end up with a set of Mixers (or whatever) you like and you can choose the one you want to use from what remains.
You can also manually click to add them as normal, and that'll set the where the "Add Next" is at.
btw, I also added another function that I don't tried but didn't expose in the UI called AddAll which adds everything in the current list.  This is also kinda neat sometimes but not as useful as "add next".  I don't recommend the lastPos stuff I did in there as it ends up causing too much scrolling and drag & drop with a long list.

Not pulling this: only because I'm no longer maintaining the module browser; as commented on your other pull request which I have also closed.
Thanks for the suggestions, but it's just not going to go anywhere.


importccl: Support IMPORT MYSQLDUMP file

PR: https://github.com/cockroachdb/cockroach/pull/26164
From release notes:

Added prototype support for IMPORT ... MYSQLDUMP, including the ability to import entire (multi-table) mysqldump files. [#26164][#26164] {% comment %}doc{% endcomment %}

Dup of https://github.com/cockroachdb/docs/issues/3237


None of the callbacks are firing

Hello all,
I'm not entirely sure I'm using the package correctly but doing
      <Youtube         videoId={ videoID }         onPause={ () => console.log("FIRED") }       />
doesn't produce a log in the console when I pause the video.
Repo can be found here.

I'm sorry that it took me a while to reply, I opened the notification and then forgot about it 😕.
Since you closed the issue; did you manage to fix the problem?

@tjallingt Yeah, I figured it out, it was something with my bundle.js going to the wrong place.


evp_cipher_ctx_st definition not installing

Hi, I'm getting an error when compiling a simple app after compiling openssl through the git repo.
error: invalid use of incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’

I'm looking at my install directory, /usr/local/include/openssl, and I can see that the EVP_CIPHER_CTX is typedef'd in /usr/local/include/openssl/ossl_typ.h, but the definition of the struct is nowhere to be found in the install directory.
When I examine the git repo, I can see the definition in openssl/crypto/evp/evp_locl.h, but I don't see the crypto directory installed into /usr/local/include anywhere.
My application will work fine when I install through my package manager, but I'd like to be able to use the latest version, so I'm trying to install from the repo (master branch 1.1.0-pre5-dev).
I've tried
./config
make
make test
sudo make install

./Configure linux-x86_64
make
make test
sudo make install

./config shared

...
Nothing has worked. All the tests are successful. I'd really appreciate any insights.
I'm using Debian GNU/Linux 8 and gcc 4.9.2
For what it's worth, I downloaded openssl-SNAP-20160412, ran ./config, and I still got the same error when compiling my app (openssl compiled and installed fine).
Here's the output of the ./config command
Operating system: x86_64-whatever-linux2
Configuring for linux-x86_64
Configuring OpenSSL version 1.1.0-pre5-dev (0x0x10100005L)
no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG (skip dir)
no-crypto-mdebug-backtrace [forced]   OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir)
no-dynamic-engine [forced]
no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
no-egd          [default]  OPENSSL_NO_EGD (skip dir)
no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS (skip dir)
no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)
no-shared       [default]
no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)
no-ssl3         [default]  OPENSSL_NO_SSL3 (skip dir)
no-ssl3-method  [default]  OPENSSL_NO_SSL3_METHOD (skip dir)
no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)
no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir)
no-zlib         [default]
no-zlib-dynamic [default]
Configuring for linux-x86_64
CC            =gcc
CFLAG         =-Wall -O3 -pthread -m64 -DL_ENDIAN  -Wa,--noexecstack
SHARED_CFLAG  =-fPIC
DEFINES       =DSO_DLFCN HAVE_DLFCN_H NDEBUG OPENSSL_THREADS OPENSSL_NO_DYNAMIC_ENGINE OPENSSL_PIC OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m SHA1_ASM SHA256_ASM SHA512_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM GHASH_ASM ECP_NISTZ256_ASM POLY1305_ASM
LFLAG         =
PLIB_LFLAG    =
EX_LIBS       =-ldl
APPS_OBJ      =
CPUID_OBJ     =x86_64cpuid.o
UPLINK_OBJ    =
BN_ASM        =asm/x86_64-gcc.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o
EC_ASM        =ecp_nistz256.o ecp_nistz256-x86_64.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4-x86_64.o rc4-md5-x86_64.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =md5-x86_64.o
SHA1_OBJ_ASM  =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o sha1-mb-x86_64.o sha256-mb-x86_64.o
RMD160_OBJ_ASM=
CMLL_ENC      =cmll-x86_64.o cmll_misc.o
MODES_OBJ     =ghash-x86_64.o aesni-gcm-x86_64.o
PADLOCK_OBJ   =e_padlock-x86_64.o
CHACHA_ENC    =chacha-x86_64.o
POLY1305_OBJ  =poly1305-x86_64.o
BLAKE2_OBJ    =
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/bin/perl
SIXTY_FOUR_BIT_LONG mode
Configured for linux-x86_64.

One of the primary differences between master (OpenSSL 1.1.0) and the 1.0.2 version is that many types have been made opaque, i.e. applications are no longer allowed to look inside the internals of the structures. The biggest impact on applications is that:

You cannot instantiate these structures directly on the stack. So instead of:

EVP_CIPHER_CTX ctx;

you must instead do:
EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
....
EVP_CIPHER_CTX_free(ctx);

You must only use the provided accessor functions to access the internals of the structure.

Thanks @mattcaswell

So, all existing Software must be rewritten just to be able to use 1.1.x ?
Do you have any idea how much Million lines of code are affected by this crap??

So, all existing Software must be rewritten just to be able to use 1.1.x ?
Do you have any idea how many Million lines of code are affected by this crap??

Yes, applications must be changed to use 1.1.x. This was not a change we made lightly or without an understanding of the impact on applications. It was much discussed both internally within the project and also in public forums over a long period. Largely speaking the user community has been very supportive of this change - although of course there are always people on both sides of the fence.
There are a number of problems with non-opaque structures:

The internal members of structures become part of the API, which means it is impossible for us to make any changes to any of them. This in turn makes refactoring, changing, or even just bug fixing any OpenSSL code very difficult - meaning that the code tends to ossify over time.
Changing the size or order of members in a structure has implications for ABI compatibility further restricting our ability to maintain the code
It is does not create a clear separation between internal implementation details and the application interface - meaning that applications tend to rely on specific implementation details. This makes applications brittle and further restricts the ability of the OpenSSL team to maintain the code
In order to deal with the above problems the OpenSSL maintainers were forced into tortuous contortions in the code in order to implement workarounds.

Making this change was necessary for us to have a healthy OpenSSL moving forwards. Without it, it would have been impossible for us to make major improvements to the code such as the state machine refactor. Implementing TLSv1.3 (as in 1.1.1) would have been extremely difficult (maybe impossible) without making this change. While it does require applications to make changes the vast majority of those changes are quite straightforward and simple to do. Very many applications have already done so.

Thats no excuse. I just downloaded the latest version of LibreSSL 2.8.1 which was forked as resul of the Heatbleed security meltdown in OpenSSL and to my surprise, it works perfectly without changing 1 Line of code of our Codebase. Sorry OpenSSL Team, you messed it up again big time.

Doesn't this also mean that the context pointer can no longer be wrapped in a smart pointer?  I currently have
{
std::unique_ptr<EVP_CIPHER_CTX> ctx(new EVP_CIPHER_CTX());
/* stuff that can throw an exception */
}

Doesn't this also mean that the context pointer can no longer be wrapped in a smart pointer?

It can still be done. We do this in the ossl_shim test code (borrowed from BoringSSL), for example see:
https://github.com/openssl/openssl/blob/c033101db39c93cf41d80dfee4357f2617ede1a0/test/ossl_shim/ossl_shim.cc#L902
Where UniquePtr is defined like this:
https://github.com/openssl/openssl/blob/c033101db39c93cf41d80dfee4357f2617ede1a0/test/ossl_shim/include/openssl/base.h#L72-L104

In other words, you can't just delete a pointer to an OpenSSL object, you have to call the specific free/cleanup function.  This requirement hasn't changed because the pointers were made to opaque structures.

So, wouldn't a simple implementation for cipher context (or anything else with the new/free design) just be
{
std::unique_ptr<EVP_CIPHER_CTX, void(*)(EVP_CIPHER_CTX *)> ctx(EVP_CIPHER_CTX_new(), EVP_CIPHER_CTX_free);
}
Seems to work, just a little unsure because it wasn't suggested.  Maybe it will help someone who comes across this in a search.

Yes that should work.  My point is that this kind of thing was always required.  (Except now, yeah, you can't have stack-local variables.)  Add a reference using borrow, and most of the existing code might not need a change. :)


./gradlew uploadBugsnag${variantOutputName}SourceMaps fails

Describe the bug
SourceMaps command fails with this message:

Bugsnag: source map upload failed. Exit code=1, msg=
ERROR  Invalid argument provided. Unknown option: --overwrite

./gradlew :example:uploadBugsnagJavaExample-x86-releaseMapping command works fine in my project and uploads JVM mapping to the console successfully
Bugsnag gradle version - 5.7.4
Steps to reproduce

integrate bugsnag following these steps for RN project
run ./gradlew :example:uploadBugsnagJavaExample-x86-releaseSourceMaps

@ch4ndu
Thanks for raising this. We'll look into fixing in a future release.
I believe this would only happen if you set overwrite = true in the bugsnag gradle plugin config. It shouldn't be necessary to do that for React Native projects as the default is to overwrite source maps for React Native projects:
https://docs.bugsnag.com/build-integrations/js/source-maps-react-native/#option-reference
So to resolve this for now simply remove the overwrite = true option from your app module's build.gradle file.
But this is unclear from the bugsnag gradle plugin documentation and shouldn't fail like this.

This is fixed by upgrading to bugsnag-source-maps v2.2.0.


can't use on colab

I don't know why, but the ngrok not showing the codeserver. It said "Tunnel 7d647a92dxxx.ngrok.io not found". But it still work at kaggle notebook.

@fajarslvn getting same error.. Can you please tell me how to use at kaggle notebook?
Thanks

@fajarslvn getting same error.. Can you please tell me how to use at kaggle notebook?
Thanks

@fajarslvn getting same error.. Can you please tell me how to use at kaggle notebook?
getting this error on kaggle:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f32a0d46210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/colabcode/

Thanks

Same as you use at colab, register or sign in at your kaggle account, go to your profile and add new notebook. Run colabcode like you did at colab

Should be fine now.

Thanks Man @abhishekkrthakur


Fix generic conversion icon

Fixes https://github.com/godotengine/godot/pull/65585#discussion_r1739751764
Turns out Resource has no icon, so I replaced it with Object and also fixed similar bug in EditorResourcePicker.

Thanks!


 These arguments work alongside a basic test or when combined with the --list option to filter the complete list of servers.
There's also a couple of other internal changes: how a single server ID is chosen (reusing code for above) and setting the limit of 5 or all servers using an integer rather than true/false.

Any reason why this was rejected ?

It wasn't rejected. The author closed it.
Regardless, I would have likely rejected it anyway, use grep

Happy to update and submit again if interested. The options work with both the list and actually running a test - I use it to specify a sponsor to test against (choose the ISP testing from), which grep wouldn't help with.


Test/notifier inventory fix

[root@d11b8c6fcc5f workspace]# kitchen verify --test-base-path="integration_tests/tests"
-----> Starting Kitchen (v1.24.0)
-----> Verifying ...
$$$$$$ Running command terraform workspace select kitchen-terraform-forseti-local in directory /workspace/integration_tests/fixtures/forseti
$$$$$$ Running command terraform output -json in directory /workspace/integration_tests/fixtures/forseti
forseti-server: Verifying host <IP_ADDRESS>
Skipping profile: 'inspec-gcp' on unsupported platform: 'ubuntu/18.04'.
..........
Profile: forseti_integration_testing
Version: (not specified)
Target:  ssh://ubuntu@<IP_ADDRESS>:22
✔  scanner-run: Command: forseti inventory create --import_as f5aced39175
✔  Command: forseti inventory create --import_as f5aced39175 exit_status should eq 0
✔  Command: forseti inventory create --import_as f5aced39175 stdout should match /"id": "([0-9])"/
✔  Command: forseti inventory create --import_as f5aced39175 stdout should not match /Error communicating to the Forseti server./
✔  Command: forseti model use f5aced39175 exit_status should eq 0
✔  Command: forseti scanner run exit_status should eq 0
✔  Command: forseti scanner run stdout should match /Scanner Index ID: (.[0-9].*) is created/
✔  Command: mysql -u forseti_security_user -prKisUPz6xpyvGx0N --host <IP_ADDRESS> --database forseti_security --execute "SELECT SI.* FROM scanner_index SI WHERE id =<PHONE_NUMBER>489595;" exit_status should eq 0
✔  Command: mysql -u forseti_security_user -prKisUPz6xpyvGx0N --host <IP_ADDRESS> --database forseti_security --execute "SELECT SI.* FROM scanner_index SI WHERE id =<PHONE_NUMBER>489595;" stdout should match /SUCCESS/
✔  Command: forseti inventory delete<PHONE_NUMBER>857879 exit_status should eq 0
✔  Command: forseti model delete f5aced39175 exit_status should eq 0
Profile Summary: 1 successful control, 0 control failures, 0 controls skipped
Test Summary: 10 successful, 0 failures, 0 skipped
Finished verifying  (17m15.11s).
-----> Kitchen is finished. (17m19.17s)

[root@deff062b2409 workspace]# kitchen verify --test-base-path="integration_tests/tests"
-----> Starting Kitchen (v1.24.0)
-----> Verifying ...
$$$$$$ Running command terraform workspace select kitchen-terraform-forseti-local in directory /workspace/integration_tests/fixtures/forseti
$$$$$$ Running command terraform output -json in directory /workspace/integration_tests/fixtures/forseti
forseti-server: Verifying host <IP_ADDRESS>
Skipping profile: 'inspec-gcp' on unsupported platform: 'ubuntu/18.04'.
..........
Profile: forseti_integration_testing
Version: (not specified)
Target:  ssh://ubuntu@<IP_ADDRESS>:22
✔  scanner-run: Command: forseti inventory create --import_as edc835131ae
✔  Command: forseti inventory create --import_as edc835131ae exit_status should eq 0
✔  Command: forseti inventory create --import_as edc835131ae stdout should match /"id": "([0-9])"/
✔  Command: forseti inventory create --import_as edc835131ae stdout should not match /Error communicating to the Forseti server./
✔  Command: forseti model use edc835131ae exit_status should eq 0
✔  Command: forseti scanner run exit_status should eq 0
✔  Command: forseti scanner run stdout should match /Scanner Index ID: (.[0-9].*) is created/
✔  Command: mysql -u forseti_security_user -prKisUPz6xpyvGx0N --host <IP_ADDRESS> --database forseti_security --execute "SELECT SI.* FROM scanner_index SI WHERE id =<PHONE_NUMBER>444034;" exit_status should eq 0
✔  Command: mysql -u forseti_security_user -prKisUPz6xpyvGx0N --host <IP_ADDRESS> --database forseti_security --execute "SELECT SI.* FROM scanner_index SI WHERE id =<PHONE_NUMBER>444034;" stdout should match /SUCCESS/
✔  Command: forseti inventory delete<PHONE_NUMBER>636923 exit_status should eq 0
✔  Command: forseti model delete edc835131ae exit_status should eq 0
Profile Summary: 1 successful control, 0 control failures, 0 controls skipped
Test Summary: 10 successful, 0 failures, 0 skipped
Finished verifying  (25m57.13s).
-----> Kitchen is finished. (26m0.23s)

Notifier inventory summary test is now passing:
 ✔  notifier-inventory-summary-export: Command: `forseti inventory create --import_as 36b871ab217`
     ✔  Command: `forseti inventory create --import_as 36b871ab217` exit_status should eq 0
     ✔  Command: `forseti inventory create --import_as 36b871ab217` stdout should match /"id": "([0-9]*)"/
     ✔  Command: `forseti model use 36b871ab217 && forseti scanner run` exit_status should eq 0
     ✔  Command: `forseti model use 36b871ab217 && forseti scanner run` stdout should match /Scanner Index ID: .*([0-9]*) is created/
     ✔  Command: `forseti notifier run` exit_status should eq 0
     ✔  Command: `forseti notifier run` stdout should match /Notification completed!/
     ✔  Command: `forseti notifier run` stdout should match /file saved to GCS path: (gs:\/\/[a-z\-0-9\/_.TZ]*)"\n}/
     ✔  Command: `sudo gsutil ls gs://forseti-server-c0363cf8/inventory_summary/inventory_summary.1576642151713415.20191218T041023Z.csv` exit_status should eq 0
     ✔  Command: `forseti inventory delete<PHONE_NUMBER>713415` exit_status should eq 0
     ✔  Command: `forseti model delete 36b871ab217` exit_status should eq 0

Resolves #3496


JSON from settings.json suddenly appearing in a document when pressing shortcut with "Cmd"

VSCode Version: Version 1.11.2 (1.11.2)
OS Version: 10.12.3 (16D32)

Steps to Reproduce:

Settings from my settings.json sometimes suddenly appear in the file I have my cursor on, when I press a keyboard with the "Cmd" button, for example: Cmd<+>, Cmd<->, Cmd+c, Cmd+v

I don't have any keymap extension installed, nor have I changed anything in the keybindings.

@xov17 do you mind providing a gif to help troubleshoot and your extension list?


Add support for Angular

Many developers have asked about Angular support. Let's use this issue for the discussion.
Please upvote the issue if you are interested in Angular support.

here are some points for angular

2-way data bind and good training content
is the most typed frontend framework, it feet very well with java stack.
the standalone component added in version 15 significantly reduce boiled module code to write
stabile type-safe library like @angular/forms can be used for form bindings
advanced CLI to manage app. the generated hilla frontend part can still be done in a way that the already existing ng commands continue to work properly
Google offers its Long-Term Support (LTS) to Angular
Angular offers a type of safety experience i didn't have with react
steel belongs to the most used ones

what does it take to add angular ? practically hilla cli  just make a http call on https://start.vaadin.com/ with given params.
what are the steps required to finally have a hilla angular support

Where can i See the hilla-react implementation code to have a kind of ideas?

Would you consider adding support for Svelte as well?

@JusticeN - create an app with npx @hilla/cli init --react app-name and it'll contain the config.

@pkomuda - Please create a ticket so we can track that separately and get a sense of what level of interest there is.

Apart from build tooling, proper support for Angular would also need helpers for integrating Vaadin web components. Here's a prototype: https://github.com/sissbruecker/vaadin-angular-integration

My suggestion will be to concentrate on React integration and optimize the existing tools first.
I tried an MVP with Hilla+react and come to the conclusion that i will not use it yet(many issue with Openid and not completly documented yet). i really like angular but it will be no problem for me to use react as well.
my proposition for you is to focus first on react and add more tutorials with different cases. like Documentation, video tutorials, adding oder css libraries, more examples with security and OpenID, hooks for Endpoints, and better and simple integration with Oauth2/OpenID. the same can be done later for Angular.
here is my point: forget about angular for now and bring react close to perfection first. this can even convince ng developers to learn React just for the advantage Hilla bring. Let us thing about time saving using Hilla instead of combining different tools.
Thanks for Hilla :-)

my proposition for you is to focus first on react and add more tutorials with different cases.

I'm not part of the Hilla team, but our colleagues do have plans to polish React integration, especially forms support.
Also, please let us know if you something in our components React wrappers documentation needs to be enhanced.
We're going to have next week dedicated to making various docs improvements, minor additions and clarifications.
This will naturally include the upcoming stable releases of Vaadin 24.0 and Hilla 2.0 including Hilla React, too.

here is my point: forget about angular for now and bring react close to perfection first. this can even convince ng developers to learn React just for the advantage Hilla bring. Let us thing about time saving using Hilla instead of combining different tools.

@JusticeN, thanks for the feedback. Our priority is to continue polishing React support, the APIs, docs, starters, and tutorials. We will certainly not embark on Angular support before React support is in good shape. We

@JusticeN - agreed. As Serhii and Tarek already mentioned, finalizing React support and docs is our first priority before we start considering adding other frameworks. I created this issue so we could keep discussions around the Angular support in one central place. Thanks for the feedback!

I completely agree with @JusticeN. In my opinion, it is better to prioritize one framework first and make it as perfect as possible before moving on to the next one. By concentrating on React, developers who are already familiar with it will have some incentive to use Hilla. Building APIs just for UI can be a chore.
React is currently the dominant force in the front-end development space, and its ecosystem is unmatched in terms of its breadth and depth.
Additionally, please consider adding support for using Vaadin Flow with React or hybrid apps. It appears that currently, this may not be possible due to the use of React Router in hilla react.

Angular and React are not stagnant targets. Even if initial support is achieved, it would require ongoing effort to keep up with changes in these JavaScript frameworks, as well as in Vaadin Flow, litelment(WC) and Hilla. Ryan Carniato's YouTube video, 'JavaScript Frameworks in 2023,' is an excellent resource, as it covers all major JS frameworks and provides insights into what we can expect from them in the 2023. The video is more than 5 hours long and offers valuable information for developers looking to stay up-to-date with the latest trends in front-end development.

I completely agree with @JusticeN. In my opinion, it is better to prioritize one framework first and make it as perfect as possible before moving on to the next one

For the sake of clarity for future readers: this is the plan. As Tarek said above, we do not intend to start adding support for additional frameworks before we have React support in good shape.

React is currently the dominant force in the front-end development space, and its ecosystem is unmatched in terms of its breadth and depth.

That is true in the general front-end space. But the split between React and Angular is more even when it comes to companies that use Java on the backend, which makes Angular a relevant framework to consider.

Additionally, please consider adding support for using Vaadin Flow with React or hybrid apps. It appears that currently, this may not be possible due to the use of React Router in hilla react.

Thanks for the suggestion. Yes, we will consider adding that support. See https://github.com/vaadin/hilla/issues/744.

That is true in the general front-end space. But the split between React and Angular is more even when it comes to companies that use Java on the backend, which makes Angular a relevant framework to consider.

I hadn't previously considered this, but I agree it's an excellent point that Angular is often the preferred choice for Java backends. This preference may be due in part to the use of TypeScript in Angular.

We are a team of primarily Java developers, and we've considered standardizing our projects using Hilla. We've built a few views with React to get a sense of how it works. The consensus was unanimous: we don't like React.
I don't think React is a bad framework (otherwise it wouldn't be one of the most used), but as a Java developer, I find Angular much easier to learn and its concepts are closer to what we are accustomed to.

Get the build tooling to work with Angular. Vite does not have built-in Angular support, so some work is needed here

Angular 17 now comes with native support for  Vite, so this should reduce some of the pain of integrating Angular and Hilla 🙂

Get the build tooling to work with Angular. Vite does not have built-in Angular support, so some work is needed here

Angular 17 now comes with native support for Vite, so this should reduce some of the pain of integrating Angular and Hilla 🙂

Well, Angular 17+ uses Vite as a dev server but if iiuc you need this to compile angular with vite:
<EMAIL_ADDRESS>

Design how endpoints should be accessed from Angular in an Angular-native way, probably by returning RxJS observables

Well RxJS will be optional in Angular very soon:
https://thenewstack.io/angular-to-make-rxjs-optional-drupal-devs-on-going-headless/#:~:text=“We're working towards making,coming in the next years.”


Add schedule check to terraform voice flow

Summary
Adds a schedule check to the Voice IVR deployed by Terraform out-of-box. Uses the same config as the example in the schedule-manager readme.
Checklist

[x] Tested changes end to end
[x] Added PR Label "ready-for-review"
[x] Requested one or more reviewers for the PR

So is the idea that everything is in place to lookup the schedule but as it stands it fails?
i like the idea of passing in the "example" to the schedule check so its a little more self evident how you look up a schedule.  What do you think @dremin ?


no default features for actix-web

If/when the actix-web dependency is updated to v3, the dependency in Cargo.toml should ideally be:
- actix-web = "3.0.2"
+ actix-web = { version = "3.0.2", default-features = false }

@robjtede Thank you!

This has been solved.


Module 7-LAB1: Exercise 3, Exercise 7, Exercise 8, Exercise 9, Exercise 11 and Module 8 - Lab 1 - Exercise 1

Contact Details
No response
What happened?
Mod 7 - Lab 1 Exercise : 03
Task: 01
Step: 04
Description of issue: New CloudShell User analytics rule in rule templates is not present because of which we are not able to setup the scheduled query
Mod 7 - Lab 1 Exercise : 07
Task: 01
Step: 04
Description of issue: Startup.bat file is not present or it is missing running the query  in sentinel logs not getting the expected output
Mod 7 - Lab 1 Exercise : 08
Task: 01
Step: 04
Description of issue: Unable to find the Startup RegKey Alerts because in Exercise 7 Step 7 the query results no output even after waiting for a long time
Mod 7 - Lab 1 Exercise : 09
Task: 01
Step: 20
Description of issue: getting an error after running the query for function imRegistry error as : load function query using KQL throwing errors in log analytics like ['table' operator: Failed to resolve table expression named 'starttime']
Mod 7 - Lab 1 Exercise : 11
Task: 01
Step: 04
Description of issue: Unable to find the Startup RegKey Alerts because in Exercise 7 Step 7 the query results no output even after waiting for a long time
Mod 8 - Lab 1 Exercise : 1
Task: 01
Step: 04
Description of issue: not getting the expected output Schema for to leverage hunting as guided in the guide.
Lab
Other
Relevant screenshots
paste here 😉
Do you want to help us? 👏

[ ] Create a Pull Requestt by following this project's Contribution Guide

Think I can help you with these
Mod 7 - Lab 1 Exercise : 03
New CloudShell User template is installed as part of the Azure Activity Solution - Mod 6 lab1 Ex 1 task 3 steps 1 - 4

So then will be available in Analytic Rule Templates

Mod 7 - Lab 1 Exercise : 07
The attack conducted Mod7 Lab 1 Ex 6 Task 1 doesn't create a File, it creates a Registry key to simulate the attack

Mod 7 - Lab 1 Exercise : 08
Alert should fire based on creation of analytic rule Mod 7 Lab 1 Ex 7 Task 1

Are you receiving the result above when running the final KQL query of that task?
If not check that WINSERVER is reported as being Connected and Monitoring extension Installed in Azure Arc

And that the Windows Security Events connector is receiving data, are you getting any logs from WINSERVER?
If you are receiving the result from the final KQL query then check the configuration of the analytic rule, it should fire the alerts

Mod 7 - Lab 1 Exercise : 09
I get the same, I generally get people to use the Use in editor option to run the parser in step 23 rather than from the code.
Mod 7 - Lab 1 Exercise : 11
If you can resolve the earlier issues with the Startup Regkey alerts then this will be available to complete
Mod 8 - Lab 1 Exercise : 1
This should generate logs based on the attack Mod 7 Lab 1 Ex 6 Task 3 and should result in this

This will be the same problem thats stopping logs related to the Startup Reg key incident, so if you can resolve that, then this should just work too.
Hope this helps

It sounds like this is resolved. Thanks @djcmct, I am closing.


Pin to start behaviour inconsistent with file explorer & crashes pinned application

Description
When pinning to start using files, the icon will not match the exe that I pinned. It will instead show a generic folder icon.
The name also includes ".exe" while when pinning through regular file explorer it doesn't include this.
Additionally, when starting from the start icon it will crash some programs. I encountered it with games (Kingdoms of Amalur & Dust: An Elysian Tail).
Dust showed a DirectoryNotFound error:

Steps To Reproduce

Pin a game exe to the start menu using files
See that icon & name doesn't match file explorer functionality
Click pinned icon
Crashes

Requirements

Icon should match the exe
Name should not include ".exe"
Application should not crash upon starting

Files Version
<IP_ADDRESS>
Windows Version
21H2 19044.3693
Log File
debug.log

Thank you for your feedback, we're currently tracking this issue in #12191.

The linked issue seems to only be for the icon, what about the other issues I mentioned?

Just noticed that, can you open a separate bug report for the crash?

https://github.com/files-community/Files/issues/14405


CSS for buttons on the show talk page messes up the flow with long titles

Ok, changing .page-title to display block will change the layout on some pages, and there are only 3 places where user input is allowed in a .page-title. Two for talk title, and one for bio->nickname.
Option 1: create a class .page-title-block and use it in these three places
Option 2: create a class .block and override the display to block
Option 3: create a class .page-title-inline and change it everywhere else
I like Option 1...

I'd prefer a global solution that makes this work the way that's expected without having to differntiate based on user input or not. I feel like if i have some time to throw my CSS brain at it I'l find it but just haven't found that time yet.


Long-term Statistics support

Is your feature request related to a problem? Please describe.
Frigate HA sensors (CPU, GPU, temp, fps...) do not allow to use HA Long-term Statistics
Describe the solution you'd like
Please add support for this
https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics
Sensors just have to include state_class and device_class
Describe alternatives you've considered
User can template every sensor as a workaround, but why not to fix this at the core.

up

up


Add possibility to export only entries with specific Tags

Debug log ID
W33PEQL5-euc/6.7.165-6
What happened?
As far as I see, currently it is only possible to export (using Better BibLaTeX or Better BibTex) the whole library.
As my library is quite large it would be nice for writing e.g. papers to only export entries with specific Tags and/or from specific Collections. So far I was not able to find this functionality.
Kind of related to https://github.com/retorquere/zotero-better-bibtex/issues/1826 and the solution suggested in https://github.com/retorquere/zotero-better-bibtex/issues/1826#issuecomment-915029083
EDIT: I found out that I can select the Tag, then mark entries and export them with right click. But as far as I understand I cannot keep the file updated with new entries that are added to the Tag.

You can just select your tag, then select all shown items, and export.

For collections, just right click the collection and export. Maybe I'm not understanding your question, but these things are standard Zotero functionality.

Unfortunately the way zotero works it's not possible to know that the items were exported because they were selected through a tag. Zotero exposes the fact that a collection or a library was exported, which is why I can set up auto-exports for them.

Ok. Thanks for the information about the collections.
I thought it might be possible to have a extra setting in the export functionality of BetterBibtex to only export and keep updated certain Tags.

That's technically possible, but I'd have to re-implement the export GUI bits. I'd rather have that Zotero provides hints on what they're exporting so that I can hook auto-export into that.

I've tested a bit, and I can't reliably detect whether an item was exported because the user selected a tag or not. When Zotero adds hints in the export, I can act on this, but without this, I can't really take this on.


SIMILAR TO results in an "Unknown error -1"

Consider the following statement:
SELECT '' SIMILAR TO ''; -- Error: Unknown error -1

While I would expect the statement to fetch {true}, it returns an error Error: Unknown error -1. According to the documentation, this should work.
I found this based on commit d7964630b45facae0b2965b302849e4bc240459c.

This seems to only affect the release build, and not the debug build.

Good catch, will take another look.

Seems to be this error being thrown by RE2, that uses the std::call_once in the init. Will look into removing that.

This commit fixes it for me 403219728c302ad1eba1cf9e30934b85539a8945, could you check if that works for you too? Thanks!

Yes, it works for me as well. Thanks for the fix!


Dns switch to endpointslices

/kind cleanup

/test pull-perf-tests-verify-lint

/assign @wojtek-t
/cc @dpasiukevich
It took me more than expected but we finally get it working

Thanks for the PR! I'm curious - what is the root cause of the lint failure?

the golangci-lint version was old
https://github.com/kubernetes/test-infra/pull/29690

/lgtm
/approve

We need approval from OWNERS (https://github.com/kubernetes/perf-tests/blob/master/OWNERS).
@wojtek-t could you please approve?

/assign @marseel @mborsz
they may help us here too

/lgtm
/approve
BTW: Maybe we can remove vendor completely? I don't think it's needed nowadays. Sample PR for other components removing vendor: https://github.com/kubernetes/perf-tests/pull/1934

BTW: Maybe we can remove vendor completely? I don't think it's needed nowadays. Sample PR for other components removing vendor: #1934

I was carrying on with current state, I was tempted to do it honestly, does not seem necessary

I just built and released the new image 1.4.0 of dnsperfgo and it's 56 MB in size. It grew 10 MB from the previous version 1.3.0.
That's quite big for such a small app. Is it due to vendor libraries?

Is it due to vendor libraries?

I expect it to be the case. The prev kubernetes versions were kinda old
k8s.io/apimachinery v0.20.2
k8s.io/client-go v0.20.2

And now it's 0.27.2.

cd dns/dnsperfgo
go build
ls -altrh
-rwxr-x---  1 aojea primarygroup  45M Jun  7 09:57 dnsperfgo
go install github.com/nikolaydubina/go-binsize-treemap@latest
go tool nm -size dnsperfgo | go-binsize-treemap > binsize.svg

I still don't understand well the diff between the reported size and the actual size


Simplify package selection logic

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @aaltay

Closing per offline discussion.

Coverage decreased (-0.003%) to 70.868% when pulling b44549fb30f36f703a327ca2d7addbdc0ff8da5f on tvalentyn:simplify_package_selection_logic into bf5aa1bca4861d6867978a9508dc5c952bd7fc2b on apache:master.

Coverage decreased (-0.01%) to 70.857% when pulling b44549fb30f36f703a327ca2d7addbdc0ff8da5f on tvalentyn:simplify_package_selection_logic into bf5aa1bca4861d6867978a9508dc5c952bd7fc2b on apache:master.


Map ID fields at database level to enable custom ID fields

See https://github.com/aerogear/graphback/issues/648
This change dynamically maps the ID field/value to the database column at runtime. This means we can have custom IDs as we don't need to know the ID field during generation of queries and mutations.
Tasks

[x] Create model-table mapping abstraction
[x] Map ID field
[x] Use ID mapping in CRUD Database operations.
[ ] Remove read from CRUD spec.
[ ] Add unit tests

Verification
Create a Note, then update it:
mutation createNote {
  createNote(input: {title: "test", description: "test"}) {
    id
    title
  }
}

mutation updateNote{
  updateNote(input: {id: 1, title: "test2", description: "test"}) {
    id
    title
  }
}

Ready for review @wtrocki - just working on adding tests.


docs: Added a description of the GSP-751

docs: Added a description of the GSP-751

This PR will be merged after all check passed.


 This plugin is presently pending review to get accepted to official plugin list, and will be available from the plugin testing builds soon.
In the meantime, if you're willing to install by unzipping files into your dalamud install directory, the precompiled releases are here. https://github.com/joshua-software-dev/SizeMattersFishing/releases/tag/latest
Hopefully the approval shouldn't take too much longer, sorry for the inconvenience.